Ignore:
Timestamp:
2013-01-21T23:38:47+13:00 (11 years ago)
Author:
davidb
Message:

New versions of config.guess and config.sub, needed so Android architecture recognized

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/config.sub

    r18019 r26773  
    22# Configuration validation subroutine script.
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002 Free Software Foundation, Inc.
    5 
    6 timestamp='2002-09-05'
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
     5#   2011 Free Software Foundation, Inc.
     6
     7timestamp='2011-11-11'
    78
    89# This file is (in principle) common to ALL GNU software.
     
    2223# You should have received a copy of the GNU General Public License
    2324# along with this program; if not, write to the Free Software
    24 # Foundation, Inc., 59 Temple Place - Suite 330,
    25 # Boston, MA 02111-1307, USA.
    26 
     25# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
     26# 02110-1301, USA.
     27#
    2728# As a special exception to the GNU General Public License, if you
    2829# distribute this file as part of a program that contains a
     
    3031# the same distribution terms that you use for the rest of that program.
    3132
     33
    3234# Please send patches to <[email protected]>.  Submit a context
    33 # diff and a properly formatted ChangeLog entry.
     35# diff and a properly formatted GNU ChangeLog entry.
    3436#
    3537# Configuration subroutine to validate and canonicalize a configuration type.
     
    3739# If it is invalid, we print an error message on stderr and exit with code 1.
    3840# 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
    3944
    4045# This file is supposed to be the same for all GNU packages
     
    7176GNU config.sub ($timestamp)
    7277
    73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
    74 Free Software Foundation, Inc.
     78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
     792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
     80Software Foundation, Inc.
    7581
    7682This is free software; see the source for copying conditions.  There is NO
     
    8490  case $1 in
    8591    --time-stamp | --time* | -t )
    86        echo "$timestamp" ; exit 0 ;;
     92       echo "$timestamp" ; exit ;;
    8793    --version | -v )
    88        echo "$version" ; exit 0 ;;
     94       echo "$version" ; exit ;;
    8995    --help | --h* | -h )
    90        echo "$usage"; exit 0 ;;
     96       echo "$usage"; exit ;;
    9197    -- )     # Stop option processing
    9298       shift; break ;;
     
    100106       # First pass through any local machine types.
    101107       echo $1
    102        exit 0;;
     108       exit ;;
    103109
    104110    * )
     
    119125maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
    120126case $maybe_os in
    121   nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
     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*)
    122132    os=-$maybe_os
    123133    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     
    145155    -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
    146156    -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
    147     -apple | -axis)
     157    -apple | -axis | -knuth | -cray | -microblaze)
    148158        os=
    149159        basic_machine=$1
     160        ;;
     161    -bluegene*)
     162        os=-cnk
    150163        ;;
    151164    -sim | -cisco | -oki | -wec | -winbond)
     
    163176        basic_machine=$1
    164177        ;;
    165     -chorusrdb)
    166         os=-chorusrdb
     178    -chorusrdb)
     179        os=-chorusrdb
    167180        basic_machine=$1
    168         ;;
     181        ;;
    169182    -hiux*)
    170183        os=-hiuxwe2
     184        ;;
     185    -sco6)
     186        os=-sco5v6
     187        basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
    171188        ;;
    172189    -sco5)
     
    183200        ;;
    184201    -sco3.2v[4-9]*)
     202        # Don't forget version if it is 3.2v4 or newer.
     203        basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     204        ;;
     205    -sco5v6*)
    185206        # Don't forget version if it is 3.2v4 or newer.
    186207        basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     
    229250    | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
    230251    | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
    231     | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
    232     | clipper \
     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 \
    233257    | d10v | d30v | dlx | dsp16xx \
    234     | fr30 | frv \
     258    | epiphany \
     259    | fido | fr30 | frv \
    235260    | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
     261    | hexagon \
    236262    | i370 | i860 | i960 | ia64 \
    237     | ip2k \
    238     | m32r | m68000 | m68k | m88k | mcore \
     263    | ip2k | iq2000 \
     264    | le32 | le64 \
     265    | lm32 \
     266    | m32c | m32r | m32rle | m68000 | m68k | m88k \
     267    | maxq | mb | microblaze | mcore | mep | metag \
    239268    | mips | mipsbe | mipseb | mipsel | mipsle \
    240269    | mips16 \
    241270    | mips64 | mips64el \
     271    | mips64octeon | mips64octeonel \
     272    | mips64orion | mips64orionel \
     273    | mips64r5900 | mips64r5900el \
    242274    | mips64vr | mips64vrel \
    243     | mips64orion | mips64orionel \
    244275    | mips64vr4100 | mips64vr4100el \
    245276    | mips64vr4300 | mips64vr4300el \
    246277    | mips64vr5000 | mips64vr5000el \
     278    | mips64vr5900 | mips64vr5900el \
    247279    | mipsisa32 | mipsisa32el \
     280    | mipsisa32r2 | mipsisa32r2el \
    248281    | mipsisa64 | mipsisa64el \
     282    | mipsisa64r2 | mipsisa64r2el \
    249283    | mipsisa64sb1 | mipsisa64sb1el \
    250284    | mipsisa64sr71k | mipsisa64sr71kel \
    251285    | mipstx39 | mipstx39el \
    252286    | mn10200 | mn10300 \
     287    | moxie \
     288    | mt \
     289    | msp430 \
     290    | nds32 | nds32le | nds32be \
     291    | nios | nios2 \
    253292    | ns16k | ns32k \
    254     | openrisc | or32 \
     293    | open8 \
     294    | or32 \
    255295    | pdp10 | pdp11 | pj | pjl \
    256     | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
     296    | powerpc | powerpc64 | powerpc64le | powerpcle \
    257297    | pyramid \
    258     | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
     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 \
    259301    | sh64 | sh64le \
    260     | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
    261     | strongarm \
    262     | tahoe | thumb | tic80 | tron \
    263     | v850 | v850e \
     302    | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
     303    | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
     304    | spu \
     305    | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
     306    | ubicom32 \
     307    | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
    264308    | we32k \
    265     | x86 | xscale | xstormy16 | xtensa \
    266     | z8k)
     309    | x86 | xc16x | xstormy16 | xtensa \
     310    | z8k | z80)
    267311        basic_machine=$basic_machine-unknown
    268312        ;;
    269     m6811 | m68hc11 | m6812 | m68hc12)
     313    c54x)
     314        basic_machine=tic54x-unknown
     315        ;;
     316    c55x)
     317        basic_machine=tic55x-unknown
     318        ;;
     319    c6x)
     320        basic_machine=tic6x-unknown
     321        ;;
     322    m6811 | m68hc11 | m6812 | m68hc12 | picochip)
    270323        # Motorola 68HC11/12.
    271324        basic_machine=$basic_machine-unknown
     
    273326        ;;
    274327    m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
     328        ;;
     329    ms1)
     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
    275343        ;;
    276344
     
    293361    | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
    294362    | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
    295     | avr-* \
    296     | bs2000-* \
    297     | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
    298     | clipper-* | cydra-* \
     363    | avr-* | avr32-* \
     364    | be32-* | be64-* \
     365    | bfin-* | bs2000-* \
     366    | c[123]* | c30-* | [cjt]90-* | c4x-* \
     367    | clipper-* | craynv-* | cydra-* \
    299368    | d10v-* | d30v-* | dlx-* \
    300369    | elxsi-* \
    301     | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
     370    | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
    302371    | h8300-* | h8500-* \
    303372    | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
     373    | hexagon-* \
    304374    | i*86-* | i860-* | i960-* | ia64-* \
    305     | ip2k-* \
    306     | m32r-* \
     375    | ip2k-* | iq2000-* \
     376    | le32-* | le64-* \
     377    | lm32-* \
     378    | m32c-* | m32r-* | m32rle-* \
    307379    | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
    308     | m88110-* | m88k-* | mcore-* \
     380    | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
    309381    | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
    310382    | mips16-* \
    311383    | mips64-* | mips64el-* \
     384    | mips64octeon-* | mips64octeonel-* \
     385    | mips64orion-* | mips64orionel-* \
     386    | mips64r5900-* | mips64r5900el-* \
    312387    | mips64vr-* | mips64vrel-* \
    313     | mips64orion-* | mips64orionel-* \
    314388    | mips64vr4100-* | mips64vr4100el-* \
    315389    | mips64vr4300-* | mips64vr4300el-* \
    316390    | mips64vr5000-* | mips64vr5000el-* \
     391    | mips64vr5900-* | mips64vr5900el-* \
    317392    | mipsisa32-* | mipsisa32el-* \
     393    | mipsisa32r2-* | mipsisa32r2el-* \
    318394    | mipsisa64-* | mipsisa64el-* \
     395    | mipsisa64r2-* | mipsisa64r2el-* \
    319396    | mipsisa64sb1-* | mipsisa64sb1el-* \
    320397    | mipsisa64sr71k-* | mipsisa64sr71kel-* \
    321     | mipstx39 | mipstx39el \
     398    | mipstx39-* | mipstx39el-* \
     399    | mmix-* \
     400    | mt-* \
     401    | msp430-* \
     402    | nds32-* | nds32le-* | nds32be-* \
     403    | nios-* | nios2-* \
    322404    | none-* | np1-* | ns16k-* | ns32k-* \
     405    | open8-* \
    323406    | orion-* \
    324407    | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
    325     | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
     408    | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
    326409    | pyramid-* \
    327     | romp-* | rs6000-* \
    328     | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
     410    | rl78-* | romp-* | rs6000-* | rx-* \
     411    | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
    329412    | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
    330     | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
    331     | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
    332     | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
    333     | v850-* | v850e-* | vax-* \
     413    | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
     414    | sparclite-* \
     415    | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
     416    | tahoe-* \
     417    | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
     418    | tile*-* \
     419    | tron-* \
     420    | ubicom32-* \
     421    | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
     422    | vax-* \
    334423    | we32k-* \
    335     | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
    336     | xtensa-* \
     424    | x86-* | x86_64-* | xc16x-* | xps100-* \
     425    | xstormy16-* | xtensa*-* \
    337426    | ymp-* \
    338     | z8k-*)
     427    | z8k-* | z80-*)
     428        ;;
     429    # Recognize the basic CPU types without company name, with glob match.
     430    xtensa*)
     431        basic_machine=$basic_machine-unknown
    339432        ;;
    340433    # Recognize the various machine names and aliases which stand
     
    354447        os=-udi
    355448        ;;
     449    abacus)
     450        basic_machine=abacus-unknown
     451        ;;
    356452    adobe68k)
    357453        basic_machine=m68010-adobe
     
    368464        os=-bsd
    369465        ;;
     466    amd64)
     467        basic_machine=x86_64-pc
     468        ;;
     469    amd64-*)
     470        basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
     471        ;;
    370472    amdahl)
    371473        basic_machine=580-amdahl
     
    391493        os=-bsd
    392494        ;;
     495    aros)
     496        basic_machine=i386-pc
     497        os=-aros
     498        ;;
    393499    aux)
    394500        basic_machine=m68k-apple
     
    399505        os=-dynix
    400506        ;;
     507    blackfin)
     508        basic_machine=bfin-unknown
     509        os=-linux
     510        ;;
     511    blackfin-*)
     512        basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
     513        os=-linux
     514        ;;
     515    bluegene*)
     516        basic_machine=powerpc-ibm
     517        os=-cnk
     518        ;;
     519    c54x-*)
     520        basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
     521        ;;
     522    c55x-*)
     523        basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
     524        ;;
     525    c6x-*)
     526        basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
     527        ;;
    401528    c90)
    402529        basic_machine=c90-cray
    403530        os=-unicos
    404531        ;;
     532    cegcc)
     533        basic_machine=arm-unknown
     534        os=-cegcc
     535        ;;
    405536    convex-c1)
    406537        basic_machine=c1-convex
     
    427558        os=-unicos
    428559        ;;
     560    craynv)
     561        basic_machine=craynv-cray
     562        os=-unicosmp
     563        ;;
     564    cr16 | cr16-*)
     565        basic_machine=cr16-unknown
     566        os=-elf
     567        ;;
    429568    crds | unos)
    430569        basic_machine=m68k-crds
    431570        ;;
     571    crisv32 | crisv32-* | etraxfs*)
     572        basic_machine=crisv32-axis
     573        ;;
    432574    cris | cris-* | etrax*)
    433575        basic_machine=cris-axis
     576        ;;
     577    crx)
     578        basic_machine=crx-unknown
     579        os=-elf
    434580        ;;
    435581    da30 | da30-*)
     
    454600        basic_machine=m88k-motorola
    455601        os=-sysv3
     602        ;;
     603    dicos)
     604        basic_machine=i686-pc
     605        os=-dicos
     606        ;;
     607    djgpp)
     608        basic_machine=i586-pc
     609        os=-msdosdjgpp
    456610        ;;
    457611    dpx20 | dpx20-*)
     
    605759        os=-sysv
    606760        ;;
     761    m68knommu)
     762        basic_machine=m68k-unknown
     763        os=-linux
     764        ;;
     765    m68knommu-*)
     766        basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
     767        os=-linux
     768        ;;
    607769    m88k-omron*)
    608770        basic_machine=m88k-omron
     
    616778        os=-sysv
    617779        ;;
     780    microblaze)
     781        basic_machine=microblaze-xilinx
     782        ;;
    618783    mingw32)
    619784        basic_machine=i386-pc
    620785        os=-mingw32
    621786        ;;
     787    mingw32ce)
     788        basic_machine=arm-unknown
     789        os=-mingw32ce
     790        ;;
    622791    miniframe)
    623792        basic_machine=m68000-convergent
     
    633802        basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
    634803        ;;
    635     mmix*)
    636         basic_machine=mmix-knuth
    637         os=-mmixware
    638         ;;
    639804    monitor)
    640805        basic_machine=m68k-rom68k
     
    649814        os=-msdos
    650815        ;;
     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        ;;
    651823    mvs)
    652824        basic_machine=i370-ibm
    653825        os=-mvs
     826        ;;
     827    nacl)
     828        basic_machine=le32-unknown
     829        os=-nacl
    654830        ;;
    655831    ncr3000)
     
    717893        basic_machine=np1-gould
    718894        ;;
     895    neo-tandem)
     896        basic_machine=neo-tandem
     897        ;;
     898    nse-tandem)
     899        basic_machine=nse-tandem
     900        ;;
    719901    nsr-tandem)
    720902        basic_machine=nsr-tandem
     
    724906        os=-proelf
    725907        ;;
    726     or32 | or32-*)
     908    openrisc | openrisc-*)
    727909        basic_machine=or32-unknown
    728         os=-coff
     910        ;;
     911    os400)
     912        basic_machine=powerpc-ibm
     913        os=-os400
    729914        ;;
    730915    OSE68000 | ose68000)
     
    744929        os=-osf
    745930        ;;
     931    parisc)
     932        basic_machine=hppa-unknown
     933        os=-linux
     934        ;;
     935    parisc-*)
     936        basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
     937        os=-linux
     938        ;;
    746939    pbd)
    747940        basic_machine=sparc-tti
     
    753946        basic_machine=ns32k-pc532
    754947        ;;
     948    pc98)
     949        basic_machine=i386-pc
     950        ;;
     951    pc98-*)
     952        basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
     953        ;;
    755954    pentium | p5 | k5 | k6 | nexgen | viac3)
    756955        basic_machine=i586-pc
     
    759958        basic_machine=i686-pc
    760959        ;;
    761     pentiumii | pentium2)
     960    pentiumii | pentium2 | pentiumiii | pentium3)
    762961        basic_machine=i686-pc
     962        ;;
     963    pentium4)
     964        basic_machine=i786-pc
    763965        ;;
    764966    pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
     
    768970        basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
    769971        ;;
    770     pentiumii-* | pentium2-*)
     972    pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
    771973        basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
     974        ;;
     975    pentium4-*)
     976        basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
    772977        ;;
    773978    pn)
     
    776981    power)  basic_machine=power-ibm
    777982        ;;
    778     ppc)    basic_machine=powerpc-unknown
    779         ;;
    780     ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
     983    ppc | ppcbe)    basic_machine=powerpc-unknown
     984        ;;
     985    ppc-* | ppcbe-*)
     986        basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
    781987        ;;
    782988    ppcle | powerpclittle | ppc-le | powerpc-little)
     
    8031009        os=-pw32
    8041010        ;;
     1011    rdos)
     1012        basic_machine=i386-pc
     1013        os=-rdos
     1014        ;;
    8051015    rom68k)
    8061016        basic_machine=m68k-rom68k
     
    8291039        basic_machine=mipsisa64sb1el-unknown
    8301040        ;;
     1041    sde)
     1042        basic_machine=mipsisa32-sde
     1043        os=-elf
     1044        ;;
     1045    sei)
     1046        basic_machine=mips-sei
     1047        os=-seiux
     1048        ;;
    8311049    sequent)
    8321050        basic_machine=i386-sequent
     
    8361054        os=-hms
    8371055        ;;
     1056    sh5el)
     1057        basic_machine=sh5le-unknown
     1058        ;;
     1059    sh64)
     1060        basic_machine=sh64-unknown
     1061        ;;
    8381062    sparclite-wrs | simso-wrs)
    8391063        basic_machine=sparclite-wrs
     
    8541078        os=-sysv4
    8551079        ;;
     1080    strongarm-* | thumb-*)
     1081        basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
     1082        ;;
    8561083    sun2)
    8571084        basic_machine=m68000-sun
     
    9021129        os=-dynix
    9031130        ;;
    904     t3d)
    905         basic_machine=alpha-cray
    906         os=-unicos
    907         ;;
    9081131    t3e)
    9091132        basic_machine=alphaev5-cray
     
    9141137        os=-unicos
    9151138        ;;
    916         tic4x | c4x*)
    917         basic_machine=tic4x-unknown
    918         os=-coff
    919         ;;
    920     tic54x | c54x*)
    921         basic_machine=tic54x-unknown
    922         os=-coff
     1139    tile*)
     1140        basic_machine=$basic_machine-unknown
     1141        os=-linux-gnu
    9231142        ;;
    9241143    tx39)
     
    9351154        basic_machine=m68k-ncr
    9361155        ;;
     1156    tpf)
     1157        basic_machine=s390x-ibm
     1158        os=-tpf
     1159        ;;
    9371160    udi29k)
    9381161        basic_machine=a29k-amd
     
    9781201        os=-proelf
    9791202        ;;
    980     windows32)
    981         basic_machine=i386-pc
    982         os=-windows32-msvcrt
     1203    xbox)
     1204        basic_machine=i686-pc
     1205        os=-mingw32
    9831206        ;;
    9841207    xps | xps100)
    9851208        basic_machine=xps100-honeywell
     1209        ;;
     1210    xscale-* | xscalee[bl]-*)
     1211        basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
    9861212        ;;
    9871213    ymp)
     
    9911217    z8k-*-coff)
    9921218        basic_machine=z8k-unknown
     1219        os=-sim
     1220        ;;
     1221    z80-*-coff)
     1222        basic_machine=z80-unknown
    9931223        os=-sim
    9941224        ;;
     
    10121242        basic_machine=romp-ibm
    10131243        ;;
     1244    mmix)
     1245        basic_machine=mmix-knuth
     1246        ;;
    10141247    rs6000)
    10151248        basic_machine=rs6000-ibm
     
    10281261        basic_machine=we32k-att
    10291262        ;;
    1030     sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
     1263    sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
    10311264        basic_machine=sh-unknown
    10321265        ;;
    1033     sh64)
    1034         basic_machine=sh64-unknown
    1035         ;;
    1036     sparc | sparcv9 | sparcv9b)
     1266    sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
    10371267        basic_machine=sparc-sun
    10381268        ;;
     
    10781308then
    10791309case $os in
    1080         # First match some system type aliases
    1081         # that might get confused with valid system types.
     1310    # First match some system type aliases
     1311    # that might get confused with valid system types.
    10821312    # -solaris* is a basic system type, with this one exception.
     1313    -auroraux)
     1314        os=-auroraux
     1315        ;;
    10831316    -solaris1 | -solaris1.*)
    10841317        os=`echo $os | sed -e 's|solaris1|sunos4|'`
     
    11011334    # -sysv* is not here because it comes later, after sysvr4.
    11021335    -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
    1103           | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
    1104           | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
     1336          | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
     1337          | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
     1338          | -sym* | -kopensolaris* \
    11051339          | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
    1106           | -aos* \
     1340          | -aos* | -aros* \
    11071341          | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
    11081342          | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
    1109           | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
    1110           | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
     1343          | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
     1344          | -openbsd* | -solidbsd* \
     1345          | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
     1346          | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
    11111347          | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
    11121348          | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
    1113           | -chorusos* | -chorusrdb* \
    1114           | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
    1115           | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
    1116           | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
     1349          | -chorusos* | -chorusrdb* | -cegcc* \
     1350          | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
     1351          | -mingw32* | -linux-gnu* | -linux-android* \
     1352          | -linux-newlib* | -linux-uclibc* \
     1353          | -uxpv* | -beos* | -mpeix* | -udk* \
     1354          | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
    11171355          | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
    11181356          | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
    11191357          | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
    1120           | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*)
     1358          | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
     1359          | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
     1360          | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
    11211361    # Remember, each alternative MUST END IN *, to match a version number.
    11221362        ;;
     
    11301370        esac
    11311371        ;;
     1372    -nto-qnx*)
     1373        ;;
    11321374    -nto*)
    1133         os=-nto-qnx
     1375        os=`echo $os | sed -e 's|nto|nto-qnx|'`
    11341376        ;;
    11351377    -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
    1136           | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
     1378          | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
    11371379          | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
    11381380        ;;
     
    11401382        os=`echo $os | sed -e 's|mac|macos|'`
    11411383        ;;
     1384    -linux-dietlibc)
     1385        os=-linux-dietlibc
     1386        ;;
    11421387    -linux*)
    11431388        os=`echo $os | sed -e 's|linux|linux-gnu|'`
     
    11521397        os=-openedition
    11531398        ;;
     1399    -os400*)
     1400        os=-os400
     1401        ;;
    11541402    -wince*)
    11551403        os=-wince
     
    11721420    -atheos*)
    11731421        os=-atheos
     1422        ;;
     1423    -syllable*)
     1424        os=-syllable
    11741425        ;;
    11751426    -386bsd)
     
    11951446        os=-sysv4
    11961447        ;;
     1448    -tpf*)
     1449        os=-tpf
     1450        ;;
    11971451    -triton*)
    11981452        os=-sysv3
     
    12241478    -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
    12251479        os=-mint
     1480        ;;
     1481    -aros*)
     1482        os=-aros
     1483        ;;
     1484    -kaos*)
     1485        os=-kaos
     1486        ;;
     1487    -zvmoe)
     1488        os=-zvmoe
     1489        ;;
     1490    -dicos*)
     1491        os=-dicos
     1492        ;;
     1493    -nacl*)
    12261494        ;;
    12271495    -none)
     
    12471515
    12481516case $basic_machine in
     1517    score-*)
     1518        os=-elf
     1519        ;;
     1520    spu-*)
     1521        os=-elf
     1522        ;;
    12491523    *-acorn)
    12501524        os=-riscix1.2
     
    12551529    arm*-semi)
    12561530        os=-aout
     1531        ;;
     1532    c4x-* | tic4x-*)
     1533        os=-coff
     1534        ;;
     1535    tic54x-*)
     1536        os=-coff
     1537        ;;
     1538    tic55x-*)
     1539        os=-coff
     1540        ;;
     1541    tic6x-*)
     1542        os=-coff
    12571543        ;;
    12581544    # This must come before the *-dec entry.
     
    12811567        os=-aout
    12821568        ;;
     1569    mep-*)
     1570        os=-elf
     1571        ;;
    12831572    mips*-cisco)
    12841573        os=-elf
     
    12991588        os=-beos
    13001589        ;;
     1590    *-haiku)
     1591        os=-haiku
     1592        ;;
    13011593    *-ibm)
    13021594        os=-aix
     1595        ;;
     1596    *-knuth)
     1597        os=-mmixware
    13031598        ;;
    13041599    *-wec)
     
    14041699                vendor=sun
    14051700                ;;
    1406             -aix*)
     1701            -cnk*|-aix*)
    14071702                vendor=ibm
    14081703                ;;
     
    14341729                vendor=ibm
    14351730                ;;
     1731            -os400*)
     1732                vendor=ibm
     1733                ;;
    14361734            -ptx*)
    14371735                vendor=sequent
    14381736                ;;
     1737            -tpf*)
     1738                vendor=ibm
     1739                ;;
    14391740            -vxsim* | -vxworks* | -windiss*)
    14401741                vendor=wrs
     
    14611762
    14621763echo $basic_machine$os
    1463 exit 0
     1764exit
    14641765
    14651766# Local variables:
Note: See TracChangeset for help on using the changeset viewer.