1.1 --- a/scripts/config.guess Tue Dec 16 18:12:34 2008 +0000
1.2 +++ b/scripts/config.guess Mon May 18 16:51:20 2009 +0000
1.3 @@ -4,7 +4,7 @@
1.4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
1.5 # Free Software Foundation, Inc.
1.6
1.7 -timestamp='2008-12-11'
1.8 +timestamp='2009-02-03'
1.9
1.10 # This file is free software; you can redistribute it and/or modify it
1.11 # under the terms of the GNU General Public License as published by
1.12 @@ -335,11 +335,9 @@
1.13 SUN_ARCH="i386"
1.14 # If there is a compiler, see if it is configured for 64-bit objects.
1.15 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
1.16 - # This test works for both compilers. Note that the full path to
1.17 - # /usr/bin/echo is necessary to work around the shell builtins for
1.18 - # echo that do not handle newlines.
1.19 + # This test works for both compilers.
1.20 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1.21 - if /usr/bin/echo '\n#ifdef __amd64\nIS_64BIT_ARCH\n#endif' | \
1.22 + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
1.23 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1.24 grep IS_64BIT_ARCH >/dev/null
1.25 then
1.26 @@ -1156,6 +1154,16 @@
1.27 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1.28 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1.29 && { echo i486-ncr-sysv4; exit; } ;;
1.30 + NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1.31 + OS_REL='.3'
1.32 + test -r /etc/.relid \
1.33 + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1.34 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1.35 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1.36 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1.37 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1.38 + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1.39 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1.40 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1.41 echo m68k-unknown-lynxos${UNAME_RELEASE}
1.42 exit ;;
1.43 @@ -1342,6 +1350,9 @@
1.44 i*86:rdos:*:*)
1.45 echo ${UNAME_MACHINE}-pc-rdos
1.46 exit ;;
1.47 + i*86:AROS:*:*)
1.48 + echo ${UNAME_MACHINE}-pc-aros
1.49 + exit ;;
1.50 esac
1.51
1.52 #echo '(No uname command or uname output not recognized.)' 1>&2