Blame SOURCES/apr-util-1.5.2-aarch64.patch

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