summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess21
1 files changed, 6 insertions, 15 deletions
diff --git a/config.guess b/config.guess
index 78553c4ea..c2246a4f7 100755
--- a/config.guess
+++ b/config.guess
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Attempt to guess a canonical system name. 2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# 2011 Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2011-01-23' 7timestamp='2009-12-30'
8 8
9# This file is free software; you can redistribute it and/or modify it 9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by 10# under the terms of the GNU General Public License as published by
@@ -57,7 +57,7 @@ GNU config.guess ($timestamp)
57 57
58Originally written by Per Bothner. 58Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free 602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
61Software Foundation, Inc. 61Software Foundation, Inc.
62 62
63This is free software; see the source for copying conditions. There is NO 63This is free software; see the source for copying conditions. There is NO
@@ -270,10 +270,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
270 # A Xn.n version is an unreleased experimental baselevel. 270 # A Xn.n version is an unreleased experimental baselevel.
271 # 1.2 uses "1.2" for uname -r. 271 # 1.2 uses "1.2" for uname -r.
272 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 272 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
273 # Reset EXIT trap before exiting to avoid spurious non-zero exit code. 273 exit ;;
274 exitcode=$?
275 trap '' 0
276 exit $exitcode ;;
277 Alpha\ *:Windows_NT*:*) 274 Alpha\ *:Windows_NT*:*)
278 # How do we know it's Interix rather than the generic POSIX subsystem? 275 # How do we know it's Interix rather than the generic POSIX subsystem?
279 # Should we change UNAME_MACHINE based on the output of uname instead 276 # Should we change UNAME_MACHINE based on the output of uname instead
@@ -555,7 +552,7 @@ EOF
555 echo rs6000-ibm-aix3.2 552 echo rs6000-ibm-aix3.2
556 fi 553 fi
557 exit ;; 554 exit ;;
558 *:AIX:*:[4567]) 555 *:AIX:*:[456])
559 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` 556 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
560 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then 557 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
561 IBM_ARCH=rs6000 558 IBM_ARCH=rs6000
@@ -971,9 +968,6 @@ EOF
971 sparc:Linux:*:* | sparc64:Linux:*:*) 968 sparc:Linux:*:* | sparc64:Linux:*:*)
972 echo ${UNAME_MACHINE}-unknown-linux-gnu 969 echo ${UNAME_MACHINE}-unknown-linux-gnu
973 exit ;; 970 exit ;;
974 tile*:Linux:*:*)
975 echo ${UNAME_MACHINE}-tilera-linux-gnu
976 exit ;;
977 vax:Linux:*:*) 971 vax:Linux:*:*)
978 echo ${UNAME_MACHINE}-dec-linux-gnu 972 echo ${UNAME_MACHINE}-dec-linux-gnu
979 exit ;; 973 exit ;;
@@ -1237,9 +1231,6 @@ EOF
1237 *:QNX:*:4*) 1231 *:QNX:*:4*)
1238 echo i386-pc-qnx 1232 echo i386-pc-qnx
1239 exit ;; 1233 exit ;;
1240 NEO-?:NONSTOP_KERNEL:*:*)
1241 echo neo-tandem-nsk${UNAME_RELEASE}
1242 exit ;;
1243 NSE-?:NONSTOP_KERNEL:*:*) 1234 NSE-?:NONSTOP_KERNEL:*:*)
1244 echo nse-tandem-nsk${UNAME_RELEASE} 1235 echo nse-tandem-nsk${UNAME_RELEASE}
1245 exit ;; 1236 exit ;;