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/trunk/config.sub (file contents), Revision 1662 by michael, Sat Nov 17 20:11:33 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-08-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 125 | Line 123 | esac
123   maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
124   case $maybe_os in
125    nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
126 <  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
126 >  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
127    knetbsd*-gnu* | netbsd*-gnu* | \
128    kopensolaris*-gnu* | \
129    storm-chaos* | os2-emx* | rtmk-nova*)
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 +        mingw64)
795 +                basic_machine=x86_64-pc
796 +                os=-mingw64
797 +                ;;
798          mingw32)
799                  basic_machine=i386-pc
800                  os=-mingw32
# Line 792 | Line 831 | case $basic_machine in
831          ms1-*)
832                  basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
833                  ;;
834 +        msys)
835 +                basic_machine=i386-pc
836 +                os=-msys
837 +                ;;
838          mvs)
839                  basic_machine=i370-ibm
840                  os=-mvs
841                  ;;
842 +        nacl)
843 +                basic_machine=le32-unknown
844 +                os=-nacl
845 +                ;;
846          ncr3000)
847                  basic_machine=i486-ncr
848                  os=-sysv4
# Line 860 | Line 907 | case $basic_machine in
907          np1)
908                  basic_machine=np1-gould
909                  ;;
910 +        neo-tandem)
911 +                basic_machine=neo-tandem
912 +                ;;
913 +        nse-tandem)
914 +                basic_machine=nse-tandem
915 +                ;;
916          nsr-tandem)
917                  basic_machine=nsr-tandem
918                  ;;
# Line 942 | Line 995 | case $basic_machine in
995                  ;;
996          power)  basic_machine=power-ibm
997                  ;;
998 <        ppc)    basic_machine=powerpc-unknown
998 >        ppc | ppcbe)    basic_machine=powerpc-unknown
999                  ;;
1000 <        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1000 >        ppc-* | ppcbe-*)
1001 >                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1002                  ;;
1003          ppcle | powerpclittle | ppc-le | powerpc-little)
1004                  basic_machine=powerpcle-unknown
# Line 1038 | Line 1092 | case $basic_machine in
1092                  basic_machine=i860-stratus
1093                  os=-sysv4
1094                  ;;
1095 +        strongarm-* | thumb-*)
1096 +                basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1097 +                ;;
1098          sun2)
1099                  basic_machine=m68000-sun
1100                  ;;
# Line 1094 | Line 1151 | case $basic_machine in
1151                  basic_machine=t90-cray
1152                  os=-unicos
1153                  ;;
1097        # This must be matched before tile*.
1098        tilegx*)
1099                basic_machine=tilegx-unknown
1100                os=-linux-gnu
1101                ;;
1154          tile*)
1155 <                basic_machine=tile-unknown
1155 >                basic_machine=$basic_machine-unknown
1156                  os=-linux-gnu
1157                  ;;
1158          tx39)
# Line 1170 | Line 1222 | case $basic_machine in
1222          xps | xps100)
1223                  basic_machine=xps100-honeywell
1224                  ;;
1225 +        xscale-* | xscalee[bl]-*)
1226 +                basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1227 +                ;;
1228          ymp)
1229                  basic_machine=ymp-cray
1230                  os=-unicos
# Line 1267 | Line 1322 | esac
1322   if [ x"$os" != x"" ]
1323   then
1324   case $os in
1325 <        # First match some system type aliases
1326 <        # that might get confused with valid system types.
1325 >        # First match some system type aliases
1326 >        # that might get confused with valid system types.
1327          # -solaris* is a basic system type, with this one exception.
1328 <        -auroraux)
1329 <                os=-auroraux
1328 >        -auroraux)
1329 >                os=-auroraux
1330                  ;;
1331          -solaris1 | -solaris1.*)
1332                  os=`echo $os | sed -e 's|solaris1|sunos4|'`
# Line 1301 | Line 1356 | case $os in
1356                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1357                | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1358                | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1359 <              | -openbsd* | -solidbsd* \
1359 >              | -bitrig* | -openbsd* | -solidbsd* \
1360                | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1361                | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1362                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1363                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1364                | -chorusos* | -chorusrdb* | -cegcc* \
1365 <              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1366 <              | -mingw32* | -linux-gnu* | -linux-android* \
1367 <              | -linux-newlib* | -linux-uclibc* \
1365 >              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1366 >              | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1367 >              | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1368                | -uxpv* | -beos* | -mpeix* | -udk* \
1369                | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1370                | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
# Line 1356 | Line 1411 | case $os in
1411          -opened*)
1412                  os=-openedition
1413                  ;;
1414 <        -os400*)
1414 >        -os400*)
1415                  os=-os400
1416                  ;;
1417          -wince*)
# Line 1405 | Line 1460 | case $os in
1460          -sinix*)
1461                  os=-sysv4
1462                  ;;
1463 <        -tpf*)
1463 >        -tpf*)
1464                  os=-tpf
1465                  ;;
1466          -triton*)
# Line 1450 | Line 1505 | case $os in
1505          -dicos*)
1506                  os=-dicos
1507                  ;;
1508 <        -nacl*)
1509 <                ;;
1508 >        -nacl*)
1509 >                ;;
1510          -none)
1511                  ;;
1512          *)
# Line 1474 | Line 1529 | else
1529   # system, and we'll never get to this point.
1530  
1531   case $basic_machine in
1532 <        score-*)
1532 >        score-*)
1533                  os=-elf
1534                  ;;
1535 <        spu-*)
1535 >        spu-*)
1536                  os=-elf
1537                  ;;
1538          *-acorn)
# Line 1489 | Line 1544 | case $basic_machine in
1544          arm*-semi)
1545                  os=-aout
1546                  ;;
1547 <        c4x-* | tic4x-*)
1548 <                os=-coff
1547 >        c4x-* | tic4x-*)
1548 >                os=-coff
1549 >                ;;
1550 >        hexagon-*)
1551 >                os=-elf
1552                  ;;
1553          tic54x-*)
1554                  os=-coff
# Line 1519 | Line 1577 | case $basic_machine in
1577                  ;;
1578          m68000-sun)
1579                  os=-sunos3
1522                # This also exists in the configure program, but was not the
1523                # default.
1524                # os=-sunos4
1580                  ;;
1581          m68*-cisco)
1582                  os=-aout
1583                  ;;
1584 <        mep-*)
1584 >        mep-*)
1585                  os=-elf
1586                  ;;
1587          mips*-cisco)
# Line 1553 | Line 1608 | case $basic_machine in
1608          *-ibm)
1609                  os=-aix
1610                  ;;
1611 <        *-knuth)
1611 >        *-knuth)
1612                  os=-mmixware
1613                  ;;
1614          *-wec)

Comparing:
ircd-hybrid-7.3/config.sub (property svn:eol-style), Revision 1094 by michael, Sun Jun 13 10:09:34 2010 UTC vs.
ircd-hybrid/trunk/config.sub (property svn:eol-style), Revision 1662 by michael, Sat Nov 17 20:11:33 2012 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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