Joe Orton d61a8e
diff -urN apr-util-1.4.1/build/config.guess apr-util-1.4.1-aarch64/build/config.guess
Joe Orton d61a8e
--- apr-util-1.5.2/build/config.guess.aarch64
Joe Orton d61a8e
+++ apr-util-1.5.2/build/config.guess
Joe Orton d61a8e
@@ -1,14 +1,12 @@
Joe Orton d61a8e
 #! /bin/sh
Joe Orton 392216
 # Attempt to guess a canonical system name.
Joe Orton d61a8e
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
Joe Orton d61a8e
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
Joe Orton d61a8e
-#   2011 Free Software Foundation, Inc.
Joe Orton d61a8e
+#   Copyright 1992-2013 Free Software Foundation, Inc.
Joe Orton d61a8e
 
Joe Orton d61a8e
-timestamp='2011-05-11'
Joe Orton d61a8e
+timestamp='2013-02-12'
Joe Orton d61a8e
 
Joe Orton d61a8e
 # This file is free software; you can redistribute it and/or modify it
Joe Orton d61a8e
 # under the terms of the GNU General Public License as published by
Joe Orton d61a8e
-# the Free Software Foundation; either version 2 of the License, or
Joe Orton d61a8e
+# the Free Software Foundation; either version 3 of the License, or
Joe Orton d61a8e
 # (at your option) any later version.
Joe Orton d61a8e
 #
Joe Orton d61a8e
 # This program is distributed in the hope that it will be useful, but
Joe Orton 392216
@@ -17,26 +15,22 @@ timestamp='2011-05-11'
Joe Orton d61a8e
 # General Public License for more details.
Joe Orton d61a8e
 #
Joe Orton d61a8e
 # You should have received a copy of the GNU General Public License
Joe Orton d61a8e
-# along with this program; if not, write to the Free Software
Joe Orton d61a8e
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
Joe Orton d61a8e
-# 02110-1301, USA.
Joe Orton d61a8e
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
Joe Orton d61a8e
 #
Joe Orton d61a8e
 # As a special exception to the GNU General Public License, if you
Joe Orton d61a8e
 # distribute this file as part of a program that contains a
Joe Orton d61a8e
 # configuration script generated by Autoconf, you may include it under
Joe Orton d61a8e
-# the same distribution terms that you use for the rest of that program.
Joe Orton d61a8e
-
Joe Orton d61a8e
-
Joe Orton 392216
-# Originally written by Per Bothner.  Please send patches (context
Joe Orton 392216
-# diff format) to <config-patches@gnu.org> and include a ChangeLog
Joe Orton 392216
-# entry.
Joe Orton 392216
+# the same distribution terms that you use for the rest of that
Joe Orton 392216
+# program.  This Exception is an additional permission under section 7
Joe Orton 392216
+# of the GNU General Public License, version 3 ("GPLv3").
Joe Orton 392216
 #
Joe Orton 392216
-# This script attempts to guess a canonical system name similar to
Joe Orton 392216
-# config.sub.  If it succeeds, it prints the system name on stdout, and
Joe Orton 392216
-# exits with 0.  Otherwise, it exits with 1.
Joe Orton 392216
+# Originally written by Per Bothner.
Joe Orton 392216
 #
Joe Orton 392216
 # You can get the latest version of this script from:
Joe Orton 392216
 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
Joe Orton 392216
+#
Joe Orton 392216
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
Joe Orton 392216
+
Joe Orton 392216
 
Joe Orton 392216
 me=`echo "$0" | sed -e 's,.*/,,'`
Joe Orton 392216
 
Joe Orton 392216
@@ -56,9 +50,7 @@ version="\
Joe Orton 392216
 GNU config.guess ($timestamp)
Joe Orton 392216
 
Joe Orton 392216
 Originally written by Per Bothner.
Joe Orton 392216
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
Joe Orton 392216
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
Joe Orton 392216
-Software Foundation, Inc.
Joe Orton 392216
+Copyright 1992-2013 Free Software Foundation, Inc.
Joe Orton d61a8e
 
Joe Orton 392216
 This is free software; see the source for copying conditions.  There is NO
Joe Orton 392216
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
Joe Orton 392216
@@ -145,7 +137,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` |
Joe Orton 392216
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
Joe Orton 392216
     *:NetBSD:*:*)
Joe Orton 392216
 	# NetBSD (nbsd) targets should (where applicable) match one or
Joe Orton 392216
-	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
Joe Orton 392216
+	# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
Joe Orton 392216
 	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
Joe Orton 392216
 	# switched to ELF, *-*-netbsd* would select the old
Joe Orton 392216
 	# object file format.  This provides both forward
Joe Orton 392216
@@ -202,6 +194,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
Joe Orton 392216
 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
Joe Orton 392216
 	echo "${machine}-${os}${release}"
Joe Orton 392216
 	exit ;;
Joe Orton 392216
+    *:Bitrig:*:*)
Joe Orton 392216
+	UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
Joe Orton 392216
+	echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
Joe Orton 392216
+	exit ;;
Joe Orton 392216
     *:OpenBSD:*:*)
Joe Orton 392216
 	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
Joe Orton 392216
 	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
Joe Orton 392216
@@ -304,7 +300,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
Joe Orton 392216
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
Joe Orton 392216
 	echo arm-acorn-riscix${UNAME_RELEASE}
Joe Orton 392216
 	exit ;;
Joe Orton 392216
-    arm:riscos:*:*|arm:RISCOS:*:*)
Joe Orton 392216
+    arm*:riscos:*:*|arm*:RISCOS:*:*)
Joe Orton 392216
 	echo arm-unknown-riscos
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
Joe Orton 392216
@@ -792,21 +788,26 @@ EOF
Joe Orton 392216
 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     *:FreeBSD:*:*)
Joe Orton 392216
-	case ${UNAME_MACHINE} in
Joe Orton 392216
-	    pc98)
Joe Orton 392216
-		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
Joe Orton 392216
+	UNAME_PROCESSOR=`/usr/bin/uname -p`
Joe Orton 392216
+	case ${UNAME_PROCESSOR} in
Joe Orton 392216
 	    amd64)
Joe Orton 392216
 		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
Joe Orton 392216
 	    *)
Joe Orton 392216
-		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
Joe Orton 392216
+		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
Joe Orton 392216
 	esac
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     i*:CYGWIN*:*)
Joe Orton 392216
 	echo ${UNAME_MACHINE}-pc-cygwin
Joe Orton 392216
 	exit ;;
Joe Orton 392216
+    *:MINGW64*:*)
Joe Orton 392216
+	echo ${UNAME_MACHINE}-pc-mingw64
Joe Orton 392216
+	exit ;;
Joe Orton 392216
     *:MINGW*:*)
Joe Orton 392216
 	echo ${UNAME_MACHINE}-pc-mingw32
Joe Orton 392216
 	exit ;;
Joe Orton 392216
+    i*:MSYS*:*)
Joe Orton 392216
+	echo ${UNAME_MACHINE}-pc-msys
Joe Orton 392216
+	exit ;;
Joe Orton 392216
     i*:windows32*:*)
Joe Orton 392216
 	# uname -m includes "-pc" on this system.
Joe Orton 392216
 	echo ${UNAME_MACHINE}-mingw32
Joe Orton 392216
@@ -861,6 +862,13 @@ EOF
Joe Orton 392216
     i*86:Minix:*:*)
Joe Orton 392216
 	echo ${UNAME_MACHINE}-pc-minix
Joe Orton 392216
 	exit ;;
Joe Orton 392216
+    aarch64:Linux:*:*)
Joe Orton 392216
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton 392216
+	exit ;;
Joe Orton 392216
+    aarch64_be:Linux:*:*)
Joe Orton 392216
+	UNAME_MACHINE=aarch64_be
Joe Orton 392216
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton 392216
+	exit ;;
Joe Orton 392216
     alpha:Linux:*:*)
Joe Orton 392216
 	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
Joe Orton 392216
 	  EV5)   UNAME_MACHINE=alphaev5 ;;
Joe Orton 392216
@@ -895,13 +903,16 @@ EOF
Joe Orton 392216
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     cris:Linux:*:*)
Joe Orton 392216
-	echo cris-axis-linux-gnu
Joe Orton 392216
+	echo ${UNAME_MACHINE}-axis-linux-gnu
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     crisv32:Linux:*:*)
Joe Orton 392216
-	echo crisv32-axis-linux-gnu
Joe Orton 392216
+	echo ${UNAME_MACHINE}-axis-linux-gnu
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     frv:Linux:*:*)
Joe Orton 392216
-	echo frv-unknown-linux-gnu
Joe Orton 392216
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton 392216
+	exit ;;
Joe Orton 392216
+    hexagon:Linux:*:*)
Joe Orton 392216
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     i*86:Linux:*:*)
Joe Orton 392216
 	LIBC=gnu
Joe Orton 392216
@@ -942,8 +953,11 @@ EOF
Joe Orton 392216
 	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
Joe Orton 392216
 	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
Joe Orton 392216
 	;;
Joe Orton 392216
+    or1k:Linux:*:*)
Joe Orton 392216
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton 392216
+	exit ;;
Joe Orton 392216
     or32:Linux:*:*)
Joe Orton 392216
-	echo or32-unknown-linux-gnu
Joe Orton 392216
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     padre:Linux:*:*)
Joe Orton 392216
 	echo sparc-unknown-linux-gnu
Joe Orton 392216
@@ -978,13 +992,13 @@ EOF
Joe Orton 392216
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     tile*:Linux:*:*)
Joe Orton 392216
-	echo ${UNAME_MACHINE}-tilera-linux-gnu
Joe Orton 392216
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     vax:Linux:*:*)
Joe Orton 392216
 	echo ${UNAME_MACHINE}-dec-linux-gnu
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     x86_64:Linux:*:*)
Joe Orton 392216
-	echo x86_64-unknown-linux-gnu
Joe Orton 392216
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     xtensa*:Linux:*:*)
Joe Orton 392216
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton 392216
@@ -1191,6 +1205,9 @@ EOF
Joe Orton 392216
     BePC:Haiku:*:*)	# Haiku running on Intel PC compatible.
Joe Orton 392216
 	echo i586-pc-haiku
Joe Orton 392216
 	exit ;;
Joe Orton 392216
+    x86_64:Haiku:*:*)
Joe Orton 392216
+	echo x86_64-unknown-haiku
Joe Orton 392216
+	exit ;;
Joe Orton 392216
     SX-4:SUPER-UX:*:*)
Joe Orton 392216
 	echo sx4-nec-superux${UNAME_RELEASE}
Joe Orton 392216
 	exit ;;
Joe Orton 392216
@@ -1246,7 +1263,7 @@ EOF
Joe Orton 392216
     NEO-?:NONSTOP_KERNEL:*:*)
Joe Orton 392216
 	echo neo-tandem-nsk${UNAME_RELEASE}
Joe Orton 392216
 	exit ;;
Joe Orton 392216
-    NSE-?:NONSTOP_KERNEL:*:*)
Joe Orton 392216
+    NSE-*:NONSTOP_KERNEL:*:*)
Joe Orton 392216
 	echo nse-tandem-nsk${UNAME_RELEASE}
Joe Orton 392216
 	exit ;;
Joe Orton 392216
     NSR-?:NONSTOP_KERNEL:*:*)
Joe Orton 392216
@@ -1315,11 +1332,11 @@ EOF
Joe Orton 392216
     i*86:AROS:*:*)
Joe Orton 392216
 	echo ${UNAME_MACHINE}-pc-aros
Joe Orton 392216
 	exit ;;
Joe Orton 392216
+    x86_64:VMkernel:*:*)
Joe Orton 392216
+	echo ${UNAME_MACHINE}-unknown-esx
Joe Orton 392216
+	exit ;;
Joe Orton 392216
 esac
Joe Orton d61a8e
 
Joe Orton 392216
-#echo '(No uname command or uname output not recognized.)' 1>&2
Joe Orton 392216
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
Joe Orton 392216
-
Joe Orton 392216
 eval $set_cc_for_build
Joe Orton 392216
 cat >$dummy.c <
Joe Orton 392216
 #ifdef _SEQUENT_
Joe Orton d61a8e
--- apr-util-1.5.2/build/config.sub.aarch64
Joe Orton d61a8e
+++ apr-util-1.5.2/build/config.sub
Joe Orton 392216
@@ -1,38 +1,31 @@
Joe Orton 392216
 #! /bin/sh
Joe Orton 392216
 # Configuration validation subroutine script.
Joe Orton 392216
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
Joe Orton 392216
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
Joe Orton 392216
-#   2011 Free Software Foundation, Inc.
Joe Orton 392216
-
Joe Orton 392216
-timestamp='2011-03-23'
Joe Orton 392216
-
Joe Orton 392216
-# This file is (in principle) common to ALL GNU software.
Joe Orton 392216
-# The presence of a machine in this file suggests that SOME GNU software
Joe Orton 392216
-# can handle that machine.  It does not imply ALL GNU software can.
Joe Orton 392216
-#
Joe Orton 392216
-# This file is free software; you can redistribute it and/or modify
Joe Orton 392216
-# it under the terms of the GNU General Public License as published by
Joe Orton 392216
-# the Free Software Foundation; either version 2 of the License, or
Joe Orton 392216
+#   Copyright 1992-2013 Free Software Foundation, Inc.
Joe Orton 392216
+
Joe Orton 392216
+timestamp='2013-02-12'
Joe Orton 392216
+
Joe Orton 392216
+# This file is free software; you can redistribute it and/or modify it
Joe Orton 392216
+# under the terms of the GNU General Public License as published by
Joe Orton 392216
+# the Free Software Foundation; either version 3 of the License, or
Joe Orton 392216
 # (at your option) any later version.
Joe Orton 392216
 #
Joe Orton 392216
-# This program is distributed in the hope that it will be useful,
Joe Orton 392216
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
Joe Orton 392216
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Joe Orton 392216
-# GNU General Public License for more details.
Joe Orton 392216
+# This program is distributed in the hope that it will be useful, but
Joe Orton 392216
+# WITHOUT ANY WARRANTY; without even the implied warranty of
Joe Orton 392216
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Joe Orton 392216
+# General Public License for more details.
Joe Orton d61a8e
 #
Joe Orton d61a8e
 # You should have received a copy of the GNU General Public License
Joe Orton d61a8e
-# along with this program; if not, write to the Free Software
Joe Orton d61a8e
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
Joe Orton d61a8e
-# 02110-1301, USA.
Joe Orton d61a8e
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
Joe Orton d61a8e
 #
Joe Orton d61a8e
 # As a special exception to the GNU General Public License, if you
Joe Orton d61a8e
 # distribute this file as part of a program that contains a
Joe Orton 392216
 # configuration script generated by Autoconf, you may include it under
Joe Orton 392216
-# the same distribution terms that you use for the rest of that program.
Joe Orton 392216
+# the same distribution terms that you use for the rest of that
Joe Orton 392216
+# program.  This Exception is an additional permission under section 7
Joe Orton 392216
+# of the GNU General Public License, version 3 ("GPLv3").
Joe Orton 392216
 
Joe Orton 392216
 
Joe Orton 392216
-# Please send patches to <config-patches@gnu.org>.  Submit a context
Joe Orton 392216
-# diff and a properly formatted GNU ChangeLog entry.
Joe Orton 392216
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
Joe Orton 392216
 #
Joe Orton 392216
 # Configuration subroutine to validate and canonicalize a configuration type.
Joe Orton 392216
 # Supply the specified configuration type as an argument.
Joe Orton 392216
@@ -75,9 +68,7 @@ Report bugs and patches to 
Joe Orton 392216
 version="\
Joe Orton 392216
 GNU config.sub ($timestamp)
Joe Orton 392216
 
Joe Orton 392216
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
Joe Orton 392216
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
Joe Orton 392216
-Software Foundation, Inc.
Joe Orton 392216
+Copyright 1992-2013 Free Software Foundation, Inc.
Joe Orton 392216
 
Joe Orton 392216
 This is free software; see the source for copying conditions.  There is NO
Joe Orton 392216
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
Joe Orton 392216
@@ -125,13 +116,17 @@ esac
Joe Orton d61a8e
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
Joe Orton d61a8e
 case $maybe_os in
Joe Orton d61a8e
   nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
Joe Orton d61a8e
-  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
Joe Orton d61a8e
+  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
Joe Orton d61a8e
   knetbsd*-gnu* | netbsd*-gnu* | \
Joe Orton d61a8e
   kopensolaris*-gnu* | \
Joe Orton d61a8e
   storm-chaos* | os2-emx* | rtmk-nova*)
Joe Orton d61a8e
     os=-$maybe_os
Joe Orton d61a8e
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
Joe Orton d61a8e
     ;;
Joe Orton d61a8e
+  android-linux)
Joe Orton d61a8e
+    os=-linux-android
Joe Orton d61a8e
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
Joe Orton d61a8e
+    ;;
Joe Orton d61a8e
   *)
Joe Orton d61a8e
     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
Joe Orton d61a8e
     if [ $basic_machine != $1 ]
Joe Orton 392216
@@ -154,7 +149,7 @@ case $os in
Joe Orton 392216
 	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
Joe Orton 392216
 	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
Joe Orton 392216
 	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
Joe Orton 392216
-	-apple | -axis | -knuth | -cray | -microblaze)
Joe Orton 392216
+	-apple | -axis | -knuth | -cray | -microblaze*)
Joe Orton 392216
 		os=
Joe Orton 392216
 		basic_machine=$1
Joe Orton 392216
 		;;
Joe Orton 392216
@@ -223,6 +218,12 @@ case $os in
Joe Orton d61a8e
 	-isc*)
Joe Orton d61a8e
 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
Joe Orton d61a8e
 		;;
Joe Orton d61a8e
+	-lynx*178)
Joe Orton d61a8e
+		os=-lynxos178
Joe Orton d61a8e
+		;;
Joe Orton d61a8e
+	-lynx*5)
Joe Orton d61a8e
+		os=-lynxos5
Joe Orton d61a8e
+		;;
Joe Orton d61a8e
 	-lynx*)
Joe Orton d61a8e
 		os=-lynxos
Joe Orton d61a8e
 		;;
Joe Orton 392216
@@ -247,20 +248,27 @@ case $basic_machine in
Joe Orton d61a8e
 	# Some are omitted here because they have special meanings below.
Joe Orton d61a8e
 	1750a | 580 \
Joe Orton d61a8e
 	| a29k \
Joe Orton d61a8e
+	| aarch64 | aarch64_be \
Joe Orton d61a8e
 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
Joe Orton d61a8e
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
Joe Orton d61a8e
 	| am33_2.0 \
Joe Orton 392216
-	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
Joe Orton 392216
+	| arc \
Joe Orton 392216
+	| arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
Joe Orton 392216
+	| avr | avr32 \
Joe Orton 392216
+	| be32 | be64 \
Joe Orton d61a8e
 	| bfin \
Joe Orton d61a8e
 	| c4x | clipper \
Joe Orton d61a8e
 	| d10v | d30v | dlx | dsp16xx \
Joe Orton d61a8e
+	| epiphany \
Joe Orton d61a8e
 	| fido | fr30 | frv \
Joe Orton d61a8e
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
Joe Orton d61a8e
+	| hexagon \
Joe Orton d61a8e
 	| i370 | i860 | i960 | ia64 \
Joe Orton d61a8e
 	| ip2k | iq2000 \
Joe Orton d61a8e
+	| le32 | le64 \
Joe Orton d61a8e
 	| lm32 \
Joe Orton d61a8e
 	| m32c | m32r | m32rle | m68000 | m68k | m88k \
Joe Orton d61a8e
-	| maxq | mb | microblaze | mcore | mep | metag \
Joe Orton d61a8e
+	| maxq | mb | microblaze | microblazeel | mcore | mep | metag \
Joe Orton d61a8e
 	| mips | mipsbe | mipseb | mipsel | mipsle \
Joe Orton d61a8e
 	| mips16 \
Joe Orton d61a8e
 	| mips64 | mips64el \
Joe Orton 392216
@@ -278,20 +286,21 @@ case $basic_machine in
Joe Orton 392216
 	| mipsisa64r2 | mipsisa64r2el \
Joe Orton 392216
 	| mipsisa64sb1 | mipsisa64sb1el \
Joe Orton 392216
 	| mipsisa64sr71k | mipsisa64sr71kel \
Joe Orton 392216
+	| mipsr5900 | mipsr5900el \
Joe Orton 392216
 	| mipstx39 | mipstx39el \
Joe Orton 392216
 	| mn10200 | mn10300 \
Joe Orton 392216
 	| moxie \
Joe Orton 392216
 	| mt \
Joe Orton 392216
 	| msp430 \
Joe Orton 392216
 	| nds32 | nds32le | nds32be \
Joe Orton 392216
-	| nios | nios2 \
Joe Orton 392216
+	| nios | nios2 | nios2eb | nios2el \
Joe Orton 392216
 	| ns16k | ns32k \
Joe Orton 392216
 	| open8 \
Joe Orton 392216
-	| or32 \
Joe Orton 392216
+	| or1k | or32 \
Joe Orton 392216
 	| pdp10 | pdp11 | pj | pjl \
Joe Orton 392216
 	| powerpc | powerpc64 | powerpc64le | powerpcle \
Joe Orton 392216
 	| pyramid \
Joe Orton 392216
-	| rx \
Joe Orton 392216
+	| rl78 | rx \
Joe Orton 392216
 	| score \
Joe Orton 392216
 	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
Joe Orton 392216
 	| sh64 | sh64le \
Joe Orton 392216
@@ -300,7 +309,7 @@ case $basic_machine in
Joe Orton 392216
 	| spu \
Joe Orton 392216
 	| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
Joe Orton 392216
 	| ubicom32 \
Joe Orton 392216
-	| v850 | v850e \
Joe Orton 392216
+	| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
Joe Orton 392216
 	| we32k \
Joe Orton 392216
 	| x86 | xc16x | xstormy16 | xtensa \
Joe Orton 392216
 	| z8k | z80)
Joe Orton 392216
@@ -315,8 +324,7 @@ case $basic_machine in
Joe Orton d61a8e
 	c6x)
Joe Orton d61a8e
 		basic_machine=tic6x-unknown
Joe Orton d61a8e
 		;;
Joe Orton d61a8e
-	m6811 | m68hc11 | m6812 | m68hc12 | picochip)
Joe Orton d61a8e
-		# Motorola 68HC11/12.
Joe Orton d61a8e
+	m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
Joe Orton d61a8e
 		basic_machine=$basic_machine-unknown
Joe Orton d61a8e
 		os=-none
Joe Orton d61a8e
 		;;
Joe Orton 392216
@@ -329,7 +337,10 @@ case $basic_machine in
Joe Orton 392216
 	strongarm | thumb | xscale)
Joe Orton 392216
 		basic_machine=arm-unknown
Joe Orton d61a8e
 		;;
Joe Orton 392216
-
Joe Orton d61a8e
+	xgate)
Joe Orton d61a8e
+		basic_machine=$basic_machine-unknown
Joe Orton d61a8e
+		os=-none
Joe Orton d61a8e
+		;;
Joe Orton 392216
 	xscaleeb)
Joe Orton 392216
 		basic_machine=armeb-unknown
Joe Orton 392216
 		;;
Joe Orton 392216
@@ -352,11 +363,13 @@ case $basic_machine in
Joe Orton d61a8e
 	# Recognize the basic CPU types with company name.
Joe Orton d61a8e
 	580-* \
Joe Orton d61a8e
 	| a29k-* \
Joe Orton d61a8e
+	| aarch64-* | aarch64_be-* \
Joe Orton d61a8e
 	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
Joe Orton d61a8e
 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
Joe Orton d61a8e
 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
Joe Orton d61a8e
 	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
Joe Orton d61a8e
 	| avr-* | avr32-* \
Joe Orton d61a8e
+	| be32-* | be64-* \
Joe Orton d61a8e
 	| bfin-* | bs2000-* \
Joe Orton d61a8e
 	| c[123]* | c30-* | [cjt]90-* | c4x-* \
Joe Orton d61a8e
 	| clipper-* | craynv-* | cydra-* \
Joe Orton 392216
@@ -365,12 +378,15 @@ case $basic_machine in
Joe Orton d61a8e
 	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
Joe Orton d61a8e
 	| h8300-* | h8500-* \
Joe Orton d61a8e
 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
Joe Orton d61a8e
+	| hexagon-* \
Joe Orton d61a8e
 	| i*86-* | i860-* | i960-* | ia64-* \
Joe Orton d61a8e
 	| ip2k-* | iq2000-* \
Joe Orton d61a8e
+	| le32-* | le64-* \
Joe Orton d61a8e
 	| lm32-* \
Joe Orton d61a8e
 	| m32c-* | m32r-* | m32rle-* \
Joe Orton d61a8e
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
Joe Orton d61a8e
-	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
Joe Orton d61a8e
+	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
Joe Orton d61a8e
+	| microblaze-* | microblazeel-* \
Joe Orton d61a8e
 	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
Joe Orton d61a8e
 	| mips16-* \
Joe Orton d61a8e
 	| mips64-* | mips64el-* \
Joe Orton 392216
@@ -388,19 +404,20 @@ case $basic_machine in
Joe Orton 392216
 	| mipsisa64r2-* | mipsisa64r2el-* \
Joe Orton 392216
 	| mipsisa64sb1-* | mipsisa64sb1el-* \
Joe Orton 392216
 	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
Joe Orton 392216
+	| mipsr5900-* | mipsr5900el-* \
Joe Orton 392216
 	| mipstx39-* | mipstx39el-* \
Joe Orton 392216
 	| mmix-* \
Joe Orton 392216
 	| mt-* \
Joe Orton 392216
 	| msp430-* \
Joe Orton 392216
 	| nds32-* | nds32le-* | nds32be-* \
Joe Orton 392216
-	| nios-* | nios2-* \
Joe Orton 392216
+	| nios-* | nios2-* | nios2eb-* | nios2el-* \
Joe Orton 392216
 	| none-* | np1-* | ns16k-* | ns32k-* \
Joe Orton 392216
 	| open8-* \
Joe Orton 392216
 	| orion-* \
Joe Orton 392216
 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
Joe Orton 392216
 	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
Joe Orton 392216
 	| pyramid-* \
Joe Orton 392216
-	| romp-* | rs6000-* | rx-* \
Joe Orton 392216
+	| rl78-* | romp-* | rs6000-* | rx-* \
Joe Orton 392216
 	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
Joe Orton 392216
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
Joe Orton 392216
 	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
Joe Orton 392216
@@ -408,10 +425,11 @@ case $basic_machine in
Joe Orton 392216
 	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
Joe Orton 392216
 	| tahoe-* \
Joe Orton 392216
 	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
Joe Orton 392216
-	| tile-* | tilegx-* \
Joe Orton 392216
+	| tile*-* \
Joe Orton 392216
 	| tron-* \
Joe Orton 392216
 	| ubicom32-* \
Joe Orton 392216
-	| v850-* | v850e-* | vax-* \
Joe Orton 392216
+	| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
Joe Orton 392216
+	| vax-* \
Joe Orton 392216
 	| we32k-* \
Joe Orton 392216
 	| x86-* | x86_64-* | xc16x-* | xps100-* \
Joe Orton 392216
 	| xstormy16-* | xtensa*-* \
Joe Orton 392216
@@ -711,7 +729,6 @@ case $basic_machine in
Joe Orton d61a8e
 	i370-ibm* | ibm*)
Joe Orton d61a8e
 		basic_machine=i370-ibm
Joe Orton d61a8e
 		;;
Joe Orton d61a8e
-# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
Joe Orton d61a8e
 	i*86v32)
Joe Orton d61a8e
 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
Joe Orton d61a8e
 		os=-sysv32
Joe Orton 392216
@@ -769,9 +786,13 @@ case $basic_machine in
Joe Orton 392216
 		basic_machine=ns32k-utek
Joe Orton 392216
 		os=-sysv
Joe Orton 392216
 		;;
Joe Orton 392216
-	microblaze)
Joe Orton 392216
+	microblaze*)
Joe Orton 392216
 		basic_machine=microblaze-xilinx
Joe Orton 392216
 		;;
Joe Orton 392216
+	mingw64)
Joe Orton 392216
+		basic_machine=x86_64-pc
Joe Orton 392216
+		os=-mingw64
Joe Orton 392216
+		;;
Joe Orton 392216
 	mingw32)
Joe Orton 392216
 		basic_machine=i386-pc
Joe Orton 392216
 		os=-mingw32
Joe Orton 392216
@@ -808,10 +829,18 @@ case $basic_machine in
Joe Orton d61a8e
 	ms1-*)
Joe Orton d61a8e
 		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
Joe Orton d61a8e
 		;;
Joe Orton d61a8e
+	msys)
Joe Orton d61a8e
+		basic_machine=i386-pc
Joe Orton d61a8e
+		os=-msys
Joe Orton d61a8e
+		;;
Joe Orton d61a8e
 	mvs)
Joe Orton d61a8e
 		basic_machine=i370-ibm
Joe Orton d61a8e
 		os=-mvs
Joe Orton d61a8e
 		;;
Joe Orton d61a8e
+	nacl)
Joe Orton d61a8e
+		basic_machine=le32-unknown
Joe Orton d61a8e
+		os=-nacl
Joe Orton d61a8e
+		;;
Joe Orton d61a8e
 	ncr3000)
Joe Orton d61a8e
 		basic_machine=i486-ncr
Joe Orton d61a8e
 		os=-sysv4
Joe Orton 392216
@@ -992,7 +1021,11 @@ case $basic_machine in
Joe Orton 392216
 		basic_machine=i586-unknown
Joe Orton 392216
 		os=-pw32
Joe Orton d61a8e
 		;;
Joe Orton 392216
-	rdos)
Joe Orton 392216
+	rdos | rdos64)
Joe Orton 392216
+		basic_machine=x86_64-pc
Joe Orton 392216
+		os=-rdos
Joe Orton d61a8e
+		;;
Joe Orton 392216
+	rdos32)
Joe Orton 392216
 		basic_machine=i386-pc
Joe Orton 392216
 		os=-rdos
Joe Orton d61a8e
 		;;
Joe Orton 392216
@@ -1120,13 +1153,8 @@ case $basic_machine in
Joe Orton 392216
 		basic_machine=t90-cray
Joe Orton 392216
 		os=-unicos
Joe Orton d61a8e
 		;;
Joe Orton 392216
-	# This must be matched before tile*.
Joe Orton 392216
-	tilegx*)
Joe Orton 392216
-		basic_machine=tilegx-unknown
Joe Orton 392216
-		os=-linux-gnu
Joe Orton 392216
-		;;
Joe Orton 392216
 	tile*)
Joe Orton 392216
-		basic_machine=tile-unknown
Joe Orton 392216
+		basic_machine=$basic_machine-unknown
Joe Orton 392216
 		os=-linux-gnu
Joe Orton d61a8e
 		;;
Joe Orton 392216
 	tx39)
Joe Orton 392216
@@ -1324,21 +1352,21 @@ case $os in
Joe Orton 392216
 	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
Joe Orton 392216
 	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
Joe Orton 392216
 	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
Joe Orton 392216
-	      | -sym* | -kopensolaris* \
Joe Orton 392216
+	      | -sym* | -kopensolaris* | -plan9* \
Joe Orton 392216
 	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
Joe Orton 392216
 	      | -aos* | -aros* \
Joe Orton d61a8e
 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
Joe Orton d61a8e
 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
Joe Orton d61a8e
 	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
Joe Orton d61a8e
-	      | -openbsd* | -solidbsd* \
Joe Orton d61a8e
+	      | -bitrig* | -openbsd* | -solidbsd* \
Joe Orton d61a8e
 	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
Joe Orton d61a8e
 	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
Joe Orton d61a8e
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
Joe Orton d61a8e
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
Joe Orton d61a8e
 	      | -chorusos* | -chorusrdb* | -cegcc* \
Joe Orton d61a8e
-	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
Joe Orton d61a8e
-	      | -mingw32* | -linux-gnu* | -linux-android* \
Joe Orton d61a8e
-	      | -linux-newlib* | -linux-uclibc* \
Joe Orton d61a8e
+	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
Joe Orton d61a8e
+	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Joe Orton d61a8e
+	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
Joe Orton d61a8e
 	      | -uxpv* | -beos* | -mpeix* | -udk* \
Joe Orton d61a8e
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
Joe Orton d61a8e
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
Joe Orton 392216
@@ -1470,9 +1498,6 @@ case $os in
Joe Orton 392216
 	-aros*)
Joe Orton 392216
 		os=-aros
Joe Orton 392216
 		;;
Joe Orton 392216
-	-kaos*)
Joe Orton 392216
-		os=-kaos
Joe Orton 392216
-		;;
Joe Orton 392216
 	-zvmoe)
Joe Orton 392216
 		os=-zvmoe
Joe Orton 392216
 		;;
Joe Orton 392216
@@ -1521,6 +1546,9 @@ case $basic_machine in
Joe Orton 392216
 	c4x-* | tic4x-*)
Joe Orton 392216
 		os=-coff
Joe Orton 392216
 		;;
Joe Orton 392216
+	hexagon-*)
Joe Orton 392216
+		os=-elf
Joe Orton 392216
+		;;
Joe Orton 392216
 	tic54x-*)
Joe Orton 392216
 		os=-coff
Joe Orton 392216
 		;;
Joe Orton 392216
@@ -1548,9 +1576,6 @@ case $basic_machine in
Joe Orton 392216
 		;;
Joe Orton 392216
 	m68000-sun)
Joe Orton 392216
 		os=-sunos3
Joe Orton 392216
-		# This also exists in the configure program, but was not the
Joe Orton 392216
-		# default.
Joe Orton 392216
-		# os=-sunos4
Joe Orton 392216
 		;;
Joe Orton 392216
 	m68*-cisco)
Joe Orton 392216
 		os=-aout
Joe Orton 392216
@@ -1564,6 +1589,9 @@ case $basic_machine in
Joe Orton 392216
 	mips*-*)
Joe Orton 392216
 		os=-elf
Joe Orton 392216
 		;;
Joe Orton 392216
+	or1k-*)
Joe Orton 392216
+		os=-elf
Joe Orton 392216
+		;;
Joe Orton 392216
 	or32-*)
Joe Orton 392216
 		os=-coff
Joe Orton 392216
 		;;
Joe Orton d61a8e
--- apr-util-1.5.2/xml/expat/conftools/config.guess.aarch64
Joe Orton d61a8e
+++ apr-util-1.5.2/xml/expat/conftools/config.guess
Joe Orton d61a8e
@@ -204,6 +204,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
Joe Orton d61a8e
 	UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
Joe Orton d61a8e
 	echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
Joe Orton d61a8e
 	exit ;;
Joe Orton d61a8e
+    *:Bitrig:*:*)
Joe Orton d61a8e
+	UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
Joe Orton d61a8e
+	echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
Joe Orton d61a8e
+	exit ;;
Joe Orton d61a8e
     *:OpenBSD:*:*)
Joe Orton d61a8e
 	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
Joe Orton d61a8e
 	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
Joe Orton d61a8e
@@ -306,7 +310,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
Joe Orton d61a8e
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
Joe Orton d61a8e
 	echo arm-acorn-riscix${UNAME_RELEASE}
Joe Orton d61a8e
 	exit ;;
Joe Orton d61a8e
-    arm:riscos:*:*|arm:RISCOS:*:*)
Joe Orton d61a8e
+    arm*:riscos:*:*|arm*:RISCOS:*:*)
Joe Orton d61a8e
 	echo arm-unknown-riscos
Joe Orton d61a8e
 	exit ;;
Joe Orton d61a8e
     SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
Joe Orton d61a8e
@@ -875,6 +879,13 @@ EOF
Joe Orton d61a8e
 	UNAME_MACHINE=aarch64_be
Joe Orton d61a8e
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton d61a8e
 	exit ;;
Joe Orton d61a8e
+    aarch64:Linux:*:*)
Joe Orton d61a8e
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton d61a8e
+	exit ;;
Joe Orton d61a8e
+    aarch64_be:Linux:*:*)
Joe Orton d61a8e
+	UNAME_MACHINE=aarch64_be
Joe Orton d61a8e
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
Joe Orton d61a8e
+	exit ;;
Joe Orton d61a8e
     alpha:Linux:*:*)
Joe Orton d61a8e
 	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
Joe Orton d61a8e
 	  EV5)   UNAME_MACHINE=alphaev5 ;;
Joe Orton d61a8e
@@ -1208,6 +1219,9 @@ EOF
Joe Orton d61a8e
     BePC:Haiku:*:*)	# Haiku running on Intel PC compatible.
Joe Orton d61a8e
 	echo i586-pc-haiku
Joe Orton d61a8e
 	exit ;;
Joe Orton d61a8e
+    x86_64:Haiku:*:*)
Joe Orton d61a8e
+	echo x86_64-unknown-haiku
Joe Orton d61a8e
+	exit ;;
Joe Orton d61a8e
     SX-4:SUPER-UX:*:*)
Joe Orton d61a8e
 	echo sx4-nec-superux${UNAME_RELEASE}
Joe Orton d61a8e
 	exit ;;
Joe Orton d61a8e
--- apr-util-1.5.2/xml/expat/conftools/config.sub.aarch64
Joe Orton d61a8e
+++ apr-util-1.5.2/xml/expat/conftools/config.sub
Joe Orton d61a8e
@@ -156,7 +156,7 @@ case $os in
Joe Orton d61a8e
 	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
Joe Orton d61a8e
 	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
Joe Orton d61a8e
 	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
Joe Orton d61a8e
-	-apple | -axis | -knuth | -cray | -microblaze)
Joe Orton d61a8e
+	-apple | -axis | -knuth | -cray | -microblaze*)
Joe Orton d61a8e
 		os=
Joe Orton d61a8e
 		basic_machine=$1
Joe Orton d61a8e
 		;;
Joe Orton d61a8e
@@ -231,6 +231,12 @@ case $os in
Joe Orton d61a8e
 	-lynx*5)
Joe Orton d61a8e
 		os=-lynxos5
Joe Orton d61a8e
 		;;
Joe Orton d61a8e
+	-lynx*178)
Joe Orton d61a8e
+		os=-lynxos178
Joe Orton d61a8e
+		;;
Joe Orton d61a8e
+	-lynx*5)
Joe Orton d61a8e
+		os=-lynxos5
Joe Orton d61a8e
+		;;
Joe Orton d61a8e
 	-lynx*)
Joe Orton d61a8e
 		os=-lynxos
Joe Orton d61a8e
 		;;
Joe Orton d61a8e
@@ -1549,6 +1555,9 @@ case $basic_machine in
Joe Orton d61a8e
 		;;
Joe Orton d61a8e
 	hexagon-*)
Joe Orton d61a8e
 		os=-elf
Joe Orton d61a8e
+		;;
Joe Orton d61a8e
+	hexagon-*)
Joe Orton d61a8e
+		os=-elf
Joe Orton d61a8e
 		;;
Joe Orton d61a8e
 	tic54x-*)
Joe Orton d61a8e
 		os=-coff