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 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 ;; | |
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 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 os=-os68k | 806 os=-os68k |
827 ;; | 807 ;; |
828 pa-hitachi) | 808 pa-hitachi) |
829 basic_machine=hppa1.1-hitachi | 809 basic_machine=hppa1.1-hitachi |
830 os=-hiuxwe2 | 810 os=-hiuxwe2 |
831 ;; | 811 ;; |
832 paragon) | 812 paragon) |
833 basic_machine=i860-intel | 813 basic_machine=i860-intel |
834 os=-osf | 814 os=-osf |
835 ;; | 815 ;; |
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) | 816 pbd) |
845 basic_machine=sparc-tti | 817 basic_machine=sparc-tti |
846 ;; | 818 ;; |
847 pbb) | 819 pbb) |
848 basic_machine=m68k-tti | 820 basic_machine=m68k-tti |
849 ;; | 821 ;; |
850 pc532 | pc532-*) | 822 pc532 | pc532-*) |
851 basic_machine=ns32k-pc532 | 823 basic_machine=ns32k-pc532 |
852 ;; | 824 ;; |
853 pc98) | 825 pc98) |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 os=-coff | 1014 os=-coff |
1043 ;; | 1015 ;; |
1044 tic55x | c55x*) | 1016 tic55x | c55x*) |
1045 basic_machine=tic55x-unknown | 1017 basic_machine=tic55x-unknown |
1046 os=-coff | 1018 os=-coff |
1047 ;; | 1019 ;; |
1048 tic6x | c6x*) | 1020 tic6x | c6x*) |
1049 basic_machine=tic6x-unknown | 1021 basic_machine=tic6x-unknown |
1050 os=-coff | 1022 os=-coff |
1051 ;; | 1023 ;; |
1052 tile*) | |
1053 basic_machine=tile-unknown | |
1054 os=-linux-gnu | |
1055 ;; | |
1056 tx39) | 1024 tx39) |
1057 basic_machine=mipstx39-unknown | 1025 basic_machine=mipstx39-unknown |
1058 ;; | 1026 ;; |
1059 tx39el) | 1027 tx39el) |
1060 basic_machine=mipstx39el-unknown | 1028 basic_machine=mipstx39el-unknown |
1061 ;; | 1029 ;; |
1062 toad1) | 1030 toad1) |
1063 basic_machine=pdp10-xkl | 1031 basic_machine=pdp10-xkl |
1064 os=-tops20 | 1032 os=-tops20 |
1065 ;; | 1033 ;; |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1649 | 1617 |
1650 echo $basic_machine$os | 1618 echo $basic_machine$os |
1651 exit | 1619 exit |
1652 | 1620 |
1653 # Local variables: | 1621 # Local variables: |
1654 # eval: (add-hook 'write-file-hooks 'time-stamp) | 1622 # eval: (add-hook 'write-file-hooks 'time-stamp) |
1655 # time-stamp-start: "timestamp='" | 1623 # time-stamp-start: "timestamp='" |
1656 # time-stamp-format: "%:y-%02m-%02d" | 1624 # time-stamp-format: "%:y-%02m-%02d" |
1657 # time-stamp-end: "'" | 1625 # time-stamp-end: "'" |
1658 # End: | 1626 # End: |
OLD | NEW |