summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-03 14:15:08 +0000
committerJim Meyering <jim@meyering.net>2003-07-03 14:15:08 +0000
commitd85a6aa4a57ffbbbb4b731f8ea2eaa2a990d5f93 (patch)
tree32adc329344fea9c8421813b7442de2406f295f1 /config
parentb01dd9232d10df56dcaf2c340ed243240e70081e (diff)
downloadcoreutils-d85a6aa4a57ffbbbb4b731f8ea2eaa2a990d5f93.tar.xz
.
Diffstat (limited to 'config')
-rw-r--r--config/config.guess7
-rw-r--r--config/depcomp2
2 files changed, 6 insertions, 3 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
diff --git a/config/depcomp b/config/depcomp
index 6ee57a624..ce8752106 100644
--- a/config/depcomp
+++ b/config/depcomp
@@ -1,7 +1,7 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
-# Copyright 1999, 2000, 2003 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by