* config.guess (*:FreeBSD:*:*): Remove check for glibc (unneeded

since GNU/kFreeBSD systems match *:GNU/*:*:* instead).
This commit is contained in:
Ben Elliston 2004-06-22 04:31:24 +00:00
parent 5e897baf83
commit b64d296dc7
2 changed files with 6 additions and 15 deletions

View File

@ -1,3 +1,8 @@
2004-06-22 Robert Millan <robertmh@gnu.org>
* config.guess (*:FreeBSD:*:*): Remove check for glibc (unneeded
since GNU/kFreeBSD systems match *:GNU/*:*:* instead).
2004-06-22 Stanley F. Quayle <stan@stanq.com>
* config.guess (*:*VMS:*:*): New entry. Replaces

16
config.guess vendored
View File

@ -784,21 +784,7 @@ EOF
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
exit 0 ;;
*:FreeBSD:*:*)
# Determine whether the default compiler uses glibc.
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#include <features.h>
#if __GLIBC__ >= 2
LIBC=gnu
#else
LIBC=
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
# GNU/KFreeBSD systems have a "k" prefix to indicate we are using
# FreeBSD's kernel, but not the complete OS.
case ${LIBC} in gnu) kernel_only='k' ;; esac
echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin