1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/build/autoconf/config.guess Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,1420 @@ 1.4 +#! /bin/sh 1.5 +# Attempt to guess a canonical system name. 1.6 +# Copyright 1992-2014 Free Software Foundation, Inc. 1.7 + 1.8 +timestamp='2014-02-12' 1.9 + 1.10 +# This file is free software; you can redistribute it and/or modify it 1.11 +# under the terms of the GNU General Public License as published by 1.12 +# the Free Software Foundation; either version 3 of the License, or 1.13 +# (at your option) any later version. 1.14 +# 1.15 +# This program is distributed in the hope that it will be useful, but 1.16 +# WITHOUT ANY WARRANTY; without even the implied warranty of 1.17 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1.18 +# General Public License for more details. 1.19 +# 1.20 +# You should have received a copy of the GNU General Public License 1.21 +# along with this program; if not, see <http://www.gnu.org/licenses/>. 1.22 +# 1.23 +# As a special exception to the GNU General Public License, if you 1.24 +# distribute this file as part of a program that contains a 1.25 +# configuration script generated by Autoconf, you may include it under 1.26 +# the same distribution terms that you use for the rest of that 1.27 +# program. This Exception is an additional permission under section 7 1.28 +# of the GNU General Public License, version 3 ("GPLv3"). 1.29 +# 1.30 +# Originally written by Per Bothner. 1.31 +# 1.32 +# You can get the latest version of this script from: 1.33 +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD 1.34 +# 1.35 +# Please send patches with a ChangeLog entry to config-patches@gnu.org. 1.36 + 1.37 + 1.38 +me=`echo "$0" | sed -e 's,.*/,,'` 1.39 + 1.40 +usage="\ 1.41 +Usage: $0 [OPTION] 1.42 + 1.43 +Output the configuration name of the system \`$me' is run on. 1.44 + 1.45 +Operation modes: 1.46 + -h, --help print this help, then exit 1.47 + -t, --time-stamp print date of last modification, then exit 1.48 + -v, --version print version number, then exit 1.49 + 1.50 +Report bugs and patches to <config-patches@gnu.org>." 1.51 + 1.52 +version="\ 1.53 +GNU config.guess ($timestamp) 1.54 + 1.55 +Originally written by Per Bothner. 1.56 +Copyright 1992-2014 Free Software Foundation, Inc. 1.57 + 1.58 +This is free software; see the source for copying conditions. There is NO 1.59 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 1.60 + 1.61 +help=" 1.62 +Try \`$me --help' for more information." 1.63 + 1.64 +# Parse command line 1.65 +while test $# -gt 0 ; do 1.66 + case $1 in 1.67 + --time-stamp | --time* | -t ) 1.68 + echo "$timestamp" ; exit ;; 1.69 + --version | -v ) 1.70 + echo "$version" ; exit ;; 1.71 + --help | --h* | -h ) 1.72 + echo "$usage"; exit ;; 1.73 + -- ) # Stop option processing 1.74 + shift; break ;; 1.75 + - ) # Use stdin as input. 1.76 + break ;; 1.77 + -* ) 1.78 + echo "$me: invalid option $1$help" >&2 1.79 + exit 1 ;; 1.80 + * ) 1.81 + break ;; 1.82 + esac 1.83 +done 1.84 + 1.85 +if test $# != 0; then 1.86 + echo "$me: too many arguments$help" >&2 1.87 + exit 1 1.88 +fi 1.89 + 1.90 +trap 'exit 1' 1 2 15 1.91 + 1.92 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a 1.93 +# compiler to aid in system detection is discouraged as it requires 1.94 +# temporary files to be created and, as you can see below, it is a 1.95 +# headache to deal with in a portable fashion. 1.96 + 1.97 +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still 1.98 +# use `HOST_CC' if defined, but it is deprecated. 1.99 + 1.100 +# Portable tmp directory creation inspired by the Autoconf team. 1.101 + 1.102 +set_cc_for_build=' 1.103 +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; 1.104 +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; 1.105 +: ${TMPDIR=/tmp} ; 1.106 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || 1.107 + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || 1.108 + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || 1.109 + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; 1.110 +dummy=$tmp/dummy ; 1.111 +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; 1.112 +case $CC_FOR_BUILD,$HOST_CC,$CC in 1.113 + ,,) echo "int x;" > $dummy.c ; 1.114 + for c in cc gcc c89 c99 ; do 1.115 + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then 1.116 + CC_FOR_BUILD="$c"; break ; 1.117 + fi ; 1.118 + done ; 1.119 + if test x"$CC_FOR_BUILD" = x ; then 1.120 + CC_FOR_BUILD=no_compiler_found ; 1.121 + fi 1.122 + ;; 1.123 + ,,*) CC_FOR_BUILD=$CC ;; 1.124 + ,*,*) CC_FOR_BUILD=$HOST_CC ;; 1.125 +esac ; set_cc_for_build= ;' 1.126 + 1.127 +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. 1.128 +# (ghazi@noc.rutgers.edu 1994-08-24) 1.129 +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then 1.130 + PATH=$PATH:/.attbin ; export PATH 1.131 +fi 1.132 + 1.133 +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown 1.134 +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown 1.135 +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown 1.136 +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown 1.137 + 1.138 +case "${UNAME_SYSTEM}" in 1.139 +Linux|GNU|GNU/*) 1.140 + # If the system lacks a compiler, then just pick glibc. 1.141 + # We could probably try harder. 1.142 + LIBC=gnu 1.143 + 1.144 + eval $set_cc_for_build 1.145 + cat <<-EOF > $dummy.c 1.146 + #include <features.h> 1.147 + #if defined(__UCLIBC__) 1.148 + LIBC=uclibc 1.149 + #elif defined(__dietlibc__) 1.150 + LIBC=dietlibc 1.151 + #else 1.152 + LIBC=gnu 1.153 + #endif 1.154 + EOF 1.155 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` 1.156 + ;; 1.157 +esac 1.158 + 1.159 +# Note: order is significant - the case branches are not exclusive. 1.160 + 1.161 +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in 1.162 + *:NetBSD:*:*) 1.163 + # NetBSD (nbsd) targets should (where applicable) match one or 1.164 + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, 1.165 + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently 1.166 + # switched to ELF, *-*-netbsd* would select the old 1.167 + # object file format. This provides both forward 1.168 + # compatibility and a consistent mechanism for selecting the 1.169 + # object file format. 1.170 + # 1.171 + # Note: NetBSD doesn't particularly care about the vendor 1.172 + # portion of the name. We always set it to "unknown". 1.173 + sysctl="sysctl -n hw.machine_arch" 1.174 + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ 1.175 + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` 1.176 + case "${UNAME_MACHINE_ARCH}" in 1.177 + armeb) machine=armeb-unknown ;; 1.178 + arm*) machine=arm-unknown ;; 1.179 + sh3el) machine=shl-unknown ;; 1.180 + sh3eb) machine=sh-unknown ;; 1.181 + sh5el) machine=sh5le-unknown ;; 1.182 + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; 1.183 + esac 1.184 + # The Operating System including object format, if it has switched 1.185 + # to ELF recently, or will in the future. 1.186 + case "${UNAME_MACHINE_ARCH}" in 1.187 + arm*|i386|m68k|ns32k|sh3*|sparc|vax) 1.188 + eval $set_cc_for_build 1.189 + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ 1.190 + | grep -q __ELF__ 1.191 + then 1.192 + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). 1.193 + # Return netbsd for either. FIX? 1.194 + os=netbsd 1.195 + else 1.196 + os=netbsdelf 1.197 + fi 1.198 + ;; 1.199 + *) 1.200 + os=netbsd 1.201 + ;; 1.202 + esac 1.203 + # The OS release 1.204 + # Debian GNU/NetBSD machines have a different userland, and 1.205 + # thus, need a distinct triplet. However, they do not need 1.206 + # kernel version information, so it can be replaced with a 1.207 + # suitable tag, in the style of linux-gnu. 1.208 + case "${UNAME_VERSION}" in 1.209 + Debian*) 1.210 + release='-gnu' 1.211 + ;; 1.212 + *) 1.213 + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` 1.214 + ;; 1.215 + esac 1.216 + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: 1.217 + # contains redundant information, the shorter form: 1.218 + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. 1.219 + echo "${machine}-${os}${release}" 1.220 + exit ;; 1.221 + *:Bitrig:*:*) 1.222 + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` 1.223 + echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} 1.224 + exit ;; 1.225 + *:OpenBSD:*:*) 1.226 + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` 1.227 + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} 1.228 + exit ;; 1.229 + *:ekkoBSD:*:*) 1.230 + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} 1.231 + exit ;; 1.232 + *:SolidBSD:*:*) 1.233 + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} 1.234 + exit ;; 1.235 + macppc:MirBSD:*:*) 1.236 + echo powerpc-unknown-mirbsd${UNAME_RELEASE} 1.237 + exit ;; 1.238 + *:MirBSD:*:*) 1.239 + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} 1.240 + exit ;; 1.241 + alpha:OSF1:*:*) 1.242 + case $UNAME_RELEASE in 1.243 + *4.0) 1.244 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` 1.245 + ;; 1.246 + *5.*) 1.247 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` 1.248 + ;; 1.249 + esac 1.250 + # According to Compaq, /usr/sbin/psrinfo has been available on 1.251 + # OSF/1 and Tru64 systems produced since 1995. I hope that 1.252 + # covers most systems running today. This code pipes the CPU 1.253 + # types through head -n 1, so we only detect the type of CPU 0. 1.254 + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` 1.255 + case "$ALPHA_CPU_TYPE" in 1.256 + "EV4 (21064)") 1.257 + UNAME_MACHINE="alpha" ;; 1.258 + "EV4.5 (21064)") 1.259 + UNAME_MACHINE="alpha" ;; 1.260 + "LCA4 (21066/21068)") 1.261 + UNAME_MACHINE="alpha" ;; 1.262 + "EV5 (21164)") 1.263 + UNAME_MACHINE="alphaev5" ;; 1.264 + "EV5.6 (21164A)") 1.265 + UNAME_MACHINE="alphaev56" ;; 1.266 + "EV5.6 (21164PC)") 1.267 + UNAME_MACHINE="alphapca56" ;; 1.268 + "EV5.7 (21164PC)") 1.269 + UNAME_MACHINE="alphapca57" ;; 1.270 + "EV6 (21264)") 1.271 + UNAME_MACHINE="alphaev6" ;; 1.272 + "EV6.7 (21264A)") 1.273 + UNAME_MACHINE="alphaev67" ;; 1.274 + "EV6.8CB (21264C)") 1.275 + UNAME_MACHINE="alphaev68" ;; 1.276 + "EV6.8AL (21264B)") 1.277 + UNAME_MACHINE="alphaev68" ;; 1.278 + "EV6.8CX (21264D)") 1.279 + UNAME_MACHINE="alphaev68" ;; 1.280 + "EV6.9A (21264/EV69A)") 1.281 + UNAME_MACHINE="alphaev69" ;; 1.282 + "EV7 (21364)") 1.283 + UNAME_MACHINE="alphaev7" ;; 1.284 + "EV7.9 (21364A)") 1.285 + UNAME_MACHINE="alphaev79" ;; 1.286 + esac 1.287 + # A Pn.n version is a patched version. 1.288 + # A Vn.n version is a released version. 1.289 + # A Tn.n version is a released field test version. 1.290 + # A Xn.n version is an unreleased experimental baselevel. 1.291 + # 1.2 uses "1.2" for uname -r. 1.292 + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 1.293 + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. 1.294 + exitcode=$? 1.295 + trap '' 0 1.296 + exit $exitcode ;; 1.297 + Alpha\ *:Windows_NT*:*) 1.298 + # How do we know it's Interix rather than the generic POSIX subsystem? 1.299 + # Should we change UNAME_MACHINE based on the output of uname instead 1.300 + # of the specific Alpha model? 1.301 + echo alpha-pc-interix 1.302 + exit ;; 1.303 + 21064:Windows_NT:50:3) 1.304 + echo alpha-dec-winnt3.5 1.305 + exit ;; 1.306 + Amiga*:UNIX_System_V:4.0:*) 1.307 + echo m68k-unknown-sysv4 1.308 + exit ;; 1.309 + *:[Aa]miga[Oo][Ss]:*:*) 1.310 + echo ${UNAME_MACHINE}-unknown-amigaos 1.311 + exit ;; 1.312 + *:[Mm]orph[Oo][Ss]:*:*) 1.313 + echo ${UNAME_MACHINE}-unknown-morphos 1.314 + exit ;; 1.315 + *:OS/390:*:*) 1.316 + echo i370-ibm-openedition 1.317 + exit ;; 1.318 + *:z/VM:*:*) 1.319 + echo s390-ibm-zvmoe 1.320 + exit ;; 1.321 + *:OS400:*:*) 1.322 + echo powerpc-ibm-os400 1.323 + exit ;; 1.324 + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) 1.325 + echo arm-acorn-riscix${UNAME_RELEASE} 1.326 + exit ;; 1.327 + arm*:riscos:*:*|arm*:RISCOS:*:*) 1.328 + echo arm-unknown-riscos 1.329 + exit ;; 1.330 + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) 1.331 + echo hppa1.1-hitachi-hiuxmpp 1.332 + exit ;; 1.333 + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) 1.334 + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. 1.335 + if test "`(/bin/universe) 2>/dev/null`" = att ; then 1.336 + echo pyramid-pyramid-sysv3 1.337 + else 1.338 + echo pyramid-pyramid-bsd 1.339 + fi 1.340 + exit ;; 1.341 + NILE*:*:*:dcosx) 1.342 + echo pyramid-pyramid-svr4 1.343 + exit ;; 1.344 + DRS?6000:unix:4.0:6*) 1.345 + echo sparc-icl-nx6 1.346 + exit ;; 1.347 + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) 1.348 + case `/usr/bin/uname -p` in 1.349 + sparc) echo sparc-icl-nx7; exit ;; 1.350 + esac ;; 1.351 + s390x:SunOS:*:*) 1.352 + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 1.353 + exit ;; 1.354 + sun4H:SunOS:5.*:*) 1.355 + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 1.356 + exit ;; 1.357 + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 1.358 + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 1.359 + exit ;; 1.360 + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) 1.361 + echo i386-pc-auroraux${UNAME_RELEASE} 1.362 + exit ;; 1.363 + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 1.364 + eval $set_cc_for_build 1.365 + SUN_ARCH="i386" 1.366 + # If there is a compiler, see if it is configured for 64-bit objects. 1.367 + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. 1.368 + # This test works for both compilers. 1.369 + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then 1.370 + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ 1.371 + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ 1.372 + grep IS_64BIT_ARCH >/dev/null 1.373 + then 1.374 + SUN_ARCH="x86_64" 1.375 + fi 1.376 + fi 1.377 + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 1.378 + exit ;; 1.379 + sun4*:SunOS:6*:*) 1.380 + # According to config.sub, this is the proper way to canonicalize 1.381 + # SunOS6. Hard to guess exactly what SunOS6 will be like, but 1.382 + # it's likely to be more like Solaris than SunOS4. 1.383 + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 1.384 + exit ;; 1.385 + sun4*:SunOS:*:*) 1.386 + case "`/usr/bin/arch -k`" in 1.387 + Series*|S4*) 1.388 + UNAME_RELEASE=`uname -v` 1.389 + ;; 1.390 + esac 1.391 + # Japanese Language versions have a version number like `4.1.3-JL'. 1.392 + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` 1.393 + exit ;; 1.394 + sun3*:SunOS:*:*) 1.395 + echo m68k-sun-sunos${UNAME_RELEASE} 1.396 + exit ;; 1.397 + sun*:*:4.2BSD:*) 1.398 + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` 1.399 + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 1.400 + case "`/bin/arch`" in 1.401 + sun3) 1.402 + echo m68k-sun-sunos${UNAME_RELEASE} 1.403 + ;; 1.404 + sun4) 1.405 + echo sparc-sun-sunos${UNAME_RELEASE} 1.406 + ;; 1.407 + esac 1.408 + exit ;; 1.409 + aushp:SunOS:*:*) 1.410 + echo sparc-auspex-sunos${UNAME_RELEASE} 1.411 + exit ;; 1.412 + # The situation for MiNT is a little confusing. The machine name 1.413 + # can be virtually everything (everything which is not 1.414 + # "atarist" or "atariste" at least should have a processor 1.415 + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" 1.416 + # to the lowercase version "mint" (or "freemint"). Finally 1.417 + # the system name "TOS" denotes a system which is actually not 1.418 + # MiNT. But MiNT is downward compatible to TOS, so this should 1.419 + # be no problem. 1.420 + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) 1.421 + echo m68k-atari-mint${UNAME_RELEASE} 1.422 + exit ;; 1.423 + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) 1.424 + echo m68k-atari-mint${UNAME_RELEASE} 1.425 + exit ;; 1.426 + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) 1.427 + echo m68k-atari-mint${UNAME_RELEASE} 1.428 + exit ;; 1.429 + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) 1.430 + echo m68k-milan-mint${UNAME_RELEASE} 1.431 + exit ;; 1.432 + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) 1.433 + echo m68k-hades-mint${UNAME_RELEASE} 1.434 + exit ;; 1.435 + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) 1.436 + echo m68k-unknown-mint${UNAME_RELEASE} 1.437 + exit ;; 1.438 + m68k:machten:*:*) 1.439 + echo m68k-apple-machten${UNAME_RELEASE} 1.440 + exit ;; 1.441 + powerpc:machten:*:*) 1.442 + echo powerpc-apple-machten${UNAME_RELEASE} 1.443 + exit ;; 1.444 + RISC*:Mach:*:*) 1.445 + echo mips-dec-mach_bsd4.3 1.446 + exit ;; 1.447 + RISC*:ULTRIX:*:*) 1.448 + echo mips-dec-ultrix${UNAME_RELEASE} 1.449 + exit ;; 1.450 + VAX*:ULTRIX*:*:*) 1.451 + echo vax-dec-ultrix${UNAME_RELEASE} 1.452 + exit ;; 1.453 + 2020:CLIX:*:* | 2430:CLIX:*:*) 1.454 + echo clipper-intergraph-clix${UNAME_RELEASE} 1.455 + exit ;; 1.456 + mips:*:*:UMIPS | mips:*:*:RISCos) 1.457 + eval $set_cc_for_build 1.458 + sed 's/^ //' << EOF >$dummy.c 1.459 +#ifdef __cplusplus 1.460 +#include <stdio.h> /* for printf() prototype */ 1.461 + int main (int argc, char *argv[]) { 1.462 +#else 1.463 + int main (argc, argv) int argc; char *argv[]; { 1.464 +#endif 1.465 + #if defined (host_mips) && defined (MIPSEB) 1.466 + #if defined (SYSTYPE_SYSV) 1.467 + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); 1.468 + #endif 1.469 + #if defined (SYSTYPE_SVR4) 1.470 + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); 1.471 + #endif 1.472 + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) 1.473 + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); 1.474 + #endif 1.475 + #endif 1.476 + exit (-1); 1.477 + } 1.478 +EOF 1.479 + $CC_FOR_BUILD -o $dummy $dummy.c && 1.480 + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && 1.481 + SYSTEM_NAME=`$dummy $dummyarg` && 1.482 + { echo "$SYSTEM_NAME"; exit; } 1.483 + echo mips-mips-riscos${UNAME_RELEASE} 1.484 + exit ;; 1.485 + Motorola:PowerMAX_OS:*:*) 1.486 + echo powerpc-motorola-powermax 1.487 + exit ;; 1.488 + Motorola:*:4.3:PL8-*) 1.489 + echo powerpc-harris-powermax 1.490 + exit ;; 1.491 + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) 1.492 + echo powerpc-harris-powermax 1.493 + exit ;; 1.494 + Night_Hawk:Power_UNIX:*:*) 1.495 + echo powerpc-harris-powerunix 1.496 + exit ;; 1.497 + m88k:CX/UX:7*:*) 1.498 + echo m88k-harris-cxux7 1.499 + exit ;; 1.500 + m88k:*:4*:R4*) 1.501 + echo m88k-motorola-sysv4 1.502 + exit ;; 1.503 + m88k:*:3*:R3*) 1.504 + echo m88k-motorola-sysv3 1.505 + exit ;; 1.506 + AViiON:dgux:*:*) 1.507 + # DG/UX returns AViiON for all architectures 1.508 + UNAME_PROCESSOR=`/usr/bin/uname -p` 1.509 + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] 1.510 + then 1.511 + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ 1.512 + [ ${TARGET_BINARY_INTERFACE}x = x ] 1.513 + then 1.514 + echo m88k-dg-dgux${UNAME_RELEASE} 1.515 + else 1.516 + echo m88k-dg-dguxbcs${UNAME_RELEASE} 1.517 + fi 1.518 + else 1.519 + echo i586-dg-dgux${UNAME_RELEASE} 1.520 + fi 1.521 + exit ;; 1.522 + M88*:DolphinOS:*:*) # DolphinOS (SVR3) 1.523 + echo m88k-dolphin-sysv3 1.524 + exit ;; 1.525 + M88*:*:R3*:*) 1.526 + # Delta 88k system running SVR3 1.527 + echo m88k-motorola-sysv3 1.528 + exit ;; 1.529 + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) 1.530 + echo m88k-tektronix-sysv3 1.531 + exit ;; 1.532 + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) 1.533 + echo m68k-tektronix-bsd 1.534 + exit ;; 1.535 + *:IRIX*:*:*) 1.536 + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` 1.537 + exit ;; 1.538 + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. 1.539 + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id 1.540 + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' 1.541 + i*86:AIX:*:*) 1.542 + echo i386-ibm-aix 1.543 + exit ;; 1.544 + ia64:AIX:*:*) 1.545 + if [ -x /usr/bin/oslevel ] ; then 1.546 + IBM_REV=`/usr/bin/oslevel` 1.547 + else 1.548 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} 1.549 + fi 1.550 + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} 1.551 + exit ;; 1.552 + *:AIX:2:3) 1.553 + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then 1.554 + eval $set_cc_for_build 1.555 + sed 's/^ //' << EOF >$dummy.c 1.556 + #include <sys/systemcfg.h> 1.557 + 1.558 + main() 1.559 + { 1.560 + if (!__power_pc()) 1.561 + exit(1); 1.562 + puts("powerpc-ibm-aix3.2.5"); 1.563 + exit(0); 1.564 + } 1.565 +EOF 1.566 + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` 1.567 + then 1.568 + echo "$SYSTEM_NAME" 1.569 + else 1.570 + echo rs6000-ibm-aix3.2.5 1.571 + fi 1.572 + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then 1.573 + echo rs6000-ibm-aix3.2.4 1.574 + else 1.575 + echo rs6000-ibm-aix3.2 1.576 + fi 1.577 + exit ;; 1.578 + *:AIX:*:[4567]) 1.579 + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` 1.580 + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then 1.581 + IBM_ARCH=rs6000 1.582 + else 1.583 + IBM_ARCH=powerpc 1.584 + fi 1.585 + if [ -x /usr/bin/oslevel ] ; then 1.586 + IBM_REV=`/usr/bin/oslevel` 1.587 + else 1.588 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} 1.589 + fi 1.590 + echo ${IBM_ARCH}-ibm-aix${IBM_REV} 1.591 + exit ;; 1.592 + *:AIX:*:*) 1.593 + echo rs6000-ibm-aix 1.594 + exit ;; 1.595 + ibmrt:4.4BSD:*|romp-ibm:BSD:*) 1.596 + echo romp-ibm-bsd4.4 1.597 + exit ;; 1.598 + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and 1.599 + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to 1.600 + exit ;; # report: romp-ibm BSD 4.3 1.601 + *:BOSX:*:*) 1.602 + echo rs6000-bull-bosx 1.603 + exit ;; 1.604 + DPX/2?00:B.O.S.:*:*) 1.605 + echo m68k-bull-sysv3 1.606 + exit ;; 1.607 + 9000/[34]??:4.3bsd:1.*:*) 1.608 + echo m68k-hp-bsd 1.609 + exit ;; 1.610 + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) 1.611 + echo m68k-hp-bsd4.4 1.612 + exit ;; 1.613 + 9000/[34678]??:HP-UX:*:*) 1.614 + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` 1.615 + case "${UNAME_MACHINE}" in 1.616 + 9000/31? ) HP_ARCH=m68000 ;; 1.617 + 9000/[34]?? ) HP_ARCH=m68k ;; 1.618 + 9000/[678][0-9][0-9]) 1.619 + if [ -x /usr/bin/getconf ]; then 1.620 + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` 1.621 + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` 1.622 + case "${sc_cpu_version}" in 1.623 + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 1.624 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 1.625 + 532) # CPU_PA_RISC2_0 1.626 + case "${sc_kernel_bits}" in 1.627 + 32) HP_ARCH="hppa2.0n" ;; 1.628 + 64) HP_ARCH="hppa2.0w" ;; 1.629 + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 1.630 + esac ;; 1.631 + esac 1.632 + fi 1.633 + if [ "${HP_ARCH}" = "" ]; then 1.634 + eval $set_cc_for_build 1.635 + sed 's/^ //' << EOF >$dummy.c 1.636 + 1.637 + #define _HPUX_SOURCE 1.638 + #include <stdlib.h> 1.639 + #include <unistd.h> 1.640 + 1.641 + int main () 1.642 + { 1.643 + #if defined(_SC_KERNEL_BITS) 1.644 + long bits = sysconf(_SC_KERNEL_BITS); 1.645 + #endif 1.646 + long cpu = sysconf (_SC_CPU_VERSION); 1.647 + 1.648 + switch (cpu) 1.649 + { 1.650 + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; 1.651 + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; 1.652 + case CPU_PA_RISC2_0: 1.653 + #if defined(_SC_KERNEL_BITS) 1.654 + switch (bits) 1.655 + { 1.656 + case 64: puts ("hppa2.0w"); break; 1.657 + case 32: puts ("hppa2.0n"); break; 1.658 + default: puts ("hppa2.0"); break; 1.659 + } break; 1.660 + #else /* !defined(_SC_KERNEL_BITS) */ 1.661 + puts ("hppa2.0"); break; 1.662 + #endif 1.663 + default: puts ("hppa1.0"); break; 1.664 + } 1.665 + exit (0); 1.666 + } 1.667 +EOF 1.668 + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` 1.669 + test -z "$HP_ARCH" && HP_ARCH=hppa 1.670 + fi ;; 1.671 + esac 1.672 + if [ ${HP_ARCH} = "hppa2.0w" ] 1.673 + then 1.674 + eval $set_cc_for_build 1.675 + 1.676 + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating 1.677 + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler 1.678 + # generating 64-bit code. GNU and HP use different nomenclature: 1.679 + # 1.680 + # $ CC_FOR_BUILD=cc ./config.guess 1.681 + # => hppa2.0w-hp-hpux11.23 1.682 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess 1.683 + # => hppa64-hp-hpux11.23 1.684 + 1.685 + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | 1.686 + grep -q __LP64__ 1.687 + then 1.688 + HP_ARCH="hppa2.0w" 1.689 + else 1.690 + HP_ARCH="hppa64" 1.691 + fi 1.692 + fi 1.693 + echo ${HP_ARCH}-hp-hpux${HPUX_REV} 1.694 + exit ;; 1.695 + ia64:HP-UX:*:*) 1.696 + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` 1.697 + echo ia64-hp-hpux${HPUX_REV} 1.698 + exit ;; 1.699 + 3050*:HI-UX:*:*) 1.700 + eval $set_cc_for_build 1.701 + sed 's/^ //' << EOF >$dummy.c 1.702 + #include <unistd.h> 1.703 + int 1.704 + main () 1.705 + { 1.706 + long cpu = sysconf (_SC_CPU_VERSION); 1.707 + /* The order matters, because CPU_IS_HP_MC68K erroneously returns 1.708 + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct 1.709 + results, however. */ 1.710 + if (CPU_IS_PA_RISC (cpu)) 1.711 + { 1.712 + switch (cpu) 1.713 + { 1.714 + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; 1.715 + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; 1.716 + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; 1.717 + default: puts ("hppa-hitachi-hiuxwe2"); break; 1.718 + } 1.719 + } 1.720 + else if (CPU_IS_HP_MC68K (cpu)) 1.721 + puts ("m68k-hitachi-hiuxwe2"); 1.722 + else puts ("unknown-hitachi-hiuxwe2"); 1.723 + exit (0); 1.724 + } 1.725 +EOF 1.726 + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && 1.727 + { echo "$SYSTEM_NAME"; exit; } 1.728 + echo unknown-hitachi-hiuxwe2 1.729 + exit ;; 1.730 + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) 1.731 + echo hppa1.1-hp-bsd 1.732 + exit ;; 1.733 + 9000/8??:4.3bsd:*:*) 1.734 + echo hppa1.0-hp-bsd 1.735 + exit ;; 1.736 + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) 1.737 + echo hppa1.0-hp-mpeix 1.738 + exit ;; 1.739 + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) 1.740 + echo hppa1.1-hp-osf 1.741 + exit ;; 1.742 + hp8??:OSF1:*:*) 1.743 + echo hppa1.0-hp-osf 1.744 + exit ;; 1.745 + i*86:OSF1:*:*) 1.746 + if [ -x /usr/sbin/sysversion ] ; then 1.747 + echo ${UNAME_MACHINE}-unknown-osf1mk 1.748 + else 1.749 + echo ${UNAME_MACHINE}-unknown-osf1 1.750 + fi 1.751 + exit ;; 1.752 + parisc*:Lites*:*:*) 1.753 + echo hppa1.1-hp-lites 1.754 + exit ;; 1.755 + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) 1.756 + echo c1-convex-bsd 1.757 + exit ;; 1.758 + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) 1.759 + if getsysinfo -f scalar_acc 1.760 + then echo c32-convex-bsd 1.761 + else echo c2-convex-bsd 1.762 + fi 1.763 + exit ;; 1.764 + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) 1.765 + echo c34-convex-bsd 1.766 + exit ;; 1.767 + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) 1.768 + echo c38-convex-bsd 1.769 + exit ;; 1.770 + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) 1.771 + echo c4-convex-bsd 1.772 + exit ;; 1.773 + CRAY*Y-MP:*:*:*) 1.774 + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 1.775 + exit ;; 1.776 + CRAY*[A-Z]90:*:*:*) 1.777 + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ 1.778 + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ 1.779 + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ 1.780 + -e 's/\.[^.]*$/.X/' 1.781 + exit ;; 1.782 + CRAY*TS:*:*:*) 1.783 + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 1.784 + exit ;; 1.785 + CRAY*T3E:*:*:*) 1.786 + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 1.787 + exit ;; 1.788 + CRAY*SV1:*:*:*) 1.789 + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 1.790 + exit ;; 1.791 + *:UNICOS/mp:*:*) 1.792 + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 1.793 + exit ;; 1.794 + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 1.795 + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 1.796 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 1.797 + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 1.798 + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 1.799 + exit ;; 1.800 + 5000:UNIX_System_V:4.*:*) 1.801 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 1.802 + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` 1.803 + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 1.804 + exit ;; 1.805 + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) 1.806 + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} 1.807 + exit ;; 1.808 + sparc*:BSD/OS:*:*) 1.809 + echo sparc-unknown-bsdi${UNAME_RELEASE} 1.810 + exit ;; 1.811 + *:BSD/OS:*:*) 1.812 + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} 1.813 + exit ;; 1.814 + *:FreeBSD:*:*) 1.815 + UNAME_PROCESSOR=`/usr/bin/uname -p` 1.816 + case ${UNAME_PROCESSOR} in 1.817 + amd64) 1.818 + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 1.819 + *) 1.820 + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 1.821 + esac 1.822 + exit ;; 1.823 + i*:CYGWIN*:*) 1.824 + echo ${UNAME_MACHINE}-pc-cygwin 1.825 + exit ;; 1.826 + *:MINGW64*:*) 1.827 + echo ${UNAME_MACHINE}-pc-mingw64 1.828 + exit ;; 1.829 + *:MINGW*:*) 1.830 + echo ${UNAME_MACHINE}-pc-mingw32 1.831 + exit ;; 1.832 + i*:MSYS*:*) 1.833 + echo ${UNAME_MACHINE}-pc-msys 1.834 + exit ;; 1.835 + i*:windows32*:*) 1.836 + # uname -m includes "-pc" on this system. 1.837 + echo ${UNAME_MACHINE}-mingw32 1.838 + exit ;; 1.839 + i*:PW*:*) 1.840 + echo ${UNAME_MACHINE}-pc-pw32 1.841 + exit ;; 1.842 + *:Interix*:*) 1.843 + case ${UNAME_MACHINE} in 1.844 + x86) 1.845 + echo i586-pc-interix${UNAME_RELEASE} 1.846 + exit ;; 1.847 + authenticamd | genuineintel | EM64T) 1.848 + echo x86_64-unknown-interix${UNAME_RELEASE} 1.849 + exit ;; 1.850 + IA64) 1.851 + echo ia64-unknown-interix${UNAME_RELEASE} 1.852 + exit ;; 1.853 + esac ;; 1.854 + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 1.855 + echo i${UNAME_MACHINE}-pc-mks 1.856 + exit ;; 1.857 + 8664:Windows_NT:*) 1.858 + echo x86_64-pc-mks 1.859 + exit ;; 1.860 + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) 1.861 + # How do we know it's Interix rather than the generic POSIX subsystem? 1.862 + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we 1.863 + # UNAME_MACHINE based on the output of uname instead of i386? 1.864 + echo i586-pc-interix 1.865 + exit ;; 1.866 + i*:UWIN*:*) 1.867 + echo ${UNAME_MACHINE}-pc-uwin 1.868 + exit ;; 1.869 + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) 1.870 + echo x86_64-unknown-cygwin 1.871 + exit ;; 1.872 + p*:CYGWIN*:*) 1.873 + echo powerpcle-unknown-cygwin 1.874 + exit ;; 1.875 + prep*:SunOS:5.*:*) 1.876 + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 1.877 + exit ;; 1.878 + *:GNU:*:*) 1.879 + # the GNU system 1.880 + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 1.881 + exit ;; 1.882 + *:GNU/*:*:*) 1.883 + # other systems with GNU libc and userland 1.884 + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} 1.885 + exit ;; 1.886 + i*86:Minix:*:*) 1.887 + echo ${UNAME_MACHINE}-pc-minix 1.888 + exit ;; 1.889 + aarch64:Linux:*:*) 1.890 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.891 + exit ;; 1.892 + aarch64_be:Linux:*:*) 1.893 + UNAME_MACHINE=aarch64_be 1.894 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.895 + exit ;; 1.896 + alpha:Linux:*:*) 1.897 + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in 1.898 + EV5) UNAME_MACHINE=alphaev5 ;; 1.899 + EV56) UNAME_MACHINE=alphaev56 ;; 1.900 + PCA56) UNAME_MACHINE=alphapca56 ;; 1.901 + PCA57) UNAME_MACHINE=alphapca56 ;; 1.902 + EV6) UNAME_MACHINE=alphaev6 ;; 1.903 + EV67) UNAME_MACHINE=alphaev67 ;; 1.904 + EV68*) UNAME_MACHINE=alphaev68 ;; 1.905 + esac 1.906 + objdump --private-headers /bin/sh | grep -q ld.so.1 1.907 + if test "$?" = 0 ; then LIBC="gnulibc1" ; fi 1.908 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.909 + exit ;; 1.910 + arc:Linux:*:* | arceb:Linux:*:*) 1.911 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.912 + exit ;; 1.913 + arm*:Linux:*:*) 1.914 + eval $set_cc_for_build 1.915 + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ 1.916 + | grep -q __ARM_EABI__ 1.917 + then 1.918 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.919 + else 1.920 + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ 1.921 + | grep -q __ARM_PCS_VFP 1.922 + then 1.923 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi 1.924 + else 1.925 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf 1.926 + fi 1.927 + fi 1.928 + exit ;; 1.929 + avr32*:Linux:*:*) 1.930 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.931 + exit ;; 1.932 + cris:Linux:*:*) 1.933 + echo ${UNAME_MACHINE}-axis-linux-${LIBC} 1.934 + exit ;; 1.935 + crisv32:Linux:*:*) 1.936 + echo ${UNAME_MACHINE}-axis-linux-${LIBC} 1.937 + exit ;; 1.938 + frv:Linux:*:*) 1.939 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.940 + exit ;; 1.941 + hexagon:Linux:*:*) 1.942 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.943 + exit ;; 1.944 + i*86:Linux:*:*) 1.945 + echo ${UNAME_MACHINE}-pc-linux-${LIBC} 1.946 + exit ;; 1.947 + ia64:Linux:*:*) 1.948 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.949 + exit ;; 1.950 + m32r*:Linux:*:*) 1.951 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.952 + exit ;; 1.953 + m68*:Linux:*:*) 1.954 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.955 + exit ;; 1.956 + mips:Linux:*:* | mips64:Linux:*:*) 1.957 + eval $set_cc_for_build 1.958 + sed 's/^ //' << EOF >$dummy.c 1.959 + #undef CPU 1.960 + #undef ${UNAME_MACHINE} 1.961 + #undef ${UNAME_MACHINE}el 1.962 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) 1.963 + CPU=${UNAME_MACHINE}el 1.964 + #else 1.965 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) 1.966 + CPU=${UNAME_MACHINE} 1.967 + #else 1.968 + CPU= 1.969 + #endif 1.970 + #endif 1.971 +EOF 1.972 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` 1.973 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } 1.974 + ;; 1.975 + or1k:Linux:*:*) 1.976 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.977 + exit ;; 1.978 + or32:Linux:*:*) 1.979 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.980 + exit ;; 1.981 + padre:Linux:*:*) 1.982 + echo sparc-unknown-linux-${LIBC} 1.983 + exit ;; 1.984 + parisc64:Linux:*:* | hppa64:Linux:*:*) 1.985 + echo hppa64-unknown-linux-${LIBC} 1.986 + exit ;; 1.987 + parisc:Linux:*:* | hppa:Linux:*:*) 1.988 + # Look for CPU level 1.989 + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 1.990 + PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; 1.991 + PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; 1.992 + *) echo hppa-unknown-linux-${LIBC} ;; 1.993 + esac 1.994 + exit ;; 1.995 + ppc64:Linux:*:*) 1.996 + echo powerpc64-unknown-linux-${LIBC} 1.997 + exit ;; 1.998 + ppc:Linux:*:*) 1.999 + echo powerpc-unknown-linux-${LIBC} 1.1000 + exit ;; 1.1001 + ppc64le:Linux:*:*) 1.1002 + echo powerpc64le-unknown-linux-${LIBC} 1.1003 + exit ;; 1.1004 + ppcle:Linux:*:*) 1.1005 + echo powerpcle-unknown-linux-${LIBC} 1.1006 + exit ;; 1.1007 + s390:Linux:*:* | s390x:Linux:*:*) 1.1008 + echo ${UNAME_MACHINE}-ibm-linux-${LIBC} 1.1009 + exit ;; 1.1010 + sh64*:Linux:*:*) 1.1011 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.1012 + exit ;; 1.1013 + sh*:Linux:*:*) 1.1014 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.1015 + exit ;; 1.1016 + sparc:Linux:*:* | sparc64:Linux:*:*) 1.1017 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.1018 + exit ;; 1.1019 + tile*:Linux:*:*) 1.1020 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.1021 + exit ;; 1.1022 + vax:Linux:*:*) 1.1023 + echo ${UNAME_MACHINE}-dec-linux-${LIBC} 1.1024 + exit ;; 1.1025 + x86_64:Linux:*:*) 1.1026 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.1027 + exit ;; 1.1028 + xtensa*:Linux:*:*) 1.1029 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 1.1030 + exit ;; 1.1031 + i*86:DYNIX/ptx:4*:*) 1.1032 + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. 1.1033 + # earlier versions are messed up and put the nodename in both 1.1034 + # sysname and nodename. 1.1035 + echo i386-sequent-sysv4 1.1036 + exit ;; 1.1037 + i*86:UNIX_SV:4.2MP:2.*) 1.1038 + # Unixware is an offshoot of SVR4, but it has its own version 1.1039 + # number series starting with 2... 1.1040 + # I am not positive that other SVR4 systems won't match this, 1.1041 + # I just have to hope. -- rms. 1.1042 + # Use sysv4.2uw... so that sysv4* matches it. 1.1043 + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} 1.1044 + exit ;; 1.1045 + i*86:OS/2:*:*) 1.1046 + # If we were able to find `uname', then EMX Unix compatibility 1.1047 + # is probably installed. 1.1048 + echo ${UNAME_MACHINE}-pc-os2-emx 1.1049 + exit ;; 1.1050 + i*86:XTS-300:*:STOP) 1.1051 + echo ${UNAME_MACHINE}-unknown-stop 1.1052 + exit ;; 1.1053 + i*86:atheos:*:*) 1.1054 + echo ${UNAME_MACHINE}-unknown-atheos 1.1055 + exit ;; 1.1056 + i*86:syllable:*:*) 1.1057 + echo ${UNAME_MACHINE}-pc-syllable 1.1058 + exit ;; 1.1059 + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) 1.1060 + echo i386-unknown-lynxos${UNAME_RELEASE} 1.1061 + exit ;; 1.1062 + i*86:*DOS:*:*) 1.1063 + echo ${UNAME_MACHINE}-pc-msdosdjgpp 1.1064 + exit ;; 1.1065 + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) 1.1066 + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` 1.1067 + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then 1.1068 + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} 1.1069 + else 1.1070 + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} 1.1071 + fi 1.1072 + exit ;; 1.1073 + i*86:*:5:[678]*) 1.1074 + # UnixWare 7.x, OpenUNIX and OpenServer 6. 1.1075 + case `/bin/uname -X | grep "^Machine"` in 1.1076 + *486*) UNAME_MACHINE=i486 ;; 1.1077 + *Pentium) UNAME_MACHINE=i586 ;; 1.1078 + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; 1.1079 + esac 1.1080 + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} 1.1081 + exit ;; 1.1082 + i*86:*:3.2:*) 1.1083 + if test -f /usr/options/cb.name; then 1.1084 + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` 1.1085 + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL 1.1086 + elif /bin/uname -X 2>/dev/null >/dev/null ; then 1.1087 + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` 1.1088 + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 1.1089 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ 1.1090 + && UNAME_MACHINE=i586 1.1091 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ 1.1092 + && UNAME_MACHINE=i686 1.1093 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ 1.1094 + && UNAME_MACHINE=i686 1.1095 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL 1.1096 + else 1.1097 + echo ${UNAME_MACHINE}-pc-sysv32 1.1098 + fi 1.1099 + exit ;; 1.1100 + pc:*:*:*) 1.1101 + # Left here for compatibility: 1.1102 + # uname -m prints for DJGPP always 'pc', but it prints nothing about 1.1103 + # the processor, so we play safe by assuming i586. 1.1104 + # Note: whatever this is, it MUST be the same as what config.sub 1.1105 + # prints for the "djgpp" host, or else GDB configury will decide that 1.1106 + # this is a cross-build. 1.1107 + echo i586-pc-msdosdjgpp 1.1108 + exit ;; 1.1109 + Intel:Mach:3*:*) 1.1110 + echo i386-pc-mach3 1.1111 + exit ;; 1.1112 + paragon:*:*:*) 1.1113 + echo i860-intel-osf1 1.1114 + exit ;; 1.1115 + i860:*:4.*:*) # i860-SVR4 1.1116 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then 1.1117 + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 1.1118 + else # Add other i860-SVR4 vendors below as they are discovered. 1.1119 + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 1.1120 + fi 1.1121 + exit ;; 1.1122 + mini*:CTIX:SYS*5:*) 1.1123 + # "miniframe" 1.1124 + echo m68010-convergent-sysv 1.1125 + exit ;; 1.1126 + mc68k:UNIX:SYSTEM5:3.51m) 1.1127 + echo m68k-convergent-sysv 1.1128 + exit ;; 1.1129 + M680?0:D-NIX:5.3:*) 1.1130 + echo m68k-diab-dnix 1.1131 + exit ;; 1.1132 + M68*:*:R3V[5678]*:*) 1.1133 + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 1.1134 + 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) 1.1135 + OS_REL='' 1.1136 + test -r /etc/.relid \ 1.1137 + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` 1.1138 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1.1139 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } 1.1140 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ 1.1141 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 1.1142 + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) 1.1143 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1.1144 + && { echo i486-ncr-sysv4; exit; } ;; 1.1145 + NCR*:*:4.2:* | MPRAS*:*:4.2:*) 1.1146 + OS_REL='.3' 1.1147 + test -r /etc/.relid \ 1.1148 + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` 1.1149 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1.1150 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } 1.1151 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ 1.1152 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } 1.1153 + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ 1.1154 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 1.1155 + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) 1.1156 + echo m68k-unknown-lynxos${UNAME_RELEASE} 1.1157 + exit ;; 1.1158 + mc68030:UNIX_System_V:4.*:*) 1.1159 + echo m68k-atari-sysv4 1.1160 + exit ;; 1.1161 + TSUNAMI:LynxOS:2.*:*) 1.1162 + echo sparc-unknown-lynxos${UNAME_RELEASE} 1.1163 + exit ;; 1.1164 + rs6000:LynxOS:2.*:*) 1.1165 + echo rs6000-unknown-lynxos${UNAME_RELEASE} 1.1166 + exit ;; 1.1167 + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) 1.1168 + echo powerpc-unknown-lynxos${UNAME_RELEASE} 1.1169 + exit ;; 1.1170 + SM[BE]S:UNIX_SV:*:*) 1.1171 + echo mips-dde-sysv${UNAME_RELEASE} 1.1172 + exit ;; 1.1173 + RM*:ReliantUNIX-*:*:*) 1.1174 + echo mips-sni-sysv4 1.1175 + exit ;; 1.1176 + RM*:SINIX-*:*:*) 1.1177 + echo mips-sni-sysv4 1.1178 + exit ;; 1.1179 + *:SINIX-*:*:*) 1.1180 + if uname -p 2>/dev/null >/dev/null ; then 1.1181 + UNAME_MACHINE=`(uname -p) 2>/dev/null` 1.1182 + echo ${UNAME_MACHINE}-sni-sysv4 1.1183 + else 1.1184 + echo ns32k-sni-sysv 1.1185 + fi 1.1186 + exit ;; 1.1187 + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort 1.1188 + # says <Richard.M.Bartel@ccMail.Census.GOV> 1.1189 + echo i586-unisys-sysv4 1.1190 + exit ;; 1.1191 + *:UNIX_System_V:4*:FTX*) 1.1192 + # From Gerald Hewes <hewes@openmarket.com>. 1.1193 + # How about differentiating between stratus architectures? -djm 1.1194 + echo hppa1.1-stratus-sysv4 1.1195 + exit ;; 1.1196 + *:*:*:FTX*) 1.1197 + # From seanf@swdc.stratus.com. 1.1198 + echo i860-stratus-sysv4 1.1199 + exit ;; 1.1200 + i*86:VOS:*:*) 1.1201 + # From Paul.Green@stratus.com. 1.1202 + echo ${UNAME_MACHINE}-stratus-vos 1.1203 + exit ;; 1.1204 + *:VOS:*:*) 1.1205 + # From Paul.Green@stratus.com. 1.1206 + echo hppa1.1-stratus-vos 1.1207 + exit ;; 1.1208 + mc68*:A/UX:*:*) 1.1209 + echo m68k-apple-aux${UNAME_RELEASE} 1.1210 + exit ;; 1.1211 + news*:NEWS-OS:6*:*) 1.1212 + echo mips-sony-newsos6 1.1213 + exit ;; 1.1214 + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) 1.1215 + if [ -d /usr/nec ]; then 1.1216 + echo mips-nec-sysv${UNAME_RELEASE} 1.1217 + else 1.1218 + echo mips-unknown-sysv${UNAME_RELEASE} 1.1219 + fi 1.1220 + exit ;; 1.1221 + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. 1.1222 + echo powerpc-be-beos 1.1223 + exit ;; 1.1224 + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. 1.1225 + echo powerpc-apple-beos 1.1226 + exit ;; 1.1227 + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. 1.1228 + echo i586-pc-beos 1.1229 + exit ;; 1.1230 + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. 1.1231 + echo i586-pc-haiku 1.1232 + exit ;; 1.1233 + x86_64:Haiku:*:*) 1.1234 + echo x86_64-unknown-haiku 1.1235 + exit ;; 1.1236 + SX-4:SUPER-UX:*:*) 1.1237 + echo sx4-nec-superux${UNAME_RELEASE} 1.1238 + exit ;; 1.1239 + SX-5:SUPER-UX:*:*) 1.1240 + echo sx5-nec-superux${UNAME_RELEASE} 1.1241 + exit ;; 1.1242 + SX-6:SUPER-UX:*:*) 1.1243 + echo sx6-nec-superux${UNAME_RELEASE} 1.1244 + exit ;; 1.1245 + SX-7:SUPER-UX:*:*) 1.1246 + echo sx7-nec-superux${UNAME_RELEASE} 1.1247 + exit ;; 1.1248 + SX-8:SUPER-UX:*:*) 1.1249 + echo sx8-nec-superux${UNAME_RELEASE} 1.1250 + exit ;; 1.1251 + SX-8R:SUPER-UX:*:*) 1.1252 + echo sx8r-nec-superux${UNAME_RELEASE} 1.1253 + exit ;; 1.1254 + Power*:Rhapsody:*:*) 1.1255 + echo powerpc-apple-rhapsody${UNAME_RELEASE} 1.1256 + exit ;; 1.1257 + *:Rhapsody:*:*) 1.1258 + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} 1.1259 + exit ;; 1.1260 + *:Darwin:*:*) 1.1261 + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown 1.1262 + eval $set_cc_for_build 1.1263 + if test "$UNAME_PROCESSOR" = unknown ; then 1.1264 + UNAME_PROCESSOR=powerpc 1.1265 + fi 1.1266 + if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then 1.1267 + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then 1.1268 + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ 1.1269 + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ 1.1270 + grep IS_64BIT_ARCH >/dev/null 1.1271 + then 1.1272 + case $UNAME_PROCESSOR in 1.1273 + i386) UNAME_PROCESSOR=x86_64 ;; 1.1274 + powerpc) UNAME_PROCESSOR=powerpc64 ;; 1.1275 + esac 1.1276 + fi 1.1277 + fi 1.1278 + elif test "$UNAME_PROCESSOR" = i386 ; then 1.1279 + # Avoid executing cc on OS X 10.9, as it ships with a stub 1.1280 + # that puts up a graphical alert prompting to install 1.1281 + # developer tools. Any system running Mac OS X 10.7 or 1.1282 + # later (Darwin 11 and later) is required to have a 64-bit 1.1283 + # processor. This is not true of the ARM version of Darwin 1.1284 + # that Apple uses in portable devices. 1.1285 + UNAME_PROCESSOR=x86_64 1.1286 + fi 1.1287 + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} 1.1288 + exit ;; 1.1289 + *:procnto*:*:* | *:QNX:[0123456789]*:*) 1.1290 + UNAME_PROCESSOR=`uname -p` 1.1291 + if test "$UNAME_PROCESSOR" = "x86"; then 1.1292 + UNAME_PROCESSOR=i386 1.1293 + UNAME_MACHINE=pc 1.1294 + fi 1.1295 + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} 1.1296 + exit ;; 1.1297 + *:QNX:*:4*) 1.1298 + echo i386-pc-qnx 1.1299 + exit ;; 1.1300 + NEO-?:NONSTOP_KERNEL:*:*) 1.1301 + echo neo-tandem-nsk${UNAME_RELEASE} 1.1302 + exit ;; 1.1303 + NSE-*:NONSTOP_KERNEL:*:*) 1.1304 + echo nse-tandem-nsk${UNAME_RELEASE} 1.1305 + exit ;; 1.1306 + NSR-?:NONSTOP_KERNEL:*:*) 1.1307 + echo nsr-tandem-nsk${UNAME_RELEASE} 1.1308 + exit ;; 1.1309 + *:NonStop-UX:*:*) 1.1310 + echo mips-compaq-nonstopux 1.1311 + exit ;; 1.1312 + BS2000:POSIX*:*:*) 1.1313 + echo bs2000-siemens-sysv 1.1314 + exit ;; 1.1315 + DS/*:UNIX_System_V:*:*) 1.1316 + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} 1.1317 + exit ;; 1.1318 + *:Plan9:*:*) 1.1319 + # "uname -m" is not consistent, so use $cputype instead. 386 1.1320 + # is converted to i386 for consistency with other x86 1.1321 + # operating systems. 1.1322 + if test "$cputype" = "386"; then 1.1323 + UNAME_MACHINE=i386 1.1324 + else 1.1325 + UNAME_MACHINE="$cputype" 1.1326 + fi 1.1327 + echo ${UNAME_MACHINE}-unknown-plan9 1.1328 + exit ;; 1.1329 + *:TOPS-10:*:*) 1.1330 + echo pdp10-unknown-tops10 1.1331 + exit ;; 1.1332 + *:TENEX:*:*) 1.1333 + echo pdp10-unknown-tenex 1.1334 + exit ;; 1.1335 + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) 1.1336 + echo pdp10-dec-tops20 1.1337 + exit ;; 1.1338 + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) 1.1339 + echo pdp10-xkl-tops20 1.1340 + exit ;; 1.1341 + *:TOPS-20:*:*) 1.1342 + echo pdp10-unknown-tops20 1.1343 + exit ;; 1.1344 + *:ITS:*:*) 1.1345 + echo pdp10-unknown-its 1.1346 + exit ;; 1.1347 + SEI:*:*:SEIUX) 1.1348 + echo mips-sei-seiux${UNAME_RELEASE} 1.1349 + exit ;; 1.1350 + *:DragonFly:*:*) 1.1351 + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 1.1352 + exit ;; 1.1353 + *:*VMS:*:*) 1.1354 + UNAME_MACHINE=`(uname -p) 2>/dev/null` 1.1355 + case "${UNAME_MACHINE}" in 1.1356 + A*) echo alpha-dec-vms ; exit ;; 1.1357 + I*) echo ia64-dec-vms ; exit ;; 1.1358 + V*) echo vax-dec-vms ; exit ;; 1.1359 + esac ;; 1.1360 + *:XENIX:*:SysV) 1.1361 + echo i386-pc-xenix 1.1362 + exit ;; 1.1363 + i*86:skyos:*:*) 1.1364 + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' 1.1365 + exit ;; 1.1366 + i*86:rdos:*:*) 1.1367 + echo ${UNAME_MACHINE}-pc-rdos 1.1368 + exit ;; 1.1369 + i*86:AROS:*:*) 1.1370 + echo ${UNAME_MACHINE}-pc-aros 1.1371 + exit ;; 1.1372 + x86_64:VMkernel:*:*) 1.1373 + echo ${UNAME_MACHINE}-unknown-esx 1.1374 + exit ;; 1.1375 +esac 1.1376 + 1.1377 +cat >&2 <<EOF 1.1378 +$0: unable to guess system type 1.1379 + 1.1380 +This script, last modified $timestamp, has failed to recognize 1.1381 +the operating system you are using. It is advised that you 1.1382 +download the most up to date version of the config scripts from 1.1383 + 1.1384 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD 1.1385 +and 1.1386 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD 1.1387 + 1.1388 +If the version you run ($0) is already up to date, please 1.1389 +send the following data and any information you think might be 1.1390 +pertinent to <config-patches@gnu.org> in order to provide the needed 1.1391 +information to handle your system. 1.1392 + 1.1393 +config.guess timestamp = $timestamp 1.1394 + 1.1395 +uname -m = `(uname -m) 2>/dev/null || echo unknown` 1.1396 +uname -r = `(uname -r) 2>/dev/null || echo unknown` 1.1397 +uname -s = `(uname -s) 2>/dev/null || echo unknown` 1.1398 +uname -v = `(uname -v) 2>/dev/null || echo unknown` 1.1399 + 1.1400 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` 1.1401 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` 1.1402 + 1.1403 +hostinfo = `(hostinfo) 2>/dev/null` 1.1404 +/bin/universe = `(/bin/universe) 2>/dev/null` 1.1405 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` 1.1406 +/bin/arch = `(/bin/arch) 2>/dev/null` 1.1407 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` 1.1408 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` 1.1409 + 1.1410 +UNAME_MACHINE = ${UNAME_MACHINE} 1.1411 +UNAME_RELEASE = ${UNAME_RELEASE} 1.1412 +UNAME_SYSTEM = ${UNAME_SYSTEM} 1.1413 +UNAME_VERSION = ${UNAME_VERSION} 1.1414 +EOF 1.1415 + 1.1416 +exit 1 1.1417 + 1.1418 +# Local variables: 1.1419 +# eval: (add-hook 'write-file-hooks 'time-stamp) 1.1420 +# time-stamp-start: "timestamp='" 1.1421 +# time-stamp-format: "%:y-%02m-%02d" 1.1422 +# time-stamp-end: "'" 1.1423 +# End: