Changeset ffe76f8 for config.guess


Ignore:
Timestamp:
08/11/04 14:52:23 (17 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
ac50951
Parents:
1f3696b
Message:

updated the ChangeLog, NEWS files etc, bumped version to 2.0.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • config.guess

    r1f3696b rffe76f8  
    22# Attempt to guess a canonical system name.
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
    5 
    6 timestamp='2004-01-24'
     4#   2000, 2001, 2002 Free Software Foundation, Inc.
     5
     6timestamp='2002-03-20'
    77
    88# This file is free software; you can redistribute it and/or modify it
     
    8989fi
    9090
    91 trap 'exit 1' 1 2 15
    92 
    93 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
    94 # compiler to aid in system detection is discouraged as it requires
    95 # temporary files to be created and, as you can see below, it is a
    96 # headache to deal with in a portable fashion.
    97 
     91
     92dummy=dummy-$$
     93trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
     94
     95# CC_FOR_BUILD -- compiler used by this script.
    9896# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
    9997# use `HOST_CC' if defined, but it is deprecated.
    10098
    101 # Portable tmp directory creation inspired by the Autoconf team.
    102 
    103 set_cc_for_build='
    104 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
    105 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
    106 : ${TMPDIR=/tmp} ;
    107  { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
    108  { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
    109  { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
    110  { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
    111 dummy=$tmp/dummy ;
    112 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
    113 case $CC_FOR_BUILD,$HOST_CC,$CC in
    114  ,,)    echo "int x;" > $dummy.c ;
     99set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
     100 ,,)    echo "int dummy(){}" > $dummy.c ;
    115101        for c in cc gcc c89 c99 ; do
    116           if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
     102          ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
     103          if test $? = 0 ; then
    117104             CC_FOR_BUILD="$c"; break ;
    118105          fi ;
    119106        done ;
     107        rm -f $dummy.c $dummy.o $dummy.rel ;
    120108        if test x"$CC_FOR_BUILD" = x ; then
    121109          CC_FOR_BUILD=no_compiler_found ;
     
    124112 ,,*)   CC_FOR_BUILD=$CC ;;
    125113 ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
    126 esac ;'
     114esac'
    127115
    128116# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
     
    155143            /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
    156144        case "${UNAME_MACHINE_ARCH}" in
    157             armeb) machine=armeb-unknown ;;
    158145            arm*) machine=arm-unknown ;;
    159146            sh3el) machine=shl-unknown ;;
     
    181168        esac
    182169        # The OS release
    183         # Debian GNU/NetBSD machines have a different userland, and
    184         # thus, need a distinct triplet. However, they do not need
    185         # kernel version information, so it can be replaced with a
    186         # suitable tag, in the style of linux-gnu.
    187         case "${UNAME_VERSION}" in
    188             Debian*)
    189                 release='-gnu'
    190                 ;;
    191             *)
    192                 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
    193                 ;;
    194         esac
     170        release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
    195171        # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
    196172        # contains redundant information, the shorter form:
     
    222198        echo powerpc-unknown-openbsd${UNAME_RELEASE}
    223199        exit 0 ;;
    224     pegasos:OpenBSD:*:*)
    225         echo powerpc-unknown-openbsd${UNAME_RELEASE}
    226         exit 0 ;;
    227200    pmax:OpenBSD:*:*)
    228201        echo mipsel-unknown-openbsd${UNAME_RELEASE}
     
    244217                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
    245218        fi
    246         # According to Compaq, /usr/sbin/psrinfo has been available on
    247         # OSF/1 and Tru64 systems produced since 1995.  I hope that
    248         # covers most systems running today.  This code pipes the CPU
    249         # types through head -n 1, so we only detect the type of CPU 0.
    250         ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
    251         case "$ALPHA_CPU_TYPE" in
    252             "EV4 (21064)")
    253                 UNAME_MACHINE="alpha" ;;
    254             "EV4.5 (21064)")
    255                 UNAME_MACHINE="alpha" ;;
    256             "LCA4 (21066/21068)")
    257                 UNAME_MACHINE="alpha" ;;
    258             "EV5 (21164)")
    259                 UNAME_MACHINE="alphaev5" ;;
    260             "EV5.6 (21164A)")
    261                 UNAME_MACHINE="alphaev56" ;;
    262             "EV5.6 (21164PC)")
    263                 UNAME_MACHINE="alphapca56" ;;
    264             "EV5.7 (21164PC)")
    265                 UNAME_MACHINE="alphapca57" ;;
    266             "EV6 (21264)")
    267                 UNAME_MACHINE="alphaev6" ;;
    268             "EV6.7 (21264A)")
    269                 UNAME_MACHINE="alphaev67" ;;
    270             "EV6.8CB (21264C)")
    271                 UNAME_MACHINE="alphaev68" ;;
    272             "EV6.8AL (21264B)")
    273                 UNAME_MACHINE="alphaev68" ;;
    274             "EV6.8CX (21264D)")
    275                 UNAME_MACHINE="alphaev68" ;;
    276             "EV6.9A (21264/EV69A)")
    277                 UNAME_MACHINE="alphaev69" ;;
    278             "EV7 (21364)")
    279                 UNAME_MACHINE="alphaev7" ;;
    280             "EV7.9 (21364A)")
    281                 UNAME_MACHINE="alphaev79" ;;
    282         esac
    283219        # A Vn.n version is a released version.
    284220        # A Tn.n version is a released field test version.
    285221        # A Xn.n version is an unreleased experimental baselevel.
    286222        # 1.2 uses "1.2" for uname -r.
     223        cat <<EOF >$dummy.s
     224        .data
     225\$Lformat:
     226        .byte 37,100,45,37,120,10,0     # "%d-%x\n"
     227
     228        .text
     229        .globl main
     230        .align 4
     231        .ent main
     232main:
     233        .frame \$30,16,\$26,0
     234        ldgp \$29,0(\$27)
     235        .prologue 1
     236        .long 0x47e03d80 # implver \$0
     237        lda \$2,-1
     238        .long 0x47e20c21 # amask \$2,\$1
     239        lda \$16,\$Lformat
     240        mov \$0,\$17
     241        not \$1,\$18
     242        jsr \$26,printf
     243        ldgp \$29,0(\$26)
     244        mov 0,\$16
     245        jsr \$26,exit
     246        .end main
     247EOF
     248        eval $set_cc_for_build
     249        $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
     250        if test "$?" = 0 ; then
     251                case `./$dummy` in
     252                        0-0)
     253                                UNAME_MACHINE="alpha"
     254                                ;;
     255                        1-0)
     256                                UNAME_MACHINE="alphaev5"
     257                                ;;
     258                        1-1)
     259                                UNAME_MACHINE="alphaev56"
     260                                ;;
     261                        1-101)
     262                                UNAME_MACHINE="alphapca56"
     263                                ;;
     264                        2-303)
     265                                UNAME_MACHINE="alphaev6"
     266                                ;;
     267                        2-307)
     268                                UNAME_MACHINE="alphaev67"
     269                                ;;
     270                        2-1307)
     271                                UNAME_MACHINE="alphaev68"
     272                                ;;
     273                esac
     274        fi
     275        rm -f $dummy.s $dummy
    287276        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
    288         exit 0 ;;
    289     Alpha*:OpenVMS:*:*)
    290         echo alpha-hp-vms
    291277        exit 0 ;;
    292278    Alpha\ *:Windows_NT*:*)
     
    310296    *:OS/390:*:*)
    311297        echo i370-ibm-openedition
    312         exit 0 ;;
    313     *:OS400:*:*)
    314         echo powerpc-ibm-os400
    315298        exit 0 ;;
    316299    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
     
    331314        echo pyramid-pyramid-svr4
    332315        exit 0 ;;
    333     DRS?6000:unix:4.0:6*)
    334         echo sparc-icl-nx6
    335         exit 0 ;;
    336     DRS?6000:UNIX_SV:4.2*:7*)
    337         case `/usr/bin/uname -p` in
    338             sparc) echo sparc-icl-nx7 && exit 0 ;;
    339         esac ;;
    340316    sun4H:SunOS:5.*:*)
    341317        echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
     
    406382        echo m68k-unknown-mint${UNAME_RELEASE}
    407383        exit 0 ;;
    408     m68k:machten:*:*)
    409         echo m68k-apple-machten${UNAME_RELEASE}
    410         exit 0 ;;
    411384    powerpc:machten:*:*)
    412385        echo powerpc-apple-machten${UNAME_RELEASE}
     
    447420        }
    448421EOF
    449         $CC_FOR_BUILD -o $dummy $dummy.c \
    450           && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
    451           && exit 0
     422        $CC_FOR_BUILD $dummy.c -o $dummy \
     423          && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
     424          && rm -f $dummy.c $dummy && exit 0
     425        rm -f $dummy.c $dummy
    452426        echo mips-mips-riscos${UNAME_RELEASE}
    453427        exit 0 ;;
    454428    Motorola:PowerMAX_OS:*:*)
    455429        echo powerpc-motorola-powermax
    456         exit 0 ;;
    457     Motorola:*:4.3:PL8-*)
    458         echo powerpc-harris-powermax
    459         exit 0 ;;
    460     Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
    461         echo powerpc-harris-powermax
    462430        exit 0 ;;
    463431    Night_Hawk:Power_UNIX:*:*)
     
    533501                        }
    534502EOF
    535                 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
     503                $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
     504                rm -f $dummy.c $dummy
    536505                echo rs6000-ibm-aix3.2.5
    537506        elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
     
    631600              }
    632601EOF
    633                     (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
    634                     test -z "$HP_ARCH" && HP_ARCH=hppa
     602                    (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
     603                    if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
     604                    rm -f $dummy.c $dummy
    635605                fi ;;
    636606        esac
    637         if [ ${HP_ARCH} = "hppa2.0w" ]
    638         then
    639             # avoid double evaluation of $set_cc_for_build
    640             test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
    641             if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
    642             then
    643                 HP_ARCH="hppa2.0w"
    644             else
    645                 HP_ARCH="hppa64"
    646             fi
    647         fi
    648607        echo ${HP_ARCH}-hp-hpux${HPUX_REV}
    649608        exit 0 ;;
     
    679638        }
    680639EOF
    681         $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
     640        $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
     641        rm -f $dummy.c $dummy
    682642        echo unknown-hitachi-hiuxwe2
    683643        exit 0 ;;
     
    737697        echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    738698        exit 0 ;;
     699    CRAY*T3D:*:*:*)
     700        echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
     701        exit 0 ;;
    739702    CRAY*T3E:*:*:*)
    740703        echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
     
    742705    CRAY*SV1:*:*:*)
    743706        echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    744         exit 0 ;;
    745     *:UNICOS/mp:*:*)
    746         echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    747707        exit 0 ;;
    748708    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
     
    752712        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    753713        exit 0 ;;
    754     5000:UNIX_System_V:4.*:*)
    755         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
    756         FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
    757         echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    758         exit 0 ;;
    759714    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
    760715        echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
     
    767722        exit 0 ;;
    768723    *:FreeBSD:*:*)
    769         # Determine whether the default compiler uses glibc.
    770         eval $set_cc_for_build
    771         sed 's/^        //' << EOF >$dummy.c
    772         #include <features.h>
    773         #if __GLIBC__ >= 2
    774         LIBC=gnu
    775         #else
    776         LIBC=
    777         #endif
    778 EOF
    779         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
    780         # GNU/KFreeBSD systems have a "k" prefix to indicate we are using
    781         # FreeBSD's kernel, but not the complete OS.
    782         case ${LIBC} in gnu) kernel_only='k' ;; esac
    783         echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
     724        echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
    784725        exit 0 ;;
    785726    i*:CYGWIN*:*)
     
    792733        echo ${UNAME_MACHINE}-pc-pw32
    793734        exit 0 ;;
    794     x86:Interix*:[34]*)
    795         echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
    796         exit 0 ;;
    797     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
    798         echo i${UNAME_MACHINE}-pc-mks
     735    x86:Interix*:3*)
     736        echo i386-pc-interix3
    799737        exit 0 ;;
    800738    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
     
    802740        # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
    803741        # UNAME_MACHINE based on the output of uname instead of i386?
    804         echo i586-pc-interix
     742        echo i386-pc-interix
    805743        exit 0 ;;
    806744    i*:UWIN*:*)
     
    814752        exit 0 ;;
    815753    *:GNU:*:*)
    816         # the GNU system
    817754        echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
    818         exit 0 ;;
    819     *:GNU/*:*:*)
    820         # other systems with GNU libc and userland
    821         echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
    822755        exit 0 ;;
    823756    i*86:Minix:*:*)
     
    826759    arm*:Linux:*:*)
    827760        echo ${UNAME_MACHINE}-unknown-linux-gnu
    828         exit 0 ;;
    829     cris:Linux:*:*)
    830         echo cris-axis-linux-gnu
    831761        exit 0 ;;
    832762    ia64:Linux:*:*)
     
    853783EOF
    854784        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
    855         test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
    856         ;;
    857     mips64:Linux:*:*)
    858         eval $set_cc_for_build
    859         sed 's/^        //' << EOF >$dummy.c
    860         #undef CPU
    861         #undef mips64
    862         #undef mips64el
    863         #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
    864         CPU=mips64el
    865         #else
    866         #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
    867         CPU=mips64
    868         #else
    869         CPU=
    870         #endif
    871         #endif
    872 EOF
    873         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
    874         test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
     785        rm -f $dummy.c
     786        test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
    875787        ;;
    876788    ppc:Linux:*:*)
     
    907819    s390:Linux:*:* | s390x:Linux:*:*)
    908820        echo ${UNAME_MACHINE}-ibm-linux
    909         exit 0 ;;
    910     sh64*:Linux:*:*)
    911         echo ${UNAME_MACHINE}-unknown-linux-gnu
    912821        exit 0 ;;
    913822    sh*:Linux:*:*)
     
    937846          a.out-i386-linux)
    938847                echo "${UNAME_MACHINE}-pc-linux-gnuaout"
    939                 exit 0 ;;
     848                exit 0 ;;               
    940849          coff-i386)
    941850                echo "${UNAME_MACHINE}-pc-linux-gnucoff"
     
    968877        #endif
    969878        #endif
    970         #ifdef __dietlibc__
    971         LIBC=dietlibc
    972         #endif
    973879EOF
    974880        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
     881        rm -f $dummy.c
    975882        test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
    976883        test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
     
    990897        echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
    991898        exit 0 ;;
    992     i*86:OS/2:*:*)
    993         # If we were able to find `uname', then EMX Unix compatibility
    994         # is probably installed.
    995         echo ${UNAME_MACHINE}-pc-os2-emx
    996         exit 0 ;;
    997     i*86:XTS-300:*:STOP)
    998         echo ${UNAME_MACHINE}-unknown-stop
    999         exit 0 ;;
    1000     i*86:atheos:*:*)
    1001         echo ${UNAME_MACHINE}-unknown-atheos
    1002         exit 0 ;;
    1003         i*86:syllable:*:*)
    1004         echo ${UNAME_MACHINE}-pc-syllable
    1005         exit 0 ;;
    1006     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
    1007         echo i386-unknown-lynxos${UNAME_RELEASE}
    1008         exit 0 ;;
    1009     i*86:*DOS:*:*)
    1010         echo ${UNAME_MACHINE}-pc-msdosdjgpp
    1011         exit 0 ;;
    1012899    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
    1013900        UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
     
    1031918                echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
    1032919        elif /bin/uname -X 2>/dev/null >/dev/null ; then
    1033                 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
    1034                 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
    1035                 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
     920                UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
     921                (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
     922                (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
    1036923                        && UNAME_MACHINE=i586
    1037                 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
     924                (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
    1038925                        && UNAME_MACHINE=i686
    1039                 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
     926                (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
    1040927                        && UNAME_MACHINE=i686
    1041928                echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
     
    1043930                echo ${UNAME_MACHINE}-pc-sysv32
    1044931        fi
     932        exit 0 ;;
     933    i*86:*DOS:*:*)
     934        echo ${UNAME_MACHINE}-pc-msdosdjgpp
    1045935        exit 0 ;;
    1046936    pc:*:*:*)
     
    1067957        echo m68010-convergent-sysv
    1068958        exit 0 ;;
    1069     mc68k:UNIX:SYSTEM5:3.51m)
    1070         echo m68k-convergent-sysv
    1071         exit 0 ;;
    1072     M680?0:D-NIX:5.3:*)
    1073         echo m68k-diab-dnix
    1074         exit 0 ;;
    1075959    M68*:*:R3V[567]*:*)
    1076960        test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
    1077     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)
     961    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
    1078962        OS_REL=''
    1079963        test -r /etc/.relid \
     
    1092976        echo m68k-atari-sysv4
    1093977        exit 0 ;;
     978    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
     979        echo i386-unknown-lynxos${UNAME_RELEASE}
     980        exit 0 ;;
    1094981    TSUNAMI:LynxOS:2.*:*)
    1095982        echo sparc-unknown-lynxos${UNAME_RELEASE}
     
    11631050        echo sx5-nec-superux${UNAME_RELEASE}
    11641051        exit 0 ;;
    1165     SX-6:SUPER-UX:*:*)
    1166         echo sx6-nec-superux${UNAME_RELEASE}
    1167         exit 0 ;;
    11681052    Power*:Rhapsody:*:*)
    11691053        echo powerpc-apple-rhapsody${UNAME_RELEASE}
     
    11731057        exit 0 ;;
    11741058    *:Darwin:*:*)
    1175         case `uname -p` in
    1176             *86) UNAME_PROCESSOR=i686 ;;
    1177             powerpc) UNAME_PROCESSOR=powerpc ;;
    1178         esac
    1179         echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
     1059        echo `uname -p`-apple-darwin${UNAME_RELEASE}
    11801060        exit 0 ;;
    11811061    *:procnto*:*:* | *:QNX:[0123456789]*:*)
     
    11901070        echo i386-pc-qnx
    11911071        exit 0 ;;
    1192     NSR-?:NONSTOP_KERNEL:*:*)
     1072    NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*)
    11931073        echo nsr-tandem-nsk${UNAME_RELEASE}
    11941074        exit 0 ;;
     
    12131093        echo ${UNAME_MACHINE}-unknown-plan9
    12141094        exit 0 ;;
     1095    i*86:OS/2:*:*)
     1096        # If we were able to find `uname', then EMX Unix compatibility
     1097        # is probably installed.
     1098        echo ${UNAME_MACHINE}-pc-os2-emx
     1099        exit 0 ;;
    12151100    *:TOPS-10:*:*)
    12161101        echo pdp10-unknown-tops10
     
    12311116        echo pdp10-unknown-its
    12321117        exit 0 ;;
    1233     SEI:*:*:SEIUX)
    1234         echo mips-sei-seiux${UNAME_RELEASE}
    1235         exit 0 ;;
    1236     *:DragonFly:*:*)
    1237         echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
     1118    i*86:XTS-300:*:STOP)
     1119        echo ${UNAME_MACHINE}-unknown-stop
     1120        exit 0 ;;
     1121    i*86:atheos:*:*)
     1122        echo ${UNAME_MACHINE}-unknown-atheos
    12381123        exit 0 ;;
    12391124esac
     
    13571242EOF
    13581243
    1359 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
     1244$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
     1245rm -f $dummy.c $dummy
    13601246
    13611247# Apollos put the system type in the environment.
Note: See TracChangeset for help on using the changeset viewer.