mirror of
git://git.savannah.gnu.org/config.git
synced 2025-07-05 04:38:20 +12:00
2000-07-31 Mark Kettenis <kettenis@gnu.org>
* config.guess: Restore detection of libc version for x86 Linux/GNU ELF systems, but fall back on tentative name based on ld emulation. Use i?86-pc-linux-gnu as tentative name since that's the canonical name.
This commit is contained in:
4
config.guess
vendored
4
config.guess
vendored
@ -712,8 +712,7 @@ EOF
|
||||
exit 0
|
||||
;;
|
||||
elf_i?86)
|
||||
echo "${UNAME_MACHINE}-pc-linux"
|
||||
exit 0
|
||||
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
|
||||
;;
|
||||
i?86coff)
|
||||
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
||||
@ -900,6 +899,7 @@ EOF
|
||||
EOF
|
||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
|
||||
rm -f $dummy.c $dummy
|
||||
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
|
||||
fi ;;
|
||||
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
|
||||
# are messed up and put the nodename in both sysname and nodename.
|
||||
|
Reference in New Issue
Block a user