summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-10-03 05:48:44 +0000
committerRoland McGrath <roland@gnu.org>1994-10-03 05:48:44 +0000
commite99e4b4aeff164a182d5c22a16209a5f06a86a56 (patch)
tree16f4e5ff415782f6a95f08721715baca3773afeb /config.guess
parentb65f9d9c7559145f9079d606c494628181a73c91 (diff)
downloademacs-e99e4b4aeff164a182d5c22a16209a5f06a86a56.tar.gz
Recognize GNU.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.guess b/config.guess
index fc5b336a08c..8358e6dd317 100755
--- a/config.guess
+++ b/config.guess
@@ -253,6 +253,9 @@ EOF
*:NetBSD:*:*)
echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;
+ *:GNU:*:*)
+ echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+ exit 0 ;;
*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux
exit 0 ;;