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:
Ben Elliston 2000-08-02 01:39:26 +00:00
parent 45c41c0853
commit 5edd4d37e3
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
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.
2000-07-27 Ben Elliston <bje@redhat.com> 2000-07-27 Ben Elliston <bje@redhat.com>
* config.sub: Use "unknown" for the manufacturer field of Amiga * config.sub: Use "unknown" for the manufacturer field of Amiga

4
config.guess vendored
View File

@ -712,8 +712,7 @@ EOF
exit 0 exit 0
;; ;;
elf_i?86) elf_i?86)
echo "${UNAME_MACHINE}-pc-linux" TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
exit 0
;; ;;
i?86coff) i?86coff)
echo "${UNAME_MACHINE}-pc-linux-gnucoff" echo "${UNAME_MACHINE}-pc-linux-gnucoff"
@ -900,6 +899,7 @@ EOF
EOF EOF
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
rm -f $dummy.c $dummy rm -f $dummy.c $dummy
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
fi ;; fi ;;
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions # 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. # are messed up and put the nodename in both sysname and nodename.