From b64d296dc74d8a669f0719b7ec94339f44a62155 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 22 Jun 2004 04:31:24 +0000 Subject: [PATCH] * config.guess (*:FreeBSD:*:*): Remove check for glibc (unneeded since GNU/kFreeBSD systems match *:GNU/*:*:* instead). --- ChangeLog | 5 +++++ config.guess | 16 +--------------- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 62b1c1e..853bbf7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-06-22 Robert Millan + + * config.guess (*:FreeBSD:*:*): Remove check for glibc (unneeded + since GNU/kFreeBSD systems match *:GNU/*:*:* instead). + 2004-06-22 Stanley F. Quayle * config.guess (*:*VMS:*:*): New entry. Replaces diff --git a/config.guess b/config.guess index 4ef629a..e963979 100755 --- a/config.guess +++ b/config.guess @@ -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 - #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