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 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-04-29' | 7 timestamp='2008-01-16' |
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, 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=" |
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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ;; |
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 |
380 os=-bsd | 384 os=-bsd |
381 ;; | 385 ;; |
382 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) | 386 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
383 basic_machine=m68000-att | 387 basic_machine=m68000-att |
384 ;; | 388 ;; |
385 3b*) | 389 3b*) |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 os=-bsd | 440 os=-bsd |
437 ;; | 441 ;; |
438 aux) | 442 aux) |
439 basic_machine=m68k-apple | 443 basic_machine=m68k-apple |
440 os=-aux | 444 os=-aux |
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) |
451 basic_machine=c1-convex | 463 basic_machine=c1-convex |
452 os=-bsd | 464 os=-bsd |
453 ;; | 465 ;; |
454 convex-c2) | 466 convex-c2) |
455 basic_machine=c2-convex | 467 basic_machine=c2-convex |
(...skipping 12 matching lines...) Expand all Loading... |
468 os=-bsd | 480 os=-bsd |
469 ;; | 481 ;; |
470 cray | j90) | 482 cray | j90) |
471 basic_machine=j90-cray | 483 basic_machine=j90-cray |
472 os=-unicos | 484 os=-unicos |
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 ;; |
485 crisv32 | crisv32-* | etraxfs*) | 497 crisv32 | crisv32-* | etraxfs*) |
486 basic_machine=crisv32-axis | 498 basic_machine=crisv32-axis |
487 ;; | 499 ;; |
488 cris | cris-* | etrax*) | 500 cris | cris-* | etrax*) |
489 basic_machine=cris-axis | 501 basic_machine=cris-axis |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 ;; | 673 ;; |
662 *) | 674 *) |
663 os=-irix4 | 675 os=-irix4 |
664 ;; | 676 ;; |
665 esac | 677 esac |
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 |
676 os=-sysv | 696 os=-sysv |
677 ;; | 697 ;; |
678 merlin) | 698 merlin) |
679 basic_machine=ns32k-utek | 699 basic_machine=ns32k-utek |
680 os=-sysv | 700 os=-sysv |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 os=-os68k | 826 os=-os68k |
807 ;; | 827 ;; |
808 pa-hitachi) | 828 pa-hitachi) |
809 basic_machine=hppa1.1-hitachi | 829 basic_machine=hppa1.1-hitachi |
810 os=-hiuxwe2 | 830 os=-hiuxwe2 |
811 ;; | 831 ;; |
812 paragon) | 832 paragon) |
813 basic_machine=i860-intel | 833 basic_machine=i860-intel |
814 os=-osf | 834 os=-osf |
815 ;; | 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 ;; |
816 pbd) | 844 pbd) |
817 basic_machine=sparc-tti | 845 basic_machine=sparc-tti |
818 ;; | 846 ;; |
819 pbb) | 847 pbb) |
820 basic_machine=m68k-tti | 848 basic_machine=m68k-tti |
821 ;; | 849 ;; |
822 pc532 | pc532-*) | 850 pc532 | pc532-*) |
823 basic_machine=ns32k-pc532 | 851 basic_machine=ns32k-pc532 |
824 ;; | 852 ;; |
825 pc98) | 853 pc98) |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 os=-coff | 1042 os=-coff |
1015 ;; | 1043 ;; |
1016 tic55x | c55x*) | 1044 tic55x | c55x*) |
1017 basic_machine=tic55x-unknown | 1045 basic_machine=tic55x-unknown |
1018 os=-coff | 1046 os=-coff |
1019 ;; | 1047 ;; |
1020 tic6x | c6x*) | 1048 tic6x | c6x*) |
1021 basic_machine=tic6x-unknown | 1049 basic_machine=tic6x-unknown |
1022 os=-coff | 1050 os=-coff |
1023 ;; | 1051 ;; |
| 1052 tile*) |
| 1053 basic_machine=tile-unknown |
| 1054 os=-linux-gnu |
| 1055 ;; |
1024 tx39) | 1056 tx39) |
1025 basic_machine=mipstx39-unknown | 1057 basic_machine=mipstx39-unknown |
1026 ;; | 1058 ;; |
1027 tx39el) | 1059 tx39el) |
1028 basic_machine=mipstx39el-unknown | 1060 basic_machine=mipstx39el-unknown |
1029 ;; | 1061 ;; |
1030 toad1) | 1062 toad1) |
1031 basic_machine=pdp10-xkl | 1063 basic_machine=pdp10-xkl |
1032 os=-tops20 | 1064 os=-tops20 |
1033 ;; | 1065 ;; |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1617 | 1649 |
1618 echo $basic_machine$os | 1650 echo $basic_machine$os |
1619 exit | 1651 exit |
1620 | 1652 |
1621 # Local variables: | 1653 # Local variables: |
1622 # eval: (add-hook 'write-file-hooks 'time-stamp) | 1654 # eval: (add-hook 'write-file-hooks 'time-stamp) |
1623 # time-stamp-start: "timestamp='" | 1655 # time-stamp-start: "timestamp='" |
1624 # time-stamp-format: "%:y-%02m-%02d" | 1656 # time-stamp-format: "%:y-%02m-%02d" |
1625 # time-stamp-end: "'" | 1657 # time-stamp-end: "'" |
1626 # End: | 1658 # End: |
OLD | NEW |