Mercurial > sdl-ios-xcode
comparison build-scripts/config.sub @ 3353:6b14223dd5c7
Update config.guess and config.sub
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 08 Oct 2009 07:08:45 +0000 |
parents | 0102ed19c21a |
children |
comparison
equal
deleted
inserted
replaced
3352:6dc250ebdd80 | 3353:6b14223dd5c7 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Configuration validation subroutine script. | 2 # Configuration validation subroutine script. |
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 | 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
5 # Free Software Foundation, Inc. | 5 # Free Software Foundation, Inc. |
6 | 6 |
7 timestamp='2009-02-03' | 7 timestamp='2009-10-07' |
8 | 8 |
9 # This file is (in principle) common to ALL GNU software. | 9 # This file is (in principle) common to ALL GNU software. |
10 # The presence of a machine in this file suggests that SOME GNU software | 10 # The presence of a machine in this file suggests that SOME GNU software |
11 # can handle that machine. It does not imply ALL GNU software can. | 11 # can handle that machine. It does not imply ALL GNU software can. |
12 # | 12 # |
30 # configuration script generated by Autoconf, you may include it under | 30 # configuration script generated by Autoconf, you may include it under |
31 # the same distribution terms that you use for the rest of that program. | 31 # the same distribution terms that you use for the rest of that program. |
32 | 32 |
33 | 33 |
34 # Please send patches to <config-patches@gnu.org>. Submit a context | 34 # Please send patches to <config-patches@gnu.org>. Submit a context |
35 # diff and a properly formatted ChangeLog entry. | 35 # diff and a properly formatted GNU ChangeLog entry. |
36 # | 36 # |
37 # Configuration subroutine to validate and canonicalize a configuration type. | 37 # Configuration subroutine to validate and canonicalize a configuration type. |
38 # Supply the specified configuration type as an argument. | 38 # Supply the specified configuration type as an argument. |
39 # If it is invalid, we print an error message on stderr and exit with code 1. | 39 # If it is invalid, we print an error message on stderr and exit with code 1. |
40 # Otherwise, we print the canonical config type on stdout and succeed. | 40 # Otherwise, we print the canonical config type on stdout and succeed. |
41 | |
42 # You can get the latest version of this script from: | |
43 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD | |
41 | 44 |
42 # This file is supposed to be the same for all GNU packages | 45 # This file is supposed to be the same for all GNU packages |
43 # and recognize all the CPU types, system types and aliases | 46 # and recognize all the CPU types, system types and aliases |
44 # that are meaningful with *any* GNU software. | 47 # that are meaningful with *any* GNU software. |
45 # Each package is responsible for reporting which valid configurations | 48 # Each package is responsible for reporting which valid configurations |
147 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ | 150 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ |
148 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ | 151 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ |
149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ | 152 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ | 153 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | 154 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
152 -apple | -axis | -knuth | -cray) | 155 -apple | -axis | -knuth | -cray | -microblaze) |
153 os= | 156 os= |
154 basic_machine=$1 | 157 basic_machine=$1 |
158 ;; | |
159 -bluegene*) | |
160 os=-cnk | |
155 ;; | 161 ;; |
156 -sim | -cisco | -oki | -wec | -winbond) | 162 -sim | -cisco | -oki | -wec | -winbond) |
157 os= | 163 os= |
158 basic_machine=$1 | 164 basic_machine=$1 |
159 ;; | 165 ;; |
270 | mipsisa64r2 | mipsisa64r2el \ | 276 | mipsisa64r2 | mipsisa64r2el \ |
271 | mipsisa64sb1 | mipsisa64sb1el \ | 277 | mipsisa64sb1 | mipsisa64sb1el \ |
272 | mipsisa64sr71k | mipsisa64sr71kel \ | 278 | mipsisa64sr71k | mipsisa64sr71kel \ |
273 | mipstx39 | mipstx39el \ | 279 | mipstx39 | mipstx39el \ |
274 | mn10200 | mn10300 \ | 280 | mn10200 | mn10300 \ |
281 | moxie \ | |
275 | mt \ | 282 | mt \ |
276 | msp430 \ | 283 | msp430 \ |
277 | nios | nios2 \ | 284 | nios | nios2 \ |
278 | ns16k | ns32k \ | 285 | ns16k | ns32k \ |
279 | or32 \ | 286 | or32 \ |
280 | pdp10 | pdp11 | pj | pjl \ | 287 | pdp10 | pdp11 | pj | pjl \ |
281 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 288 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
282 | pyramid \ | 289 | pyramid \ |
290 | rx \ | |
283 | score \ | 291 | score \ |
284 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | 292 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
285 | sh64 | sh64le \ | 293 | sh64 | sh64le \ |
286 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | 294 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
287 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | 295 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
291 | we32k \ | 299 | we32k \ |
292 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | 300 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
293 | z8k | z80) | 301 | z8k | z80) |
294 basic_machine=$basic_machine-unknown | 302 basic_machine=$basic_machine-unknown |
295 ;; | 303 ;; |
296 m6811 | m68hc11 | m6812 | m68hc12) | 304 m6811 | m68hc11 | m6812 | m68hc12 | picochip) |
297 # Motorola 68HC11/12. | 305 # Motorola 68HC11/12. |
298 basic_machine=$basic_machine-unknown | 306 basic_machine=$basic_machine-unknown |
299 os=-none | 307 os=-none |
300 ;; | 308 ;; |
301 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) | 309 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) |
334 | i*86-* | i860-* | i960-* | ia64-* \ | 342 | i*86-* | i860-* | i960-* | ia64-* \ |
335 | ip2k-* | iq2000-* \ | 343 | ip2k-* | iq2000-* \ |
336 | lm32-* \ | 344 | lm32-* \ |
337 | m32c-* | m32r-* | m32rle-* \ | 345 | m32c-* | m32r-* | m32rle-* \ |
338 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | 346 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
339 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | 347 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ |
340 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | 348 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
341 | mips16-* \ | 349 | mips16-* \ |
342 | mips64-* | mips64el-* \ | 350 | mips64-* | mips64el-* \ |
343 | mips64octeon-* | mips64octeonel-* \ | 351 | mips64octeon-* | mips64octeonel-* \ |
344 | mips64orion-* | mips64orionel-* \ | 352 | mips64orion-* | mips64orionel-* \ |
362 | none-* | np1-* | ns16k-* | ns32k-* \ | 370 | none-* | np1-* | ns16k-* | ns32k-* \ |
363 | orion-* \ | 371 | orion-* \ |
364 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 372 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
365 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | 373 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
366 | pyramid-* \ | 374 | pyramid-* \ |
367 | romp-* | rs6000-* \ | 375 | romp-* | rs6000-* | rx-* \ |
368 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | 376 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
369 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 377 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
370 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | 378 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
371 | sparclite-* \ | 379 | sparclite-* \ |
372 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | 380 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
464 ;; | 472 ;; |
465 blackfin-*) | 473 blackfin-*) |
466 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | 474 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` |
467 os=-linux | 475 os=-linux |
468 ;; | 476 ;; |
477 bluegene*) | |
478 basic_machine=powerpc-ibm | |
479 os=-cnk | |
480 ;; | |
469 c90) | 481 c90) |
470 basic_machine=c90-cray | 482 basic_machine=c90-cray |
471 os=-unicos | 483 os=-unicos |
472 ;; | 484 ;; |
473 cegcc) | 485 cegcc) |
715 os=-sysv | 727 os=-sysv |
716 ;; | 728 ;; |
717 merlin) | 729 merlin) |
718 basic_machine=ns32k-utek | 730 basic_machine=ns32k-utek |
719 os=-sysv | 731 os=-sysv |
732 ;; | |
733 microblaze) | |
734 basic_machine=microblaze-xilinx | |
720 ;; | 735 ;; |
721 mingw32) | 736 mingw32) |
722 basic_machine=i386-pc | 737 basic_machine=i386-pc |
723 os=-mingw32 | 738 os=-mingw32 |
724 ;; | 739 ;; |
1257 # First accept the basic system types. | 1272 # First accept the basic system types. |
1258 # The portable systems comes first. | 1273 # The portable systems comes first. |
1259 # Each alternative MUST END IN A *, to match a version number. | 1274 # Each alternative MUST END IN A *, to match a version number. |
1260 # -sysv* is not here because it comes later, after sysvr4. | 1275 # -sysv* is not here because it comes later, after sysvr4. |
1261 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | 1276 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1262 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | 1277 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1263 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | 1278 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ |
1264 | -kopensolaris* \ | 1279 | -kopensolaris* \ |
1265 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | 1280 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1266 | -aos* | -aros* \ | 1281 | -aos* | -aros* \ |
1267 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 1282 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1280 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1295 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1281 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1296 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1282 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1297 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1283 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1298 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1284 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | 1299 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1285 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) | 1300 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) |
1286 # Remember, each alternative MUST END IN *, to match a version number. | 1301 # Remember, each alternative MUST END IN *, to match a version number. |
1287 ;; | 1302 ;; |
1288 -qnx*) | 1303 -qnx*) |
1289 case $basic_machine in | 1304 case $basic_machine in |
1290 x86-* | i*86-*) | 1305 x86-* | i*86-*) |
1610 vendor=acorn | 1625 vendor=acorn |
1611 ;; | 1626 ;; |
1612 -sunos*) | 1627 -sunos*) |
1613 vendor=sun | 1628 vendor=sun |
1614 ;; | 1629 ;; |
1615 -aix*) | 1630 -cnk*|-aix*) |
1616 vendor=ibm | 1631 vendor=ibm |
1617 ;; | 1632 ;; |
1618 -beos*) | 1633 -beos*) |
1619 vendor=be | 1634 vendor=be |
1620 ;; | 1635 ;; |