From 87d6f925bce40ceaaef4cbb7e3ca4e64aa7cf690 Mon Sep 17 00:00:00 2001 From: Ben Elliston <bje@gnu.org> Date: Wed, 2 Jul 2003 04:56:55 +0000 Subject: [PATCH] 2003-07-02 Robert Millan <rmh@debian.org> * config.guess (*:GNU/FreeBSD:*:*): Prefix GNU/FreeBSD triplet with a "k" to indicate the system is based on FreeBSD's kernel and not the whole OS. --- ChangeLog | 6 ++++++ config.guess | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3dcc542..c6e27f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-07-02 Robert Millan <rmh@debian.org> + + * config.guess (*:GNU/FreeBSD:*:*): Prefix GNU/FreeBSD triplet + with a "k" to indicate the system is based on FreeBSD's kernel and + not the whole OS. + 2003-06-17 Ben Elliston <bje@wasabisystems.com> From by Stephen Thomas <stephen.thomas@superh.com>: diff --git a/config.guess b/config.guess index 4d0d905..0e30d56 100755 --- a/config.guess +++ b/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