1 |
#! /bin/sh |
#! /bin/sh |
2 |
# Configuration validation subroutine script. |
# Configuration validation subroutine script. |
3 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 |
# 2000, 2001, 2002 Free Software Foundation, Inc. |
# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. |
5 |
|
|
6 |
timestamp='2002-11-30' |
timestamp='2004-06-24' |
7 |
|
|
8 |
# This file is (in principle) common to ALL GNU software. |
# This file is (in principle) common to ALL GNU software. |
9 |
# The presence of a machine in this file suggests that SOME GNU software |
# The presence of a machine in this file suggests that SOME GNU software |
70 |
version="\ |
version="\ |
71 |
GNU config.sub ($timestamp) |
GNU config.sub ($timestamp) |
72 |
|
|
73 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 |
74 |
Free Software Foundation, Inc. |
Free Software Foundation, Inc. |
75 |
|
|
76 |
This is free software; see the source for copying conditions. There is NO |
This is free software; see the source for copying conditions. There is NO |
118 |
# Here we must recognize all the valid KERNEL-OS combinations. |
# Here we must recognize all the valid KERNEL-OS combinations. |
119 |
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
120 |
case $maybe_os in |
case $maybe_os in |
121 |
nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) |
nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ |
122 |
|
kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) |
123 |
os=-$maybe_os |
os=-$maybe_os |
124 |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
125 |
;; |
;; |
145 |
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
146 |
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
147 |
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
148 |
-apple | -axis) |
-apple | -axis | -knuth | -cray) |
149 |
os= |
os= |
150 |
basic_machine=$1 |
basic_machine=$1 |
151 |
;; |
;; |
229 |
| a29k \ |
| a29k \ |
230 |
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
231 |
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
232 |
|
| am33_2.0 \ |
233 |
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ |
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ |
234 |
| clipper \ |
| c4x | clipper \ |
235 |
| d10v | d30v | dlx | dsp16xx \ |
| d10v | d30v | dlx | dsp16xx \ |
236 |
| fr30 | frv \ |
| fr30 | frv \ |
237 |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
238 |
| i370 | i860 | i960 | ia64 \ |
| i370 | i860 | i960 | ia64 \ |
239 |
| ip2k \ |
| ip2k | iq2000 \ |
240 |
| m32r | m68000 | m68k | m88k | mcore \ |
| m32r | m32rle | m68000 | m68k | m88k | mcore \ |
241 |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
242 |
| mips16 \ |
| mips16 \ |
243 |
| mips64 | mips64el \ |
| mips64 | mips64el \ |
247 |
| mips64vr4300 | mips64vr4300el \ |
| mips64vr4300 | mips64vr4300el \ |
248 |
| mips64vr5000 | mips64vr5000el \ |
| mips64vr5000 | mips64vr5000el \ |
249 |
| mipsisa32 | mipsisa32el \ |
| mipsisa32 | mipsisa32el \ |
250 |
|
| mipsisa32r2 | mipsisa32r2el \ |
251 |
| mipsisa64 | mipsisa64el \ |
| mipsisa64 | mipsisa64el \ |
252 |
|
| mipsisa64r2 | mipsisa64r2el \ |
253 |
| mipsisa64sb1 | mipsisa64sb1el \ |
| mipsisa64sb1 | mipsisa64sb1el \ |
254 |
| mipsisa64sr71k | mipsisa64sr71kel \ |
| mipsisa64sr71k | mipsisa64sr71kel \ |
255 |
| mipstx39 | mipstx39el \ |
| mipstx39 | mipstx39el \ |
256 |
| mn10200 | mn10300 \ |
| mn10200 | mn10300 \ |
257 |
|
| msp430 \ |
258 |
| ns16k | ns32k \ |
| ns16k | ns32k \ |
259 |
| openrisc | or32 \ |
| openrisc | or32 \ |
260 |
| pdp10 | pdp11 | pj | pjl \ |
| pdp10 | pdp11 | pj | pjl \ |
261 |
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
262 |
| pyramid \ |
| pyramid \ |
263 |
| sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ |
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ |
264 |
| sh64 | sh64le \ |
| sh64 | sh64le \ |
265 |
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ |
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ |
266 |
| strongarm \ |
| strongarm \ |
267 |
| tahoe | thumb | tic80 | tron \ |
| tahoe | thumb | tic4x | tic80 | tron \ |
268 |
| v850 | v850e \ |
| v850 | v850e \ |
269 |
| we32k \ |
| we32k \ |
270 |
| x86 | xscale | xstormy16 | xtensa \ |
| x86 | xscale | xstormy16 | xtensa \ |
299 |
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
300 |
| avr-* \ |
| avr-* \ |
301 |
| bs2000-* \ |
| bs2000-* \ |
302 |
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \ |
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
303 |
| clipper-* | cydra-* \ |
| clipper-* | craynv-* | cydra-* \ |
304 |
| d10v-* | d30v-* | dlx-* \ |
| d10v-* | d30v-* | dlx-* \ |
305 |
| elxsi-* \ |
| elxsi-* \ |
306 |
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ |
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ |
307 |
| h8300-* | h8500-* \ |
| h8300-* | h8500-* \ |
308 |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
309 |
| i*86-* | i860-* | i960-* | ia64-* \ |
| i*86-* | i860-* | i960-* | ia64-* \ |
310 |
| ip2k-* \ |
| ip2k-* | iq2000-* \ |
311 |
| m32r-* \ |
| m32r-* | m32rle-* \ |
312 |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
313 |
| m88110-* | m88k-* | mcore-* \ |
| m88110-* | m88k-* | mcore-* \ |
314 |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
320 |
| mips64vr4300-* | mips64vr4300el-* \ |
| mips64vr4300-* | mips64vr4300el-* \ |
321 |
| mips64vr5000-* | mips64vr5000el-* \ |
| mips64vr5000-* | mips64vr5000el-* \ |
322 |
| mipsisa32-* | mipsisa32el-* \ |
| mipsisa32-* | mipsisa32el-* \ |
323 |
|
| mipsisa32r2-* | mipsisa32r2el-* \ |
324 |
| mipsisa64-* | mipsisa64el-* \ |
| mipsisa64-* | mipsisa64el-* \ |
325 |
|
| mipsisa64r2-* | mipsisa64r2el-* \ |
326 |
| mipsisa64sb1-* | mipsisa64sb1el-* \ |
| mipsisa64sb1-* | mipsisa64sb1el-* \ |
327 |
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
328 |
| mipstx39 | mipstx39el \ |
| mipstx39-* | mipstx39el-* \ |
329 |
|
| mmix-* \ |
330 |
|
| msp430-* \ |
331 |
| none-* | np1-* | ns16k-* | ns32k-* \ |
| none-* | np1-* | ns16k-* | ns32k-* \ |
332 |
| orion-* \ |
| orion-* \ |
333 |
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
334 |
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
335 |
| pyramid-* \ |
| pyramid-* \ |
336 |
| romp-* | rs6000-* \ |
| romp-* | rs6000-* \ |
337 |
| sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \ |
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ |
338 |
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
339 |
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ |
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ |
340 |
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ |
| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ |
341 |
| tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \ |
| tahoe-* | thumb-* \ |
342 |
|
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
343 |
|
| tron-* \ |
344 |
| v850-* | v850e-* | vax-* \ |
| v850-* | v850e-* | vax-* \ |
345 |
| we32k-* \ |
| we32k-* \ |
346 |
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ |
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ |
364 |
basic_machine=a29k-amd |
basic_machine=a29k-amd |
365 |
os=-udi |
os=-udi |
366 |
;; |
;; |
367 |
|
abacus) |
368 |
|
basic_machine=abacus-unknown |
369 |
|
;; |
370 |
adobe68k) |
adobe68k) |
371 |
basic_machine=m68010-adobe |
basic_machine=m68010-adobe |
372 |
os=-scout |
os=-scout |
381 |
basic_machine=a29k-none |
basic_machine=a29k-none |
382 |
os=-bsd |
os=-bsd |
383 |
;; |
;; |
384 |
|
amd64) |
385 |
|
basic_machine=x86_64-pc |
386 |
|
;; |
387 |
|
amd64-*) |
388 |
|
basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` |
389 |
|
;; |
390 |
amdahl) |
amdahl) |
391 |
basic_machine=580-amdahl |
basic_machine=580-amdahl |
392 |
os=-sysv |
os=-sysv |
446 |
basic_machine=j90-cray |
basic_machine=j90-cray |
447 |
os=-unicos |
os=-unicos |
448 |
;; |
;; |
449 |
|
craynv) |
450 |
|
basic_machine=craynv-cray |
451 |
|
os=-unicosmp |
452 |
|
;; |
453 |
|
cr16c) |
454 |
|
basic_machine=cr16c-unknown |
455 |
|
os=-elf |
456 |
|
;; |
457 |
crds | unos) |
crds | unos) |
458 |
basic_machine=m68k-crds |
basic_machine=m68k-crds |
459 |
;; |
;; |
460 |
cris | cris-* | etrax*) |
cris | cris-* | etrax*) |
461 |
basic_machine=cris-axis |
basic_machine=cris-axis |
462 |
;; |
;; |
463 |
|
crx) |
464 |
|
basic_machine=crx-unknown |
465 |
|
os=-elf |
466 |
|
;; |
467 |
da30 | da30-*) |
da30 | da30-*) |
468 |
basic_machine=m68k-da30 |
basic_machine=m68k-da30 |
469 |
;; |
;; |
664 |
mips3*) |
mips3*) |
665 |
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown |
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown |
666 |
;; |
;; |
|
mmix*) |
|
|
basic_machine=mmix-knuth |
|
|
os=-mmixware |
|
|
;; |
|
667 |
monitor) |
monitor) |
668 |
basic_machine=m68k-rom68k |
basic_machine=m68k-rom68k |
669 |
os=-coff |
os=-coff |
755 |
basic_machine=or32-unknown |
basic_machine=or32-unknown |
756 |
os=-coff |
os=-coff |
757 |
;; |
;; |
758 |
|
os400) |
759 |
|
basic_machine=powerpc-ibm |
760 |
|
os=-os400 |
761 |
|
;; |
762 |
OSE68000 | ose68000) |
OSE68000 | ose68000) |
763 |
basic_machine=m68000-ericsson |
basic_machine=m68000-ericsson |
764 |
os=-ose |
os=-ose |
790 |
pentiumpro | p6 | 6x86 | athlon | athlon_*) |
pentiumpro | p6 | 6x86 | athlon | athlon_*) |
791 |
basic_machine=i686-pc |
basic_machine=i686-pc |
792 |
;; |
;; |
793 |
pentiumii | pentium2) |
pentiumii | pentium2 | pentiumiii | pentium3) |
794 |
basic_machine=i686-pc |
basic_machine=i686-pc |
795 |
;; |
;; |
796 |
|
pentium4) |
797 |
|
basic_machine=i786-pc |
798 |
|
;; |
799 |
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) |
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) |
800 |
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` |
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` |
801 |
;; |
;; |
802 |
pentiumpro-* | p6-* | 6x86-* | athlon-*) |
pentiumpro-* | p6-* | 6x86-* | athlon-*) |
803 |
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
804 |
;; |
;; |
805 |
pentiumii-* | pentium2-*) |
pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) |
806 |
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
807 |
;; |
;; |
808 |
|
pentium4-*) |
809 |
|
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` |
810 |
|
;; |
811 |
pn) |
pn) |
812 |
basic_machine=pn-gould |
basic_machine=pn-gould |
813 |
;; |
;; |
866 |
sb1el) |
sb1el) |
867 |
basic_machine=mipsisa64sb1el-unknown |
basic_machine=mipsisa64sb1el-unknown |
868 |
;; |
;; |
869 |
|
sei) |
870 |
|
basic_machine=mips-sei |
871 |
|
os=-seiux |
872 |
|
;; |
873 |
sequent) |
sequent) |
874 |
basic_machine=i386-sequent |
basic_machine=i386-sequent |
875 |
;; |
;; |
877 |
basic_machine=sh-hitachi |
basic_machine=sh-hitachi |
878 |
os=-hms |
os=-hms |
879 |
;; |
;; |
880 |
|
sh64) |
881 |
|
basic_machine=sh64-unknown |
882 |
|
;; |
883 |
sparclite-wrs | simso-wrs) |
sparclite-wrs | simso-wrs) |
884 |
basic_machine=sparclite-wrs |
basic_machine=sparclite-wrs |
885 |
os=-vxworks |
os=-vxworks |
946 |
basic_machine=i386-sequent |
basic_machine=i386-sequent |
947 |
os=-dynix |
os=-dynix |
948 |
;; |
;; |
|
t3d) |
|
|
basic_machine=alpha-cray |
|
|
os=-unicos |
|
|
;; |
|
949 |
t3e) |
t3e) |
950 |
basic_machine=alphaev5-cray |
basic_machine=alphaev5-cray |
951 |
os=-unicos |
os=-unicos |
954 |
basic_machine=t90-cray |
basic_machine=t90-cray |
955 |
os=-unicos |
os=-unicos |
956 |
;; |
;; |
|
tic4x | c4x*) |
|
|
basic_machine=tic4x-unknown |
|
|
os=-coff |
|
|
;; |
|
957 |
tic54x | c54x*) |
tic54x | c54x*) |
958 |
basic_machine=tic54x-unknown |
basic_machine=tic54x-unknown |
959 |
os=-coff |
os=-coff |
960 |
;; |
;; |
961 |
|
tic55x | c55x*) |
962 |
|
basic_machine=tic55x-unknown |
963 |
|
os=-coff |
964 |
|
;; |
965 |
|
tic6x | c6x*) |
966 |
|
basic_machine=tic6x-unknown |
967 |
|
os=-coff |
968 |
|
;; |
969 |
tx39) |
tx39) |
970 |
basic_machine=mipstx39-unknown |
basic_machine=mipstx39-unknown |
971 |
;; |
;; |
979 |
tower | tower-32) |
tower | tower-32) |
980 |
basic_machine=m68k-ncr |
basic_machine=m68k-ncr |
981 |
;; |
;; |
982 |
|
tpf) |
983 |
|
basic_machine=s390x-ibm |
984 |
|
os=-tpf |
985 |
|
;; |
986 |
udi29k) |
udi29k) |
987 |
basic_machine=a29k-amd |
basic_machine=a29k-amd |
988 |
os=-udi |
os=-udi |
1056 |
romp) |
romp) |
1057 |
basic_machine=romp-ibm |
basic_machine=romp-ibm |
1058 |
;; |
;; |
1059 |
|
mmix) |
1060 |
|
basic_machine=mmix-knuth |
1061 |
|
;; |
1062 |
rs6000) |
rs6000) |
1063 |
basic_machine=rs6000-ibm |
basic_machine=rs6000-ibm |
1064 |
;; |
;; |
1075 |
we32k) |
we32k) |
1076 |
basic_machine=we32k-att |
basic_machine=we32k-att |
1077 |
;; |
;; |
1078 |
sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele) |
sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) |
1079 |
basic_machine=sh-unknown |
basic_machine=sh-unknown |
1080 |
;; |
;; |
1081 |
sh64) |
sh64) |
1082 |
basic_machine=sh64-unknown |
basic_machine=sh64-unknown |
1083 |
;; |
;; |
1084 |
sparc | sparcv9 | sparcv9b) |
sparc | sparcv8 | sparcv9 | sparcv9b) |
1085 |
basic_machine=sparc-sun |
basic_machine=sparc-sun |
1086 |
;; |
;; |
1087 |
cydra) |
cydra) |
1154 |
| -aos* \ |
| -aos* \ |
1155 |
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1156 |
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1157 |
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ |
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ |
1158 |
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1159 |
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1160 |
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1161 |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1162 |
| -chorusos* | -chorusrdb* \ |
| -chorusos* | -chorusrdb* \ |
1163 |
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1164 |
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ |
| -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ |
1165 |
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1166 |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1167 |
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1168 |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1169 |
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1170 |
| -powermax* | -dnix*) |
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) |
1171 |
# Remember, each alternative MUST END IN *, to match a version number. |
# Remember, each alternative MUST END IN *, to match a version number. |
1172 |
;; |
;; |
1173 |
-qnx*) |
-qnx*) |
1191 |
-mac*) |
-mac*) |
1192 |
os=`echo $os | sed -e 's|mac|macos|'` |
os=`echo $os | sed -e 's|mac|macos|'` |
1193 |
;; |
;; |
1194 |
|
-linux-dietlibc) |
1195 |
|
os=-linux-dietlibc |
1196 |
|
;; |
1197 |
-linux*) |
-linux*) |
1198 |
os=`echo $os | sed -e 's|linux|linux-gnu|'` |
os=`echo $os | sed -e 's|linux|linux-gnu|'` |
1199 |
;; |
;; |
1206 |
-opened*) |
-opened*) |
1207 |
os=-openedition |
os=-openedition |
1208 |
;; |
;; |
1209 |
|
-os400*) |
1210 |
|
os=-os400 |
1211 |
|
;; |
1212 |
-wince*) |
-wince*) |
1213 |
os=-wince |
os=-wince |
1214 |
;; |
;; |
1230 |
-atheos*) |
-atheos*) |
1231 |
os=-atheos |
os=-atheos |
1232 |
;; |
;; |
1233 |
|
-syllable*) |
1234 |
|
os=-syllable |
1235 |
|
;; |
1236 |
-386bsd) |
-386bsd) |
1237 |
os=-bsd |
os=-bsd |
1238 |
;; |
;; |
1255 |
-sinix*) |
-sinix*) |
1256 |
os=-sysv4 |
os=-sysv4 |
1257 |
;; |
;; |
1258 |
|
-tpf*) |
1259 |
|
os=-tpf |
1260 |
|
;; |
1261 |
-triton*) |
-triton*) |
1262 |
os=-sysv3 |
os=-sysv3 |
1263 |
;; |
;; |
1288 |
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1289 |
os=-mint |
os=-mint |
1290 |
;; |
;; |
1291 |
|
-aros*) |
1292 |
|
os=-aros |
1293 |
|
;; |
1294 |
|
-kaos*) |
1295 |
|
os=-kaos |
1296 |
|
;; |
1297 |
-none) |
-none) |
1298 |
;; |
;; |
1299 |
*) |
*) |
1325 |
arm*-semi) |
arm*-semi) |
1326 |
os=-aout |
os=-aout |
1327 |
;; |
;; |
1328 |
|
c4x-* | tic4x-*) |
1329 |
|
os=-coff |
1330 |
|
;; |
1331 |
# This must come before the *-dec entry. |
# This must come before the *-dec entry. |
1332 |
pdp10-*) |
pdp10-*) |
1333 |
os=-tops20 |
os=-tops20 |
1374 |
*-ibm) |
*-ibm) |
1375 |
os=-aix |
os=-aix |
1376 |
;; |
;; |
1377 |
|
*-knuth) |
1378 |
|
os=-mmixware |
1379 |
|
;; |
1380 |
*-wec) |
*-wec) |
1381 |
os=-proelf |
os=-proelf |
1382 |
;; |
;; |
1509 |
-mvs* | -opened*) |
-mvs* | -opened*) |
1510 |
vendor=ibm |
vendor=ibm |
1511 |
;; |
;; |
1512 |
|
-os400*) |
1513 |
|
vendor=ibm |
1514 |
|
;; |
1515 |
-ptx*) |
-ptx*) |
1516 |
vendor=sequent |
vendor=sequent |
1517 |
;; |
;; |
1518 |
|
-tpf*) |
1519 |
|
vendor=ibm |
1520 |
|
;; |
1521 |
-vxsim* | -vxworks* | -windiss*) |
-vxsim* | -vxworks* | -windiss*) |
1522 |
vendor=wrs |
vendor=wrs |
1523 |
;; |
;; |