mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-30 11:06:36 +12:00
2000-12-02 Ben Elliston <bje@redhat.com>
* config.guess: Only append "elf" to "netbsd" for platforms that have switched to the ELF object file format in recent history. From Matthew Green <mrg@eterna.com.au>.
This commit is contained in:
parent
424055ed7f
commit
1edc28e374
@ -1,3 +1,9 @@
|
|||||||
|
2000-12-02 Ben Elliston <bje@redhat.com>
|
||||||
|
|
||||||
|
* config.guess: Only append "elf" to "netbsd" for platforms that
|
||||||
|
have switched to the ELF object file format in recent history.
|
||||||
|
From Matthew Green <mrg@eterna.com.au>.
|
||||||
|
|
||||||
2000-11-24 Nick Clifton <nickc@redhat.com>
|
2000-11-24 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* config.sub: Add xscale as a recognised CPU name.
|
* config.sub: Add xscale as a recognised CPU name.
|
||||||
|
30
config.guess
vendored
30
config.guess
vendored
@ -3,7 +3,7 @@
|
|||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2000-11-23'
|
timestamp='2000-12-02'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
@ -141,16 +141,24 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
ibmrt|romp-ibm) machine=romp-ibm ;;
|
ibmrt|romp-ibm) machine=romp-ibm ;;
|
||||||
*) machine=${UNAME_MACHINE}-unknown ;;
|
*) machine=${UNAME_MACHINE}-unknown ;;
|
||||||
esac
|
esac
|
||||||
# The Operating System including object format.
|
# The Operating System including object format, if it has switched
|
||||||
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
# to ELF recently, or will in the future.
|
||||||
| grep __ELF__ >/dev/null
|
case "${UNAME_MACHINE}" in
|
||||||
then
|
i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
|
||||||
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
|
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
# Return netbsd for either. FIX?
|
| grep __ELF__ >/dev/null
|
||||||
os=netbsd
|
then
|
||||||
else
|
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
|
||||||
os=netbsdelf
|
# Return netbsd for either. FIX?
|
||||||
fi
|
os=netbsd
|
||||||
|
else
|
||||||
|
os=netbsdelf
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
os=netbsd
|
||||||
|
;;
|
||||||
|
esac
|
||||||
# The OS release
|
# The OS release
|
||||||
release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||||
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user