Mercurial > sdl-ios-xcode
comparison build-scripts/config.sub @ 3086:0102ed19c21a
Updated config.guess and config.sub
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 04 Mar 2009 09:35:32 +0000 |
parents | 386ebf50dd91 |
children | 6b14223dd5c7 |
comparison
equal
deleted
inserted
replaced
3085:4800979de337 | 3086:0102ed19c21a |
---|---|
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 Free Software Foundation, | 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
5 # Inc. | 5 # Free Software Foundation, Inc. |
6 | 6 |
7 timestamp='2007-12-05' | 7 timestamp='2009-02-03' |
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 # |
70 Report bugs and patches to <config-patches@gnu.org>." | 70 Report bugs and patches to <config-patches@gnu.org>." |
71 | 71 |
72 version="\ | 72 version="\ |
73 GNU config.sub ($timestamp) | 73 GNU config.sub ($timestamp) |
74 | 74 |
75 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 75 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
76 Free Software Foundation, Inc. | 76 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
77 | 77 |
78 This is free software; see the source for copying conditions. There is NO | 78 This is free software; see the source for copying conditions. There is NO |
79 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 79 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
80 | 80 |
81 help=" | 81 help=" |
120 # Here we must recognize all the valid KERNEL-OS combinations. | 120 # Here we must recognize all the valid KERNEL-OS combinations. |
121 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 121 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
122 case $maybe_os in | 122 case $maybe_os in |
123 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ | 123 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ |
124 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ | 124 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ |
125 kopensolaris*-gnu* | \ | |
125 storm-chaos* | os2-emx* | rtmk-nova*) | 126 storm-chaos* | os2-emx* | rtmk-nova*) |
126 os=-$maybe_os | 127 os=-$maybe_os |
127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | 128 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
128 ;; | 129 ;; |
129 *) | 130 *) |
247 | d10v | d30v | dlx | dsp16xx \ | 248 | d10v | d30v | dlx | dsp16xx \ |
248 | fido | fr30 | frv \ | 249 | fido | fr30 | frv \ |
249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | 250 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
250 | i370 | i860 | i960 | ia64 \ | 251 | i370 | i860 | i960 | ia64 \ |
251 | ip2k | iq2000 \ | 252 | ip2k | iq2000 \ |
253 | lm32 \ | |
252 | m32c | m32r | m32rle | m68000 | m68k | m88k \ | 254 | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
253 | maxq | mb | microblaze | mcore | mep \ | 255 | maxq | mb | microblaze | mcore | mep | metag \ |
254 | mips | mipsbe | mipseb | mipsel | mipsle \ | 256 | mips | mipsbe | mipseb | mipsel | mipsle \ |
255 | mips16 \ | 257 | mips16 \ |
256 | mips64 | mips64el \ | 258 | mips64 | mips64el \ |
259 | mips64octeon | mips64octeonel \ | |
260 | mips64orion | mips64orionel \ | |
261 | mips64r5900 | mips64r5900el \ | |
257 | mips64vr | mips64vrel \ | 262 | mips64vr | mips64vrel \ |
258 | mips64orion | mips64orionel \ | |
259 | mips64vr4100 | mips64vr4100el \ | 263 | mips64vr4100 | mips64vr4100el \ |
260 | mips64vr4300 | mips64vr4300el \ | 264 | mips64vr4300 | mips64vr4300el \ |
261 | mips64vr5000 | mips64vr5000el \ | 265 | mips64vr5000 | mips64vr5000el \ |
262 | mips64vr5900 | mips64vr5900el \ | 266 | mips64vr5900 | mips64vr5900el \ |
263 | mipsisa32 | mipsisa32el \ | 267 | mipsisa32 | mipsisa32el \ |
275 | or32 \ | 279 | or32 \ |
276 | pdp10 | pdp11 | pj | pjl \ | 280 | pdp10 | pdp11 | pj | pjl \ |
277 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 281 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
278 | pyramid \ | 282 | pyramid \ |
279 | score \ | 283 | score \ |
280 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | 284 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
281 | sh64 | sh64le \ | 285 | sh64 | sh64le \ |
282 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | 286 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
283 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | 287 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
284 | spu | strongarm \ | 288 | spu | strongarm \ |
285 | tahoe | thumb | tic4x | tic80 | tron \ | 289 | tahoe | thumb | tic4x | tic80 | tron \ |
286 | v850 | v850e \ | 290 | v850 | v850e \ |
287 | we32k \ | 291 | we32k \ |
288 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | 292 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
289 | z8k) | 293 | z8k | z80) |
290 basic_machine=$basic_machine-unknown | 294 basic_machine=$basic_machine-unknown |
291 ;; | 295 ;; |
292 m6811 | m68hc11 | m6812 | m68hc12) | 296 m6811 | m68hc11 | m6812 | m68hc12) |
293 # Motorola 68HC11/12. | 297 # Motorola 68HC11/12. |
294 basic_machine=$basic_machine-unknown | 298 basic_machine=$basic_machine-unknown |
327 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | 331 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
328 | h8300-* | h8500-* \ | 332 | h8300-* | h8500-* \ |
329 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | 333 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
330 | i*86-* | i860-* | i960-* | ia64-* \ | 334 | i*86-* | i860-* | i960-* | ia64-* \ |
331 | ip2k-* | iq2000-* \ | 335 | ip2k-* | iq2000-* \ |
336 | lm32-* \ | |
332 | m32c-* | m32r-* | m32rle-* \ | 337 | m32c-* | m32r-* | m32rle-* \ |
333 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | 338 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
334 | m88110-* | m88k-* | maxq-* | mcore-* \ | 339 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ |
335 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | 340 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
336 | mips16-* \ | 341 | mips16-* \ |
337 | mips64-* | mips64el-* \ | 342 | mips64-* | mips64el-* \ |
343 | mips64octeon-* | mips64octeonel-* \ | |
344 | mips64orion-* | mips64orionel-* \ | |
345 | mips64r5900-* | mips64r5900el-* \ | |
338 | mips64vr-* | mips64vrel-* \ | 346 | mips64vr-* | mips64vrel-* \ |
339 | mips64orion-* | mips64orionel-* \ | |
340 | mips64vr4100-* | mips64vr4100el-* \ | 347 | mips64vr4100-* | mips64vr4100el-* \ |
341 | mips64vr4300-* | mips64vr4300el-* \ | 348 | mips64vr4300-* | mips64vr4300el-* \ |
342 | mips64vr5000-* | mips64vr5000el-* \ | 349 | mips64vr5000-* | mips64vr5000el-* \ |
343 | mips64vr5900-* | mips64vr5900el-* \ | 350 | mips64vr5900-* | mips64vr5900el-* \ |
344 | mipsisa32-* | mipsisa32el-* \ | 351 | mipsisa32-* | mipsisa32el-* \ |
356 | orion-* \ | 363 | orion-* \ |
357 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 364 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
358 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | 365 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
359 | pyramid-* \ | 366 | pyramid-* \ |
360 | romp-* | rs6000-* \ | 367 | romp-* | rs6000-* \ |
361 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | 368 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
362 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 369 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
363 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | 370 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
364 | sparclite-* \ | 371 | sparclite-* \ |
365 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | 372 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
366 | tahoe-* | thumb-* \ | 373 | tahoe-* | thumb-* \ |
367 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | 374 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ |
368 | tron-* \ | 375 | tron-* \ |
369 | v850-* | v850e-* | vax-* \ | 376 | v850-* | v850e-* | vax-* \ |
370 | we32k-* \ | 377 | we32k-* \ |
371 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | 378 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
372 | xstormy16-* | xtensa*-* \ | 379 | xstormy16-* | xtensa*-* \ |
373 | ymp-* \ | 380 | ymp-* \ |
374 | z8k-*) | 381 | z8k-* | z80-*) |
375 ;; | 382 ;; |
376 # Recognize the basic CPU types without company name, with glob match. | 383 # Recognize the basic CPU types without company name, with glob match. |
377 xtensa*) | 384 xtensa*) |
378 basic_machine=$basic_machine-unknown | 385 basic_machine=$basic_machine-unknown |
379 ;; | 386 ;; |
437 ;; | 444 ;; |
438 apollo68bsd) | 445 apollo68bsd) |
439 basic_machine=m68k-apollo | 446 basic_machine=m68k-apollo |
440 os=-bsd | 447 os=-bsd |
441 ;; | 448 ;; |
449 aros) | |
450 basic_machine=i386-pc | |
451 os=-aros | |
452 ;; | |
442 aux) | 453 aux) |
443 basic_machine=m68k-apple | 454 basic_machine=m68k-apple |
444 os=-aux | 455 os=-aux |
445 ;; | 456 ;; |
446 balance) | 457 balance) |
457 ;; | 468 ;; |
458 c90) | 469 c90) |
459 basic_machine=c90-cray | 470 basic_machine=c90-cray |
460 os=-unicos | 471 os=-unicos |
461 ;; | 472 ;; |
473 cegcc) | |
474 basic_machine=arm-unknown | |
475 os=-cegcc | |
476 ;; | |
462 convex-c1) | 477 convex-c1) |
463 basic_machine=c1-convex | 478 basic_machine=c1-convex |
464 os=-bsd | 479 os=-bsd |
465 ;; | 480 ;; |
466 convex-c2) | 481 convex-c2) |
523 basic_machine=m68k-motorola | 538 basic_machine=m68k-motorola |
524 ;; | 539 ;; |
525 delta88) | 540 delta88) |
526 basic_machine=m88k-motorola | 541 basic_machine=m88k-motorola |
527 os=-sysv3 | 542 os=-sysv3 |
543 ;; | |
544 dicos) | |
545 basic_machine=i686-pc | |
546 os=-dicos | |
528 ;; | 547 ;; |
529 djgpp) | 548 djgpp) |
530 basic_machine=i586-pc | 549 basic_machine=i586-pc |
531 os=-msdosdjgpp | 550 os=-msdosdjgpp |
532 ;; | 551 ;; |
1047 ;; | 1066 ;; |
1048 tic6x | c6x*) | 1067 tic6x | c6x*) |
1049 basic_machine=tic6x-unknown | 1068 basic_machine=tic6x-unknown |
1050 os=-coff | 1069 os=-coff |
1051 ;; | 1070 ;; |
1071 tile*) | |
1072 basic_machine=tile-unknown | |
1073 os=-linux-gnu | |
1074 ;; | |
1052 tx39) | 1075 tx39) |
1053 basic_machine=mipstx39-unknown | 1076 basic_machine=mipstx39-unknown |
1054 ;; | 1077 ;; |
1055 tx39el) | 1078 tx39el) |
1056 basic_machine=mipstx39el-unknown | 1079 basic_machine=mipstx39el-unknown |
1120 basic_machine=ymp-cray | 1143 basic_machine=ymp-cray |
1121 os=-unicos | 1144 os=-unicos |
1122 ;; | 1145 ;; |
1123 z8k-*-coff) | 1146 z8k-*-coff) |
1124 basic_machine=z8k-unknown | 1147 basic_machine=z8k-unknown |
1148 os=-sim | |
1149 ;; | |
1150 z80-*-coff) | |
1151 basic_machine=z80-unknown | |
1125 os=-sim | 1152 os=-sim |
1126 ;; | 1153 ;; |
1127 none) | 1154 none) |
1128 basic_machine=none-none | 1155 basic_machine=none-none |
1129 os=-none | 1156 os=-none |
1160 basic_machine=pdp11-dec | 1187 basic_machine=pdp11-dec |
1161 ;; | 1188 ;; |
1162 we32k) | 1189 we32k) |
1163 basic_machine=we32k-att | 1190 basic_machine=we32k-att |
1164 ;; | 1191 ;; |
1165 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) | 1192 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) |
1166 basic_machine=sh-unknown | 1193 basic_machine=sh-unknown |
1167 ;; | 1194 ;; |
1168 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) | 1195 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) |
1169 basic_machine=sparc-sun | 1196 basic_machine=sparc-sun |
1170 ;; | 1197 ;; |
1232 # Each alternative MUST END IN A *, to match a version number. | 1259 # Each alternative MUST END IN A *, to match a version number. |
1233 # -sysv* is not here because it comes later, after sysvr4. | 1260 # -sysv* is not here because it comes later, after sysvr4. |
1234 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | 1261 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1235 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | 1262 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ |
1236 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | 1263 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ |
1264 | -kopensolaris* \ | |
1237 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | 1265 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1238 | -aos* \ | 1266 | -aos* | -aros* \ |
1239 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 1267 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1240 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | 1268 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1241 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | 1269 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1242 | -openbsd* | -solidbsd* \ | 1270 | -openbsd* | -solidbsd* \ |
1243 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | 1271 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1244 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | 1272 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1245 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | 1273 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1246 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 1274 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1247 | -chorusos* | -chorusrdb* \ | 1275 | -chorusos* | -chorusrdb* | -cegcc* \ |
1248 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1276 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1249 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | 1277 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ |
1250 | -uxpv* | -beos* | -mpeix* | -udk* \ | 1278 | -uxpv* | -beos* | -mpeix* | -udk* \ |
1251 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | 1279 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1252 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1280 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1382 os=-kaos | 1410 os=-kaos |
1383 ;; | 1411 ;; |
1384 -zvmoe) | 1412 -zvmoe) |
1385 os=-zvmoe | 1413 os=-zvmoe |
1386 ;; | 1414 ;; |
1415 -dicos*) | |
1416 os=-dicos | |
1417 ;; | |
1387 -none) | 1418 -none) |
1388 ;; | 1419 ;; |
1389 *) | 1420 *) |
1390 # Get rid of the `-' at the beginning of $os. | 1421 # Get rid of the `-' at the beginning of $os. |
1391 os=`echo $os | sed 's/[^-]*-//'` | 1422 os=`echo $os | sed 's/[^-]*-//'` |