diff options
Diffstat (limited to 'config.sub')
-rwxr-xr-x | config.sub | 53 |
1 files changed, 36 insertions, 17 deletions
diff --git a/config.sub b/config.sub index d77dd77b4..463186dbf 100755 --- a/config.sub +++ b/config.sub | |||
@@ -3,7 +3,7 @@ | |||
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 Free Software Foundation, Inc. | 4 | # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
5 | 5 | ||
6 | timestamp='2003-10-07' | 6 | timestamp='2004-01-05' |
7 | 7 | ||
8 | # This file is (in principle) common to ALL GNU software. | 8 | # This file is (in principle) common to ALL GNU software. |
9 | # The presence of a machine in this file suggests that SOME GNU software | 9 | # The presence of a machine in this file suggests that SOME GNU software |
@@ -118,7 +118,8 @@ esac | |||
118 | # Here we must recognize all the valid KERNEL-OS combinations. | 118 | # Here we must recognize all the valid KERNEL-OS combinations. |
119 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 119 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
120 | case $maybe_os in | 120 | case $maybe_os in |
121 | nto-qnx* | linux-gnu* | linux-dietlibc | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) | 121 | 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*) | ||
122 | os=-$maybe_os | 123 | os=-$maybe_os |
123 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | 124 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
124 | ;; | 125 | ;; |
@@ -162,10 +163,10 @@ case $os in | |||
162 | os=-chorusos | 163 | os=-chorusos |
163 | basic_machine=$1 | 164 | basic_machine=$1 |
164 | ;; | 165 | ;; |
165 | -chorusrdb) | 166 | -chorusrdb) |
166 | os=-chorusrdb | 167 | os=-chorusrdb |
167 | basic_machine=$1 | 168 | basic_machine=$1 |
168 | ;; | 169 | ;; |
169 | -hiux*) | 170 | -hiux*) |
170 | os=-hiuxwe2 | 171 | os=-hiuxwe2 |
171 | ;; | 172 | ;; |
@@ -379,6 +380,9 @@ case $basic_machine in | |||
379 | amd64) | 380 | amd64) |
380 | basic_machine=x86_64-pc | 381 | basic_machine=x86_64-pc |
381 | ;; | 382 | ;; |
383 | amd64-*) | ||
384 | basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
385 | ;; | ||
382 | amdahl) | 386 | amdahl) |
383 | basic_machine=580-amdahl | 387 | basic_machine=580-amdahl |
384 | os=-sysv | 388 | os=-sysv |
@@ -743,6 +747,10 @@ case $basic_machine in | |||
743 | basic_machine=or32-unknown | 747 | basic_machine=or32-unknown |
744 | os=-coff | 748 | os=-coff |
745 | ;; | 749 | ;; |
750 | os400) | ||
751 | basic_machine=powerpc-ibm | ||
752 | os=-os400 | ||
753 | ;; | ||
746 | OSE68000 | ose68000) | 754 | OSE68000 | ose68000) |
747 | basic_machine=m68000-ericsson | 755 | basic_machine=m68000-ericsson |
748 | os=-ose | 756 | os=-ose |
@@ -926,10 +934,6 @@ case $basic_machine in | |||
926 | basic_machine=sv1-cray | 934 | basic_machine=sv1-cray |
927 | os=-unicos | 935 | os=-unicos |
928 | ;; | 936 | ;; |
929 | sx*-nec) | ||
930 | basic_machine=sx6-nec | ||
931 | os=-sysv | ||
932 | ;; | ||
933 | symmetry) | 937 | symmetry) |
934 | basic_machine=i386-sequent | 938 | basic_machine=i386-sequent |
935 | os=-dynix | 939 | os=-dynix |
@@ -967,6 +971,10 @@ case $basic_machine in | |||
967 | tower | tower-32) | 971 | tower | tower-32) |
968 | basic_machine=m68k-ncr | 972 | basic_machine=m68k-ncr |
969 | ;; | 973 | ;; |
974 | tpf) | ||
975 | basic_machine=s390x-ibm | ||
976 | os=-tpf | ||
977 | ;; | ||
970 | udi29k) | 978 | udi29k) |
971 | basic_machine=a29k-amd | 979 | basic_machine=a29k-amd |
972 | os=-udi | 980 | os=-udi |
@@ -1010,10 +1018,6 @@ case $basic_machine in | |||
1010 | basic_machine=hppa1.1-winbond | 1018 | basic_machine=hppa1.1-winbond |
1011 | os=-proelf | 1019 | os=-proelf |
1012 | ;; | 1020 | ;; |
1013 | windows32) | ||
1014 | basic_machine=i386-pc | ||
1015 | os=-windows32-msvcrt | ||
1016 | ;; | ||
1017 | xps | xps100) | 1021 | xps | xps100) |
1018 | basic_machine=xps100-honeywell | 1022 | basic_machine=xps100-honeywell |
1019 | ;; | 1023 | ;; |
@@ -1110,8 +1114,8 @@ esac | |||
1110 | if [ x"$os" != x"" ] | 1114 | if [ x"$os" != x"" ] |
1111 | then | 1115 | then |
1112 | case $os in | 1116 | case $os in |
1113 | # First match some system type aliases | 1117 | # First match some system type aliases |
1114 | # that might get confused with valid system types. | 1118 | # that might get confused with valid system types. |
1115 | # -solaris* is a basic system type, with this one exception. | 1119 | # -solaris* is a basic system type, with this one exception. |
1116 | -solaris1 | -solaris1.*) | 1120 | -solaris1 | -solaris1.*) |
1117 | os=`echo $os | sed -e 's|solaris1|sunos4|'` | 1121 | os=`echo $os | sed -e 's|solaris1|sunos4|'` |
@@ -1145,13 +1149,13 @@ case $os in | |||
1145 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 1149 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1146 | | -chorusos* | -chorusrdb* \ | 1150 | | -chorusos* | -chorusrdb* \ |
1147 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1151 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1148 | | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ | 1152 | | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ |
1149 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | 1153 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1150 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1154 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1151 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1155 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1152 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1156 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1153 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1157 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1154 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei*) | 1158 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) |
1155 | # Remember, each alternative MUST END IN *, to match a version number. | 1159 | # Remember, each alternative MUST END IN *, to match a version number. |
1156 | ;; | 1160 | ;; |
1157 | -qnx*) | 1161 | -qnx*) |
@@ -1190,6 +1194,9 @@ case $os in | |||
1190 | -opened*) | 1194 | -opened*) |
1191 | os=-openedition | 1195 | os=-openedition |
1192 | ;; | 1196 | ;; |
1197 | -os400*) | ||
1198 | os=-os400 | ||
1199 | ;; | ||
1193 | -wince*) | 1200 | -wince*) |
1194 | os=-wince | 1201 | os=-wince |
1195 | ;; | 1202 | ;; |
@@ -1211,6 +1218,9 @@ case $os in | |||
1211 | -atheos*) | 1218 | -atheos*) |
1212 | os=-atheos | 1219 | os=-atheos |
1213 | ;; | 1220 | ;; |
1221 | -syllable*) | ||
1222 | os=-syllable | ||
1223 | ;; | ||
1214 | -386bsd) | 1224 | -386bsd) |
1215 | os=-bsd | 1225 | os=-bsd |
1216 | ;; | 1226 | ;; |
@@ -1233,6 +1243,9 @@ case $os in | |||
1233 | -sinix*) | 1243 | -sinix*) |
1234 | os=-sysv4 | 1244 | os=-sysv4 |
1235 | ;; | 1245 | ;; |
1246 | -tpf*) | ||
1247 | os=-tpf | ||
1248 | ;; | ||
1236 | -triton*) | 1249 | -triton*) |
1237 | os=-sysv3 | 1250 | os=-sysv3 |
1238 | ;; | 1251 | ;; |
@@ -1481,9 +1494,15 @@ case $basic_machine in | |||
1481 | -mvs* | -opened*) | 1494 | -mvs* | -opened*) |
1482 | vendor=ibm | 1495 | vendor=ibm |
1483 | ;; | 1496 | ;; |
1497 | -os400*) | ||
1498 | vendor=ibm | ||
1499 | ;; | ||
1484 | -ptx*) | 1500 | -ptx*) |
1485 | vendor=sequent | 1501 | vendor=sequent |
1486 | ;; | 1502 | ;; |
1503 | -tpf*) | ||
1504 | vendor=ibm | ||
1505 | ;; | ||
1487 | -vxsim* | -vxworks* | -windiss*) | 1506 | -vxsim* | -vxworks* | -windiss*) |
1488 | vendor=wrs | 1507 | vendor=wrs |
1489 | ;; | 1508 | ;; |