Ignore:
Timestamp:
03/22/12 02:00:38 (14 months ago)
Author:
BrainSlayer
Message:

update quagga

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/quagga/config.guess

    r15177 r18797  
    22# Attempt to guess a canonical system name. 
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 
    4 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 
    5 #   Free Software Foundation, Inc. 
    6  
    7 timestamp='2009-11-20' 
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 
     5#   2011 Free Software Foundation, Inc. 
     6 
     7timestamp='2011-06-03' 
    88 
    99# This file is free software; you can redistribute it and/or modify it 
     
    5757 
    5858Originally written by Per Bothner. 
    59 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 
    60 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 
     59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 
     602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free 
     61Software Foundation, Inc. 
    6162 
    6263This is free software; see the source for copying conditions.  There is NO 
     
    139140UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown 
    140141UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown 
     142 
     143case "${UNAME_SYSTEM}" in 
     144Linux|GNU/*) 
     145        eval $set_cc_for_build 
     146        cat <<-EOF > $dummy.c 
     147        #include <features.h> 
     148        #ifdef __UCLIBC__ 
     149        # ifdef __UCLIBC_CONFIG_VERSION__ 
     150        LIBC=uclibc __UCLIBC_CONFIG_VERSION__ 
     151        # else 
     152        LIBC=uclibc 
     153        # endif 
     154        #else 
     155        # ifdef __dietlibc__ 
     156        LIBC=dietlibc 
     157        # else 
     158        LIBC=gnu 
     159        # endif 
     160        #endif 
     161        EOF 
     162        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` 
     163        ;; 
     164esac 
    141165 
    142166# Note: order is significant - the case branches are not exclusive. 
     
    181205                ;; 
    182206            *) 
    183                 os=netbsd 
     207                os=netbsd 
    184208                ;; 
    185209        esac 
     
    224248                ;; 
    225249        *5.*) 
    226                 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` 
     250                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` 
    227251                ;; 
    228252        esac 
     
    270294        # 1.2 uses "1.2" for uname -r. 
    271295        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 
    272         exit ;; 
     296        # Reset EXIT trap before exiting to avoid spurious non-zero exit code. 
     297        exitcode=$? 
     298        trap '' 0 
     299        exit $exitcode ;; 
    273300    Alpha\ *:Windows_NT*:*) 
    274301        # How do we know it's Interix rather than the generic POSIX subsystem? 
     
    296323        exit ;; 
    297324    *:OS400:*:*) 
    298         echo powerpc-ibm-os400 
     325        echo powerpc-ibm-os400 
    299326        exit ;; 
    300327    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) 
     
    395422    # be no problem. 
    396423    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) 
    397         echo m68k-atari-mint${UNAME_RELEASE} 
     424        echo m68k-atari-mint${UNAME_RELEASE} 
    398425        exit ;; 
    399426    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) 
    400427        echo m68k-atari-mint${UNAME_RELEASE} 
    401         exit ;; 
     428        exit ;; 
    402429    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) 
    403         echo m68k-atari-mint${UNAME_RELEASE} 
     430        echo m68k-atari-mint${UNAME_RELEASE} 
    404431        exit ;; 
    405432    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) 
    406         echo m68k-milan-mint${UNAME_RELEASE} 
    407         exit ;; 
     433        echo m68k-milan-mint${UNAME_RELEASE} 
     434        exit ;; 
    408435    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) 
    409         echo m68k-hades-mint${UNAME_RELEASE} 
    410         exit ;; 
     436        echo m68k-hades-mint${UNAME_RELEASE} 
     437        exit ;; 
    411438    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) 
    412         echo m68k-unknown-mint${UNAME_RELEASE} 
    413         exit ;; 
     439        echo m68k-unknown-mint${UNAME_RELEASE} 
     440        exit ;; 
    414441    m68k:machten:*:*) 
    415442        echo m68k-apple-machten${UNAME_RELEASE} 
     
    481508        exit ;; 
    482509    AViiON:dgux:*:*) 
    483         # DG/UX returns AViiON for all architectures 
    484         UNAME_PROCESSOR=`/usr/bin/uname -p` 
     510        # DG/UX returns AViiON for all architectures 
     511        UNAME_PROCESSOR=`/usr/bin/uname -p` 
    485512        if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] 
    486513        then 
     
    495522            echo i586-dg-dgux${UNAME_RELEASE} 
    496523        fi 
    497         exit ;; 
     524        exit ;; 
    498525    M88*:DolphinOS:*:*) # DolphinOS (SVR3) 
    499526        echo m88k-dolphin-sysv3 
     
    552579        fi 
    553580        exit ;; 
    554     *:AIX:*:[456]) 
     581    *:AIX:*:[4567]) 
    555582        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` 
    556583        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then 
     
    595622                if [ -x /usr/bin/getconf ]; then 
    596623                    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` 
    597                     sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` 
    598                     case "${sc_cpu_version}" in 
    599                       523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 
    600                       528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 
    601                       532)                      # CPU_PA_RISC2_0 
    602                         case "${sc_kernel_bits}" in 
    603                           32) HP_ARCH="hppa2.0n" ;; 
    604                           64) HP_ARCH="hppa2.0w" ;; 
     624                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` 
     625                    case "${sc_cpu_version}" in 
     626                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 
     627                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 
     628                      532)                      # CPU_PA_RISC2_0 
     629                        case "${sc_kernel_bits}" in 
     630                          32) HP_ARCH="hppa2.0n" ;; 
     631                          64) HP_ARCH="hppa2.0w" ;; 
    605632                          '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20 
    606                         esac ;; 
    607                     esac 
     633                        esac ;; 
     634                    esac 
    608635                fi 
    609636                if [ "${HP_ARCH}" = "" ]; then 
    610637                    eval $set_cc_for_build 
    611                     sed 's/^              //' << EOF >$dummy.c 
    612  
    613               #define _HPUX_SOURCE 
    614               #include <stdlib.h> 
    615               #include <unistd.h> 
    616  
    617               int main () 
    618               { 
    619               #if defined(_SC_KERNEL_BITS) 
    620                   long bits = sysconf(_SC_KERNEL_BITS); 
    621               #endif 
    622                   long cpu  = sysconf (_SC_CPU_VERSION); 
    623  
    624                   switch (cpu) 
    625                 { 
    626                 case CPU_PA_RISC1_0: puts ("hppa1.0"); break; 
    627                 case CPU_PA_RISC1_1: puts ("hppa1.1"); break; 
    628                 case CPU_PA_RISC2_0: 
    629               #if defined(_SC_KERNEL_BITS) 
    630                     switch (bits) 
    631                         { 
    632                         case 64: puts ("hppa2.0w"); break; 
    633                         case 32: puts ("hppa2.0n"); break; 
    634                         default: puts ("hppa2.0"); break; 
    635                         } break; 
    636               #else  /* !defined(_SC_KERNEL_BITS) */ 
    637                     puts ("hppa2.0"); break; 
    638               #endif 
    639                 default: puts ("hppa1.0"); break; 
    640                 } 
    641                   exit (0); 
    642               } 
     638                    sed 's/^            //' << EOF >$dummy.c 
     639 
     640                #define _HPUX_SOURCE 
     641                #include <stdlib.h> 
     642                #include <unistd.h> 
     643 
     644                int main () 
     645                { 
     646                #if defined(_SC_KERNEL_BITS) 
     647                    long bits = sysconf(_SC_KERNEL_BITS); 
     648                #endif 
     649                    long cpu  = sysconf (_SC_CPU_VERSION); 
     650 
     651                    switch (cpu) 
     652                        { 
     653                        case CPU_PA_RISC1_0: puts ("hppa1.0"); break; 
     654                        case CPU_PA_RISC1_1: puts ("hppa1.1"); break; 
     655                        case CPU_PA_RISC2_0: 
     656                #if defined(_SC_KERNEL_BITS) 
     657                            switch (bits) 
     658                                { 
     659                                case 64: puts ("hppa2.0w"); break; 
     660                                case 32: puts ("hppa2.0n"); break; 
     661                                default: puts ("hppa2.0"); break; 
     662                                } break; 
     663                #else  /* !defined(_SC_KERNEL_BITS) */ 
     664                            puts ("hppa2.0"); break; 
     665                #endif 
     666                        default: puts ("hppa1.0"); break; 
     667                        } 
     668                    exit (0); 
     669                } 
    643670EOF 
    644671                    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` 
     
    731758    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) 
    732759        echo c1-convex-bsd 
    733         exit ;; 
     760        exit ;; 
    734761    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) 
    735762        if getsysinfo -f scalar_acc 
     
    737764        else echo c2-convex-bsd 
    738765        fi 
    739         exit ;; 
     766        exit ;; 
    740767    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) 
    741768        echo c34-convex-bsd 
    742         exit ;; 
     769        exit ;; 
    743770    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) 
    744771        echo c38-convex-bsd 
    745         exit ;; 
     772        exit ;; 
    746773    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) 
    747774        echo c4-convex-bsd 
    748         exit ;; 
     775        exit ;; 
    749776    CRAY*Y-MP:*:*:*) 
    750777        echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
     
    770797    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 
    771798        FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 
    772         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 
    773         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 
    774         echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 
    775         exit ;; 
     799        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 
     800        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 
     801        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 
     802        exit ;; 
    776803    5000:UNIX_System_V:4.*:*) 
    777         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 
    778         FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` 
    779         echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 
     804        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 
     805        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` 
     806        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 
    780807        exit ;; 
    781808    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) 
     
    805832        exit ;; 
    806833    i*:windows32*:*) 
    807         # uname -m includes "-pc" on this system. 
    808         echo ${UNAME_MACHINE}-mingw32 
     834        # uname -m includes "-pc" on this system. 
     835        echo ${UNAME_MACHINE}-mingw32 
    809836        exit ;; 
    810837    i*:PW*:*) 
     
    812839        exit ;; 
    813840    *:Interix*:*) 
    814         case ${UNAME_MACHINE} in 
     841        case ${UNAME_MACHINE} in 
    815842            x86) 
    816843                echo i586-pc-interix${UNAME_RELEASE} 
     
    849876    *:GNU:*:*) 
    850877        # the GNU system 
    851         echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 
     878        echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 
    852879        exit ;; 
    853880    *:GNU/*:*:*) 
    854881        # other systems with GNU libc and userland 
    855         echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu 
     882        echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} 
    856883        exit ;; 
    857884    i*86:Minix:*:*) 
     
    867894          EV67)  UNAME_MACHINE=alphaev67 ;; 
    868895          EV68*) UNAME_MACHINE=alphaev68 ;; 
    869         esac 
     896        esac 
    870897        objdump --private-headers /bin/sh | grep -q ld.so.1 
    871         if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi 
    872         echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} 
     898        if test "$?" = 0 ; then LIBC="gnulibc1" ; fi 
     899        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    873900        exit ;; 
    874901    arm*:Linux:*:*) 
     
    877904            | grep -q __ARM_EABI__ 
    878905        then 
    879             echo ${UNAME_MACHINE}-unknown-linux-gnu 
     906            echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    880907        else 
    881             echo ${UNAME_MACHINE}-unknown-linux-gnueabi 
     908            if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ 
     909                | grep -q __ARM_PCS_VFP 
     910            then 
     911                echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi 
     912            else 
     913                echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf 
     914            fi 
    882915        fi 
    883916        exit ;; 
    884917    avr32*:Linux:*:*) 
    885         echo ${UNAME_MACHINE}-unknown-linux-gnu 
     918        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    886919        exit ;; 
    887920    cris:Linux:*:*) 
    888         echo cris-axis-linux-gnu 
     921        echo cris-axis-linux-${LIBC} 
    889922        exit ;; 
    890923    crisv32:Linux:*:*) 
    891         echo crisv32-axis-linux-gnu 
     924        echo crisv32-axis-linux-${LIBC} 
    892925        exit ;; 
    893926    frv:Linux:*:*) 
    894         echo frv-unknown-linux-gnu 
     927        echo frv-unknown-linux-${LIBC} 
    895928        exit ;; 
    896929    i*86:Linux:*:*) 
    897         LIBC=gnu 
    898         eval $set_cc_for_build 
    899         sed 's/^        //' << EOF >$dummy.c 
    900         #ifdef __dietlibc__ 
    901         LIBC=dietlibc 
    902         #endif 
    903 EOF 
    904         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` 
    905         echo "${UNAME_MACHINE}-pc-linux-${LIBC}" 
     930        echo ${UNAME_MACHINE}-pc-linux-${LIBC} 
    906931        exit ;; 
    907932    ia64:Linux:*:*) 
    908         echo ${UNAME_MACHINE}-unknown-linux-gnu 
     933        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    909934        exit ;; 
    910935    m32r*:Linux:*:*) 
    911         echo ${UNAME_MACHINE}-unknown-linux-gnu 
     936        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    912937        exit ;; 
    913938    m68*:Linux:*:*) 
    914         echo ${UNAME_MACHINE}-unknown-linux-gnu 
     939        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    915940        exit ;; 
    916941    mips:Linux:*:* | mips64:Linux:*:*) 
     
    931956EOF 
    932957        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` 
    933         test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 
     958        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } 
    934959        ;; 
    935960    or32:Linux:*:*) 
    936         echo or32-unknown-linux-gnu 
     961        echo or32-unknown-linux-${LIBC} 
    937962        exit ;; 
    938963    padre:Linux:*:*) 
    939         echo sparc-unknown-linux-gnu 
     964        echo sparc-unknown-linux-${LIBC} 
    940965        exit ;; 
    941966    parisc64:Linux:*:* | hppa64:Linux:*:*) 
    942         echo hppa64-unknown-linux-gnu 
     967        echo hppa64-unknown-linux-${LIBC} 
    943968        exit ;; 
    944969    parisc:Linux:*:* | hppa:Linux:*:*) 
    945970        # Look for CPU level 
    946971        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 
    947           PA7*) echo hppa1.1-unknown-linux-gnu ;; 
    948           PA8*) echo hppa2.0-unknown-linux-gnu ;; 
    949           *)    echo hppa-unknown-linux-gnu ;; 
     972          PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; 
     973          PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; 
     974          *)    echo hppa-unknown-linux-${LIBC} ;; 
    950975        esac 
    951976        exit ;; 
    952977    ppc64:Linux:*:*) 
    953         echo powerpc64-unknown-linux-gnu 
     978        echo powerpc64-unknown-linux-${LIBC} 
    954979        exit ;; 
    955980    ppc:Linux:*:*) 
    956         echo powerpc-unknown-linux-gnu 
     981        echo powerpc-unknown-linux-${LIBC} 
    957982        exit ;; 
    958983    s390:Linux:*:* | s390x:Linux:*:*) 
     
    960985        exit ;; 
    961986    sh64*:Linux:*:*) 
    962         echo ${UNAME_MACHINE}-unknown-linux-gnu 
     987        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    963988        exit ;; 
    964989    sh*:Linux:*:*) 
     990        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
     991        exit ;; 
     992    sparc:Linux:*:* | sparc64:Linux:*:*) 
     993        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
     994        exit ;; 
     995    tile*:Linux:*:*) 
    965996        echo ${UNAME_MACHINE}-unknown-linux-gnu 
    966997        exit ;; 
    967     sparc:Linux:*:* | sparc64:Linux:*:*) 
    968         echo ${UNAME_MACHINE}-unknown-linux-gnu 
    969         exit ;; 
    970998    vax:Linux:*:*) 
    971         echo ${UNAME_MACHINE}-dec-linux-gnu 
     999        echo ${UNAME_MACHINE}-dec-linux-${LIBC} 
    9721000        exit ;; 
    9731001    x86_64:Linux:*:*) 
    974         echo x86_64-unknown-linux-gnu 
     1002        echo x86_64-unknown-linux-${LIBC} 
    9751003        exit ;; 
    9761004    xtensa*:Linux:*:*) 
    977         echo ${UNAME_MACHINE}-unknown-linux-gnu 
     1005        echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 
    9781006        exit ;; 
    9791007    i*86:DYNIX/ptx:4*:*) 
     
    9841012        exit ;; 
    9851013    i*86:UNIX_SV:4.2MP:2.*) 
    986         # Unixware is an offshoot of SVR4, but it has its own version 
    987         # number series starting with 2... 
    988         # I am not positive that other SVR4 systems won't match this, 
     1014        # Unixware is an offshoot of SVR4, but it has its own version 
     1015        # number series starting with 2... 
     1016        # I am not positive that other SVR4 systems won't match this, 
    9891017        # I just have to hope.  -- rms. 
    990         # Use sysv4.2uw... so that sysv4* matches it. 
     1018        # Use sysv4.2uw... so that sysv4* matches it. 
    9911019        echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} 
    9921020        exit ;; 
     
    10201048        exit ;; 
    10211049    i*86:*:5:[678]*) 
    1022         # UnixWare 7.x, OpenUNIX and OpenServer 6. 
     1050        # UnixWare 7.x, OpenUNIX and OpenServer 6. 
    10231051        case `/bin/uname -X | grep "^Machine"` in 
    10241052            *486*)           UNAME_MACHINE=i486 ;; 
     
    10481076    pc:*:*:*) 
    10491077        # Left here for compatibility: 
    1050         # uname -m prints for DJGPP always 'pc', but it prints nothing about 
    1051         # the processor, so we play safe by assuming i586. 
     1078        # uname -m prints for DJGPP always 'pc', but it prints nothing about 
     1079        # the processor, so we play safe by assuming i586. 
    10521080        # Note: whatever this is, it MUST be the same as what config.sub 
    10531081        # prints for the "djgpp" host, or else GDB configury will decide that 
    10541082        # this is a cross-build. 
    10551083        echo i586-pc-msdosdjgpp 
    1056         exit ;; 
     1084        exit ;; 
    10571085    Intel:Mach:3*:*) 
    10581086        echo i386-pc-mach3 
     
    10891117          && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 
    10901118    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) 
    1091         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 
    1092           && { echo i486-ncr-sysv4; exit; } ;; 
     1119        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 
     1120          && { echo i486-ncr-sysv4; exit; } ;; 
    10931121    NCR*:*:4.2:* | MPRAS*:*:4.2:*) 
    10941122        OS_REL='.3' 
     
    11331161        fi 
    11341162        exit ;; 
    1135     PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort 
    1136                       # says <Richard.M.Bartel@ccMail.Census.GOV> 
    1137         echo i586-unisys-sysv4 
    1138         exit ;; 
     1163    PENTIUM:*:4.0*:*)   # Unisys `ClearPath HMP IX 4000' SVR4/MP effort 
     1164                        # says <Richard.M.Bartel@ccMail.Census.GOV> 
     1165        echo i586-unisys-sysv4 
     1166        exit ;; 
    11391167    *:UNIX_System_V:4*:FTX*) 
    11401168        # From Gerald Hewes <hewes@openmarket.com>. 
     
    11621190    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) 
    11631191        if [ -d /usr/nec ]; then 
    1164                 echo mips-nec-sysv${UNAME_RELEASE} 
     1192                echo mips-nec-sysv${UNAME_RELEASE} 
    11651193        else 
    1166                 echo mips-unknown-sysv${UNAME_RELEASE} 
    1167         fi 
    1168         exit ;; 
     1194                echo mips-unknown-sysv${UNAME_RELEASE} 
     1195        fi 
     1196        exit ;; 
    11691197    BeBox:BeOS:*:*)     # BeOS running on hardware made by Be, PPC only. 
    11701198        echo powerpc-be-beos 
     
    12311259        echo i386-pc-qnx 
    12321260        exit ;; 
     1261    NEO-?:NONSTOP_KERNEL:*:*) 
     1262        echo neo-tandem-nsk${UNAME_RELEASE} 
     1263        exit ;; 
    12331264    NSE-?:NONSTOP_KERNEL:*:*) 
    12341265        echo nse-tandem-nsk${UNAME_RELEASE} 
     
    12761307        exit ;; 
    12771308    SEI:*:*:SEIUX) 
    1278         echo mips-sei-seiux${UNAME_RELEASE} 
     1309        echo mips-sei-seiux${UNAME_RELEASE} 
    12791310        exit ;; 
    12801311    *:DragonFly:*:*) 
     
    12821313        exit ;; 
    12831314    *:*VMS:*:*) 
    1284         UNAME_MACHINE=`(uname -p) 2>/dev/null` 
     1315        UNAME_MACHINE=`(uname -p) 2>/dev/null` 
    12851316        case "${UNAME_MACHINE}" in 
    12861317            A*) echo alpha-dec-vms ; exit ;; 
     
    13221353  printf ("m68k-sony-newsos%s\n", 
    13231354#ifdef NEWSOS4 
    1324           "4" 
     1355        "4" 
    13251356#else 
    1326           "" 
    1327 #endif 
    1328          ); exit (0); 
     1357        "" 
     1358#endif 
     1359        ); exit (0); 
    13291360#endif 
    13301361#endif 
Note: See TracChangeset for help on using the changeset viewer.