ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/config.sub
(Generate patch)

Comparing ircd-hybrid/config.sub (file contents):
Revision 1028 by michael, Sun Nov 8 13:03:38 2009 UTC vs.
Revision 1042 by michael, Thu Dec 10 13:01:59 2009 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
5   #   Free Software Foundation, Inc.
6  
7 < timestamp='2009-04-17'
7 > timestamp='2009-11-20'
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 149 | Line 152 | case $os in
152          -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
153          -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
154          -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
155 <        -apple | -axis | -knuth | -cray)
155 >        -apple | -axis | -knuth | -cray | -microblaze)
156                  os=
157                  basic_machine=$1
158                  ;;
159 +        -bluegene*)
160 +                os=-cnk
161 +                ;;
162          -sim | -cisco | -oki | -wec | -winbond)
163                  os=
164                  basic_machine=$1
# Line 281 | Line 287 | case $basic_machine in
287          | pdp10 | pdp11 | pj | pjl \
288          | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
289          | pyramid \
290 +        | rx \
291          | score \
292          | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
293          | sh64 | sh64le \
# Line 288 | Line 295 | case $basic_machine in
295          | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
296          | spu | strongarm \
297          | tahoe | thumb | tic4x | tic80 | tron \
298 +        | ubicom32 \
299          | v850 | v850e \
300          | we32k \
301          | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
302          | z8k | z80)
303                  basic_machine=$basic_machine-unknown
304                  ;;
305 <        m6811 | m68hc11 | m6812 | m68hc12)
305 >        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
306                  # Motorola 68HC11/12.
307                  basic_machine=$basic_machine-unknown
308                  os=-none
# Line 337 | Line 345 | case $basic_machine in
345          | lm32-* \
346          | m32c-* | m32r-* | m32rle-* \
347          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
348 <        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
348 >        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
349          | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
350          | mips16-* \
351          | mips64-* | mips64el-* \
# Line 365 | Line 373 | case $basic_machine in
373          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
374          | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
375          | pyramid-* \
376 <        | romp-* | rs6000-* \
376 >        | romp-* | rs6000-* | rx-* \
377          | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
378          | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
379          | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
# Line 374 | Line 382 | case $basic_machine in
382          | tahoe-* | thumb-* \
383          | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
384          | tron-* \
385 +        | ubicom32-* \
386          | v850-* | v850e-* | vax-* \
387          | we32k-* \
388          | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
# Line 467 | Line 476 | case $basic_machine in
476                  basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
477                  os=-linux
478                  ;;
479 +        bluegene*)
480 +                basic_machine=powerpc-ibm
481 +                os=-cnk
482 +                ;;
483          c90)
484                  basic_machine=c90-cray
485                  os=-unicos
# Line 719 | Line 732 | case $basic_machine in
732                  basic_machine=ns32k-utek
733                  os=-sysv
734                  ;;
735 +        microblaze)
736 +                basic_machine=microblaze-xilinx
737 +                ;;
738          mingw32)
739                  basic_machine=i386-pc
740                  os=-mingw32
# Line 1240 | Line 1256 | case $os in
1256          # First match some system type aliases
1257          # that might get confused with valid system types.
1258          # -solaris* is a basic system type, with this one exception.
1259 +        -auroraux)
1260 +                os=-auroraux
1261 +                ;;
1262          -solaris1 | -solaris1.*)
1263                  os=`echo $os | sed -e 's|solaris1|sunos4|'`
1264                  ;;
# Line 1260 | Line 1279 | case $os in
1279          # Each alternative MUST END IN A *, to match a version number.
1280          # -sysv* is not here because it comes later, after sysvr4.
1281          -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1282 <              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1283 <              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1284 <              | -kopensolaris* \
1282 >              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1283 >              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1284 >              | -sym* | -kopensolaris* \
1285                | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1286                | -aos* | -aros* \
1287                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
# Line 1283 | Line 1302 | case $os in
1302                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1303                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1304                | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1305 <              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
1305 >              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1306          # Remember, each alternative MUST END IN *, to match a version number.
1307                  ;;
1308          -qnx*)
# Line 1613 | Line 1632 | case $basic_machine in
1632                          -sunos*)
1633                                  vendor=sun
1634                                  ;;
1635 <                        -aix*)
1635 >                        -cnk*|-aix*)
1636                                  vendor=ibm
1637                                  ;;
1638                          -beos*)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines