"Fossies" - the Fresh Open Source Software Archive

Member "ngrep-1_47/config.guess" (7 Sep 2017, 44430 Bytes) of package /linux/misc/ngrep-1_47.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes reports for "config.guess": 1_45_vs_1_47 or 1_46_1_vs_1_47.

    1 #! /bin/sh
    2 
    3 if [ -x /usr/share/misc/config.guess ]; then
    4    exec /usr/share/misc/config.guess "$@"
    5 fi
    6 
    7 # Attempt to guess a canonical system name.
    8 #   Copyright 1992-2017 Free Software Foundation, Inc.
    9 
   10 timestamp='2017-08-08'
   11 
   12 # This file is free software; you can redistribute it and/or modify it
   13 # under the terms of the GNU General Public License as published by
   14 # the Free Software Foundation; either version 3 of the License, or
   15 # (at your option) any later version.
   16 #
   17 # This program is distributed in the hope that it will be useful, but
   18 # WITHOUT ANY WARRANTY; without even the implied warranty of
   19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   20 # General Public License for more details.
   21 #
   22 # You should have received a copy of the GNU General Public License
   23 # along with this program; if not, see <http://www.gnu.org/licenses/>.
   24 #
   25 # As a special exception to the GNU General Public License, if you
   26 # distribute this file as part of a program that contains a
   27 # configuration script generated by Autoconf, you may include it under
   28 # the same distribution terms that you use for the rest of that
   29 # program.  This Exception is an additional permission under section 7
   30 # of the GNU General Public License, version 3 ("GPLv3").
   31 #
   32 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
   33 #
   34 # You can get the latest version of this script from:
   35 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
   36 #
   37 # Please send patches to <config-patches@gnu.org>.
   38 
   39 
   40 me=`echo "$0" | sed -e 's,.*/,,'`
   41 
   42 usage="\
   43 Usage: $0 [OPTION]
   44 
   45 Output the configuration name of the system \`$me' is run on.
   46 
   47 Operation modes:
   48   -h, --help         print this help, then exit
   49   -t, --time-stamp   print date of last modification, then exit
   50   -v, --version      print version number, then exit
   51 
   52 Report bugs and patches to <config-patches@gnu.org>."
   53 
   54 version="\
   55 GNU config.guess ($timestamp)
   56 
   57 Originally written by Per Bothner.
   58 Copyright 1992-2017 Free Software Foundation, Inc.
   59 
   60 This is free software; see the source for copying conditions.  There is NO
   61 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
   62 
   63 help="
   64 Try \`$me --help' for more information."
   65 
   66 # Parse command line
   67 while test $# -gt 0 ; do
   68   case $1 in
   69     --time-stamp | --time* | -t )
   70        echo "$timestamp" ; exit ;;
   71     --version | -v )
   72        echo "$version" ; exit ;;
   73     --help | --h* | -h )
   74        echo "$usage"; exit ;;
   75     -- )     # Stop option processing
   76        shift; break ;;
   77     - ) # Use stdin as input.
   78        break ;;
   79     -* )
   80        echo "$me: invalid option $1$help" >&2
   81        exit 1 ;;
   82     * )
   83        break ;;
   84   esac
   85 done
   86 
   87 if test $# != 0; then
   88   echo "$me: too many arguments$help" >&2
   89   exit 1
   90 fi
   91 
   92 trap 'exit 1' 1 2 15
   93 
   94 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
   95 # compiler to aid in system detection is discouraged as it requires
   96 # temporary files to be created and, as you can see below, it is a
   97 # headache to deal with in a portable fashion.
   98 
   99 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
  100 # use `HOST_CC' if defined, but it is deprecated.
  101 
  102 # Portable tmp directory creation inspired by the Autoconf team.
  103 
  104 set_cc_for_build='
  105 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
  106 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
  107 : ${TMPDIR=/tmp} ;
  108  { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
  109  { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
  110  { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
  111  { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
  112 dummy=$tmp/dummy ;
  113 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
  114 case $CC_FOR_BUILD,$HOST_CC,$CC in
  115  ,,)    echo "int x;" > $dummy.c ;
  116     for c in cc gcc c89 c99 ; do
  117       if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
  118          CC_FOR_BUILD="$c"; break ;
  119       fi ;
  120     done ;
  121     if test x"$CC_FOR_BUILD" = x ; then
  122       CC_FOR_BUILD=no_compiler_found ;
  123     fi
  124     ;;
  125  ,,*)   CC_FOR_BUILD=$CC ;;
  126  ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
  127 esac ; set_cc_for_build= ;'
  128 
  129 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
  130 # (ghazi@noc.rutgers.edu 1994-08-24)
  131 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
  132     PATH=$PATH:/.attbin ; export PATH
  133 fi
  134 
  135 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
  136 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
  137 UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
  138 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
  139 
  140 case "${UNAME_SYSTEM}" in
  141 Linux|GNU|GNU/*)
  142     # If the system lacks a compiler, then just pick glibc.
  143     # We could probably try harder.
  144     LIBC=gnu
  145 
  146     eval $set_cc_for_build
  147     cat <<-EOF > $dummy.c
  148     #include <features.h>
  149     #if defined(__UCLIBC__)
  150     LIBC=uclibc
  151     #elif defined(__dietlibc__)
  152     LIBC=dietlibc
  153     #else
  154     LIBC=gnu
  155     #endif
  156     EOF
  157     eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
  158     ;;
  159 esac
  160 
  161 # Note: order is significant - the case branches are not exclusive.
  162 
  163 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
  164     *:NetBSD:*:*)
  165     # NetBSD (nbsd) targets should (where applicable) match one or
  166     # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
  167     # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
  168     # switched to ELF, *-*-netbsd* would select the old
  169     # object file format.  This provides both forward
  170     # compatibility and a consistent mechanism for selecting the
  171     # object file format.
  172     #
  173     # Note: NetBSD doesn't particularly care about the vendor
  174     # portion of the name.  We always set it to "unknown".
  175     sysctl="sysctl -n hw.machine_arch"
  176     UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
  177         /sbin/$sysctl 2>/dev/null || \
  178         /usr/sbin/$sysctl 2>/dev/null || \
  179         echo unknown)`
  180     case "${UNAME_MACHINE_ARCH}" in
  181         armeb) machine=armeb-unknown ;;
  182         arm*) machine=arm-unknown ;;
  183         sh3el) machine=shl-unknown ;;
  184         sh3eb) machine=sh-unknown ;;
  185         sh5el) machine=sh5le-unknown ;;
  186         earmv*)
  187         arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
  188         endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
  189         machine=${arch}${endian}-unknown
  190         ;;
  191         *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
  192     esac
  193     # The Operating System including object format, if it has switched
  194     # to ELF recently (or will in the future) and ABI.
  195     case "${UNAME_MACHINE_ARCH}" in
  196         earm*)
  197         os=netbsdelf
  198         ;;
  199         arm*|i386|m68k|ns32k|sh3*|sparc|vax)
  200         eval $set_cc_for_build
  201         if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
  202             | grep -q __ELF__
  203         then
  204             # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
  205             # Return netbsd for either.  FIX?
  206             os=netbsd
  207         else
  208             os=netbsdelf
  209         fi
  210         ;;
  211         *)
  212         os=netbsd
  213         ;;
  214     esac
  215     # Determine ABI tags.
  216     case "${UNAME_MACHINE_ARCH}" in
  217         earm*)
  218         expr='s/^earmv[0-9]/-eabi/;s/eb$//'
  219         abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
  220         ;;
  221     esac
  222     # The OS release
  223     # Debian GNU/NetBSD machines have a different userland, and
  224     # thus, need a distinct triplet. However, they do not need
  225     # kernel version information, so it can be replaced with a
  226     # suitable tag, in the style of linux-gnu.
  227     case "${UNAME_VERSION}" in
  228         Debian*)
  229         release='-gnu'
  230         ;;
  231         *)
  232         release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
  233         ;;
  234     esac
  235     # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
  236     # contains redundant information, the shorter form:
  237     # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
  238     echo "${machine}-${os}${release}${abi}"
  239     exit ;;
  240     *:Bitrig:*:*)
  241     UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
  242     echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
  243     exit ;;
  244     *:OpenBSD:*:*)
  245     UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
  246     echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
  247     exit ;;
  248     *:LibertyBSD:*:*)
  249     UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
  250     echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
  251     exit ;;
  252     *:ekkoBSD:*:*)
  253     echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
  254     exit ;;
  255     *:SolidBSD:*:*)
  256     echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
  257     exit ;;
  258     macppc:MirBSD:*:*)
  259     echo powerpc-unknown-mirbsd${UNAME_RELEASE}
  260     exit ;;
  261     *:MirBSD:*:*)
  262     echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
  263     exit ;;
  264     *:Sortix:*:*)
  265     echo ${UNAME_MACHINE}-unknown-sortix
  266     exit ;;
  267     *:Redox:*:*)
  268     echo ${UNAME_MACHINE}-unknown-redox
  269     exit ;;
  270     alpha:OSF1:*:*)
  271     case $UNAME_RELEASE in
  272     *4.0)
  273         UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
  274         ;;
  275     *5.*)
  276         UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
  277         ;;
  278     esac
  279     # According to Compaq, /usr/sbin/psrinfo has been available on
  280     # OSF/1 and Tru64 systems produced since 1995.  I hope that
  281     # covers most systems running today.  This code pipes the CPU
  282     # types through head -n 1, so we only detect the type of CPU 0.
  283     ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
  284     case "$ALPHA_CPU_TYPE" in
  285         "EV4 (21064)")
  286         UNAME_MACHINE=alpha ;;
  287         "EV4.5 (21064)")
  288         UNAME_MACHINE=alpha ;;
  289         "LCA4 (21066/21068)")
  290         UNAME_MACHINE=alpha ;;
  291         "EV5 (21164)")
  292         UNAME_MACHINE=alphaev5 ;;
  293         "EV5.6 (21164A)")
  294         UNAME_MACHINE=alphaev56 ;;
  295         "EV5.6 (21164PC)")
  296         UNAME_MACHINE=alphapca56 ;;
  297         "EV5.7 (21164PC)")
  298         UNAME_MACHINE=alphapca57 ;;
  299         "EV6 (21264)")
  300         UNAME_MACHINE=alphaev6 ;;
  301         "EV6.7 (21264A)")
  302         UNAME_MACHINE=alphaev67 ;;
  303         "EV6.8CB (21264C)")
  304         UNAME_MACHINE=alphaev68 ;;
  305         "EV6.8AL (21264B)")
  306         UNAME_MACHINE=alphaev68 ;;
  307         "EV6.8CX (21264D)")
  308         UNAME_MACHINE=alphaev68 ;;
  309         "EV6.9A (21264/EV69A)")
  310         UNAME_MACHINE=alphaev69 ;;
  311         "EV7 (21364)")
  312         UNAME_MACHINE=alphaev7 ;;
  313         "EV7.9 (21364A)")
  314         UNAME_MACHINE=alphaev79 ;;
  315     esac
  316     # A Pn.n version is a patched version.
  317     # A Vn.n version is a released version.
  318     # A Tn.n version is a released field test version.
  319     # A Xn.n version is an unreleased experimental baselevel.
  320     # 1.2 uses "1.2" for uname -r.
  321     echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
  322     # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
  323     exitcode=$?
  324     trap '' 0
  325     exit $exitcode ;;
  326     Alpha\ *:Windows_NT*:*)
  327     # How do we know it's Interix rather than the generic POSIX subsystem?
  328     # Should we change UNAME_MACHINE based on the output of uname instead
  329     # of the specific Alpha model?
  330     echo alpha-pc-interix
  331     exit ;;
  332     21064:Windows_NT:50:3)
  333     echo alpha-dec-winnt3.5
  334     exit ;;
  335     Amiga*:UNIX_System_V:4.0:*)
  336     echo m68k-unknown-sysv4
  337     exit ;;
  338     *:[Aa]miga[Oo][Ss]:*:*)
  339     echo ${UNAME_MACHINE}-unknown-amigaos
  340     exit ;;
  341     *:[Mm]orph[Oo][Ss]:*:*)
  342     echo ${UNAME_MACHINE}-unknown-morphos
  343     exit ;;
  344     *:OS/390:*:*)
  345     echo i370-ibm-openedition
  346     exit ;;
  347     *:z/VM:*:*)
  348     echo s390-ibm-zvmoe
  349     exit ;;
  350     *:OS400:*:*)
  351     echo powerpc-ibm-os400
  352     exit ;;
  353     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
  354     echo arm-acorn-riscix${UNAME_RELEASE}
  355     exit ;;
  356     arm*:riscos:*:*|arm*:RISCOS:*:*)
  357     echo arm-unknown-riscos
  358     exit ;;
  359     SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
  360     echo hppa1.1-hitachi-hiuxmpp
  361     exit ;;
  362     Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
  363     # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
  364     if test "`(/bin/universe) 2>/dev/null`" = att ; then
  365         echo pyramid-pyramid-sysv3
  366     else
  367         echo pyramid-pyramid-bsd
  368     fi
  369     exit ;;
  370     NILE*:*:*:dcosx)
  371     echo pyramid-pyramid-svr4
  372     exit ;;
  373     DRS?6000:unix:4.0:6*)
  374     echo sparc-icl-nx6
  375     exit ;;
  376     DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
  377     case `/usr/bin/uname -p` in
  378         sparc) echo sparc-icl-nx7; exit ;;
  379     esac ;;
  380     s390x:SunOS:*:*)
  381     echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  382     exit ;;
  383     sun4H:SunOS:5.*:*)
  384     echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  385     exit ;;
  386     sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
  387     echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  388     exit ;;
  389     i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
  390     echo i386-pc-auroraux${UNAME_RELEASE}
  391     exit ;;
  392     i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
  393     eval $set_cc_for_build
  394     SUN_ARCH=i386
  395     # If there is a compiler, see if it is configured for 64-bit objects.
  396     # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
  397     # This test works for both compilers.
  398     if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
  399         if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
  400         (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
  401         grep IS_64BIT_ARCH >/dev/null
  402         then
  403         SUN_ARCH=x86_64
  404         fi
  405     fi
  406     echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  407     exit ;;
  408     sun4*:SunOS:6*:*)
  409     # According to config.sub, this is the proper way to canonicalize
  410     # SunOS6.  Hard to guess exactly what SunOS6 will be like, but
  411     # it's likely to be more like Solaris than SunOS4.
  412     echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  413     exit ;;
  414     sun4*:SunOS:*:*)
  415     case "`/usr/bin/arch -k`" in
  416         Series*|S4*)
  417         UNAME_RELEASE=`uname -v`
  418         ;;
  419     esac
  420     # Japanese Language versions have a version number like `4.1.3-JL'.
  421     echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
  422     exit ;;
  423     sun3*:SunOS:*:*)
  424     echo m68k-sun-sunos${UNAME_RELEASE}
  425     exit ;;
  426     sun*:*:4.2BSD:*)
  427     UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  428     test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3
  429     case "`/bin/arch`" in
  430         sun3)
  431         echo m68k-sun-sunos${UNAME_RELEASE}
  432         ;;
  433         sun4)
  434         echo sparc-sun-sunos${UNAME_RELEASE}
  435         ;;
  436     esac
  437     exit ;;
  438     aushp:SunOS:*:*)
  439     echo sparc-auspex-sunos${UNAME_RELEASE}
  440     exit ;;
  441     # The situation for MiNT is a little confusing.  The machine name
  442     # can be virtually everything (everything which is not
  443     # "atarist" or "atariste" at least should have a processor
  444     # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
  445     # to the lowercase version "mint" (or "freemint").  Finally
  446     # the system name "TOS" denotes a system which is actually not
  447     # MiNT.  But MiNT is downward compatible to TOS, so this should
  448     # be no problem.
  449     atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
  450     echo m68k-atari-mint${UNAME_RELEASE}
  451     exit ;;
  452     atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
  453     echo m68k-atari-mint${UNAME_RELEASE}
  454     exit ;;
  455     *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
  456     echo m68k-atari-mint${UNAME_RELEASE}
  457     exit ;;
  458     milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
  459     echo m68k-milan-mint${UNAME_RELEASE}
  460     exit ;;
  461     hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
  462     echo m68k-hades-mint${UNAME_RELEASE}
  463     exit ;;
  464     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
  465     echo m68k-unknown-mint${UNAME_RELEASE}
  466     exit ;;
  467     m68k:machten:*:*)
  468     echo m68k-apple-machten${UNAME_RELEASE}
  469     exit ;;
  470     powerpc:machten:*:*)
  471     echo powerpc-apple-machten${UNAME_RELEASE}
  472     exit ;;
  473     RISC*:Mach:*:*)
  474     echo mips-dec-mach_bsd4.3
  475     exit ;;
  476     RISC*:ULTRIX:*:*)
  477     echo mips-dec-ultrix${UNAME_RELEASE}
  478     exit ;;
  479     VAX*:ULTRIX*:*:*)
  480     echo vax-dec-ultrix${UNAME_RELEASE}
  481     exit ;;
  482     2020:CLIX:*:* | 2430:CLIX:*:*)
  483     echo clipper-intergraph-clix${UNAME_RELEASE}
  484     exit ;;
  485     mips:*:*:UMIPS | mips:*:*:RISCos)
  486     eval $set_cc_for_build
  487     sed 's/^    //' << EOF >$dummy.c
  488 #ifdef __cplusplus
  489 #include <stdio.h>  /* for printf() prototype */
  490     int main (int argc, char *argv[]) {
  491 #else
  492     int main (argc, argv) int argc; char *argv[]; {
  493 #endif
  494     #if defined (host_mips) && defined (MIPSEB)
  495     #if defined (SYSTYPE_SYSV)
  496       printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
  497     #endif
  498     #if defined (SYSTYPE_SVR4)
  499       printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
  500     #endif
  501     #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
  502       printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
  503     #endif
  504     #endif
  505       exit (-1);
  506     }
  507 EOF
  508     $CC_FOR_BUILD -o $dummy $dummy.c &&
  509       dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
  510       SYSTEM_NAME=`$dummy $dummyarg` &&
  511         { echo "$SYSTEM_NAME"; exit; }
  512     echo mips-mips-riscos${UNAME_RELEASE}
  513     exit ;;
  514     Motorola:PowerMAX_OS:*:*)
  515     echo powerpc-motorola-powermax
  516     exit ;;
  517     Motorola:*:4.3:PL8-*)
  518     echo powerpc-harris-powermax
  519     exit ;;
  520     Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
  521     echo powerpc-harris-powermax
  522     exit ;;
  523     Night_Hawk:Power_UNIX:*:*)
  524     echo powerpc-harris-powerunix
  525     exit ;;
  526     m88k:CX/UX:7*:*)
  527     echo m88k-harris-cxux7
  528     exit ;;
  529     m88k:*:4*:R4*)
  530     echo m88k-motorola-sysv4
  531     exit ;;
  532     m88k:*:3*:R3*)
  533     echo m88k-motorola-sysv3
  534     exit ;;
  535     AViiON:dgux:*:*)
  536     # DG/UX returns AViiON for all architectures
  537     UNAME_PROCESSOR=`/usr/bin/uname -p`
  538     if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
  539     then
  540         if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
  541            [ ${TARGET_BINARY_INTERFACE}x = x ]
  542         then
  543         echo m88k-dg-dgux${UNAME_RELEASE}
  544         else
  545         echo m88k-dg-dguxbcs${UNAME_RELEASE}
  546         fi
  547     else
  548         echo i586-dg-dgux${UNAME_RELEASE}
  549     fi
  550     exit ;;
  551     M88*:DolphinOS:*:*) # DolphinOS (SVR3)
  552     echo m88k-dolphin-sysv3
  553     exit ;;
  554     M88*:*:R3*:*)
  555     # Delta 88k system running SVR3
  556     echo m88k-motorola-sysv3
  557     exit ;;
  558     XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
  559     echo m88k-tektronix-sysv3
  560     exit ;;
  561     Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
  562     echo m68k-tektronix-bsd
  563     exit ;;
  564     *:IRIX*:*:*)
  565     echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
  566     exit ;;
  567     ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
  568     echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
  569     exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
  570     i*86:AIX:*:*)
  571     echo i386-ibm-aix
  572     exit ;;
  573     ia64:AIX:*:*)
  574     if [ -x /usr/bin/oslevel ] ; then
  575         IBM_REV=`/usr/bin/oslevel`
  576     else
  577         IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  578     fi
  579     echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
  580     exit ;;
  581     *:AIX:2:3)
  582     if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
  583         eval $set_cc_for_build
  584         sed 's/^        //' << EOF >$dummy.c
  585         #include <sys/systemcfg.h>
  586 
  587         main()
  588             {
  589             if (!__power_pc())
  590                 exit(1);
  591             puts("powerpc-ibm-aix3.2.5");
  592             exit(0);
  593             }
  594 EOF
  595         if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
  596         then
  597             echo "$SYSTEM_NAME"
  598         else
  599             echo rs6000-ibm-aix3.2.5
  600         fi
  601     elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
  602         echo rs6000-ibm-aix3.2.4
  603     else
  604         echo rs6000-ibm-aix3.2
  605     fi
  606     exit ;;
  607     *:AIX:*:[4567])
  608     IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
  609     if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  610         IBM_ARCH=rs6000
  611     else
  612         IBM_ARCH=powerpc
  613     fi
  614     if [ -x /usr/bin/lslpp ] ; then
  615         IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
  616                awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
  617     else
  618         IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  619     fi
  620     echo ${IBM_ARCH}-ibm-aix${IBM_REV}
  621     exit ;;
  622     *:AIX:*:*)
  623     echo rs6000-ibm-aix
  624     exit ;;
  625     ibmrt:4.4BSD:*|romp-ibm:BSD:*)
  626     echo romp-ibm-bsd4.4
  627     exit ;;
  628     ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
  629     echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
  630     exit ;;                             # report: romp-ibm BSD 4.3
  631     *:BOSX:*:*)
  632     echo rs6000-bull-bosx
  633     exit ;;
  634     DPX/2?00:B.O.S.:*:*)
  635     echo m68k-bull-sysv3
  636     exit ;;
  637     9000/[34]??:4.3bsd:1.*:*)
  638     echo m68k-hp-bsd
  639     exit ;;
  640     hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
  641     echo m68k-hp-bsd4.4
  642     exit ;;
  643     9000/[34678]??:HP-UX:*:*)
  644     HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  645     case "${UNAME_MACHINE}" in
  646         9000/31? )            HP_ARCH=m68000 ;;
  647         9000/[34]?? )         HP_ARCH=m68k ;;
  648         9000/[678][0-9][0-9])
  649         if [ -x /usr/bin/getconf ]; then
  650             sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
  651             sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
  652             case "${sc_cpu_version}" in
  653               523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
  654               528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
  655               532)                      # CPU_PA_RISC2_0
  656             case "${sc_kernel_bits}" in
  657               32) HP_ARCH=hppa2.0n ;;
  658               64) HP_ARCH=hppa2.0w ;;
  659               '') HP_ARCH=hppa2.0 ;;   # HP-UX 10.20
  660             esac ;;
  661             esac
  662         fi
  663         if [ "${HP_ARCH}" = "" ]; then
  664             eval $set_cc_for_build
  665             sed 's/^        //' << EOF >$dummy.c
  666 
  667         #define _HPUX_SOURCE
  668         #include <stdlib.h>
  669         #include <unistd.h>
  670 
  671         int main ()
  672         {
  673         #if defined(_SC_KERNEL_BITS)
  674             long bits = sysconf(_SC_KERNEL_BITS);
  675         #endif
  676             long cpu  = sysconf (_SC_CPU_VERSION);
  677 
  678             switch (cpu)
  679             {
  680             case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
  681             case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
  682             case CPU_PA_RISC2_0:
  683         #if defined(_SC_KERNEL_BITS)
  684                 switch (bits)
  685                 {
  686                 case 64: puts ("hppa2.0w"); break;
  687                 case 32: puts ("hppa2.0n"); break;
  688                 default: puts ("hppa2.0"); break;
  689                 } break;
  690         #else  /* !defined(_SC_KERNEL_BITS) */
  691                 puts ("hppa2.0"); break;
  692         #endif
  693             default: puts ("hppa1.0"); break;
  694             }
  695             exit (0);
  696         }
  697 EOF
  698             (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
  699             test -z "$HP_ARCH" && HP_ARCH=hppa
  700         fi ;;
  701     esac
  702     if [ ${HP_ARCH} = hppa2.0w ]
  703     then
  704         eval $set_cc_for_build
  705 
  706         # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
  707         # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
  708         # generating 64-bit code.  GNU and HP use different nomenclature:
  709         #
  710         # $ CC_FOR_BUILD=cc ./config.guess
  711         # => hppa2.0w-hp-hpux11.23
  712         # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
  713         # => hppa64-hp-hpux11.23
  714 
  715         if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
  716         grep -q __LP64__
  717         then
  718         HP_ARCH=hppa2.0w
  719         else
  720         HP_ARCH=hppa64
  721         fi
  722     fi
  723     echo ${HP_ARCH}-hp-hpux${HPUX_REV}
  724     exit ;;
  725     ia64:HP-UX:*:*)
  726     HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  727     echo ia64-hp-hpux${HPUX_REV}
  728     exit ;;
  729     3050*:HI-UX:*:*)
  730     eval $set_cc_for_build
  731     sed 's/^    //' << EOF >$dummy.c
  732     #include <unistd.h>
  733     int
  734     main ()
  735     {
  736       long cpu = sysconf (_SC_CPU_VERSION);
  737       /* The order matters, because CPU_IS_HP_MC68K erroneously returns
  738          true for CPU_PA_RISC1_0.  CPU_IS_PA_RISC returns correct
  739          results, however.  */
  740       if (CPU_IS_PA_RISC (cpu))
  741         {
  742           switch (cpu)
  743         {
  744           case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
  745           case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
  746           case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
  747           default: puts ("hppa-hitachi-hiuxwe2"); break;
  748         }
  749         }
  750       else if (CPU_IS_HP_MC68K (cpu))
  751         puts ("m68k-hitachi-hiuxwe2");
  752       else puts ("unknown-hitachi-hiuxwe2");
  753       exit (0);
  754     }
  755 EOF
  756     $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
  757         { echo "$SYSTEM_NAME"; exit; }
  758     echo unknown-hitachi-hiuxwe2
  759     exit ;;
  760     9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
  761     echo hppa1.1-hp-bsd
  762     exit ;;
  763     9000/8??:4.3bsd:*:*)
  764     echo hppa1.0-hp-bsd
  765     exit ;;
  766     *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
  767     echo hppa1.0-hp-mpeix
  768     exit ;;
  769     hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
  770     echo hppa1.1-hp-osf
  771     exit ;;
  772     hp8??:OSF1:*:*)
  773     echo hppa1.0-hp-osf
  774     exit ;;
  775     i*86:OSF1:*:*)
  776     if [ -x /usr/sbin/sysversion ] ; then
  777         echo ${UNAME_MACHINE}-unknown-osf1mk
  778     else
  779         echo ${UNAME_MACHINE}-unknown-osf1
  780     fi
  781     exit ;;
  782     parisc*:Lites*:*:*)
  783     echo hppa1.1-hp-lites
  784     exit ;;
  785     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
  786     echo c1-convex-bsd
  787     exit ;;
  788     C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
  789     if getsysinfo -f scalar_acc
  790     then echo c32-convex-bsd
  791     else echo c2-convex-bsd
  792     fi
  793     exit ;;
  794     C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
  795     echo c34-convex-bsd
  796     exit ;;
  797     C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
  798     echo c38-convex-bsd
  799     exit ;;
  800     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
  801     echo c4-convex-bsd
  802     exit ;;
  803     CRAY*Y-MP:*:*:*)
  804     echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  805     exit ;;
  806     CRAY*[A-Z]90:*:*:*)
  807     echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
  808     | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
  809           -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
  810           -e 's/\.[^.]*$/.X/'
  811     exit ;;
  812     CRAY*TS:*:*:*)
  813     echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  814     exit ;;
  815     CRAY*T3E:*:*:*)
  816     echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  817     exit ;;
  818     CRAY*SV1:*:*:*)
  819     echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  820     exit ;;
  821     *:UNICOS/mp:*:*)
  822     echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  823     exit ;;
  824     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
  825     FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
  826     FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
  827     FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
  828     echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  829     exit ;;
  830     5000:UNIX_System_V:4.*:*)
  831     FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
  832     FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
  833     echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  834     exit ;;
  835     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
  836     echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
  837     exit ;;
  838     sparc*:BSD/OS:*:*)
  839     echo sparc-unknown-bsdi${UNAME_RELEASE}
  840     exit ;;
  841     *:BSD/OS:*:*)
  842     echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
  843     exit ;;
  844     *:FreeBSD:*:*)
  845     UNAME_PROCESSOR=`/usr/bin/uname -p`
  846     case ${UNAME_PROCESSOR} in
  847         amd64)
  848         UNAME_PROCESSOR=x86_64 ;;
  849         i386)
  850         UNAME_PROCESSOR=i586 ;;
  851     esac
  852     echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
  853     exit ;;
  854     i*:CYGWIN*:*)
  855     echo ${UNAME_MACHINE}-pc-cygwin
  856     exit ;;
  857     *:MINGW64*:*)
  858     echo ${UNAME_MACHINE}-pc-mingw64
  859     exit ;;
  860     *:MINGW*:*)
  861     echo ${UNAME_MACHINE}-pc-mingw32
  862     exit ;;
  863     *:MSYS*:*)
  864     echo ${UNAME_MACHINE}-pc-msys
  865     exit ;;
  866     i*:windows32*:*)
  867     # uname -m includes "-pc" on this system.
  868     echo ${UNAME_MACHINE}-mingw32
  869     exit ;;
  870     i*:PW*:*)
  871     echo ${UNAME_MACHINE}-pc-pw32
  872     exit ;;
  873     *:Interix*:*)
  874     case ${UNAME_MACHINE} in
  875         x86)
  876         echo i586-pc-interix${UNAME_RELEASE}
  877         exit ;;
  878         authenticamd | genuineintel | EM64T)
  879         echo x86_64-unknown-interix${UNAME_RELEASE}
  880         exit ;;
  881         IA64)
  882         echo ia64-unknown-interix${UNAME_RELEASE}
  883         exit ;;
  884     esac ;;
  885     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
  886     echo i${UNAME_MACHINE}-pc-mks
  887     exit ;;
  888     8664:Windows_NT:*)
  889     echo x86_64-pc-mks
  890     exit ;;
  891     i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
  892     # How do we know it's Interix rather than the generic POSIX subsystem?
  893     # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
  894     # UNAME_MACHINE based on the output of uname instead of i386?
  895     echo i586-pc-interix
  896     exit ;;
  897     i*:UWIN*:*)
  898     echo ${UNAME_MACHINE}-pc-uwin
  899     exit ;;
  900     amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
  901     echo x86_64-unknown-cygwin
  902     exit ;;
  903     p*:CYGWIN*:*)
  904     echo powerpcle-unknown-cygwin
  905     exit ;;
  906     prep*:SunOS:5.*:*)
  907     echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  908     exit ;;
  909     *:GNU:*:*)
  910     # the GNU system
  911     echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
  912     exit ;;
  913     *:GNU/*:*:*)
  914     # other systems with GNU libc and userland
  915     echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
  916     exit ;;
  917     i*86:Minix:*:*)
  918     echo ${UNAME_MACHINE}-pc-minix
  919     exit ;;
  920     aarch64:Linux:*:*)
  921     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  922     exit ;;
  923     aarch64_be:Linux:*:*)
  924     UNAME_MACHINE=aarch64_be
  925     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  926     exit ;;
  927     alpha:Linux:*:*)
  928     case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
  929       EV5)   UNAME_MACHINE=alphaev5 ;;
  930       EV56)  UNAME_MACHINE=alphaev56 ;;
  931       PCA56) UNAME_MACHINE=alphapca56 ;;
  932       PCA57) UNAME_MACHINE=alphapca56 ;;
  933       EV6)   UNAME_MACHINE=alphaev6 ;;
  934       EV67)  UNAME_MACHINE=alphaev67 ;;
  935       EV68*) UNAME_MACHINE=alphaev68 ;;
  936     esac
  937     objdump --private-headers /bin/sh | grep -q ld.so.1
  938     if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
  939     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  940     exit ;;
  941     arc:Linux:*:* | arceb:Linux:*:*)
  942     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  943     exit ;;
  944     arm*:Linux:*:*)
  945     eval $set_cc_for_build
  946     if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
  947         | grep -q __ARM_EABI__
  948     then
  949         echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  950     else
  951         if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
  952         | grep -q __ARM_PCS_VFP
  953         then
  954         echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
  955         else
  956         echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
  957         fi
  958     fi
  959     exit ;;
  960     avr32*:Linux:*:*)
  961     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  962     exit ;;
  963     cris:Linux:*:*)
  964     echo ${UNAME_MACHINE}-axis-linux-${LIBC}
  965     exit ;;
  966     crisv32:Linux:*:*)
  967     echo ${UNAME_MACHINE}-axis-linux-${LIBC}
  968     exit ;;
  969     e2k:Linux:*:*)
  970     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  971     exit ;;
  972     frv:Linux:*:*)
  973     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  974     exit ;;
  975     hexagon:Linux:*:*)
  976     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  977     exit ;;
  978     i*86:Linux:*:*)
  979     echo ${UNAME_MACHINE}-pc-linux-${LIBC}
  980     exit ;;
  981     ia64:Linux:*:*)
  982     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  983     exit ;;
  984     k1om:Linux:*:*)
  985     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  986     exit ;;
  987     m32r*:Linux:*:*)
  988     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  989     exit ;;
  990     m68*:Linux:*:*)
  991     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  992     exit ;;
  993     mips:Linux:*:* | mips64:Linux:*:*)
  994     eval $set_cc_for_build
  995     sed 's/^    //' << EOF >$dummy.c
  996     #undef CPU
  997     #undef ${UNAME_MACHINE}
  998     #undef ${UNAME_MACHINE}el
  999     #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
 1000     CPU=${UNAME_MACHINE}el
 1001     #else
 1002     #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
 1003     CPU=${UNAME_MACHINE}
 1004     #else
 1005     CPU=
 1006     #endif
 1007     #endif
 1008 EOF
 1009     eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
 1010     test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
 1011     ;;
 1012     mips64el:Linux:*:*)
 1013     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 1014     exit ;;
 1015     openrisc*:Linux:*:*)
 1016     echo or1k-unknown-linux-${LIBC}
 1017     exit ;;
 1018     or32:Linux:*:* | or1k*:Linux:*:*)
 1019     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 1020     exit ;;
 1021     padre:Linux:*:*)
 1022     echo sparc-unknown-linux-${LIBC}
 1023     exit ;;
 1024     parisc64:Linux:*:* | hppa64:Linux:*:*)
 1025     echo hppa64-unknown-linux-${LIBC}
 1026     exit ;;
 1027     parisc:Linux:*:* | hppa:Linux:*:*)
 1028     # Look for CPU level
 1029     case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
 1030       PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
 1031       PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
 1032       *)    echo hppa-unknown-linux-${LIBC} ;;
 1033     esac
 1034     exit ;;
 1035     ppc64:Linux:*:*)
 1036     echo powerpc64-unknown-linux-${LIBC}
 1037     exit ;;
 1038     ppc:Linux:*:*)
 1039     echo powerpc-unknown-linux-${LIBC}
 1040     exit ;;
 1041     ppc64le:Linux:*:*)
 1042     echo powerpc64le-unknown-linux-${LIBC}
 1043     exit ;;
 1044     ppcle:Linux:*:*)
 1045     echo powerpcle-unknown-linux-${LIBC}
 1046     exit ;;
 1047     riscv32:Linux:*:* | riscv64:Linux:*:*)
 1048     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 1049     exit ;;
 1050     s390:Linux:*:* | s390x:Linux:*:*)
 1051     echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
 1052     exit ;;
 1053     sh64*:Linux:*:*)
 1054     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 1055     exit ;;
 1056     sh*:Linux:*:*)
 1057     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 1058     exit ;;
 1059     sparc:Linux:*:* | sparc64:Linux:*:*)
 1060     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 1061     exit ;;
 1062     tile*:Linux:*:*)
 1063     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 1064     exit ;;
 1065     vax:Linux:*:*)
 1066     echo ${UNAME_MACHINE}-dec-linux-${LIBC}
 1067     exit ;;
 1068     x86_64:Linux:*:*)
 1069     echo ${UNAME_MACHINE}-pc-linux-${LIBC}
 1070     exit ;;
 1071     xtensa*:Linux:*:*)
 1072     echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 1073     exit ;;
 1074     i*86:DYNIX/ptx:4*:*)
 1075     # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
 1076     # earlier versions are messed up and put the nodename in both
 1077     # sysname and nodename.
 1078     echo i386-sequent-sysv4
 1079     exit ;;
 1080     i*86:UNIX_SV:4.2MP:2.*)
 1081     # Unixware is an offshoot of SVR4, but it has its own version
 1082     # number series starting with 2...
 1083     # I am not positive that other SVR4 systems won't match this,
 1084     # I just have to hope.  -- rms.
 1085     # Use sysv4.2uw... so that sysv4* matches it.
 1086     echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
 1087     exit ;;
 1088     i*86:OS/2:*:*)
 1089     # If we were able to find `uname', then EMX Unix compatibility
 1090     # is probably installed.
 1091     echo ${UNAME_MACHINE}-pc-os2-emx
 1092     exit ;;
 1093     i*86:XTS-300:*:STOP)
 1094     echo ${UNAME_MACHINE}-unknown-stop
 1095     exit ;;
 1096     i*86:atheos:*:*)
 1097     echo ${UNAME_MACHINE}-unknown-atheos
 1098     exit ;;
 1099     i*86:syllable:*:*)
 1100     echo ${UNAME_MACHINE}-pc-syllable
 1101     exit ;;
 1102     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
 1103     echo i386-unknown-lynxos${UNAME_RELEASE}
 1104     exit ;;
 1105     i*86:*DOS:*:*)
 1106     echo ${UNAME_MACHINE}-pc-msdosdjgpp
 1107     exit ;;
 1108     i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
 1109     UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
 1110     if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
 1111         echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
 1112     else
 1113         echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
 1114     fi
 1115     exit ;;
 1116     i*86:*:5:[678]*)
 1117     # UnixWare 7.x, OpenUNIX and OpenServer 6.
 1118     case `/bin/uname -X | grep "^Machine"` in
 1119         *486*)       UNAME_MACHINE=i486 ;;
 1120         *Pentium)        UNAME_MACHINE=i586 ;;
 1121         *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
 1122     esac
 1123     echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
 1124     exit ;;
 1125     i*86:*:3.2:*)
 1126     if test -f /usr/options/cb.name; then
 1127         UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
 1128         echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
 1129     elif /bin/uname -X 2>/dev/null >/dev/null ; then
 1130         UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
 1131         (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
 1132         (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
 1133             && UNAME_MACHINE=i586
 1134         (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
 1135             && UNAME_MACHINE=i686
 1136         (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
 1137             && UNAME_MACHINE=i686
 1138         echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
 1139     else
 1140         echo ${UNAME_MACHINE}-pc-sysv32
 1141     fi
 1142     exit ;;
 1143     pc:*:*:*)
 1144     # Left here for compatibility:
 1145     # uname -m prints for DJGPP always 'pc', but it prints nothing about
 1146     # the processor, so we play safe by assuming i586.
 1147     # Note: whatever this is, it MUST be the same as what config.sub
 1148     # prints for the "djgpp" host, or else GDB configure will decide that
 1149     # this is a cross-build.
 1150     echo i586-pc-msdosdjgpp
 1151     exit ;;
 1152     Intel:Mach:3*:*)
 1153     echo i386-pc-mach3
 1154     exit ;;
 1155     paragon:*:*:*)
 1156     echo i860-intel-osf1
 1157     exit ;;
 1158     i860:*:4.*:*) # i860-SVR4
 1159     if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
 1160       echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
 1161     else # Add other i860-SVR4 vendors below as they are discovered.
 1162       echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
 1163     fi
 1164     exit ;;
 1165     mini*:CTIX:SYS*5:*)
 1166     # "miniframe"
 1167     echo m68010-convergent-sysv
 1168     exit ;;
 1169     mc68k:UNIX:SYSTEM5:3.51m)
 1170     echo m68k-convergent-sysv
 1171     exit ;;
 1172     M680?0:D-NIX:5.3:*)
 1173     echo m68k-diab-dnix
 1174     exit ;;
 1175     M68*:*:R3V[5678]*:*)
 1176     test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
 1177     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)
 1178     OS_REL=''
 1179     test -r /etc/.relid \
 1180     && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
 1181     /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 1182       && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
 1183     /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
 1184       && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
 1185     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
 1186     /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 1187       && { echo i486-ncr-sysv4; exit; } ;;
 1188     NCR*:*:4.2:* | MPRAS*:*:4.2:*)
 1189     OS_REL='.3'
 1190     test -r /etc/.relid \
 1191         && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
 1192     /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 1193         && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
 1194     /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
 1195         && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
 1196     /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
 1197         && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
 1198     m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
 1199     echo m68k-unknown-lynxos${UNAME_RELEASE}
 1200     exit ;;
 1201     mc68030:UNIX_System_V:4.*:*)
 1202     echo m68k-atari-sysv4
 1203     exit ;;
 1204     TSUNAMI:LynxOS:2.*:*)
 1205     echo sparc-unknown-lynxos${UNAME_RELEASE}
 1206     exit ;;
 1207     rs6000:LynxOS:2.*:*)
 1208     echo rs6000-unknown-lynxos${UNAME_RELEASE}
 1209     exit ;;
 1210     PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
 1211     echo powerpc-unknown-lynxos${UNAME_RELEASE}
 1212     exit ;;
 1213     SM[BE]S:UNIX_SV:*:*)
 1214     echo mips-dde-sysv${UNAME_RELEASE}
 1215     exit ;;
 1216     RM*:ReliantUNIX-*:*:*)
 1217     echo mips-sni-sysv4
 1218     exit ;;
 1219     RM*:SINIX-*:*:*)
 1220     echo mips-sni-sysv4
 1221     exit ;;
 1222     *:SINIX-*:*:*)
 1223     if uname -p 2>/dev/null >/dev/null ; then
 1224         UNAME_MACHINE=`(uname -p) 2>/dev/null`
 1225         echo ${UNAME_MACHINE}-sni-sysv4
 1226     else
 1227         echo ns32k-sni-sysv
 1228     fi
 1229     exit ;;
 1230     PENTIUM:*:4.0*:*)   # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
 1231             # says <Richard.M.Bartel@ccMail.Census.GOV>
 1232     echo i586-unisys-sysv4
 1233     exit ;;
 1234     *:UNIX_System_V:4*:FTX*)
 1235     # From Gerald Hewes <hewes@openmarket.com>.
 1236     # How about differentiating between stratus architectures? -djm
 1237     echo hppa1.1-stratus-sysv4
 1238     exit ;;
 1239     *:*:*:FTX*)
 1240     # From seanf@swdc.stratus.com.
 1241     echo i860-stratus-sysv4
 1242     exit ;;
 1243     i*86:VOS:*:*)
 1244     # From Paul.Green@stratus.com.
 1245     echo ${UNAME_MACHINE}-stratus-vos
 1246     exit ;;
 1247     *:VOS:*:*)
 1248     # From Paul.Green@stratus.com.
 1249     echo hppa1.1-stratus-vos
 1250     exit ;;
 1251     mc68*:A/UX:*:*)
 1252     echo m68k-apple-aux${UNAME_RELEASE}
 1253     exit ;;
 1254     news*:NEWS-OS:6*:*)
 1255     echo mips-sony-newsos6
 1256     exit ;;
 1257     R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
 1258     if [ -d /usr/nec ]; then
 1259         echo mips-nec-sysv${UNAME_RELEASE}
 1260     else
 1261         echo mips-unknown-sysv${UNAME_RELEASE}
 1262     fi
 1263     exit ;;
 1264     BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
 1265     echo powerpc-be-beos
 1266     exit ;;
 1267     BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
 1268     echo powerpc-apple-beos
 1269     exit ;;
 1270     BePC:BeOS:*:*)  # BeOS running on Intel PC compatible.
 1271     echo i586-pc-beos
 1272     exit ;;
 1273     BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
 1274     echo i586-pc-haiku
 1275     exit ;;
 1276     x86_64:Haiku:*:*)
 1277     echo x86_64-unknown-haiku
 1278     exit ;;
 1279     SX-4:SUPER-UX:*:*)
 1280     echo sx4-nec-superux${UNAME_RELEASE}
 1281     exit ;;
 1282     SX-5:SUPER-UX:*:*)
 1283     echo sx5-nec-superux${UNAME_RELEASE}
 1284     exit ;;
 1285     SX-6:SUPER-UX:*:*)
 1286     echo sx6-nec-superux${UNAME_RELEASE}
 1287     exit ;;
 1288     SX-7:SUPER-UX:*:*)
 1289     echo sx7-nec-superux${UNAME_RELEASE}
 1290     exit ;;
 1291     SX-8:SUPER-UX:*:*)
 1292     echo sx8-nec-superux${UNAME_RELEASE}
 1293     exit ;;
 1294     SX-8R:SUPER-UX:*:*)
 1295     echo sx8r-nec-superux${UNAME_RELEASE}
 1296     exit ;;
 1297     SX-ACE:SUPER-UX:*:*)
 1298     echo sxace-nec-superux${UNAME_RELEASE}
 1299     exit ;;
 1300     Power*:Rhapsody:*:*)
 1301     echo powerpc-apple-rhapsody${UNAME_RELEASE}
 1302     exit ;;
 1303     *:Rhapsody:*:*)
 1304     echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
 1305     exit ;;
 1306     *:Darwin:*:*)
 1307     UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
 1308     eval $set_cc_for_build
 1309     if test "$UNAME_PROCESSOR" = unknown ; then
 1310         UNAME_PROCESSOR=powerpc
 1311     fi
 1312     if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
 1313         if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
 1314         if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
 1315                (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
 1316                grep IS_64BIT_ARCH >/dev/null
 1317         then
 1318             case $UNAME_PROCESSOR in
 1319             i386) UNAME_PROCESSOR=x86_64 ;;
 1320             powerpc) UNAME_PROCESSOR=powerpc64 ;;
 1321             esac
 1322         fi
 1323         # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
 1324         if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
 1325                (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
 1326                grep IS_PPC >/dev/null
 1327         then
 1328             UNAME_PROCESSOR=powerpc
 1329         fi
 1330         fi
 1331     elif test "$UNAME_PROCESSOR" = i386 ; then
 1332         # Avoid executing cc on OS X 10.9, as it ships with a stub
 1333         # that puts up a graphical alert prompting to install
 1334         # developer tools.  Any system running Mac OS X 10.7 or
 1335         # later (Darwin 11 and later) is required to have a 64-bit
 1336         # processor. This is not true of the ARM version of Darwin
 1337         # that Apple uses in portable devices.
 1338         UNAME_PROCESSOR=x86_64
 1339     fi
 1340     echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
 1341     exit ;;
 1342     *:procnto*:*:* | *:QNX:[0123456789]*:*)
 1343     UNAME_PROCESSOR=`uname -p`
 1344     if test "$UNAME_PROCESSOR" = x86; then
 1345         UNAME_PROCESSOR=i386
 1346         UNAME_MACHINE=pc
 1347     fi
 1348     echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
 1349     exit ;;
 1350     *:QNX:*:4*)
 1351     echo i386-pc-qnx
 1352     exit ;;
 1353     NEO-*:NONSTOP_KERNEL:*:*)
 1354     echo neo-tandem-nsk${UNAME_RELEASE}
 1355     exit ;;
 1356     NSE-*:NONSTOP_KERNEL:*:*)
 1357     echo nse-tandem-nsk${UNAME_RELEASE}
 1358     exit ;;
 1359     NSR-*:NONSTOP_KERNEL:*:*)
 1360     echo nsr-tandem-nsk${UNAME_RELEASE}
 1361     exit ;;
 1362     NSX-*:NONSTOP_KERNEL:*:*)
 1363     echo nsx-tandem-nsk${UNAME_RELEASE}
 1364     exit ;;
 1365     *:NonStop-UX:*:*)
 1366     echo mips-compaq-nonstopux
 1367     exit ;;
 1368     BS2000:POSIX*:*:*)
 1369     echo bs2000-siemens-sysv
 1370     exit ;;
 1371     DS/*:UNIX_System_V:*:*)
 1372     echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
 1373     exit ;;
 1374     *:Plan9:*:*)
 1375     # "uname -m" is not consistent, so use $cputype instead. 386
 1376     # is converted to i386 for consistency with other x86
 1377     # operating systems.
 1378     if test "$cputype" = 386; then
 1379         UNAME_MACHINE=i386
 1380     else
 1381         UNAME_MACHINE="$cputype"
 1382     fi
 1383     echo ${UNAME_MACHINE}-unknown-plan9
 1384     exit ;;
 1385     *:TOPS-10:*:*)
 1386     echo pdp10-unknown-tops10
 1387     exit ;;
 1388     *:TENEX:*:*)
 1389     echo pdp10-unknown-tenex
 1390     exit ;;
 1391     KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
 1392     echo pdp10-dec-tops20
 1393     exit ;;
 1394     XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
 1395     echo pdp10-xkl-tops20
 1396     exit ;;
 1397     *:TOPS-20:*:*)
 1398     echo pdp10-unknown-tops20
 1399     exit ;;
 1400     *:ITS:*:*)
 1401     echo pdp10-unknown-its
 1402     exit ;;
 1403     SEI:*:*:SEIUX)
 1404     echo mips-sei-seiux${UNAME_RELEASE}
 1405     exit ;;
 1406     *:DragonFly:*:*)
 1407     echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 1408     exit ;;
 1409     *:*VMS:*:*)
 1410     UNAME_MACHINE=`(uname -p) 2>/dev/null`
 1411     case "${UNAME_MACHINE}" in
 1412         A*) echo alpha-dec-vms ; exit ;;
 1413         I*) echo ia64-dec-vms ; exit ;;
 1414         V*) echo vax-dec-vms ; exit ;;
 1415     esac ;;
 1416     *:XENIX:*:SysV)
 1417     echo i386-pc-xenix
 1418     exit ;;
 1419     i*86:skyos:*:*)
 1420     echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'`
 1421     exit ;;
 1422     i*86:rdos:*:*)
 1423     echo ${UNAME_MACHINE}-pc-rdos
 1424     exit ;;
 1425     i*86:AROS:*:*)
 1426     echo ${UNAME_MACHINE}-pc-aros
 1427     exit ;;
 1428     x86_64:VMkernel:*:*)
 1429     echo ${UNAME_MACHINE}-unknown-esx
 1430     exit ;;
 1431     amd64:Isilon\ OneFS:*:*)
 1432     echo x86_64-unknown-onefs
 1433     exit ;;
 1434 esac
 1435 
 1436 cat >&2 <<EOF
 1437 $0: unable to guess system type
 1438 
 1439 This script (version $timestamp), has failed to recognize the
 1440 operating system you are using. If your script is old, overwrite *all*
 1441 copies of config.guess and config.sub with the latest versions from:
 1442 
 1443   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
 1444 and
 1445   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
 1446 
 1447 If $0 has already been updated, send the following data and any
 1448 information you think might be pertinent to config-patches@gnu.org to
 1449 provide the necessary information to handle your system.
 1450 
 1451 config.guess timestamp = $timestamp
 1452 
 1453 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1454 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1455 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1456 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1457 
 1458 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
 1459 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
 1460 
 1461 hostinfo               = `(hostinfo) 2>/dev/null`
 1462 /bin/universe          = `(/bin/universe) 2>/dev/null`
 1463 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
 1464 /bin/arch              = `(/bin/arch) 2>/dev/null`
 1465 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
 1466 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
 1467 
 1468 UNAME_MACHINE = ${UNAME_MACHINE}
 1469 UNAME_RELEASE = ${UNAME_RELEASE}
 1470 UNAME_SYSTEM  = ${UNAME_SYSTEM}
 1471 UNAME_VERSION = ${UNAME_VERSION}
 1472 EOF
 1473 
 1474 exit 1
 1475 
 1476 # Local variables:
 1477 # eval: (add-hook 'write-file-hooks 'time-stamp)
 1478 # time-stamp-start: "timestamp='"
 1479 # time-stamp-format: "%:y-%02m-%02d"
 1480 # time-stamp-end: "'"
 1481 # End: