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, 2003, 2004 Free Software Foundation, Inc. |
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
5 |
|
|
6 |
timestamp='2004-06-24' |
timestamp='2005-02-10' |
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, 2002, 2003, 2004 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
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 |
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 | iq2000 \ |
| ip2k | iq2000 \ |
240 |
| m32r | m32rle | m68000 | m68k | m88k | mcore \ |
| m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ |
241 |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
| mips | mipsbe | mipseb | mipsel | mipsle \ |
242 |
| mips16 \ |
| mips16 \ |
243 |
| mips64 | mips64el \ |
| mips64 | mips64el \ |
253 |
| mipsisa64sb1 | mipsisa64sb1el \ |
| mipsisa64sb1 | mipsisa64sb1el \ |
254 |
| mipsisa64sr71k | mipsisa64sr71kel \ |
| mipsisa64sr71k | mipsisa64sr71kel \ |
255 |
| mipstx39 | mipstx39el \ |
| mipstx39 | mipstx39el \ |
256 |
|
| mips64r5900 | mips64r5900el \ |
257 |
| mn10200 | mn10300 \ |
| mn10200 | mn10300 \ |
258 |
| msp430 \ |
| msp430 \ |
259 |
| ns16k | ns32k \ |
| ns16k | ns32k \ |
265 |
| sh64 | sh64le \ |
| sh64 | sh64le \ |
266 |
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ |
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ |
267 |
| strongarm \ |
| strongarm \ |
268 |
| tahoe | thumb | tic4x | tic80 | tron \ |
| tahoe | dvp | thumb | tic4x | tic80 | tron \ |
269 |
| v850 | v850e \ |
| v850 | v850e \ |
270 |
| we32k \ |
| we32k \ |
271 |
| x86 | xscale | xstormy16 | xtensa \ |
| x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ |
272 |
| z8k) |
| z8k) |
273 |
basic_machine=$basic_machine-unknown |
basic_machine=$basic_machine-unknown |
274 |
;; |
;; |
311 |
| ip2k-* | iq2000-* \ |
| ip2k-* | iq2000-* \ |
312 |
| m32r-* | m32rle-* \ |
| m32r-* | m32rle-* \ |
313 |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
314 |
| m88110-* | m88k-* | mcore-* \ |
| m88110-* | m88k-* | maxq-* | mcore-* \ |
315 |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
316 |
| mips16-* \ |
| mips16-* \ |
317 |
| mips64-* | mips64el-* \ |
| mips64-* | mips64el-* \ |
327 |
| mipsisa64sb1-* | mipsisa64sb1el-* \ |
| mipsisa64sb1-* | mipsisa64sb1el-* \ |
328 |
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
329 |
| mipstx39-* | mipstx39el-* \ |
| mipstx39-* | mipstx39el-* \ |
330 |
|
| mips64r5900-* | mips64r5900el-* \ |
331 |
| mmix-* \ |
| mmix-* \ |
332 |
| msp430-* \ |
| msp430-* \ |
333 |
| none-* | np1-* | ns16k-* | ns32k-* \ |
| none-* | np1-* | ns16k-* | ns32k-* \ |
345 |
| tron-* \ |
| tron-* \ |
346 |
| v850-* | v850e-* | vax-* \ |
| v850-* | v850e-* | vax-* \ |
347 |
| we32k-* \ |
| we32k-* \ |
348 |
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ |
| x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ |
349 |
| xtensa-* \ |
| xstormy16-* | xtensa-* \ |
350 |
| ymp-* \ |
| ymp-* \ |
351 |
| z8k-*) |
| z8k-*) |
352 |
;; |
;; |
459 |
crds | unos) |
crds | unos) |
460 |
basic_machine=m68k-crds |
basic_machine=m68k-crds |
461 |
;; |
;; |
462 |
|
crisv32 | crisv32-* | etraxfs*) |
463 |
|
basic_machine=crisv32-axis |
464 |
|
;; |
465 |
cris | cris-* | etrax*) |
cris | cris-* | etrax*) |
466 |
basic_machine=cris-axis |
basic_machine=cris-axis |
467 |
;; |
;; |
491 |
basic_machine=m88k-motorola |
basic_machine=m88k-motorola |
492 |
os=-sysv3 |
os=-sysv3 |
493 |
;; |
;; |
494 |
|
djgpp) |
495 |
|
basic_machine=i586-pc |
496 |
|
os=-msdosdjgpp |
497 |
|
;; |
498 |
dpx20 | dpx20-*) |
dpx20 | dpx20-*) |
499 |
basic_machine=rs6000-bull |
basic_machine=rs6000-bull |
500 |
os=-bosx |
os=-bosx |
667 |
basic_machine=m68k-atari |
basic_machine=m68k-atari |
668 |
os=-mint |
os=-mint |
669 |
;; |
;; |
670 |
|
mipsEE* | ee | ps2) |
671 |
|
basic_machine=mips64r5900el-scei |
672 |
|
case $os in |
673 |
|
-linux*) |
674 |
|
;; |
675 |
|
*) |
676 |
|
os=-elf |
677 |
|
;; |
678 |
|
esac |
679 |
|
;; |
680 |
|
iop) |
681 |
|
basic_machine=mipsel-scei |
682 |
|
os=-irx |
683 |
|
;; |
684 |
|
dvp) |
685 |
|
basic_machine=dvp-scei |
686 |
|
os=-elf |
687 |
|
;; |
688 |
mips3*-*) |
mips3*-*) |
689 |
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
690 |
;; |
;; |
1053 |
basic_machine=hppa1.1-winbond |
basic_machine=hppa1.1-winbond |
1054 |
os=-proelf |
os=-proelf |
1055 |
;; |
;; |
1056 |
|
xbox) |
1057 |
|
basic_machine=i686-pc |
1058 |
|
os=-mingw32 |
1059 |
|
;; |
1060 |
xps | xps100) |
xps | xps100) |
1061 |
basic_machine=xps100-honeywell |
basic_machine=xps100-honeywell |
1062 |
;; |
;; |
1198 |
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1199 |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1200 |
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1201 |
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) |
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -irx*) |
1202 |
# Remember, each alternative MUST END IN *, to match a version number. |
# Remember, each alternative MUST END IN *, to match a version number. |
1203 |
;; |
;; |
1204 |
-qnx*) |
-qnx*) |
1325 |
-kaos*) |
-kaos*) |
1326 |
os=-kaos |
os=-kaos |
1327 |
;; |
;; |
1328 |
|
-zvmoe) |
1329 |
|
os=-zvmoe |
1330 |
|
;; |
1331 |
-none) |
-none) |
1332 |
;; |
;; |
1333 |
*) |
*) |