Blame SOURCES/virt-top-aarch64.patch

4d0a92
diff -urN virt-top-1.0.8/config.guess virt-top-1.0.8-aarch64/config.guess
4d0a92
--- virt-top-1.0.8/config.guess	2010-10-30 07:14:16.000000000 -0500
4d0a92
+++ virt-top-1.0.8-aarch64/config.guess	2013-03-08 09:26:43.180421787 -0600
4d0a92
@@ -1,10 +1,10 @@
4d0a92
 #! /bin/sh
4d0a92
 # Attempt to guess a canonical system name.
4d0a92
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4d0a92
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
4d0a92
-#   Inc.
4d0a92
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
4d0a92
+#   2011, 2012 Free Software Foundation, Inc.
4d0a92
 
4d0a92
-timestamp='2006-07-02'
4d0a92
+timestamp='2012-09-25'
4d0a92
 
4d0a92
 # This file is free software; you can redistribute it and/or modify it
4d0a92
 # under the terms of the GNU General Public License as published by
4d0a92
@@ -17,9 +17,7 @@
4d0a92
 # General Public License for more details.
4d0a92
 #
4d0a92
 # You should have received a copy of the GNU General Public License
4d0a92
-# along with this program; if not, write to the Free Software
4d0a92
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
4d0a92
-# 02110-1301, USA.
4d0a92
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
4d0a92
 #
4d0a92
 # As a special exception to the GNU General Public License, if you
4d0a92
 # distribute this file as part of a program that contains a
4d0a92
@@ -27,16 +25,16 @@
4d0a92
 # the same distribution terms that you use for the rest of that program.
4d0a92
 
4d0a92
 
4d0a92
-# Originally written by Per Bothner <per@bothner.com>.
4d0a92
-# Please send patches to <config-patches@gnu.org>.  Submit a context
4d0a92
-# diff and a properly formatted ChangeLog entry.
4d0a92
+# Originally written by Per Bothner.  Please send patches (context
4d0a92
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
4d0a92
+# entry.
4d0a92
 #
4d0a92
 # This script attempts to guess a canonical system name similar to
4d0a92
 # config.sub.  If it succeeds, it prints the system name on stdout, and
4d0a92
 # exits with 0.  Otherwise, it exits with 1.
4d0a92
 #
4d0a92
-# The plan is that this can be called by configure scripts if you
4d0a92
-# don't specify an explicit build system type.
4d0a92
+# You can get the latest version of this script from:
4d0a92
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
4d0a92
 
4d0a92
 me=`echo "$0" | sed -e 's,.*/,,'`
4d0a92
 
4d0a92
@@ -56,7 +54,8 @@
4d0a92
 GNU config.guess ($timestamp)
4d0a92
 
4d0a92
 Originally written by Per Bothner.
4d0a92
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4d0a92
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
4d0a92
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
4d0a92
 Free Software Foundation, Inc.
4d0a92
 
4d0a92
 This is free software; see the source for copying conditions.  There is NO
4d0a92
@@ -144,7 +143,7 @@
4d0a92
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4d0a92
     *:NetBSD:*:*)
4d0a92
 	# NetBSD (nbsd) targets should (where applicable) match one or
4d0a92
-	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
4d0a92
+	# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
4d0a92
 	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
4d0a92
 	# switched to ELF, *-*-netbsd* would select the old
4d0a92
 	# object file format.  This provides both forward
4d0a92
@@ -161,6 +160,7 @@
4d0a92
 	    arm*) machine=arm-unknown ;;
4d0a92
 	    sh3el) machine=shl-unknown ;;
4d0a92
 	    sh3eb) machine=sh-unknown ;;
4d0a92
+	    sh5el) machine=sh5le-unknown ;;
4d0a92
 	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
4d0a92
 	esac
4d0a92
 	# The Operating System including object format, if it has switched
4d0a92
@@ -169,7 +169,7 @@
4d0a92
 	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
4d0a92
 		eval $set_cc_for_build
4d0a92
 		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
4d0a92
-			| grep __ELF__ >/dev/null
4d0a92
+			| grep -q __ELF__
4d0a92
 		then
4d0a92
 		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
4d0a92
 		    # Return netbsd for either.  FIX?
4d0a92
@@ -179,7 +179,7 @@
4d0a92
 		fi
4d0a92
 		;;
4d0a92
 	    *)
4d0a92
-	        os=netbsd
4d0a92
+		os=netbsd
4d0a92
 		;;
4d0a92
 	esac
4d0a92
 	# The OS release
4d0a92
@@ -200,6 +200,10 @@
4d0a92
 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
4d0a92
 	echo "${machine}-${os}${release}"
4d0a92
 	exit ;;
4d0a92
+    *:Bitrig:*:*)
4d0a92
+	UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
4d0a92
+	echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
4d0a92
+	exit ;;
4d0a92
     *:OpenBSD:*:*)
4d0a92
 	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
4d0a92
 	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
4d0a92
@@ -222,7 +226,7 @@
4d0a92
 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
4d0a92
 		;;
4d0a92
 	*5.*)
4d0a92
-	        UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
4d0a92
+		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
4d0a92
 		;;
4d0a92
 	esac
4d0a92
 	# According to Compaq, /usr/sbin/psrinfo has been available on
4d0a92
@@ -268,7 +272,10 @@
4d0a92
 	# A Xn.n version is an unreleased experimental baselevel.
4d0a92
 	# 1.2 uses "1.2" for uname -r.
4d0a92
 	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
4d0a92
-	exit ;;
4d0a92
+	# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
4d0a92
+	exitcode=$?
4d0a92
+	trap '' 0
4d0a92
+	exit $exitcode ;;
4d0a92
     Alpha\ *:Windows_NT*:*)
4d0a92
 	# How do we know it's Interix rather than the generic POSIX subsystem?
4d0a92
 	# Should we change UNAME_MACHINE based on the output of uname instead
4d0a92
@@ -294,12 +301,12 @@
4d0a92
 	echo s390-ibm-zvmoe
4d0a92
 	exit ;;
4d0a92
     *:OS400:*:*)
4d0a92
-        echo powerpc-ibm-os400
4d0a92
+	echo powerpc-ibm-os400
4d0a92
 	exit ;;
4d0a92
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
4d0a92
 	echo arm-acorn-riscix${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
-    arm:riscos:*:*|arm:RISCOS:*:*)
4d0a92
+    arm*:riscos:*:*|arm*:RISCOS:*:*)
4d0a92
 	echo arm-unknown-riscos
4d0a92
 	exit ;;
4d0a92
     SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
4d0a92
@@ -323,14 +330,33 @@
4d0a92
 	case `/usr/bin/uname -p` in
4d0a92
 	    sparc) echo sparc-icl-nx7; exit ;;
4d0a92
 	esac ;;
4d0a92
+    s390x:SunOS:*:*)
4d0a92
+	echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4d0a92
+	exit ;;
4d0a92
     sun4H:SunOS:5.*:*)
4d0a92
 	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4d0a92
 	exit ;;
4d0a92
     sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
4d0a92
 	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4d0a92
 	exit ;;
4d0a92
-    i86pc:SunOS:5.*:*)
4d0a92
-	echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4d0a92
+    i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
4d0a92
+	echo i386-pc-auroraux${UNAME_RELEASE}
4d0a92
+	exit ;;
4d0a92
+    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
4d0a92
+	eval $set_cc_for_build
4d0a92
+	SUN_ARCH="i386"
4d0a92
+	# If there is a compiler, see if it is configured for 64-bit objects.
4d0a92
+	# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
4d0a92
+	# This test works for both compilers.
4d0a92
+	if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
4d0a92
+	    if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
4d0a92
+		(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
4d0a92
+		grep IS_64BIT_ARCH >/dev/null
4d0a92
+	    then
4d0a92
+		SUN_ARCH="x86_64"
4d0a92
+	    fi
4d0a92
+	fi
4d0a92
+	echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4d0a92
 	exit ;;
4d0a92
     sun4*:SunOS:6*:*)
4d0a92
 	# According to config.sub, this is the proper way to canonicalize
4d0a92
@@ -374,23 +400,23 @@
4d0a92
     # MiNT.  But MiNT is downward compatible to TOS, so this should
4d0a92
     # be no problem.
4d0a92
     atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
4d0a92
-        echo m68k-atari-mint${UNAME_RELEASE}
4d0a92
+	echo m68k-atari-mint${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
     atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
4d0a92
 	echo m68k-atari-mint${UNAME_RELEASE}
4d0a92
-        exit ;;
4d0a92
+	exit ;;
4d0a92
     *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
4d0a92
-        echo m68k-atari-mint${UNAME_RELEASE}
4d0a92
+	echo m68k-atari-mint${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
     milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
4d0a92
-        echo m68k-milan-mint${UNAME_RELEASE}
4d0a92
-        exit ;;
4d0a92
+	echo m68k-milan-mint${UNAME_RELEASE}
4d0a92
+	exit ;;
4d0a92
     hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
4d0a92
-        echo m68k-hades-mint${UNAME_RELEASE}
4d0a92
-        exit ;;
4d0a92
+	echo m68k-hades-mint${UNAME_RELEASE}
4d0a92
+	exit ;;
4d0a92
     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
4d0a92
-        echo m68k-unknown-mint${UNAME_RELEASE}
4d0a92
-        exit ;;
4d0a92
+	echo m68k-unknown-mint${UNAME_RELEASE}
4d0a92
+	exit ;;
4d0a92
     m68k:machten:*:*)
4d0a92
 	echo m68k-apple-machten${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
@@ -460,8 +486,8 @@
4d0a92
 	echo m88k-motorola-sysv3
4d0a92
 	exit ;;
4d0a92
     AViiON:dgux:*:*)
4d0a92
-        # DG/UX returns AViiON for all architectures
4d0a92
-        UNAME_PROCESSOR=`/usr/bin/uname -p`
4d0a92
+	# DG/UX returns AViiON for all architectures
4d0a92
+	UNAME_PROCESSOR=`/usr/bin/uname -p`
4d0a92
 	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
4d0a92
 	then
4d0a92
 	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
4d0a92
@@ -474,7 +500,7 @@
4d0a92
 	else
4d0a92
 	    echo i586-dg-dgux${UNAME_RELEASE}
4d0a92
 	fi
4d0a92
- 	exit ;;
4d0a92
+	exit ;;
4d0a92
     M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
4d0a92
 	echo m88k-dolphin-sysv3
4d0a92
 	exit ;;
4d0a92
@@ -531,7 +557,7 @@
4d0a92
 		echo rs6000-ibm-aix3.2
4d0a92
 	fi
4d0a92
 	exit ;;
4d0a92
-    *:AIX:*:[45])
4d0a92
+    *:AIX:*:[4567])
4d0a92
 	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
4d0a92
 	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
4d0a92
 		IBM_ARCH=rs6000
4d0a92
@@ -574,52 +600,52 @@
4d0a92
 	    9000/[678][0-9][0-9])
4d0a92
 		if [ -x /usr/bin/getconf ]; then
4d0a92
 		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
4d0a92
-                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
4d0a92
-                    case "${sc_cpu_version}" in
4d0a92
-                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
4d0a92
-                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
4d0a92
-                      532)                      # CPU_PA_RISC2_0
4d0a92
-                        case "${sc_kernel_bits}" in
4d0a92
-                          32) HP_ARCH="hppa2.0n" ;;
4d0a92
-                          64) HP_ARCH="hppa2.0w" ;;
4d0a92
+		    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
4d0a92
+		    case "${sc_cpu_version}" in
4d0a92
+		      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
4d0a92
+		      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
4d0a92
+		      532)                      # CPU_PA_RISC2_0
4d0a92
+			case "${sc_kernel_bits}" in
4d0a92
+			  32) HP_ARCH="hppa2.0n" ;;
4d0a92
+			  64) HP_ARCH="hppa2.0w" ;;
4d0a92
 			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
4d0a92
-                        esac ;;
4d0a92
-                    esac
4d0a92
+			esac ;;
4d0a92
+		    esac
4d0a92
 		fi
4d0a92
 		if [ "${HP_ARCH}" = "" ]; then
4d0a92
 		    eval $set_cc_for_build
4d0a92
-		    sed 's/^              //' << EOF >$dummy.c
4d0a92
+		    sed 's/^		//' << EOF >$dummy.c
4d0a92
 
4d0a92
-              #define _HPUX_SOURCE
4d0a92
-              #include <stdlib.h>
4d0a92
-              #include <unistd.h>
4d0a92
-
4d0a92
-              int main ()
4d0a92
-              {
4d0a92
-              #if defined(_SC_KERNEL_BITS)
4d0a92
-                  long bits = sysconf(_SC_KERNEL_BITS);
4d0a92
-              #endif
4d0a92
-                  long cpu  = sysconf (_SC_CPU_VERSION);
4d0a92
-
4d0a92
-                  switch (cpu)
4d0a92
-              	{
4d0a92
-              	case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
4d0a92
-              	case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
4d0a92
-              	case CPU_PA_RISC2_0:
4d0a92
-              #if defined(_SC_KERNEL_BITS)
4d0a92
-              	    switch (bits)
4d0a92
-              		{
4d0a92
-              		case 64: puts ("hppa2.0w"); break;
4d0a92
-              		case 32: puts ("hppa2.0n"); break;
4d0a92
-              		default: puts ("hppa2.0"); break;
4d0a92
-              		} break;
4d0a92
-              #else  /* !defined(_SC_KERNEL_BITS) */
4d0a92
-              	    puts ("hppa2.0"); break;
4d0a92
-              #endif
4d0a92
-              	default: puts ("hppa1.0"); break;
4d0a92
-              	}
4d0a92
-                  exit (0);
4d0a92
-              }
4d0a92
+		#define _HPUX_SOURCE
4d0a92
+		#include <stdlib.h>
4d0a92
+		#include <unistd.h>
4d0a92
+
4d0a92
+		int main ()
4d0a92
+		{
4d0a92
+		#if defined(_SC_KERNEL_BITS)
4d0a92
+		    long bits = sysconf(_SC_KERNEL_BITS);
4d0a92
+		#endif
4d0a92
+		    long cpu  = sysconf (_SC_CPU_VERSION);
4d0a92
+
4d0a92
+		    switch (cpu)
4d0a92
+			{
4d0a92
+			case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
4d0a92
+			case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
4d0a92
+			case CPU_PA_RISC2_0:
4d0a92
+		#if defined(_SC_KERNEL_BITS)
4d0a92
+			    switch (bits)
4d0a92
+				{
4d0a92
+				case 64: puts ("hppa2.0w"); break;
4d0a92
+				case 32: puts ("hppa2.0n"); break;
4d0a92
+				default: puts ("hppa2.0"); break;
4d0a92
+				} break;
4d0a92
+		#else  /* !defined(_SC_KERNEL_BITS) */
4d0a92
+			    puts ("hppa2.0"); break;
4d0a92
+		#endif
4d0a92
+			default: puts ("hppa1.0"); break;
4d0a92
+			}
4d0a92
+		    exit (0);
4d0a92
+		}
4d0a92
 EOF
4d0a92
 		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
4d0a92
 		    test -z "$HP_ARCH" && HP_ARCH=hppa
4d0a92
@@ -639,7 +665,7 @@
4d0a92
 	    # => hppa64-hp-hpux11.23
4d0a92
 
4d0a92
 	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
4d0a92
-		grep __LP64__ >/dev/null
4d0a92
+		grep -q __LP64__
4d0a92
 	    then
4d0a92
 		HP_ARCH="hppa2.0w"
4d0a92
 	    else
4d0a92
@@ -710,22 +736,22 @@
4d0a92
 	exit ;;
4d0a92
     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
4d0a92
 	echo c1-convex-bsd
4d0a92
-        exit ;;
4d0a92
+	exit ;;
4d0a92
     C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
4d0a92
 	if getsysinfo -f scalar_acc
4d0a92
 	then echo c32-convex-bsd
4d0a92
 	else echo c2-convex-bsd
4d0a92
 	fi
4d0a92
-        exit ;;
4d0a92
+	exit ;;
4d0a92
     C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
4d0a92
 	echo c34-convex-bsd
4d0a92
-        exit ;;
4d0a92
+	exit ;;
4d0a92
     C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
4d0a92
 	echo c38-convex-bsd
4d0a92
-        exit ;;
4d0a92
+	exit ;;
4d0a92
     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
4d0a92
 	echo c4-convex-bsd
4d0a92
-        exit ;;
4d0a92
+	exit ;;
4d0a92
     CRAY*Y-MP:*:*:*)
4d0a92
 	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
4d0a92
 	exit ;;
4d0a92
@@ -749,14 +775,14 @@
4d0a92
 	exit ;;
4d0a92
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
4d0a92
 	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
4d0a92
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
4d0a92
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
4d0a92
-        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
4d0a92
-        exit ;;
4d0a92
+	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
4d0a92
+	FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
4d0a92
+	echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
4d0a92
+	exit ;;
4d0a92
     5000:UNIX_System_V:4.*:*)
4d0a92
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
4d0a92
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
4d0a92
-        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
4d0a92
+	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
4d0a92
+	FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
4d0a92
+	echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
4d0a92
 	exit ;;
4d0a92
     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
4d0a92
@@ -768,37 +794,51 @@
4d0a92
 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
     *:FreeBSD:*:*)
4d0a92
-	case ${UNAME_MACHINE} in
4d0a92
-	    pc98)
4d0a92
-		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
4d0a92
+	UNAME_PROCESSOR=`/usr/bin/uname -p`
4d0a92
+	case ${UNAME_PROCESSOR} in
4d0a92
 	    amd64)
4d0a92
 		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
4d0a92
 	    *)
4d0a92
-		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
4d0a92
+		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
4d0a92
 	esac
4d0a92
 	exit ;;
4d0a92
     i*:CYGWIN*:*)
4d0a92
 	echo ${UNAME_MACHINE}-pc-cygwin
4d0a92
 	exit ;;
4d0a92
-    i*:MINGW*:*)
4d0a92
+    *:MINGW64*:*)
4d0a92
+	echo ${UNAME_MACHINE}-pc-mingw64
4d0a92
+	exit ;;
4d0a92
+    *:MINGW*:*)
4d0a92
 	echo ${UNAME_MACHINE}-pc-mingw32
4d0a92
 	exit ;;
4d0a92
+    i*:MSYS*:*)
4d0a92
+	echo ${UNAME_MACHINE}-pc-msys
4d0a92
+	exit ;;
4d0a92
     i*:windows32*:*)
4d0a92
-    	# uname -m includes "-pc" on this system.
4d0a92
-    	echo ${UNAME_MACHINE}-mingw32
4d0a92
+	# uname -m includes "-pc" on this system.
4d0a92
+	echo ${UNAME_MACHINE}-mingw32
4d0a92
 	exit ;;
4d0a92
     i*:PW*:*)
4d0a92
 	echo ${UNAME_MACHINE}-pc-pw32
4d0a92
 	exit ;;
4d0a92
-    x86:Interix*:[3456]*)
4d0a92
-	echo i586-pc-interix${UNAME_RELEASE}
4d0a92
-	exit ;;
4d0a92
-    EM64T:Interix*:[3456]*)
4d0a92
-	echo x86_64-unknown-interix${UNAME_RELEASE}
4d0a92
-	exit ;;
4d0a92
+    *:Interix*:*)
4d0a92
+	case ${UNAME_MACHINE} in
4d0a92
+	    x86)
4d0a92
+		echo i586-pc-interix${UNAME_RELEASE}
4d0a92
+		exit ;;
4d0a92
+	    authenticamd | genuineintel | EM64T)
4d0a92
+		echo x86_64-unknown-interix${UNAME_RELEASE}
4d0a92
+		exit ;;
4d0a92
+	    IA64)
4d0a92
+		echo ia64-unknown-interix${UNAME_RELEASE}
4d0a92
+		exit ;;
4d0a92
+	esac ;;
4d0a92
     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
4d0a92
 	echo i${UNAME_MACHINE}-pc-mks
4d0a92
 	exit ;;
4d0a92
+    8664:Windows_NT:*)
4d0a92
+	echo x86_64-pc-mks
4d0a92
+	exit ;;
4d0a92
     i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
4d0a92
 	# How do we know it's Interix rather than the generic POSIX subsystem?
4d0a92
 	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
4d0a92
@@ -828,20 +868,68 @@
4d0a92
     i*86:Minix:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-pc-minix
4d0a92
 	exit ;;
4d0a92
-    arm*:Linux:*:*)
4d0a92
+    aarch64:Linux:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
 	exit ;;
4d0a92
+    aarch64_be:Linux:*:*)
4d0a92
+	UNAME_MACHINE=aarch64_be
4d0a92
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
+	exit ;;
4d0a92
+    alpha:Linux:*:*)
4d0a92
+	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
4d0a92
+	  EV5)   UNAME_MACHINE=alphaev5 ;;
4d0a92
+	  EV56)  UNAME_MACHINE=alphaev56 ;;
4d0a92
+	  PCA56) UNAME_MACHINE=alphapca56 ;;
4d0a92
+	  PCA57) UNAME_MACHINE=alphapca56 ;;
4d0a92
+	  EV6)   UNAME_MACHINE=alphaev6 ;;
4d0a92
+	  EV67)  UNAME_MACHINE=alphaev67 ;;
4d0a92
+	  EV68*) UNAME_MACHINE=alphaev68 ;;
4d0a92
+	esac
4d0a92
+	objdump --private-headers /bin/sh | grep -q ld.so.1
4d0a92
+	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
4d0a92
+	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
4d0a92
+	exit ;;
4d0a92
+    arm*:Linux:*:*)
4d0a92
+	eval $set_cc_for_build
4d0a92
+	if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
4d0a92
+	    | grep -q __ARM_EABI__
4d0a92
+	then
4d0a92
+	    echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
+	else
4d0a92
+	    if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
4d0a92
+		| grep -q __ARM_PCS_VFP
4d0a92
+	    then
4d0a92
+		echo ${UNAME_MACHINE}-unknown-linux-gnueabi
4d0a92
+	    else
4d0a92
+		echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
4d0a92
+	    fi
4d0a92
+	fi
4d0a92
+	exit ;;
4d0a92
     avr32*:Linux:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
 	exit ;;
4d0a92
     cris:Linux:*:*)
4d0a92
-	echo cris-axis-linux-gnu
4d0a92
+	echo ${UNAME_MACHINE}-axis-linux-gnu
4d0a92
 	exit ;;
4d0a92
     crisv32:Linux:*:*)
4d0a92
-	echo crisv32-axis-linux-gnu
4d0a92
+	echo ${UNAME_MACHINE}-axis-linux-gnu
4d0a92
 	exit ;;
4d0a92
     frv:Linux:*:*)
4d0a92
-    	echo frv-unknown-linux-gnu
4d0a92
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
+	exit ;;
4d0a92
+    hexagon:Linux:*:*)
4d0a92
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
+	exit ;;
4d0a92
+    i*86:Linux:*:*)
4d0a92
+	LIBC=gnu
4d0a92
+	eval $set_cc_for_build
4d0a92
+	sed 's/^	//' << EOF >$dummy.c
4d0a92
+	#ifdef __dietlibc__
4d0a92
+	LIBC=dietlibc
4d0a92
+	#endif
4d0a92
+EOF
4d0a92
+	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
4d0a92
+	echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
4d0a92
 	exit ;;
4d0a92
     ia64:Linux:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
@@ -852,74 +940,33 @@
4d0a92
     m68*:Linux:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
 	exit ;;
4d0a92
-    mips:Linux:*:*)
4d0a92
-	eval $set_cc_for_build
4d0a92
-	sed 's/^	//' << EOF >$dummy.c
4d0a92
-	#undef CPU
4d0a92
-	#undef mips
4d0a92
-	#undef mipsel
4d0a92
-	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
4d0a92
-	CPU=mipsel
4d0a92
-	#else
4d0a92
-	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
4d0a92
-	CPU=mips
4d0a92
-	#else
4d0a92
-	CPU=
4d0a92
-	#endif
4d0a92
-	#endif
4d0a92
-EOF
4d0a92
-	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
4d0a92
-	    /^CPU/{
4d0a92
-		s: ::g
4d0a92
-		p
4d0a92
-	    }'`"
4d0a92
-	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
4d0a92
-	;;
4d0a92
-    mips64:Linux:*:*)
4d0a92
+    mips:Linux:*:* | mips64:Linux:*:*)
4d0a92
 	eval $set_cc_for_build
4d0a92
 	sed 's/^	//' << EOF >$dummy.c
4d0a92
 	#undef CPU
4d0a92
-	#undef mips64
4d0a92
-	#undef mips64el
4d0a92
+	#undef ${UNAME_MACHINE}
4d0a92
+	#undef ${UNAME_MACHINE}el
4d0a92
 	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
4d0a92
-	CPU=mips64el
4d0a92
+	CPU=${UNAME_MACHINE}el
4d0a92
 	#else
4d0a92
 	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
4d0a92
-	CPU=mips64
4d0a92
+	CPU=${UNAME_MACHINE}
4d0a92
 	#else
4d0a92
 	CPU=
4d0a92
 	#endif
4d0a92
 	#endif
4d0a92
 EOF
4d0a92
-	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
4d0a92
-	    /^CPU/{
4d0a92
-		s: ::g
4d0a92
-		p
4d0a92
-	    }'`"
4d0a92
+	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
4d0a92
 	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
4d0a92
 	;;
4d0a92
     or32:Linux:*:*)
4d0a92
-	echo or32-unknown-linux-gnu
4d0a92
-	exit ;;
4d0a92
-    ppc:Linux:*:*)
4d0a92
-	echo powerpc-unknown-linux-gnu
4d0a92
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
 	exit ;;
4d0a92
-    ppc64:Linux:*:*)
4d0a92
-	echo powerpc64-unknown-linux-gnu
4d0a92
+    padre:Linux:*:*)
4d0a92
+	echo sparc-unknown-linux-gnu
4d0a92
 	exit ;;
4d0a92
-    alpha:Linux:*:*)
4d0a92
-	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
4d0a92
-	  EV5)   UNAME_MACHINE=alphaev5 ;;
4d0a92
-	  EV56)  UNAME_MACHINE=alphaev56 ;;
4d0a92
-	  PCA56) UNAME_MACHINE=alphapca56 ;;
4d0a92
-	  PCA57) UNAME_MACHINE=alphapca56 ;;
4d0a92
-	  EV6)   UNAME_MACHINE=alphaev6 ;;
4d0a92
-	  EV67)  UNAME_MACHINE=alphaev67 ;;
4d0a92
-	  EV68*) UNAME_MACHINE=alphaev68 ;;
4d0a92
-        esac
4d0a92
-	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
4d0a92
-	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
4d0a92
-	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
4d0a92
+    parisc64:Linux:*:* | hppa64:Linux:*:*)
4d0a92
+	echo hppa64-unknown-linux-gnu
4d0a92
 	exit ;;
4d0a92
     parisc:Linux:*:* | hppa:Linux:*:*)
4d0a92
 	# Look for CPU level
4d0a92
@@ -929,14 +976,17 @@
4d0a92
 	  *)    echo hppa-unknown-linux-gnu ;;
4d0a92
 	esac
4d0a92
 	exit ;;
4d0a92
-    parisc64:Linux:*:* | hppa64:Linux:*:*)
4d0a92
-	echo hppa64-unknown-linux-gnu
4d0a92
+    ppc64:Linux:*:*)
4d0a92
+	echo powerpc64-unknown-linux-gnu
4d0a92
+	exit ;;
4d0a92
+    ppc:Linux:*:*)
4d0a92
+	echo powerpc-unknown-linux-gnu
4d0a92
 	exit ;;
4d0a92
     s390:Linux:*:* | s390x:Linux:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-ibm-linux
4d0a92
 	exit ;;
4d0a92
     sh64*:Linux:*:*)
4d0a92
-    	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
 	exit ;;
4d0a92
     sh*:Linux:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
@@ -944,75 +994,18 @@
4d0a92
     sparc:Linux:*:* | sparc64:Linux:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
 	exit ;;
4d0a92
+    tile*:Linux:*:*)
4d0a92
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
+	exit ;;
4d0a92
     vax:Linux:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-dec-linux-gnu
4d0a92
 	exit ;;
4d0a92
     x86_64:Linux:*:*)
4d0a92
-	echo x86_64-unknown-linux-gnu
4d0a92
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
+	exit ;;
4d0a92
+    xtensa*:Linux:*:*)
4d0a92
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
4d0a92
 	exit ;;
4d0a92
-    i*86:Linux:*:*)
4d0a92
-	# The BFD linker knows what the default object file format is, so
4d0a92
-	# first see if it will tell us. cd to the root directory to prevent
4d0a92
-	# problems with other programs or directories called `ld' in the path.
4d0a92
-	# Set LC_ALL=C to ensure ld outputs messages in English.
4d0a92
-	ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
4d0a92
-			 | sed -ne '/supported targets:/!d
4d0a92
-				    s/[ 	][ 	]*/ /g
4d0a92
-				    s/.*supported targets: *//
4d0a92
-				    s/ .*//
4d0a92
-				    p'`
4d0a92
-        case "$ld_supported_targets" in
4d0a92
-	  elf32-i386)
4d0a92
-		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
4d0a92
-		;;
4d0a92
-	  a.out-i386-linux)
4d0a92
-		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
4d0a92
-		exit ;;
4d0a92
-	  coff-i386)
4d0a92
-		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
4d0a92
-		exit ;;
4d0a92
-	  "")
4d0a92
-		# Either a pre-BFD a.out linker (linux-gnuoldld) or
4d0a92
-		# one that does not give us useful --help.
4d0a92
-		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
4d0a92
-		exit ;;
4d0a92
-	esac
4d0a92
-	# Determine whether the default compiler is a.out or elf
4d0a92
-	eval $set_cc_for_build
4d0a92
-	sed 's/^	//' << EOF >$dummy.c
4d0a92
-	#include <features.h>
4d0a92
-	#ifdef __ELF__
4d0a92
-	# ifdef __GLIBC__
4d0a92
-	#  if __GLIBC__ >= 2
4d0a92
-	LIBC=gnu
4d0a92
-	#  else
4d0a92
-	LIBC=gnulibc1
4d0a92
-	#  endif
4d0a92
-	# else
4d0a92
-	LIBC=gnulibc1
4d0a92
-	# endif
4d0a92
-	#else
4d0a92
-	#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
4d0a92
-	LIBC=gnu
4d0a92
-	#else
4d0a92
-	LIBC=gnuaout
4d0a92
-	#endif
4d0a92
-	#endif
4d0a92
-	#ifdef __dietlibc__
4d0a92
-	LIBC=dietlibc
4d0a92
-	#endif
4d0a92
-EOF
4d0a92
-	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
4d0a92
-	    /^LIBC/{
4d0a92
-		s: ::g
4d0a92
-		p
4d0a92
-	    }'`"
4d0a92
-	test x"${LIBC}" != x && {
4d0a92
-		echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
4d0a92
-		exit
4d0a92
-	}
4d0a92
-	test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
4d0a92
-	;;
4d0a92
     i*86:DYNIX/ptx:4*:*)
4d0a92
 	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
4d0a92
 	# earlier versions are messed up and put the nodename in both
4d0a92
@@ -1020,11 +1013,11 @@
4d0a92
 	echo i386-sequent-sysv4
4d0a92
 	exit ;;
4d0a92
     i*86:UNIX_SV:4.2MP:2.*)
4d0a92
-        # Unixware is an offshoot of SVR4, but it has its own version
4d0a92
-        # number series starting with 2...
4d0a92
-        # I am not positive that other SVR4 systems won't match this,
4d0a92
+	# Unixware is an offshoot of SVR4, but it has its own version
4d0a92
+	# number series starting with 2...
4d0a92
+	# I am not positive that other SVR4 systems won't match this,
4d0a92
 	# I just have to hope.  -- rms.
4d0a92
-        # Use sysv4.2uw... so that sysv4* matches it.
4d0a92
+	# Use sysv4.2uw... so that sysv4* matches it.
4d0a92
 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
4d0a92
 	exit ;;
4d0a92
     i*86:OS/2:*:*)
4d0a92
@@ -1041,7 +1034,7 @@
4d0a92
     i*86:syllable:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-pc-syllable
4d0a92
 	exit ;;
4d0a92
-    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
4d0a92
+    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
4d0a92
 	echo i386-unknown-lynxos${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
     i*86:*DOS:*:*)
4d0a92
@@ -1056,7 +1049,7 @@
4d0a92
 	fi
4d0a92
 	exit ;;
4d0a92
     i*86:*:5:[678]*)
4d0a92
-    	# UnixWare 7.x, OpenUNIX and OpenServer 6.
4d0a92
+	# UnixWare 7.x, OpenUNIX and OpenServer 6.
4d0a92
 	case `/bin/uname -X | grep "^Machine"` in
4d0a92
 	    *486*)	     UNAME_MACHINE=i486 ;;
4d0a92
 	    *Pentium)	     UNAME_MACHINE=i586 ;;
4d0a92
@@ -1084,10 +1077,13 @@
4d0a92
 	exit ;;
4d0a92
     pc:*:*:*)
4d0a92
 	# Left here for compatibility:
4d0a92
-        # uname -m prints for DJGPP always 'pc', but it prints nothing about
4d0a92
-        # the processor, so we play safe by assuming i386.
4d0a92
-	echo i386-pc-msdosdjgpp
4d0a92
-        exit ;;
4d0a92
+	# uname -m prints for DJGPP always 'pc', but it prints nothing about
4d0a92
+	# the processor, so we play safe by assuming i586.
4d0a92
+	# Note: whatever this is, it MUST be the same as what config.sub
4d0a92
+	# prints for the "djgpp" host, or else GDB configury will decide that
4d0a92
+	# this is a cross-build.
4d0a92
+	echo i586-pc-msdosdjgpp
4d0a92
+	exit ;;
4d0a92
     Intel:Mach:3*:*)
4d0a92
 	echo i386-pc-mach3
4d0a92
 	exit ;;
4d0a92
@@ -1122,8 +1118,18 @@
4d0a92
 	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
4d0a92
 	  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
4d0a92
     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
4d0a92
-        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
4d0a92
-          && { echo i486-ncr-sysv4; exit; } ;;
4d0a92
+	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
4d0a92
+	  && { echo i486-ncr-sysv4; exit; } ;;
4d0a92
+    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
4d0a92
+	OS_REL='.3'
4d0a92
+	test -r /etc/.relid \
4d0a92
+	    && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
4d0a92
+	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
4d0a92
+	    && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
4d0a92
+	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
4d0a92
+	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
4d0a92
+	/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
4d0a92
+	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
4d0a92
     m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
4d0a92
 	echo m68k-unknown-lynxos${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
@@ -1136,7 +1142,7 @@
4d0a92
     rs6000:LynxOS:2.*:*)
4d0a92
 	echo rs6000-unknown-lynxos${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
-    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
4d0a92
+    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
4d0a92
 	echo powerpc-unknown-lynxos${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
     SM[BE]S:UNIX_SV:*:*)
4d0a92
@@ -1156,10 +1162,10 @@
4d0a92
 		echo ns32k-sni-sysv
4d0a92
 	fi
4d0a92
 	exit ;;
4d0a92
-    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
4d0a92
-                      # says <Richard.M.Bartel@ccMail.Census.GOV>
4d0a92
-        echo i586-unisys-sysv4
4d0a92
-        exit ;;
4d0a92
+    PENTIUM:*:4.0*:*)	# Unisys `ClearPath HMP IX 4000' SVR4/MP effort
4d0a92
+			# says <Richard.M.Bartel@ccMail.Census.GOV>
4d0a92
+	echo i586-unisys-sysv4
4d0a92
+	exit ;;
4d0a92
     *:UNIX_System_V:4*:FTX*)
4d0a92
 	# From Gerald Hewes <hewes@openmarket.com>.
4d0a92
 	# How about differentiating between stratus architectures? -djm
4d0a92
@@ -1185,11 +1191,11 @@
4d0a92
 	exit ;;
4d0a92
     R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
4d0a92
 	if [ -d /usr/nec ]; then
4d0a92
-	        echo mips-nec-sysv${UNAME_RELEASE}
4d0a92
+		echo mips-nec-sysv${UNAME_RELEASE}
4d0a92
 	else
4d0a92
-	        echo mips-unknown-sysv${UNAME_RELEASE}
4d0a92
+		echo mips-unknown-sysv${UNAME_RELEASE}
4d0a92
 	fi
4d0a92
-        exit ;;
4d0a92
+	exit ;;
4d0a92
     BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
4d0a92
 	echo powerpc-be-beos
4d0a92
 	exit ;;
4d0a92
@@ -1199,6 +1205,12 @@
4d0a92
     BePC:BeOS:*:*)	# BeOS running on Intel PC compatible.
4d0a92
 	echo i586-pc-beos
4d0a92
 	exit ;;
4d0a92
+    BePC:Haiku:*:*)	# Haiku running on Intel PC compatible.
4d0a92
+	echo i586-pc-haiku
4d0a92
+	exit ;;
4d0a92
+    x86_64:Haiku:*:*)
4d0a92
+	echo x86_64-unknown-haiku
4d0a92
+	exit ;;
4d0a92
     SX-4:SUPER-UX:*:*)
4d0a92
 	echo sx4-nec-superux${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
@@ -1208,6 +1220,15 @@
4d0a92
     SX-6:SUPER-UX:*:*)
4d0a92
 	echo sx6-nec-superux${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
+    SX-7:SUPER-UX:*:*)
4d0a92
+	echo sx7-nec-superux${UNAME_RELEASE}
4d0a92
+	exit ;;
4d0a92
+    SX-8:SUPER-UX:*:*)
4d0a92
+	echo sx8-nec-superux${UNAME_RELEASE}
4d0a92
+	exit ;;
4d0a92
+    SX-8R:SUPER-UX:*:*)
4d0a92
+	echo sx8r-nec-superux${UNAME_RELEASE}
4d0a92
+	exit ;;
4d0a92
     Power*:Rhapsody:*:*)
4d0a92
 	echo powerpc-apple-rhapsody${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
@@ -1217,6 +1238,16 @@
4d0a92
     *:Darwin:*:*)
4d0a92
 	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
4d0a92
 	case $UNAME_PROCESSOR in
4d0a92
+	    i386)
4d0a92
+		eval $set_cc_for_build
4d0a92
+		if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
4d0a92
+		  if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
4d0a92
+		      (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
4d0a92
+		      grep IS_64BIT_ARCH >/dev/null
4d0a92
+		  then
4d0a92
+		      UNAME_PROCESSOR="x86_64"
4d0a92
+		  fi
4d0a92
+		fi ;;
4d0a92
 	    unknown) UNAME_PROCESSOR=powerpc ;;
4d0a92
 	esac
4d0a92
 	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
4d0a92
@@ -1232,7 +1263,10 @@
4d0a92
     *:QNX:*:4*)
4d0a92
 	echo i386-pc-qnx
4d0a92
 	exit ;;
4d0a92
-    NSE-?:NONSTOP_KERNEL:*:*)
4d0a92
+    NEO-?:NONSTOP_KERNEL:*:*)
4d0a92
+	echo neo-tandem-nsk${UNAME_RELEASE}
4d0a92
+	exit ;;
4d0a92
+    NSE-*:NONSTOP_KERNEL:*:*)
4d0a92
 	echo nse-tandem-nsk${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
     NSR-?:NONSTOP_KERNEL:*:*)
4d0a92
@@ -1277,13 +1311,13 @@
4d0a92
 	echo pdp10-unknown-its
4d0a92
 	exit ;;
4d0a92
     SEI:*:*:SEIUX)
4d0a92
-        echo mips-sei-seiux${UNAME_RELEASE}
4d0a92
+	echo mips-sei-seiux${UNAME_RELEASE}
4d0a92
 	exit ;;
4d0a92
     *:DragonFly:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
4d0a92
 	exit ;;
4d0a92
     *:*VMS:*:*)
4d0a92
-    	UNAME_MACHINE=`(uname -p) 2>/dev/null`
4d0a92
+	UNAME_MACHINE=`(uname -p) 2>/dev/null`
4d0a92
 	case "${UNAME_MACHINE}" in
4d0a92
 	    A*) echo alpha-dec-vms ; exit ;;
4d0a92
 	    I*) echo ia64-dec-vms ; exit ;;
4d0a92
@@ -1298,11 +1332,14 @@
4d0a92
     i*86:rdos:*:*)
4d0a92
 	echo ${UNAME_MACHINE}-pc-rdos
4d0a92
 	exit ;;
4d0a92
+    i*86:AROS:*:*)
4d0a92
+	echo ${UNAME_MACHINE}-pc-aros
4d0a92
+	exit ;;
4d0a92
+    x86_64:VMkernel:*:*)
4d0a92
+	echo ${UNAME_MACHINE}-unknown-esx
4d0a92
+	exit ;;
4d0a92
 esac
4d0a92
 
4d0a92
-#echo '(No uname command or uname output not recognized.)' 1>&2
4d0a92
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
4d0a92
-
4d0a92
 eval $set_cc_for_build
4d0a92
 cat >$dummy.c <
4d0a92
 #ifdef _SEQUENT_
4d0a92
@@ -1320,11 +1357,11 @@
4d0a92
 #include <sys/param.h>
4d0a92
   printf ("m68k-sony-newsos%s\n",
4d0a92
 #ifdef NEWSOS4
4d0a92
-          "4"
4d0a92
+	"4"
4d0a92
 #else
4d0a92
-	  ""
4d0a92
+	""
4d0a92
 #endif
4d0a92
-         ); exit (0);
4d0a92
+	); exit (0);
4d0a92
 #endif
4d0a92
 #endif
4d0a92
 
4d0a92
@@ -1458,9 +1495,9 @@
4d0a92
 the operating system you are using. It is advised that you
4d0a92
 download the most up to date version of the config scripts from
4d0a92
 
4d0a92
-  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
4d0a92
+  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
4d0a92
 and
4d0a92
-  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
4d0a92
+  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
4d0a92
 
4d0a92
 If the version you run ($0) is already up to date, please
4d0a92
 send the following data and any information you think might be
4d0a92
diff -urN virt-top-1.0.8/config.sub virt-top-1.0.8-aarch64/config.sub
4d0a92
--- virt-top-1.0.8/config.sub	2010-10-30 07:14:16.000000000 -0500
4d0a92
+++ virt-top-1.0.8-aarch64/config.sub	2013-03-08 09:26:43.217417530 -0600
4d0a92
@@ -1,10 +1,10 @@
4d0a92
 #! /bin/sh
4d0a92
 # Configuration validation subroutine script.
4d0a92
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4d0a92
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
4d0a92
-#   Inc.
4d0a92
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
4d0a92
+#   2011, 2012 Free Software Foundation, Inc.
4d0a92
 
4d0a92
-timestamp='2006-09-20'
4d0a92
+timestamp='2012-10-10'
4d0a92
 
4d0a92
 # This file is (in principle) common to ALL GNU software.
4d0a92
 # The presence of a machine in this file suggests that SOME GNU software
4d0a92
@@ -21,9 +21,7 @@
4d0a92
 # GNU General Public License for more details.
4d0a92
 #
4d0a92
 # You should have received a copy of the GNU General Public License
4d0a92
-# along with this program; if not, write to the Free Software
4d0a92
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
4d0a92
-# 02110-1301, USA.
4d0a92
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
4d0a92
 #
4d0a92
 # As a special exception to the GNU General Public License, if you
4d0a92
 # distribute this file as part of a program that contains a
4d0a92
@@ -32,13 +30,16 @@
4d0a92
 
4d0a92
 
4d0a92
 # Please send patches to <config-patches@gnu.org>.  Submit a context
4d0a92
-# diff and a properly formatted ChangeLog entry.
4d0a92
+# diff and a properly formatted GNU ChangeLog entry.
4d0a92
 #
4d0a92
 # Configuration subroutine to validate and canonicalize a configuration type.
4d0a92
 # Supply the specified configuration type as an argument.
4d0a92
 # If it is invalid, we print an error message on stderr and exit with code 1.
4d0a92
 # Otherwise, we print the canonical config type on stdout and succeed.
4d0a92
 
4d0a92
+# You can get the latest version of this script from:
4d0a92
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
4d0a92
+
4d0a92
 # This file is supposed to be the same for all GNU packages
4d0a92
 # and recognize all the CPU types, system types and aliases
4d0a92
 # that are meaningful with *any* GNU software.
4d0a92
@@ -72,7 +73,8 @@
4d0a92
 version="\
4d0a92
 GNU config.sub ($timestamp)
4d0a92
 
4d0a92
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4d0a92
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
4d0a92
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
4d0a92
 Free Software Foundation, Inc.
4d0a92
 
4d0a92
 This is free software; see the source for copying conditions.  There is NO
4d0a92
@@ -120,12 +122,18 @@
4d0a92
 # Here we must recognize all the valid KERNEL-OS combinations.
4d0a92
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
4d0a92
 case $maybe_os in
4d0a92
-  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
4d0a92
-  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
4d0a92
+  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
4d0a92
+  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
4d0a92
+  knetbsd*-gnu* | netbsd*-gnu* | \
4d0a92
+  kopensolaris*-gnu* | \
4d0a92
   storm-chaos* | os2-emx* | rtmk-nova*)
4d0a92
     os=-$maybe_os
4d0a92
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
4d0a92
     ;;
4d0a92
+  android-linux)
4d0a92
+    os=-linux-android
4d0a92
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
4d0a92
+    ;;
4d0a92
   *)
4d0a92
     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
4d0a92
     if [ $basic_machine != $1 ]
4d0a92
@@ -148,10 +156,13 @@
4d0a92
 	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
4d0a92
 	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
4d0a92
 	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
4d0a92
-	-apple | -axis | -knuth | -cray)
4d0a92
+	-apple | -axis | -knuth | -cray | -microblaze*)
4d0a92
 		os=
4d0a92
 		basic_machine=$1
4d0a92
 		;;
4d0a92
+	-bluegene*)
4d0a92
+		os=-cnk
4d0a92
+		;;
4d0a92
 	-sim | -cisco | -oki | -wec | -winbond)
4d0a92
 		os=
4d0a92
 		basic_machine=$1
4d0a92
@@ -166,10 +177,10 @@
4d0a92
 		os=-chorusos
4d0a92
 		basic_machine=$1
4d0a92
 		;;
4d0a92
- 	-chorusrdb)
4d0a92
- 		os=-chorusrdb
4d0a92
+	-chorusrdb)
4d0a92
+		os=-chorusrdb
4d0a92
 		basic_machine=$1
4d0a92
- 		;;
4d0a92
+		;;
4d0a92
 	-hiux*)
4d0a92
 		os=-hiuxwe2
4d0a92
 		;;
4d0a92
@@ -214,6 +225,12 @@
4d0a92
 	-isc*)
4d0a92
 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
4d0a92
 		;;
4d0a92
+	-lynx*178)
4d0a92
+		os=-lynxos178
4d0a92
+		;;
4d0a92
+	-lynx*5)
4d0a92
+		os=-lynxos5
4d0a92
+		;;
4d0a92
 	-lynx*)
4d0a92
 		os=-lynxos
4d0a92
 		;;
4d0a92
@@ -238,24 +255,32 @@
4d0a92
 	# Some are omitted here because they have special meanings below.
4d0a92
 	1750a | 580 \
4d0a92
 	| a29k \
4d0a92
+	| aarch64 | aarch64_be \
4d0a92
 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
4d0a92
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
4d0a92
 	| am33_2.0 \
4d0a92
 	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
4d0a92
+        | be32 | be64 \
4d0a92
 	| bfin \
4d0a92
 	| c4x | clipper \
4d0a92
 	| d10v | d30v | dlx | dsp16xx \
4d0a92
-	| fr30 | frv \
4d0a92
+	| epiphany \
4d0a92
+	| fido | fr30 | frv \
4d0a92
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
4d0a92
+	| hexagon \
4d0a92
 	| i370 | i860 | i960 | ia64 \
4d0a92
 	| ip2k | iq2000 \
4d0a92
+	| le32 | le64 \
4d0a92
+	| lm32 \
4d0a92
 	| m32c | m32r | m32rle | m68000 | m68k | m88k \
4d0a92
-	| maxq | mb | microblaze | mcore \
4d0a92
+	| maxq | mb | microblaze | microblazeel | mcore | mep | metag \
4d0a92
 	| mips | mipsbe | mipseb | mipsel | mipsle \
4d0a92
 	| mips16 \
4d0a92
 	| mips64 | mips64el \
4d0a92
-	| mips64vr | mips64vrel \
4d0a92
+	| mips64octeon | mips64octeonel \
4d0a92
 	| mips64orion | mips64orionel \
4d0a92
+	| mips64r5900 | mips64r5900el \
4d0a92
+	| mips64vr | mips64vrel \
4d0a92
 	| mips64vr4100 | mips64vr4100el \
4d0a92
 	| mips64vr4300 | mips64vr4300el \
4d0a92
 	| mips64vr5000 | mips64vr5000el \
4d0a92
@@ -268,29 +293,42 @@
4d0a92
 	| mipsisa64sr71k | mipsisa64sr71kel \
4d0a92
 	| mipstx39 | mipstx39el \
4d0a92
 	| mn10200 | mn10300 \
4d0a92
+	| moxie \
4d0a92
 	| mt \
4d0a92
 	| msp430 \
4d0a92
+	| nds32 | nds32le | nds32be \
4d0a92
 	| nios | nios2 \
4d0a92
 	| ns16k | ns32k \
4d0a92
+	| open8 \
4d0a92
 	| or32 \
4d0a92
 	| pdp10 | pdp11 | pj | pjl \
4d0a92
-	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
4d0a92
+	| powerpc | powerpc64 | powerpc64le | powerpcle \
4d0a92
 	| pyramid \
4d0a92
+	| rl78 | rx \
4d0a92
 	| score \
4d0a92
-	| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
4d0a92
+	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
4d0a92
 	| sh64 | sh64le \
4d0a92
 	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
4d0a92
 	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
4d0a92
-	| spu | strongarm \
4d0a92
-	| tahoe | thumb | tic4x | tic80 | tron \
4d0a92
-	| v850 | v850e \
4d0a92
+	| spu \
4d0a92
+	| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
4d0a92
+	| ubicom32 \
4d0a92
+	| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
4d0a92
 	| we32k \
4d0a92
-	| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
4d0a92
-	| z8k)
4d0a92
+	| x86 | xc16x | xstormy16 | xtensa \
4d0a92
+	| z8k | z80)
4d0a92
 		basic_machine=$basic_machine-unknown
4d0a92
 		;;
4d0a92
-	m6811 | m68hc11 | m6812 | m68hc12)
4d0a92
-		# Motorola 68HC11/12.
4d0a92
+	c54x)
4d0a92
+		basic_machine=tic54x-unknown
4d0a92
+		;;
4d0a92
+	c55x)
4d0a92
+		basic_machine=tic55x-unknown
4d0a92
+		;;
4d0a92
+	c6x)
4d0a92
+		basic_machine=tic6x-unknown
4d0a92
+		;;
4d0a92
+	m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
4d0a92
 		basic_machine=$basic_machine-unknown
4d0a92
 		os=-none
4d0a92
 		;;
4d0a92
@@ -300,6 +338,21 @@
4d0a92
 		basic_machine=mt-unknown
4d0a92
 		;;
4d0a92
 
4d0a92
+	strongarm | thumb | xscale)
4d0a92
+		basic_machine=arm-unknown
4d0a92
+		;;
4d0a92
+	xgate)
4d0a92
+		basic_machine=$basic_machine-unknown
4d0a92
+		os=-none
4d0a92
+		;;
4d0a92
+	xscaleeb)
4d0a92
+		basic_machine=armeb-unknown
4d0a92
+		;;
4d0a92
+
4d0a92
+	xscaleel)
4d0a92
+		basic_machine=armel-unknown
4d0a92
+		;;
4d0a92
+
4d0a92
 	# We use `pc' rather than `unknown'
4d0a92
 	# because (1) that's what they normally are, and
4d0a92
 	# (2) the word "unknown" tends to confuse beginning users.
4d0a92
@@ -314,29 +367,37 @@
4d0a92
 	# Recognize the basic CPU types with company name.
4d0a92
 	580-* \
4d0a92
 	| a29k-* \
4d0a92
+	| aarch64-* | aarch64_be-* \
4d0a92
 	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
4d0a92
 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
4d0a92
 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
4d0a92
 	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
4d0a92
 	| avr-* | avr32-* \
4d0a92
+	| be32-* | be64-* \
4d0a92
 	| bfin-* | bs2000-* \
4d0a92
-	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
4d0a92
+	| c[123]* | c30-* | [cjt]90-* | c4x-* \
4d0a92
 	| clipper-* | craynv-* | cydra-* \
4d0a92
 	| d10v-* | d30v-* | dlx-* \
4d0a92
 	| elxsi-* \
4d0a92
-	| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
4d0a92
+	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
4d0a92
 	| h8300-* | h8500-* \
4d0a92
 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
4d0a92
+	| hexagon-* \
4d0a92
 	| i*86-* | i860-* | i960-* | ia64-* \
4d0a92
 	| ip2k-* | iq2000-* \
4d0a92
+	| le32-* | le64-* \
4d0a92
+	| lm32-* \
4d0a92
 	| m32c-* | m32r-* | m32rle-* \
4d0a92
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
4d0a92
-	| m88110-* | m88k-* | maxq-* | mcore-* \
4d0a92
+	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
4d0a92
+	| microblaze-* | microblazeel-* \
4d0a92
 	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
4d0a92
 	| mips16-* \
4d0a92
 	| mips64-* | mips64el-* \
4d0a92
-	| mips64vr-* | mips64vrel-* \
4d0a92
+	| mips64octeon-* | mips64octeonel-* \
4d0a92
 	| mips64orion-* | mips64orionel-* \
4d0a92
+	| mips64r5900-* | mips64r5900el-* \
4d0a92
+	| mips64vr-* | mips64vrel-* \
4d0a92
 	| mips64vr4100-* | mips64vr4100el-* \
4d0a92
 	| mips64vr4300-* | mips64vr4300el-* \
4d0a92
 	| mips64vr5000-* | mips64vr5000el-* \
4d0a92
@@ -351,27 +412,36 @@
4d0a92
 	| mmix-* \
4d0a92
 	| mt-* \
4d0a92
 	| msp430-* \
4d0a92
+	| nds32-* | nds32le-* | nds32be-* \
4d0a92
 	| nios-* | nios2-* \
4d0a92
 	| none-* | np1-* | ns16k-* | ns32k-* \
4d0a92
+	| open8-* \
4d0a92
 	| orion-* \
4d0a92
 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
4d0a92
-	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
4d0a92
+	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
4d0a92
 	| pyramid-* \
4d0a92
-	| romp-* | rs6000-* \
4d0a92
-	| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
4d0a92
+	| rl78-* | romp-* | rs6000-* | rx-* \
4d0a92
+	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
4d0a92
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
4d0a92
 	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
4d0a92
 	| sparclite-* \
4d0a92
-	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
4d0a92
-	| tahoe-* | thumb-* \
4d0a92
+	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
4d0a92
+	| tahoe-* \
4d0a92
 	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
4d0a92
+	| tile*-* \
4d0a92
 	| tron-* \
4d0a92
-	| v850-* | v850e-* | vax-* \
4d0a92
+	| ubicom32-* \
4d0a92
+	| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
4d0a92
+	| vax-* \
4d0a92
 	| we32k-* \
4d0a92
-	| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
4d0a92
-	| xstormy16-* | xtensa-* \
4d0a92
+	| x86-* | x86_64-* | xc16x-* | xps100-* \
4d0a92
+	| xstormy16-* | xtensa*-* \
4d0a92
 	| ymp-* \
4d0a92
-	| z8k-*)
4d0a92
+	| z8k-* | z80-*)
4d0a92
+		;;
4d0a92
+	# Recognize the basic CPU types without company name, with glob match.
4d0a92
+	xtensa*)
4d0a92
+		basic_machine=$basic_machine-unknown
4d0a92
 		;;
4d0a92
 	# Recognize the various machine names and aliases which stand
4d0a92
 	# for a CPU type and a company and sometimes even an OS.
4d0a92
@@ -389,7 +459,7 @@
4d0a92
 		basic_machine=a29k-amd
4d0a92
 		os=-udi
4d0a92
 		;;
4d0a92
-    	abacus)
4d0a92
+	abacus)
4d0a92
 		basic_machine=abacus-unknown
4d0a92
 		;;
4d0a92
 	adobe68k)
4d0a92
@@ -435,6 +505,10 @@
4d0a92
 		basic_machine=m68k-apollo
4d0a92
 		os=-bsd
4d0a92
 		;;
4d0a92
+	aros)
4d0a92
+		basic_machine=i386-pc
4d0a92
+		os=-aros
4d0a92
+		;;
4d0a92
 	aux)
4d0a92
 		basic_machine=m68k-apple
4d0a92
 		os=-aux
4d0a92
@@ -443,10 +517,35 @@
4d0a92
 		basic_machine=ns32k-sequent
4d0a92
 		os=-dynix
4d0a92
 		;;
4d0a92
+	blackfin)
4d0a92
+		basic_machine=bfin-unknown
4d0a92
+		os=-linux
4d0a92
+		;;
4d0a92
+	blackfin-*)
4d0a92
+		basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
4d0a92
+		os=-linux
4d0a92
+		;;
4d0a92
+	bluegene*)
4d0a92
+		basic_machine=powerpc-ibm
4d0a92
+		os=-cnk
4d0a92
+		;;
4d0a92
+	c54x-*)
4d0a92
+		basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
4d0a92
+		;;
4d0a92
+	c55x-*)
4d0a92
+		basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
4d0a92
+		;;
4d0a92
+	c6x-*)
4d0a92
+		basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
4d0a92
+		;;
4d0a92
 	c90)
4d0a92
 		basic_machine=c90-cray
4d0a92
 		os=-unicos
4d0a92
 		;;
4d0a92
+	cegcc)
4d0a92
+		basic_machine=arm-unknown
4d0a92
+		os=-cegcc
4d0a92
+		;;
4d0a92
 	convex-c1)
4d0a92
 		basic_machine=c1-convex
4d0a92
 		os=-bsd
4d0a92
@@ -475,8 +574,8 @@
4d0a92
 		basic_machine=craynv-cray
4d0a92
 		os=-unicosmp
4d0a92
 		;;
4d0a92
-	cr16c)
4d0a92
-		basic_machine=cr16c-unknown
4d0a92
+	cr16 | cr16-*)
4d0a92
+		basic_machine=cr16-unknown
4d0a92
 		os=-elf
4d0a92
 		;;
4d0a92
 	crds | unos)
4d0a92
@@ -514,6 +613,10 @@
4d0a92
 		basic_machine=m88k-motorola
4d0a92
 		os=-sysv3
4d0a92
 		;;
4d0a92
+	dicos)
4d0a92
+		basic_machine=i686-pc
4d0a92
+		os=-dicos
4d0a92
+		;;
4d0a92
 	djgpp)
4d0a92
 		basic_machine=i586-pc
4d0a92
 		os=-msdosdjgpp
4d0a92
@@ -629,7 +732,6 @@
4d0a92
 	i370-ibm* | ibm*)
4d0a92
 		basic_machine=i370-ibm
4d0a92
 		;;
4d0a92
-# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
4d0a92
 	i*86v32)
4d0a92
 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4d0a92
 		os=-sysv32
4d0a92
@@ -668,6 +770,14 @@
4d0a92
 		basic_machine=m68k-isi
4d0a92
 		os=-sysv
4d0a92
 		;;
4d0a92
+	m68knommu)
4d0a92
+		basic_machine=m68k-unknown
4d0a92
+		os=-linux
4d0a92
+		;;
4d0a92
+	m68knommu-*)
4d0a92
+		basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
4d0a92
+		os=-linux
4d0a92
+		;;
4d0a92
 	m88k-omron*)
4d0a92
 		basic_machine=m88k-omron
4d0a92
 		;;
4d0a92
@@ -679,10 +789,21 @@
4d0a92
 		basic_machine=ns32k-utek
4d0a92
 		os=-sysv
4d0a92
 		;;
4d0a92
+	microblaze*)
4d0a92
+		basic_machine=microblaze-xilinx
4d0a92
+		;;
4d0a92
+	mingw64)
4d0a92
+		basic_machine=x86_64-pc
4d0a92
+		os=-mingw64
4d0a92
+		;;
4d0a92
 	mingw32)
4d0a92
 		basic_machine=i386-pc
4d0a92
 		os=-mingw32
4d0a92
 		;;
4d0a92
+	mingw32ce)
4d0a92
+		basic_machine=arm-unknown
4d0a92
+		os=-mingw32ce
4d0a92
+		;;
4d0a92
 	miniframe)
4d0a92
 		basic_machine=m68000-convergent
4d0a92
 		;;
4d0a92
@@ -711,10 +832,18 @@
4d0a92
 	ms1-*)
4d0a92
 		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
4d0a92
 		;;
4d0a92
+	msys)
4d0a92
+		basic_machine=i386-pc
4d0a92
+		os=-msys
4d0a92
+		;;
4d0a92
 	mvs)
4d0a92
 		basic_machine=i370-ibm
4d0a92
 		os=-mvs
4d0a92
 		;;
4d0a92
+	nacl)
4d0a92
+		basic_machine=le32-unknown
4d0a92
+		os=-nacl
4d0a92
+		;;
4d0a92
 	ncr3000)
4d0a92
 		basic_machine=i486-ncr
4d0a92
 		os=-sysv4
4d0a92
@@ -779,6 +908,12 @@
4d0a92
 	np1)
4d0a92
 		basic_machine=np1-gould
4d0a92
 		;;
4d0a92
+	neo-tandem)
4d0a92
+		basic_machine=neo-tandem
4d0a92
+		;;
4d0a92
+	nse-tandem)
4d0a92
+		basic_machine=nse-tandem
4d0a92
+		;;
4d0a92
 	nsr-tandem)
4d0a92
 		basic_machine=nsr-tandem
4d0a92
 		;;
4d0a92
@@ -809,6 +944,14 @@
4d0a92
 		basic_machine=i860-intel
4d0a92
 		os=-osf
4d0a92
 		;;
4d0a92
+	parisc)
4d0a92
+		basic_machine=hppa-unknown
4d0a92
+		os=-linux
4d0a92
+		;;
4d0a92
+	parisc-*)
4d0a92
+		basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
4d0a92
+		os=-linux
4d0a92
+		;;
4d0a92
 	pbd)
4d0a92
 		basic_machine=sparc-tti
4d0a92
 		;;
4d0a92
@@ -853,9 +996,10 @@
4d0a92
 		;;
4d0a92
 	power)	basic_machine=power-ibm
4d0a92
 		;;
4d0a92
-	ppc)	basic_machine=powerpc-unknown
4d0a92
+	ppc | ppcbe)	basic_machine=powerpc-unknown
4d0a92
 		;;
4d0a92
-	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
4d0a92
+	ppc-* | ppcbe-*)
4d0a92
+		basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
4d0a92
 		;;
4d0a92
 	ppcle | powerpclittle | ppc-le | powerpc-little)
4d0a92
 		basic_machine=powerpcle-unknown
4d0a92
@@ -925,6 +1069,9 @@
4d0a92
 		basic_machine=sh-hitachi
4d0a92
 		os=-hms
4d0a92
 		;;
4d0a92
+	sh5el)
4d0a92
+		basic_machine=sh5le-unknown
4d0a92
+		;;
4d0a92
 	sh64)
4d0a92
 		basic_machine=sh64-unknown
4d0a92
 		;;
4d0a92
@@ -946,6 +1093,9 @@
4d0a92
 		basic_machine=i860-stratus
4d0a92
 		os=-sysv4
4d0a92
 		;;
4d0a92
+	strongarm-* | thumb-*)
4d0a92
+		basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
4d0a92
+		;;
4d0a92
 	sun2)
4d0a92
 		basic_machine=m68000-sun
4d0a92
 		;;
4d0a92
@@ -1002,17 +1152,9 @@
4d0a92
 		basic_machine=t90-cray
4d0a92
 		os=-unicos
4d0a92
 		;;
4d0a92
-	tic54x | c54x*)
4d0a92
-		basic_machine=tic54x-unknown
4d0a92
-		os=-coff
4d0a92
-		;;
4d0a92
-	tic55x | c55x*)
4d0a92
-		basic_machine=tic55x-unknown
4d0a92
-		os=-coff
4d0a92
-		;;
4d0a92
-	tic6x | c6x*)
4d0a92
-		basic_machine=tic6x-unknown
4d0a92
-		os=-coff
4d0a92
+	tile*)
4d0a92
+		basic_machine=$basic_machine-unknown
4d0a92
+		os=-linux-gnu
4d0a92
 		;;
4d0a92
 	tx39)
4d0a92
 		basic_machine=mipstx39-unknown
4d0a92
@@ -1081,6 +1223,9 @@
4d0a92
 	xps | xps100)
4d0a92
 		basic_machine=xps100-honeywell
4d0a92
 		;;
4d0a92
+	xscale-* | xscalee[bl]-*)
4d0a92
+		basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
4d0a92
+		;;
4d0a92
 	ymp)
4d0a92
 		basic_machine=ymp-cray
4d0a92
 		os=-unicos
4d0a92
@@ -1089,6 +1234,10 @@
4d0a92
 		basic_machine=z8k-unknown
4d0a92
 		os=-sim
4d0a92
 		;;
4d0a92
+	z80-*-coff)
4d0a92
+		basic_machine=z80-unknown
4d0a92
+		os=-sim
4d0a92
+		;;
4d0a92
 	none)
4d0a92
 		basic_machine=none-none
4d0a92
 		os=-none
4d0a92
@@ -1127,7 +1276,7 @@
4d0a92
 	we32k)
4d0a92
 		basic_machine=we32k-att
4d0a92
 		;;
4d0a92
-	sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
4d0a92
+	sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
4d0a92
 		basic_machine=sh-unknown
4d0a92
 		;;
4d0a92
 	sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
4d0a92
@@ -1174,9 +1323,12 @@
4d0a92
 if [ x"$os" != x"" ]
4d0a92
 then
4d0a92
 case $os in
4d0a92
-        # First match some system type aliases
4d0a92
-        # that might get confused with valid system types.
4d0a92
+	# First match some system type aliases
4d0a92
+	# that might get confused with valid system types.
4d0a92
 	# -solaris* is a basic system type, with this one exception.
4d0a92
+	-auroraux)
4d0a92
+		os=-auroraux
4d0a92
+		;;
4d0a92
 	-solaris1 | -solaris1.*)
4d0a92
 		os=`echo $os | sed -e 's|solaris1|sunos4|'`
4d0a92
 		;;
4d0a92
@@ -1197,21 +1349,23 @@
4d0a92
 	# Each alternative MUST END IN A *, to match a version number.
4d0a92
 	# -sysv* is not here because it comes later, after sysvr4.
4d0a92
 	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
4d0a92
-	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
4d0a92
-	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
4d0a92
+	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
4d0a92
+	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
4d0a92
+	      | -sym* | -kopensolaris* \
4d0a92
 	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
4d0a92
-	      | -aos* \
4d0a92
+	      | -aos* | -aros* \
4d0a92
 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
4d0a92
 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
4d0a92
 	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
4d0a92
-	      | -openbsd* | -solidbsd* \
4d0a92
+	      | -bitrig* | -openbsd* | -solidbsd* \
4d0a92
 	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
4d0a92
 	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
4d0a92
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
4d0a92
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
4d0a92
-	      | -chorusos* | -chorusrdb* \
4d0a92
-	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
4d0a92
-	      | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
4d0a92
+	      | -chorusos* | -chorusrdb* | -cegcc* \
4d0a92
+	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
4d0a92
+	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
4d0a92
+	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
4d0a92
 	      | -uxpv* | -beos* | -mpeix* | -udk* \
4d0a92
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
4d0a92
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
4d0a92
@@ -1219,7 +1373,7 @@
4d0a92
 	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
4d0a92
 	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
4d0a92
 	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
4d0a92
-	      | -skyos* | -haiku* | -rdos* | -toppers*)
4d0a92
+	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
4d0a92
 	# Remember, each alternative MUST END IN *, to match a version number.
4d0a92
 		;;
4d0a92
 	-qnx*)
4d0a92
@@ -1258,7 +1412,7 @@
4d0a92
 	-opened*)
4d0a92
 		os=-openedition
4d0a92
 		;;
4d0a92
-        -os400*)
4d0a92
+	-os400*)
4d0a92
 		os=-os400
4d0a92
 		;;
4d0a92
 	-wince*)
4d0a92
@@ -1307,7 +1461,7 @@
4d0a92
 	-sinix*)
4d0a92
 		os=-sysv4
4d0a92
 		;;
4d0a92
-        -tpf*)
4d0a92
+	-tpf*)
4d0a92
 		os=-tpf
4d0a92
 		;;
4d0a92
 	-triton*)
4d0a92
@@ -1349,6 +1503,11 @@
4d0a92
 	-zvmoe)
4d0a92
 		os=-zvmoe
4d0a92
 		;;
4d0a92
+	-dicos*)
4d0a92
+		os=-dicos
4d0a92
+		;;
4d0a92
+	-nacl*)
4d0a92
+		;;
4d0a92
 	-none)
4d0a92
 		;;
4d0a92
 	*)
4d0a92
@@ -1371,10 +1530,10 @@
4d0a92
 # system, and we'll never get to this point.
4d0a92
 
4d0a92
 case $basic_machine in
4d0a92
-        score-*)
4d0a92
+	score-*)
4d0a92
 		os=-elf
4d0a92
 		;;
4d0a92
-        spu-*)
4d0a92
+	spu-*)
4d0a92
 		os=-elf
4d0a92
 		;;
4d0a92
 	*-acorn)
4d0a92
@@ -1386,8 +1545,20 @@
4d0a92
 	arm*-semi)
4d0a92
 		os=-aout
4d0a92
 		;;
4d0a92
-        c4x-* | tic4x-*)
4d0a92
-        	os=-coff
4d0a92
+	c4x-* | tic4x-*)
4d0a92
+		os=-coff
4d0a92
+		;;
4d0a92
+	hexagon-*)
4d0a92
+		os=-elf
4d0a92
+		;;
4d0a92
+	tic54x-*)
4d0a92
+		os=-coff
4d0a92
+		;;
4d0a92
+	tic55x-*)
4d0a92
+		os=-coff
4d0a92
+		;;
4d0a92
+	tic6x-*)
4d0a92
+		os=-coff
4d0a92
 		;;
4d0a92
 	# This must come before the *-dec entry.
4d0a92
 	pdp10-*)
4d0a92
@@ -1407,13 +1578,13 @@
4d0a92
 		;;
4d0a92
 	m68000-sun)
4d0a92
 		os=-sunos3
4d0a92
-		# This also exists in the configure program, but was not the
4d0a92
-		# default.
4d0a92
-		# os=-sunos4
4d0a92
 		;;
4d0a92
 	m68*-cisco)
4d0a92
 		os=-aout
4d0a92
 		;;
4d0a92
+	mep-*)
4d0a92
+		os=-elf
4d0a92
+		;;
4d0a92
 	mips*-cisco)
4d0a92
 		os=-elf
4d0a92
 		;;
4d0a92
@@ -1438,7 +1609,7 @@
4d0a92
 	*-ibm)
4d0a92
 		os=-aix
4d0a92
 		;;
4d0a92
-    	*-knuth)
4d0a92
+	*-knuth)
4d0a92
 		os=-mmixware
4d0a92
 		;;
4d0a92
 	*-wec)
4d0a92
@@ -1543,7 +1714,7 @@
4d0a92
 			-sunos*)
4d0a92
 				vendor=sun
4d0a92
 				;;
4d0a92
-			-aix*)
4d0a92
+			-cnk*|-aix*)
4d0a92
 				vendor=ibm
4d0a92
 				;;
4d0a92
 			-beos*)