ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/ac-tools/config.sub
(Generate patch)

Comparing branches/development/ac-tools/config.sub (file contents):
Revision 1465 by chuckv, Fri Jul 9 23:08:25 2010 UTC vs.
Revision 1635 by gezelter, Thu Sep 15 16:24:03 2011 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Configuration validation subroutine script.
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, 2010
5   #   Free Software Foundation, Inc.
6  
7 < timestamp='2009-04-17'
7 > timestamp='2010-09-11'
8  
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
# Line 32 | Line 32 | timestamp='2009-04-17'
32  
33  
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   #
37   # Configuration subroutine to validate and canonicalize a configuration type.
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.
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
44 +
45   # This file is supposed to be the same for all GNU packages
46   # and recognize all the CPU types, system types and aliases
47   # that are meaningful with *any* GNU software.
# Line 72 | Line 75 | GNU config.sub ($timestamp)
75   version="\
76   GNU config.sub ($timestamp)
77  
78 < Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
79 < 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
78 > Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
79 > 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
80 > Software Foundation, Inc.
81  
82   This is free software; see the source for copying conditions.  There is NO
83   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
# Line 120 | Line 124 | case $maybe_os in
124   # Here we must recognize all the valid KERNEL-OS combinations.
125   maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
126   case $maybe_os in
127 <  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
128 <  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
127 >  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
128 >  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
129 >  knetbsd*-gnu* | netbsd*-gnu* | \
130    kopensolaris*-gnu* | \
131    storm-chaos* | os2-emx* | rtmk-nova*)
132      os=-$maybe_os
# Line 149 | Line 154 | case $os in
154          -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
155          -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
156          -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
157 <        -apple | -axis | -knuth | -cray)
157 >        -apple | -axis | -knuth | -cray | -microblaze)
158                  os=
159                  basic_machine=$1
160                  ;;
161 +        -bluegene*)
162 +                os=-cnk
163 +                ;;
164          -sim | -cisco | -oki | -wec | -winbond)
165                  os=
166                  basic_machine=$1
# Line 275 | Line 283 | case $basic_machine in
283          | moxie \
284          | mt \
285          | msp430 \
286 +        | nds32 | nds32le | nds32be \
287          | nios | nios2 \
288          | ns16k | ns32k \
289          | or32 \
290          | pdp10 | pdp11 | pj | pjl \
291          | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
292          | pyramid \
293 +        | rx \
294          | score \
295          | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
296          | sh64 | sh64le \
297          | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
298          | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
299          | spu | strongarm \
300 <        | tahoe | thumb | tic4x | tic80 | tron \
300 >        | tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
301 >        | ubicom32 \
302          | v850 | v850e \
303          | we32k \
304          | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
305          | z8k | z80)
306                  basic_machine=$basic_machine-unknown
307                  ;;
308 <        m6811 | m68hc11 | m6812 | m68hc12)
308 >        c54x)
309 >                basic_machine=tic54x-unknown
310 >                ;;
311 >        c55x)
312 >                basic_machine=tic55x-unknown
313 >                ;;
314 >        c6x)
315 >                basic_machine=tic6x-unknown
316 >                ;;
317 >        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
318                  # Motorola 68HC11/12.
319                  basic_machine=$basic_machine-unknown
320                  os=-none
# Line 325 | Line 345 | case $basic_machine in
345          | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
346          | avr-* | avr32-* \
347          | bfin-* | bs2000-* \
348 <        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
348 >        | c[123]* | c30-* | [cjt]90-* | c4x-* \
349          | clipper-* | craynv-* | cydra-* \
350          | d10v-* | d30v-* | dlx-* \
351          | elxsi-* \
# Line 337 | Line 357 | case $basic_machine in
357          | lm32-* \
358          | m32c-* | m32r-* | m32rle-* \
359          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
360 <        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
360 >        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
361          | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
362          | mips16-* \
363          | mips64-* | mips64el-* \
# Line 359 | Line 379 | case $basic_machine in
379          | mmix-* \
380          | mt-* \
381          | msp430-* \
382 +        | nds32-* | nds32le-* | nds32be-* \
383          | nios-* | nios2-* \
384          | none-* | np1-* | ns16k-* | ns32k-* \
385          | orion-* \
386          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
387          | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
388          | pyramid-* \
389 <        | romp-* | rs6000-* \
389 >        | romp-* | rs6000-* | rx-* \
390          | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
391          | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
392          | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
393          | sparclite-* \
394          | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
395          | tahoe-* | thumb-* \
396 <        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
396 >        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
397 >        | tile-* | tilegx-* \
398          | tron-* \
399 +        | ubicom32-* \
400          | v850-* | v850e-* | vax-* \
401          | we32k-* \
402          | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
# Line 467 | Line 490 | case $basic_machine in
490                  basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
491                  os=-linux
492                  ;;
493 +        bluegene*)
494 +                basic_machine=powerpc-ibm
495 +                os=-cnk
496 +                ;;
497 +        c54x-*)
498 +                basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
499 +                ;;
500 +        c55x-*)
501 +                basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
502 +                ;;
503 +        c6x-*)
504 +                basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
505 +                ;;
506          c90)
507                  basic_machine=c90-cray
508                  os=-unicos
# Line 718 | Line 754 | case $basic_machine in
754          merlin)
755                  basic_machine=ns32k-utek
756                  os=-sysv
757 +                ;;
758 +        microblaze)
759 +                basic_machine=microblaze-xilinx
760                  ;;
761          mingw32)
762                  basic_machine=i386-pc
# Line 822 | Line 861 | case $basic_machine in
861                  ;;
862          np1)
863                  basic_machine=np1-gould
864 +                ;;
865 +        neo-tandem)
866 +                basic_machine=neo-tandem
867 +                ;;
868 +        nse-tandem)
869 +                basic_machine=nse-tandem
870                  ;;
871          nsr-tandem)
872                  basic_machine=nsr-tandem
# Line 1057 | Line 1102 | case $basic_machine in
1102                  basic_machine=t90-cray
1103                  os=-unicos
1104                  ;;
1105 <        tic54x | c54x*)
1106 <                basic_machine=tic54x-unknown
1107 <                os=-coff
1108 <                ;;
1064 <        tic55x | c55x*)
1065 <                basic_machine=tic55x-unknown
1066 <                os=-coff
1067 <                ;;
1068 <        tic6x | c6x*)
1069 <                basic_machine=tic6x-unknown
1070 <                os=-coff
1105 >        # This must be matched before tile*.
1106 >        tilegx*)
1107 >                basic_machine=tilegx-unknown
1108 >                os=-linux-gnu
1109                  ;;
1110          tile*)
1111                  basic_machine=tile-unknown
# Line 1240 | Line 1278 | case $os in
1278          # First match some system type aliases
1279          # that might get confused with valid system types.
1280          # -solaris* is a basic system type, with this one exception.
1281 +        -auroraux)
1282 +                os=-auroraux
1283 +                ;;
1284          -solaris1 | -solaris1.*)
1285                  os=`echo $os | sed -e 's|solaris1|sunos4|'`
1286                  ;;
# Line 1260 | Line 1301 | case $os in
1301          # Each alternative MUST END IN A *, to match a version number.
1302          # -sysv* is not here because it comes later, after sysvr4.
1303          -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1304 <              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1305 <              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1306 <              | -kopensolaris* \
1304 >              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1305 >              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1306 >              | -sym* | -kopensolaris* \
1307                | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1308                | -aos* | -aros* \
1309                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
# Line 1275 | Line 1316 | case $os in
1316                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1317                | -chorusos* | -chorusrdb* | -cegcc* \
1318                | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1319 <              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1319 >              | -mingw32* | -linux-gnu* | -linux-android* \
1320 >              | -linux-newlib* | -linux-uclibc* \
1321                | -uxpv* | -beos* | -mpeix* | -udk* \
1322                | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1323                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
# Line 1283 | Line 1325 | case $os in
1325                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1326                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1327                | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1328 <              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
1328 >              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1329          # Remember, each alternative MUST END IN *, to match a version number.
1330                  ;;
1331          -qnx*)
# Line 1416 | Line 1458 | case $os in
1458          -dicos*)
1459                  os=-dicos
1460                  ;;
1461 +        -nacl*)
1462 +                ;;
1463          -none)
1464                  ;;
1465          *)
# Line 1456 | Line 1500 | case $basic_machine in
1500          c4x-* | tic4x-*)
1501                  os=-coff
1502                  ;;
1503 +        tic54x-*)
1504 +                os=-coff
1505 +                ;;
1506 +        tic55x-*)
1507 +                os=-coff
1508 +                ;;
1509 +        tic6x-*)
1510 +                os=-coff
1511 +                ;;
1512          # This must come before the *-dec entry.
1513          pdp10-*)
1514                  os=-tops20
# Line 1613 | Line 1666 | case $basic_machine in
1666                          -sunos*)
1667                                  vendor=sun
1668                                  ;;
1669 <                        -aix*)
1669 >                        -cnk*|-aix*)
1670                                  vendor=ibm
1671                                  ;;
1672                          -beos*)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines