aboutsummaryrefslogtreecommitdiff
path: root/libltdl/config.sub
diff options
context:
space:
mode:
Diffstat (limited to 'libltdl/config.sub')
-rwxr-xr-xlibltdl/config.sub47
1 files changed, 38 insertions, 9 deletions
diff --git a/libltdl/config.sub b/libltdl/config.sub
index 1c366dfd..ad9f3957 100755
--- a/libltdl/config.sub
+++ b/libltdl/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, 2004, 2005 Free Software Foundation, Inc. 4# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5 5
6timestamp='2005-07-08' 6timestamp='2006-02-23'
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
@@ -119,8 +119,9 @@ esac
119# Here we must recognize all the valid KERNEL-OS combinations. 119# Here we must recognize all the valid KERNEL-OS combinations.
120maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 120maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
121case $maybe_os in 121case $maybe_os in
122 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ 122 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
123 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) 123 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
124 storm-chaos* | os2-emx* | rtmk-nova*)
124 os=-$maybe_os 125 os=-$maybe_os
125 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 126 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
126 ;; 127 ;;
@@ -171,6 +172,10 @@ case $os in
171 -hiux*) 172 -hiux*)
172 os=-hiuxwe2 173 os=-hiuxwe2
173 ;; 174 ;;
175 -sco6)
176 os=-sco5v6
177 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
178 ;;
174 -sco5) 179 -sco5)
175 os=-sco3.2v5 180 os=-sco3.2v5
176 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 181 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
@@ -187,6 +192,10 @@ case $os in
187 # Don't forget version if it is 3.2v4 or newer. 192 # Don't forget version if it is 3.2v4 or newer.
188 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 193 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
189 ;; 194 ;;
195 -sco5v6*)
196 # Don't forget version if it is 3.2v4 or newer.
197 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
198 ;;
190 -sco*) 199 -sco*)
191 os=-sco3.2v2 200 os=-sco3.2v2
192 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 201 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
@@ -239,7 +248,7 @@ case $basic_machine in
239 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 248 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
240 | i370 | i860 | i960 | ia64 \ 249 | i370 | i860 | i960 | ia64 \
241 | ip2k | iq2000 \ 250 | ip2k | iq2000 \
242 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ 251 | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \
243 | mips | mipsbe | mipseb | mipsel | mipsle \ 252 | mips | mipsbe | mipseb | mipsel | mipsle \
244 | mips16 \ 253 | mips16 \
245 | mips64 | mips64el \ 254 | mips64 | mips64el \
@@ -257,8 +266,9 @@ case $basic_machine in
257 | mipsisa64sr71k | mipsisa64sr71kel \ 266 | mipsisa64sr71k | mipsisa64sr71kel \
258 | mipstx39 | mipstx39el \ 267 | mipstx39 | mipstx39el \
259 | mn10200 | mn10300 \ 268 | mn10200 | mn10300 \
260 | ms1 \ 269 | mt \
261 | msp430 \ 270 | msp430 \
271 | nios | nios2 \
262 | ns16k | ns32k \ 272 | ns16k | ns32k \
263 | or32 \ 273 | or32 \
264 | pdp10 | pdp11 | pj | pjl \ 274 | pdp10 | pdp11 | pj | pjl \
@@ -286,6 +296,9 @@ case $basic_machine in
286 ;; 296 ;;
287 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 297 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
288 ;; 298 ;;
299 ms1)
300 basic_machine=mt-unknown
301 ;;
289 302
290 # We use `pc' rather than `unknown' 303 # We use `pc' rather than `unknown'
291 # because (1) that's what they normally are, and 304 # because (1) that's what they normally are, and
@@ -336,8 +349,9 @@ case $basic_machine in
336 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 349 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
337 | mipstx39-* | mipstx39el-* \ 350 | mipstx39-* | mipstx39el-* \
338 | mmix-* \ 351 | mmix-* \
339 | ms1-* \ 352 | mt-* \
340 | msp430-* \ 353 | msp430-* \
354 | nios-* | nios2-* \
341 | none-* | np1-* | ns16k-* | ns32k-* \ 355 | none-* | np1-* | ns16k-* | ns32k-* \
342 | orion-* \ 356 | orion-* \
343 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 357 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
@@ -696,6 +710,9 @@ case $basic_machine in
696 basic_machine=i386-pc 710 basic_machine=i386-pc
697 os=-msdos 711 os=-msdos
698 ;; 712 ;;
713 ms1-*)
714 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
715 ;;
699 mvs) 716 mvs)
700 basic_machine=i370-ibm 717 basic_machine=i370-ibm
701 os=-mvs 718 os=-mvs
@@ -803,6 +820,12 @@ case $basic_machine in
803 pc532 | pc532-*) 820 pc532 | pc532-*)
804 basic_machine=ns32k-pc532 821 basic_machine=ns32k-pc532
805 ;; 822 ;;
823 pc98)
824 basic_machine=i386-pc
825 ;;
826 pc98-*)
827 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
828 ;;
806 pentium | p5 | k5 | k6 | nexgen | viac3) 829 pentium | p5 | k5 | k6 | nexgen | viac3)
807 basic_machine=i586-pc 830 basic_machine=i586-pc
808 ;; 831 ;;
@@ -859,6 +882,10 @@ case $basic_machine in
859 basic_machine=i586-unknown 882 basic_machine=i586-unknown
860 os=-pw32 883 os=-pw32
861 ;; 884 ;;
885 rdos)
886 basic_machine=i386-pc
887 os=-rdos
888 ;;
862 rom68k) 889 rom68k)
863 basic_machine=m68k-rom68k 890 basic_machine=m68k-rom68k
864 os=-coff 891 os=-coff
@@ -1174,21 +1201,23 @@ case $os in
1174 | -aos* \ 1201 | -aos* \
1175 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1202 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1176 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1203 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1177 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ 1204 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1205 | -openbsd* | -solidbsd* \
1178 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1206 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1179 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1207 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1180 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1208 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1181 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1209 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1182 | -chorusos* | -chorusrdb* \ 1210 | -chorusos* | -chorusrdb* \
1183 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1211 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1184 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ 1212 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1213 | -uxpv* | -beos* | -mpeix* | -udk* \
1185 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1214 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1186 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1215 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1187 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1216 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1188 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1217 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1189 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1218 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1190 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1219 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1191 | -skyos* | -haiku*) 1220 | -skyos* | -haiku* | -rdos*)
1192 # Remember, each alternative MUST END IN *, to match a version number. 1221 # Remember, each alternative MUST END IN *, to match a version number.
1193 ;; 1222 ;;
1194 -qnx*) 1223 -qnx*)