diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-03 14:15:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-03 14:15:08 +0000 |
commit | d85a6aa4a57ffbbbb4b731f8ea2eaa2a990d5f93 (patch) | |
tree | 32adc329344fea9c8421813b7442de2406f295f1 /config/config.guess | |
parent | b01dd9232d10df56dcaf2c340ed243240e70081e (diff) | |
download | coreutils-d85a6aa4a57ffbbbb4b731f8ea2eaa2a990d5f93.tar.xz |
.
Diffstat (limited to 'config/config.guess')
-rw-r--r-- | config/config.guess | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/config.guess b/config/config.guess index 4d0d90559..0e30d56e9 100644 --- a/config/config.guess +++ b/config/config.guess @@ -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 |