[Midnightbsd-cvs] mports: config.guess: this still isn't good, but it's at least not
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Jan 20 15:31:48 EST 2009
Log Message:
-----------
this still isn't good, but it's at least not totally wrong
Modified Files:
--------------
mports/Templates:
config.guess (r1.1.1.1 -> r1.2)
-------------- next part --------------
Index: config.guess
===================================================================
RCS file: /home/cvs/mports/Templates/config.guess,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -L Templates/config.guess -L Templates/config.guess -u -r1.1.1.1 -r1.2
--- Templates/config.guess
+++ Templates/config.guess
@@ -768,22 +768,8 @@
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 ;;
- *:MidnightBSD:*:*|*:GNU/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/FreeBSD 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}
+ *:MidnightBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-midnightbsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
More information about the Midnightbsd-cvs
mailing list