Changeset ad849c6eaf1422891cec3416d404c4bcc3d335b6

Show
Ignore:
Timestamp:
01/06/07 23:41:33 (6 years ago)
Author:
Philipp Kern <phil@…>
Parents:
98a570a611271800de3383728fc714ffe8e5f103
Children:
8c33ab10b2803083805bb91e98847d6781d318e8
git-committer:
Philipp Kern <phil@0x539.de> / 2007-01-06T22:41:33Z+0000
Message:

[project @ Changes by libtool]

Original author: Armin Burgmeier <armin@…>
Date: 2005-07-21 16:55:14+00:00

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • config.guess

    rf49bdc2 rad849c6  
    44#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 
    55 
    6 timestamp='2005-03-24' 
     6timestamp='2005-05-27' 
    77 
    88# This file is free software; you can redistribute it and/or modify it 
     
    1818# You should have received a copy of the GNU General Public License 
    1919# along with this program; if not, write to the Free Software 
    20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
     20# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 
     21# 02110-1301, USA. 
    2122# 
    2223# As a special exception to the GNU General Public License, if you 
     
    2425# configuration script generated by Autoconf, you may include it under 
    2526# the same distribution terms that you use for the rest of that program. 
     27 
    2628 
    2729# Originally written by Per Bothner <per@bothner.com>. 
     
    6769  case $1 in 
    6870    --time-stamp | --time* | -t ) 
    69        echo "$timestamp" ; exit 0 ;; 
     71       echo "$timestamp" ; exit ;; 
    7072    --version | -v ) 
    71        echo "$version" ; exit 0 ;; 
     73       echo "$version" ; exit ;; 
    7274    --help | --h* | -h ) 
    73        echo "$usage"; exit 0 ;; 
     75       echo "$usage"; exit ;; 
    7476    -- )     # Stop option processing 
    7577       shift; break ;; 
     
    214216        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. 
    215217        echo "${machine}-${os}${release}" 
    216         exit 0 ;; 
     218        exit ;; 
    217219    amd64:OpenBSD:*:*) 
    218220        echo x86_64-unknown-openbsd${UNAME_RELEASE} 
    219         exit 0 ;; 
     221        exit ;; 
    220222    amiga:OpenBSD:*:*) 
    221223        echo m68k-unknown-openbsd${UNAME_RELEASE} 
    222         exit 0 ;; 
     224        exit ;; 
    223225    cats:OpenBSD:*:*) 
    224226        echo arm-unknown-openbsd${UNAME_RELEASE} 
    225         exit 0 ;; 
     227        exit ;; 
    226228    hp300:OpenBSD:*:*) 
    227229        echo m68k-unknown-openbsd${UNAME_RELEASE} 
    228         exit 0 ;; 
     230        exit ;; 
    229231    luna88k:OpenBSD:*:*) 
    230232        echo m88k-unknown-openbsd${UNAME_RELEASE} 
    231         exit 0 ;; 
     233        exit ;; 
    232234    mac68k:OpenBSD:*:*) 
    233235        echo m68k-unknown-openbsd${UNAME_RELEASE} 
    234         exit 0 ;; 
     236        exit ;; 
    235237    macppc:OpenBSD:*:*) 
    236238        echo powerpc-unknown-openbsd${UNAME_RELEASE} 
    237         exit 0 ;; 
     239        exit ;; 
    238240    mvme68k:OpenBSD:*:*) 
    239241        echo m68k-unknown-openbsd${UNAME_RELEASE} 
    240         exit 0 ;; 
     242        exit ;; 
    241243    mvme88k:OpenBSD:*:*) 
    242244        echo m88k-unknown-openbsd${UNAME_RELEASE} 
    243         exit 0 ;; 
     245        exit ;; 
    244246    mvmeppc:OpenBSD:*:*) 
    245247        echo powerpc-unknown-openbsd${UNAME_RELEASE} 
    246         exit 0 ;; 
     248        exit ;; 
    247249    sgi:OpenBSD:*:*) 
    248250        echo mips64-unknown-openbsd${UNAME_RELEASE} 
    249         exit 0 ;; 
     251        exit ;; 
    250252    sun3:OpenBSD:*:*) 
    251253        echo m68k-unknown-openbsd${UNAME_RELEASE} 
    252         exit 0 ;; 
     254        exit ;; 
    253255    *:OpenBSD:*:*) 
    254256        echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} 
    255         exit 0 ;; 
     257        exit ;; 
    256258    *:ekkoBSD:*:*) 
    257259        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} 
    258         exit 0 ;; 
     260        exit ;; 
    259261    macppc:MirBSD:*:*) 
    260262        echo powerppc-unknown-mirbsd${UNAME_RELEASE} 
    261         exit 0 ;; 
     263        exit ;; 
    262264    *:MirBSD:*:*) 
    263265        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} 
    264         exit 0 ;; 
     266        exit ;; 
    265267    alpha:OSF1:*:*) 
    266268        case $UNAME_RELEASE in 
     
    315317        # 1.2 uses "1.2" for uname -r. 
    316318        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 
    317         exit 0 ;; 
     319        exit ;; 
    318320    Alpha\ *:Windows_NT*:*) 
    319321        # How do we know it's Interix rather than the generic POSIX subsystem? 
     
    321323        # of the specific Alpha model? 
    322324        echo alpha-pc-interix 
    323         exit 0 ;; 
     325        exit ;; 
    324326    21064:Windows_NT:50:3) 
    325327        echo alpha-dec-winnt3.5 
    326         exit 0 ;; 
     328        exit ;; 
    327329    Amiga*:UNIX_System_V:4.0:*) 
    328330        echo m68k-unknown-sysv4 
    329         exit 0;; 
     331        exit ;; 
    330332    *:[Aa]miga[Oo][Ss]:*:*) 
    331333        echo ${UNAME_MACHINE}-unknown-amigaos 
    332         exit 0 ;; 
     334        exit ;; 
    333335    *:[Mm]orph[Oo][Ss]:*:*) 
    334336        echo ${UNAME_MACHINE}-unknown-morphos 
    335         exit 0 ;; 
     337        exit ;; 
    336338    *:OS/390:*:*) 
    337339        echo i370-ibm-openedition 
    338         exit 0 ;; 
     340        exit ;; 
    339341    *:z/VM:*:*) 
    340342        echo s390-ibm-zvmoe 
    341         exit 0 ;; 
     343        exit ;; 
    342344    *:OS400:*:*) 
    343345        echo powerpc-ibm-os400 
    344         exit 0 ;; 
     346        exit ;; 
    345347    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) 
    346348        echo arm-acorn-riscix${UNAME_RELEASE} 
    347         exit 0;; 
     349        exit ;; 
     350    arm:riscos:*:*|arm:RISCOS:*:*) 
     351        echo arm-unknown-riscos 
     352        exit ;; 
    348353    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) 
    349354        echo hppa1.1-hitachi-hiuxmpp 
    350         exit 0;; 
     355        exit ;; 
    351356    Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) 
    352357        # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. 
     
    356361                echo pyramid-pyramid-bsd 
    357362        fi 
    358         exit 0 ;; 
     363        exit ;; 
    359364    NILE*:*:*:dcosx) 
    360365        echo pyramid-pyramid-svr4 
    361         exit 0 ;; 
     366        exit ;; 
    362367    DRS?6000:unix:4.0:6*) 
    363368        echo sparc-icl-nx6 
    364         exit 0 ;; 
     369        exit ;; 
    365370    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) 
    366371        case `/usr/bin/uname -p` in 
    367             sparc) echo sparc-icl-nx7 && exit 0 ;; 
     372            sparc) echo sparc-icl-nx7; exit ;; 
    368373        esac ;; 
    369374    sun4H:SunOS:5.*:*) 
    370375        echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 
    371         exit 0 ;; 
     376        exit ;; 
    372377    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 
    373378        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 
    374         exit 0 ;; 
     379        exit ;; 
    375380    i86pc:SunOS:5.*:*) 
    376381        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 
    377         exit 0 ;; 
     382        exit ;; 
    378383    sun4*:SunOS:6*:*) 
    379384        # According to config.sub, this is the proper way to canonicalize 
     
    381386        # it's likely to be more like Solaris than SunOS4. 
    382387        echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 
    383         exit 0 ;; 
     388        exit ;; 
    384389    sun4*:SunOS:*:*) 
    385390        case "`/usr/bin/arch -k`" in 
     
    390395        # Japanese Language versions have a version number like `4.1.3-JL'. 
    391396        echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` 
    392         exit 0 ;; 
     397        exit ;; 
    393398    sun3*:SunOS:*:*) 
    394399        echo m68k-sun-sunos${UNAME_RELEASE} 
    395         exit 0 ;; 
     400        exit ;; 
    396401    sun*:*:4.2BSD:*) 
    397402        UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` 
     
    405410                ;; 
    406411        esac 
    407         exit 0 ;; 
     412        exit ;; 
    408413    aushp:SunOS:*:*) 
    409414        echo sparc-auspex-sunos${UNAME_RELEASE} 
    410         exit 0 ;; 
     415        exit ;; 
    411416    # The situation for MiNT is a little confusing.  The machine name 
    412417    # can be virtually everything (everything which is not 
     
    419424    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) 
    420425        echo m68k-atari-mint${UNAME_RELEASE} 
    421         exit 0 ;; 
     426        exit ;; 
    422427    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) 
    423428        echo m68k-atari-mint${UNAME_RELEASE} 
    424         exit 0 ;; 
     429        exit ;; 
    425430    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) 
    426431        echo m68k-atari-mint${UNAME_RELEASE} 
    427         exit 0 ;; 
     432        exit ;; 
    428433    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) 
    429434        echo m68k-milan-mint${UNAME_RELEASE} 
    430         exit 0 ;; 
     435        exit ;; 
    431436    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) 
    432437        echo m68k-hades-mint${UNAME_RELEASE} 
    433         exit 0 ;; 
     438        exit ;; 
    434439    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) 
    435440        echo m68k-unknown-mint${UNAME_RELEASE} 
    436         exit 0 ;; 
     441        exit ;; 
    437442    m68k:machten:*:*) 
    438443        echo m68k-apple-machten${UNAME_RELEASE} 
    439         exit 0 ;; 
     444        exit ;; 
    440445    powerpc:machten:*:*) 
    441446        echo powerpc-apple-machten${UNAME_RELEASE} 
    442         exit 0 ;; 
     447        exit ;; 
    443448    RISC*:Mach:*:*) 
    444449        echo mips-dec-mach_bsd4.3 
    445         exit 0 ;; 
     450        exit ;; 
    446451    RISC*:ULTRIX:*:*) 
    447452        echo mips-dec-ultrix${UNAME_RELEASE} 
    448         exit 0 ;; 
     453        exit ;; 
    449454    VAX*:ULTRIX*:*:*) 
    450455        echo vax-dec-ultrix${UNAME_RELEASE} 
    451         exit 0 ;; 
     456        exit ;; 
    452457    2020:CLIX:*:* | 2430:CLIX:*:*) 
    453458        echo clipper-intergraph-clix${UNAME_RELEASE} 
    454         exit 0 ;; 
     459        exit ;; 
    455460    mips:*:*:UMIPS | mips:*:*:RISCos) 
    456461        eval $set_cc_for_build 
     
    476481        } 
    477482EOF 
    478         $CC_FOR_BUILD -o $dummy $dummy.c \ 
    479           && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ 
    480           && exit 0 
     483        $CC_FOR_BUILD -o $dummy $dummy.c && 
     484          dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && 
     485          SYSTEM_NAME=`$dummy $dummyarg` && 
     486            { echo "$SYSTEM_NAME"; exit; } 
    481487        echo mips-mips-riscos${UNAME_RELEASE} 
    482         exit 0 ;; 
     488        exit ;; 
    483489    Motorola:PowerMAX_OS:*:*) 
    484490        echo powerpc-motorola-powermax 
    485         exit 0 ;; 
     491        exit ;; 
    486492    Motorola:*:4.3:PL8-*) 
    487493        echo powerpc-harris-powermax 
    488         exit 0 ;; 
     494        exit ;; 
    489495    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) 
    490496        echo powerpc-harris-powermax 
    491         exit 0 ;; 
     497        exit ;; 
    492498    Night_Hawk:Power_UNIX:*:*) 
    493499        echo powerpc-harris-powerunix 
    494         exit 0 ;; 
     500        exit ;; 
    495501    m88k:CX/UX:7*:*) 
    496502        echo m88k-harris-cxux7 
    497         exit 0 ;; 
     503        exit ;; 
    498504    m88k:*:4*:R4*) 
    499505        echo m88k-motorola-sysv4 
    500         exit 0 ;; 
     506        exit ;; 
    501507    m88k:*:3*:R3*) 
    502508        echo m88k-motorola-sysv3 
    503         exit 0 ;; 
     509        exit ;; 
    504510    AViiON:dgux:*:*) 
    505511        # DG/UX returns AViiON for all architectures 
     
    517523            echo i586-dg-dgux${UNAME_RELEASE} 
    518524        fi 
    519         exit 0 ;; 
     525        exit ;; 
    520526    M88*:DolphinOS:*:*) # DolphinOS (SVR3) 
    521527        echo m88k-dolphin-sysv3 
    522         exit 0 ;; 
     528        exit ;; 
    523529    M88*:*:R3*:*) 
    524530        # Delta 88k system running SVR3 
    525531        echo m88k-motorola-sysv3 
    526         exit 0 ;; 
     532        exit ;; 
    527533    XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) 
    528534        echo m88k-tektronix-sysv3 
    529         exit 0 ;; 
     535        exit ;; 
    530536    Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) 
    531537        echo m68k-tektronix-bsd 
    532         exit 0 ;; 
     538        exit ;; 
    533539    *:IRIX*:*:*) 
    534540        echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` 
    535         exit 0 ;; 
     541        exit ;; 
    536542    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. 
    537         echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id 
    538         exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX ' 
     543        echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id 
     544        exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX ' 
    539545    i*86:AIX:*:*) 
    540546        echo i386-ibm-aix 
    541         exit 0 ;; 
     547        exit ;; 
    542548    ia64:AIX:*:*) 
    543549        if [ -x /usr/bin/oslevel ] ; then 
     
    547553        fi 
    548554        echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} 
    549         exit 0 ;; 
     555        exit ;; 
    550556    *:AIX:2:3) 
    551557        if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then 
     
    562568                        } 
    563569EOF 
    564                 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 
    565                 echo rs6000-ibm-aix3.2.5 
     570                if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` 
     571                then 
     572                        echo "$SYSTEM_NAME" 
     573                else 
     574                        echo rs6000-ibm-aix3.2.5 
     575                fi 
    566576        elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then 
    567577                echo rs6000-ibm-aix3.2.4 
     
    569579                echo rs6000-ibm-aix3.2 
    570580        fi 
    571         exit 0 ;; 
     581        exit ;; 
    572582    *:AIX:*:[45]) 
    573583        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` 
     
    583593        fi 
    584594        echo ${IBM_ARCH}-ibm-aix${IBM_REV} 
    585         exit 0 ;; 
     595        exit ;; 
    586596    *:AIX:*:*) 
    587597        echo rs6000-ibm-aix 
    588         exit 0 ;; 
     598        exit ;; 
    589599    ibmrt:4.4BSD:*|romp-ibm:BSD:*) 
    590600        echo romp-ibm-bsd4.4 
    591         exit 0 ;; 
     601        exit ;; 
    592602    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and 
    593603        echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to 
    594         exit 0 ;;                           # report: romp-ibm BSD 4.3 
     604        exit ;;                             # report: romp-ibm BSD 4.3 
    595605    *:BOSX:*:*) 
    596606        echo rs6000-bull-bosx 
    597         exit 0 ;; 
     607        exit ;; 
    598608    DPX/2?00:B.O.S.:*:*) 
    599609        echo m68k-bull-sysv3 
    600         exit 0 ;; 
     610        exit ;; 
    601611    9000/[34]??:4.3bsd:1.*:*) 
    602612        echo m68k-hp-bsd 
    603         exit 0 ;; 
     613        exit ;; 
    604614    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) 
    605615        echo m68k-hp-bsd4.4 
    606         exit 0 ;; 
     616        exit ;; 
    607617    9000/[34678]??:HP-UX:*:*) 
    608618        HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` 
     
    668678            # avoid double evaluation of $set_cc_for_build 
    669679            test -n "$CC_FOR_BUILD" || eval $set_cc_for_build 
    670             if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null 
     680 
     681            # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating 
     682            # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler 
     683            # generating 64-bit code.  GNU and HP use different nomenclature: 
     684            # 
     685            # $ CC_FOR_BUILD=cc ./config.guess 
     686            # => hppa2.0w-hp-hpux11.23 
     687            # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess 
     688            # => hppa64-hp-hpux11.23 
     689 
     690            if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | 
     691                grep __LP64__ >/dev/null 
    671692            then 
    672693                HP_ARCH="hppa2.0w" 
     
    676697        fi 
    677698        echo ${HP_ARCH}-hp-hpux${HPUX_REV} 
    678         exit 0 ;; 
     699        exit ;; 
    679700    ia64:HP-UX:*:*) 
    680701        HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` 
    681702        echo ia64-hp-hpux${HPUX_REV} 
    682         exit 0 ;; 
     703        exit ;; 
    683704    3050*:HI-UX:*:*) 
    684705        eval $set_cc_for_build 
     
    708729        } 
    709730EOF 
    710         $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 
     731        $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && 
     732                { echo "$SYSTEM_NAME"; exit; } 
    711733        echo unknown-hitachi-hiuxwe2 
    712         exit 0 ;; 
     734        exit ;; 
    713735    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) 
    714736        echo hppa1.1-hp-bsd 
    715         exit 0 ;; 
     737        exit ;; 
    716738    9000/8??:4.3bsd:*:*) 
    717739        echo hppa1.0-hp-bsd 
    718         exit 0 ;; 
     740        exit ;; 
    719741    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) 
    720742        echo hppa1.0-hp-mpeix 
    721         exit 0 ;; 
     743        exit ;; 
    722744    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) 
    723745        echo hppa1.1-hp-osf 
    724         exit 0 ;; 
     746        exit ;; 
    725747    hp8??:OSF1:*:*) 
    726748        echo hppa1.0-hp-osf 
    727         exit 0 ;; 
     749        exit ;; 
    728750    i*86:OSF1:*:*) 
    729751        if [ -x /usr/sbin/sysversion ] ; then 
     
    732754            echo ${UNAME_MACHINE}-unknown-osf1 
    733755        fi 
    734         exit 0 ;; 
     756        exit ;; 
    735757    parisc*:Lites*:*:*) 
    736758        echo hppa1.1-hp-lites 
    737         exit 0 ;; 
     759        exit ;; 
    738760    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) 
    739761        echo c1-convex-bsd 
    740         exit 0 ;; 
     762        exit ;; 
    741763    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) 
    742764        if getsysinfo -f scalar_acc 
     
    744766        else echo c2-convex-bsd 
    745767        fi 
    746         exit 0 ;; 
     768        exit ;; 
    747769    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) 
    748770        echo c34-convex-bsd 
    749         exit 0 ;; 
     771        exit ;; 
    750772    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) 
    751773        echo c38-convex-bsd 
    752         exit 0 ;; 
     774        exit ;; 
    753775    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) 
    754776        echo c4-convex-bsd 
    755         exit 0 ;; 
     777        exit ;; 
    756778    CRAY*Y-MP:*:*:*) 
    757779        echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
    758         exit 0 ;; 
     780        exit ;; 
    759781    CRAY*[A-Z]90:*:*:*) 
    760782        echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ 
     
    762784              -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ 
    763785              -e 's/\.[^.]*$/.X/' 
    764         exit 0 ;; 
     786        exit ;; 
    765787    CRAY*TS:*:*:*) 
    766788        echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
    767         exit 0 ;; 
     789        exit ;; 
    768790    CRAY*T3E:*:*:*) 
    769791        echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
    770         exit 0 ;; 
     792        exit ;; 
    771793    CRAY*SV1:*:*:*) 
    772794        echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
    773         exit 0 ;; 
     795        exit ;; 
    774796    *:UNICOS/mp:*:*) 
    775797        echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
    776         exit 0 ;; 
     798        exit ;; 
    777799    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 
    778800        FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 
     
    780802        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 
    781803        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 
    782         exit 0 ;; 
     804        exit ;; 
    783805    5000:UNIX_System_V:4.*:*) 
    784806        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 
    785807        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` 
    786808        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 
    787         exit 0 ;; 
     809        exit ;; 
    788810    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) 
    789811        echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} 
    790         exit 0 ;; 
     812        exit ;; 
    791813    sparc*:BSD/OS:*:*) 
    792814        echo sparc-unknown-bsdi${UNAME_RELEASE} 
    793         exit 0 ;; 
     815        exit ;; 
    794816    *:BSD/OS:*:*) 
    795817        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} 
    796         exit 0 ;; 
     818        exit ;; 
    797819    *:FreeBSD:*:*) 
    798820        echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 
    799         exit 0 ;; 
     821        exit ;; 
    800822    i*:CYGWIN*:*) 
    801823        echo ${UNAME_MACHINE}-pc-cygwin 
    802         exit 0 ;; 
     824        exit ;; 
    803825    i*:MINGW*:*) 
    804826        echo ${UNAME_MACHINE}-pc-mingw32 
    805         exit 0 ;; 
     827        exit ;; 
     828    i*:windows32*:*) 
     829        # uname -m includes "-pc" on this system. 
     830        echo ${UNAME_MACHINE}-mingw32 
     831        exit ;; 
    806832    i*:PW*:*) 
    807833        echo ${UNAME_MACHINE}-pc-pw32 
    808         exit 0 ;; 
     834        exit ;; 
    809835    x86:Interix*:[34]*) 
    810836        echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' 
    811         exit 0 ;; 
     837        exit ;; 
    812838    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 
    813839        echo i${UNAME_MACHINE}-pc-mks 
    814         exit 0 ;; 
     840        exit ;; 
    815841    i*:Windows_NT*:* | Pentium*:Windows_NT*:*) 
    816842        # How do we know it's Interix rather than the generic POSIX subsystem? 
     
    818844        # UNAME_MACHINE based on the output of uname instead of i386? 
    819845        echo i586-pc-interix 
    820         exit 0 ;; 
     846        exit ;; 
    821847    i*:UWIN*:*) 
    822848        echo ${UNAME_MACHINE}-pc-uwin 
    823         exit 0 ;; 
     849        exit ;; 
    824850    amd64:CYGWIN*:*:*) 
    825851        echo x86_64-unknown-cygwin 
    826         exit 0 ;; 
     852        exit ;; 
    827853    p*:CYGWIN*:*) 
    828854        echo powerpcle-unknown-cygwin 
    829         exit 0 ;; 
     855        exit ;; 
    830856    prep*:SunOS:5.*:*) 
    831857        echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 
    832         exit 0 ;; 
     858        exit ;; 
    833859    *:GNU:*:*) 
    834860        # the GNU system 
    835861        echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 
    836         exit 0 ;; 
     862        exit ;; 
    837863    *:GNU/*:*:*) 
    838864        # other systems with GNU libc and userland 
    839865        echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu 
    840         exit 0 ;; 
     866        exit ;; 
    841867    i*86:Minix:*:*) 
    842868        echo ${UNAME_MACHINE}-pc-minix 
    843         exit 0 ;; 
     869        exit ;; 
    844870    arm*:Linux:*:*) 
    845871        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    846         exit 0 ;; 
     872        exit ;; 
    847873    cris:Linux:*:*) 
    848874        echo cris-axis-linux-${LIBC} 
    849         exit 0 ;; 
     875        exit ;; 
    850876    crisv32:Linux:*:*) 
    851877        echo crisv32-axis-linux-${LIBC} 
    852         exit 0 ;; 
     878        exit ;; 
    853879    frv:Linux:*:*) 
    854880        echo frv-unknown-linux-${LIBC} 
    855         exit 0 ;; 
     881        exit ;; 
    856882    ia64:Linux:*:*) 
    857883        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    858         exit 0 ;; 
     884        exit ;; 
    859885    m32r*:Linux:*:*) 
    860886        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    861         exit 0 ;; 
     887        exit ;; 
    862888    m68*:Linux:*:*) 
    863889        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    864         exit 0 ;; 
     890        exit ;; 
    865891    mips:Linux:*:*) 
    866892        eval $set_cc_for_build 
     
    880906EOF 
    881907        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 
    882         test x"${CPU}" != x && echo "${CPU}-unknown-linux-${LIBC}" && exit 0 
     908        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } 
    883909        ;; 
    884910    mips64:Linux:*:*) 
     
    899925EOF 
    900926        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 
    901         test x"${CPU}" != x && echo "${CPU}-unknown-linux-${LIBC}" && exit 0 
     927        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } 
    902928        ;; 
    903929    ppc:Linux:*:*) 
    904930        echo powerpc-unknown-linux-${LIBC} 
    905         exit 0 ;; 
     931        exit ;; 
    906932    ppc64:Linux:*:*) 
    907933        echo powerpc64-unknown-linux-${LIBC} 
    908         exit 0 ;; 
     934        exit ;; 
    909935    alpha:Linux:*:*) 
    910936        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in 
     
    920946        if test "$?" = 0 ; then LIBC="gnulibc1" ; fi 
    921947        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    922         exit 0 ;; 
     948        exit ;; 
    923949    parisc:Linux:*:* | hppa:Linux:*:*) 
    924950        # Look for CPU level 
     
    928954          *)    echo hppa-unknown-linux-${LIBC} ;; 
    929955        esac 
    930         exit 0 ;; 
     956        exit ;; 
    931957    parisc64:Linux:*:* | hppa64:Linux:*:*) 
    932958        echo hppa64-unknown-linux-${LIBC} 
    933         exit 0 ;; 
     959        exit ;; 
    934960    s390:Linux:*:* | s390x:Linux:*:*) 
    935961        echo ${UNAME_MACHINE}-ibm-linux 
    936         exit 0 ;; 
     962        exit ;; 
    937963    sh64*:Linux:*:*) 
    938964        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    939         exit 0 ;; 
     965        exit ;; 
    940966    sh*:Linux:*:*) 
    941967        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    942         exit 0 ;; 
     968        exit ;; 
    943969    sparc:Linux:*:* | sparc64:Linux:*:*) 
    944970        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    945         exit 0 ;; 
     971        exit ;; 
    946972    x86_64:Linux:*:*) 
    947973        echo x86_64-unknown-linux-${LIBC} 
    948         exit 0 ;; 
     974        exit ;; 
    949975    i*86:Linux:*:*) 
    950976        # The BFD linker knows what the default object file format is, so 
     
    964990          a.out-i386-linux) 
    965991                echo "${UNAME_MACHINE}-pc-linux-${LIBC}aout" 
    966                 exit 0 ;; 
     992                exit ;; 
    967993          coff-i386) 
    968994                echo "${UNAME_MACHINE}-pc-linux-${LIBC}coff" 
    969                 exit 0 ;; 
     995                exit ;; 
    970996          "") 
    971997                # Either a pre-BFD a.out linker (linux-gnuoldld) or 
    972998                # one that does not give us useful --help. 
    973999                echo "${UNAME_MACHINE}-pc-linux-${LIBC}oldld" 
    974                 exit 0 ;; 
     1000                exit ;; 
    9751001        esac 
    976         if [ "`echo $LIBC | sed -e 's:uclibc::'`" != "$LIBC" ] ; then echo "$TENTATIVE" && exit 0 ; fi 
     1002        if [ "$LIBC" != "gnu" ] ; then echo "$TENTATIVE" && exit 0 ; fi 
    9771003        # Determine whether the default compiler is a.out or elf 
    9781004        eval $set_cc_for_build 
     
    10011027EOF 
    10021028        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` 
    1003         test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 
    1004         test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 
     1029        test x"${LIBC}" != x && { 
     1030                echo "${UNAME_MACHINE}-pc-linux-${LIBC}" 
     1031                exit 
     1032        } 
     1033        test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } 
    10051034        ;; 
    10061035    i*86:DYNIX/ptx:4*:*) 
     
    10091038        # sysname and nodename. 
    10101039        echo i386-sequent-sysv4 
    1011         exit 0 ;; 
     1040        exit ;; 
    10121041    i*86:UNIX_SV:4.2MP:2.*) 
    10131042        # Unixware is an offshoot of SVR4, but it has its own version 
     
    10171046        # Use sysv4.2uw... so that sysv4* matches it. 
    10181047        echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} 
    1019         exit 0 ;; 
     1048        exit ;; 
    10201049    i*86:OS/2:*:*) 
    10211050        # If we were able to find `uname', then EMX Unix compatibility 
    10221051        # is probably installed. 
    10231052        echo ${UNAME_MACHINE}-pc-os2-emx 
    1024         exit 0 ;; 
     1053        exit ;; 
    10251054    i*86:XTS-300:*:STOP) 
    10261055        echo ${UNAME_MACHINE}-unknown-stop 
    1027         exit 0 ;; 
     1056        exit ;; 
    10281057    i*86:atheos:*:*) 
    10291058        echo ${UNAME_MACHINE}-unknown-atheos 
    1030         exit 0 ;; 
    1031         i*86:syllable:*:*) 
     1059        exit ;; 
     1060    i*86:syllable:*:*) 
    10321061        echo ${UNAME_MACHINE}-pc-syllable 
    1033         exit 0 ;; 
     1062        exit ;; 
    10341063    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) 
    10351064        echo i386-unknown-lynxos${UNAME_RELEASE} 
    1036         exit 0 ;; 
     1065        exit ;; 
    10371066    i*86:*DOS:*:*) 
    10381067        echo ${UNAME_MACHINE}-pc-msdosdjgpp 
    1039         exit 0 ;; 
     1068        exit ;; 
    10401069    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) 
    10411070        UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` 
     
    10451074                echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} 
    10461075        fi 
    1047         exit 0 ;; 
    1048     i*86:*:5:[78]*) 
     1076        exit ;; 
     1077    i*86:*:5:[678]*) 
     1078        # UnixWare 7.x, OpenUNIX and OpenServer 6. 
    10491079        case `/bin/uname -X | grep "^Machine"` in 
    10501080            *486*)           UNAME_MACHINE=i486 ;; 
     
    10531083        esac 
    10541084        echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} 
    1055         exit 0 ;; 
     1085        exit ;; 
    10561086    i*86:*:3.2:*) 
    10571087        if test -f /usr/options/cb.name; then 
     
    10711101                echo ${UNAME_MACHINE}-pc-sysv32 
    10721102        fi 
    1073         exit 0 ;; 
     1103        exit ;; 
    10741104    pc:*:*:*) 
    10751105        # Left here for compatibility: 
     
    10771107        # the processor, so we play safe by assuming i386. 
    10781108        echo i386-pc-msdosdjgpp 
    1079         exit 0 ;; 
     1109        exit ;; 
    10801110    Intel:Mach:3*:*) 
    10811111        echo i386-pc-mach3 
    1082         exit 0 ;; 
     1112        exit ;; 
    10831113    paragon:*:*:*) 
    10841114        echo i860-intel-osf1 
    1085         exit 0 ;; 
     1115        exit ;; 
    10861116    i860:*:4.*:*) # i860-SVR4 
    10871117        if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then 
     
    10901120          echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4 
    10911121        fi 
    1092         exit 0 ;; 
     1122        exit ;; 
    10931123    mini*:CTIX:SYS*5:*) 
    10941124        # "miniframe" 
    10951125        echo m68010-convergent-sysv 
    1096         exit 0 ;; 
     1126        exit ;; 
    10971127    mc68k:UNIX:SYSTEM5:3.51m) 
    10981128        echo m68k-convergent-sysv 
    1099         exit 0 ;; 
     1129        exit ;; 
    11001130    M680?0:D-NIX:5.3:*) 
    11011131        echo m68k-diab-dnix 
    1102         exit 0 ;; 
     1132        exit ;; 
    11031133    M68*:*:R3V[5678]*:*) 
    1104         test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; 
     1134        test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 
    11051135    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) 
    11061136        OS_REL='' 
     
    11081138        && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` 
    11091139        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 
    1110           && echo i486-ncr-sysv4.3${OS_REL} && exit 0 
     1140          && { echo i486-ncr-sysv4.3${OS_REL}; exit; } 
    11111141        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ 
    1112           && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; 
     1142          && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 
    11131143    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) 
    11141144        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 
    1115           && echo i486-ncr-sysv4 && exit 0 ;; 
     1145          && { echo i486-ncr-sysv4; exit; } ;; 
    11161146    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) 
    11171147        echo m68k-unknown-lynxos${UNAME_RELEASE} 
    1118         exit 0 ;; 
     1148        exit ;; 
    11191149    mc68030:UNIX_System_V:4.*:*) 
    11201150        echo m68k-atari-sysv4 
    1121         exit 0 ;; 
     1151        exit ;; 
    11221152    TSUNAMI:LynxOS:2.*:*) 
    11231153        echo sparc-unknown-lynxos${UNAME_RELEASE} 
    1124         exit 0 ;; 
     1154        exit ;; 
    11251155    rs6000:LynxOS:2.*:*) 
    11261156        echo rs6000-unknown-lynxos${UNAME_RELEASE} 
    1127         exit 0 ;; 
     1157        exit ;; 
    11281158    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) 
    11291159        echo powerpc-unknown-lynxos${UNAME_RELEASE} 
    1130         exit 0 ;; 
     1160        exit ;; 
    11311161    SM[BE]S:UNIX_SV:*:*) 
    11321162        echo mips-dde-sysv${UNAME_RELEASE} 
    1133         exit 0 ;; 
     1163        exit ;; 
    11341164    RM*:ReliantUNIX-*:*:*) 
    11351165        echo mips-sni-sysv4 
    1136         exit 0 ;; 
     1166        exit ;; 
    11371167    RM*:SINIX-*:*:*) 
    11381168        echo mips-sni-sysv4 
    1139         exit 0 ;; 
     1169        exit ;; 
    11401170    *:SINIX-*:*:*) 
    11411171        if uname -p 2>/dev/null >/dev/null ; then 
     
    11451175                echo ns32k-sni-sysv 
    11461176        fi 
    1147         exit 0 ;; 
     1177        exit ;; 
    11481178    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort 
    11491179                      # says <Richard.M.Bartel@ccMail.Census.GOV> 
    11501180        echo i586-unisys-sysv4 
    1151         exit 0 ;; 
     1181        exit ;; 
    11521182    *:UNIX_System_V:4*:FTX*) 
    11531183        # From Gerald Hewes <hewes@openmarket.com>. 
    11541184        # How about differentiating between stratus architectures? -djm 
    11551185        echo hppa1.1-stratus-sysv4 
    1156         exit 0 ;; 
     1186        exit ;; 
    11571187    *:*:*:FTX*) 
    11581188        # From seanf@swdc.stratus.com. 
    11591189        echo i860-stratus-sysv4 
    1160         exit 0 ;; 
     1190        exit ;; 
     1191    i*86:VOS:*:*) 
     1192        # From Paul.Green@stratus.com. 
     1193        echo ${UNAME_MACHINE}-stratus-vos 
     1194        exit ;; 
    11611195    *:VOS:*:*) 
    11621196        # From Paul.Green@stratus.com. 
    11631197        echo hppa1.1-stratus-vos 
    1164         exit 0 ;; 
     1198        exit ;; 
    11651199    mc68*:A/UX:*:*) 
    11661200        echo m68k-apple-aux${UNAME_RELEASE} 
    1167         exit 0 ;; 
     1201        exit ;; 
    11681202    news*:NEWS-OS:6*:*) 
    11691203        echo mips-sony-newsos6 
    1170         exit 0 ;; 
     1204        exit ;; 
    11711205    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) 
    11721206        if [ -d /usr/nec ]; then 
     
    11751209                echo mips-unknown-sysv${UNAME_RELEASE} 
    11761210        fi 
    1177         exit 0 ;; 
     1211        exit ;; 
    11781212    BeBox:BeOS:*:*)     # BeOS running on hardware made by Be, PPC only. 
    11791213        echo powerpc-be-beos 
    1180         exit 0 ;; 
     1214        exit ;; 
    11811215    BeMac:BeOS:*:*)     # BeOS running on Mac or Mac clone, PPC only. 
    11821216        echo powerpc-apple-beos 
    1183         exit 0 ;; 
     1217        exit ;; 
    11841218    BePC:BeOS:*:*)      # BeOS running on Intel PC compatible. 
    11851219        echo i586-pc-beos 
    1186         exit 0 ;; 
     1220        exit ;; 
    11871221    SX-4:SUPER-UX:*:*) 
    11881222        echo sx4-nec-superux${UNAME_RELEASE} 
    1189         exit 0 ;; 
     1223        exit ;; 
    11901224    SX-5:SUPER-UX:*:*) 
    11911225        echo sx5-nec-superux${UNAME_RELEASE} 
    1192         exit 0 ;; 
     1226        exit ;; 
    11931227    SX-6:SUPER-UX:*:*) 
    11941228        echo sx6-nec-superux${UNAME_RELEASE} 
    1195         exit 0 ;; 
     1229        exit ;; 
    11961230    Power*:Rhapsody:*:*) 
    11971231        echo powerpc-apple-rhapsody${UNAME_RELEASE} 
    1198         exit 0 ;; 
     1232        exit ;; 
    11991233    *:Rhapsody:*:*) 
    12001234        echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} 
    1201         exit 0 ;; 
     1235        exit ;; 
    12021236    *:Darwin:*:*) 
    12031237        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown 
     
    12071241        esac 
    12081242        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} 
    1209         exit 0 ;; 
     1243        exit ;; 
    12101244    *:procnto*:*:* | *:QNX:[0123456789]*:*) 
    12111245        UNAME_PROCESSOR=`uname -p` 
     
    12151249        fi 
    12161250        echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} 
    1217         exit 0 ;; 
     1251        exit ;; 
    12181252    *:QNX:*:4*) 
    12191253        echo i386-pc-qnx 
    1220         exit 0 ;; 
     1254        exit ;; 
    12211255    NSE-?:NONSTOP_KERNEL:*:*) 
    12221256        echo nse-tandem-nsk${UNAME_RELEASE} 
    1223         exit 0 ;; 
     1257        exit ;; 
    12241258    NSR-?:NONSTOP_KERNEL:*:*) 
    12251259        echo nsr-tandem-nsk${UNAME_RELEASE} 
    1226         exit 0 ;; 
     1260        exit ;; 
    12271261    *:NonStop-UX:*:*) 
    12281262        echo mips-compaq-nonstopux 
    1229         exit 0 ;; 
     1263        exit ;; 
    12301264    BS2000:POSIX*:*:*) 
    12311265        echo bs2000-siemens-sysv 
    1232         exit 0 ;; 
     1266        exit ;; 
    12331267    DS/*:UNIX_System_V:*:*) 
    12341268        echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} 
    1235         exit 0 ;; 
     1269        exit ;; 
    12361270    *:Plan9:*:*) 
    12371271        # "uname -m" is not consistent, so use $cputype instead. 386 
     
    12441278        fi 
    12451279        echo ${UNAME_MACHINE}-unknown-plan9 
    1246         exit 0 ;; 
     1280        exit ;; 
    12471281    *:TOPS-10:*:*) 
    12481282        echo pdp10-unknown-tops10 
    1249         exit 0 ;; 
     1283        exit ;; 
    12501284    *:TENEX:*:*) 
    12511285        echo pdp10-unknown-tenex 
    1252         exit 0 ;; 
     1286        exit ;; 
    12531287    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) 
    12541288        echo pdp10-dec-tops20 
    1255         exit 0 ;; 
     1289        exit ;; 
    12561290    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) 
    12571291        echo pdp10-xkl-tops20 
    1258         exit 0 ;; 
     1292        exit ;; 
    12591293    *:TOPS-20:*:*) 
    12601294        echo pdp10-unknown-tops20 
    1261         exit 0 ;; 
     1295        exit ;; 
    12621296    *:ITS:*:*) 
    12631297        echo pdp10-unknown-its 
    1264         exit 0 ;; 
     1298        exit ;; 
    12651299    SEI:*:*:SEIUX) 
    12661300        echo mips-sei-seiux${UNAME_RELEASE} 
    1267         exit 0 ;; 
     1301        exit ;; 
    12681302    *:DragonFly:*:*) 
    12691303        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 
    1270         exit 0 ;; 
     1304        exit ;; 
    12711305    *:*VMS:*:*) 
    12721306        UNAME_MACHINE=`(uname -p) 2>/dev/null` 
    12731307        case "${UNAME_MACHINE}" in 
    1274             A*) echo alpha-dec-vms && exit 0 ;; 
    1275             I*) echo ia64-dec-vms && exit 0 ;; 
    1276             V*) echo vax-dec-vms && exit 0 ;; 
     1308            A*) echo alpha-dec-vms ; exit ;; 
     1309            I*) echo ia64-dec-vms ; exit ;; 
     1310            V*) echo vax-dec-vms ; exit ;; 
    12771311        esac ;; 
    12781312    *:XENIX:*:SysV) 
    12791313        echo i386-pc-xenix 
    1280         exit 0 ;; 
     1314        exit ;; 
     1315    i*86:skyos:*:*) 
     1316        echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' 
     1317        exit ;; 
    12811318esac 
    12821319 
     
    13101347 
    13111348#if defined (__arm) && defined (__acorn) && defined (__unix) 
    1312   printf ("arm-acorn-riscix"); exit (0); 
     1349  printf ("arm-acorn-riscix\n"); exit (0); 
    13131350#endif 
    13141351 
     
    13991436EOF 
    14001437 
    1401 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 
     1438$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && 
     1439        { echo "$SYSTEM_NAME"; exit; } 
    14021440 
    14031441# Apollos put the system type in the environment. 
    14041442 
    1405 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } 
     1443test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } 
    14061444 
    14071445# Convex versions that predate uname can use getsysinfo(1) 
     
    14121450    c1*) 
    14131451        echo c1-convex-bsd 
    1414         exit 0 ;; 
     1452        exit ;; 
    14151453    c2*) 
    14161454        if getsysinfo -f scalar_acc 
     
    14181456        else echo c2-convex-bsd 
    14191457        fi 
    1420         exit 0 ;; 
     1458        exit ;; 
    14211459    c34*) 
    14221460        echo c34-convex-bsd 
    1423         exit 0 ;; 
     1461        exit ;; 
    14241462    c38*) 
    14251463        echo c38-convex-bsd 
    1426         exit 0 ;; 
     1464        exit ;; 
    14271465    c4*) 
    14281466        echo c4-convex-bsd 
    1429         exit 0 ;; 
     1467        exit ;; 
    14301468    esac 
    14311469fi 
  • config.sub

    rf49bdc2 rad849c6  
    44#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 
    55 
    6 timestamp='2005-02-10' 
     6timestamp='2005-06-02' 
    77 
    88# This file is (in principle) common to ALL GNU software. 
     
    2222# You should have received a copy of the GNU General Public License 
    2323# 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  
     24# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 
     25# 02110-1301, USA. 
     26# 
    2727# As a special exception to the GNU General Public License, if you 
    2828# distribute this file as part of a program that contains a 
    2929# configuration script generated by Autoconf, you may include it under 
    3030# the same distribution terms that you use for the rest of that program. 
     31 
    3132 
    3233# Please send patches to <config-patches@gnu.org>.  Submit a context 
     
    8485  case $1 in 
    8586    --time-stamp | --time* | -t ) 
    86        echo "$timestamp" ; exit 0 ;; 
     87       echo "$timestamp" ; exit ;; 
    8788    --version | -v ) 
    88        echo "$version" ; exit 0 ;; 
     89       echo "$version" ; exit ;; 
    8990    --help | --h* | -h ) 
    90        echo "$usage"; exit 0 ;; 
     91       echo "$usage"; exit ;; 
    9192    -- )     # Stop option processing 
    9293       shift; break ;; 
     
    100101       # First pass through any local machine types. 
    101102       echo $1 
    102        exit 0;; 
     103       exit ;; 
    103104 
    104105    * ) 
     
    232233        | am33_2.0 \ 
    233234        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ 
     235        | bfin \ 
    234236        | c4x | clipper \ 
    235         | d10v | d30v | dlx | dsp16xx \ 
     237        | d10v | d30v | dlx | dsp16xx | dvp \ 
    236238        | fr30 | frv \ 
    237239        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 
     
    247249        | mips64vr4300 | mips64vr4300el \ 
    248250        | mips64vr5000 | mips64vr5000el \ 
     251        | mips64r5900 | mips64r5900el \ 
    249252        | mipsisa32 | mipsisa32el \ 
    250253        | mipsisa32r2 | mipsisa32r2el \ 
     
    254257        | mipsisa64sr71k | mipsisa64sr71kel \ 
    255258        | mipstx39 | mipstx39el \ 
    256         | mips64r5900 | mips64r5900el \ 
    257259        | mn10200 | mn10300 \ 
     260        | ms1 \ 
    258261        | msp430 \ 
    259262        | ns16k | ns32k \ 
     
    264267        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ 
    265268        | sh64 | sh64le \ 
    266         | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ 
     269        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ 
     270        | sparcv8 | sparcv9 | sparcv9b \ 
    267271        | strongarm \ 
    268         | tahoe | dvp | thumb | tic4x | tic80 | tron \ 
     272        | tahoe | thumb | tic4x | tic80 | tron \ 
    269273        | v850 | v850e \ 
    270274        | we32k \ 
    271275        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ 
    272276        | z8k) 
     277                basic_machine=$basic_machine-unknown 
     278                ;; 
     279        m32c) 
    273280                basic_machine=$basic_machine-unknown 
    274281                ;; 
     
    300307        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \ 
    301308        | avr-* \ 
    302         | bs2000-* \ 
     309        | bfin-* | bs2000-* \ 
    303310        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ 
    304311        | clipper-* | craynv-* | cydra-* \ 
     
    321328        | mips64vr4300-* | mips64vr4300el-* \ 
    322329        | mips64vr5000-* | mips64vr5000el-* \ 
     330        | mips64r5900-* | mips64r5900el-* \ 
    323331        | mipsisa32-* | mipsisa32el-* \ 
    324332        | mipsisa32r2-* | mipsisa32r2el-* \ 
     
    328336        | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 
    329337        | mipstx39-* | mipstx39el-* \ 
    330         | mips64r5900-* | mips64r5900el-* \ 
    331338        | mmix-* \ 
     339        | ms1-* \ 
    332340        | msp430-* \ 
    333341        | none-* | np1-* | ns16k-* | ns32k-* \ 
     
    339347        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ 
    340348        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 
    341         | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ 
     349        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ 
     350        | sparclite-* \ 
    342351        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ 
    343352        | tahoe-* | thumb-* \ 
     
    350359        | ymp-* \ 
    351360        | z8k-*) 
     361                ;; 
     362        m32c-*) 
    352363                ;; 
    353364        # Recognize the various machine names and aliases which stand 
     
    11991210              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 
    12001211              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 
    1201               | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -irx*) 
     1212              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -skyos* \ 
     1213              | -irx* ) 
    12021214        # Remember, each alternative MUST END IN *, to match a version number. 
    12031215                ;; 
     
    15771589 
    15781590echo $basic_machine$os 
    1579 exit 0 
     1591exit 
    15801592 
    15811593# Local variables: