comparison config.sub @ 8363:be07fdf798cf

update config.guess and config.sub
author John W. Eaton <jwe@octave.org>
date Wed, 03 Dec 2008 20:48:28 -0500
parents 4389f6bc1ae0
children 79474f16215c
comparison
equal deleted inserted replaced
8362:03b414516dd8 8363:be07fdf798cf
1 #! /bin/sh 1 #! /bin/sh
2 # Configuration validation subroutine script. 2 # Configuration validation subroutine script.
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, 2006 Free Software Foundation, 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5 # Inc. 5 # Free Software Foundation, Inc.
6 6
7 timestamp='2007-06-28' 7 timestamp='2008-09-08'
8 8
9 # This file is (in principle) common to ALL GNU software. 9 # This file is (in principle) common to ALL GNU software.
10 # The presence of a machine in this file suggests that SOME GNU software 10 # The presence of a machine in this file suggests that SOME GNU software
11 # can handle that machine. It does not imply ALL GNU software can. 11 # can handle that machine. It does not imply ALL GNU software can.
12 # 12 #
70 Report bugs and patches to <config-patches@gnu.org>." 70 Report bugs and patches to <config-patches@gnu.org>."
71 71
72 version="\ 72 version="\
73 GNU config.sub ($timestamp) 73 GNU config.sub ($timestamp)
74 74
75 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 75 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
76 Free Software Foundation, Inc. 76 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
77 77
78 This is free software; see the source for copying conditions. There is NO 78 This is free software; see the source for copying conditions. There is NO
79 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 79 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
80 80
81 help=" 81 help="
248 | fido | fr30 | frv \ 248 | fido | fr30 | frv \
249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250 | i370 | i860 | i960 | ia64 \ 250 | i370 | i860 | i960 | ia64 \
251 | ip2k | iq2000 \ 251 | ip2k | iq2000 \
252 | m32c | m32r | m32rle | m68000 | m68k | m88k \ 252 | m32c | m32r | m32rle | m68000 | m68k | m88k \
253 | maxq | mb | microblaze | mcore | mep \ 253 | maxq | mb | microblaze | mcore | mep | metag \
254 | mips | mipsbe | mipseb | mipsel | mipsle \ 254 | mips | mipsbe | mipseb | mipsel | mipsle \
255 | mips16 \ 255 | mips16 \
256 | mips64 | mips64el \ 256 | mips64 | mips64el \
257 | mips64octeon | mips64octeonel \
258 | mips64orion | mips64orionel \
259 | mips64r5900 | mips64r5900el \
257 | mips64vr | mips64vrel \ 260 | mips64vr | mips64vrel \
258 | mips64orion | mips64orionel \
259 | mips64vr4100 | mips64vr4100el \ 261 | mips64vr4100 | mips64vr4100el \
260 | mips64vr4300 | mips64vr4300el \ 262 | mips64vr4300 | mips64vr4300el \
261 | mips64vr5000 | mips64vr5000el \ 263 | mips64vr5000 | mips64vr5000el \
262 | mips64vr5900 | mips64vr5900el \ 264 | mips64vr5900 | mips64vr5900el \
263 | mipsisa32 | mipsisa32el \ 265 | mipsisa32 | mipsisa32el \
284 | spu | strongarm \ 286 | spu | strongarm \
285 | tahoe | thumb | tic4x | tic80 | tron \ 287 | tahoe | thumb | tic4x | tic80 | tron \
286 | v850 | v850e \ 288 | v850 | v850e \
287 | we32k \ 289 | we32k \
288 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 290 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
289 | z8k) 291 | z8k | z80)
290 basic_machine=$basic_machine-unknown 292 basic_machine=$basic_machine-unknown
291 ;; 293 ;;
292 m6811 | m68hc11 | m6812 | m68hc12) 294 m6811 | m68hc11 | m6812 | m68hc12)
293 # Motorola 68HC11/12. 295 # Motorola 68HC11/12.
294 basic_machine=$basic_machine-unknown 296 basic_machine=$basic_machine-unknown
329 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 331 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330 | i*86-* | i860-* | i960-* | ia64-* \ 332 | i*86-* | i860-* | i960-* | ia64-* \
331 | ip2k-* | iq2000-* \ 333 | ip2k-* | iq2000-* \
332 | m32c-* | m32r-* | m32rle-* \ 334 | m32c-* | m32r-* | m32rle-* \
333 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 335 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334 | m88110-* | m88k-* | maxq-* | mcore-* \ 336 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
335 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 337 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336 | mips16-* \ 338 | mips16-* \
337 | mips64-* | mips64el-* \ 339 | mips64-* | mips64el-* \
340 | mips64octeon-* | mips64octeonel-* \
341 | mips64orion-* | mips64orionel-* \
342 | mips64r5900-* | mips64r5900el-* \
338 | mips64vr-* | mips64vrel-* \ 343 | mips64vr-* | mips64vrel-* \
339 | mips64orion-* | mips64orionel-* \
340 | mips64vr4100-* | mips64vr4100el-* \ 344 | mips64vr4100-* | mips64vr4100el-* \
341 | mips64vr4300-* | mips64vr4300el-* \ 345 | mips64vr4300-* | mips64vr4300el-* \
342 | mips64vr5000-* | mips64vr5000el-* \ 346 | mips64vr5000-* | mips64vr5000el-* \
343 | mips64vr5900-* | mips64vr5900el-* \ 347 | mips64vr5900-* | mips64vr5900el-* \
344 | mipsisa32-* | mipsisa32el-* \ 348 | mipsisa32-* | mipsisa32el-* \
362 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 366 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 367 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364 | sparclite-* \ 368 | sparclite-* \
365 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 369 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366 | tahoe-* | thumb-* \ 370 | tahoe-* | thumb-* \
367 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 371 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
368 | tron-* \ 372 | tron-* \
369 | v850-* | v850e-* | vax-* \ 373 | v850-* | v850e-* | vax-* \
370 | we32k-* \ 374 | we32k-* \
371 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 375 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372 | xstormy16-* | xtensa-* \ 376 | xstormy16-* | xtensa*-* \
373 | ymp-* \ 377 | ymp-* \
374 | z8k-*) 378 | z8k-* | z80-*)
379 ;;
380 # Recognize the basic CPU types without company name, with glob match.
381 xtensa*)
382 basic_machine=$basic_machine-unknown
375 ;; 383 ;;
376 # Recognize the various machine names and aliases which stand 384 # Recognize the various machine names and aliases which stand
377 # for a CPU type and a company and sometimes even an OS. 385 # for a CPU type and a company and sometimes even an OS.
378 386bsd) 386 386bsd)
379 basic_machine=i386-unknown 387 basic_machine=i386-unknown
441 ;; 449 ;;
442 balance) 450 balance)
443 basic_machine=ns32k-sequent 451 basic_machine=ns32k-sequent
444 os=-dynix 452 os=-dynix
445 ;; 453 ;;
454 blackfin)
455 basic_machine=bfin-unknown
456 os=-linux
457 ;;
458 blackfin-*)
459 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
460 os=-linux
461 ;;
446 c90) 462 c90)
447 basic_machine=c90-cray 463 basic_machine=c90-cray
448 os=-unicos 464 os=-unicos
449 ;; 465 ;;
466 cegcc)
467 basic_machine=arm-unknown
468 os=-cegcc
469 ;;
450 convex-c1) 470 convex-c1)
451 basic_machine=c1-convex 471 basic_machine=c1-convex
452 os=-bsd 472 os=-bsd
453 ;; 473 ;;
454 convex-c2) 474 convex-c2)
511 basic_machine=m68k-motorola 531 basic_machine=m68k-motorola
512 ;; 532 ;;
513 delta88) 533 delta88)
514 basic_machine=m88k-motorola 534 basic_machine=m88k-motorola
515 os=-sysv3 535 os=-sysv3
536 ;;
537 dicos)
538 basic_machine=i686-pc
539 os=-dicos
516 ;; 540 ;;
517 djgpp) 541 djgpp)
518 basic_machine=i586-pc 542 basic_machine=i586-pc
519 os=-msdosdjgpp 543 os=-msdosdjgpp
520 ;; 544 ;;
665 esac 689 esac
666 ;; 690 ;;
667 isi68 | isi) 691 isi68 | isi)
668 basic_machine=m68k-isi 692 basic_machine=m68k-isi
669 os=-sysv 693 os=-sysv
694 ;;
695 m68knommu)
696 basic_machine=m68k-unknown
697 os=-linux
698 ;;
699 m68knommu-*)
700 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
701 os=-linux
670 ;; 702 ;;
671 m88k-omron*) 703 m88k-omron*)
672 basic_machine=m88k-omron 704 basic_machine=m88k-omron
673 ;; 705 ;;
674 magnum | m3230) 706 magnum | m3230)
811 ;; 843 ;;
812 paragon) 844 paragon)
813 basic_machine=i860-intel 845 basic_machine=i860-intel
814 os=-osf 846 os=-osf
815 ;; 847 ;;
848 parisc)
849 basic_machine=hppa-unknown
850 os=-linux
851 ;;
852 parisc-*)
853 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
854 os=-linux
855 ;;
816 pbd) 856 pbd)
817 basic_machine=sparc-tti 857 basic_machine=sparc-tti
818 ;; 858 ;;
819 pbb) 859 pbb)
820 basic_machine=m68k-tti 860 basic_machine=m68k-tti
1019 ;; 1059 ;;
1020 tic6x | c6x*) 1060 tic6x | c6x*)
1021 basic_machine=tic6x-unknown 1061 basic_machine=tic6x-unknown
1022 os=-coff 1062 os=-coff
1023 ;; 1063 ;;
1064 tile*)
1065 basic_machine=tile-unknown
1066 os=-linux-gnu
1067 ;;
1024 tx39) 1068 tx39)
1025 basic_machine=mipstx39-unknown 1069 basic_machine=mipstx39-unknown
1026 ;; 1070 ;;
1027 tx39el) 1071 tx39el)
1028 basic_machine=mipstx39el-unknown 1072 basic_machine=mipstx39el-unknown
1092 basic_machine=ymp-cray 1136 basic_machine=ymp-cray
1093 os=-unicos 1137 os=-unicos
1094 ;; 1138 ;;
1095 z8k-*-coff) 1139 z8k-*-coff)
1096 basic_machine=z8k-unknown 1140 basic_machine=z8k-unknown
1141 os=-sim
1142 ;;
1143 z80-*-coff)
1144 basic_machine=z80-unknown
1097 os=-sim 1145 os=-sim
1098 ;; 1146 ;;
1099 none) 1147 none)
1100 basic_machine=none-none 1148 basic_machine=none-none
1101 os=-none 1149 os=-none
1214 | -openbsd* | -solidbsd* \ 1262 | -openbsd* | -solidbsd* \
1215 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1263 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1216 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1264 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1217 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1265 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1218 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1266 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1219 | -chorusos* | -chorusrdb* \ 1267 | -chorusos* | -chorusrdb* | -cegcc* \
1220 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1268 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1221 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ 1269 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1222 | -uxpv* | -beos* | -mpeix* | -udk* \ 1270 | -uxpv* | -beos* | -mpeix* | -udk* \
1223 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1271 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1224 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1272 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1354 os=-kaos 1402 os=-kaos
1355 ;; 1403 ;;
1356 -zvmoe) 1404 -zvmoe)
1357 os=-zvmoe 1405 os=-zvmoe
1358 ;; 1406 ;;
1407 -dicos*)
1408 os=-dicos
1409 ;;
1359 -none) 1410 -none)
1360 ;; 1411 ;;
1361 *) 1412 *)
1362 # Get rid of the `-' at the beginning of $os. 1413 # Get rid of the `-' at the beginning of $os.
1363 os=`echo $os | sed 's/[^-]*-//'` 1414 os=`echo $os | sed 's/[^-]*-//'`