aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gcc.gnu.org>1994-10-03 05:48:44 +0000
committerRoland McGrath <roland@gcc.gnu.org>1994-10-03 05:48:44 +0000
commitaf30cdc3dfa1460e1efca293c12ca4749397ff1e (patch)
tree057604274efbc169305f89c84543cd2445e3f462 /gcc
parent8b11645c88adf72510cbb4a7a250c991ae1759c7 (diff)
downloadgcc-af30cdc3dfa1460e1efca293c12ca4749397ff1e.zip
gcc-af30cdc3dfa1460e1efca293c12ca4749397ff1e.tar.gz
gcc-af30cdc3dfa1460e1efca293c12ca4749397ff1e.tar.bz2
Recognize GNU.
From-SVN: r8208
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/config.guess3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config.guess b/gcc/config.guess
index fc5b336..8358e6d 100755
--- a/gcc/config.guess
+++ b/gcc/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 ;;