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

Comparing:
ircd-hybrid-7.3/config.sub (file contents), Revision 1094 by michael, Sun Jun 13 10:09:34 2010 UTC vs.
ircd-hybrid-8/config.sub (file contents), Revision 1425 by michael, Wed Jun 6 08:44:22 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, 2012 Free Software Foundation, Inc.
6  
7 < timestamp='2010-05-21'
7 > timestamp='2012-04-18'
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 21 | Line 21 | timestamp='2010-05-21'
21   # GNU General Public License for more details.
22   #
23   # You should have received a copy of the GNU General Public License
24 < # along with this program; if not, write to the Free Software
25 < # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26 < # 02110-1301, USA.
24 > # along with this program; if not, see <http://www.gnu.org/licenses/>.
25   #
26   # As a special exception to the GNU General Public License, if you
27   # distribute this file as part of a program that contains a
# Line 76 | Line 74 | version="\
74   GNU config.sub ($timestamp)
75  
76   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
77 < 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
78 < Software Foundation, Inc.
77 > 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
78 > Free Software Foundation, Inc.
79  
80   This is free software; see the source for copying conditions.  There is NO
81   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
# Line 132 | Line 130 | case $maybe_os in
130      os=-$maybe_os
131      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
132      ;;
133 +  android-linux)
134 +    os=-linux-android
135 +    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
136 +    ;;
137    *)
138      basic_machine=`echo $1 | sed 's/-[^-]*$//'`
139      if [ $basic_machine != $1 ]
# Line 158 | Line 160 | case $os in
160                  os=
161                  basic_machine=$1
162                  ;;
163 <        -bluegene*)
164 <                os=-cnk
163 >        -bluegene*)
164 >                os=-cnk
165                  ;;
166          -sim | -cisco | -oki | -wec | -winbond)
167                  os=
# Line 175 | Line 177 | case $os in
177                  os=-chorusos
178                  basic_machine=$1
179                  ;;
180 <        -chorusrdb)
181 <                os=-chorusrdb
180 >        -chorusrdb)
181 >                os=-chorusrdb
182                  basic_machine=$1
183 <                ;;
183 >                ;;
184          -hiux*)
185                  os=-hiuxwe2
186                  ;;
# Line 223 | Line 225 | case $os in
225          -isc*)
226                  basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
227                  ;;
228 +        -lynx*178)
229 +                os=-lynxos178
230 +                ;;
231 +        -lynx*5)
232 +                os=-lynxos5
233 +                ;;
234          -lynx*)
235                  os=-lynxos
236                  ;;
# Line 247 | Line 255 | case $basic_machine in
255          # Some are omitted here because they have special meanings below.
256          1750a | 580 \
257          | a29k \
258 +        | aarch64 | aarch64_be \
259          | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
260          | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
261          | am33_2.0 \
262          | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
263 +        | be32 | be64 \
264          | bfin \
265          | c4x | clipper \
266          | d10v | d30v | dlx | dsp16xx \
267 +        | epiphany \
268          | fido | fr30 | frv \
269          | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
270 +        | hexagon \
271          | i370 | i860 | i960 | ia64 \
272          | ip2k | iq2000 \
273 +        | le32 | le64 \
274          | lm32 \
275          | m32c | m32r | m32rle | m68000 | m68k | m88k \
276          | maxq | mb | microblaze | mcore | mep | metag \
# Line 283 | Line 296 | case $basic_machine in
296          | moxie \
297          | mt \
298          | msp430 \
299 +        | nds32 | nds32le | nds32be \
300          | nios | nios2 \
301          | ns16k | ns32k \
302 +        | open8 \
303          | or32 \
304          | pdp10 | pdp11 | pj | pjl \
305 <        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
305 >        | powerpc | powerpc64 | powerpc64le | powerpcle \
306          | pyramid \
307 <        | rx \
307 >        | rl78 | rx \
308          | score \
309          | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
310          | sh64 | sh64le \
311          | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
312          | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
313 <        | spu | strongarm \
314 <        | tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
313 >        | spu \
314 >        | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
315          | ubicom32 \
316 <        | v850 | v850e \
316 >        | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
317          | we32k \
318 <        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
318 >        | x86 | xc16x | xstormy16 | xtensa \
319          | z8k | z80)
320                  basic_machine=$basic_machine-unknown
321                  ;;
# Line 313 | Line 328 | case $basic_machine in
328          c6x)
329                  basic_machine=tic6x-unknown
330                  ;;
331 <        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
317 <                # Motorola 68HC11/12.
331 >        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
332                  basic_machine=$basic_machine-unknown
333                  os=-none
334                  ;;
# Line 324 | Line 338 | case $basic_machine in
338                  basic_machine=mt-unknown
339                  ;;
340  
341 +        strongarm | thumb | xscale)
342 +                basic_machine=arm-unknown
343 +                ;;
344 +        xgate)
345 +                basic_machine=$basic_machine-unknown
346 +                os=-none
347 +                ;;
348 +        xscaleeb)
349 +                basic_machine=armeb-unknown
350 +                ;;
351 +
352 +        xscaleel)
353 +                basic_machine=armel-unknown
354 +                ;;
355 +
356          # We use `pc' rather than `unknown'
357          # because (1) that's what they normally are, and
358          # (2) the word "unknown" tends to confuse beginning users.
# Line 338 | Line 367 | case $basic_machine in
367          # Recognize the basic CPU types with company name.
368          580-* \
369          | a29k-* \
370 +        | aarch64-* | aarch64_be-* \
371          | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
372          | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
373          | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
374          | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
375          | avr-* | avr32-* \
376 +        | be32-* | be64-* \
377          | bfin-* | bs2000-* \
378          | c[123]* | c30-* | [cjt]90-* | c4x-* \
379          | clipper-* | craynv-* | cydra-* \
# Line 351 | Line 382 | case $basic_machine in
382          | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
383          | h8300-* | h8500-* \
384          | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
385 +        | hexagon-* \
386          | i*86-* | i860-* | i960-* | ia64-* \
387          | ip2k-* | iq2000-* \
388 +        | le32-* | le64-* \
389          | lm32-* \
390          | m32c-* | m32r-* | m32rle-* \
391          | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
# Line 378 | Line 411 | case $basic_machine in
411          | mmix-* \
412          | mt-* \
413          | msp430-* \
414 +        | nds32-* | nds32le-* | nds32be-* \
415          | nios-* | nios2-* \
416          | none-* | np1-* | ns16k-* | ns32k-* \
417 +        | open8-* \
418          | orion-* \
419          | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
420 <        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
420 >        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
421          | pyramid-* \
422 <        | romp-* | rs6000-* | rx-* \
422 >        | rl78-* | romp-* | rs6000-* | rx-* \
423          | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
424          | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
425          | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
426          | sparclite-* \
427 <        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
428 <        | tahoe-* | thumb-* \
427 >        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
428 >        | tahoe-* \
429          | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
430 <        | tile-* | tilegx-* \
430 >        | tile*-* \
431          | tron-* \
432          | ubicom32-* \
433 <        | v850-* | v850e-* | vax-* \
433 >        | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
434 >        | vax-* \
435          | we32k-* \
436 <        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
436 >        | x86-* | x86_64-* | xc16x-* | xps100-* \
437          | xstormy16-* | xtensa*-* \
438          | ymp-* \
439          | z8k-* | z80-*)
# Line 422 | Line 458 | case $basic_machine in
458                  basic_machine=a29k-amd
459                  os=-udi
460                  ;;
461 <        abacus)
461 >        abacus)
462                  basic_machine=abacus-unknown
463                  ;;
464          adobe68k)
# Line 505 | Line 541 | case $basic_machine in
541                  basic_machine=c90-cray
542                  os=-unicos
543                  ;;
544 <        cegcc)
544 >        cegcc)
545                  basic_machine=arm-unknown
546                  os=-cegcc
547                  ;;
# Line 537 | Line 573 | case $basic_machine in
573                  basic_machine=craynv-cray
574                  os=-unicosmp
575                  ;;
576 <        cr16)
576 >        cr16 | cr16-*)
577                  basic_machine=cr16-unknown
578                  os=-elf
579                  ;;
# Line 695 | Line 731 | case $basic_machine in
731          i370-ibm* | ibm*)
732                  basic_machine=i370-ibm
733                  ;;
698 # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
734          i*86v32)
735                  basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
736                  os=-sysv32
# Line 753 | Line 788 | case $basic_machine in
788                  basic_machine=ns32k-utek
789                  os=-sysv
790                  ;;
791 <        microblaze)
791 >        microblaze)
792                  basic_machine=microblaze-xilinx
793                  ;;
794          mingw32)
# Line 792 | Line 827 | case $basic_machine in
827          ms1-*)
828                  basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
829                  ;;
830 +        msys)
831 +                basic_machine=i386-pc
832 +                os=-msys
833 +                ;;
834          mvs)
835                  basic_machine=i370-ibm
836                  os=-mvs
837                  ;;
838 +        nacl)
839 +                basic_machine=le32-unknown
840 +                os=-nacl
841 +                ;;
842          ncr3000)
843                  basic_machine=i486-ncr
844                  os=-sysv4
# Line 860 | Line 903 | case $basic_machine in
903          np1)
904                  basic_machine=np1-gould
905                  ;;
906 +        neo-tandem)
907 +                basic_machine=neo-tandem
908 +                ;;
909 +        nse-tandem)
910 +                basic_machine=nse-tandem
911 +                ;;
912          nsr-tandem)
913                  basic_machine=nsr-tandem
914                  ;;
# Line 942 | Line 991 | case $basic_machine in
991                  ;;
992          power)  basic_machine=power-ibm
993                  ;;
994 <        ppc)    basic_machine=powerpc-unknown
994 >        ppc | ppcbe)    basic_machine=powerpc-unknown
995                  ;;
996 <        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
996 >        ppc-* | ppcbe-*)
997 >                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
998                  ;;
999          ppcle | powerpclittle | ppc-le | powerpc-little)
1000                  basic_machine=powerpcle-unknown
# Line 1038 | Line 1088 | case $basic_machine in
1088                  basic_machine=i860-stratus
1089                  os=-sysv4
1090                  ;;
1091 +        strongarm-* | thumb-*)
1092 +                basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1093 +                ;;
1094          sun2)
1095                  basic_machine=m68000-sun
1096                  ;;
# Line 1094 | Line 1147 | case $basic_machine in
1147                  basic_machine=t90-cray
1148                  os=-unicos
1149                  ;;
1097        # This must be matched before tile*.
1098        tilegx*)
1099                basic_machine=tilegx-unknown
1100                os=-linux-gnu
1101                ;;
1150          tile*)
1151 <                basic_machine=tile-unknown
1151 >                basic_machine=$basic_machine-unknown
1152                  os=-linux-gnu
1153                  ;;
1154          tx39)
# Line 1170 | Line 1218 | case $basic_machine in
1218          xps | xps100)
1219                  basic_machine=xps100-honeywell
1220                  ;;
1221 +        xscale-* | xscalee[bl]-*)
1222 +                basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1223 +                ;;
1224          ymp)
1225                  basic_machine=ymp-cray
1226                  os=-unicos
# Line 1267 | Line 1318 | esac
1318   if [ x"$os" != x"" ]
1319   then
1320   case $os in
1321 <        # First match some system type aliases
1322 <        # that might get confused with valid system types.
1321 >        # First match some system type aliases
1322 >        # that might get confused with valid system types.
1323          # -solaris* is a basic system type, with this one exception.
1324 <        -auroraux)
1325 <                os=-auroraux
1324 >        -auroraux)
1325 >                os=-auroraux
1326                  ;;
1327          -solaris1 | -solaris1.*)
1328                  os=`echo $os | sed -e 's|solaris1|sunos4|'`
# Line 1307 | Line 1358 | case $os in
1358                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1359                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1360                | -chorusos* | -chorusrdb* | -cegcc* \
1361 <              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1361 >              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1362                | -mingw32* | -linux-gnu* | -linux-android* \
1363                | -linux-newlib* | -linux-uclibc* \
1364                | -uxpv* | -beos* | -mpeix* | -udk* \
# Line 1356 | Line 1407 | case $os in
1407          -opened*)
1408                  os=-openedition
1409                  ;;
1410 <        -os400*)
1410 >        -os400*)
1411                  os=-os400
1412                  ;;
1413          -wince*)
# Line 1405 | Line 1456 | case $os in
1456          -sinix*)
1457                  os=-sysv4
1458                  ;;
1459 <        -tpf*)
1459 >        -tpf*)
1460                  os=-tpf
1461                  ;;
1462          -triton*)
# Line 1450 | Line 1501 | case $os in
1501          -dicos*)
1502                  os=-dicos
1503                  ;;
1504 <        -nacl*)
1505 <                ;;
1504 >        -nacl*)
1505 >                ;;
1506          -none)
1507                  ;;
1508          *)
# Line 1474 | Line 1525 | else
1525   # system, and we'll never get to this point.
1526  
1527   case $basic_machine in
1528 <        score-*)
1528 >        score-*)
1529                  os=-elf
1530                  ;;
1531 <        spu-*)
1531 >        spu-*)
1532                  os=-elf
1533                  ;;
1534          *-acorn)
# Line 1489 | Line 1540 | case $basic_machine in
1540          arm*-semi)
1541                  os=-aout
1542                  ;;
1543 <        c4x-* | tic4x-*)
1544 <                os=-coff
1543 >        c4x-* | tic4x-*)
1544 >                os=-coff
1545                  ;;
1546          tic54x-*)
1547                  os=-coff
# Line 1519 | Line 1570 | case $basic_machine in
1570                  ;;
1571          m68000-sun)
1572                  os=-sunos3
1522                # This also exists in the configure program, but was not the
1523                # default.
1524                # os=-sunos4
1573                  ;;
1574          m68*-cisco)
1575                  os=-aout
1576                  ;;
1577 <        mep-*)
1577 >        mep-*)
1578                  os=-elf
1579                  ;;
1580          mips*-cisco)
# Line 1553 | Line 1601 | case $basic_machine in
1601          *-ibm)
1602                  os=-aix
1603                  ;;
1604 <        *-knuth)
1604 >        *-knuth)
1605                  os=-mmixware
1606                  ;;
1607          *-wec)

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)