aboutsummaryrefslogtreecommitdiff
path: root/libltdl/config.sub
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2006-10-12 20:51:47 +0000
committerChristian Grothoff <christian@grothoff.org>2006-10-12 20:51:47 +0000
commit827d8c30354e2d4febcafba1d94c8919c0d85fe5 (patch)
treea421940cb24de7f4ff69046cc3d05bac12046174 /libltdl/config.sub
parent2c188c94282971e74ff8d1e206d16492f10d7ec7 (diff)
downloadgnunet-gtk-827d8c30354e2d4febcafba1d94c8919c0d85fe5.tar.gz
gnunet-gtk-827d8c30354e2d4febcafba1d94c8919c0d85fe5.zip
towards 0.7.1
Diffstat (limited to 'libltdl/config.sub')
-rwxr-xr-xlibltdl/config.sub89
1 files changed, 25 insertions, 64 deletions
diff --git a/libltdl/config.sub b/libltdl/config.sub
index ad9f3957..87a1ee49 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='2006-02-23' 6timestamp='2005-04-22'
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
@@ -21,15 +21,14 @@ timestamp='2006-02-23'
21# 21#
22# You should have received a copy of the GNU General Public License 22# You should have received a copy of the GNU General Public License
23# along with this program; if not, write to the Free Software 23# along with this program; if not, write to the Free Software
24# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 24# Foundation, Inc., 59 Temple Place - Suite 330,
25# 02110-1301, USA. 25# Boston, MA 02111-1307, USA.
26# 26
27# As a special exception to the GNU General Public License, if you 27# As a special exception to the GNU General Public License, if you
28# distribute this file as part of a program that contains a 28# distribute this file as part of a program that contains a
29# configuration script generated by Autoconf, you may include it under 29# configuration script generated by Autoconf, you may include it under
30# the same distribution terms that you use for the rest of that program. 30# the same distribution terms that you use for the rest of that program.
31 31
32
33# Please send patches to <config-patches@gnu.org>. Submit a context 32# Please send patches to <config-patches@gnu.org>. Submit a context
34# diff and a properly formatted ChangeLog entry. 33# diff and a properly formatted ChangeLog entry.
35# 34#
@@ -84,11 +83,11 @@ Try \`$me --help' for more information."
84while test $# -gt 0 ; do 83while test $# -gt 0 ; do
85 case $1 in 84 case $1 in
86 --time-stamp | --time* | -t ) 85 --time-stamp | --time* | -t )
87 echo "$timestamp" ; exit ;; 86 echo "$timestamp" ; exit 0 ;;
88 --version | -v ) 87 --version | -v )
89 echo "$version" ; exit ;; 88 echo "$version" ; exit 0 ;;
90 --help | --h* | -h ) 89 --help | --h* | -h )
91 echo "$usage"; exit ;; 90 echo "$usage"; exit 0 ;;
92 -- ) # Stop option processing 91 -- ) # Stop option processing
93 shift; break ;; 92 shift; break ;;
94 - ) # Use stdin as input. 93 - ) # Use stdin as input.
@@ -100,7 +99,7 @@ while test $# -gt 0 ; do
100 *local*) 99 *local*)
101 # First pass through any local machine types. 100 # First pass through any local machine types.
102 echo $1 101 echo $1
103 exit ;; 102 exit 0;;
104 103
105 * ) 104 * )
106 break ;; 105 break ;;
@@ -119,9 +118,8 @@ esac
119# Here we must recognize all the valid KERNEL-OS combinations. 118# Here we must recognize all the valid KERNEL-OS combinations.
120maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 119maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
121case $maybe_os in 120case $maybe_os in
122 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ 121 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
123 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ 122 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
124 storm-chaos* | os2-emx* | rtmk-nova*)
125 os=-$maybe_os 123 os=-$maybe_os
126 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
127 ;; 125 ;;
@@ -172,10 +170,6 @@ case $os in
172 -hiux*) 170 -hiux*)
173 os=-hiuxwe2 171 os=-hiuxwe2
174 ;; 172 ;;
175 -sco6)
176 os=-sco5v6
177 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
178 ;;
179 -sco5) 173 -sco5)
180 os=-sco3.2v5 174 os=-sco3.2v5
181 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 175 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
@@ -192,10 +186,6 @@ case $os in
192 # Don't forget version if it is 3.2v4 or newer. 186 # Don't forget version if it is 3.2v4 or newer.
193 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 187 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
194 ;; 188 ;;
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 ;;
199 -sco*) 189 -sco*)
200 os=-sco3.2v2 190 os=-sco3.2v2
201 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 191 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
@@ -248,7 +238,7 @@ case $basic_machine in
248 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 238 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
249 | i370 | i860 | i960 | ia64 \ 239 | i370 | i860 | i960 | ia64 \
250 | ip2k | iq2000 \ 240 | ip2k | iq2000 \
251 | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \ 241 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
252 | mips | mipsbe | mipseb | mipsel | mipsle \ 242 | mips | mipsbe | mipseb | mipsel | mipsle \
253 | mips16 \ 243 | mips16 \
254 | mips64 | mips64el \ 244 | mips64 | mips64el \
@@ -257,7 +247,6 @@ case $basic_machine in
257 | mips64vr4100 | mips64vr4100el \ 247 | mips64vr4100 | mips64vr4100el \
258 | mips64vr4300 | mips64vr4300el \ 248 | mips64vr4300 | mips64vr4300el \
259 | mips64vr5000 | mips64vr5000el \ 249 | mips64vr5000 | mips64vr5000el \
260 | mips64vr5900 | mips64vr5900el \
261 | mipsisa32 | mipsisa32el \ 250 | mipsisa32 | mipsisa32el \
262 | mipsisa32r2 | mipsisa32r2el \ 251 | mipsisa32r2 | mipsisa32r2el \
263 | mipsisa64 | mipsisa64el \ 252 | mipsisa64 | mipsisa64el \
@@ -266,15 +255,13 @@ case $basic_machine in
266 | mipsisa64sr71k | mipsisa64sr71kel \ 255 | mipsisa64sr71k | mipsisa64sr71kel \
267 | mipstx39 | mipstx39el \ 256 | mipstx39 | mipstx39el \
268 | mn10200 | mn10300 \ 257 | mn10200 | mn10300 \
269 | mt \
270 | msp430 \ 258 | msp430 \
271 | nios | nios2 \
272 | ns16k | ns32k \ 259 | ns16k | ns32k \
273 | or32 \ 260 | openrisc | or32 \
274 | pdp10 | pdp11 | pj | pjl \ 261 | pdp10 | pdp11 | pj | pjl \
275 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 262 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
276 | pyramid \ 263 | pyramid \
277 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ 264 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
278 | sh64 | sh64le \ 265 | sh64 | sh64le \
279 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ 266 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
280 | sparcv8 | sparcv9 | sparcv9b \ 267 | sparcv8 | sparcv9 | sparcv9b \
@@ -286,9 +273,6 @@ case $basic_machine in
286 | z8k) 273 | z8k)
287 basic_machine=$basic_machine-unknown 274 basic_machine=$basic_machine-unknown
288 ;; 275 ;;
289 m32c)
290 basic_machine=$basic_machine-unknown
291 ;;
292 m6811 | m68hc11 | m6812 | m68hc12) 276 m6811 | m68hc11 | m6812 | m68hc12)
293 # Motorola 68HC11/12. 277 # Motorola 68HC11/12.
294 basic_machine=$basic_machine-unknown 278 basic_machine=$basic_machine-unknown
@@ -296,9 +280,6 @@ case $basic_machine in
296 ;; 280 ;;
297 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 281 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
298 ;; 282 ;;
299 ms1)
300 basic_machine=mt-unknown
301 ;;
302 283
303 # We use `pc' rather than `unknown' 284 # We use `pc' rather than `unknown'
304 # because (1) that's what they normally are, and 285 # because (1) that's what they normally are, and
@@ -340,7 +321,6 @@ case $basic_machine in
340 | mips64vr4100-* | mips64vr4100el-* \ 321 | mips64vr4100-* | mips64vr4100el-* \
341 | mips64vr4300-* | mips64vr4300el-* \ 322 | mips64vr4300-* | mips64vr4300el-* \
342 | mips64vr5000-* | mips64vr5000el-* \ 323 | mips64vr5000-* | mips64vr5000el-* \
343 | mips64vr5900-* | mips64vr5900el-* \
344 | mipsisa32-* | mipsisa32el-* \ 324 | mipsisa32-* | mipsisa32el-* \
345 | mipsisa32r2-* | mipsisa32r2el-* \ 325 | mipsisa32r2-* | mipsisa32r2el-* \
346 | mipsisa64-* | mipsisa64el-* \ 326 | mipsisa64-* | mipsisa64el-* \
@@ -349,16 +329,14 @@ case $basic_machine in
349 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 329 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
350 | mipstx39-* | mipstx39el-* \ 330 | mipstx39-* | mipstx39el-* \
351 | mmix-* \ 331 | mmix-* \
352 | mt-* \
353 | msp430-* \ 332 | msp430-* \
354 | nios-* | nios2-* \
355 | none-* | np1-* | ns16k-* | ns32k-* \ 333 | none-* | np1-* | ns16k-* | ns32k-* \
356 | orion-* \ 334 | orion-* \
357 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 335 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 336 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359 | pyramid-* \ 337 | pyramid-* \
360 | romp-* | rs6000-* \ 338 | romp-* | rs6000-* \
361 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ 339 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
362 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 340 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ 341 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
364 | sparclite-* \ 342 | sparclite-* \
@@ -373,8 +351,6 @@ case $basic_machine in
373 | ymp-* \ 351 | ymp-* \
374 | z8k-*) 352 | z8k-*)
375 ;; 353 ;;
376 m32c-*)
377 ;;
378 # Recognize the various machine names and aliases which stand 354 # Recognize the various machine names and aliases which stand
379 # for a CPU type and a company and sometimes even an OS. 355 # for a CPU type and a company and sometimes even an OS.
380 386bsd) 356 386bsd)
@@ -710,9 +686,6 @@ case $basic_machine in
710 basic_machine=i386-pc 686 basic_machine=i386-pc
711 os=-msdos 687 os=-msdos
712 ;; 688 ;;
713 ms1-*)
714 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
715 ;;
716 mvs) 689 mvs)
717 basic_machine=i370-ibm 690 basic_machine=i370-ibm
718 os=-mvs 691 os=-mvs
@@ -788,8 +761,9 @@ case $basic_machine in
788 basic_machine=hppa1.1-oki 761 basic_machine=hppa1.1-oki
789 os=-proelf 762 os=-proelf
790 ;; 763 ;;
791 openrisc | openrisc-*) 764 or32 | or32-*)
792 basic_machine=or32-unknown 765 basic_machine=or32-unknown
766 os=-coff
793 ;; 767 ;;
794 os400) 768 os400)
795 basic_machine=powerpc-ibm 769 basic_machine=powerpc-ibm
@@ -820,12 +794,6 @@ case $basic_machine in
820 pc532 | pc532-*) 794 pc532 | pc532-*)
821 basic_machine=ns32k-pc532 795 basic_machine=ns32k-pc532
822 ;; 796 ;;
823 pc98)
824 basic_machine=i386-pc
825 ;;
826 pc98-*)
827 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
828 ;;
829 pentium | p5 | k5 | k6 | nexgen | viac3) 797 pentium | p5 | k5 | k6 | nexgen | viac3)
830 basic_machine=i586-pc 798 basic_machine=i586-pc
831 ;; 799 ;;
@@ -882,10 +850,6 @@ case $basic_machine in
882 basic_machine=i586-unknown 850 basic_machine=i586-unknown
883 os=-pw32 851 os=-pw32
884 ;; 852 ;;
885 rdos)
886 basic_machine=i386-pc
887 os=-rdos
888 ;;
889 rom68k) 853 rom68k)
890 basic_machine=m68k-rom68k 854 basic_machine=m68k-rom68k
891 os=-coff 855 os=-coff
@@ -1125,9 +1089,12 @@ case $basic_machine in
1125 we32k) 1089 we32k)
1126 basic_machine=we32k-att 1090 basic_machine=we32k-att
1127 ;; 1091 ;;
1128 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) 1092 sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1129 basic_machine=sh-unknown 1093 basic_machine=sh-unknown
1130 ;; 1094 ;;
1095 sh64)
1096 basic_machine=sh64-unknown
1097 ;;
1131 sparc | sparcv8 | sparcv9 | sparcv9b) 1098 sparc | sparcv8 | sparcv9 | sparcv9b)
1132 basic_machine=sparc-sun 1099 basic_machine=sparc-sun
1133 ;; 1100 ;;
@@ -1201,23 +1168,20 @@ case $os in
1201 | -aos* \ 1168 | -aos* \
1202 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1169 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1203 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1170 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1204 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 1171 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1205 | -openbsd* | -solidbsd* \
1206 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1172 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1207 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1173 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1208 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1174 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1209 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1175 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1210 | -chorusos* | -chorusrdb* \ 1176 | -chorusos* | -chorusrdb* \
1211 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1177 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1212 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ 1178 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1213 | -uxpv* | -beos* | -mpeix* | -udk* \
1214 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1179 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1215 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1180 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1216 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1181 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1217 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1182 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1218 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1183 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1219 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1184 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1220 | -skyos* | -haiku* | -rdos*)
1221 # Remember, each alternative MUST END IN *, to match a version number. 1185 # Remember, each alternative MUST END IN *, to match a version number.
1222 ;; 1186 ;;
1223 -qnx*) 1187 -qnx*)
@@ -1235,7 +1199,7 @@ case $os in
1235 os=`echo $os | sed -e 's|nto|nto-qnx|'` 1199 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1236 ;; 1200 ;;
1237 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ 1201 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1238 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ 1202 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1239 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) 1203 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1240 ;; 1204 ;;
1241 -mac*) 1205 -mac*)
@@ -1424,9 +1388,6 @@ case $basic_machine in
1424 *-be) 1388 *-be)
1425 os=-beos 1389 os=-beos
1426 ;; 1390 ;;
1427 *-haiku)
1428 os=-haiku
1429 ;;
1430 *-ibm) 1391 *-ibm)
1431 os=-aix 1392 os=-aix
1432 ;; 1393 ;;
@@ -1598,7 +1559,7 @@ case $basic_machine in
1598esac 1559esac
1599 1560
1600echo $basic_machine$os 1561echo $basic_machine$os
1601exit 1562exit 0
1602 1563
1603# Local variables: 1564# Local variables:
1604# eval: (add-hook 'write-file-hooks 'time-stamp) 1565# eval: (add-hook 'write-file-hooks 'time-stamp)