Mercurial > hg > CbC > CbC_gcc
comparison config.sub @ 47:3bfb6c00c1e0
update it from 4.4.2 to 4.4.3.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 07 Feb 2010 17:44:34 +0900 |
parents | a06113de4d67 |
children | 77e2b8dfacca |
comparison
equal
deleted
inserted
replaced
46:b85a337e5837 | 47:3bfb6c00c1e0 |
---|---|
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, 2007, 2008 | 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
5 # Free Software Foundation, Inc. | 5 # Free Software Foundation, Inc. |
6 | 6 |
7 timestamp='2008-12-11' | 7 timestamp='2009-11-07' |
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 # |
30 # configuration script generated by Autoconf, you may include it under | 30 # configuration script generated by Autoconf, you may include it under |
31 # the same distribution terms that you use for the rest of that program. | 31 # the same distribution terms that you use for the rest of that program. |
32 | 32 |
33 | 33 |
34 # Please send patches to <config-patches@gnu.org>. Submit a context | 34 # Please send patches to <config-patches@gnu.org>. Submit a context |
35 # diff and a properly formatted ChangeLog entry. | 35 # diff and a properly formatted GNU ChangeLog entry. |
36 # | 36 # |
37 # Configuration subroutine to validate and canonicalize a configuration type. | 37 # Configuration subroutine to validate and canonicalize a configuration type. |
38 # Supply the specified configuration type as an argument. | 38 # Supply the specified configuration type as an argument. |
39 # If it is invalid, we print an error message on stderr and exit with code 1. | 39 # If it is invalid, we print an error message on stderr and exit with code 1. |
40 # Otherwise, we print the canonical config type on stdout and succeed. | 40 # Otherwise, we print the canonical config type on stdout and succeed. |
41 | |
42 # You can get the latest version of this script from: | |
43 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD | |
41 | 44 |
42 # This file is supposed to be the same for all GNU packages | 45 # This file is supposed to be the same for all GNU packages |
43 # and recognize all the CPU types, system types and aliases | 46 # and recognize all the CPU types, system types and aliases |
44 # that are meaningful with *any* GNU software. | 47 # that are meaningful with *any* GNU software. |
45 # Each package is responsible for reporting which valid configurations | 48 # Each package is responsible for reporting which valid configurations |
120 # Here we must recognize all the valid KERNEL-OS combinations. | 123 # Here we must recognize all the valid KERNEL-OS combinations. |
121 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 124 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
122 case $maybe_os in | 125 case $maybe_os in |
123 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ | 126 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ |
124 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ | 127 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ |
128 kopensolaris*-gnu* | \ | |
125 storm-chaos* | os2-emx* | rtmk-nova*) | 129 storm-chaos* | os2-emx* | rtmk-nova*) |
126 os=-$maybe_os | 130 os=-$maybe_os |
127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | 131 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
128 ;; | 132 ;; |
129 *) | 133 *) |
146 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ | 150 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ |
147 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ | 151 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ |
148 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ | 152 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
149 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ | 153 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
150 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | 154 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
151 -apple | -axis | -knuth | -cray) | 155 -apple | -axis | -knuth | -cray | -microblaze) |
152 os= | 156 os= |
153 basic_machine=$1 | 157 basic_machine=$1 |
158 ;; | |
159 -bluegene*) | |
160 os=-cnk | |
154 ;; | 161 ;; |
155 -sim | -cisco | -oki | -wec | -winbond) | 162 -sim | -cisco | -oki | -wec | -winbond) |
156 os= | 163 os= |
157 basic_machine=$1 | 164 basic_machine=$1 |
158 ;; | 165 ;; |
269 | mipsisa64r2 | mipsisa64r2el \ | 276 | mipsisa64r2 | mipsisa64r2el \ |
270 | mipsisa64sb1 | mipsisa64sb1el \ | 277 | mipsisa64sb1 | mipsisa64sb1el \ |
271 | mipsisa64sr71k | mipsisa64sr71kel \ | 278 | mipsisa64sr71k | mipsisa64sr71kel \ |
272 | mipstx39 | mipstx39el \ | 279 | mipstx39 | mipstx39el \ |
273 | mn10200 | mn10300 \ | 280 | mn10200 | mn10300 \ |
281 | moxie \ | |
274 | mt \ | 282 | mt \ |
275 | msp430 \ | 283 | msp430 \ |
276 | nios | nios2 \ | 284 | nios | nios2 \ |
277 | ns16k | ns32k \ | 285 | ns16k | ns32k \ |
278 | or32 \ | 286 | or32 \ |
279 | pdp10 | pdp11 | pj | pjl \ | 287 | pdp10 | pdp11 | pj | pjl \ |
280 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 288 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
281 | pyramid \ | 289 | pyramid \ |
290 | rx \ | |
282 | score \ | 291 | score \ |
283 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | 292 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
284 | sh64 | sh64le \ | 293 | sh64 | sh64le \ |
285 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | 294 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
286 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | 295 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
287 | spu | strongarm \ | 296 | spu | strongarm \ |
288 | tahoe | thumb | tic4x | tic80 | tron \ | 297 | tahoe | thumb | tic4x | tic80 | tron \ |
298 | ubicom32 \ | |
289 | v850 | v850e \ | 299 | v850 | v850e \ |
290 | we32k \ | 300 | we32k \ |
291 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | 301 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
292 | z8k | z80) | 302 | z8k | z80) |
293 basic_machine=$basic_machine-unknown | 303 basic_machine=$basic_machine-unknown |
294 ;; | 304 ;; |
295 m6811 | m68hc11 | m6812 | m68hc12) | 305 m6811 | m68hc11 | m6812 | m68hc12 | picochip) |
296 # Motorola 68HC11/12. | 306 # Motorola 68HC11/12. |
297 basic_machine=$basic_machine-unknown | 307 basic_machine=$basic_machine-unknown |
298 os=-none | 308 os=-none |
299 ;; | 309 ;; |
300 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) | 310 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) |
333 | i*86-* | i860-* | i960-* | ia64-* \ | 343 | i*86-* | i860-* | i960-* | ia64-* \ |
334 | ip2k-* | iq2000-* \ | 344 | ip2k-* | iq2000-* \ |
335 | lm32-* \ | 345 | lm32-* \ |
336 | m32c-* | m32r-* | m32rle-* \ | 346 | m32c-* | m32r-* | m32rle-* \ |
337 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | 347 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
338 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | 348 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ |
339 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | 349 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
340 | mips16-* \ | 350 | mips16-* \ |
341 | mips64-* | mips64el-* \ | 351 | mips64-* | mips64el-* \ |
342 | mips64octeon-* | mips64octeonel-* \ | 352 | mips64octeon-* | mips64octeonel-* \ |
343 | mips64orion-* | mips64orionel-* \ | 353 | mips64orion-* | mips64orionel-* \ |
361 | none-* | np1-* | ns16k-* | ns32k-* \ | 371 | none-* | np1-* | ns16k-* | ns32k-* \ |
362 | orion-* \ | 372 | orion-* \ |
363 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 373 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
364 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | 374 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
365 | pyramid-* \ | 375 | pyramid-* \ |
366 | romp-* | rs6000-* \ | 376 | romp-* | rs6000-* | rx-* \ |
367 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | 377 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
368 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 378 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
369 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | 379 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
370 | sparclite-* \ | 380 | sparclite-* \ |
371 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | 381 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
372 | tahoe-* | thumb-* \ | 382 | tahoe-* | thumb-* \ |
373 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ | 383 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ |
374 | tron-* \ | 384 | tron-* \ |
385 | ubicom32-* \ | |
375 | v850-* | v850e-* | vax-* \ | 386 | v850-* | v850e-* | vax-* \ |
376 | we32k-* \ | 387 | we32k-* \ |
377 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | 388 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
378 | xstormy16-* | xtensa*-* \ | 389 | xstormy16-* | xtensa*-* \ |
379 | ymp-* \ | 390 | ymp-* \ |
443 ;; | 454 ;; |
444 apollo68bsd) | 455 apollo68bsd) |
445 basic_machine=m68k-apollo | 456 basic_machine=m68k-apollo |
446 os=-bsd | 457 os=-bsd |
447 ;; | 458 ;; |
459 aros) | |
460 basic_machine=i386-pc | |
461 os=-aros | |
462 ;; | |
448 aux) | 463 aux) |
449 basic_machine=m68k-apple | 464 basic_machine=m68k-apple |
450 os=-aux | 465 os=-aux |
451 ;; | 466 ;; |
452 balance) | 467 balance) |
458 os=-linux | 473 os=-linux |
459 ;; | 474 ;; |
460 blackfin-*) | 475 blackfin-*) |
461 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | 476 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` |
462 os=-linux | 477 os=-linux |
478 ;; | |
479 bluegene*) | |
480 basic_machine=powerpc-ibm | |
481 os=-cnk | |
463 ;; | 482 ;; |
464 c90) | 483 c90) |
465 basic_machine=c90-cray | 484 basic_machine=c90-cray |
466 os=-unicos | 485 os=-unicos |
467 ;; | 486 ;; |
710 os=-sysv | 729 os=-sysv |
711 ;; | 730 ;; |
712 merlin) | 731 merlin) |
713 basic_machine=ns32k-utek | 732 basic_machine=ns32k-utek |
714 os=-sysv | 733 os=-sysv |
734 ;; | |
735 microblaze) | |
736 basic_machine=microblaze-xilinx | |
715 ;; | 737 ;; |
716 mingw32) | 738 mingw32) |
717 basic_machine=i386-pc | 739 basic_machine=i386-pc |
718 os=-mingw32 | 740 os=-mingw32 |
719 ;; | 741 ;; |
1252 # First accept the basic system types. | 1274 # First accept the basic system types. |
1253 # The portable systems comes first. | 1275 # The portable systems comes first. |
1254 # Each alternative MUST END IN A *, to match a version number. | 1276 # Each alternative MUST END IN A *, to match a version number. |
1255 # -sysv* is not here because it comes later, after sysvr4. | 1277 # -sysv* is not here because it comes later, after sysvr4. |
1256 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | 1278 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1257 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | 1279 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1258 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | 1280 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ |
1281 | -kopensolaris* \ | |
1259 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | 1282 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1260 | -aos* \ | 1283 | -aos* | -aros* \ |
1261 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 1284 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1262 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | 1285 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1263 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | 1286 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1264 | -openbsd* | -solidbsd* \ | 1287 | -openbsd* | -solidbsd* \ |
1265 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | 1288 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1274 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1297 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1275 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1298 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1276 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1299 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1277 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1300 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1278 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | 1301 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1279 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) | 1302 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) |
1280 # Remember, each alternative MUST END IN *, to match a version number. | 1303 # Remember, each alternative MUST END IN *, to match a version number. |
1281 ;; | 1304 ;; |
1282 -qnx*) | 1305 -qnx*) |
1283 case $basic_machine in | 1306 case $basic_machine in |
1284 x86-* | i*86-*) | 1307 x86-* | i*86-*) |
1604 vendor=acorn | 1627 vendor=acorn |
1605 ;; | 1628 ;; |
1606 -sunos*) | 1629 -sunos*) |
1607 vendor=sun | 1630 vendor=sun |
1608 ;; | 1631 ;; |
1609 -aix*) | 1632 -cnk*|-aix*) |
1610 vendor=ibm | 1633 vendor=ibm |
1611 ;; | 1634 ;; |
1612 -beos*) | 1635 -beos*) |
1613 vendor=be | 1636 vendor=be |
1614 ;; | 1637 ;; |