• Bug#1007530: sgrep: please consider upgrading to 3.0 source format (2/4

    From Bastian Germann@21:1/5 to All on Fri Apr 19 10:20:01 2024
    [continued from previous message]

    + echo ia64-hp-hpux${HPUX_REV}
    + exit 0 ;;
    3050*:HI-UX:*:*)
    - eval "$set_cc_for_build"
    - sed 's/^ //' << EOF > "$dummy.c"
    + eval $set_cc_for_build
    + sed 's/^ //' << EOF >$dummy.c
    #include <unistd.h>
    int
    main ()
    @@ -752,364 +699,360 @@
    exit (0);
    }
    EOF
    - $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
    - { echo "$SYSTEM_NAME"; exit; }
    + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
    echo unknown-hitachi-hiuxwe2
    - exit ;;
    - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
    + exit 0 ;;
    + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
    echo hppa1.1-hp-bsd
    - exit ;;
    + exit 0 ;;
    9000/8??:4.3bsd:*:*)
    echo hppa1.0-hp-bsd
    - exit ;;
    + exit 0 ;;
    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
    echo hppa1.0-hp-mpeix
    - exit ;;
    - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
    + exit 0 ;;
    + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
    echo hppa1.1-hp-osf
    - exit ;;
    + exit 0 ;;
    hp8??:OSF1:*:*)
    echo hppa1.0-hp-osf
    - exit ;;
    + exit 0 ;;
    i*86:OSF1:*:*)
    if [ -x /usr/sbin/sysversion ] ; then
    - echo "$UNAME_MACHINE"-unknown-osf1mk
    + echo ${UNAME_MACHINE}-unknown-osf1mk
    else
    - echo "$UNAME_MACHINE"-unknown-osf1
    + echo ${UNAME_MACHINE}-unknown-osf1
    fi
    - exit ;;
    + exit 0 ;;
    parisc*:Lites*:*:*)
    echo hppa1.1-hp-lites
    - exit ;;
    + exit 0 ;;
    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
    echo c1-convex-bsd
    - exit ;;
    + exit 0 ;;
    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
    if getsysinfo -f scalar_acc
    then echo c32-convex-bsd
    else echo c2-convex-bsd
    fi
    - exit ;;
    + exit 0 ;;
    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
    echo c34-convex-bsd
    - exit ;;
    + exit 0 ;;
    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
    echo c38-convex-bsd
    - exit ;;
    + exit 0 ;;
    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
    echo c4-convex-bsd
    - exit ;;
    + exit 0 ;;
    CRAY*Y-MP:*:*:*)
    - echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
    - exit ;;
    + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    + exit 0 ;;
    CRAY*[A-Z]90:*:*:*)
    - echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
    + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
    | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
    -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
    -e 's/\.[^.]*$/.X/'
    - exit ;;
    + exit 0 ;;
    CRAY*TS:*:*:*)
    - echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
    - exit ;;
    + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    + exit 0 ;;
    CRAY*T3E:*:*:*)
    - echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
    - exit ;;
    + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    + exit 0 ;;
    CRAY*SV1:*:*:*)
    - echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
    - exit ;;
    + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    + exit 0 ;;
    *:UNICOS/mp:*:*)
    - echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
    - exit ;;
    + echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    + exit 0 ;;
    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
    - FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
    - FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
    - FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
    - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    - exit ;;
    + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
    + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
    + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
    + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    + exit 0 ;;
    5000:UNIX_System_V:4.*:*)
    - FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
    - FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
    - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    - exit ;;
    + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
    + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
    + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    + exit 0 ;;
    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
    - echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE"
    - exit ;;
    + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
    + exit 0 ;;
    sparc*:BSD/OS:*:*)
    - echo sparc-unknown-bsdi"$UNAME_RELEASE"
    - exit ;;
    + echo sparc-unknown-bsdi${UNAME_RELEASE}
    + exit 0 ;;
    *:BSD/OS:*:*)
    - echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
    + exit 0 ;;
    *:FreeBSD:*:*)
    - UNAME_PROCESSOR=`/usr/bin/uname -p`
    - case "$UNAME_PROCESSOR" in
    - amd64)
    - UNAME_PROCESSOR=x86_64 ;;
    - i386)
    - UNAME_PROCESSOR=i586 ;;
    - esac
    - echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
    - exit ;;
    + # Determine whether the default compiler uses glibc.
    + eval $set_cc_for_build
    + sed 's/^ //' << EOF >$dummy.c
    + #include <features.h>
    + #if __GLIBC__ >= 2
    + LIBC=gnu
    + #else
    + LIBC=
    + #endif
    +EOF
    + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
    + # GNU/KFreeBSD systems have a "k" prefix to indicate we are using
    + # FreeBSD's kernel, but not the complete OS.
    + case ${LIBC} in gnu) kernel_only='k' ;; esac
    + echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
    + exit 0 ;;
    i*:CYGWIN*:*)
    - echo "$UNAME_MACHINE"-pc-cygwin
    - exit ;;
    - *:MINGW64*:*)
    - echo "$UNAME_MACHINE"-pc-mingw64
    - exit ;;
    - *:MINGW*:*)
    - echo "$UNAME_MACHINE"-pc-mingw32
    - exit ;;
    - *:MSYS*:*)
    - echo "$UNAME_MACHINE"-pc-msys
    - exit ;;
    + echo ${UNAME_MACHINE}-pc-cygwin
    + exit 0 ;;
    + i*:MINGW*:*)
    + echo ${UNAME_MACHINE}-pc-mingw32
    + exit 0 ;;
    i*:PW*:*)
    - echo "$UNAME_MACHINE"-pc-pw32
    - exit ;;
    - *:Interix*:*)
    - case "$UNAME_MACHINE" in
    - x86)
    - echo i586-pc-interix"$UNAME_RELEASE"
    - exit ;;
    - authenticamd | genuineintel | EM64T)
    - echo x86_64-unknown-interix"$UNAME_RELEASE"
    - exit ;;
    - IA64)
    - echo ia64-unknown-interix"$UNAME_RELEASE"
    - exit ;;
    - esac ;;
    + echo ${UNAME_MACHINE}-pc-pw32
    + exit 0 ;;
    + x86:Interix*:[34]*)
    + echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
    + exit 0 ;;
    + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
    + echo i${UNAME_MACHINE}-pc-mks
    + exit 0 ;;
    + i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
    + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
    + # UNAME_MACHINE based on the output of uname instead of i386?
    + echo i586-pc-interix
    + exit 0 ;;
    i*:UWIN*:*)
    - echo "$UNAME_MACHINE"-pc-uwin
    - exit ;;
    - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
    - echo x86_64-unknown-cygwin
    - exit ;;
    + echo ${UNAME_MACHINE}-pc-uwin
    + exit 0 ;;
    + p*:CYGWIN*:*)
    + echo powerpcle-unknown-cygwin
    + exit 0 ;;
    prep*:SunOS:5.*:*)
    - echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
    - exit ;;
    + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    + exit 0 ;;
    *:GNU:*:*)
    # the GNU system
    - echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`"
    - exit ;;
    + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
    + exit 0 ;;
    *:GNU/*:*:*)
    # other systems with GNU libc and userland
    - echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
    + exit 0 ;;
    i*86:Minix:*:*)
    - echo "$UNAME_MACHINE"-pc-minix
    - exit ;;
    - aarch64:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - aarch64_be:Linux:*:*)
    - UNAME_MACHINE=aarch64_be
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - alpha:Linux:*:*)
    - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
    - EV5) UNAME_MACHINE=alphaev5 ;;
    - EV56) UNAME_MACHINE=alphaev56 ;;
    - PCA56) UNAME_MACHINE=alphapca56 ;;
    - PCA57) UNAME_MACHINE=alphapca56 ;;
    - EV6) UNAME_MACHINE=alphaev6 ;;
    - EV67) UNAME_MACHINE=alphaev67 ;;
    - EV68*) UNAME_MACHINE=alphaev68 ;;
    - esac
    - objdump --private-headers /bin/sh | grep -q ld.so.1
    - if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - arc:Linux:*:* | arceb:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    + echo ${UNAME_MACHINE}-pc-minix
    + exit 0 ;;
    arm*:Linux:*:*)
    - eval "$set_cc_for_build"
    - if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
    - | grep -q __ARM_EABI__
    - then
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - else
    - if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
    - | grep -q __ARM_PCS_VFP
    - then
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
    - else
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
    - fi
    - fi
    - exit ;;
    - avr32*:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-linux-gnu
    + exit 0 ;;
    cris:Linux:*:*)
    - echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
    - exit ;;
    - crisv32:Linux:*:*)
    - echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
    - exit ;;
    - e2k:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - frv:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - hexagon:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - i*86:Linux:*:*)
    - echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
    - exit ;;
    + echo cris-axis-linux-gnu
    + exit 0 ;;
    ia64:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - k1om:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-linux-gnu
    + exit 0 ;;
    m32r*:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-linux-gnu
    + exit 0 ;;
    m68*:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - mips:Linux:*:* | mips64:Linux:*:*)
    - eval "$set_cc_for_build"
    - sed 's/^ //' << EOF > "$dummy.c"
    + echo ${UNAME_MACHINE}-unknown-linux-gnu
    + exit 0 ;;
    + mips:Linux:*:*)
    + eval $set_cc_for_build
    + sed 's/^ //' << EOF >$dummy.c
    #undef CPU
    - #undef ${UNAME_MACHINE}
    - #undef ${UNAME_MACHINE}el
    + #undef mips
    + #undef mipsel
    #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
    - CPU=${UNAME_MACHINE}el
    + CPU=mipsel
    #else
    #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
    - CPU=${UNAME_MACHINE}
    + CPU=mips
    #else
    CPU=
    #endif
    #endif
    EOF
    - eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
    - test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; }
    + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
    + test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
    ;;
    - mips64el:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - openrisc*:Linux:*:*)
    - echo or1k-unknown-linux-"$LIBC"
    - exit ;;
    - or32:Linux:*:* | or1k*:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - padre:Linux:*:*)
    - echo sparc-unknown-linux-"$LIBC"
    - exit ;;
    - parisc64:Linux:*:* | hppa64:Linux:*:*)
    - echo hppa64-unknown-linux-"$LIBC"
    - exit ;;
    + mips64:Linux:*:*)
    + eval $set_cc_for_build
    + sed 's/^ //' << EOF >$dummy.c
    + #undef CPU
    + #undef mips64
    + #undef mips64el
    + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
    + CPU=mips64el
    + #else
    + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
    + CPU=mips64
    + #else
    + CPU=
    + #endif
    + #endif
    +EOF
    + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
    + test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
    + ;;
    + ppc:Linux:*:*)
    + echo powerpc-unknown-linux-gnu
    + exit 0 ;;
    + ppc64:Linux:*:*)
    + echo powerpc64-unknown-linux-gnu
    + exit 0 ;;
    + alpha:Linux:*:*)
    + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
    + EV5) UNAME_MACHINE=alphaev5 ;;
    + EV56) UNAME_MACHINE=alphaev56 ;;
    + PCA56) UNAME_MACHINE=alphapca56 ;;
    + PCA57) UNAME_MACHINE=alphapca56 ;;
    + EV6) UNAME_MACHINE=alphaev6 ;;
    + EV67) UNAME_MACHINE=alphaev67 ;;
    + EV68*) UNAME_MACHINE=alphaev68 ;;
    + esac
    + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
    + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
    + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
    + exit 0 ;;
    parisc:Linux:*:* | hppa:Linux:*:*)
    # Look for CPU level
    case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
    - PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
    - *) echo hppa-unknown-linux-"$LIBC" ;;
    + PA7*) echo hppa1.1-unknown-linux-gnu ;;
    + PA8*) echo hppa2.0-unknown-linux-gnu ;;
    + *) echo hppa-unknown-linux-gnu ;;
    esac
    - exit ;;
    - ppc64:Linux:*:*)
    - echo powerpc64-unknown-linux-"$LIBC"
    - exit ;;
    - ppc:Linux:*:*)
    - echo powerpc-unknown-linux-"$LIBC"
    - exit ;;
    - ppc64le:Linux:*:*)
    - echo powerpc64le-unknown-linux-"$LIBC"
    - exit ;;
    - ppcle:Linux:*:*)
    - echo powerpcle-unknown-linux-"$LIBC"
    - exit ;;
    - riscv32:Linux:*:* | riscv64:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    + exit 0 ;;
    + parisc64:Linux:*:* | hppa64:Linux:*:*)
    + echo hppa64-unknown-linux-gnu
    + exit 0 ;;
    s390:Linux:*:* | s390x:Linux:*:*)
    - echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
    - exit ;;
    + echo ${UNAME_MACHINE}-ibm-linux
    + exit 0 ;;
    sh64*:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-linux-gnu
    + exit 0 ;;
    sh*:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-linux-gnu
    + exit 0 ;;
    sparc:Linux:*:* | sparc64:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - tile*:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    - vax:Linux:*:*)
    - echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-linux-gnu
    + exit 0 ;;
    x86_64:Linux:*:*)
    - if objdump -f /bin/sh | grep -q elf32-x86-64; then
    - echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32
    - else
    - echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
    - fi
    - exit ;;
    - xtensa*:Linux:*:*)
    - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
    - exit ;;
    + echo x86_64-unknown-linux-gnu
    + exit 0 ;;
    + i*86:Linux:*:*)
    + # The BFD linker knows what the default object file format is, so
    + # first see if it will tell us. cd to the root directory to prevent
    + # problems with other programs or directories called `ld' in the path. + # Set LC_ALL=C to ensure ld outputs messages in English.
    + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
    + | sed -ne '/supported targets:/!d
    + s/[ ][ ]*/ /g
    + s/.*supported targets: *//
    + s/ .*//
    + p'`
    + case "$ld_supported_targets" in
    + elf32-i386)
    + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
    + ;;
    + a.out-i386-linux)
    + echo "${UNAME_MACHINE}-pc-linux-gnuaout"
    + exit 0 ;;
    + coff-i386)
    + echo "${UNAME_MACHINE}-pc-linux-gnucoff"
    + exit 0 ;;
    + "")
    + # Either a pre-BFD a.out linker (linux-gnuoldld) or
    + # one that does not give us useful --help.
    + echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
    + exit 0 ;;
    + esac
    + # Determine whether the default compiler is a.out or elf
    + eval $set_cc_for_build
    + sed 's/^ //' << EOF >$dummy.c
    + #include <features.h>
    + #ifdef __ELF__
    + # ifdef __GLIBC__
    + # if __GLIBC__ >= 2
    + LIBC=gnu
    + # else
    + LIBC=gnulibc1
    + # endif
    + # else
    + LIBC=gnulibc1
    + # endif
    + #else
    + #ifdef __INTEL_COMPILER
    + LIBC=gnu
    + #else
    + LIBC=gnuaout
    + #endif
    + #endif
    + #ifdef __dietlibc__
    + LIBC=dietlibc
    + #endif
    +EOF
    + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
    + test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
    + test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
    + ;;
    i*86:DYNIX/ptx:4*:*)
    # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
    # earlier versions are messed up and put the nodename in both
    # sysname and nodename.
    echo i386-sequent-sysv4
    - exit ;;
    + exit 0 ;;
    i*86:UNIX_SV:4.2MP:2.*)
    - # Unixware is an offshoot of SVR4, but it has its own version
    - # number series starting with 2...
    - # I am not positive that other SVR4 systems won't match this,
    + # Unixware is an offshoot of SVR4, but it has its own version
    + # number series starting with 2...
    + # I am not positive that other SVR4 systems won't match this,
    # I just have to hope. -- rms.
    - # Use sysv4.2uw... so that sysv4* matches it.
    - echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
    - exit ;;
    + # Use sysv4.2uw... so that sysv4* matches it.
    + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
    + exit 0 ;;
    i*86:OS/2:*:*)
    # If we were able to find `uname', then EMX Unix compatibility
    # is probably installed.
    - echo "$UNAME_MACHINE"-pc-os2-emx
    - exit ;;
    + echo ${UNAME_MACHINE}-pc-os2-emx
    + exit 0 ;;
    i*86:XTS-300:*:STOP)
    - echo "$UNAME_MACHINE"-unknown-stop
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-stop
    + exit 0 ;;
    i*86:atheos:*:*)
    - echo "$UNAME_MACHINE"-unknown-atheos
    - exit ;;
    - i*86:syllable:*:*)
    - echo "$UNAME_MACHINE"-pc-syllable
    - exit ;;
    - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
    - echo i386-unknown-lynxos"$UNAME_RELEASE"
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-atheos
    + exit 0 ;;
    + i*86:syllable:*:*)
    + echo ${UNAME_MACHINE}-pc-syllable
    + exit 0 ;;
    + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
    + echo i386-unknown-lynxos${UNAME_RELEASE}
    + exit 0 ;;
    i*86:*DOS:*:*)
    - echo "$UNAME_MACHINE"-pc-msdosdjgpp
    - exit ;;
    - i*86:*:4.*:*)
    - UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
    + echo ${UNAME_MACHINE}-pc-msdosdjgpp
    + exit 0 ;;
    + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
    + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
    if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
    - echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
    + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
    else
    - echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
    + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
    fi
    - exit ;;
    - i*86:*:5:[678]*)
    - # UnixWare 7.x, OpenUNIX and OpenServer 6.
    + exit 0 ;;
    + i*86:*:5:[78]*)
    case `/bin/uname -X | grep "^Machine"` in
    *486*) UNAME_MACHINE=i486 ;;
    *Pentium) UNAME_MACHINE=i586 ;;
    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
    esac
    - echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
    + exit 0 ;;
    i*86:*:3.2:*)
    if test -f /usr/options/cb.name; then
    UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
    - echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL"
    + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
    elif /bin/uname -X 2>/dev/null >/dev/null ; then
    UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
    (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
    @@ -1119,333 +1062,369 @@
    && UNAME_MACHINE=i686
    (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
    && UNAME_MACHINE=i686
    - echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
    + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
    else
    - echo "$UNAME_MACHINE"-pc-sysv32
    + echo ${UNAME_MACHINE}-pc-sysv32
    fi
    - exit ;;
    + exit 0 ;;
    pc:*:*:*)
    # Left here for compatibility:
    - # uname -m prints for DJGPP always 'pc', but it prints nothing about
    - # the processor, so we play safe by assuming i586.
    - # Note: whatever this is, it MUST be the same as what config.sub
    - # prints for the "djgpp" host, or else GDB configure will decide that
    - # this is a cross-build.
    - echo i586-pc-msdosdjgpp
    - exit ;;
    + # uname -m prints for DJGPP always 'pc', but it prints nothing about
    + # the processor, so we play safe by assuming i386.
    + echo i386-pc-msdosdjgpp
    + exit 0 ;;
    Intel:Mach:3*:*)
    echo i386-pc-mach3
    - exit ;;
    + exit 0 ;;
    paragon:*:*:*)
    echo i860-intel-osf1
    - exit ;;
    + exit 0 ;;
    i860:*:4.*:*) # i860-SVR4
    if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
    - echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
    + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
    else # Add other i860-SVR4 vendors below as they are discovered.
    - echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4
    + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
    fi
    - exit ;;
    + exit 0 ;;
    mini*:CTIX:SYS*5:*)
    # "miniframe"
    echo m68010-convergent-sysv
    - exit ;;
    + exit 0 ;;
    mc68k:UNIX:SYSTEM5:3.51m)
    echo m68k-convergent-sysv
    - exit ;;
    + exit 0 ;;
    M680?0:D-NIX:5.3:*)
    echo m68k-diab-dnix
    - exit ;;
    + exit 0 ;;
    M68*:*:R3V[5678]*:*)
    - test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
    - 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)
    + test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
    + 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)
    OS_REL=''
    test -r /etc/.relid \
    && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
    /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    - && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
    + && echo i486-ncr-sysv4.3${OS_REL} && exit 0
    /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
    - && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
    + && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
    - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    - && { echo i486-ncr-sysv4; exit; } ;;
    - NCR*:*:4.2:* | MPRAS*:*:4.2:*)
    - OS_REL='.3'
    - test -r /etc/.relid \
    - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
    - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    - && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
    - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
    - && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
    - /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
    - && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
    + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    + && echo i486-ncr-sysv4 && exit 0 ;;
    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
    - echo m68k-unknown-lynxos"$UNAME_RELEASE"
    - exit ;;
    + echo m68k-unknown-lynxos${UNAME_RELEASE}
    + exit 0 ;;
    mc68030:UNIX_System_V:4.*:*)
    echo m68k-atari-sysv4
    - exit ;;
    + exit 0 ;;
    TSUNAMI:LynxOS:2.*:*)
    - echo sparc-unknown-lynxos"$UNAME_RELEASE"
    - exit ;;
    + echo sparc-unknown-lynxos${UNAME_RELEASE}
    + exit 0 ;;
    rs6000:LynxOS:2.*:*)
    - echo rs6000-unknown-lynxos"$UNAME_RELEASE"
    - exit ;;
    - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
    - echo powerpc-unknown-lynxos"$UNAME_RELEASE"
    - exit ;;
    + echo rs6000-unknown-lynxos${UNAME_RELEASE}
    + exit 0 ;;
    + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
    + echo powerpc-unknown-lynxos${UNAME_RELEASE}
    + exit 0 ;;
    SM[BE]S:UNIX_SV:*:*)
    - echo mips-dde-sysv"$UNAME_RELEASE"
    - exit ;;
    + echo mips-dde-sysv${UNAME_RELEASE}
    + exit 0 ;;
    RM*:ReliantUNIX-*:*:*)
    echo mips-sni-sysv4
    - exit ;;
    + exit 0 ;;
    RM*:SINIX-*:*:*)
    echo mips-sni-sysv4
    - exit ;;
    + exit 0 ;;
    *:SINIX-*:*:*)
    if uname -p 2>/dev/null >/dev/null ; then
    UNAME_MACHINE=`(uname -p) 2>/dev/null`
    - echo "$UNAME_MACHINE"-sni-sysv4
    + echo ${UNAME_MACHINE}-sni-sysv4
    else
    echo ns32k-sni-sysv
    fi
    - exit ;;
    - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
    - # says <Richard.M.Bartel@ccMail.Census.GOV>
    - echo i586-unisys-sysv4
    - exit ;;
    + exit 0 ;;
    + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
    + # says <Richard.M.Bartel@ccMail.Census.GOV>
    + echo i586-unisys-sysv4
    + exit 0 ;;
    *:UNIX_System_V:4*:FTX*)
    # From Gerald Hewes <hewes@openmarket.com>.
    # How about differentiating between stratus architectures? -djm
    echo hppa1.1-stratus-sysv4
    - exit ;;
    + exit 0 ;;
    *:*:*:FTX*)
    # From seanf@swdc.stratus.com.
    echo i860-stratus-sysv4
    - exit ;;
    - i*86:VOS:*:*)
    - # From Paul.Green@stratus.com.
    - echo "$UNAME_MACHINE"-stratus-vos
    - exit ;;
    + exit 0 ;;
    *:VOS:*:*)
    # From Paul.Green@stratus.com.
    echo hppa1.1-stratus-vos
    - exit ;;
    + exit 0 ;;
    mc68*:A/UX:*:*)
    - echo m68k-apple-aux"$UNAME_RELEASE"
    - exit ;;
    + echo m68k-apple-aux${UNAME_RELEASE}
    + exit 0 ;;
    news*:NEWS-OS:6*:*)
    echo mips-sony-newsos6
    - exit ;;
    + exit 0 ;;
    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
    if [ -d /usr/nec ]; then
    - echo mips-nec-sysv"$UNAME_RELEASE"
    + echo mips-nec-sysv${UNAME_RELEASE}
    else
    - echo mips-unknown-sysv"$UNAME_RELEASE"
    + echo mips-unknown-sysv${UNAME_RELEASE}
    fi
    - exit ;;
    + exit 0 ;;
    BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
    echo powerpc-be-beos
    - exit ;;
    + exit 0 ;;
    BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
    echo powerpc-apple-beos
    - exit ;;
    + exit 0 ;;
    BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
    echo i586-pc-beos
    - exit ;;
    - BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
    - echo i586-pc-haiku
    - exit ;;
    - x86_64:Haiku:*:*)
    - echo x86_64-unknown-haiku
    - exit ;;
    + exit 0 ;;
    SX-4:SUPER-UX:*:*)
    - echo sx4-nec-superux"$UNAME_RELEASE"
    - exit ;;
    + echo sx4-nec-superux${UNAME_RELEASE}
    + exit 0 ;;
    SX-5:SUPER-UX:*:*)
    - echo sx5-nec-superux"$UNAME_RELEASE"
    - exit ;;
    + echo sx5-nec-superux${UNAME_RELEASE}
    + exit 0 ;;
    SX-6:SUPER-UX:*:*)
    - echo sx6-nec-superux"$UNAME_RELEASE"
    - exit ;;
    - SX-7:SUPER-UX:*:*)
    - echo sx7-nec-superux"$UNAME_RELEASE"
    - exit ;;
    - SX-8:SUPER-UX:*:*)
    - echo sx8-nec-superux"$UNAME_RELEASE"
    - exit ;;
    - SX-8R:SUPER-UX:*:*)
    - echo sx8r-nec-superux"$UNAME_RELEASE"
    - exit ;;
    - SX-ACE:SUPER-UX:*:*)
    - echo sxace-nec-superux"$UNAME_RELEASE"
    - exit ;;
    + echo sx6-nec-superux${UNAME_RELEASE}
    + exit 0 ;;
    Power*:Rhapsody:*:*)
    - echo powerpc-apple-rhapsody"$UNAME_RELEASE"
    - exit ;;
    + echo powerpc-apple-rhapsody${UNAME_RELEASE}
    + exit 0 ;;
    *:Rhapsody:*:*)
    - echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
    - exit ;;
    + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
    + exit 0 ;;
    *:Darwin:*:*)
    - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
    - eval "$set_cc_for_build"
    - if test "$UNAME_PROCESSOR" = unknown ; then
    - UNAME_PROCESSOR=powerpc
    - fi
    - if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
    - if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
    - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
    - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
    - grep IS_64BIT_ARCH >/dev/null
    - then
    - case $UNAME_PROCESSOR in
    - i386) UNAME_PROCESSOR=x86_64 ;;
    - powerpc) UNAME_PROCESSOR=powerpc64 ;;
    - esac
    - fi
    - # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc - if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
    - grep IS_PPC >/dev/null
    - then
    - UNAME_PROCESSOR=powerpc
    - fi
    - fi
    - elif test "$UNAME_PROCESSOR" = i386 ; then
    - # Avoid executing cc on OS X 10.9, as it ships with a stub
    - # that puts up a graphical alert prompting to install
    - # developer tools. Any system running Mac OS X 10.7 or
    - # later (Darwin 11 and later) is required to have a 64-bit
    - # processor. This is not true of the ARM version of Darwin
    - # that Apple uses in portable devices.
    - UNAME_PROCESSOR=x86_64
    - fi
    - echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
    - exit ;;
    + case `uname -p` in
    + *86) UNAME_PROCESSOR=i686 ;;
    + powerpc) UNAME_PROCESSOR=powerpc ;;
    + esac
    + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
    + exit 0 ;;
    *:procnto*:*:* | *:QNX:[0123456789]*:*)
    UNAME_PROCESSOR=`uname -p`
    - if test "$UNAME_PROCESSOR" = x86; then
    + if test "$UNAME_PROCESSOR" = "x86"; then
    UNAME_PROCESSOR=i386
    UNAME_MACHINE=pc
    fi
    - echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
    - exit ;;
    + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
    + exit 0 ;;
    *:QNX:*:4*)
    echo i386-pc-qnx
    - exit ;;
    - NEO-*:NONSTOP_KERNEL:*:*)
    - echo neo-tandem-nsk"$UNAME_RELEASE"
    - exit ;;
    - NSE-*:NONSTOP_KERNEL:*:*)
    - echo nse-tandem-nsk"$UNAME_RELEASE"
    - exit ;;
    - NSR-*:NONSTOP_KERNEL:*:*)
    - echo nsr-tandem-nsk"$UNAME_RELEASE"
    - exit ;;
    - NSV-*:NONSTOP_KERNEL:*:*)
    - echo nsv-tandem-nsk"$UNAME_RELEASE"
    - exit ;;
    - NSX-*:NONSTOP_KERNEL:*:*)
    - echo nsx-tandem-nsk"$UNAME_RELEASE"
    - exit ;;
    + exit 0 ;;
    + NSR-?:NONSTOP_KERNEL:*:*)
    + echo nsr-tandem-nsk${UNAME_RELEASE}
    + exit 0 ;;
    *:NonStop-UX:*:*)
    echo mips-compaq-nonstopux
    - exit ;;
    + exit 0 ;;
    BS2000:POSIX*:*:*)
    echo bs2000-siemens-sysv
    - exit ;;
    + exit 0 ;;
    DS/*:UNIX_System_V:*:*)
    - echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
    - exit ;;
    + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
    + exit 0 ;;
    *:Plan9:*:*)
    # "uname -m" is not consistent, so use $cputype instead. 386
    # is converted to i386 for consistency with other x86
    # operating systems.
    - if test "$cputype" = 386; then
    + if test "$cputype" = "386"; then
    UNAME_MACHINE=i386
    else
    UNAME_MACHINE="$cputype"
    fi
    - echo "$UNAME_MACHINE"-unknown-plan9
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-plan9
    + exit 0 ;;
    *:TOPS-10:*:*)
    echo pdp10-unknown-tops10
    - exit ;;
    + exit 0 ;;
    *:TENEX:*:*)
    echo pdp10-unknown-tenex
    - exit ;;
    + exit 0 ;;
    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
    echo pdp10-dec-tops20
    - exit ;;
    + exit 0 ;;
    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
    echo pdp10-xkl-tops20
    - exit ;;
    + exit 0 ;;
    *:TOPS-20:*:*)
    echo pdp10-unknown-tops20
    - exit ;;
    + exit 0 ;;
    *:ITS:*:*)
    echo pdp10-unknown-its
    - exit ;;
    + exit 0 ;;
    SEI:*:*:SEIUX)
    - echo mips-sei-seiux"$UNAME_RELEASE"
    - exit ;;
    + echo mips-sei-seiux${UNAME_RELEASE}
    + exit 0 ;;
    *:DragonFly:*:*)
    - echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
    - exit ;;
    - *:*VMS:*:*)
    - UNAME_MACHINE=`(uname -p) 2>/dev/null`
    - case "$UNAME_MACHINE" in
    - A*) echo alpha-dec-vms ; exit ;;
    - I*) echo ia64-dec-vms ; exit ;;
    - V*) echo vax-dec-vms ; exit ;;
    - esac ;;
    - *:XENIX:*:SysV)
    - echo i386-pc-xenix
    - exit ;;
    - i*86:skyos:*:*)
    - echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
    - exit ;;
    - i*86:rdos:*:*)
    - echo "$UNAME_MACHINE"-pc-rdos
    - exit ;;
    - i*86:AROS:*:*)
    - echo "$UNAME_MACHINE"-pc-aros
    - exit ;;
    - x86_64:VMkernel:*:*)
    - echo "$UNAME_MACHINE"-unknown-esx
    - exit ;;
    - amd64:Isilon\ OneFS:*:*)
    - echo x86_64-unknown-onefs
    - exit ;;
    + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
    + exit 0 ;;
    esac

    -echo "$0: unable to guess system type" >&2
    +#echo '(No uname command or uname output not recognized.)' 1>&2
    +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
    +
    +eval $set_cc_for_build
    +cat >$dummy.c <<EOF
    +#ifdef _SEQUENT_
    +# include <sys/types.h>
    +# include <sys/utsname.h>
    +#endif
    +main ()
    +{
    +#if defined (sony)
    +#if defined (MIPSEB)
    + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)