<pre style='margin:0'>
Eitan Adler (grimreaper) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/5f992595dfa5bfd07131e34621c6ff72deb00360">https://github.com/macports/macports-base/commit/5f992595dfa5bfd07131e34621c6ff72deb00360</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5f992595dfa5bfd07131e34621c6ff72deb00360
</span>Author: Eitan Adler <lists@eitanadler.com>
AuthorDate: Fri Jul 6 04:19:07 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> config.*: update to latest
</span>---
config.guess | 486 +++++++++---------
config.sub | 1628 ++++++++++++++++++++++++++++------------------------------
2 files changed, 1042 insertions(+), 1072 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/config.guess b/config.guess
</span><span style='display:block; white-space:pre;color:#808080;'>index 770cb5c..445c406 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/config.guess
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/config.guess
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,8 +1,8 @@
</span> #! /bin/sh
# Attempt to guess a canonical system name.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Copyright 1992-2017 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Copyright 1992-2018 Free Software Foundation, Inc.
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-timestamp='2017-12-17'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+timestamp='2018-06-26'
</span>
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,7 +50,7 @@ version="\
</span> GNU config.guess ($timestamp)
Originally written by Per Bothner.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-Copyright 1992-2017 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Copyright 1992-2018 Free Software Foundation, Inc.
</span>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -106,10 +106,10 @@ trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
</span> { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
dummy=$tmp/dummy ;
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-case $CC_FOR_BUILD,$HOST_CC,$CC in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ,,) echo "int x;" > $dummy.c ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ,,) echo "int x;" > "$dummy.c" ;
</span> for c in cc gcc c89 c99 ; do
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
</span> CC_FOR_BUILD="$c"; break ;
fi ;
done ;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -132,14 +132,14 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
</span> UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
<span style='display:block; white-space:pre;background:#ffe0e0;'>-case "${UNAME_SYSTEM}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+case "$UNAME_SYSTEM" in
</span> Linux|GNU|GNU/*)
# If the system lacks a compiler, then just pick glibc.
# We could probably try harder.
LIBC=gnu
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $set_cc_for_build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cat <<-EOF > $dummy.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat <<-EOF > "$dummy.c"
</span> #include <features.h>
#if defined(__UCLIBC__)
LIBC=uclibc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -149,13 +149,20 @@ Linux|GNU|GNU/*)
</span> LIBC=gnu
#endif
EOF
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If ldd exists, use it to detect musl libc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if command -v ldd >/dev/null && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ldd --version 2>&1 | grep -q ^musl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBC=musl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span> ;;
esac
# Note: order is significant - the case branches are not exclusive.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
</span> *:NetBSD:*:*)
# NetBSD (nbsd) targets should (where applicable) match one or
# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -169,30 +176,30 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> # portion of the name. We always set it to "unknown".
sysctl="sysctl -n hw.machine_arch"
UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- /sbin/$sysctl 2>/dev/null || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /usr/sbin/$sysctl 2>/dev/null || \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/sbin/$sysctl" 2>/dev/null || \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/usr/sbin/$sysctl" 2>/dev/null || \
</span> echo unknown)`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- case "${UNAME_MACHINE_ARCH}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$UNAME_MACHINE_ARCH" in
</span> armeb) machine=armeb-unknown ;;
arm*) machine=arm-unknown ;;
sh3el) machine=shl-unknown ;;
sh3eb) machine=sh-unknown ;;
sh5el) machine=sh5le-unknown ;;
earmv*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- machine=${arch}${endian}-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ machine="${arch}${endian}"-unknown
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
</span> esac
# The Operating System including object format, if it has switched
# to ELF recently (or will in the future) and ABI.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- case "${UNAME_MACHINE_ARCH}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$UNAME_MACHINE_ARCH" in
</span> earm*)
os=netbsdelf
;;
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $set_cc_for_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "$set_cc_for_build"
</span> if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ELF__
then
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -208,10 +215,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> ;;
esac
# Determine ABI tags.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- case "${UNAME_MACHINE_ARCH}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$UNAME_MACHINE_ARCH" in
</span> earm*)
expr='s/^earmv[0-9]/-eabi/;s/eb$//'
<span style='display:block; white-space:pre;background:#ffe0e0;'>- abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
</span> ;;
esac
# The OS release
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -219,51 +226,51 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> # thus, need a distinct triplet. However, they do not need
# kernel version information, so it can be replaced with a
# suitable tag, in the style of linux-gnu.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- case "${UNAME_VERSION}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$UNAME_VERSION" in
</span> Debian*)
release='-gnu'
;;
*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
</span> ;;
esac
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
# contains redundant information, the shorter form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "${machine}-${os}${release}${abi}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$machine-${os}${release}${abi-}"
</span> exit ;;
*:Bitrig:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE"
</span> exit ;;
*:OpenBSD:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
</span> exit ;;
*:LibertyBSD:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
</span> exit ;;
*:MidnightBSD:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-midnightbsd${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE"
</span> exit ;;
*:ekkoBSD:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
</span> exit ;;
*:SolidBSD:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
</span> exit ;;
macppc:MirBSD:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo powerpc-unknown-mirbsd${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
</span> exit ;;
*:MirBSD:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
</span> exit ;;
*:Sortix:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-sortix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-sortix
</span> exit ;;
*:Redox:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-redox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-redox
</span> exit ;;
mips:OSF1:*.*)
echo mips-dec-osf1
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -319,7 +326,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> # A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
</span> # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
exitcode=$?
trap '' 0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -328,10 +335,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> echo m68k-unknown-sysv4
exit ;;
*:[Aa]miga[Oo][Ss]:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-amigaos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-amigaos
</span> exit ;;
*:[Mm]orph[Oo][Ss]:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-morphos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-morphos
</span> exit ;;
*:OS/390:*:*)
echo i370-ibm-openedition
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -343,7 +350,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> echo powerpc-ibm-os400
exit ;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo arm-acorn-riscix${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo arm-acorn-riscix"$UNAME_RELEASE"
</span> exit ;;
arm*:riscos:*:*|arm*:RISCOS:*:*)
echo arm-unknown-riscos
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -370,19 +377,19 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> sparc) echo sparc-icl-nx7; exit ;;
esac ;;
s390x:SunOS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
</span> exit ;;
sun4H:SunOS:5.*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
</span> exit ;;
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
</span> exit ;;
i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo i386-pc-auroraux${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo i386-pc-auroraux"$UNAME_RELEASE"
</span> exit ;;
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $set_cc_for_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "$set_cc_for_build"
</span> SUN_ARCH=i386
# If there is a compiler, see if it is configured for 64-bit objects.
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -395,13 +402,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> SUN_ARCH=x86_64
fi
fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
</span> exit ;;
sun4*:SunOS:6*:*)
# According to config.sub, this is the proper way to canonicalize
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
# it's likely to be more like Solaris than SunOS4.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
</span> exit ;;
sun4*:SunOS:*:*)
case "`/usr/bin/arch -k`" in
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -410,25 +417,25 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> ;;
esac
# Japanese Language versions have a version number like `4.1.3-JL'.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`"
</span> exit ;;
sun3*:SunOS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m68k-sun-sunos${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m68k-sun-sunos"$UNAME_RELEASE"
</span> exit ;;
sun*:*:4.2BSD:*)
UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
</span> case "`/bin/arch`" in
sun3)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m68k-sun-sunos${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m68k-sun-sunos"$UNAME_RELEASE"
</span> ;;
sun4)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sparc-sun-sunos${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sparc-sun-sunos"$UNAME_RELEASE"
</span> ;;
esac
exit ;;
aushp:SunOS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sparc-auspex-sunos${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sparc-auspex-sunos"$UNAME_RELEASE"
</span> exit ;;
# The situation for MiNT is a little confusing. The machine name
# can be virtually everything (everything which is not
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -439,44 +446,44 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> # MiNT. But MiNT is downward compatible to TOS, so this should
# be no problem.
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m68k-atari-mint${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m68k-atari-mint"$UNAME_RELEASE"
</span> exit ;;
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m68k-atari-mint${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m68k-atari-mint"$UNAME_RELEASE"
</span> exit ;;
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m68k-atari-mint${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m68k-atari-mint"$UNAME_RELEASE"
</span> exit ;;
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m68k-milan-mint${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m68k-milan-mint"$UNAME_RELEASE"
</span> exit ;;
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m68k-hades-mint${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m68k-hades-mint"$UNAME_RELEASE"
</span> exit ;;
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m68k-unknown-mint${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m68k-unknown-mint"$UNAME_RELEASE"
</span> exit ;;
m68k:machten:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m68k-apple-machten${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m68k-apple-machten"$UNAME_RELEASE"
</span> exit ;;
powerpc:machten:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo powerpc-apple-machten${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo powerpc-apple-machten"$UNAME_RELEASE"
</span> exit ;;
RISC*:Mach:*:*)
echo mips-dec-mach_bsd4.3
exit ;;
RISC*:ULTRIX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo mips-dec-ultrix${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo mips-dec-ultrix"$UNAME_RELEASE"
</span> exit ;;
VAX*:ULTRIX*:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo vax-dec-ultrix${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo vax-dec-ultrix"$UNAME_RELEASE"
</span> exit ;;
2020:CLIX:*:* | 2430:CLIX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo clipper-intergraph-clix${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo clipper-intergraph-clix"$UNAME_RELEASE"
</span> exit ;;
mips:*:*:UMIPS | mips:*:*:RISCos)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $set_cc_for_build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sed 's/^ //' << EOF >$dummy.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sed 's/^ //' << EOF > "$dummy.c"
</span> #ifdef __cplusplus
#include <stdio.h> /* for printf() prototype */
int main (int argc, char *argv[]) {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -497,11 +504,11 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> exit (-1);
}
EOF
<span style='display:block; white-space:pre;background:#ffe0e0;'>- $CC_FOR_BUILD -o $dummy $dummy.c &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SYSTEM_NAME=`$dummy $dummyarg` &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
</span> { echo "$SYSTEM_NAME"; exit; }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo mips-mips-riscos${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo mips-mips-riscos"$UNAME_RELEASE"
</span> exit ;;
Motorola:PowerMAX_OS:*:*)
echo powerpc-motorola-powermax
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -527,17 +534,17 @@ EOF
</span> AViiON:dgux:*:*)
# DG/UX returns AViiON for all architectures
UNAME_PROCESSOR=`/usr/bin/uname -p`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
</span> then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [ ${TARGET_BINARY_INTERFACE}x = x ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [ "$TARGET_BINARY_INTERFACE"x = x ]
</span> then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m88k-dg-dgux${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m88k-dg-dgux"$UNAME_RELEASE"
</span> else
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m88k-dg-dguxbcs${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m88k-dg-dguxbcs"$UNAME_RELEASE"
</span> fi
else
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo i586-dg-dgux${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo i586-dg-dgux"$UNAME_RELEASE"
</span> fi
exit ;;
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -554,7 +561,7 @@ EOF
</span> echo m68k-tektronix-bsd
exit ;;
*:IRIX*:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`"
</span> exit ;;
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -566,14 +573,14 @@ EOF
</span> if [ -x /usr/bin/oslevel ] ; then
IBM_REV=`/usr/bin/oslevel`
else
<span style='display:block; white-space:pre;background:#ffe0e0;'>- IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
</span> fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV"
</span> exit ;;
*:AIX:2:3)
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $set_cc_for_build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sed 's/^ //' << EOF >$dummy.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sed 's/^ //' << EOF > "$dummy.c"
</span> #include <sys/systemcfg.h>
main()
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -584,7 +591,7 @@ EOF
</span> exit(0);
}
EOF
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
</span> then
echo "$SYSTEM_NAME"
else
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -598,7 +605,7 @@ EOF
</span> exit ;;
*:AIX:*:[4567])
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
</span> IBM_ARCH=rs6000
else
IBM_ARCH=powerpc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -607,9 +614,9 @@ EOF
</span> IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
else
<span style='display:block; white-space:pre;background:#ffe0e0;'>- IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
</span> fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${IBM_ARCH}-ibm-aix${IBM_REV}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$IBM_ARCH"-ibm-aix"$IBM_REV"
</span> exit ;;
*:AIX:*:*)
echo rs6000-ibm-aix
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -618,7 +625,7 @@ EOF
</span> echo romp-ibm-bsd4.4
exit ;;
ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to
</span> exit ;; # report: romp-ibm BSD 4.3
*:BOSX:*:*)
echo rs6000-bull-bosx
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -633,28 +640,28 @@ EOF
</span> echo m68k-hp-bsd4.4
exit ;;
9000/[34678]??:HP-UX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case "${UNAME_MACHINE}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$UNAME_MACHINE" in
</span> 9000/31?) HP_ARCH=m68000 ;;
9000/[34]??) HP_ARCH=m68k ;;
9000/[678][0-9][0-9])
if [ -x /usr/bin/getconf ]; then
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- case "${sc_cpu_version}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$sc_cpu_version" in
</span> 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
532) # CPU_PA_RISC2_0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- case "${sc_kernel_bits}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$sc_kernel_bits" in
</span> 32) HP_ARCH=hppa2.0n ;;
64) HP_ARCH=hppa2.0w ;;
'') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
esac ;;
esac
fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [ "${HP_ARCH}" = "" ]; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $set_cc_for_build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sed 's/^ //' << EOF >$dummy.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ "$HP_ARCH" = "" ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sed 's/^ //' << EOF > "$dummy.c"
</span>
#define _HPUX_SOURCE
#include <stdlib.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -687,13 +694,13 @@ EOF
</span> exit (0);
}
EOF
<span style='display:block; white-space:pre;background:#ffe0e0;'>- (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"`
</span> test -z "$HP_ARCH" && HP_ARCH=hppa
fi ;;
esac
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if [ ${HP_ARCH} = hppa2.0w ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ "$HP_ARCH" = hppa2.0w ]
</span> then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $set_cc_for_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "$set_cc_for_build"
</span>
# hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
# 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -712,15 +719,15 @@ EOF
</span> HP_ARCH=hppa64
fi
fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${HP_ARCH}-hp-hpux${HPUX_REV}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$HP_ARCH"-hp-hpux"$HPUX_REV"
</span> exit ;;
ia64:HP-UX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ia64-hp-hpux${HPUX_REV}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo ia64-hp-hpux"$HPUX_REV"
</span> exit ;;
3050*:HI-UX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $set_cc_for_build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sed 's/^ //' << EOF >$dummy.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sed 's/^ //' << EOF > "$dummy.c"
</span> #include <unistd.h>
int
main ()
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -745,7 +752,7 @@ EOF
</span> exit (0);
}
EOF
<span style='display:block; white-space:pre;background:#ffe0e0;'>- $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
</span> { echo "$SYSTEM_NAME"; exit; }
echo unknown-hitachi-hiuxwe2
exit ;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -766,9 +773,9 @@ EOF
</span> exit ;;
i*86:OSF1:*:*)
if [ -x /usr/sbin/sysversion ] ; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-osf1mk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-osf1mk
</span> else
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-osf1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-osf1
</span> fi
exit ;;
parisc*:Lites*:*:*)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -793,109 +800,109 @@ EOF
</span> echo c4-convex-bsd
exit ;;
CRAY*Y-MP:*:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
</span> exit ;;
CRAY*[A-Z]90:*:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
</span> | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
-e 's/\.[^.]*$/.X/'
exit ;;
CRAY*TS:*:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
</span> exit ;;
CRAY*T3E:*:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
</span> exit ;;
CRAY*SV1:*:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
</span> exit ;;
*:UNICOS/mp:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
</span> exit ;;
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
</span> echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit ;;
5000:UNIX_System_V:4.*:*)
FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
</span> echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit ;;
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE"
</span> exit ;;
sparc*:BSD/OS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sparc-unknown-bsdi${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sparc-unknown-bsdi"$UNAME_RELEASE"
</span> exit ;;
*:BSD/OS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
</span> exit ;;
*:FreeBSD:*:*)
UNAME_PROCESSOR=`/usr/bin/uname -p`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- case ${UNAME_PROCESSOR} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$UNAME_PROCESSOR" in
</span> amd64)
UNAME_PROCESSOR=x86_64 ;;
i386)
UNAME_PROCESSOR=i586 ;;
esac
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
</span> exit ;;
i*:CYGWIN*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-cygwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-cygwin
</span> exit ;;
*:MINGW64*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-mingw64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-mingw64
</span> exit ;;
*:MINGW*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-mingw32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-mingw32
</span> exit ;;
*:MSYS*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-msys
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-msys
</span> exit ;;
i*:PW*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-pw32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-pw32
</span> exit ;;
*:Interix*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- case ${UNAME_MACHINE} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$UNAME_MACHINE" in
</span> x86)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo i586-pc-interix${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo i586-pc-interix"$UNAME_RELEASE"
</span> exit ;;
authenticamd | genuineintel | EM64T)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo x86_64-unknown-interix${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo x86_64-unknown-interix"$UNAME_RELEASE"
</span> exit ;;
IA64)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ia64-unknown-interix${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo ia64-unknown-interix"$UNAME_RELEASE"
</span> exit ;;
esac ;;
i*:UWIN*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-uwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-uwin
</span> exit ;;
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
echo x86_64-unknown-cygwin
exit ;;
prep*:SunOS:5.*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
</span> exit ;;
*:GNU:*:*)
# the GNU system
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`"
</span> exit ;;
*:GNU/*:*:*)
# other systems with GNU libc and userland
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
</span> exit ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- i*86:Minix:*:*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-minix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *:Minix:*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-minix
</span> exit ;;
aarch64:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
aarch64_be:Linux:*:*)
UNAME_MACHINE=aarch64_be
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -909,63 +916,63 @@ EOF
</span> esac
objdump --private-headers /bin/sh | grep -q ld.so.1
if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
arc:Linux:*:* | arceb:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
arm*:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $set_cc_for_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "$set_cc_for_build"
</span> if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_EABI__
then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> else
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_PCS_VFP
then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
</span> else
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
</span> fi
fi
exit ;;
avr32*:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
cris:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-axis-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
</span> exit ;;
crisv32:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-axis-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
</span> exit ;;
e2k:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
frv:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
hexagon:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
i*86:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
</span> exit ;;
ia64:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
k1om:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
m32r*:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
m68*:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
mips:Linux:*:* | mips64:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $set_cc_for_build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sed 's/^ //' << EOF >$dummy.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sed 's/^ //' << EOF > "$dummy.c"
</span> #undef CPU
#undef ${UNAME_MACHINE}
#undef ${UNAME_MACHINE}el
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -979,70 +986,70 @@ EOF
</span> #endif
#endif
EOF
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; }
</span> ;;
mips64el:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
openrisc*:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo or1k-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo or1k-unknown-linux-"$LIBC"
</span> exit ;;
or32:Linux:*:* | or1k*:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
padre:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sparc-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sparc-unknown-linux-"$LIBC"
</span> exit ;;
parisc64:Linux:*:* | hppa64:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo hppa64-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo hppa64-unknown-linux-"$LIBC"
</span> exit ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
<span style='display:block; white-space:pre;background:#ffe0e0;'>- PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *) echo hppa-unknown-linux-${LIBC} ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *) echo hppa-unknown-linux-"$LIBC" ;;
</span> esac
exit ;;
ppc64:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo powerpc64-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo powerpc64-unknown-linux-"$LIBC"
</span> exit ;;
ppc:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo powerpc-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo powerpc-unknown-linux-"$LIBC"
</span> exit ;;
ppc64le:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo powerpc64le-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo powerpc64le-unknown-linux-"$LIBC"
</span> exit ;;
ppcle:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo powerpcle-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo powerpcle-unknown-linux-"$LIBC"
</span> exit ;;
riscv32:Linux:*:* | riscv64:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
</span> exit ;;
sh64*:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
sh*:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
sparc:Linux:*:* | sparc64:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
tile*:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
vax:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-dec-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
</span> exit ;;
x86_64:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
</span> exit ;;
xtensa*:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
</span> exit ;;
i*86:DYNIX/ptx:4*:*)
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1056,34 +1063,34 @@ EOF
</span> # I am not positive that other SVR4 systems won't match this,
# I just have to hope. -- rms.
# Use sysv4.2uw... so that sysv4* matches it.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
</span> exit ;;
i*86:OS/2:*:*)
# If we were able to find `uname', then EMX Unix compatibility
# is probably installed.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-os2-emx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-os2-emx
</span> exit ;;
i*86:XTS-300:*:STOP)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-stop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-stop
</span> exit ;;
i*86:atheos:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-atheos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-atheos
</span> exit ;;
i*86:syllable:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-syllable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-syllable
</span> exit ;;
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo i386-unknown-lynxos${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo i386-unknown-lynxos"$UNAME_RELEASE"
</span> exit ;;
i*86:*DOS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-msdosdjgpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-msdosdjgpp
</span> exit ;;
i*86:*:4.*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
</span> if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
</span> else
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
</span> fi
exit ;;
i*86:*:5:[678]*)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1093,12 +1100,12 @@ EOF
</span> *Pentium) UNAME_MACHINE=i586 ;;
*Pent*|*Celeron) UNAME_MACHINE=i686 ;;
esac
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
</span> exit ;;
i*86:*:3.2:*)
if test -f /usr/options/cb.name; then
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL"
</span> elif /bin/uname -X 2>/dev/null >/dev/null ; then
UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1108,9 +1115,9 @@ EOF
</span> && UNAME_MACHINE=i686
(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
&& UNAME_MACHINE=i686
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
</span> else
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-sysv32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-sysv32
</span> fi
exit ;;
pc:*:*:*)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1130,9 +1137,9 @@ EOF
</span> exit ;;
i860:*:4.*:*) # i860-SVR4
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
</span> else # Add other i860-SVR4 vendors below as they are discovered.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4
</span> fi
exit ;;
mini*:CTIX:SYS*5:*)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1152,9 +1159,9 @@ EOF
</span> test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
</span> /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
</span> 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& { echo i486-ncr-sysv4; exit; } ;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1163,28 +1170,28 @@ EOF
</span> test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
</span> /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
</span> /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
</span> m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m68k-unknown-lynxos${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m68k-unknown-lynxos"$UNAME_RELEASE"
</span> exit ;;
mc68030:UNIX_System_V:4.*:*)
echo m68k-atari-sysv4
exit ;;
TSUNAMI:LynxOS:2.*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sparc-unknown-lynxos${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sparc-unknown-lynxos"$UNAME_RELEASE"
</span> exit ;;
rs6000:LynxOS:2.*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo rs6000-unknown-lynxos${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo rs6000-unknown-lynxos"$UNAME_RELEASE"
</span> exit ;;
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo powerpc-unknown-lynxos${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo powerpc-unknown-lynxos"$UNAME_RELEASE"
</span> exit ;;
SM[BE]S:UNIX_SV:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo mips-dde-sysv${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo mips-dde-sysv"$UNAME_RELEASE"
</span> exit ;;
RM*:ReliantUNIX-*:*:*)
echo mips-sni-sysv4
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1195,7 +1202,7 @@ EOF
</span> *:SINIX-*:*:*)
if uname -p 2>/dev/null >/dev/null ; then
UNAME_MACHINE=`(uname -p) 2>/dev/null`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-sni-sysv4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-sni-sysv4
</span> else
echo ns32k-sni-sysv
fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1215,23 +1222,23 @@ EOF
</span> exit ;;
i*86:VOS:*:*)
# From Paul.Green@stratus.com.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-stratus-vos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-stratus-vos
</span> exit ;;
*:VOS:*:*)
# From Paul.Green@stratus.com.
echo hppa1.1-stratus-vos
exit ;;
mc68*:A/UX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo m68k-apple-aux${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo m68k-apple-aux"$UNAME_RELEASE"
</span> exit ;;
news*:NEWS-OS:6*:*)
echo mips-sony-newsos6
exit ;;
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
if [ -d /usr/nec ]; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo mips-nec-sysv${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo mips-nec-sysv"$UNAME_RELEASE"
</span> else
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo mips-unknown-sysv${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo mips-unknown-sysv"$UNAME_RELEASE"
</span> fi
exit ;;
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1250,39 +1257,39 @@ EOF
</span> echo x86_64-unknown-haiku
exit ;;
SX-4:SUPER-UX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sx4-nec-superux${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sx4-nec-superux"$UNAME_RELEASE"
</span> exit ;;
SX-5:SUPER-UX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sx5-nec-superux${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sx5-nec-superux"$UNAME_RELEASE"
</span> exit ;;
SX-6:SUPER-UX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sx6-nec-superux${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sx6-nec-superux"$UNAME_RELEASE"
</span> exit ;;
SX-7:SUPER-UX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sx7-nec-superux${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sx7-nec-superux"$UNAME_RELEASE"
</span> exit ;;
SX-8:SUPER-UX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sx8-nec-superux${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sx8-nec-superux"$UNAME_RELEASE"
</span> exit ;;
SX-8R:SUPER-UX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sx8r-nec-superux${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sx8r-nec-superux"$UNAME_RELEASE"
</span> exit ;;
SX-ACE:SUPER-UX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo sxace-nec-superux${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo sxace-nec-superux"$UNAME_RELEASE"
</span> exit ;;
Power*:Rhapsody:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo powerpc-apple-rhapsody${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo powerpc-apple-rhapsody"$UNAME_RELEASE"
</span> exit ;;
*:Rhapsody:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
</span> exit ;;
*:Darwin:*:*)
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval $set_cc_for_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "$set_cc_for_build"
</span> if test "$UNAME_PROCESSOR" = unknown ; then
UNAME_PROCESSOR=powerpc
fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
</span> if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1310,7 +1317,7 @@ EOF
</span> # that Apple uses in portable devices.
UNAME_PROCESSOR=x86_64
fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
</span> exit ;;
*:procnto*:*:* | *:QNX:[0123456789]*:*)
UNAME_PROCESSOR=`uname -p`
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1318,22 +1325,25 @@ EOF
</span> UNAME_PROCESSOR=i386
UNAME_MACHINE=pc
fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
</span> exit ;;
*:QNX:*:4*)
echo i386-pc-qnx
exit ;;
NEO-*:NONSTOP_KERNEL:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo neo-tandem-nsk${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo neo-tandem-nsk"$UNAME_RELEASE"
</span> exit ;;
NSE-*:NONSTOP_KERNEL:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo nse-tandem-nsk${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo nse-tandem-nsk"$UNAME_RELEASE"
</span> exit ;;
NSR-*:NONSTOP_KERNEL:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo nsr-tandem-nsk${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo nsr-tandem-nsk"$UNAME_RELEASE"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NSV-*:NONSTOP_KERNEL:*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo nsv-tandem-nsk"$UNAME_RELEASE"
</span> exit ;;
NSX-*:NONSTOP_KERNEL:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo nsx-tandem-nsk${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo nsx-tandem-nsk"$UNAME_RELEASE"
</span> exit ;;
*:NonStop-UX:*:*)
echo mips-compaq-nonstopux
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1342,7 +1352,7 @@ EOF
</span> echo bs2000-siemens-sysv
exit ;;
DS/*:UNIX_System_V:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
</span> exit ;;
*:Plan9:*:*)
# "uname -m" is not consistent, so use $cputype instead. 386
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1353,7 +1363,7 @@ EOF
</span> else
UNAME_MACHINE="$cputype"
fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-plan9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-plan9
</span> exit ;;
*:TOPS-10:*:*)
echo pdp10-unknown-tops10
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1374,14 +1384,14 @@ EOF
</span> echo pdp10-unknown-its
exit ;;
SEI:*:*:SEIUX)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo mips-sei-seiux${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo mips-sei-seiux"$UNAME_RELEASE"
</span> exit ;;
*:DragonFly:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
</span> exit ;;
*:*VMS:*:*)
UNAME_MACHINE=`(uname -p) 2>/dev/null`
<span style='display:block; white-space:pre;background:#ffe0e0;'>- case "${UNAME_MACHINE}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$UNAME_MACHINE" in
</span> A*) echo alpha-dec-vms ; exit ;;
I*) echo ia64-dec-vms ; exit ;;
V*) echo vax-dec-vms ; exit ;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1390,16 +1400,16 @@ EOF
</span> echo i386-pc-xenix
exit ;;
i*86:skyos:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
</span> exit ;;
i*86:rdos:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-rdos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-rdos
</span> exit ;;
i*86:AROS:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-pc-aros
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-pc-aros
</span> exit ;;
x86_64:VMkernel:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo ${UNAME_MACHINE}-unknown-esx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-esx
</span> exit ;;
amd64:Isilon\ OneFS:*:*)
echo x86_64-unknown-onefs
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1408,7 +1418,7 @@ esac
</span>
echo "$0: unable to guess system type" >&2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-case "${UNAME_MACHINE}:${UNAME_SYSTEM}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+case "$UNAME_MACHINE:$UNAME_SYSTEM" in
</span> mips:Linux | mips64:Linux)
# If we got here on MIPS GNU/Linux, output extra information.
cat >&2 <<EOF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1450,16 +1460,16 @@ hostinfo = `(hostinfo) 2>/dev/null`
</span> /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
<span style='display:block; white-space:pre;background:#ffe0e0;'>-UNAME_MACHINE = ${UNAME_MACHINE}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-UNAME_RELEASE = ${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-UNAME_SYSTEM = ${UNAME_SYSTEM}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-UNAME_VERSION = ${UNAME_VERSION}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+UNAME_MACHINE = "$UNAME_MACHINE"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+UNAME_RELEASE = "$UNAME_RELEASE"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+UNAME_SYSTEM = "$UNAME_SYSTEM"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+UNAME_VERSION = "$UNAME_VERSION"
</span> EOF
exit 1
# Local variables:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# eval: (add-hook 'write-file-functions 'time-stamp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# eval: (add-hook 'before-save-hook 'time-stamp)
</span> # time-stamp-start: "timestamp='"
# time-stamp-format: "%:y-%02m-%02d"
# time-stamp-end: "'"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/config.sub b/config.sub
</span><span style='display:block; white-space:pre;color:#808080;'>index 00f68b8..c95acc6 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/config.sub
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/config.sub
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,8 +1,8 @@
</span> #! /bin/sh
# Configuration validation subroutine script.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Copyright 1992-2017 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Copyright 1992-2018 Free Software Foundation, Inc.
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-timestamp='2017-11-23'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+timestamp='2018-07-03'
</span>
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
</span> version="\
GNU config.sub ($timestamp)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-Copyright 1992-2017 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Copyright 1992-2018 Free Software Foundation, Inc.
</span>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -94,7 +94,7 @@ while test $# -gt 0 ; do
</span>
*local*)
# First pass through any local machine types.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo $1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$1"
</span> exit ;;
* )
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -110,131 +110,455 @@ case $# in
</span> exit 1;;
esac
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Here we must recognize all the valid KERNEL-OS combinations.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-case $maybe_os in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- kopensolaris*-gnu* | cloudabi*-eabi* | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- storm-chaos* | os2-emx* | rtmk-nova*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-$maybe_os
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- android-linux)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-linux-android
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed 's/-[^-]*$//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if [ $basic_machine != $1 ]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- then os=`echo $1 | sed 's/.*-/-/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else os=; fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Split fields of configuration type
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+IFS="-" read -r field1 field2 field3 field4 <<EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+$1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+EOF
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-### Let's recognize common machines as not being operating systems so
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-### that things like config.sub decstation-3100 work. We also
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-### recognize some manufacturers as not being operating systems, so we
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-### can provide default operating systems below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-case $os in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -sun*os*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Prevent following clause from handling this invalid input.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -apple | -axis | -knuth | -cray | -microblaze*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -bluegene*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-cnk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -sim | -cisco | -oki | -wec | -winbond)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -scout)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -wrs)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-vxworks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -chorusos*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-chorusos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -chorusrdb)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-chorusrdb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -hiux*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-hiuxwe2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -sco6)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sco5v6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -sco5)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sco3.2v5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -sco4)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sco3.2v4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -sco3.2.[4-9]*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -sco3.2v[4-9]*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Don't forget version if it is 3.2v4 or newer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -sco5v6*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Don't forget version if it is 3.2v4 or newer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -sco*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sco3.2v2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -udk*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -isc)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-isc2.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -clix*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=clipper-intergraph
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -isc*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -lynx*178)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-lynxos178
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -lynx*5)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-lynxos5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Separate into logical components for further validation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+case $1 in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *-*-*-*-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo Invalid configuration \`"$1"\': more than four components >&2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit 1
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -lynx*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-lynxos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *-*-*-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=$field1-$field2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=$field3-$field4
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -ptx*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *-*-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # parts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ maybe_os=$field2-$field3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $maybe_os in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | storm-chaos* | os2-emx* | rtmk-nova*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=$field1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=$maybe_os
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ android-linux)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=$field1-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux-android
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=$field1-$field2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=$field3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -psos*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-psos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Second component is usually, but not always the OS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $field2 in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Prevent following clause from handling this valid os
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun*os*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=$field1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=$field2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Manufacturers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dec* | mips* | sequent* | encore* | pc532* | sgi* | sony* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | unicom* | ibm* | next | hp | isi* | apollo | altos* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | convergent* | ncr* | news | 32* | 3600* | 3100* | hitachi* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | c[123]* | convex* | sun | crds | omron* | dg | ultra | tti* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | harris | dolphin | highlevel | gould | cbm | ns | masscomp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | apple | axis | knuth | cray | microblaze* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | sim | cisco | oki | wec | wrs | winbond)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=$field1-$field2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=$field1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=$field2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -mint | -mint[0-9]*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-atari
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mint
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Convert single-component short-hands not valid as part of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # multi-component configurations.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $field1 in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 386bsd)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a29khif)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=a29k-amd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=udi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ adobe68k)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68010-adobe
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=scout
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ am29k)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=a29k-none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ amdahl)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=580-amdahl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ amigaos | amigados)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=amigaos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ amigaunix | amix)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ apollo68)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-apollo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ apollo68bsd)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-apollo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ aros)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=aros
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ aux)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-apple
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=aux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ balance)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=ns32k-sequent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=dynix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ blackfin)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=bfin-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cegcc)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=arm-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=cegcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cray)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=j90-cray
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=unicos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ craynv)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=craynv-cray
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=unicosmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delta88)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m88k-motorola
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dicos)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i686-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=dicos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ djgpp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i586-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=msdosdjgpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ebmon29k)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=a29k-amd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=ebmon
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ es1800 | OSE68k | ose68k | ose | OSE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-ericsson
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=ose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gmicro)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=tron-gmicro
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ go32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=go32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ h8300hms)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=h8300-hitachi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=hms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ h8300xray)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=h8300-hitachi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=xray
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ h8500hms)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=h8500-hitachi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=hms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ harris)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m88k-harris
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hp300bsd)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hp300hpux)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=hpux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hppaosf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=hppa1.1-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=osf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hppro)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=hppa1.1-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=proelf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i386mach)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-mach
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=mach
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vsta)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=vsta
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ isi68 | isi)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-isi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m68knommu)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ magnum | m3230)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=mips-mips
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ merlin)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=ns32k-utek
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mingw64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=x86_64-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=mingw64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mingw32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i686-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=mingw32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mingw32ce)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=arm-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=mingw32ce
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ monitor)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-rom68k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=coff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ morphos)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=powerpc-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=morphos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ moxiebox)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=moxie-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=moxiebox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ msdos)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=msdos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ msys)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i686-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=msys
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mvs)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i370-ibm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=mvs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nacl)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=le32-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=nacl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ncr3000)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i486-ncr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ netbsd386)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=netbsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ netwinder)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=armv4l-rebel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ news | news700 | news800 | news900)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-sony
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=newsos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ news1000)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68030-sony
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=newsos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ necv70)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=v70-nec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nh3000)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-harris
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=cxux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nh[45]000)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m88k-harris
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=cxux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nindy960)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i960-intel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=nindy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mon960)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i960-intel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=mon960
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nonstopux)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=mips-compaq
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=nonstopux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os400)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=powerpc-ibm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=os400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OSE68000 | ose68000)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68000-ericsson
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=ose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os68k)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=os68k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ paragon)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i860-intel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=osf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parisc)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=hppa-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pw32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i586-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=pw32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rdos | rdos64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=x86_64-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=rdos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rdos32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=rdos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rom68k)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-rom68k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=coff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sa29200)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=a29k-amd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=udi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sei)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=mips-sei
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=seiux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sps7)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-bull
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ stratus)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i860-stratus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun2os3)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68000-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sunos3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun2os4)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68000-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sunos4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun3os3)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sunos3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun3os4)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sunos4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun4os3)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=sparc-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sunos3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun4os4)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=sparc-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sunos4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun4sol2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=sparc-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=solaris2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sv1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=sv1-cray
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=unicos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ symmetry)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-sequent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=dynix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ t3e)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=alphaev5-cray
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=unicos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ t90)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=t90-cray
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=unicos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ toad1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=pdp10-xkl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=tops20
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tpf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=s390x-ibm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=tpf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ udi29k)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=a29k-amd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=udi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ultra3)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=a29k-nyu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sym1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ v810 | necv810)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=v810-nec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vaxv)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=vax-dec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vms)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=vax-dec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=vms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vxworks960)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i960-wrs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=vxworks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vxworks68)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-wrs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=vxworks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vxworks29k)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=a29k-wrs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=vxworks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xbox)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i686-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=mingw32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ymp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=ymp-cray
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=unicos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=$1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span> ;;
esac
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -249,12 +573,12 @@ case $basic_machine in
</span> | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| am33_2.0 \
| arc | arceb \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv6m | armv[78][arm] \
</span> | avr | avr32 \
| ba \
| be32 | be64 \
| bfin \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | c4x | c8051 | clipper \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | c4x | c8051 | clipper | csky \
</span> | d10v | d30v | dlx | dsp16xx \
| e2k | epiphany \
| fido | fr30 | frv | ft32 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -293,14 +617,15 @@ case $basic_machine in
</span> | mt \
| msp430 \
| nds32 | nds32le | nds32be \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ | nfp \
</span> | nios | nios2 | nios2eb | nios2el \
| ns16k | ns32k \
| open8 | or1k | or1knd | or32 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | pdp10 | pdp11 | pj | pjl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | pdp10 | pj | pjl \
</span> | powerpc | powerpc64 | powerpc64le | powerpcle \
| pru \
| pyramid \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | riscv32 | riscv64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | riscv | riscv32 | riscv64 \
</span> | rl78 | rx \
| score \
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -331,20 +656,23 @@ case $basic_machine in
</span> ;;
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
basic_machine=$basic_machine-unknown
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-none}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m9s12z | m68hcs12z | hcs12z | s12z)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=s12z-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-none}
</span> ;;
ms1)
basic_machine=mt-unknown
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> strongarm | thumb | xscale)
basic_machine=arm-unknown
;;
xgate)
basic_machine=$basic_machine-unknown
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-none}
</span> ;;
xscaleeb)
basic_machine=armeb-unknown
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -360,11 +688,6 @@ case $basic_machine in
</span> i*86 | x86_64)
basic_machine=$basic_machine-pc
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Object if more than one company name word.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *-*-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- exit 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> # Recognize the basic CPU types with company name.
580-* \
| a29k-* \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -378,7 +701,7 @@ case $basic_machine in
</span> | be32-* | be64-* \
| bfin-* | bs2000-* \
| c[123]* | c30-* | [cjt]90-* | c4x-* \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | c8051-* | clipper-* | craynv-* | cydra-* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | c8051-* | clipper-* | craynv-* | csky-* | cydra-* \
</span> | d10v-* | d30v-* | dlx-* \
| e2k-* | elxsi-* \
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -419,6 +742,7 @@ case $basic_machine in
</span> | mt-* \
| msp430-* \
| nds32-* | nds32le-* | nds32be-* \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ | nfp-* \
</span> | nios-* | nios2-* | nios2eb-* | nios2el-* \
| none-* | np1-* | ns16k-* | ns32k-* \
| open8-* \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -428,7 +752,7 @@ case $basic_machine in
</span> | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
| pru-* \
| pyramid-* \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | riscv32-* | riscv64-* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | riscv-* | riscv32-* | riscv64-* \
</span> | rl78-* | romp-* | rs6000-* | rx-* \
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -456,141 +780,77 @@ case $basic_machine in
</span> ;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 386bsd)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
basic_machine=m68000-att
;;
3b*)
basic_machine=we32k-att
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- a29khif)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=a29k-amd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-udi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> abacus)
basic_machine=abacus-unknown
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- adobe68k)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68010-adobe
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-scout
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> alliant | fx80)
basic_machine=fx80-alliant
;;
altos | altos3068)
basic_machine=m68k-altos
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- am29k)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=a29k-none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> amd64)
basic_machine=x86_64-pc
;;
amd64-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- amdahl)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=580-amdahl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
amiga | amiga-*)
basic_machine=m68k-unknown
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- amigaos | amigados)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-amigaos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- amigaunix | amix)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- apollo68)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-apollo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- apollo68bsd)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-apollo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- aros)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-aros
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> asmjs)
basic_machine=asmjs-unknown
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- aux)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-apple
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-aux
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- balance)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=ns32k-sequent
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-dynix
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- blackfin)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=bfin-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-linux
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> blackfin-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-linux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux
</span> ;;
bluegene*)
basic_machine=powerpc-ibm
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-cnk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=cnk
</span> ;;
c54x-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
c55x-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
c6x-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
c90)
basic_machine=c90-cray
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-unicos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cegcc)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=arm-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-cegcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-unicos}
</span> ;;
convex-c1)
basic_machine=c1-convex
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span> ;;
convex-c2)
basic_machine=c2-convex
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span> ;;
convex-c32)
basic_machine=c32-convex
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span> ;;
convex-c34)
basic_machine=c34-convex
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span> ;;
convex-c38)
basic_machine=c38-convex
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cray | j90)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=j90-cray
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-unicos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- craynv)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=craynv-cray
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-unicosmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span> ;;
cr16 | cr16-*)
basic_machine=cr16-unknown
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-elf}
</span> ;;
crds | unos)
basic_machine=m68k-crds
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -603,7 +863,7 @@ case $basic_machine in
</span> ;;
crx)
basic_machine=crx-unknown
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-elf}
</span> ;;
da30 | da30-*)
basic_machine=m68k-da30
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -613,58 +873,38 @@ case $basic_machine in
</span> ;;
decsystem10* | dec10*)
basic_machine=pdp10-dec
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-tops10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=tops10
</span> ;;
decsystem20* | dec20*)
basic_machine=pdp10-dec
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-tops20
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=tops20
</span> ;;
delta | 3300 | motorola-3300 | motorola-delta \
| 3300-motorola | delta-motorola)
basic_machine=m68k-motorola
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- delta88)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m88k-motorola
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dicos)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i686-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-dicos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- djgpp)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i586-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-msdosdjgpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> dpx20 | dpx20-*)
basic_machine=rs6000-bull
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bosx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-bosx}
</span> ;;
dpx2*)
basic_machine=m68k-bull
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv3
</span> ;;
e500v[12])
basic_machine=powerpc-unknown
os=$os"spe"
;;
e500v[12]-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> os=$os"spe"
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ebmon29k)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=a29k-amd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-ebmon
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- elxsi)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=elxsi-elxsi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> encore | umax | mmax)
basic_machine=ns32k-encore
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- es1800 | OSE68k | ose68k | ose | OSE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-ericsson
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-ose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ elxsi)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=elxsi-elxsi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-bsd}
</span> ;;
fx2800)
basic_machine=i860-alliant
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -672,45 +912,13 @@ case $basic_machine in
</span> genix)
basic_machine=ns32k-ns
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- gmicro)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=tron-gmicro
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- go32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-go32
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> h3050r* | hiux*)
basic_machine=hppa1.1-hitachi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-hiuxwe2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- h8300hms)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=h8300-hitachi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-hms
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- h8300xray)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=h8300-hitachi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-xray
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- h8500hms)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=h8500-hitachi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-hms
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- harris)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m88k-harris
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=hiuxwe2
</span> ;;
hp300-*)
basic_machine=m68k-hp
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- hp300bsd)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-hp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- hp300hpux)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-hp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-hpux
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> hp3k9[0-9][0-9] | hp9[0-9][0-9])
basic_machine=hppa1.0-hp
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -740,200 +948,82 @@ case $basic_machine in
</span> hp9k8[0-9][0-9] | hp8[0-9][0-9])
basic_machine=hppa1.0-hp
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- hppa-next)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-nextstep3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- hppaosf)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-hp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-osf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- hppro)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-hp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-proelf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> i370-ibm* | ibm*)
basic_machine=i370-ibm
;;
i*86v32)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv32
</span> ;;
i*86v4*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv4
</span> ;;
i*86v)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv
</span> ;;
i*86sol2)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-solaris2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- i386mach)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-mach
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mach
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=solaris2
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- i386-vsta | vsta)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-vsta
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ j90 | j90-cray)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=j90-cray
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-unicos}
</span> ;;
iris | iris4d)
basic_machine=mips-sgi
case $os in
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -irix*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ irix*)
</span> ;;
*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-irix4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=irix4
</span> ;;
esac
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- isi68 | isi)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-isi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> leon-*|leon[3-9]-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- m68knommu)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-linux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
</span> ;;
m68knommu-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-linux
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- m88k-omron*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m88k-omron
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- magnum | m3230)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mips-mips
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- merlin)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=ns32k-utek
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux
</span> ;;
microblaze*)
basic_machine=microblaze-xilinx
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- mingw64)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=x86_64-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mingw64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mingw32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i686-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mingw32
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mingw32ce)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=arm-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mingw32ce
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> miniframe)
basic_machine=m68000-convergent
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*)
</span> basic_machine=m68k-atari
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mint
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=mint
</span> ;;
mips3*-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
</span> ;;
mips3*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- monitor)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-rom68k
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-coff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- morphos)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpc-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-morphos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- moxiebox)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=moxie-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-moxiebox
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- msdos)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-msdos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
</span> ;;
ms1-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- msys)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i686-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-msys
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mvs)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i370-ibm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mvs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- nacl)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=le32-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-nacl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ncr3000)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i486-ncr
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- netbsd386)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-netbsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- netwinder)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=armv4l-rebel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-linux
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- news | news700 | news800 | news900)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-sony
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-newsos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- news1000)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68030-sony
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-newsos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
</span> ;;
news-3600 | risc-news)
basic_machine=mips-sony
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-newsos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- necv70)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=v70-nec
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=newsos
</span> ;;
next | m*-next)
basic_machine=m68k-next
case $os in
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -nextstep* )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nextstep* )
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -ns2*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-nextstep2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ns2*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=nextstep2
</span> ;;
*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-nextstep3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=nextstep3
</span> ;;
esac
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- nh3000)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-harris
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-cxux
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- nh[45]000)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m88k-harris
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-cxux
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- nindy960)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i960-intel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-nindy
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mon960)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i960-intel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mon960
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- nonstopux)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mips-compaq
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-nonstopux
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> np1)
basic_machine=np1-gould
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -946,43 +1036,26 @@ case $basic_machine in
</span> nsr-tandem)
basic_machine=nsr-tandem
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ nsv-tandem)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=nsv-tandem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> nsx-tandem)
basic_machine=nsx-tandem
;;
op50n-* | op60c-*)
basic_machine=hppa1.1-oki
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-proelf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=proelf
</span> ;;
openrisc | openrisc-*)
basic_machine=or32-unknown
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os400)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpc-ibm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-os400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- OSE68000 | ose68000)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68000-ericsson
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-ose
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os68k)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-os68k
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> pa-hitachi)
basic_machine=hppa1.1-hitachi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-hiuxwe2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- paragon)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i860-intel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-osf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- parisc)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-linux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=hiuxwe2
</span> ;;
parisc-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-linux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux
</span> ;;
pbd)
basic_machine=sparc-tti
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -997,7 +1070,7 @@ case $basic_machine in
</span> basic_machine=i386-pc
;;
pc98-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
pentium | p5 | k5 | k6 | nexgen | viac3)
basic_machine=i586-pc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1012,16 +1085,16 @@ case $basic_machine in
</span> basic_machine=i786-pc
;;
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
pentiumpro-* | p6-* | 6x86-* | athlon-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
pentium4-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
pn)
basic_machine=pn-gould
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1031,43 +1104,27 @@ case $basic_machine in
</span> ppc | ppcbe) basic_machine=powerpc-unknown
;;
ppc-* | ppcbe-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
ppcle | powerpclittle)
basic_machine=powerpcle-unknown
;;
ppcle-* | powerpclittle-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
ppc64) basic_machine=powerpc64-unknown
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
ppc64le | powerpc64little)
basic_machine=powerpc64le-unknown
;;
ppc64le-* | powerpc64little-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
ps2)
basic_machine=i386-ibm
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pw32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i586-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-pw32
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rdos | rdos64)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=x86_64-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-rdos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rdos32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-rdos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rom68k)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-rom68k
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-coff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> rm[46]00)
basic_machine=mips-siemens
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1080,10 +1137,6 @@ case $basic_machine in
</span> s390x | s390x-*)
basic_machine=s390x-ibm
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sa29200)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=a29k-amd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-udi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> sb1)
basic_machine=mipsisa64sb1-unknown
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1092,32 +1145,17 @@ case $basic_machine in
</span> ;;
sde)
basic_machine=mipsisa32-sde
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-elf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sei)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mips-sei
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-seiux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-elf}
</span> ;;
sequent)
basic_machine=i386-sequent
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sh)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sh-hitachi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-hms
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> sh5el)
basic_machine=sh5le-unknown
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sh64)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sh64-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sparclite-wrs | simso-wrs)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ simso-wrs)
</span> basic_machine=sparclite-wrs
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-vxworks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sps7)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-bull
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=vxworks
</span> ;;
spur)
basic_machine=spur-unknown
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1125,44 +1163,12 @@ case $basic_machine in
</span> st2000)
basic_machine=m68k-tandem
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- stratus)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i860-stratus
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> strongarm-* | thumb-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span> ;;
sun2)
basic_machine=m68000-sun
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sun2os3)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68000-sun
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sunos3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sun2os4)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68000-sun
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sunos4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sun3os3)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-sun
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sunos3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sun3os4)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-sun
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sunos4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sun4os3)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sparc-sun
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sunos3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sun4os4)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sparc-sun
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sunos4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sun4sol2)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sparc-sun
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-solaris2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> sun3 | sun3-*)
basic_machine=m68k-sun
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1172,25 +1178,9 @@ case $basic_machine in
</span> sun386 | sun386i | roadrunner)
basic_machine=i386-sun
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sv1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sv1-cray
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-unicos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- symmetry)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-sequent
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-dynix
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- t3e)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=alphaev5-cray
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-unicos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- t90)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=t90-cray
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-unicos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> tile*)
basic_machine=$basic_machine-unknown
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-linux-gnu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux-gnu
</span> ;;
tx39)
basic_machine=mipstx39-unknown
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1198,91 +1188,32 @@ case $basic_machine in
</span> tx39el)
basic_machine=mipstx39el-unknown
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- toad1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=pdp10-xkl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-tops20
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> tower | tower-32)
basic_machine=m68k-ncr
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- tpf)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=s390x-ibm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-tpf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- udi29k)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=a29k-amd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-udi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ultra3)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=a29k-nyu
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sym1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- v810 | necv810)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=v810-nec
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- vaxv)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=vax-dec
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- vms)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=vax-dec
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-vms
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> vpp*|vx|vx-*)
basic_machine=f301-fujitsu
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- vxworks960)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i960-wrs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-vxworks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- vxworks68)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-wrs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-vxworks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- vxworks29k)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=a29k-wrs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-vxworks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- wasm32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=wasm32-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> w65*)
basic_machine=w65-wdc
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=none
</span> ;;
w89k-*)
basic_machine=hppa1.1-winbond
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-proelf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=proelf
</span> ;;
x64)
basic_machine=x86_64-pc
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xbox)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i686-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mingw32
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> xps | xps100)
basic_machine=xps100-honeywell
;;
xscale-* | xscalee[bl]-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ymp)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=ymp-cray
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-unicos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- z8k-*-coff)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=z8k-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sim
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- z80-*-coff)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=z80-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sim
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
</span> ;;
none)
basic_machine=none-none
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-none}
</span> ;;
# Here we handle the default manufacturer of certain CPU types. It is in
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1308,10 +1239,6 @@ case $basic_machine in
</span> vax)
basic_machine=vax-dec
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pdp10)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # there are many clones, so DEC is not a safe bet
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=pdp10-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> pdp11)
basic_machine=pdp11-dec
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1321,9 +1248,6 @@ case $basic_machine in
</span> sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
basic_machine=sh-unknown
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sparc-sun
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> cydra)
basic_machine=cydra-cydrome
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1343,7 +1267,7 @@ case $basic_machine in
</span> # Make sure to match an already-canonicalized machine name.
;;
*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
</span> exit 1
;;
esac
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1351,10 +1275,10 @@ esac
</span> # Here we canonicalize certain aliases for manufacturers.
case $basic_machine in
*-digital*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
</span> ;;
*-commodore*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
</span> ;;
*)
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1362,213 +1286,246 @@ esac
</span>
# Decode manufacturer-specific aliases for certain operating systems.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if [ x"$os" != x"" ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if [ x$os != x ]
</span> then
case $os in
# First match some system type aliases that might get confused
# with valid system types.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # -solaris* is a basic system type, with this one exception.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -auroraux)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-auroraux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # solaris* is a basic system type, with this one exception.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ auroraux)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=auroraux
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -solaris1 | -solaris1.*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=`echo $os | sed -e 's|solaris1|sunos4|'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bluegene*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=cnk
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -solaris)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-solaris2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ solaris1 | solaris1.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -svr4*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ solaris)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=solaris2
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -unixware*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv4.2uw
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unixware*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv4.2uw
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -gnu/linux*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gnu/linux*)
</span> os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # es1800 is here to avoid being matched by es* (a different OS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ es1800*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=ose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Some version numbers need modification
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ chorusos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=chorusos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ isc)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=isc2.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sco6)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sco5v6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sco5)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sco3.2v5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sco4)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sco3.2v4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sco3.2.[4-9]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sco3.2v[4-9]* | sco5v6*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Don't forget version if it is 3.2v4 or newer.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ scout)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Don't match below
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sco*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sco3.2v2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ psos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=psos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> # Now accept the basic system types.
# The portable systems comes first.
# Each alternative MUST end in a * to match a version number.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # -sysv* is not here because it comes later, after sysvr4.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -sym* | -kopensolaris* | -plan9* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -aos* | -aros* | -cloudabi* | -sortix* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -linux-newlib* | -linux-musl* | -linux-uclibc* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # sysv* is not here because it comes later, after sysvr4.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | sym* | kopensolaris* | plan9* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | aos* | aros* | cloudabi* | sortix* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | clix* | riscos* | uniplus* | iris* | rtu* | xenix* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | knetbsd* | mirbsd* | netbsd* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | bitrig* | openbsd* | solidbsd* | libertybsd* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | ekkobsd* | kfreebsd* | freebsd* | riscix* | lynxos* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | udi* | eabi* | lites* | ieee* | go32* | aux* | hcos* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | chorusrdb* | cegcc* | glidix* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | cygwin* | msys* | pe* | moss* | proelf* | rtems* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | midipix* | mingw32* | mingw64* | linux-gnu* | linux-android* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | linux-newlib* | linux-musl* | linux-uclibc* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | uxpv* | beos* | mpeix* | udk* | moxiebox* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | interix* | uwin* | mks* | rhapsody* | darwin* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | openstep* | oskit* | conix* | pw32* | nonstopux* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | storm-chaos* | tops10* | tenex* | tops20* | its* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | os2* | vos* | palmos* | uclinux* | nucleus* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | morphos* | superux* | rtmk* | windiss* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | skyos* | haiku* | rdos* | toppers* | drops* | es* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | midnightbsd*)
</span> # Remember, each alternative MUST END IN *, to match a version number.
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -qnx*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qnx*)
</span> case $basic_machine in
x86-* | i*86-*)
;;
*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-nto$os
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=nto-$os
</span> ;;
esac
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -nto-qnx*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hiux*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=hiuxwe2
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -nto*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=`echo $os | sed -e 's|nto|nto-qnx|'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nto-qnx*)
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nto*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -mac*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=`echo $os | sed -e 's|mac|macos|'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sim | xray | os68k* | v88r* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | windows* | osx | abug | netware* | os9* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | macos* | mpw* | magic* | mmixware* | mon960* | lnews*)
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -linux-dietlibc)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-linux-dietlibc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ linux-dietlibc)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux-dietlibc
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -linux*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ linux*)
</span> os=`echo $os | sed -e 's|linux|linux-gnu|'`
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -sunos5*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=`echo $os | sed -e 's|sunos5|solaris2|'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lynx*178)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=lynxos178
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -sunos6*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=`echo $os | sed -e 's|sunos6|solaris3|'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lynx*5)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=lynxos5
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -opened*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-openedition
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lynx*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=lynxos
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -os400*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-os400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mac*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=`echo "$os" | sed -e 's|mac|macos|'`
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -wince*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-wince
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ opened*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=openedition
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -osfrose*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-osfrose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os400*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=os400
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -osf*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-osf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sunos5*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -utek*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sunos6*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -dynix*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wince*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=wince
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -acis*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-aos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ utek*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -atheos*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-atheos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dynix*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -syllable*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-syllable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ acis*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=aos
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -386bsd)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ atheos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=atheos
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -ctix* | -uts*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ syllable*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=syllable
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -nova*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-rtmk-nova
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 386bsd)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -ns2)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-nextstep2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ctix* | uts*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -nsk*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-nsk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nova*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=rtmk-nova
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Preserve the version number of sinix5.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -sinix5.*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=`echo $os | sed -e 's|sinix|sysv|'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ns2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=nextstep2
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -sinix*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nsk*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=nsk
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -tpf*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-tpf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -triton*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Preserve the version number of sinix5.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sinix5.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=`echo $os | sed -e 's|sinix|sysv|'`
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -oss*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sinix*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv4
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -svr4)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tpf*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=tpf
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -svr3)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ triton*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv3
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -sysvr4)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ oss*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv3
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # This must come after -sysvr4.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -sysv*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ svr4*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv4
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -ose*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-ose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ svr3)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv3
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -es1800*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-ose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sysvr4)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv4
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -xenix)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-xenix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # This must come after sysvr4.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sysv*)
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mint
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ose*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=ose
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -aros*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-aros
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *mint | mint[0-9]* | *MiNT | MiNT[0-9]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=mint
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -zvmoe)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-zvmoe
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ zvmoe)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=zvmoe
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -dicos*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-dicos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dicos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=dicos
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -pikeos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pikeos*)
</span> # Until real need of OS specific support for
# particular features comes up, bare metal
# configurations are quite functional.
case $basic_machine in
arm*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-eabi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=eabi
</span> ;;
*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=elf
</span> ;;
esac
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -nacl*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nacl*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ios)
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -ios)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ none)
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -none)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *-eabi)
</span> ;;
*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Get rid of the `-' at the beginning of $os.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=`echo $os | sed 's/[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
</span> exit 1
;;
esac
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1586,179 +1543,179 @@ else
</span>
case $basic_machine in
score-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=elf
</span> ;;
spu-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=elf
</span> ;;
*-acorn)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-riscix1.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=riscix1.2
</span> ;;
arm*-rebel)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-linux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux
</span> ;;
arm*-semi)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-aout
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=aout
</span> ;;
c4x-* | tic4x-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-coff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=coff
</span> ;;
c8051-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clipper-intergraph)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=clix
</span> ;;
hexagon-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=elf
</span> ;;
tic54x-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-coff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=coff
</span> ;;
tic55x-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-coff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=coff
</span> ;;
tic6x-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-coff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=coff
</span> ;;
# This must come before the *-dec entry.
pdp10-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-tops20
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=tops20
</span> ;;
pdp11-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=none
</span> ;;
*-dec | vax-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-ultrix4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=ultrix4.2
</span> ;;
m68*-apollo)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-domain
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=domain
</span> ;;
i386-sun)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sunos4.0.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sunos4.0.2
</span> ;;
m68000-sun)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sunos3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sunos3
</span> ;;
m68*-cisco)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-aout
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=aout
</span> ;;
mep-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=elf
</span> ;;
mips*-cisco)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=elf
</span> ;;
mips*-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=elf
</span> ;;
or32-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-coff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=coff
</span> ;;
*-tti) # must be before sparc entry or we get the wrong os.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv3
</span> ;;
sparc-* | *-sun)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sunos4.1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sunos4.1.1
</span> ;;
pru-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=elf
</span> ;;
*-be)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-beos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *-haiku)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-haiku
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=beos
</span> ;;
*-ibm)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-aix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=aix
</span> ;;
*-knuth)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mmixware
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=mmixware
</span> ;;
*-wec)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-proelf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=proelf
</span> ;;
*-winbond)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-proelf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=proelf
</span> ;;
*-oki)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-proelf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=proelf
</span> ;;
*-hp)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-hpux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=hpux
</span> ;;
*-hitachi)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-hiux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=hiux
</span> ;;
i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv
</span> ;;
*-cbm)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-amigaos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=amigaos
</span> ;;
*-dg)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-dgux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=dgux
</span> ;;
*-dolphin)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv3
</span> ;;
m68k-ccur)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-rtu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=rtu
</span> ;;
m88k-omron*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-luna
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=luna
</span> ;;
*-next)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-nextstep
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=nextstep
</span> ;;
*-sequent)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-ptx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=ptx
</span> ;;
*-crds)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-unos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=unos
</span> ;;
*-ns)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-genix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=genix
</span> ;;
i370-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mvs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *-next)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-nextstep3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=mvs
</span> ;;
*-gould)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv
</span> ;;
*-highlevel)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span> ;;
*-encore)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span> ;;
*-sgi)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-irix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=irix
</span> ;;
*-siemens)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-sysv4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=sysv4
</span> ;;
*-masscomp)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-rtu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=rtu
</span> ;;
f30[01]-fujitsu | f700-fujitsu)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-uxpv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=uxpv
</span> ;;
*-rom68k)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-coff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=coff
</span> ;;
*-*bug)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-coff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=coff
</span> ;;
*-apple)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-macos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=macos
</span> ;;
*-atari*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-mint
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=mint
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *-wrs)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=vxworks
</span> ;;
*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- os=-none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=none
</span> ;;
esac
fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1769,79 +1726,82 @@ vendor=unknown
</span> case $basic_machine in
*-unknown)
case $os in
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -riscix*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ riscix*)
</span> vendor=acorn
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -sunos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sunos*)
</span> vendor=sun
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -cnk*|-aix*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cnk*|-aix*)
</span> vendor=ibm
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -beos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ beos*)
</span> vendor=be
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -hpux*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hpux*)
</span> vendor=hp
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -mpeix*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mpeix*)
</span> vendor=hp
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -hiux*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hiux*)
</span> vendor=hitachi
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -unos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unos*)
</span> vendor=crds
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -dgux*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dgux*)
</span> vendor=dg
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -luna*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ luna*)
</span> vendor=omron
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -genix*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ genix*)
</span> vendor=ns
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -mvs* | -opened*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clix*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=intergraph
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mvs* | opened*)
</span> vendor=ibm
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -os400*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os400*)
</span> vendor=ibm
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -ptx*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ptx*)
</span> vendor=sequent
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -tpf*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tpf*)
</span> vendor=ibm
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -vxsim* | -vxworks* | -windiss*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vxsim* | vxworks* | windiss*)
</span> vendor=wrs
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -aux*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ aux*)
</span> vendor=apple
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -hms*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hms*)
</span> vendor=hitachi
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -mpw* | -macos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mpw* | macos*)
</span> vendor=apple
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *mint | mint[0-9]* | *MiNT | MiNT[0-9]*)
</span> vendor=atari
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -vos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vos*)
</span> vendor=stratus
;;
esac
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
</span> ;;
esac
<span style='display:block; white-space:pre;background:#ffe0e0;'>-echo $basic_machine$os
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+echo "$basic_machine-$os"
</span> exit
# Local variables:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# eval: (add-hook 'write-file-functions 'time-stamp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# eval: (add-hook 'before-save-hook 'time-stamp)
</span> # time-stamp-start: "timestamp='"
# time-stamp-format: "%:y-%02m-%02d"
# time-stamp-end: "'"
</pre><pre style='margin:0'>
</pre>