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 Free Software Foundation, Inc. |
5 |
|
|
6 |
timestamp='2002-09-05' |
timestamp='2003-01-03' |
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 |
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* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) |
nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) |
122 |
os=-$maybe_os |
os=-$maybe_os |
123 |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
124 |
;; |
;; |
245 |
| mips64vr4300 | mips64vr4300el \ |
| mips64vr4300 | mips64vr4300el \ |
246 |
| mips64vr5000 | mips64vr5000el \ |
| mips64vr5000 | mips64vr5000el \ |
247 |
| mipsisa32 | mipsisa32el \ |
| mipsisa32 | mipsisa32el \ |
248 |
|
| mipsisa32r2 | mipsisa32r2el \ |
249 |
| mipsisa64 | mipsisa64el \ |
| mipsisa64 | mipsisa64el \ |
250 |
| mipsisa64sb1 | mipsisa64sb1el \ |
| mipsisa64sb1 | mipsisa64sb1el \ |
251 |
| mipsisa64sr71k | mipsisa64sr71kel \ |
| mipsisa64sr71k | mipsisa64sr71kel \ |
252 |
| mipstx39 | mipstx39el \ |
| mipstx39 | mipstx39el \ |
253 |
| mn10200 | mn10300 \ |
| mn10200 | mn10300 \ |
254 |
|
| msp430 \ |
255 |
| ns16k | ns32k \ |
| ns16k | ns32k \ |
256 |
| openrisc | or32 \ |
| openrisc | or32 \ |
257 |
| pdp10 | pdp11 | pj | pjl \ |
| pdp10 | pdp11 | pj | pjl \ |
317 |
| mips64vr4300-* | mips64vr4300el-* \ |
| mips64vr4300-* | mips64vr4300el-* \ |
318 |
| mips64vr5000-* | mips64vr5000el-* \ |
| mips64vr5000-* | mips64vr5000el-* \ |
319 |
| mipsisa32-* | mipsisa32el-* \ |
| mipsisa32-* | mipsisa32el-* \ |
320 |
|
| mipsisa32r2-* | mipsisa32r2el-* \ |
321 |
| mipsisa64-* | mipsisa64el-* \ |
| mipsisa64-* | mipsisa64el-* \ |
322 |
| mipsisa64sb1-* | mipsisa64sb1el-* \ |
| mipsisa64sb1-* | mipsisa64sb1el-* \ |
323 |
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
324 |
| mipstx39 | mipstx39el \ |
| mipstx39-* | mipstx39el-* \ |
325 |
| none-* | np1-* | ns16k-* | ns32k-* \ |
| msp430-* \ |
326 |
|
| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ |
327 |
| orion-* \ |
| orion-* \ |
328 |
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
329 |
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
720 |
np1) |
np1) |
721 |
basic_machine=np1-gould |
basic_machine=np1-gould |
722 |
;; |
;; |
723 |
|
nv1) |
724 |
|
basic_machine=nv1-cray |
725 |
|
os=-unicosmp |
726 |
|
;; |
727 |
nsr-tandem) |
nsr-tandem) |
728 |
basic_machine=nsr-tandem |
basic_machine=nsr-tandem |
729 |
;; |
;; |
909 |
basic_machine=i386-sequent |
basic_machine=i386-sequent |
910 |
os=-dynix |
os=-dynix |
911 |
;; |
;; |
|
t3d) |
|
|
basic_machine=alpha-cray |
|
|
os=-unicos |
|
|
;; |
|
912 |
t3e) |
t3e) |
913 |
basic_machine=alphaev5-cray |
basic_machine=alphaev5-cray |
914 |
os=-unicos |
os=-unicos |
981 |
basic_machine=hppa1.1-winbond |
basic_machine=hppa1.1-winbond |
982 |
os=-proelf |
os=-proelf |
983 |
;; |
;; |
|
windows32) |
|
|
basic_machine=i386-pc |
|
|
os=-windows32-msvcrt |
|
|
;; |
|
984 |
xps | xps100) |
xps | xps100) |
985 |
basic_machine=xps100-honeywell |
basic_machine=xps100-honeywell |
986 |
;; |
;; |
1113 |
| -chorusos* | -chorusrdb* \ |
| -chorusos* | -chorusrdb* \ |
1114 |
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1115 |
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ |
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ |
1116 |
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ |
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1117 |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1118 |
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1119 |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1120 |
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*) |
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1121 |
|
| -powermax* | -dnix* | -microbsd*) |
1122 |
# Remember, each alternative MUST END IN *, to match a version number. |
# Remember, each alternative MUST END IN *, to match a version number. |
1123 |
;; |
;; |
1124 |
-qnx*) |
-qnx*) |
1130 |
;; |
;; |
1131 |
esac |
esac |
1132 |
;; |
;; |
1133 |
|
-nto-qnx*) |
1134 |
|
;; |
1135 |
-nto*) |
-nto*) |
1136 |
os=-nto-qnx |
os=`echo $os | sed -e 's|nto|nto-qnx|'` |
1137 |
;; |
;; |
1138 |
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ |
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ |
1139 |
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \ |
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \ |