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

Comparing ircd-hybrid-8/config.sub (file contents):
Revision 1156 by michael, Tue Aug 9 20:29:20 2011 UTC vs.
Revision 1257 by michael, Sun Jan 15 06:28:46 2012 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, 2009, 2010
5 < #   Free Software Foundation, Inc.
4 > #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5 > #   2011 Free Software Foundation, Inc.
6  
7 < timestamp='2010-09-11'
7 > timestamp='2011-11-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 76 | Line 76 | version="\
76   GNU config.sub ($timestamp)
77  
78   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
79 < 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
79 > 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
80   Software Foundation, Inc.
81  
82   This is free software; see the source for copying conditions.  There is NO
# Line 158 | Line 158 | case $os in
158                  os=
159                  basic_machine=$1
160                  ;;
161 <        -bluegene*)
162 <                os=-cnk
161 >        -bluegene*)
162 >                os=-cnk
163                  ;;
164          -sim | -cisco | -oki | -wec | -winbond)
165                  os=
# Line 175 | Line 175 | case $os in
175                  os=-chorusos
176                  basic_machine=$1
177                  ;;
178 <        -chorusrdb)
179 <                os=-chorusrdb
178 >        -chorusrdb)
179 >                os=-chorusrdb
180                  basic_machine=$1
181 <                ;;
181 >                ;;
182          -hiux*)
183                  os=-hiuxwe2
184                  ;;
# Line 251 | Line 251 | case $basic_machine in
251          | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
252          | am33_2.0 \
253          | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
254 +        | be32 | be64 \
255          | bfin \
256          | c4x | clipper \
257          | d10v | d30v | dlx | dsp16xx \
258 +        | epiphany \
259          | fido | fr30 | frv \
260          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
261 +        | hexagon \
262          | i370 | i860 | i960 | ia64 \
263          | ip2k | iq2000 \
264 +        | le32 | le64 \
265          | lm32 \
266          | m32c | m32r | m32rle | m68000 | m68k | m88k \
267          | maxq | mb | microblaze | mcore | mep | metag \
# Line 286 | Line 290 | case $basic_machine in
290          | nds32 | nds32le | nds32be \
291          | nios | nios2 \
292          | ns16k | ns32k \
293 +        | open8 \
294          | or32 \
295          | pdp10 | pdp11 | pj | pjl \
296 <        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
296 >        | powerpc | powerpc64 | powerpc64le | powerpcle \
297          | pyramid \
298 <        | rx \
298 >        | rl78 | rx \
299          | score \
300          | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
301          | sh64 | sh64le \
302          | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
303          | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
304 <        | spu | strongarm \
305 <        | tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
304 >        | spu \
305 >        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
306          | ubicom32 \
307 <        | v850 | v850e \
307 >        | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
308          | we32k \
309 <        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
309 >        | x86 | xc16x | xstormy16 | xtensa \
310          | z8k | z80)
311                  basic_machine=$basic_machine-unknown
312                  ;;
# Line 325 | Line 330 | case $basic_machine in
330                  basic_machine=mt-unknown
331                  ;;
332  
333 +        strongarm | thumb | xscale)
334 +                basic_machine=arm-unknown
335 +                ;;
336 +
337 +        xscaleeb)
338 +                basic_machine=armeb-unknown
339 +                ;;
340 +
341 +        xscaleel)
342 +                basic_machine=armel-unknown
343 +                ;;
344 +
345          # We use `pc' rather than `unknown'
346          # because (1) that's what they normally are, and
347          # (2) the word "unknown" tends to confuse beginning users.
# Line 344 | Line 361 | case $basic_machine in
361          | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
362          | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
363          | avr-* | avr32-* \
364 +        | be32-* | be64-* \
365          | bfin-* | bs2000-* \
366          | c[123]* | c30-* | [cjt]90-* | c4x-* \
367          | clipper-* | craynv-* | cydra-* \
# Line 352 | Line 370 | case $basic_machine in
370          | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
371          | h8300-* | h8500-* \
372          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
373 +        | hexagon-* \
374          | i*86-* | i860-* | i960-* | ia64-* \
375          | ip2k-* | iq2000-* \
376 +        | le32-* | le64-* \
377          | lm32-* \
378          | m32c-* | m32r-* | m32rle-* \
379          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
# Line 382 | Line 402 | case $basic_machine in
402          | nds32-* | nds32le-* | nds32be-* \
403          | nios-* | nios2-* \
404          | none-* | np1-* | ns16k-* | ns32k-* \
405 +        | open8-* \
406          | orion-* \
407          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
408 <        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
408 >        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
409          | pyramid-* \
410 <        | romp-* | rs6000-* | rx-* \
410 >        | rl78-* | romp-* | rs6000-* | rx-* \
411          | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
412          | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
413          | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
414          | sparclite-* \
415 <        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
416 <        | tahoe-* | thumb-* \
415 >        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
416 >        | tahoe-* \
417          | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
418 <        | tile-* | tilegx-* \
418 >        | tile*-* \
419          | tron-* \
420          | ubicom32-* \
421 <        | v850-* | v850e-* | vax-* \
421 >        | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
422 >        | vax-* \
423          | we32k-* \
424 <        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
424 >        | x86-* | x86_64-* | xc16x-* | xps100-* \
425          | xstormy16-* | xtensa*-* \
426          | ymp-* \
427          | z8k-* | z80-*)
# Line 424 | Line 446 | case $basic_machine in
446                  basic_machine=a29k-amd
447                  os=-udi
448                  ;;
449 <        abacus)
449 >        abacus)
450                  basic_machine=abacus-unknown
451                  ;;
452          adobe68k)
# Line 507 | Line 529 | case $basic_machine in
529                  basic_machine=c90-cray
530                  os=-unicos
531                  ;;
532 <        cegcc)
532 >        cegcc)
533                  basic_machine=arm-unknown
534                  os=-cegcc
535                  ;;
# Line 539 | Line 561 | case $basic_machine in
561                  basic_machine=craynv-cray
562                  os=-unicosmp
563                  ;;
564 <        cr16)
564 >        cr16 | cr16-*)
565                  basic_machine=cr16-unknown
566                  os=-elf
567                  ;;
# Line 755 | Line 777 | case $basic_machine in
777                  basic_machine=ns32k-utek
778                  os=-sysv
779                  ;;
780 <        microblaze)
780 >        microblaze)
781                  basic_machine=microblaze-xilinx
782                  ;;
783          mingw32)
# Line 794 | Line 816 | case $basic_machine in
816          ms1-*)
817                  basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
818                  ;;
819 +        msys)
820 +                basic_machine=i386-pc
821 +                os=-msys
822 +                ;;
823          mvs)
824                  basic_machine=i370-ibm
825                  os=-mvs
826                  ;;
827 +        nacl)
828 +                basic_machine=le32-unknown
829 +                os=-nacl
830 +                ;;
831          ncr3000)
832                  basic_machine=i486-ncr
833                  os=-sysv4
# Line 862 | Line 892 | case $basic_machine in
892          np1)
893                  basic_machine=np1-gould
894                  ;;
895 <        neo-tandem)
895 >        neo-tandem)
896                  basic_machine=neo-tandem
897                  ;;
898 <        nse-tandem)
898 >        nse-tandem)
899                  basic_machine=nse-tandem
900                  ;;
901          nsr-tandem)
# Line 950 | Line 980 | case $basic_machine in
980                  ;;
981          power)  basic_machine=power-ibm
982                  ;;
983 <        ppc)    basic_machine=powerpc-unknown
983 >        ppc | ppcbe)    basic_machine=powerpc-unknown
984                  ;;
985 <        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
985 >        ppc-* | ppcbe-*)
986 >                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
987                  ;;
988          ppcle | powerpclittle | ppc-le | powerpc-little)
989                  basic_machine=powerpcle-unknown
# Line 1046 | Line 1077 | case $basic_machine in
1077                  basic_machine=i860-stratus
1078                  os=-sysv4
1079                  ;;
1080 +        strongarm-* | thumb-*)
1081 +                basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1082 +                ;;
1083          sun2)
1084                  basic_machine=m68000-sun
1085                  ;;
# Line 1102 | Line 1136 | case $basic_machine in
1136                  basic_machine=t90-cray
1137                  os=-unicos
1138                  ;;
1105        # This must be matched before tile*.
1106        tilegx*)
1107                basic_machine=tilegx-unknown
1108                os=-linux-gnu
1109                ;;
1139          tile*)
1140 <                basic_machine=tile-unknown
1140 >                basic_machine=$basic_machine-unknown
1141                  os=-linux-gnu
1142                  ;;
1143          tx39)
# Line 1178 | Line 1207 | case $basic_machine in
1207          xps | xps100)
1208                  basic_machine=xps100-honeywell
1209                  ;;
1210 +        xscale-* | xscalee[bl]-*)
1211 +                basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1212 +                ;;
1213          ymp)
1214                  basic_machine=ymp-cray
1215                  os=-unicos
# Line 1275 | Line 1307 | esac
1307   if [ x"$os" != x"" ]
1308   then
1309   case $os in
1310 <        # First match some system type aliases
1311 <        # that might get confused with valid system types.
1310 >        # First match some system type aliases
1311 >        # that might get confused with valid system types.
1312          # -solaris* is a basic system type, with this one exception.
1313 <        -auroraux)
1314 <                os=-auroraux
1313 >        -auroraux)
1314 >                os=-auroraux
1315                  ;;
1316          -solaris1 | -solaris1.*)
1317                  os=`echo $os | sed -e 's|solaris1|sunos4|'`
# Line 1315 | Line 1347 | case $os in
1347                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1348                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1349                | -chorusos* | -chorusrdb* | -cegcc* \
1350 <              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1350 >              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1351                | -mingw32* | -linux-gnu* | -linux-android* \
1352                | -linux-newlib* | -linux-uclibc* \
1353                | -uxpv* | -beos* | -mpeix* | -udk* \
# Line 1364 | Line 1396 | case $os in
1396          -opened*)
1397                  os=-openedition
1398                  ;;
1399 <        -os400*)
1399 >        -os400*)
1400                  os=-os400
1401                  ;;
1402          -wince*)
# Line 1413 | Line 1445 | case $os in
1445          -sinix*)
1446                  os=-sysv4
1447                  ;;
1448 <        -tpf*)
1448 >        -tpf*)
1449                  os=-tpf
1450                  ;;
1451          -triton*)
# Line 1458 | Line 1490 | case $os in
1490          -dicos*)
1491                  os=-dicos
1492                  ;;
1493 <        -nacl*)
1494 <                ;;
1493 >        -nacl*)
1494 >                ;;
1495          -none)
1496                  ;;
1497          *)
# Line 1482 | Line 1514 | else
1514   # system, and we'll never get to this point.
1515  
1516   case $basic_machine in
1517 <        score-*)
1517 >        score-*)
1518                  os=-elf
1519                  ;;
1520 <        spu-*)
1520 >        spu-*)
1521                  os=-elf
1522                  ;;
1523          *-acorn)
# Line 1497 | Line 1529 | case $basic_machine in
1529          arm*-semi)
1530                  os=-aout
1531                  ;;
1532 <        c4x-* | tic4x-*)
1533 <                os=-coff
1532 >        c4x-* | tic4x-*)
1533 >                os=-coff
1534                  ;;
1535          tic54x-*)
1536                  os=-coff
# Line 1534 | Line 1566 | case $basic_machine in
1566          m68*-cisco)
1567                  os=-aout
1568                  ;;
1569 <        mep-*)
1569 >        mep-*)
1570                  os=-elf
1571                  ;;
1572          mips*-cisco)
# Line 1561 | Line 1593 | case $basic_machine in
1593          *-ibm)
1594                  os=-aix
1595                  ;;
1596 <        *-knuth)
1596 >        *-knuth)
1597                  os=-mmixware
1598                  ;;
1599          *-wec)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines