Updated config.guess and config.sub
authorSam Lantinga <slouken@libsdl.org>
Wed, 04 Mar 2009 09:35:32 +0000
changeset 192cee9f4af8db0
parent 191 5f58a32c4f5e
child 193 a78487925af6
Updated config.guess and config.sub
config.guess
config.sub
     1.1 --- a/config.guess	Wed Jan 14 08:47:20 2009 +0000
     1.2 +++ b/config.guess	Wed Mar 04 09:35:32 2009 +0000
     1.3 @@ -1,10 +1,10 @@
     1.4  #! /bin/sh
     1.5  # Attempt to guess a canonical system name.
     1.6  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
     1.7 -#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
     1.8 -#   Inc.
     1.9 +#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
    1.10 +#   Free Software Foundation, Inc.
    1.11  
    1.12 -timestamp='2007-12-12'
    1.13 +timestamp='2009-02-03'
    1.14  
    1.15  # This file is free software; you can redistribute it and/or modify it
    1.16  # under the terms of the GNU General Public License as published by
    1.17 @@ -56,8 +56,8 @@
    1.18  GNU config.guess ($timestamp)
    1.19  
    1.20  Originally written by Per Bothner.
    1.21 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    1.22 -Free Software Foundation, Inc.
    1.23 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
    1.24 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    1.25  
    1.26  This is free software; see the source for copying conditions.  There is NO
    1.27  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
    1.28 @@ -331,7 +331,20 @@
    1.29  	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    1.30  	exit ;;
    1.31      i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
    1.32 -	echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    1.33 +	eval $set_cc_for_build
    1.34 +	SUN_ARCH="i386"
    1.35 +	# If there is a compiler, see if it is configured for 64-bit objects.
    1.36 +	# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
    1.37 +	# This test works for both compilers.
    1.38 +	if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
    1.39 +	    if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
    1.40 +		(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
    1.41 +		grep IS_64BIT_ARCH >/dev/null
    1.42 +	    then
    1.43 +		SUN_ARCH="x86_64"
    1.44 +	    fi
    1.45 +	fi
    1.46 +	echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    1.47  	exit ;;
    1.48      sun4*:SunOS:6*:*)
    1.49  	# According to config.sub, this is the proper way to canonicalize
    1.50 @@ -532,7 +545,7 @@
    1.51  		echo rs6000-ibm-aix3.2
    1.52  	fi
    1.53  	exit ;;
    1.54 -    *:AIX:*:[45])
    1.55 +    *:AIX:*:[456])
    1.56  	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
    1.57  	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
    1.58  		IBM_ARCH=rs6000
    1.59 @@ -796,7 +809,7 @@
    1.60  	    x86)
    1.61  		echo i586-pc-interix${UNAME_RELEASE}
    1.62  		exit ;;
    1.63 -	    EM64T | authenticamd)
    1.64 +	    EM64T | authenticamd | genuineintel)
    1.65  		echo x86_64-unknown-interix${UNAME_RELEASE}
    1.66  		exit ;;
    1.67  	    IA64)
    1.68 @@ -935,6 +948,9 @@
    1.69  	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
    1.70  	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
    1.71  	exit ;;
    1.72 +    padre:Linux:*:*)
    1.73 +	echo sparc-unknown-linux-gnu
    1.74 +	exit ;;
    1.75      parisc:Linux:*:* | hppa:Linux:*:*)
    1.76  	# Look for CPU level
    1.77  	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
    1.78 @@ -985,9 +1001,6 @@
    1.79  	  a.out-i386-linux)
    1.80  		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
    1.81  		exit ;;
    1.82 -	  coff-i386)
    1.83 -		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
    1.84 -		exit ;;
    1.85  	  "")
    1.86  		# Either a pre-BFD a.out linker (linux-gnuoldld) or
    1.87  		# one that does not give us useful --help.
    1.88 @@ -1141,6 +1154,16 @@
    1.89      3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
    1.90          /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    1.91            && { echo i486-ncr-sysv4; exit; } ;;
    1.92 +    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
    1.93 +	OS_REL='.3'
    1.94 +	test -r /etc/.relid \
    1.95 +	    && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
    1.96 +	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    1.97 +	    && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
    1.98 +	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
    1.99 +	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
   1.100 +	/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
   1.101 +	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
   1.102      m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
   1.103  	echo m68k-unknown-lynxos${UNAME_RELEASE}
   1.104  	exit ;;
   1.105 @@ -1216,6 +1239,9 @@
   1.106      BePC:BeOS:*:*)	# BeOS running on Intel PC compatible.
   1.107  	echo i586-pc-beos
   1.108  	exit ;;
   1.109 +    BePC:Haiku:*:*)	# Haiku running on Intel PC compatible.
   1.110 +	echo i586-pc-haiku
   1.111 +	exit ;;
   1.112      SX-4:SUPER-UX:*:*)
   1.113  	echo sx4-nec-superux${UNAME_RELEASE}
   1.114  	exit ;;
   1.115 @@ -1324,6 +1350,9 @@
   1.116      i*86:rdos:*:*)
   1.117  	echo ${UNAME_MACHINE}-pc-rdos
   1.118  	exit ;;
   1.119 +    i*86:AROS:*:*)
   1.120 +	echo ${UNAME_MACHINE}-pc-aros
   1.121 +	exit ;;
   1.122  esac
   1.123  
   1.124  #echo '(No uname command or uname output not recognized.)' 1>&2
   1.125 @@ -1484,9 +1513,9 @@
   1.126  the operating system you are using. It is advised that you
   1.127  download the most up to date version of the config scripts from
   1.128  
   1.129 -  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
   1.130 +  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
   1.131  and
   1.132 -  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
   1.133 +  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
   1.134  
   1.135  If the version you run ($0) is already up to date, please
   1.136  send the following data and any information you think might be
     2.1 --- a/config.sub	Wed Jan 14 08:47:20 2009 +0000
     2.2 +++ b/config.sub	Wed Mar 04 09:35:32 2009 +0000
     2.3 @@ -1,10 +1,10 @@
     2.4  #! /bin/sh
     2.5  # Configuration validation subroutine script.
     2.6  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
     2.7 -#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
     2.8 -#   Inc.
     2.9 +#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
    2.10 +#   Free Software Foundation, Inc.
    2.11  
    2.12 -timestamp='2007-12-05'
    2.13 +timestamp='2009-02-03'
    2.14  
    2.15  # This file is (in principle) common to ALL GNU software.
    2.16  # The presence of a machine in this file suggests that SOME GNU software
    2.17 @@ -72,8 +72,8 @@
    2.18  version="\
    2.19  GNU config.sub ($timestamp)
    2.20  
    2.21 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    2.22 -Free Software Foundation, Inc.
    2.23 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
    2.24 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    2.25  
    2.26  This is free software; see the source for copying conditions.  There is NO
    2.27  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
    2.28 @@ -122,6 +122,7 @@
    2.29  case $maybe_os in
    2.30    nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
    2.31    uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
    2.32 +  kopensolaris*-gnu* | \
    2.33    storm-chaos* | os2-emx* | rtmk-nova*)
    2.34      os=-$maybe_os
    2.35      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
    2.36 @@ -249,13 +250,16 @@
    2.37  	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
    2.38  	| i370 | i860 | i960 | ia64 \
    2.39  	| ip2k | iq2000 \
    2.40 +	| lm32 \
    2.41  	| m32c | m32r | m32rle | m68000 | m68k | m88k \
    2.42 -	| maxq | mb | microblaze | mcore | mep \
    2.43 +	| maxq | mb | microblaze | mcore | mep | metag \
    2.44  	| mips | mipsbe | mipseb | mipsel | mipsle \
    2.45  	| mips16 \
    2.46  	| mips64 | mips64el \
    2.47 +	| mips64octeon | mips64octeonel \
    2.48 +	| mips64orion | mips64orionel \
    2.49 +	| mips64r5900 | mips64r5900el \
    2.50  	| mips64vr | mips64vrel \
    2.51 -	| mips64orion | mips64orionel \
    2.52  	| mips64vr4100 | mips64vr4100el \
    2.53  	| mips64vr4300 | mips64vr4300el \
    2.54  	| mips64vr5000 | mips64vr5000el \
    2.55 @@ -277,7 +281,7 @@
    2.56  	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
    2.57  	| pyramid \
    2.58  	| score \
    2.59 -	| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
    2.60 +	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
    2.61  	| sh64 | sh64le \
    2.62  	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
    2.63  	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
    2.64 @@ -286,7 +290,7 @@
    2.65  	| v850 | v850e \
    2.66  	| we32k \
    2.67  	| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
    2.68 -	| z8k)
    2.69 +	| z8k | z80)
    2.70  		basic_machine=$basic_machine-unknown
    2.71  		;;
    2.72  	m6811 | m68hc11 | m6812 | m68hc12)
    2.73 @@ -329,14 +333,17 @@
    2.74  	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
    2.75  	| i*86-* | i860-* | i960-* | ia64-* \
    2.76  	| ip2k-* | iq2000-* \
    2.77 +	| lm32-* \
    2.78  	| m32c-* | m32r-* | m32rle-* \
    2.79  	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
    2.80 -	| m88110-* | m88k-* | maxq-* | mcore-* \
    2.81 +	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
    2.82  	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
    2.83  	| mips16-* \
    2.84  	| mips64-* | mips64el-* \
    2.85 +	| mips64octeon-* | mips64octeonel-* \
    2.86 +	| mips64orion-* | mips64orionel-* \
    2.87 +	| mips64r5900-* | mips64r5900el-* \
    2.88  	| mips64vr-* | mips64vrel-* \
    2.89 -	| mips64orion-* | mips64orionel-* \
    2.90  	| mips64vr4100-* | mips64vr4100el-* \
    2.91  	| mips64vr4300-* | mips64vr4300el-* \
    2.92  	| mips64vr5000-* | mips64vr5000el-* \
    2.93 @@ -358,20 +365,20 @@
    2.94  	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
    2.95  	| pyramid-* \
    2.96  	| romp-* | rs6000-* \
    2.97 -	| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
    2.98 +	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
    2.99  	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
   2.100  	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
   2.101  	| sparclite-* \
   2.102  	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
   2.103  	| tahoe-* | thumb-* \
   2.104 -	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
   2.105 +	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
   2.106  	| tron-* \
   2.107  	| v850-* | v850e-* | vax-* \
   2.108  	| we32k-* \
   2.109  	| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
   2.110  	| xstormy16-* | xtensa*-* \
   2.111  	| ymp-* \
   2.112 -	| z8k-*)
   2.113 +	| z8k-* | z80-*)
   2.114  		;;
   2.115  	# Recognize the basic CPU types without company name, with glob match.
   2.116  	xtensa*)
   2.117 @@ -439,6 +446,10 @@
   2.118  		basic_machine=m68k-apollo
   2.119  		os=-bsd
   2.120  		;;
   2.121 +	aros)
   2.122 +		basic_machine=i386-pc
   2.123 +		os=-aros
   2.124 +		;;
   2.125  	aux)
   2.126  		basic_machine=m68k-apple
   2.127  		os=-aux
   2.128 @@ -459,6 +470,10 @@
   2.129  		basic_machine=c90-cray
   2.130  		os=-unicos
   2.131  		;;
   2.132 +        cegcc)
   2.133 +		basic_machine=arm-unknown
   2.134 +		os=-cegcc
   2.135 +		;;
   2.136  	convex-c1)
   2.137  		basic_machine=c1-convex
   2.138  		os=-bsd
   2.139 @@ -526,6 +541,10 @@
   2.140  		basic_machine=m88k-motorola
   2.141  		os=-sysv3
   2.142  		;;
   2.143 +	dicos)
   2.144 +		basic_machine=i686-pc
   2.145 +		os=-dicos
   2.146 +		;;
   2.147  	djgpp)
   2.148  		basic_machine=i586-pc
   2.149  		os=-msdosdjgpp
   2.150 @@ -1049,6 +1068,10 @@
   2.151  		basic_machine=tic6x-unknown
   2.152  		os=-coff
   2.153  		;;
   2.154 +	tile*)
   2.155 +		basic_machine=tile-unknown
   2.156 +		os=-linux-gnu
   2.157 +		;;
   2.158  	tx39)
   2.159  		basic_machine=mipstx39-unknown
   2.160  		;;
   2.161 @@ -1124,6 +1147,10 @@
   2.162  		basic_machine=z8k-unknown
   2.163  		os=-sim
   2.164  		;;
   2.165 +	z80-*-coff)
   2.166 +		basic_machine=z80-unknown
   2.167 +		os=-sim
   2.168 +		;;
   2.169  	none)
   2.170  		basic_machine=none-none
   2.171  		os=-none
   2.172 @@ -1162,7 +1189,7 @@
   2.173  	we32k)
   2.174  		basic_machine=we32k-att
   2.175  		;;
   2.176 -	sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
   2.177 +	sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
   2.178  		basic_machine=sh-unknown
   2.179  		;;
   2.180  	sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
   2.181 @@ -1234,8 +1261,9 @@
   2.182  	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
   2.183  	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
   2.184  	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
   2.185 +	      | -kopensolaris* \
   2.186  	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
   2.187 -	      | -aos* \
   2.188 +	      | -aos* | -aros* \
   2.189  	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
   2.190  	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
   2.191  	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
   2.192 @@ -1244,7 +1272,7 @@
   2.193  	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
   2.194  	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
   2.195  	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
   2.196 -	      | -chorusos* | -chorusrdb* \
   2.197 +	      | -chorusos* | -chorusrdb* | -cegcc* \
   2.198  	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
   2.199  	      | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
   2.200  	      | -uxpv* | -beos* | -mpeix* | -udk* \
   2.201 @@ -1384,6 +1412,9 @@
   2.202  	-zvmoe)
   2.203  		os=-zvmoe
   2.204  		;;
   2.205 +	-dicos*)
   2.206 +		os=-dicos
   2.207 +		;;
   2.208  	-none)
   2.209  		;;
   2.210  	*)