Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7187 in orxonox.OLD for branches/shared_lib/config.sub


Ignore:
Timestamp:
Feb 22, 2006, 2:49:47 AM (18 years ago)
Author:
bensch
Message:

ltdl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/shared_lib/config.sub

    r5750 r7187  
    11#! /bin/sh
    22# Configuration validation subroutine script.
    3 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
    5 
    6 timestamp='2005-02-10'
     3#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
     4#   Free Software Foundation, Inc.
     5
     6timestamp='2001-06-08'
    77
    88# This file is (in principle) common to ALL GNU software.
     
    3030# the same distribution terms that you use for the rest of that program.
    3131
    32 # Please send patches to <config-patches@gnu.org>.  Submit a context
    33 # diff and a properly formatted ChangeLog entry.
     32# Please send patches to <config-patches@gnu.org>.
    3433#
    3534# Configuration subroutine to validate and canonicalize a configuration type.
     
    7170GNU config.sub ($timestamp)
    7271
    73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
     72Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
    7473Free Software Foundation, Inc.
    7574
     
    119118maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
    120119case $maybe_os in
    121   nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
    122   kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
     120  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
    123121    os=-$maybe_os
    124122    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     
    146144        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
    147145        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
    148         -apple | -axis | -knuth | -cray)
     146        -apple | -axis)
    149147                os=
    150148                basic_machine=$1
     
    226224        # Recognize the basic CPU types without company name.
    227225        # Some are omitted here because they have special meanings below.
    228         1750a | 580 \
    229         | a29k \
    230         | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
    231         | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
    232         | am33_2.0 \
    233         | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
    234         | c4x | clipper \
    235         | d10v | d30v | dlx | dsp16xx \
    236         | fr30 | frv \
    237         | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
    238         | i370 | i860 | i960 | ia64 \
    239         | ip2k | iq2000 \
    240         | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
    241         | mips | mipsbe | mipseb | mipsel | mipsle \
    242         | mips16 \
    243         | mips64 | mips64el \
    244         | mips64vr | mips64vrel \
    245         | mips64orion | mips64orionel \
    246         | mips64vr4100 | mips64vr4100el \
    247         | mips64vr4300 | mips64vr4300el \
    248         | mips64vr5000 | mips64vr5000el \
    249         | mipsisa32 | mipsisa32el \
    250         | mipsisa32r2 | mipsisa32r2el \
    251         | mipsisa64 | mipsisa64el \
    252         | mipsisa64r2 | mipsisa64r2el \
    253         | mipsisa64sb1 | mipsisa64sb1el \
    254         | mipsisa64sr71k | mipsisa64sr71kel \
    255         | mipstx39 | mipstx39el \
    256         | mn10200 | mn10300 \
    257         | msp430 \
    258         | ns16k | ns32k \
    259         | openrisc | or32 \
    260         | pdp10 | pdp11 | pj | pjl \
    261         | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
    262         | pyramid \
    263         | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
    264         | sh64 | sh64le \
    265         | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
    266         | strongarm \
    267         | tahoe | thumb | tic4x | tic80 | tron \
    268         | v850 | v850e \
    269         | we32k \
    270         | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
    271         | z8k)
     226        tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \
     227                | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \
     228                | pyramid | mn10200 | mn10300 | tron | a29k \
     229                | 580 | i960 | h8300 \
     230                | x86 | ppcbe | mipsbe | mipsle | shbe | shle \
     231                | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
     232                | hppa64 \
     233                | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
     234                | alphaev6[78] \
     235                | we32k | ns16k | clipper | i370 | sh | sh[34] \
     236                | powerpc | powerpcle \
     237                | 1750a | dsp16xx | pdp10 | pdp11 \
     238                | mips16 | mips64 | mipsel | mips64el \
     239                | mips64orion | mips64orionel | mipstx39 | mipstx39el \
     240                | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
     241                | mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \
     242                | sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \
     243                | v850 | c4x \
     244                | thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
     245                | pj | pjl | h8500 | z8k)
    272246                basic_machine=$basic_machine-unknown
    273247                ;;
     
    292266                ;;
    293267        # Recognize the basic CPU types with company name.
    294         580-* \
    295         | a29k-* \
    296         | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
    297         | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
    298         | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
    299         | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
    300         | avr-* \
    301         | bs2000-* \
    302         | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
    303         | clipper-* | craynv-* | cydra-* \
    304         | d10v-* | d30v-* | dlx-* \
    305         | elxsi-* \
    306         | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
    307         | h8300-* | h8500-* \
    308         | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
    309         | i*86-* | i860-* | i960-* | ia64-* \
    310         | ip2k-* | iq2000-* \
    311         | m32r-* | m32rle-* \
    312         | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
    313         | m88110-* | m88k-* | maxq-* | mcore-* \
    314         | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
    315         | mips16-* \
    316         | mips64-* | mips64el-* \
    317         | mips64vr-* | mips64vrel-* \
    318         | mips64orion-* | mips64orionel-* \
    319         | mips64vr4100-* | mips64vr4100el-* \
    320         | mips64vr4300-* | mips64vr4300el-* \
    321         | mips64vr5000-* | mips64vr5000el-* \
    322         | mipsisa32-* | mipsisa32el-* \
    323         | mipsisa32r2-* | mipsisa32r2el-* \
    324         | mipsisa64-* | mipsisa64el-* \
    325         | mipsisa64r2-* | mipsisa64r2el-* \
    326         | mipsisa64sb1-* | mipsisa64sb1el-* \
    327         | mipsisa64sr71k-* | mipsisa64sr71kel-* \
    328         | mipstx39-* | mipstx39el-* \
    329         | mmix-* \
    330         | msp430-* \
    331         | none-* | np1-* | ns16k-* | ns32k-* \
    332         | orion-* \
    333         | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
    334         | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
    335         | pyramid-* \
    336         | romp-* | rs6000-* \
    337         | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
    338         | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
    339         | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
    340         | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
    341         | tahoe-* | thumb-* \
    342         | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
    343         | tron-* \
    344         | v850-* | v850e-* | vax-* \
    345         | we32k-* \
    346         | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
    347         | xstormy16-* | xtensa-* \
    348         | ymp-* \
    349         | z8k-*)
     268        # FIXME: clean up the formatting here.
     269        vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
     270              | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
     271              | arm-*  | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
     272              | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
     273              | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
     274              | xmp-* | ymp-* \
     275              | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \
     276              | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
     277              | hppa2.0n-* | hppa64-* \
     278              | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
     279              | alphaev6[78]-* \
     280              | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
     281              | clipper-* | orion-* \
     282              | sparclite-* | pdp10-* | pdp11-* | sh-* | sh[34]-* | sh[34]eb-* \
     283              | powerpc-* | powerpcle-* | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
     284              | mips16-* | mips64-* | mipsel-* \
     285              | mips64el-* | mips64orion-* | mips64orionel-* \
     286              | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
     287              | mipstx39-* | mipstx39el-* | mcore-* \
     288              | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
     289              | [cjt]90-* \
     290              | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
     291              | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \
     292              | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*)
    350293                ;;
    351294        # Recognize the various machine names and aliases which stand
     
    365308                os=-udi
    366309                ;;
    367         abacus)
    368                 basic_machine=abacus-unknown
    369                 ;;
    370310        adobe68k)
    371311                basic_machine=m68010-adobe
     
    382322                os=-bsd
    383323                ;;
    384         amd64)
    385                 basic_machine=x86_64-pc
    386                 ;;
    387         amd64-*)
    388                 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
    389                 ;;
    390324        amdahl)
    391325                basic_machine=580-amdahl
     
    419353                os=-dynix
    420354                ;;
    421         c90)
    422                 basic_machine=c90-cray
    423                 os=-unicos
    424                 ;;
    425355        convex-c1)
    426356                basic_machine=c1-convex
     
    443373                os=-bsd
    444374                ;;
    445         cray | j90)
    446                 basic_machine=j90-cray
     375        cray | ymp)
     376                basic_machine=ymp-cray
    447377                os=-unicos
    448378                ;;
    449         craynv)
    450                 basic_machine=craynv-cray
    451                 os=-unicosmp
    452                 ;;
    453         cr16c)
    454                 basic_machine=cr16c-unknown
    455                 os=-elf
     379        cray2)
     380                basic_machine=cray2-cray
     381                os=-unicos
     382                ;;
     383        [cjt]90)
     384                basic_machine=${basic_machine}-cray
     385                os=-unicos
    456386                ;;
    457387        crds | unos)
    458388                basic_machine=m68k-crds
    459389                ;;
    460         crisv32 | crisv32-* | etraxfs*)
    461                 basic_machine=crisv32-axis
    462                 ;;
    463390        cris | cris-* | etrax*)
    464391                basic_machine=cris-axis
    465392                ;;
    466         crx)
    467                 basic_machine=crx-unknown
    468                 os=-elf
     393        cygwin*)
     394                basic_machine=i586-pc
     395                os=-cygwin
    469396                ;;
    470397        da30 | da30-*)
     
    473400        decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
    474401                basic_machine=mips-dec
    475                 ;;
    476         decsystem10* | dec10*)
    477                 basic_machine=pdp10-dec
    478                 os=-tops10
    479                 ;;
    480         decsystem20* | dec20*)
    481                 basic_machine=pdp10-dec
    482                 os=-tops20
    483402                ;;
    484403        delta | 3300 | motorola-3300 | motorola-delta \
     
    489408                basic_machine=m88k-motorola
    490409                os=-sysv3
    491                 ;;
    492         djgpp)
    493                 basic_machine=i586-pc
    494                 os=-msdosdjgpp
    495410                ;;
    496411        dpx20 | dpx20-*)
     
    655570                os=-sysv
    656571                ;;
    657         mingw32)
    658                 basic_machine=i386-pc
    659                 os=-mingw32
     572        mingw*)
     573                basic_machine=i586-pc
     574                os=-mingw
    660575                ;;
    661576        miniframe)
     
    666581                os=-mint
    667582                ;;
     583        mipsel*-linux*)
     584                basic_machine=mipsel-unknown
     585                os=-linux-gnu
     586                ;;
     587        mips*-linux*)
     588                basic_machine=mips-unknown
     589                os=-linux-gnu
     590                ;;
    668591        mips3*-*)
    669592                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
     
    671594        mips3*)
    672595                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
     596                ;;
     597        mmix*)
     598                basic_machine=mmix-knuth
     599                os=-mmixware
    673600                ;;
    674601        monitor)
     
    676603                os=-coff
    677604                ;;
    678         morphos)
    679                 basic_machine=powerpc-unknown
    680                 os=-morphos
    681                 ;;
    682605        msdos)
    683606                basic_machine=i386-pc
    684607                os=-msdos
     608                ;;
     609        msys)
     610                basic_machine=i386-pc
     611                os=-msys
    685612                ;;
    686613        mvs)
     
    759686                os=-proelf
    760687                ;;
    761         or32 | or32-*)
    762                 basic_machine=or32-unknown
    763                 os=-coff
    764                 ;;
    765         os400)
    766                 basic_machine=powerpc-ibm
    767                 os=-os400
    768                 ;;
    769688        OSE68000 | ose68000)
    770689                basic_machine=m68000-ericsson
     
    775694                os=-os68k
    776695                ;;
     696        p4w)
     697                basic_machine=i586-pc
     698                os=-p4w
     699                ;;
    777700        pa-hitachi)
    778701                basic_machine=hppa1.1-hitachi
     
    789712                basic_machine=m68k-tti
    790713                ;;
    791         pc532 | pc532-*)
     714        pc532 | pc532-*)
    792715                basic_machine=ns32k-pc532
    793716                ;;
    794         pentium | p5 | k5 | k6 | nexgen | viac3)
     717        pentium | p5 | k5 | k6 | nexgen)
    795718                basic_machine=i586-pc
    796719                ;;
    797         pentiumpro | p6 | 6x86 | athlon | athlon_*)
     720        pentiumpro | p6 | 6x86 | athlon)
    798721                basic_machine=i686-pc
    799722                ;;
    800         pentiumii | pentium2 | pentiumiii | pentium3)
     723        pentiumii | pentium2)
    801724                basic_machine=i686-pc
    802725                ;;
    803         pentium4)
    804                 basic_machine=i786-pc
    805                 ;;
    806         pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
     726        pentium-* | p5-* | k5-* | k6-* | nexgen-*)
    807727                basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
    808728                ;;
     
    810730                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
    811731                ;;
    812         pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
     732        pentiumii-* | pentium2-*)
    813733                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
    814                 ;;
    815         pentium4-*)
    816                 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
    817734                ;;
    818735        pn)
     
    822739                ;;
    823740        ppc)    basic_machine=powerpc-unknown
    824                 ;;
     741                ;;
    825742        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
    826743                ;;
    827744        ppcle | powerpclittle | ppc-le | powerpc-little)
    828745                basic_machine=powerpcle-unknown
    829                 ;;
     746                ;;
    830747        ppcle-* | powerpclittle-*)
    831748                basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
    832                 ;;
    833         ppc64)  basic_machine=powerpc64-unknown
    834                 ;;
    835         ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
    836                 ;;
    837         ppc64le | powerpc64little | ppc64-le | powerpc64-little)
    838                 basic_machine=powerpc64le-unknown
    839                 ;;
    840         ppc64le-* | powerpc64little-*)
    841                 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
    842749                ;;
    843750        ps2)
     
    858765                basic_machine=romp-ibm
    859766                ;;
    860         s390 | s390-*)
    861                 basic_machine=s390-ibm
    862                 ;;
    863         s390x | s390x-*)
    864                 basic_machine=s390x-ibm
    865                 ;;
    866767        sa29200)
    867768                basic_machine=a29k-amd
    868769                os=-udi
    869770                ;;
    870         sb1)
    871                 basic_machine=mipsisa64sb1-unknown
    872                 ;;
    873         sb1el)
    874                 basic_machine=mipsisa64sb1el-unknown
    875                 ;;
    876         sei)
    877                 basic_machine=mips-sei
    878                 os=-seiux
    879                 ;;
    880771        sequent)
    881772                basic_machine=i386-sequent
     
    885776                os=-hms
    886777                ;;
    887         sh64)
    888                 basic_machine=sh64-unknown
    889                 ;;
    890         sparclite-wrs | simso-wrs)
     778        sparclite-wrs)
    891779                basic_machine=sparclite-wrs
    892780                os=-vxworks
     
    955843                ;;
    956844        t3e)
    957                 basic_machine=alphaev5-cray
    958                 os=-unicos
    959                 ;;
    960         t90)
    961                 basic_machine=t90-cray
     845                basic_machine=t3e-cray
    962846                os=-unicos
    963847                ;;
     
    966850                os=-coff
    967851                ;;
    968         tic55x | c55x*)
    969                 basic_machine=tic55x-unknown
    970                 os=-coff
    971                 ;;
    972         tic6x | c6x*)
    973                 basic_machine=tic6x-unknown
    974                 os=-coff
    975                 ;;
    976852        tx39)
    977853                basic_machine=mipstx39-unknown
     
    980856                basic_machine=mipstx39el-unknown
    981857                ;;
    982         toad1)
    983                 basic_machine=pdp10-xkl
    984                 os=-tops20
    985                 ;;
    986858        tower | tower-32)
    987859                basic_machine=m68k-ncr
    988                 ;;
    989         tpf)
    990                 basic_machine=s390x-ibm
    991                 os=-tpf
    992860                ;;
    993861        udi29k)
     
    1012880                ;;
    1013881        vpp*|vx|vx-*)
    1014                 basic_machine=f301-fujitsu
    1015                 ;;
     882               basic_machine=f301-fujitsu
     883               ;;
    1016884        vxworks960)
    1017885                basic_machine=i960-wrs
     
    1034902                os=-proelf
    1035903                ;;
    1036         xbox)
    1037                 basic_machine=i686-pc
    1038                 os=-mingw32
    1039                 ;;
    1040         xps | xps100)
     904        windows32)
     905                basic_machine=i386-pc
     906                os=-windows32-msvcrt
     907                ;;
     908        xmp)
     909                basic_machine=xmp-cray
     910                os=-unicos
     911                ;;
     912        xps | xps100)
    1041913                basic_machine=xps100-honeywell
    1042                 ;;
    1043         ymp)
    1044                 basic_machine=ymp-cray
    1045                 os=-unicos
    1046914                ;;
    1047915        z8k-*-coff)
     
    1065933                basic_machine=hppa1.1-oki
    1066934                ;;
     935        mips)
     936                if [ x$os = x-linux-gnu ]; then
     937                        basic_machine=mips-unknown
     938                else
     939                        basic_machine=mips-mips
     940                fi
     941                ;;
    1067942        romp)
    1068943                basic_machine=romp-ibm
    1069                 ;;
    1070         mmix)
    1071                 basic_machine=mmix-knuth
    1072944                ;;
    1073945        rs6000)
     
    1087959                basic_machine=we32k-att
    1088960                ;;
    1089         sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
     961        sh3 | sh4)
    1090962                basic_machine=sh-unknown
    1091963                ;;
    1092         sh64)
    1093                 basic_machine=sh64-unknown
    1094                 ;;
    1095         sparc | sparcv8 | sparcv9 | sparcv9b)
     964        sparc | sparcv9 | sparcv9b)
    1096965                basic_machine=sparc-sun
    1097966                ;;
    1098         cydra)
     967        cydra)
    1099968                basic_machine=cydra-cydrome
    1100969                ;;
     
    1110979        pmac | pmac-mpw)
    1111980                basic_machine=powerpc-apple
     981                ;;
     982        c4x*)
     983                basic_machine=c4x-none
     984                os=-coff
    1112985                ;;
    1113986        *-unknown)
     
    11661039              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
    11671040              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
    1168               | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
    1169               | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
    1170               | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
     1041              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
     1042              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
    11711043              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
    11721044              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
    11731045              | -chorusos* | -chorusrdb* \
    1174               | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
    1175               | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
    1176               | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
     1046              | -cygwin* | -msys* | -p4w* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
     1047              | -mingw* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
     1048              | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
    11771049              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
    1178               | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
    1179               | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
    1180               | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
    1181               | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
     1050              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*)
    11821051        # Remember, each alternative MUST END IN *, to match a version number.
    11831052                ;;
     
    11911060                esac
    11921061                ;;
    1193         -nto-qnx*)
    1194                 ;;
    11951062        -nto*)
    1196                 os=`echo $os | sed -e 's|nto|nto-qnx|'`
     1063                os=-nto-qnx
    11971064                ;;
    11981065        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
     
    12031070                os=`echo $os | sed -e 's|mac|macos|'`
    12041071                ;;
    1205         -linux-dietlibc)
    1206                 os=-linux-dietlibc
    1207                 ;;
    12081072        -linux*)
    12091073                os=`echo $os | sed -e 's|linux|linux-gnu|'`
     
    12181082                os=-openedition
    12191083                ;;
    1220         -os400*)
    1221                 os=-os400
    1222                 ;;
    12231084        -wince*)
    12241085                os=-wince
     
    12391100                os=-aos
    12401101                ;;
    1241         -atheos*)
    1242                 os=-atheos
    1243                 ;;
    1244         -syllable*)
    1245                 os=-syllable
    1246                 ;;
    12471102        -386bsd)
    12481103                os=-bsd
     
    12511106                os=-sysv
    12521107                ;;
    1253         -nova*)
    1254                 os=-rtmk-nova
    1255                 ;;
    12561108        -ns2 )
    1257                 os=-nextstep2
     1109                os=-nextstep2
    12581110                ;;
    12591111        -nsk*)
     
    12671119                os=-sysv4
    12681120                ;;
    1269         -tpf*)
    1270                 os=-tpf
    1271                 ;;
    12721121        -triton*)
    12731122                os=-sysv3
     
    12971146                os=-xenix
    12981147                ;;
    1299         -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
    1300                 os=-mint
    1301                 ;;
    1302         -aros*)
    1303                 os=-aros
    1304                 ;;
    1305         -kaos*)
    1306                 os=-kaos
    1307                 ;;
    1308         -zvmoe)
    1309                 os=-zvmoe
     1148        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
     1149                os=-mint
    13101150                ;;
    13111151        -none)
     
    13401180                os=-aout
    13411181                ;;
    1342     c4x-* | tic4x-*)
    1343         os=-coff
    1344         ;;
    1345         # This must come before the *-dec entry.
    13461182        pdp10-*)
    13471183                os=-tops20
    13481184                ;;
    1349         pdp11-*)
     1185        pdp11-*)
    13501186                os=-none
    13511187                ;;
     
    13741210                os=-elf
    13751211                ;;
    1376         or32-*)
    1377                 os=-coff
    1378                 ;;
    13791212        *-tti)  # must be before sparc entry or we get the wrong os.
    13801213                os=-sysv3
     
    13891222                os=-aix
    13901223                ;;
    1391         *-knuth)
    1392                 os=-mmixware
    1393                 ;;
    13941224        *-wec)
    13951225                os=-proelf
     
    14431273                os=-nextstep3
    14441274                ;;
    1445         *-gould)
     1275        *-gould)
    14461276                os=-sysv
    14471277                ;;
    1448         *-highlevel)
     1278        *-highlevel)
    14491279                os=-bsd
    14501280                ;;
     
    14521282                os=-bsd
    14531283                ;;
    1454         *-sgi)
     1284        *-sgi)
    14551285                os=-irix
    14561286                ;;
    1457         *-siemens)
     1287        *-siemens)
    14581288                os=-sysv4
    14591289                ;;
     
    15241354                                vendor=ibm
    15251355                                ;;
    1526                         -os400*)
    1527                                 vendor=ibm
    1528                                 ;;
    15291356                        -ptx*)
    15301357                                vendor=sequent
    15311358                                ;;
    1532                         -tpf*)
    1533                                 vendor=ibm
    1534                                 ;;
    1535                         -vxsim* | -vxworks* | -windiss*)
     1359                        -vxsim* | -vxworks*)
    15361360                                vendor=wrs
    15371361                                ;;
     
    15471371                        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
    15481372                                vendor=atari
    1549                                 ;;
    1550                         -vos*)
    1551                                 vendor=stratus
    15521373                                ;;
    15531374                esac
Note: See TracChangeset for help on using the changeset viewer.