config.guess from prep
authorKarl Berry <karl@freefriends.org>
Thu, 3 Jul 2003 12:23:08 +0000 (12:23 +0000)
committerKarl Berry <karl@freefriends.org>
Thu, 3 Jul 2003 12:23:08 +0000 (12:23 +0000)
config/ChangeLog
config/config.guess

index f0f15080a9a8d73adab991915d77e0ebdd906aa5..28e3aabd627cf84958b8212e9c2baaf2278f67a4 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-03    <karl@gnu.org>
+
+       * config.guess: update from prep.
+
 2003-06-26    <karl@gnu.org>
 
        * depcomp: update from automake.
index 4d0d905594a6f02643257eafc16017d610824bd4..0e30d56e94e09336675d596da079d04cc520d257 100644 (file)
@@ -3,7 +3,7 @@
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
-timestamp='2003-06-17'
+timestamp='2003-07-02'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -763,7 +763,10 @@ EOF
        #endif
 EOF
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
-       echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$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}
        exit 0 ;;
     i*:CYGWIN*:*)
        echo ${UNAME_MACHINE}-pc-cygwin