Mercurial > sdl-ios-xcode
comparison build-scripts/config.sub @ 4133:2130d625816f SDL-1.2
Updated config scripts
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 03 Jan 2008 06:06:06 +0000 |
parents | 19418e4422cb |
children | 0102ed19c21a 31c7c57af8a4 |
comparison
equal
deleted
inserted
replaced
4132:f7e5a35a1d0d | 4133:2130d625816f |
---|---|
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 Free Software Foundation, Inc. | 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, |
5 | 5 # Inc. |
6 timestamp='2006-01-02' | 6 |
7 timestamp='2007-12-05' | |
7 | 8 |
8 # This file is (in principle) common to ALL GNU software. | 9 # This file is (in principle) common to ALL GNU software. |
9 # 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 |
10 # 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. |
11 # | 12 # |
238 1750a | 580 \ | 239 1750a | 580 \ |
239 | a29k \ | 240 | a29k \ |
240 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | 241 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
241 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | 242 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
242 | am33_2.0 \ | 243 | am33_2.0 \ |
243 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | 244 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ |
244 | bfin \ | 245 | bfin \ |
245 | c4x | clipper \ | 246 | c4x | clipper \ |
246 | d10v | d30v | dlx | dsp16xx \ | 247 | d10v | d30v | dlx | dsp16xx \ |
247 | fr30 | frv \ | 248 | fido | fr30 | frv \ |
248 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | 249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
249 | i370 | i860 | i960 | ia64 \ | 250 | i370 | i860 | i960 | ia64 \ |
250 | ip2k | iq2000 \ | 251 | ip2k | iq2000 \ |
251 | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \ | 252 | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
253 | maxq | mb | microblaze | mcore | mep \ | |
252 | mips | mipsbe | mipseb | mipsel | mipsle \ | 254 | mips | mipsbe | mipseb | mipsel | mipsle \ |
253 | mips16 \ | 255 | mips16 \ |
254 | mips64 | mips64el \ | 256 | mips64 | mips64el \ |
255 | mips64vr | mips64vrel \ | 257 | mips64vr | mips64vrel \ |
256 | mips64orion | mips64orionel \ | 258 | mips64orion | mips64orionel \ |
266 | mipsisa64sr71k | mipsisa64sr71kel \ | 268 | mipsisa64sr71k | mipsisa64sr71kel \ |
267 | mipstx39 | mipstx39el \ | 269 | mipstx39 | mipstx39el \ |
268 | mn10200 | mn10300 \ | 270 | mn10200 | mn10300 \ |
269 | mt \ | 271 | mt \ |
270 | msp430 \ | 272 | msp430 \ |
273 | nios | nios2 \ | |
271 | ns16k | ns32k \ | 274 | ns16k | ns32k \ |
272 | or32 \ | 275 | or32 \ |
273 | pdp10 | pdp11 | pj | pjl \ | 276 | pdp10 | pdp11 | pj | pjl \ |
274 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 277 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
275 | pyramid \ | 278 | pyramid \ |
276 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | 279 | score \ |
280 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | |
277 | sh64 | sh64le \ | 281 | sh64 | sh64le \ |
278 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ | 282 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
279 | sparcv8 | sparcv9 | sparcv9b \ | 283 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
280 | strongarm \ | 284 | spu | strongarm \ |
281 | tahoe | thumb | tic4x | tic80 | tron \ | 285 | tahoe | thumb | tic4x | tic80 | tron \ |
282 | v850 | v850e \ | 286 | v850 | v850e \ |
283 | we32k \ | 287 | we32k \ |
284 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ | 288 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
285 | z8k) | 289 | z8k) |
286 basic_machine=$basic_machine-unknown | |
287 ;; | |
288 m32c) | |
289 basic_machine=$basic_machine-unknown | 290 basic_machine=$basic_machine-unknown |
290 ;; | 291 ;; |
291 m6811 | m68hc11 | m6812 | m68hc12) | 292 m6811 | m68hc11 | m6812 | m68hc12) |
292 # Motorola 68HC11/12. | 293 # Motorola 68HC11/12. |
293 basic_machine=$basic_machine-unknown | 294 basic_machine=$basic_machine-unknown |
315 | a29k-* \ | 316 | a29k-* \ |
316 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | 317 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
317 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | 318 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
318 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | 319 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
319 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | 320 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
320 | avr-* \ | 321 | avr-* | avr32-* \ |
321 | bfin-* | bs2000-* \ | 322 | bfin-* | bs2000-* \ |
322 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | 323 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
323 | clipper-* | craynv-* | cydra-* \ | 324 | clipper-* | craynv-* | cydra-* \ |
324 | d10v-* | d30v-* | dlx-* \ | 325 | d10v-* | d30v-* | dlx-* \ |
325 | elxsi-* \ | 326 | elxsi-* \ |
326 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | 327 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
327 | h8300-* | h8500-* \ | 328 | h8300-* | h8500-* \ |
328 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | 329 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
329 | i*86-* | i860-* | i960-* | ia64-* \ | 330 | i*86-* | i860-* | i960-* | ia64-* \ |
330 | ip2k-* | iq2000-* \ | 331 | ip2k-* | iq2000-* \ |
331 | m32r-* | m32rle-* \ | 332 | m32c-* | m32r-* | m32rle-* \ |
332 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | 333 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
333 | m88110-* | m88k-* | maxq-* | mcore-* \ | 334 | m88110-* | m88k-* | maxq-* | mcore-* \ |
334 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | 335 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
335 | mips16-* \ | 336 | mips16-* \ |
336 | mips64-* | mips64el-* \ | 337 | mips64-* | mips64el-* \ |
348 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | 349 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
349 | mipstx39-* | mipstx39el-* \ | 350 | mipstx39-* | mipstx39el-* \ |
350 | mmix-* \ | 351 | mmix-* \ |
351 | mt-* \ | 352 | mt-* \ |
352 | msp430-* \ | 353 | msp430-* \ |
354 | nios-* | nios2-* \ | |
353 | none-* | np1-* | ns16k-* | ns32k-* \ | 355 | none-* | np1-* | ns16k-* | ns32k-* \ |
354 | orion-* \ | 356 | orion-* \ |
355 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 357 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
356 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | 358 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
357 | pyramid-* \ | 359 | pyramid-* \ |
358 | romp-* | rs6000-* \ | 360 | romp-* | rs6000-* \ |
359 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | 361 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
360 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 362 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
361 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ | 363 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
362 | sparclite-* \ | 364 | sparclite-* \ |
363 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | 365 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
364 | tahoe-* | thumb-* \ | 366 | tahoe-* | thumb-* \ |
365 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | 367 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
366 | tron-* \ | 368 | tron-* \ |
367 | v850-* | v850e-* | vax-* \ | 369 | v850-* | v850e-* | vax-* \ |
368 | we32k-* \ | 370 | we32k-* \ |
369 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ | 371 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
370 | xstormy16-* | xtensa-* \ | 372 | xstormy16-* | xtensa*-* \ |
371 | ymp-* \ | 373 | ymp-* \ |
372 | z8k-*) | 374 | z8k-*) |
373 ;; | 375 ;; |
374 m32c-*) | 376 # Recognize the basic CPU types without company name, with glob match. |
377 xtensa*) | |
378 basic_machine=$basic_machine-unknown | |
375 ;; | 379 ;; |
376 # Recognize the various machine names and aliases which stand | 380 # Recognize the various machine names and aliases which stand |
377 # for a CPU type and a company and sometimes even an OS. | 381 # for a CPU type and a company and sometimes even an OS. |
378 386bsd) | 382 386bsd) |
379 basic_machine=i386-unknown | 383 basic_machine=i386-unknown |
441 ;; | 445 ;; |
442 balance) | 446 balance) |
443 basic_machine=ns32k-sequent | 447 basic_machine=ns32k-sequent |
444 os=-dynix | 448 os=-dynix |
445 ;; | 449 ;; |
450 blackfin) | |
451 basic_machine=bfin-unknown | |
452 os=-linux | |
453 ;; | |
454 blackfin-*) | |
455 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | |
456 os=-linux | |
457 ;; | |
446 c90) | 458 c90) |
447 basic_machine=c90-cray | 459 basic_machine=c90-cray |
448 os=-unicos | 460 os=-unicos |
449 ;; | 461 ;; |
450 convex-c1) | 462 convex-c1) |
473 ;; | 485 ;; |
474 craynv) | 486 craynv) |
475 basic_machine=craynv-cray | 487 basic_machine=craynv-cray |
476 os=-unicosmp | 488 os=-unicosmp |
477 ;; | 489 ;; |
478 cr16c) | 490 cr16) |
479 basic_machine=cr16c-unknown | 491 basic_machine=cr16-unknown |
480 os=-elf | 492 os=-elf |
481 ;; | 493 ;; |
482 crds | unos) | 494 crds | unos) |
483 basic_machine=m68k-crds | 495 basic_machine=m68k-crds |
484 ;; | 496 ;; |
666 ;; | 678 ;; |
667 isi68 | isi) | 679 isi68 | isi) |
668 basic_machine=m68k-isi | 680 basic_machine=m68k-isi |
669 os=-sysv | 681 os=-sysv |
670 ;; | 682 ;; |
683 m68knommu) | |
684 basic_machine=m68k-unknown | |
685 os=-linux | |
686 ;; | |
687 m68knommu-*) | |
688 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | |
689 os=-linux | |
690 ;; | |
671 m88k-omron*) | 691 m88k-omron*) |
672 basic_machine=m88k-omron | 692 basic_machine=m88k-omron |
673 ;; | 693 ;; |
674 magnum | m3230) | 694 magnum | m3230) |
675 basic_machine=mips-mips | 695 basic_machine=mips-mips |
680 os=-sysv | 700 os=-sysv |
681 ;; | 701 ;; |
682 mingw32) | 702 mingw32) |
683 basic_machine=i386-pc | 703 basic_machine=i386-pc |
684 os=-mingw32 | 704 os=-mingw32 |
705 ;; | |
706 mingw32ce) | |
707 basic_machine=arm-unknown | |
708 os=-mingw32ce | |
685 ;; | 709 ;; |
686 miniframe) | 710 miniframe) |
687 basic_machine=m68000-convergent | 711 basic_machine=m68000-convergent |
688 ;; | 712 ;; |
689 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) | 713 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) |
807 ;; | 831 ;; |
808 paragon) | 832 paragon) |
809 basic_machine=i860-intel | 833 basic_machine=i860-intel |
810 os=-osf | 834 os=-osf |
811 ;; | 835 ;; |
836 parisc) | |
837 basic_machine=hppa-unknown | |
838 os=-linux | |
839 ;; | |
840 parisc-*) | |
841 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` | |
842 os=-linux | |
843 ;; | |
812 pbd) | 844 pbd) |
813 basic_machine=sparc-tti | 845 basic_machine=sparc-tti |
814 ;; | 846 ;; |
815 pbb) | 847 pbb) |
816 basic_machine=m68k-tti | 848 basic_machine=m68k-tti |
908 basic_machine=mipsisa64sb1-unknown | 940 basic_machine=mipsisa64sb1-unknown |
909 ;; | 941 ;; |
910 sb1el) | 942 sb1el) |
911 basic_machine=mipsisa64sb1el-unknown | 943 basic_machine=mipsisa64sb1el-unknown |
912 ;; | 944 ;; |
945 sde) | |
946 basic_machine=mipsisa32-sde | |
947 os=-elf | |
948 ;; | |
913 sei) | 949 sei) |
914 basic_machine=mips-sei | 950 basic_machine=mips-sei |
915 os=-seiux | 951 os=-seiux |
916 ;; | 952 ;; |
917 sequent) | 953 sequent) |
918 basic_machine=i386-sequent | 954 basic_machine=i386-sequent |
919 ;; | 955 ;; |
920 sh) | 956 sh) |
921 basic_machine=sh-hitachi | 957 basic_machine=sh-hitachi |
922 os=-hms | 958 os=-hms |
959 ;; | |
960 sh5el) | |
961 basic_machine=sh5le-unknown | |
923 ;; | 962 ;; |
924 sh64) | 963 sh64) |
925 basic_machine=sh64-unknown | 964 basic_machine=sh64-unknown |
926 ;; | 965 ;; |
927 sparclite-wrs | simso-wrs) | 966 sparclite-wrs | simso-wrs) |
1124 basic_machine=we32k-att | 1163 basic_machine=we32k-att |
1125 ;; | 1164 ;; |
1126 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) | 1165 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) |
1127 basic_machine=sh-unknown | 1166 basic_machine=sh-unknown |
1128 ;; | 1167 ;; |
1129 sparc | sparcv8 | sparcv9 | sparcv9b) | 1168 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) |
1130 basic_machine=sparc-sun | 1169 basic_machine=sparc-sun |
1131 ;; | 1170 ;; |
1132 cydra) | 1171 cydra) |
1133 basic_machine=cydra-cydrome | 1172 basic_machine=cydra-cydrome |
1134 ;; | 1173 ;; |
1213 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1252 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1214 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1253 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1215 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1254 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1216 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1255 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1217 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | 1256 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1218 | -skyos* | -haiku* | -rdos*) | 1257 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) |
1219 # Remember, each alternative MUST END IN *, to match a version number. | 1258 # Remember, each alternative MUST END IN *, to match a version number. |
1220 ;; | 1259 ;; |
1221 -qnx*) | 1260 -qnx*) |
1222 case $basic_machine in | 1261 case $basic_machine in |
1223 x86-* | i*86-*) | 1262 x86-* | i*86-*) |
1365 # that MANUFACTURER isn't an operating system. Otherwise, code above | 1404 # that MANUFACTURER isn't an operating system. Otherwise, code above |
1366 # will signal an error saying that MANUFACTURER isn't an operating | 1405 # will signal an error saying that MANUFACTURER isn't an operating |
1367 # system, and we'll never get to this point. | 1406 # system, and we'll never get to this point. |
1368 | 1407 |
1369 case $basic_machine in | 1408 case $basic_machine in |
1409 score-*) | |
1410 os=-elf | |
1411 ;; | |
1412 spu-*) | |
1413 os=-elf | |
1414 ;; | |
1370 *-acorn) | 1415 *-acorn) |
1371 os=-riscix1.2 | 1416 os=-riscix1.2 |
1372 ;; | 1417 ;; |
1373 arm*-rebel) | 1418 arm*-rebel) |
1374 os=-linux | 1419 os=-linux |
1375 ;; | 1420 ;; |
1376 arm*-semi) | 1421 arm*-semi) |
1377 os=-aout | 1422 os=-aout |
1378 ;; | 1423 ;; |
1379 c4x-* | tic4x-*) | 1424 c4x-* | tic4x-*) |
1380 os=-coff | 1425 os=-coff |
1381 ;; | 1426 ;; |
1382 # This must come before the *-dec entry. | 1427 # This must come before the *-dec entry. |
1383 pdp10-*) | 1428 pdp10-*) |
1384 os=-tops20 | 1429 os=-tops20 |
1385 ;; | 1430 ;; |
1386 pdp11-*) | 1431 pdp11-*) |
1401 # default. | 1446 # default. |
1402 # os=-sunos4 | 1447 # os=-sunos4 |
1403 ;; | 1448 ;; |
1404 m68*-cisco) | 1449 m68*-cisco) |
1405 os=-aout | 1450 os=-aout |
1451 ;; | |
1452 mep-*) | |
1453 os=-elf | |
1406 ;; | 1454 ;; |
1407 mips*-cisco) | 1455 mips*-cisco) |
1408 os=-elf | 1456 os=-elf |
1409 ;; | 1457 ;; |
1410 mips*-*) | 1458 mips*-*) |