OLD | NEW |
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 Free Software Foundation, |
5 # Free Software Foundation, Inc. | 5 # Inc. |
6 | 6 |
7 timestamp='2008-01-16' | 7 timestamp='2007-06-28' |
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 # |
13 # This file is free software; you can redistribute it and/or modify | 13 # This file is free software; you can redistribute it and/or modify |
14 # it under the terms of the GNU General Public License as published by | 14 # it under the terms of the GNU General Public License as published by |
15 # the Free Software Foundation; either version 2 of the License, or | 15 # the Free Software Foundation; either version 2 of the License, or |
16 # (at your option) any later version. | 16 # (at your option) any later version. |
17 # | 17 # |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 Operation modes: | 65 Operation modes: |
66 -h, --help print this help, then exit | 66 -h, --help print this help, then exit |
67 -t, --time-stamp print date of last modification, then exit | 67 -t, --time-stamp print date of last modification, then exit |
68 -v, --version print version number, then exit | 68 -v, --version print version number, then exit |
69 | 69 |
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, | 75 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005 |
76 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | 76 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=" |
82 Try \`$me --help' for more information." | 82 Try \`$me --help' for more information." |
83 | 83 |
84 # Parse command line | 84 # Parse command line |
85 while test $# -gt 0 ; do | 85 while test $# -gt 0 ; do |
86 case $1 in | 86 case $1 in |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 # Recognize the basic CPU types without company name. | 237 # Recognize the basic CPU types without company name. |
238 # Some are omitted here because they have special meanings below. | 238 # Some are omitted here because they have special meanings below. |
239 1750a | 580 \ | 239 1750a | 580 \ |
240 | a29k \ | 240 | a29k \ |
241 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | 241 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
242 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[
67] \ | 242 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[
67] \ |
243 | am33_2.0 \ | 243 | am33_2.0 \ |
244 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a
vr32 \ | 244 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a
vr32 \ |
245 | bfin \ | 245 | bfin \ |
246 | c4x | clipper \ | 246 | c4x | clipper \ |
247 » | d10v | d30v | dlx | dsp16xx \ | 247 » | d10v | d30v | dlx | dsp16xx | dvp \ |
248 | fido | fr30 | frv \ | 248 | fido | fr30 | frv \ |
249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | 249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
250 | i370 | i860 | i960 | ia64 \ | 250 | i370 | i860 | i960 | ia64 \ |
251 | ip2k | iq2000 \ | 251 | ip2k | iq2000 \ |
252 | m32c | m32r | m32rle | m68000 | m68k | m88k \ | 252 | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
253 | maxq | mb | microblaze | mcore | mep \ | 253 | maxq | mb | microblaze | mcore | mep \ |
254 | mips | mipsbe | mipseb | mipsel | mipsle \ | 254 | mips | mipsbe | mipseb | mipsel | mipsle \ |
255 | mips16 \ | 255 | mips16 \ |
256 | mips64 | mips64el \ | 256 | mips64 | mips64el \ |
257 | mips64vr | mips64vrel \ | 257 | mips64vr | mips64vrel \ |
(...skipping 12 matching lines...) Expand all Loading... |
270 | mn10200 | mn10300 \ | 270 | mn10200 | mn10300 \ |
271 | mt \ | 271 | mt \ |
272 | msp430 \ | 272 | msp430 \ |
273 | nios | nios2 \ | 273 | nios | nios2 \ |
274 | ns16k | ns32k \ | 274 | ns16k | ns32k \ |
275 | or32 \ | 275 | or32 \ |
276 | pdp10 | pdp11 | pj | pjl \ | 276 | pdp10 | pdp11 | pj | pjl \ |
277 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 277 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
278 | pyramid \ | 278 | pyramid \ |
279 | score \ | 279 | score \ |
280 » | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh
[1234]le | sh3ele \ | 280 » | sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shb
e | shle | sh[1234]le | sh3ele \ |
281 | sh64 | sh64le \ | 281 | sh64 | sh64le \ |
282 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit
e \ | 282 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit
e \ |
283 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | 283 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
284 | spu | strongarm \ | 284 | spu | strongarm \ |
285 | tahoe | thumb | tic4x | tic80 | tron \ | 285 | tahoe | thumb | tic4x | tic80 | tron \ |
286 | v850 | v850e \ | 286 | v850 | v850e \ |
287 | we32k \ | 287 | we32k \ |
288 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | 288 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
289 | z8k) | 289 | z8k) |
290 basic_machine=$basic_machine-unknown | 290 basic_machine=$basic_machine-unknown |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 | mmix-* \ | 351 | mmix-* \ |
352 | mt-* \ | 352 | mt-* \ |
353 | msp430-* \ | 353 | msp430-* \ |
354 | nios-* | nios2-* \ | 354 | nios-* | nios2-* \ |
355 | none-* | np1-* | ns16k-* | ns32k-* \ | 355 | none-* | np1-* | ns16k-* | ns32k-* \ |
356 | orion-* \ | 356 | orion-* \ |
357 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 357 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
358 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | 358 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
359 | pyramid-* \ | 359 | pyramid-* \ |
360 | romp-* | rs6000-* \ | 360 | romp-* | rs6000-* \ |
361 » | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe
-* \ | 361 » | sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-*
| sheb-* | shbe-* \ |
362 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 362 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
363 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-
* \ | 363 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-
* \ |
364 | sparclite-* \ | 364 | sparclite-* \ |
365 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-*
| sx?-* \ | 365 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-*
| sx?-* \ |
366 | tahoe-* | thumb-* \ | 366 | tahoe-* | thumb-* \ |
367 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | 367 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
368 | tron-* \ | 368 | tron-* \ |
369 | v850-* | v850e-* | vax-* \ | 369 | v850-* | v850e-* | vax-* \ |
370 | we32k-* \ | 370 | we32k-* \ |
371 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | 371 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
372 » | xstormy16-* | xtensa*-* \ | 372 » | xstormy16-* | xtensa-* \ |
373 | ymp-* \ | 373 | ymp-* \ |
374 | z8k-*) | 374 | z8k-*) |
375 ;; | 375 ;; |
376 # Recognize the basic CPU types without company name, with glob match. | |
377 xtensa*) | |
378 basic_machine=$basic_machine-unknown | |
379 ;; | |
380 # Recognize the various machine names and aliases which stand | 376 # Recognize the various machine names and aliases which stand |
381 # for a CPU type and a company and sometimes even an OS. | 377 # for a CPU type and a company and sometimes even an OS. |
382 386bsd) | 378 386bsd) |
383 basic_machine=i386-unknown | 379 basic_machine=i386-unknown |
384 os=-bsd | 380 os=-bsd |
385 ;; | 381 ;; |
386 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) | 382 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
387 basic_machine=m68000-att | 383 basic_machine=m68000-att |
388 ;; | 384 ;; |
389 3b*) | 385 3b*) |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 os=-bsd | 436 os=-bsd |
441 ;; | 437 ;; |
442 aux) | 438 aux) |
443 basic_machine=m68k-apple | 439 basic_machine=m68k-apple |
444 os=-aux | 440 os=-aux |
445 ;; | 441 ;; |
446 balance) | 442 balance) |
447 basic_machine=ns32k-sequent | 443 basic_machine=ns32k-sequent |
448 os=-dynix | 444 os=-dynix |
449 ;; | 445 ;; |
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 ;; | |
458 c90) | 446 c90) |
459 basic_machine=c90-cray | 447 basic_machine=c90-cray |
460 os=-unicos | 448 os=-unicos |
461 ;; | 449 ;; |
462 convex-c1) | 450 convex-c1) |
463 basic_machine=c1-convex | 451 basic_machine=c1-convex |
464 os=-bsd | 452 os=-bsd |
465 ;; | 453 ;; |
466 convex-c2) | 454 convex-c2) |
467 basic_machine=c2-convex | 455 basic_machine=c2-convex |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 ;; | 661 ;; |
674 *) | 662 *) |
675 os=-irix4 | 663 os=-irix4 |
676 ;; | 664 ;; |
677 esac | 665 esac |
678 ;; | 666 ;; |
679 isi68 | isi) | 667 isi68 | isi) |
680 basic_machine=m68k-isi | 668 basic_machine=m68k-isi |
681 os=-sysv | 669 os=-sysv |
682 ;; | 670 ;; |
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 ;; | |
691 m88k-omron*) | 671 m88k-omron*) |
692 basic_machine=m88k-omron | 672 basic_machine=m88k-omron |
693 ;; | 673 ;; |
694 magnum | m3230) | 674 magnum | m3230) |
695 basic_machine=mips-mips | 675 basic_machine=mips-mips |
696 os=-sysv | 676 os=-sysv |
697 ;; | 677 ;; |
698 merlin) | 678 merlin) |
699 basic_machine=ns32k-utek | 679 basic_machine=ns32k-utek |
700 os=-sysv | 680 os=-sysv |
701 ;; | 681 ;; |
702 mingw32) | 682 mingw32) |
703 basic_machine=i386-pc | 683 basic_machine=i386-pc |
704 os=-mingw32 | 684 os=-mingw32 |
705 ;; | 685 ;; |
706 mingw32ce) | 686 mingw32ce) |
707 basic_machine=arm-unknown | 687 basic_machine=arm-unknown |
708 os=-mingw32ce | 688 os=-mingw32ce |
709 ;; | 689 ;; |
710 miniframe) | 690 miniframe) |
711 basic_machine=m68000-convergent | 691 basic_machine=m68000-convergent |
712 ;; | 692 ;; |
713 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) | 693 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) |
714 basic_machine=m68k-atari | 694 basic_machine=m68k-atari |
715 os=-mint | 695 os=-mint |
716 ;; | 696 ;; |
| 697 mipsEE* | ee | ps2) |
| 698 basic_machine=mips64r5900el-scei |
| 699 case $os in |
| 700 -linux*) |
| 701 ;; |
| 702 *) |
| 703 os=-elf |
| 704 ;; |
| 705 esac |
| 706 ;; |
| 707 iop) |
| 708 basic_machine=mipsel-scei |
| 709 os=-irx |
| 710 ;; |
| 711 dvp) |
| 712 basic_machine=dvp-scei |
| 713 os=-elf |
| 714 ;; |
717 mips3*-*) | 715 mips3*-*) |
718 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | 716 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
719 ;; | 717 ;; |
720 mips3*) | 718 mips3*) |
721 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-u
nknown | 719 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-u
nknown |
722 ;; | 720 ;; |
723 monitor) | 721 monitor) |
724 basic_machine=m68k-rom68k | 722 basic_machine=m68k-rom68k |
725 os=-coff | 723 os=-coff |
726 ;; | 724 ;; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 os=-os68k | 824 os=-os68k |
827 ;; | 825 ;; |
828 pa-hitachi) | 826 pa-hitachi) |
829 basic_machine=hppa1.1-hitachi | 827 basic_machine=hppa1.1-hitachi |
830 os=-hiuxwe2 | 828 os=-hiuxwe2 |
831 ;; | 829 ;; |
832 paragon) | 830 paragon) |
833 basic_machine=i860-intel | 831 basic_machine=i860-intel |
834 os=-osf | 832 os=-osf |
835 ;; | 833 ;; |
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 ;; | |
844 pbd) | 834 pbd) |
845 basic_machine=sparc-tti | 835 basic_machine=sparc-tti |
846 ;; | 836 ;; |
847 pbb) | 837 pbb) |
848 basic_machine=m68k-tti | 838 basic_machine=m68k-tti |
849 ;; | 839 ;; |
850 pc532 | pc532-*) | 840 pc532 | pc532-*) |
851 basic_machine=ns32k-pc532 | 841 basic_machine=ns32k-pc532 |
852 ;; | 842 ;; |
853 pc98) | 843 pc98) |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 os=-coff | 1032 os=-coff |
1043 ;; | 1033 ;; |
1044 tic55x | c55x*) | 1034 tic55x | c55x*) |
1045 basic_machine=tic55x-unknown | 1035 basic_machine=tic55x-unknown |
1046 os=-coff | 1036 os=-coff |
1047 ;; | 1037 ;; |
1048 tic6x | c6x*) | 1038 tic6x | c6x*) |
1049 basic_machine=tic6x-unknown | 1039 basic_machine=tic6x-unknown |
1050 os=-coff | 1040 os=-coff |
1051 ;; | 1041 ;; |
1052 tile*) | |
1053 basic_machine=tile-unknown | |
1054 os=-linux-gnu | |
1055 ;; | |
1056 tx39) | 1042 tx39) |
1057 basic_machine=mipstx39-unknown | 1043 basic_machine=mipstx39-unknown |
1058 ;; | 1044 ;; |
1059 tx39el) | 1045 tx39el) |
1060 basic_machine=mipstx39el-unknown | 1046 basic_machine=mipstx39el-unknown |
1061 ;; | 1047 ;; |
1062 toad1) | 1048 toad1) |
1063 basic_machine=pdp10-xkl | 1049 basic_machine=pdp10-xkl |
1064 os=-tops20 | 1050 os=-tops20 |
1065 ;; | 1051 ;; |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1251 | -chorusos* | -chorusrdb* \ | 1237 | -chorusos* | -chorusrdb* \ |
1252 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1238 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1253 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | 1239 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ |
1254 | -uxpv* | -beos* | -mpeix* | -udk* \ | 1240 | -uxpv* | -beos* | -mpeix* | -udk* \ |
1255 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | 1241 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1256 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1242 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1257 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1243 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1258 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1244 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1259 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1245 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1260 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | 1246 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1261 » | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) | 1247 » | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*) |
1262 # Remember, each alternative MUST END IN *, to match a version number. | 1248 # Remember, each alternative MUST END IN *, to match a version number. |
1263 ;; | 1249 ;; |
1264 -qnx*) | 1250 -qnx*) |
1265 case $basic_machine in | 1251 case $basic_machine in |
1266 x86-* | i*86-*) | 1252 x86-* | i*86-*) |
1267 ;; | 1253 ;; |
1268 *) | 1254 *) |
1269 os=-nto$os | 1255 os=-nto$os |
1270 ;; | 1256 ;; |
1271 esac | 1257 esac |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1649 | 1635 |
1650 echo $basic_machine$os | 1636 echo $basic_machine$os |
1651 exit | 1637 exit |
1652 | 1638 |
1653 # Local variables: | 1639 # Local variables: |
1654 # eval: (add-hook 'write-file-hooks 'time-stamp) | 1640 # eval: (add-hook 'write-file-hooks 'time-stamp) |
1655 # time-stamp-start: "timestamp='" | 1641 # time-stamp-start: "timestamp='" |
1656 # time-stamp-format: "%:y-%02m-%02d" | 1642 # time-stamp-format: "%:y-%02m-%02d" |
1657 # time-stamp-end: "'" | 1643 # time-stamp-end: "'" |
1658 # End: | 1644 # End: |
OLD | NEW |