diff options
Diffstat (limited to 'libltdl/config.sub')
-rwxr-xr-x | libltdl/config.sub | 50 |
1 files changed, 30 insertions, 20 deletions
diff --git a/libltdl/config.sub b/libltdl/config.sub index 87a1ee49..1c366dfd 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 | ||
6 | timestamp='2005-04-22' | 6 | timestamp='2005-07-08' |
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,14 +21,15 @@ timestamp='2005-04-22' | |||
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., 59 Temple Place - Suite 330, | 24 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |
25 | # Boston, MA 02111-1307, USA. | 25 | # 02110-1301, 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 | |||
32 | # Please send patches to <config-patches@gnu.org>. Submit a context | 33 | # Please send patches to <config-patches@gnu.org>. Submit a context |
33 | # diff and a properly formatted ChangeLog entry. | 34 | # diff and a properly formatted ChangeLog entry. |
34 | # | 35 | # |
@@ -83,11 +84,11 @@ Try \`$me --help' for more information." | |||
83 | while test $# -gt 0 ; do | 84 | while test $# -gt 0 ; do |
84 | case $1 in | 85 | case $1 in |
85 | --time-stamp | --time* | -t ) | 86 | --time-stamp | --time* | -t ) |
86 | echo "$timestamp" ; exit 0 ;; | 87 | echo "$timestamp" ; exit ;; |
87 | --version | -v ) | 88 | --version | -v ) |
88 | echo "$version" ; exit 0 ;; | 89 | echo "$version" ; exit ;; |
89 | --help | --h* | -h ) | 90 | --help | --h* | -h ) |
90 | echo "$usage"; exit 0 ;; | 91 | echo "$usage"; exit ;; |
91 | -- ) # Stop option processing | 92 | -- ) # Stop option processing |
92 | shift; break ;; | 93 | shift; break ;; |
93 | - ) # Use stdin as input. | 94 | - ) # Use stdin as input. |
@@ -99,7 +100,7 @@ while test $# -gt 0 ; do | |||
99 | *local*) | 100 | *local*) |
100 | # First pass through any local machine types. | 101 | # First pass through any local machine types. |
101 | echo $1 | 102 | echo $1 |
102 | exit 0;; | 103 | exit ;; |
103 | 104 | ||
104 | * ) | 105 | * ) |
105 | break ;; | 106 | break ;; |
@@ -247,6 +248,7 @@ case $basic_machine in | |||
247 | | mips64vr4100 | mips64vr4100el \ | 248 | | mips64vr4100 | mips64vr4100el \ |
248 | | mips64vr4300 | mips64vr4300el \ | 249 | | mips64vr4300 | mips64vr4300el \ |
249 | | mips64vr5000 | mips64vr5000el \ | 250 | | mips64vr5000 | mips64vr5000el \ |
251 | | mips64vr5900 | mips64vr5900el \ | ||
250 | | mipsisa32 | mipsisa32el \ | 252 | | mipsisa32 | mipsisa32el \ |
251 | | mipsisa32r2 | mipsisa32r2el \ | 253 | | mipsisa32r2 | mipsisa32r2el \ |
252 | | mipsisa64 | mipsisa64el \ | 254 | | mipsisa64 | mipsisa64el \ |
@@ -255,13 +257,14 @@ case $basic_machine in | |||
255 | | mipsisa64sr71k | mipsisa64sr71kel \ | 257 | | mipsisa64sr71k | mipsisa64sr71kel \ |
256 | | mipstx39 | mipstx39el \ | 258 | | mipstx39 | mipstx39el \ |
257 | | mn10200 | mn10300 \ | 259 | | mn10200 | mn10300 \ |
260 | | ms1 \ | ||
258 | | msp430 \ | 261 | | msp430 \ |
259 | | ns16k | ns32k \ | 262 | | ns16k | ns32k \ |
260 | | openrisc | or32 \ | 263 | | or32 \ |
261 | | pdp10 | pdp11 | pj | pjl \ | 264 | | pdp10 | pdp11 | pj | pjl \ |
262 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 265 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
263 | | pyramid \ | 266 | | pyramid \ |
264 | | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | 267 | | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ |
265 | | sh64 | sh64le \ | 268 | | sh64 | sh64le \ |
266 | | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ | 269 | | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ |
267 | | sparcv8 | sparcv9 | sparcv9b \ | 270 | | sparcv8 | sparcv9 | sparcv9b \ |
@@ -273,6 +276,9 @@ case $basic_machine in | |||
273 | | z8k) | 276 | | z8k) |
274 | basic_machine=$basic_machine-unknown | 277 | basic_machine=$basic_machine-unknown |
275 | ;; | 278 | ;; |
279 | m32c) | ||
280 | basic_machine=$basic_machine-unknown | ||
281 | ;; | ||
276 | m6811 | m68hc11 | m6812 | m68hc12) | 282 | m6811 | m68hc11 | m6812 | m68hc12) |
277 | # Motorola 68HC11/12. | 283 | # Motorola 68HC11/12. |
278 | basic_machine=$basic_machine-unknown | 284 | basic_machine=$basic_machine-unknown |
@@ -321,6 +327,7 @@ case $basic_machine in | |||
321 | | mips64vr4100-* | mips64vr4100el-* \ | 327 | | mips64vr4100-* | mips64vr4100el-* \ |
322 | | mips64vr4300-* | mips64vr4300el-* \ | 328 | | mips64vr4300-* | mips64vr4300el-* \ |
323 | | mips64vr5000-* | mips64vr5000el-* \ | 329 | | mips64vr5000-* | mips64vr5000el-* \ |
330 | | mips64vr5900-* | mips64vr5900el-* \ | ||
324 | | mipsisa32-* | mipsisa32el-* \ | 331 | | mipsisa32-* | mipsisa32el-* \ |
325 | | mipsisa32r2-* | mipsisa32r2el-* \ | 332 | | mipsisa32r2-* | mipsisa32r2el-* \ |
326 | | mipsisa64-* | mipsisa64el-* \ | 333 | | mipsisa64-* | mipsisa64el-* \ |
@@ -329,6 +336,7 @@ case $basic_machine in | |||
329 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | 336 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
330 | | mipstx39-* | mipstx39el-* \ | 337 | | mipstx39-* | mipstx39el-* \ |
331 | | mmix-* \ | 338 | | mmix-* \ |
339 | | ms1-* \ | ||
332 | | msp430-* \ | 340 | | msp430-* \ |
333 | | none-* | np1-* | ns16k-* | ns32k-* \ | 341 | | none-* | np1-* | ns16k-* | ns32k-* \ |
334 | | orion-* \ | 342 | | orion-* \ |
@@ -336,7 +344,7 @@ case $basic_machine in | |||
336 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | 344 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
337 | | pyramid-* \ | 345 | | pyramid-* \ |
338 | | romp-* | rs6000-* \ | 346 | | romp-* | rs6000-* \ |
339 | | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | 347 | | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ |
340 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 348 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
341 | | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ | 349 | | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ |
342 | | sparclite-* \ | 350 | | sparclite-* \ |
@@ -351,6 +359,8 @@ case $basic_machine in | |||
351 | | ymp-* \ | 359 | | ymp-* \ |
352 | | z8k-*) | 360 | | z8k-*) |
353 | ;; | 361 | ;; |
362 | m32c-*) | ||
363 | ;; | ||
354 | # Recognize the various machine names and aliases which stand | 364 | # Recognize the various machine names and aliases which stand |
355 | # for a CPU type and a company and sometimes even an OS. | 365 | # for a CPU type and a company and sometimes even an OS. |
356 | 386bsd) | 366 | 386bsd) |
@@ -761,9 +771,8 @@ case $basic_machine in | |||
761 | basic_machine=hppa1.1-oki | 771 | basic_machine=hppa1.1-oki |
762 | os=-proelf | 772 | os=-proelf |
763 | ;; | 773 | ;; |
764 | or32 | or32-*) | 774 | openrisc | openrisc-*) |
765 | basic_machine=or32-unknown | 775 | basic_machine=or32-unknown |
766 | os=-coff | ||
767 | ;; | 776 | ;; |
768 | os400) | 777 | os400) |
769 | basic_machine=powerpc-ibm | 778 | basic_machine=powerpc-ibm |
@@ -1089,12 +1098,9 @@ case $basic_machine in | |||
1089 | we32k) | 1098 | we32k) |
1090 | basic_machine=we32k-att | 1099 | basic_machine=we32k-att |
1091 | ;; | 1100 | ;; |
1092 | sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) | 1101 | sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) |
1093 | basic_machine=sh-unknown | 1102 | basic_machine=sh-unknown |
1094 | ;; | 1103 | ;; |
1095 | sh64) | ||
1096 | basic_machine=sh64-unknown | ||
1097 | ;; | ||
1098 | sparc | sparcv8 | sparcv9 | sparcv9b) | 1104 | sparc | sparcv8 | sparcv9 | sparcv9b) |
1099 | basic_machine=sparc-sun | 1105 | basic_machine=sparc-sun |
1100 | ;; | 1106 | ;; |
@@ -1181,7 +1187,8 @@ case $os in | |||
1181 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1187 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1182 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1188 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1183 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1189 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1184 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) | 1190 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1191 | | -skyos* | -haiku*) | ||
1185 | # Remember, each alternative MUST END IN *, to match a version number. | 1192 | # Remember, each alternative MUST END IN *, to match a version number. |
1186 | ;; | 1193 | ;; |
1187 | -qnx*) | 1194 | -qnx*) |
@@ -1199,7 +1206,7 @@ case $os in | |||
1199 | os=`echo $os | sed -e 's|nto|nto-qnx|'` | 1206 | os=`echo $os | sed -e 's|nto|nto-qnx|'` |
1200 | ;; | 1207 | ;; |
1201 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | 1208 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ |
1202 | | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ | 1209 | | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ |
1203 | | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) | 1210 | | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) |
1204 | ;; | 1211 | ;; |
1205 | -mac*) | 1212 | -mac*) |
@@ -1388,6 +1395,9 @@ case $basic_machine in | |||
1388 | *-be) | 1395 | *-be) |
1389 | os=-beos | 1396 | os=-beos |
1390 | ;; | 1397 | ;; |
1398 | *-haiku) | ||
1399 | os=-haiku | ||
1400 | ;; | ||
1391 | *-ibm) | 1401 | *-ibm) |
1392 | os=-aix | 1402 | os=-aix |
1393 | ;; | 1403 | ;; |
@@ -1559,7 +1569,7 @@ case $basic_machine in | |||
1559 | esac | 1569 | esac |
1560 | 1570 | ||
1561 | echo $basic_machine$os | 1571 | echo $basic_machine$os |
1562 | exit 0 | 1572 | exit |
1563 | 1573 | ||
1564 | # Local variables: | 1574 | # Local variables: |
1565 | # eval: (add-hook 'write-file-hooks 'time-stamp) | 1575 | # eval: (add-hook 'write-file-hooks 'time-stamp) |