Update the config.{guess,sub} files.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Mar 15 20:52:50 2009 +0000 (2009-03-15)
changeset 12614e1562059404
parent 1260 777153645ab8
child 1262 e3574ccecb6d
Update the config.{guess,sub} files.

/trunk/scripts/config.guess | 21 16 5 0 ++++++++++++++++-----
/trunk/scripts/config.sub | 10 8 2 0 ++++++++--
2 files changed, 24 insertions(+), 7 deletions(-)
scripts/config.guess
scripts/config.sub
     1.1 --- a/scripts/config.guess	Sun Mar 15 20:50:40 2009 +0000
     1.2 +++ b/scripts/config.guess	Sun Mar 15 20:52:50 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
     2.1 --- a/scripts/config.sub	Sun Mar 15 20:50:40 2009 +0000
     2.2 +++ b/scripts/config.sub	Sun Mar 15 20:52:50 2009 +0000
     2.3 @@ -4,7 +4,7 @@
     2.4  #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
     2.5  #   Free Software Foundation, Inc.
     2.6  
     2.7 -timestamp='2008-12-11'
     2.8 +timestamp='2009-02-03'
     2.9  
    2.10  # This file is (in principle) common to ALL GNU software.
    2.11  # The presence of a machine in this file suggests that SOME GNU software
    2.12 @@ -122,6 +122,7 @@
    2.13  case $maybe_os in
    2.14    nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
    2.15    uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
    2.16 +  kopensolaris*-gnu* | \
    2.17    storm-chaos* | os2-emx* | rtmk-nova*)
    2.18      os=-$maybe_os
    2.19      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
    2.20 @@ -445,6 +446,10 @@
    2.21  		basic_machine=m68k-apollo
    2.22  		os=-bsd
    2.23  		;;
    2.24 +	aros)
    2.25 +		basic_machine=i386-pc
    2.26 +		os=-aros
    2.27 +		;;
    2.28  	aux)
    2.29  		basic_machine=m68k-apple
    2.30  		os=-aux
    2.31 @@ -1256,8 +1261,9 @@
    2.32  	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
    2.33  	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
    2.34  	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
    2.35 +	      | -kopensolaris* \
    2.36  	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
    2.37 -	      | -aos* \
    2.38 +	      | -aos* | -aros* \
    2.39  	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
    2.40  	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
    2.41  	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \