mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
* config.guess (*:FreeBSD:*:*): Remove check for glibc (unneeded
since GNU/kFreeBSD systems match *:GNU/*:*:* instead).
This commit is contained in:
parent
5e897baf83
commit
b64d296dc7
@ -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>
|
2004-06-22 Stanley F. Quayle <stan@stanq.com>
|
||||||
|
|
||||||
* config.guess (*:*VMS:*:*): New entry. Replaces
|
* config.guess (*:*VMS:*:*): New entry. Replaces
|
||||||
|
16
config.guess
vendored
16
config.guess
vendored
@ -784,21 +784,7 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:FreeBSD:*:*)
|
*:FreeBSD:*:*)
|
||||||
# Determine whether the default compiler uses glibc.
|
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||||
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}
|
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i*:CYGWIN*:*)
|
i*:CYGWIN*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-cygwin
|
echo ${UNAME_MACHINE}-pc-cygwin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user