download.lst                                             |    2 
 external/libxmlsec/UnpackedTarball_xmlsec.mk             |    3 
 external/libxmlsec/xmlsec1-1.2.14-ansi.patch.1           |   27 
 external/libxmlsec/xmlsec1-1.2.14_fix_extern_c.patch.1   |    4 
 external/libxmlsec/xmlsec1-android.patch.1               |   34 
 external/libxmlsec/xmlsec1-configure.patch.1             |   30 
 external/libxmlsec/xmlsec1-customkeymanage.patch.1       |   36 
 external/libxmlsec/xmlsec1-mingw-keymgr-mscrypto.patch.1 |   26 
 external/libxmlsec/xmlsec1-noverify.patch.1              |    4 
 external/libxmlsec/xmlsec1-nssdisablecallbacks.patch.1   |    4 
 external/libxmlsec/xmlsec1-nssmangleciphers.patch.1      |    4 
 external/libxmlsec/xmlsec1-oldlibtool.patch.1            |    4 
 external/libxmlsec/xmlsec1-ooxml.patch.1                 |   24 
 external/libxmlsec/xmlsec1-update-config.guess.patch.1   |  986 +--------------
 external/libxmlsec/xmlsec1-vc.patch.1                    |    8 
 15 files changed, 180 insertions(+), 1016 deletions(-)

New commits:
commit b87c4d8a7539c6b36250adc5626f13458a4c3016
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Tue Apr 5 19:39:40 2016 +0200

    Upgrade libxmlsec to 1.2.19
    
    Obsoletes our xmlsec1-1.2.14-ansi.patch.1 and xmlsec1-android.patch.1.
    
    Change-Id: Ic6499b1a79e3f5a6d94beb62c0c338789c782c86
    Reviewed-on: https://gerrit.libreoffice.org/23844
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk>

diff --git a/download.lst b/download.lst
index 5a0ef86..23ec620 100644
--- a/download.lst
+++ b/download.lst
@@ -92,7 +92,7 @@ export LIBEXTTEXTCAT_TARBALL := 
10d61fbaa6a06348823651b1bd7940fe-libexttextcat-3
 export LIBGLTF_MD5SUM := d63a9f47ab048f5009d90693d6aa6424
 export LIBGLTF_TARBALL := libgltf-0.0.2.tar.bz2
 export LIBLANGTAG_TARBALL := 
aa899eff126216dafe721149fbdb511b-liblangtag-0.5.8.tar.bz2
-export LIBXMLSEC_TARBALL := 
8694b4609aab647186607f79e1da7f1a-xmlsec1-1.2.18.tar.gz
+export LIBXMLSEC_TARBALL := 
fe664ba5f01ebfaeb0ab5deeb0b2249e-xmlsec1-1.2.19.tar.gz
 export LIBXML_TARBALL := daece17e045f1c107610e137ab50c179-libxml2-2.9.3.tar.gz
 export LIBXSLT_TARBALL := 
9667bf6f9310b957254fdcf6596600b7-libxslt-1.1.28.tar.gz
 export LPSOLVE_TARBALL := 26b3e95ddf3d9c077c480ea45874b3b8-lp_solve_5.5.tar.gz
diff --git a/external/libxmlsec/UnpackedTarball_xmlsec.mk 
b/external/libxmlsec/UnpackedTarball_xmlsec.mk
index fd2fbb7..67913b7 100644
--- a/external/libxmlsec/UnpackedTarball_xmlsec.mk
+++ b/external/libxmlsec/UnpackedTarball_xmlsec.mk
@@ -16,9 +16,6 @@ xmlsec_patches += xmlsec1-noverify.patch.1
 xmlsec_patches += xmlsec1-mingw-keymgr-mscrypto.patch.1
 xmlsec_patches += xmlsec1-vc.patch.1
 xmlsec_patches += xmlsec1-1.2.14_fix_extern_c.patch.1
-xmlsec_patches += xmlsec1-android.patch.1
-# Partial backport of 
<https://github.com/lsh123/xmlsec/commit/6a4968bc33f83aaf61efc0a80333350ce9c372f5>.
-xmlsec_patches += xmlsec1-1.2.14-ansi.patch.1
 xmlsec_patches += xmlsec1-customkeymanage.patch.1
 xmlsec_patches += xmlsec1-update-config.guess.patch.1
 # Upstreamed as 
<https://github.com/lsh123/xmlsec/commit/7069e2b0ab49679008abedd6d223fb95538b0684>.
diff --git a/external/libxmlsec/xmlsec1-1.2.14-ansi.patch.1 
b/external/libxmlsec/xmlsec1-1.2.14-ansi.patch.1
deleted file mode 100644
index 6dd3c55..0000000
--- a/external/libxmlsec/xmlsec1-1.2.14-ansi.patch.1
+++ /dev/null
@@ -1,27 +0,0 @@
-From cbe91fb9ff4d17dc4d7d1ea075718374b0c9591c Mon Sep 17 00:00:00 2001
-From: Miklos Vajna <vmik...@collabora.co.uk>
-Date: Fri, 4 Mar 2016 16:15:25 +0100
-Subject: [PATCH 11/14] xmlsec1-1.2.14-ansi.patch
-
----
- configure.in | 4 ----
- 1 file changed, 4 deletions(-)
-
-diff --git a/configure.in b/configure.in
-index 0721cfa..cf196e2 100644
---- a/configure.in
-+++ b/configure.in
-@@ -47,10 +47,6 @@ AC_PATH_PROG(TAR, tar, /bin/tar)
- AC_PATH_PROG(HELP2MAN, help2man)
- AC_PATH_PROG(MAN2HTML, man2html)
- 
--dnl Make sure we have an ANSI compiler
--AM_C_PROTOTYPES
--test "z$U" != "z" && AC_MSG_ERROR(Compiler not ANSI compliant)
--
- dnl Checks for header files.
- AC_HEADER_DIRENT
- AC_HEADER_STDC
--- 
-2.6.2
-
diff --git a/external/libxmlsec/xmlsec1-1.2.14_fix_extern_c.patch.1 
b/external/libxmlsec/xmlsec1-1.2.14_fix_extern_c.patch.1
index bc23158..8266d8d 100644
--- a/external/libxmlsec/xmlsec1-1.2.14_fix_extern_c.patch.1
+++ b/external/libxmlsec/xmlsec1-1.2.14_fix_extern_c.patch.1
@@ -1,7 +1,7 @@
-From c0ee9f2e99da3d6900427b4a1ac58e9d48e5f746 Mon Sep 17 00:00:00 2001
+From 88dbb430ab261c153c51094dc183dd8876f9ba50 Mon Sep 17 00:00:00 2001
 From: Miklos Vajna <vmik...@collabora.co.uk>
 Date: Fri, 4 Mar 2016 16:12:48 +0100
-Subject: [PATCH 09/14] xmlsec1-1.2.14_fix_extern_c.patch
+Subject: [PATCH] xmlsec1-1.2.14_fix_extern_c.patch
 
 Conflicts:
        include/xmlsec/xmlsec.h
diff --git a/external/libxmlsec/xmlsec1-android.patch.1 
b/external/libxmlsec/xmlsec1-android.patch.1
deleted file mode 100644
index 0212f02..0000000
--- a/external/libxmlsec/xmlsec1-android.patch.1
+++ /dev/null
@@ -1,34 +0,0 @@
-From 69969d29e78b5443dd013ee977bdd5481f561369 Mon Sep 17 00:00:00 2001
-From: Miklos Vajna <vmik...@collabora.co.uk>
-Date: Fri, 4 Mar 2016 16:13:10 +0100
-Subject: [PATCH 10/14] xmlsec1-android.patch
-
----
- config.sub | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/config.sub b/config.sub
-index eb0389a..f0c82d4 100755
---- a/config.sub
-+++ b/config.sub
-@@ -124,7 +124,7 @@ esac
- # Here we must recognize all the valid KERNEL-OS combinations.
- maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
- case $maybe_os in
--  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
-+  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | 
linux-uclibc* | \
-   uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | 
netbsd*-gnu* | \
-   kopensolaris*-gnu* | \
-   storm-chaos* | os2-emx* | rtmk-nova*)
-@@ -1301,7 +1301,7 @@ case $os in
-             | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
-             | -chorusos* | -chorusrdb* | -cegcc* \
-             | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
--            | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
-+            | -mingw32* | -linux-gnu* | -linux-androideabi* | -linux-newlib* 
| -linux-uclibc* \
-             | -uxpv* | -beos* | -mpeix* | -udk* \
-             | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
-             | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
--- 
-2.6.2
-
diff --git a/external/libxmlsec/xmlsec1-configure.patch.1 
b/external/libxmlsec/xmlsec1-configure.patch.1
index 4103fa3..323177f 100644
--- a/external/libxmlsec/xmlsec1-configure.patch.1
+++ b/external/libxmlsec/xmlsec1-configure.patch.1
@@ -1,7 +1,7 @@
-From 2b28d9692065859dc8701c08ba7ad1210a451df3 Mon Sep 17 00:00:00 2001
+From a6200ded4c697408d00eb79cbc712acceb8aef83 Mon Sep 17 00:00:00 2001
 From: Miklos Vajna <vmik...@collabora.co.uk>
 Date: Fri, 4 Mar 2016 16:06:19 +0100
-Subject: [PATCH 01/14] xmlsec1-configure.patch
+Subject: [PATCH] xmlsec1-configure.patch
 
 Conflicts:
        configure.in
@@ -29,10 +29,10 @@ index 669f996..0cf0798 100644
  
  bin_SCRIPTS   = xmlsec1-config
 diff --git a/Makefile.in b/Makefile.in
-index 23effe0..0547429 100644
+index 25e6087..f9aa108 100644
 --- a/Makefile.in
 +++ b/Makefile.in
-@@ -354,8 +354,9 @@ top_builddir = @top_builddir@
+@@ -372,8 +372,9 @@ top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
  NULL = 
  SAFE_VERSION = @XMLSEC_VERSION_SAFE@
@@ -45,10 +45,10 @@ index 23effe0..0547429 100644
  bin_SCRIPTS = xmlsec1-config
  pkgconfig_DATA = xmlsec1.pc @XMLSEC_CRYPTO_PC_FILES_LIST@
 diff --git a/configure.in b/configure.in
-index 7347a6e..813aa3c 100644
+index 1b46a92..92c4cc2 100644
 --- a/configure.in
 +++ b/configure.in
-@@ -184,8 +184,8 @@ dnl find libxml
+@@ -185,8 +185,8 @@ dnl find libxml
  dnl ==========================================================================
  LIBXML_MIN_VERSION="2.7.4"
  LIBXML_CONFIG="xml2-config"
@@ -59,7 +59,7 @@ index 7347a6e..813aa3c 100644
  LIBXML_FOUND="no"
  AC_ARG_WITH(libxml, 
      [  --with-libxml=[PFX]       libxml2 location]
-@@ -194,6 +194,8 @@ AC_ARG_WITH(libxml-src,
+@@ -195,6 +195,8 @@ AC_ARG_WITH(libxml-src,
      [  --with-libxml-src=[PFX]   not installed yet libxml2 location]
  )
  
@@ -68,7 +68,7 @@ index 7347a6e..813aa3c 100644
  if test "z$with_libxml" = "zno" -o "z$with_libxml_src" = "zno"; then 
      AC_MSG_CHECKING(for libxml2 libraries >= $LIBXML_MIN_VERSION) 
      AC_MSG_ERROR(libxml2 >= $LIBXML_MIN_VERSION is required for 
$XMLSEC_PACKAGE)
-@@ -242,6 +244,8 @@ if test "z$LIBXML_FOUND" = "zno" ; then
+@@ -243,6 +245,8 @@ if test "z$LIBXML_FOUND" = "zno" ; then
      fi
  fi
  
@@ -77,7 +77,7 @@ index 7347a6e..813aa3c 100644
  AC_SUBST(LIBXML_CFLAGS)
  AC_SUBST(LIBXML_LIBS)
  AC_SUBST(LIBXML_CONFIG)
-@@ -544,12 +548,26 @@ dnl 
==========================================================================
+@@ -551,12 +555,26 @@ dnl 
==========================================================================
  XMLSEC_NO_NSS="1"
  SEAMONKEY_MIN_VERSION="1.0"
  MOZILLA_MIN_VERSION="1.4"
@@ -106,7 +106,7 @@ index 7347a6e..813aa3c 100644
  NSS_CRYPTO_LIB="$XMLSEC_PACKAGE-nss"
  NSS_FOUND="no"
  NSPR_PACKAGE=mozilla-nspr
-@@ -576,6 +594,16 @@ elif test "z$with_nss" = "z" -a "z$with_nspr" = "z" -a 
"z$with_mozilla_ver" = "z
+@@ -583,6 +601,16 @@ elif test "z$with_nss" = "z" -a "z$with_nspr" = "z" -a 
"z$with_mozilla_ver" = "z
      dnl We are going to try all options
      dnl
      if test "z$NSS_FOUND" = "zno" ; then
@@ -123,7 +123,7 @@ index 7347a6e..813aa3c 100644
          PKG_CHECK_MODULES(NSS, seamonkey-nspr >= $NSPR_MIN_VERSION 
seamonkey-nss >= $SEAMONKEY_MIN_VERSION,
            [NSS_FOUND=yes NSPR_PACKAGE=seamonkey-nspr 
NSS_PACKAGE=seamonkey-nss],
            [NSS_FOUND=no])
-@@ -607,8 +635,8 @@ if test "z$NSS_FOUND" = "zno" ; then
+@@ -614,8 +642,8 @@ if test "z$NSS_FOUND" = "zno" ; then
          ac_mozilla_name=mozilla-$MOZILLA_MIN_VERSION
      fi
  
@@ -134,7 +134,7 @@ index 7347a6e..813aa3c 100644
  
      AC_MSG_CHECKING(for nspr libraries >= $NSPR_MIN_VERSION)
      NSPR_INCLUDES_FOUND="no"
-@@ -629,21 +657,21 @@ if test "z$NSS_FOUND" = "zno" ; then
+@@ -636,21 +664,21 @@ if test "z$NSS_FOUND" = "zno" ; then
        NSPR_PRINIT_H="$with_nspr/include/prinit.h"
      else
        for dir in $ac_nss_inc_dir ; do
@@ -160,7 +160,7 @@ index 7347a6e..813aa3c 100644
                dnl do not add -L/usr/lib because compiler does it anyway
                if test "z$dir" = "z/usr/lib" ; then
                    NSPR_LIBS="$NSPR_LIBS_LIST"
-@@ -714,7 +742,7 @@ if test "z$NSS_FOUND" = "zno" ; then
+@@ -721,7 +749,7 @@ if test "z$NSS_FOUND" = "zno" ; then
          done
         
          for dir in $ac_nss_lib_dir ; do
@@ -169,7 +169,7 @@ index 7347a6e..813aa3c 100644
                dnl do not add -L/usr/lib because compiler does it anyway
                if test "z$dir" = "z/usr/lib" ; then
                    NSS_LIBS="$NSS_LIBS_LIST"
-@@ -733,7 +761,7 @@ if test "z$NSS_FOUND" = "zno" ; then
+@@ -740,7 +768,7 @@ if test "z$NSS_FOUND" = "zno" ; then
  
      if test "z$NSS_INCLUDES_FOUND" = "zyes" -a "z$NSS_LIBS_FOUND" = "zyes" ; 
then
         OLD_CPPFLAGS=$CPPFLAGS
@@ -179,7 +179,7 @@ index 7347a6e..813aa3c 100644
            #include <nss.h>
            #if NSS_VMAJOR >= 3 && NSS_VMINOR >= 2
 diff --git a/win32/Makefile.msvc b/win32/Makefile.msvc
-index b1d8869..5269202 100644
+index 2712a0a..d833497 100644
 --- a/win32/Makefile.msvc
 +++ b/win32/Makefile.msvc
 @@ -394,7 +394,7 @@ APP_LIBS           = $(SOLIBS) $(XMLSEC_CRYPTO_SOLIBS)
diff --git a/external/libxmlsec/xmlsec1-customkeymanage.patch.1 
b/external/libxmlsec/xmlsec1-customkeymanage.patch.1
index 86d1056..5378084 100644
--- a/external/libxmlsec/xmlsec1-customkeymanage.patch.1
+++ b/external/libxmlsec/xmlsec1-customkeymanage.patch.1
@@ -1,7 +1,7 @@
-From 20e5f77bd3139482e9348fcb9f814b294af373aa Mon Sep 17 00:00:00 2001
+From 584620e74f3240d955bb9ea7a9a2e2ffc7634b95 Mon Sep 17 00:00:00 2001
 From: Miklos Vajna <vmik...@collabora.co.uk>
 Date: Fri, 4 Mar 2016 16:19:12 +0100
-Subject: [PATCH 12/14] xmlsec1-customkeymanage.patch
+Subject: [PATCH] xmlsec1-customkeymanage.patch
 
 Conflicts:
        include/xmlsec/nss/app.h
@@ -57,10 +57,10 @@ index 18dff94..44837b6 100644
  certkeys.h \
  crypto.h \
 diff --git a/include/xmlsec/mscrypto/Makefile.in 
b/include/xmlsec/mscrypto/Makefile.in
-index 477c5cb..4022177 100644
+index 235bc0c..d57481b 100644
 --- a/include/xmlsec/mscrypto/Makefile.in
 +++ b/include/xmlsec/mscrypto/Makefile.in
-@@ -293,6 +293,7 @@ top_srcdir = @top_srcdir@
+@@ -307,6 +307,7 @@ top_srcdir = @top_srcdir@
  NULL = 
  xmlsecmscryptoincdir = $(includedir)/xmlsec1/xmlsec/mscrypto
  xmlsecmscryptoinc_HEADERS = \
@@ -160,10 +160,10 @@ index e352162..997ca7f 100644
  
  install-exec-hook:
 diff --git a/include/xmlsec/nss/Makefile.in b/include/xmlsec/nss/Makefile.in
-index 0fcffb4..151e091 100644
+index 8f7952d..a344a55 100644
 --- a/include/xmlsec/nss/Makefile.in
 +++ b/include/xmlsec/nss/Makefile.in
-@@ -300,6 +300,9 @@ bignum.h \
+@@ -314,6 +314,9 @@ bignum.h \
  keysstore.h \
  pkikeys.h \
  x509.h \
@@ -765,10 +765,10 @@ index 8cd8586..a14199e 100644
  
  if SHAREDLIB_HACK
 diff --git a/src/nss/Makefile.in b/src/nss/Makefile.in
-index 46c8c92..8fc7e05 100644
+index e799b8e..d9c4a27 100644
 --- a/src/nss/Makefile.in
 +++ b/src/nss/Makefile.in
-@@ -75,7 +75,8 @@ am__DEPENDENCIES_1 =
+@@ -81,7 +81,8 @@ am__DEPENDENCIES_1 =
  am__libxmlsec1_nss_la_SOURCES_DIST = app.c bignum.c ciphers.c crypto.c \
        digests.c hmac.c pkikeys.c signatures.c symkeys.c x509.c \
        x509vfy.c keysstore.c keytrans.c kw_des.c kw_aes.c globals.h \
@@ -778,7 +778,7 @@ index 46c8c92..8fc7e05 100644
  am__objects_1 =
  @SHAREDLIB_HACK_TRUE@am__objects_2 = libxmlsec1_nss_la-strings.lo
  am_libxmlsec1_nss_la_OBJECTS = libxmlsec1_nss_la-app.lo \
-@@ -86,6 +87,8 @@ am_libxmlsec1_nss_la_OBJECTS = libxmlsec1_nss_la-app.lo \
+@@ -92,6 +93,8 @@ am_libxmlsec1_nss_la_OBJECTS = libxmlsec1_nss_la-app.lo \
        libxmlsec1_nss_la-x509.lo libxmlsec1_nss_la-x509vfy.lo \
        libxmlsec1_nss_la-keysstore.lo libxmlsec1_nss_la-keytrans.lo \
        libxmlsec1_nss_la-kw_des.lo libxmlsec1_nss_la-kw_aes.lo \
@@ -786,8 +786,8 @@ index 46c8c92..8fc7e05 100644
 +      libxmlsec1_nss_la-tokens.lo \
        $(am__objects_1) $(am__objects_2)
  libxmlsec1_nss_la_OBJECTS = $(am_libxmlsec1_nss_la_OBJECTS)
- libxmlsec1_nss_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
-@@ -345,6 +348,7 @@ libxmlsec1_nss_la_CPPFLAGS = \
+ AM_V_lt = $(am__v_lt_@AM_V@)
+@@ -370,6 +373,7 @@ libxmlsec1_nss_la_CPPFLAGS = \
  libxmlsec1_nss_la_SOURCES = app.c bignum.c ciphers.c crypto.c \
        digests.c hmac.c pkikeys.c signatures.c symkeys.c x509.c \
        x509vfy.c keysstore.c keytrans.c kw_des.c kw_aes.c globals.h \
@@ -795,7 +795,7 @@ index 46c8c92..8fc7e05 100644
        $(NULL) $(am__append_1)
  libxmlsec1_nss_la_LIBADD = \
        $(NSS_LIBS) \
-@@ -451,6 +455,8 @@ distclean-compile:
+@@ -476,6 +480,8 @@ distclean-compile:
  @AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libxmlsec1_nss_la-symkeys.Plo@am__quote@
  @AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libxmlsec1_nss_la-x509.Plo@am__quote@
  @AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libxmlsec1_nss_la-x509vfy.Plo@am__quote@
@@ -803,10 +803,10 @@ index 46c8c92..8fc7e05 100644
 +@AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libxmlsec1_nss_la-tokens.Plo@am__quote@
  
  .c.o:
- @am__fastdepCC_TRUE@  $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ 
$<
-@@ -480,6 +486,20 @@ libxmlsec1_nss_la-app.lo: app.c
+ @am__fastdepCC_TRUE@  $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF 
$(DEPDIR)/$*.Tpo -c -o $@ $<
+@@ -505,6 +511,20 @@ libxmlsec1_nss_la-app.lo: app.c
  @AMDEP_TRUE@@am__fastdepCC_FALSE@     DEPDIR=$(DEPDIR) $(CCDEPMODE) 
$(depcomp) @AMDEPBACKSLASH@
- @am__fastdepCC_FALSE@ $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) 
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(libxmlsec1_nss_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o 
libxmlsec1_nss_la-app.lo `test -f 'app.c' || echo '$(srcdir)/'`app.c
+ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC 
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) 
$(DEFAULT_INCLUDES) $(INCLUDES) $(libxmlsec1_nss_la_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS) -c -o libxmlsec1_nss_la-app.lo `test -f 'app.c' || echo 
'$(srcdir)/'`app.c
  
 +libxmlsec1_nss_la-akmngr.lo: akmngr.c
 +@am__fastdepCC_TRUE@  if $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) 
$(DEFAULT_INCLUDES) $(INCLUDES) $(libxmlsec1_nss_la_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS) -MT libxmlsec1_nss_la-akmngr.lo -MD -MP -MF 
"$(DEPDIR)/libxmlsec1_nss_la-akmngr.Tpo" -c -o libxmlsec1_nss_la-akmngr.lo 
`test -f 'akmngr.c' || echo '$(srcdir)/'`akmngr.c; \
@@ -823,8 +823,8 @@ index 46c8c92..8fc7e05 100644
 +@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) 
$(DEFAULT_INCLUDES) $(INCLUDES) $(libxmlsec1_nss_la_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS) -c -o libxmlsec1_nss_la-tokens.lo `test -f 'tokens.c' || 
echo '$(srcdir)/'`tokens.c
 +
  libxmlsec1_nss_la-bignum.lo: bignum.c
- @am__fastdepCC_TRUE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) 
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(libxmlsec1_nss_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT 
libxmlsec1_nss_la-bignum.lo -MD -MP -MF $(DEPDIR)/libxmlsec1_nss_la-bignum.Tpo 
-c -o libxmlsec1_nss_la-bignum.lo `test -f 'bignum.c' || echo 
'$(srcdir)/'`bignum.c
- @am__fastdepCC_TRUE@  $(am__mv) $(DEPDIR)/libxmlsec1_nss_la-bignum.Tpo 
$(DEPDIR)/libxmlsec1_nss_la-bignum.Plo
+ @am__fastdepCC_TRUE@  $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC 
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) 
$(DEFAULT_INCLUDES) $(INCLUDES) $(libxmlsec1_nss_la_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS) -MT libxmlsec1_nss_la-bignum.lo -MD -MP -MF 
$(DEPDIR)/libxmlsec1_nss_la-bignum.Tpo -c -o libxmlsec1_nss_la-bignum.lo `test 
-f 'bignum.c' || echo '$(srcdir)/'`bignum.c
+ @am__fastdepCC_TRUE@  $(AM_V_at)$(am__mv) 
$(DEPDIR)/libxmlsec1_nss_la-bignum.Tpo $(DEPDIR)/libxmlsec1_nss_la-bignum.Plo
 diff --git a/src/nss/akmngr.c b/src/nss/akmngr.c
 new file mode 100644
 index 0000000..65b94ac
@@ -4877,7 +4877,7 @@ index 8a6e97a..d1b2850 100644
  
  
 diff --git a/win32/Makefile.msvc b/win32/Makefile.msvc
-index 9309c3a..3fd562e 100644
+index 065595b..e0ac57e 100644
 --- a/win32/Makefile.msvc
 +++ b/win32/Makefile.msvc
 @@ -226,6 +226,9 @@ XMLSEC_OPENSSL_OBJS_A = \
diff --git a/external/libxmlsec/xmlsec1-mingw-keymgr-mscrypto.patch.1 
b/external/libxmlsec/xmlsec1-mingw-keymgr-mscrypto.patch.1
index 731ffa3..6added33 100644
--- a/external/libxmlsec/xmlsec1-mingw-keymgr-mscrypto.patch.1
+++ b/external/libxmlsec/xmlsec1-mingw-keymgr-mscrypto.patch.1
@@ -1,7 +1,7 @@
-From bb769e0ff1ca9018005ce833c17cc2061c550001 Mon Sep 17 00:00:00 2001
+From ba77775b6cf9a025cc049bc8c8d0381ec64933c9 Mon Sep 17 00:00:00 2001
 From: Miklos Vajna <vmik...@collabora.co.uk>
 Date: Fri, 4 Mar 2016 16:11:52 +0100
-Subject: [PATCH 07/14] xmlsec1-mingw-keymgr-mscrypto.patch
+Subject: [PATCH] xmlsec1-mingw-keymgr-mscrypto.patch
 
 Conflicts:
        src/mscrypto/Makefile.in
@@ -23,10 +23,10 @@ index 5cea654..3dc6452 100644
  
  if SHAREDLIB_HACK
 diff --git a/src/mscrypto/Makefile.in b/src/mscrypto/Makefile.in
-index 72d22a3..5c7da74 100644
+index 83c8f03..866e996 100644
 --- a/src/mscrypto/Makefile.in
 +++ b/src/mscrypto/Makefile.in
-@@ -75,7 +75,8 @@ am__DEPENDENCIES_1 =
+@@ -81,7 +81,8 @@ am__DEPENDENCIES_1 =
  am__libxmlsec1_mscrypto_la_SOURCES_DIST = globals.h private.h app.c \
        certkeys.c ciphers.c crypto.c digests.c hmac.c keysstore.c \
        kw_aes.c kw_des.c kt_rsa.c signatures.c symkeys.c x509.c \
@@ -36,7 +36,7 @@ index 72d22a3..5c7da74 100644
  am__objects_1 =
  @SHAREDLIB_HACK_TRUE@am__objects_2 =  \
  @SHAREDLIB_HACK_TRUE@ libxmlsec1_mscrypto_la-strings.lo
-@@ -92,7 +93,8 @@ am_libxmlsec1_mscrypto_la_OBJECTS = 
libxmlsec1_mscrypto_la-app.lo \
+@@ -98,7 +99,8 @@ am_libxmlsec1_mscrypto_la_OBJECTS = 
libxmlsec1_mscrypto_la-app.lo \
        libxmlsec1_mscrypto_la-signatures.lo \
        libxmlsec1_mscrypto_la-symkeys.lo \
        libxmlsec1_mscrypto_la-x509.lo \
@@ -45,8 +45,8 @@ index 72d22a3..5c7da74 100644
 +      libxmlsec1_mscrypto_la-akmngr.lo $(am__objects_1) \
        $(am__objects_2)
  libxmlsec1_mscrypto_la_OBJECTS = $(am_libxmlsec1_mscrypto_la_OBJECTS)
- libxmlsec1_mscrypto_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
-@@ -353,6 +355,7 @@ libxmlsec1_mscrypto_la_CPPFLAGS = \
+ AM_V_lt = $(am__v_lt_@AM_V@)
+@@ -378,6 +380,7 @@ libxmlsec1_mscrypto_la_CPPFLAGS = \
  libxmlsec1_mscrypto_la_SOURCES = globals.h private.h app.c certkeys.c \
        ciphers.c crypto.c digests.c hmac.c keysstore.c kw_aes.c \
        kw_des.c kt_rsa.c signatures.c symkeys.c x509.c x509vfy.c \
@@ -54,17 +54,17 @@ index 72d22a3..5c7da74 100644
        csp_calg.h csp_oid.h xmlsec-mingw.h $(NULL) $(am__append_1)
  libxmlsec1_mscrypto_la_LIBADD = \
        $(MSCRYPTO_LIBS) \
-@@ -459,6 +462,7 @@ distclean-compile:
+@@ -484,6 +487,7 @@ distclean-compile:
  @AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libxmlsec1_mscrypto_la-symkeys.Plo@am__quote@
  @AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libxmlsec1_mscrypto_la-x509.Plo@am__quote@
  @AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libxmlsec1_mscrypto_la-x509vfy.Plo@am__quote@
 +@AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libxmlsec1_mscrypto_la-akmngr.Plo@am__quote@
  
  .c.o:
- @am__fastdepCC_TRUE@  $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ 
$<
-@@ -488,6 +492,13 @@ libxmlsec1_mscrypto_la-app.lo: app.c
+ @am__fastdepCC_TRUE@  $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF 
$(DEPDIR)/$*.Tpo -c -o $@ $<
+@@ -513,6 +517,13 @@ libxmlsec1_mscrypto_la-app.lo: app.c
  @AMDEP_TRUE@@am__fastdepCC_FALSE@     DEPDIR=$(DEPDIR) $(CCDEPMODE) 
$(depcomp) @AMDEPBACKSLASH@
- @am__fastdepCC_FALSE@ $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) 
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(libxmlsec1_mscrypto_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o 
libxmlsec1_mscrypto_la-app.lo `test -f 'app.c' || echo '$(srcdir)/'`app.c
+ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC 
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) 
$(DEFAULT_INCLUDES) $(INCLUDES) $(libxmlsec1_mscrypto_la_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS) -c -o libxmlsec1_mscrypto_la-app.lo `test -f 'app.c' || 
echo '$(srcdir)/'`app.c
  
 +libxmlsec1_mscrypto_la-akmngr.lo: akmngr.c
 +@am__fastdepCC_TRUE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) 
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(libxmlsec1_mscrypto_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT 
libxmlsec1_mscrypto_la-akmngr.lo -MD -MP -MF 
$(DEPDIR)/libxmlsec1_mscrypto_la-akmngr.Tpo -c -o 
libxmlsec1_mscrypto_la-akmngr.lo `test -f 'akmngr.c' || echo 
'$(srcdir)/'`akmngr.c
@@ -74,8 +74,8 @@ index 72d22a3..5c7da74 100644
 +@am__fastdepCC_FALSE@ $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) 
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(libxmlsec1_mscrypto_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o 
libxmlsec1_mscrypto_la-akmngr.lo `test -f 'akmngr.c' || echo 
'$(srcdir)/'`akmngr.c
 +
  libxmlsec1_mscrypto_la-certkeys.lo: certkeys.c
- @am__fastdepCC_TRUE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) 
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(libxmlsec1_mscrypto_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT 
libxmlsec1_mscrypto_la-certkeys.lo -MD -MP -MF 
$(DEPDIR)/libxmlsec1_mscrypto_la-certkeys.Tpo -c -o 
libxmlsec1_mscrypto_la-certkeys.lo `test -f 'certkeys.c' || echo 
'$(srcdir)/'`certkeys.c
- @am__fastdepCC_TRUE@  $(am__mv) $(DEPDIR)/libxmlsec1_mscrypto_la-certkeys.Tpo 
$(DEPDIR)/libxmlsec1_mscrypto_la-certkeys.Plo
+ @am__fastdepCC_TRUE@  $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC 
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) 
$(DEFAULT_INCLUDES) $(INCLUDES) $(libxmlsec1_mscrypto_la_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS) -MT libxmlsec1_mscrypto_la-certkeys.lo -MD -MP -MF 
$(DEPDIR)/libxmlsec1_mscrypto_la-certkeys.Tpo -c -o 
libxmlsec1_mscrypto_la-certkeys.lo `test -f 'certkeys.c' || echo 
'$(srcdir)/'`certkeys.c
+ @am__fastdepCC_TRUE@  $(AM_V_at)$(am__mv) 
$(DEPDIR)/libxmlsec1_mscrypto_la-certkeys.Tpo 
$(DEPDIR)/libxmlsec1_mscrypto_la-certkeys.Plo
 -- 
 2.6.2
 
diff --git a/external/libxmlsec/xmlsec1-noverify.patch.1 
b/external/libxmlsec/xmlsec1-noverify.patch.1
index 7e90b54..7d7ea9a 100644
--- a/external/libxmlsec/xmlsec1-noverify.patch.1
+++ b/external/libxmlsec/xmlsec1-noverify.patch.1
@@ -1,7 +1,7 @@
-From 90dc858561bdb830a8dcc9ada71a67839feb41e0 Mon Sep 17 00:00:00 2001
+From 56bd53dc3c8b7f05c55023700b3e0439dcd66aac Mon Sep 17 00:00:00 2001
 From: Miklos Vajna <vmik...@collabora.co.uk>
 Date: Fri, 4 Mar 2016 16:10:16 +0100
-Subject: [PATCH 06/14] xmlsec1-noverify.patch
+Subject: [PATCH] xmlsec1-noverify.patch
 
 Conflicts:
        src/nss/x509vfy.c
diff --git a/external/libxmlsec/xmlsec1-nssdisablecallbacks.patch.1 
b/external/libxmlsec/xmlsec1-nssdisablecallbacks.patch.1
index aa81511..8fb7d34 100644
--- a/external/libxmlsec/xmlsec1-nssdisablecallbacks.patch.1
+++ b/external/libxmlsec/xmlsec1-nssdisablecallbacks.patch.1
@@ -1,7 +1,7 @@
-From 1a39e144b32a51e00e8102d38bc1c8781fe7eb8c Mon Sep 17 00:00:00 2001
+From f93d90efc69dfd8471f446e583eaa77e4a8cde48 Mon Sep 17 00:00:00 2001
 From: Miklos Vajna <vmik...@collabora.co.uk>
 Date: Fri, 4 Mar 2016 16:09:10 +0100
-Subject: [PATCH 04/14] xmlsec1-nssdisablecallbacks.patch
+Subject: [PATCH] xmlsec1-nssdisablecallbacks.patch
 
 Conflicts:
        src/nss/crypto.c
diff --git a/external/libxmlsec/xmlsec1-nssmangleciphers.patch.1 
b/external/libxmlsec/xmlsec1-nssmangleciphers.patch.1
index e7a4dce..30f5eca 100644
--- a/external/libxmlsec/xmlsec1-nssmangleciphers.patch.1
+++ b/external/libxmlsec/xmlsec1-nssmangleciphers.patch.1
@@ -1,7 +1,7 @@
-From 0cba783a88f6ea54717c2c732c43a6ee18d51aff Mon Sep 17 00:00:00 2001
+From d1d8d2e18825756d7b21b26c8e74e331e38c66ff Mon Sep 17 00:00:00 2001
 From: Miklos Vajna <vmik...@collabora.co.uk>
 Date: Fri, 4 Mar 2016 16:09:39 +0100
-Subject: [PATCH 05/14] xmlsec1-nssmangleciphers.patch
+Subject: [PATCH] xmlsec1-nssmangleciphers.patch
 
 Conflicts:
        src/nss/ciphers.c
diff --git a/external/libxmlsec/xmlsec1-oldlibtool.patch.1 
b/external/libxmlsec/xmlsec1-oldlibtool.patch.1
index 17c3e21..5ad5fbb 100644
--- a/external/libxmlsec/xmlsec1-oldlibtool.patch.1
+++ b/external/libxmlsec/xmlsec1-oldlibtool.patch.1
@@ -1,7 +1,7 @@
-From f8e7406cafa94afffd04a7a6d68464bbe65e5c8b Mon Sep 17 00:00:00 2001
+From 1cf12e1a9c59c46bef9b23aed92c9a27e4305c34 Mon Sep 17 00:00:00 2001
 From: Miklos Vajna <vmik...@collabora.co.uk>
 Date: Fri, 4 Mar 2016 16:08:09 +0100
-Subject: [PATCH 03/14] xmlsec1-oldlibtool.patch
+Subject: [PATCH] xmlsec1-oldlibtool.patch
 
 ---
  compile | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
diff --git a/external/libxmlsec/xmlsec1-ooxml.patch.1 
b/external/libxmlsec/xmlsec1-ooxml.patch.1
index 299139f..bc7123c 100644
--- a/external/libxmlsec/xmlsec1-ooxml.patch.1
+++ b/external/libxmlsec/xmlsec1-ooxml.patch.1
@@ -1,7 +1,7 @@
-From 26638413b86a4a690baf96547a52f2fc762bc5bb Mon Sep 17 00:00:00 2001
+From 114dad4467a2834d11ba463251cf766928dbb757 Mon Sep 17 00:00:00 2001
 From: Miklos Vajna <vmik...@collabora.co.uk>
 Date: Mon, 25 Jan 2016 09:50:03 +0100
-Subject: [PATCH 14/14] OOXML Relationship Transform
+Subject: [PATCH] OOXML Relationship Transform
 
 Conflicts:
        include/xmlsec/transforms.h
@@ -14,10 +14,10 @@ Conflicts:
  5 files changed, 563 insertions(+)
 
 diff --git a/include/xmlsec/strings.h b/include/xmlsec/strings.h
-index 98650bf..d9fa3df 100644
+index 5e3f6a1..b386fc4 100644
 --- a/include/xmlsec/strings.h
 +++ b/include/xmlsec/strings.h
-@@ -551,6 +551,9 @@ XMLSEC_EXPORT_VAR const xmlChar xmlSecXPath2FilterUnion[];
+@@ -588,6 +588,9 @@ XMLSEC_EXPORT_VAR const xmlChar xmlSecXPath2FilterUnion[];
  XMLSEC_EXPORT_VAR const xmlChar xmlSecNameXPointer[];
  XMLSEC_EXPORT_VAR const xmlChar xmlSecNodeXPointer[];
  
@@ -43,10 +43,10 @@ index f0c70c9..5bdb1b9 100644
  #include <libxslt/security.h>
  
 diff --git a/src/strings.c b/src/strings.c
-index 99ee316..d318d16 100644
+index f746f4d..048b0a6 100644
 --- a/src/strings.c
 +++ b/src/strings.c
-@@ -543,6 +543,9 @@ const xmlChar xmlSecXPath2FilterUnion[]         = "union";
+@@ -579,6 +579,9 @@ const xmlChar xmlSecXPath2FilterUnion[]         = "union";
  const xmlChar xmlSecNameXPointer[]              = "xpointer";
  const xmlChar xmlSecNodeXPointer[]              = "XPointer";
  
@@ -79,7 +79,7 @@ index 8a2ded2..0371b82 100644
      if(xmlSecTransformIdsRegister(xmlSecTransformXsltId) < 0) {
          xmlSecError(XMLSEC_ERRORS_HERE,
 diff --git a/src/xpath.c b/src/xpath.c
-index afa7c52..92a2337 100644
+index e67631e..0fef1fe 100644
 --- a/src/xpath.c
 +++ b/src/xpath.c
 @@ -17,6 +17,7 @@
@@ -90,7 +90,7 @@ index afa7c52..92a2337 100644
  
  #include <xmlsec/xmlsec.h>
  #include <xmlsec/xmltree.h>
-@@ -1144,5 +1145,546 @@ xmlSecTransformVisa3DHackExecute(xmlSecTransformPtr 
transform, int last,
+@@ -1161,5 +1162,546 @@ xmlSecTransformVisa3DHackExecute(xmlSecTransformPtr 
transform, int last,
      return(0);
  }
  
@@ -345,10 +345,10 @@ index afa7c52..92a2337 100644
 +        return -1;
 +    if (!node2)
 +        return 1;
-+
+ 
 +    id1 = xmlGetProp(node1, "Id");
 +    id2 = xmlGetProp(node2, "Id");
-+
+ 
 +    if (!id1)
 +        return -1;
 +    if (!id2)
@@ -486,7 +486,7 @@ index afa7c52..92a2337 100644
 +          return(-1);
 +      }
 +    }
- 
++
 +    ret = xmlSecTransformRelationshipExecute(transform, buf, nodes->doc);
 +    if (ret < 0)
 +    {
@@ -498,7 +498,7 @@ index afa7c52..92a2337 100644
 +      xmlOutputBufferClose(buf);
 +      return(-1);
 +    }
- 
++
 +    ret = xmlOutputBufferClose(buf);
 +    if (ret < 0)
 +    {
diff --git a/external/libxmlsec/xmlsec1-update-config.guess.patch.1 
b/external/libxmlsec/xmlsec1-update-config.guess.patch.1
index c71f55a..f92cfd2 100644
--- a/external/libxmlsec/xmlsec1-update-config.guess.patch.1
+++ b/external/libxmlsec/xmlsec1-update-config.guess.patch.1
@@ -1,29 +1,29 @@
-From e557de8d785f87426fdc62bc387640904832f00a Mon Sep 17 00:00:00 2001
+From f8e7b18d6e4302e848606ac04f96aa55b79dbef8 Mon Sep 17 00:00:00 2001
 From: David Tardon <dtar...@redhat.com>
 Date: Tue, 13 May 2014 16:35:04 +0200
-Subject: [PATCH 13/14] update config.* to support ppc64le
+Subject: [PATCH] update config.* to support ppc64le
 
 Conflicts:
        config.guess
        config.sub
 ---
- config.guess | 406 +++++++++++++++++++++++++++++++++--------------------------
- config.sub   | 295 +++++++++++++++++++++++++++----------------
- 2 files changed, 417 insertions(+), 284 deletions(-)
+ config.guess | 184 ++++++++++++++++++++++++++++++++++-------------------------
+ config.sub   | 108 ++++++++++++++++++++---------------
+ 2 files changed, 169 insertions(+), 123 deletions(-)
 
 diff --git a/config.guess b/config.guess
-index c2246a4..b79252d 100755
+index d622a44..b79252d 100755
 --- a/config.guess
 +++ b/config.guess
 @@ -1,14 +1,12 @@
  #! /bin/sh
  # Attempt to guess a canonical system name.
 -#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
--#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
--#   Free Software Foundation, Inc.
+-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+-#   2011, 2012 Free Software Foundation, Inc.
 +#   Copyright 1992-2013 Free Software Foundation, Inc.
  
--timestamp='2009-12-30'
+-timestamp='2012-02-10'
 +timestamp='2013-06-10'
  
  # This file is free software; you can redistribute it and/or modify it
@@ -33,15 +33,7 @@ index c2246a4..b79252d 100755
  # (at your option) any later version.
  #
  # This program is distributed in the hope that it will be useful, but
-@@ -17,26 +15,22 @@ timestamp='2009-12-30'
- # General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
--# along with this program; if not, write to the Free Software
--# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
--# 02110-1301, USA.
-+# along with this program; if not, see <http://www.gnu.org/licenses/>.
- #
+@@ -22,19 +20,17 @@ timestamp='2012-02-10'
  # As a special exception to the GNU General Public License, if you
  # distribute this file as part of a program that contains a
  # configuration script generated by Autoconf, you may include it under
@@ -68,18 +60,18 @@ index c2246a4..b79252d 100755
  
  me=`echo "$0" | sed -e 's,.*/,,'`
  
-@@ -56,9 +50,7 @@ version="\
+@@ -54,9 +50,7 @@ version="\
  GNU config.guess ($timestamp)
  
  Originally written by Per Bothner.
 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
--2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
--Software Foundation, Inc.
+-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+-Free Software Foundation, Inc.
 +Copyright 1992-2013 Free Software Foundation, Inc.
  
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-@@ -140,12 +132,33 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || 
UNAME_RELEASE=unknown
+@@ -138,6 +132,27 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || 
UNAME_RELEASE=unknown
  UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
  UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
  
@@ -107,23 +99,7 @@ index c2246a4..b79252d 100755
  # Note: order is significant - the case branches are not exclusive.
  
  case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
-     *:NetBSD:*:*)
-       # NetBSD (nbsd) targets should (where applicable) match one or
--      # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
-+      # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
-       # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
-       # switched to ELF, *-*-netbsd* would select the old
-       # object file format.  This provides both forward
-@@ -181,7 +194,7 @@ case 
"${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
-               fi
-               ;;
-           *)
--              os=netbsd
-+              os=netbsd
-               ;;
-       esac
-       # The OS release
-@@ -202,6 +215,10 @@ case 
"${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+@@ -200,6 +215,10 @@ case 
"${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
        echo "${machine}-${os}${release}"
        exit ;;
@@ -134,34 +110,7 @@ index c2246a4..b79252d 100755
      *:OpenBSD:*:*)
        UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
        echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
-@@ -224,7 +241,7 @@ case 
"${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
-               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
-               ;;
-       *5.*)
--              UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
-+              UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
-               ;;
-       esac
-       # According to Compaq, /usr/sbin/psrinfo has been available on
-@@ -270,7 +287,10 @@ case 
"${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
-       # A Xn.n version is an unreleased experimental baselevel.
-       # 1.2 uses "1.2" for uname -r.
-       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 
's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
--      exit ;;
-+      # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
-+      exitcode=$?
-+      trap '' 0
-+      exit $exitcode ;;
-     Alpha\ *:Windows_NT*:*)
-       # How do we know it's Interix rather than the generic POSIX subsystem?
-       # Should we change UNAME_MACHINE based on the output of uname instead
-@@ -296,12 +316,12 @@ case 
"${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
-       echo s390-ibm-zvmoe
-       exit ;;
-     *:OS400:*:*)
--        echo powerpc-ibm-os400
-+      echo powerpc-ibm-os400
-       exit ;;
+@@ -302,7 +321,7 @@ case 
"${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
      arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
        echo arm-acorn-riscix${UNAME_RELEASE}
        exit ;;
@@ -170,226 +119,7 @@ index c2246a4..b79252d 100755
        echo arm-unknown-riscos
        exit ;;
      SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
-@@ -395,23 +415,23 @@ case 
"${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
-     # MiNT.  But MiNT is downward compatible to TOS, so this should
-     # be no problem.
-     atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
--        echo m68k-atari-mint${UNAME_RELEASE}
-+      echo m68k-atari-mint${UNAME_RELEASE}
-       exit ;;
-     atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
-       echo m68k-atari-mint${UNAME_RELEASE}
--        exit ;;
-+      exit ;;
-     *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
--        echo m68k-atari-mint${UNAME_RELEASE}
-+      echo m68k-atari-mint${UNAME_RELEASE}
-       exit ;;
-     milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
--        echo m68k-milan-mint${UNAME_RELEASE}
--        exit ;;
-+      echo m68k-milan-mint${UNAME_RELEASE}
-+      exit ;;
-     hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
--        echo m68k-hades-mint${UNAME_RELEASE}
--        exit ;;
-+      echo m68k-hades-mint${UNAME_RELEASE}
-+      exit ;;
-     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
--        echo m68k-unknown-mint${UNAME_RELEASE}
--        exit ;;
-+      echo m68k-unknown-mint${UNAME_RELEASE}
-+      exit ;;
-     m68k:machten:*:*)
-       echo m68k-apple-machten${UNAME_RELEASE}
-       exit ;;
-@@ -481,8 +501,8 @@ EOF
-       echo m88k-motorola-sysv3
-       exit ;;
-     AViiON:dgux:*:*)
--        # DG/UX returns AViiON for all architectures
--        UNAME_PROCESSOR=`/usr/bin/uname -p`
-+      # DG/UX returns AViiON for all architectures
-+      UNAME_PROCESSOR=`/usr/bin/uname -p`
-       if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
-       then
-           if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
-@@ -495,7 +515,7 @@ EOF
-       else
-           echo i586-dg-dgux${UNAME_RELEASE}
-       fi
--      exit ;;
-+      exit ;;
-     M88*:DolphinOS:*:*)       # DolphinOS (SVR3)
-       echo m88k-dolphin-sysv3
-       exit ;;
-@@ -552,7 +572,7 @@ EOF
-               echo rs6000-ibm-aix3.2
-       fi
-       exit ;;
--    *:AIX:*:[456])
-+    *:AIX:*:[4567])
-       IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk 
'{ print $1 }'`
-       if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; 
then
-               IBM_ARCH=rs6000
-@@ -595,52 +615,52 @@ EOF
-           9000/[678][0-9][0-9])
-               if [ -x /usr/bin/getconf ]; then
-                   sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
--                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 
2>/dev/null`
--                    case "${sc_cpu_version}" in
--                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
--                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
--                      532)                      # CPU_PA_RISC2_0
--                        case "${sc_kernel_bits}" in
--                          32) HP_ARCH="hppa2.0n" ;;
--                          64) HP_ARCH="hppa2.0w" ;;
-+                  sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
-+                  case "${sc_cpu_version}" in
-+                    523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
-+                    528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
-+                    532)                      # CPU_PA_RISC2_0
-+                      case "${sc_kernel_bits}" in
-+                        32) HP_ARCH="hppa2.0n" ;;
-+                        64) HP_ARCH="hppa2.0w" ;;
-                         '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
--                        esac ;;
--                    esac
-+                      esac ;;
-+                  esac
-               fi
-               if [ "${HP_ARCH}" = "" ]; then
-                   eval $set_cc_for_build
--                  sed 's/^              //' << EOF >$dummy.c
-+                  sed 's/^            //' << EOF >$dummy.c
- 
--              #define _HPUX_SOURCE
--              #include <stdlib.h>
--              #include <unistd.h>
-+              #define _HPUX_SOURCE
-+              #include <stdlib.h>
-+              #include <unistd.h>
- 
--              int main ()
--              {
--              #if defined(_SC_KERNEL_BITS)
--                  long bits = sysconf(_SC_KERNEL_BITS);
--              #endif
--                  long cpu  = sysconf (_SC_CPU_VERSION);
-+              int main ()
-+              {
-+              #if defined(_SC_KERNEL_BITS)
-+                  long bits = sysconf(_SC_KERNEL_BITS);
-+              #endif
-+                  long cpu  = sysconf (_SC_CPU_VERSION);
- 
--                  switch (cpu)
--                      {
--                      case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
--                      case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
--                      case CPU_PA_RISC2_0:
--              #if defined(_SC_KERNEL_BITS)
--                          switch (bits)
--                              {
--                              case 64: puts ("hppa2.0w"); break;
--                              case 32: puts ("hppa2.0n"); break;
--                              default: puts ("hppa2.0"); break;
--                              } break;
--              #else  /* !defined(_SC_KERNEL_BITS) */
--                          puts ("hppa2.0"); break;
--              #endif
--                      default: puts ("hppa1.0"); break;
--                      }
--                  exit (0);
--              }
-+                  switch (cpu)
-+                      {
-+                      case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
-+                      case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
-+                      case CPU_PA_RISC2_0:
-+              #if defined(_SC_KERNEL_BITS)
-+                          switch (bits)
-+                              {
-+                              case 64: puts ("hppa2.0w"); break;
-+                              case 32: puts ("hppa2.0n"); break;
-+                              default: puts ("hppa2.0"); break;
-+                              } break;
-+              #else  /* !defined(_SC_KERNEL_BITS) */
-+                          puts ("hppa2.0"); break;
-+              #endif
-+                      default: puts ("hppa1.0"); break;
-+                      }
-+                  exit (0);
-+              }
- EOF
-                   (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && 
HP_ARCH=`$dummy`
-                   test -z "$HP_ARCH" && HP_ARCH=hppa
-@@ -731,22 +751,22 @@ EOF
-       exit ;;
-     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
-       echo c1-convex-bsd
--        exit ;;
-+      exit ;;
-     C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
-       if getsysinfo -f scalar_acc
-       then echo c32-convex-bsd
-       else echo c2-convex-bsd
-       fi
--        exit ;;
-+      exit ;;
-     C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
-       echo c34-convex-bsd
--        exit ;;
-+      exit ;;
-     C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
-       echo c38-convex-bsd
--        exit ;;
-+      exit ;;
-     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
-       echo c4-convex-bsd
--        exit ;;
-+      exit ;;
-     CRAY*Y-MP:*:*:*)
-       echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-       exit ;;
-@@ -770,14 +790,14 @@ EOF
-       exit ;;
-     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
-       FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
'abcdefghijklmnopqrstuvwxyz'`
--        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
--        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
--        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
--        exit ;;
-+      FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-+      FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
-+      echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
-+      exit ;;
-     5000:UNIX_System_V:4.*:*)
--        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
--        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
--        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
-+      FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-+      FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
-+      echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
-       exit ;;
-     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
-       echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
-@@ -789,30 +809,35 @@ EOF
-       echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
-       exit ;;
-     *:FreeBSD:*:*)
--      case ${UNAME_MACHINE} in
--          pc98)
--              echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 
's/[-(].*//'` ;;
-+      UNAME_PROCESSOR=`/usr/bin/uname -p`
-+      case ${UNAME_PROCESSOR} in
-           amd64)
-               echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 
's/[-(].*//'` ;;
-           *)
--              echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed 
-e 's/[-(].*//'` ;;
-+              echo ${UNAME_PROCESSOR}-unknown-freebsd`echo 
${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
-       esac
-       exit ;;
+@@ -801,6 +820,9 @@ EOF
      i*:CYGWIN*:*)
        echo ${UNAME_MACHINE}-pc-cygwin
        exit ;;
@@ -399,25 +129,7 @@ index c2246a4..b79252d 100755
      *:MINGW*:*)
        echo ${UNAME_MACHINE}-pc-mingw32
        exit ;;
-+    i*:MSYS*:*)
-+      echo ${UNAME_MACHINE}-pc-msys
-+      exit ;;
-     i*:windows32*:*)
--      # uname -m includes "-pc" on this system.
--      echo ${UNAME_MACHINE}-mingw32
-+      # uname -m includes "-pc" on this system.
-+      echo ${UNAME_MACHINE}-mingw32
-       exit ;;
-     i*:PW*:*)
-       echo ${UNAME_MACHINE}-pc-pw32
-       exit ;;
-     *:Interix*:*)
--      case ${UNAME_MACHINE} in
-+      case ${UNAME_MACHINE} in
-           x86)
-               echo i586-pc-interix${UNAME_RELEASE}
-               exit ;;
-@@ -849,15 +874,22 @@ EOF
+@@ -852,21 +874,21 @@ EOF
        exit ;;
      *:GNU:*:*)
        # the GNU system
@@ -432,22 +144,20 @@ index c2246a4..b79252d 100755
      i*86:Minix:*:*)
        echo ${UNAME_MACHINE}-pc-minix
        exit ;;
-+    aarch64:Linux:*:*)
+     aarch64:Linux:*:*)
+-      echo ${UNAME_MACHINE}-unknown-linux-gnu
 +      echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
-+      exit ;;
-+    aarch64_be:Linux:*:*)
-+      UNAME_MACHINE=aarch64_be
+       exit ;;
+     aarch64_be:Linux:*:*)
+       UNAME_MACHINE=aarch64_be
+-      echo ${UNAME_MACHINE}-unknown-linux-gnu
 +      echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
-+      exit ;;
+       exit ;;
      alpha:Linux:*:*)
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
-         EV5)   UNAME_MACHINE=alphaev5 ;;
-@@ -867,52 +899,56 @@ EOF
-         EV6)   UNAME_MACHINE=alphaev6 ;;
-         EV67)  UNAME_MACHINE=alphaev67 ;;
+@@ -879,59 +901,54 @@ EOF
          EV68*) UNAME_MACHINE=alphaev68 ;;
--        esac
-+      esac
+       esac
        objdump --private-headers /bin/sh | grep -q ld.so.1
 -      if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
 -      echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
@@ -465,14 +175,15 @@ index c2246a4..b79252d 100755
 -          echo ${UNAME_MACHINE}-unknown-linux-gnu
 +          echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        else
--          echo ${UNAME_MACHINE}-unknown-linux-gnueabi
-+          if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
-+              | grep -q __ARM_PCS_VFP
-+          then
+           if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
+               | grep -q __ARM_PCS_VFP
+           then
+-              echo ${UNAME_MACHINE}-unknown-linux-gnueabi
 +              echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
-+          else
+           else
+-              echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
 +              echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
-+          fi
+           fi
        fi
        exit ;;
      avr32*:Linux:*:*)
@@ -480,18 +191,19 @@ index c2246a4..b79252d 100755
 +      echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
      cris:Linux:*:*)
--      echo cris-axis-linux-gnu
+-      echo ${UNAME_MACHINE}-axis-linux-gnu
 +      echo ${UNAME_MACHINE}-axis-linux-${LIBC}
        exit ;;
      crisv32:Linux:*:*)
--      echo crisv32-axis-linux-gnu
+-      echo ${UNAME_MACHINE}-axis-linux-gnu
 +      echo ${UNAME_MACHINE}-axis-linux-${LIBC}
        exit ;;
      frv:Linux:*:*)
--      echo frv-unknown-linux-gnu
+-      echo ${UNAME_MACHINE}-unknown-linux-gnu
 +      echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
-+      exit ;;
-+    hexagon:Linux:*:*)
+       exit ;;
+     hexagon:Linux:*:*)
+-      echo ${UNAME_MACHINE}-unknown-linux-gnu
 +      echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
      i*86:Linux:*:*)
@@ -520,7 +232,7 @@ index c2246a4..b79252d 100755
        exit ;;
      mips:Linux:*:* | mips64:Linux:*:*)
        eval $set_cc_for_build
-@@ -931,51 +967,63 @@ EOF
+@@ -950,54 +967,63 @@ EOF
        #endif
  EOF
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
@@ -531,7 +243,7 @@ index c2246a4..b79252d 100755
 +      echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 +      exit ;;
      or32:Linux:*:*)
--      echo or32-unknown-linux-gnu
+-      echo ${UNAME_MACHINE}-unknown-linux-gnu
 +      echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
      padre:Linux:*:*)
@@ -572,7 +284,7 @@ index c2246a4..b79252d 100755
 +      echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
        exit ;;
      sh64*:Linux:*:*)
--      echo ${UNAME_MACHINE}-unknown-linux-gnu
+-      echo ${UNAME_MACHINE}-unknown-linux-gnu
 +      echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
      sh*:Linux:*:*)
@@ -582,8 +294,9 @@ index c2246a4..b79252d 100755
      sparc:Linux:*:* | sparc64:Linux:*:*)
 -      echo ${UNAME_MACHINE}-unknown-linux-gnu
 +      echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
-+      exit ;;
-+    tile*:Linux:*:*)
+       exit ;;
+     tile*:Linux:*:*)
+-      echo ${UNAME_MACHINE}-unknown-linux-gnu
 +      echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
      vax:Linux:*:*)
@@ -591,99 +304,16 @@ index c2246a4..b79252d 100755
 +      echo ${UNAME_MACHINE}-dec-linux-${LIBC}
        exit ;;
      x86_64:Linux:*:*)
--      echo x86_64-unknown-linux-gnu
+-      echo ${UNAME_MACHINE}-unknown-linux-gnu
 +      echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
      xtensa*:Linux:*:*)
--      echo ${UNAME_MACHINE}-unknown-linux-gnu
+-      echo ${UNAME_MACHINE}-unknown-linux-gnu
 +      echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
        exit ;;
      i*86:DYNIX/ptx:4*:*)
        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
-@@ -984,11 +1032,11 @@ EOF
-       echo i386-sequent-sysv4
-       exit ;;
-     i*86:UNIX_SV:4.2MP:2.*)
--        # Unixware is an offshoot of SVR4, but it has its own version
--        # number series starting with 2...
--        # I am not positive that other SVR4 systems won't match this,
-+      # Unixware is an offshoot of SVR4, but it has its own version
-+      # number series starting with 2...
-+      # I am not positive that other SVR4 systems won't match this,
-       # I just have to hope.  -- rms.
--        # Use sysv4.2uw... so that sysv4* matches it.
-+      # Use sysv4.2uw... so that sysv4* matches it.
-       echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
-       exit ;;
-     i*86:OS/2:*:*)
-@@ -1020,7 +1068,7 @@ EOF
-       fi
-       exit ;;
-     i*86:*:5:[678]*)
--      # UnixWare 7.x, OpenUNIX and OpenServer 6.
-+      # UnixWare 7.x, OpenUNIX and OpenServer 6.
-       case `/bin/uname -X | grep "^Machine"` in
-           *486*)           UNAME_MACHINE=i486 ;;
-           *Pentium)        UNAME_MACHINE=i586 ;;
-@@ -1048,13 +1096,13 @@ EOF
-       exit ;;
-     pc:*:*:*)
-       # Left here for compatibility:
--        # uname -m prints for DJGPP always 'pc', but it prints nothing about
--        # the processor, so we play safe by assuming i586.
-+      # uname -m prints for DJGPP always 'pc', but it prints nothing about
-+      # the processor, so we play safe by assuming i586.
-       # Note: whatever this is, it MUST be the same as what config.sub
-       # prints for the "djgpp" host, or else GDB configury will decide that
-       # this is a cross-build.
-       echo i586-pc-msdosdjgpp
--        exit ;;
-+      exit ;;
-     Intel:Mach:3*:*)
-       echo i386-pc-mach3
-       exit ;;
-@@ -1089,8 +1137,8 @@ EOF
-       /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
-         && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
-     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
--        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
--          && { echo i486-ncr-sysv4; exit; } ;;
-+      /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-+        && { echo i486-ncr-sysv4; exit; } ;;
-     NCR*:*:4.2:* | MPRAS*:*:4.2:*)
-       OS_REL='.3'
-       test -r /etc/.relid \
-@@ -1133,10 +1181,10 @@ EOF
-               echo ns32k-sni-sysv
-       fi
-       exit ;;
--    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
--                      # says <richard.m.bar...@ccmail.census.gov>
--        echo i586-unisys-sysv4
--        exit ;;
-+    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
-+                      # says <richard.m.bar...@ccmail.census.gov>
-+      echo i586-unisys-sysv4
-+      exit ;;
-     *:UNIX_System_V:4*:FTX*)
-       # From Gerald Hewes <he...@openmarket.com>.
-       # How about differentiating between stratus architectures? -djm
-@@ -1162,11 +1210,11 @@ EOF
-       exit ;;
-     R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
-       if [ -d /usr/nec ]; then
--              echo mips-nec-sysv${UNAME_RELEASE}
-+              echo mips-nec-sysv${UNAME_RELEASE}
-       else
--              echo mips-unknown-sysv${UNAME_RELEASE}
-+              echo mips-unknown-sysv${UNAME_RELEASE}
-       fi
--        exit ;;
-+      exit ;;
-     BeBox:BeOS:*:*)   # BeOS running on hardware made by Be, PPC only.
-       echo powerpc-be-beos
-       exit ;;
-@@ -1179,6 +1227,9 @@ EOF
+@@ -1201,6 +1227,9 @@ EOF
      BePC:Haiku:*:*)   # Haiku running on Intel PC compatible.
        echo i586-pc-haiku
        exit ;;
@@ -693,7 +323,7 @@ index c2246a4..b79252d 100755
      SX-4:SUPER-UX:*:*)
        echo sx4-nec-superux${UNAME_RELEASE}
        exit ;;
-@@ -1205,19 +1256,21 @@ EOF
+@@ -1227,19 +1256,21 @@ EOF
        exit ;;
      *:Darwin:*:*)
        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
@@ -728,41 +358,17 @@ index c2246a4..b79252d 100755
        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
        exit ;;
      *:procnto*:*:* | *:QNX:[0123456789]*:*)
-@@ -1231,7 +1284,10 @@ EOF
-     *:QNX:*:4*)
-       echo i386-pc-qnx
+@@ -1256,7 +1287,7 @@ EOF
+     NEO-?:NONSTOP_KERNEL:*:*)
+       echo neo-tandem-nsk${UNAME_RELEASE}
        exit ;;
 -    NSE-?:NONSTOP_KERNEL:*:*)
-+    NEO-?:NONSTOP_KERNEL:*:*)
-+      echo neo-tandem-nsk${UNAME_RELEASE}
-+      exit ;;
 +    NSE-*:NONSTOP_KERNEL:*:*)
        echo nse-tandem-nsk${UNAME_RELEASE}
        exit ;;
      NSR-?:NONSTOP_KERNEL:*:*)
-@@ -1276,13 +1332,13 @@ EOF
-       echo pdp10-unknown-its
-       exit ;;
-     SEI:*:*:SEIUX)
--        echo mips-sei-seiux${UNAME_RELEASE}
-+      echo mips-sei-seiux${UNAME_RELEASE}
-       exit ;;
-     *:DragonFly:*:*)
-       echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 
's/[-(].*//'`
+@@ -1330,9 +1361,6 @@ EOF
        exit ;;
-     *:*VMS:*:*)
--      UNAME_MACHINE=`(uname -p) 2>/dev/null`
-+      UNAME_MACHINE=`(uname -p) 2>/dev/null`
-       case "${UNAME_MACHINE}" in
-           A*) echo alpha-dec-vms ; exit ;;
-           I*) echo ia64-dec-vms ; exit ;;
-@@ -1300,11 +1356,11 @@ EOF
-     i*86:AROS:*:*)
-       echo ${UNAME_MACHINE}-pc-aros
-       exit ;;
-+    x86_64:VMkernel:*:*)
-+      echo ${UNAME_MACHINE}-unknown-esx
-+      exit ;;
  esac
  
 -#echo '(No uname command or uname output not recognized.)' 1>&2
@@ -771,34 +377,19 @@ index c2246a4..b79252d 100755
  eval $set_cc_for_build
  cat >$dummy.c <<EOF
  #ifdef _SEQUENT_
-@@ -1322,11 +1378,11 @@ main ()
- #include <sys/param.h>
-   printf ("m68k-sony-newsos%s\n",
- #ifdef NEWSOS4
--          "4"
-+      "4"
- #else
--        ""
-+      ""
- #endif
--         ); exit (0);
-+      ); exit (0);
- #endif
- #endif
- 
 diff --git a/config.sub b/config.sub
-index 7a176e9..d2a9613 100755
+index c894da4..d2a9613 100755
 --- a/config.sub
 +++ b/config.sub
-@@ -1,38 +1,31 @@
+@@ -1,24 +1,18 @@
  #! /bin/sh
  # Configuration validation subroutine script.
 -#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
--#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
--#   Free Software Foundation, Inc.
+-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+-#   2011, 2012 Free Software Foundation, Inc.
 +#   Copyright 1992-2013 Free Software Foundation, Inc.
  
--timestamp='2010-01-22'
+-timestamp='2012-02-10'
 +timestamp='2013-08-10'
  
 -# This file is (in principle) common to ALL GNU software.
@@ -823,11 +414,8 @@ index 7a176e9..d2a9613 100755
 +# General Public License for more details.
  #
  # You should have received a copy of the GNU General Public License
--# along with this program; if not, write to the Free Software
--# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
--# 02110-1301, USA.
-+# along with this program; if not, see <http://www.gnu.org/licenses/>.
- #
+ # along with this program; if not, see <http://www.gnu.org/licenses/>.
+@@ -26,11 +20,12 @@ timestamp='2012-02-10'
  # As a special exception to the GNU General Public License, if you
  # distribute this file as part of a program that contains a
  # configuration script generated by Autoconf, you may include it under
@@ -843,39 +431,27 @@ index 7a176e9..d2a9613 100755
  #
  # Configuration subroutine to validate and canonicalize a configuration type.
  # Supply the specified configuration type as an argument.
-@@ -75,9 +68,7 @@ Report bugs and patches to <config-patc...@gnu.org>."
+@@ -73,9 +68,7 @@ Report bugs and patches to <config-patc...@gnu.org>."
  version="\
  GNU config.sub ($timestamp)
  
 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
--2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
--Software Foundation, Inc.
+-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+-Free Software Foundation, Inc.
 +Copyright 1992-2013 Free Software Foundation, Inc.
  
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-@@ -124,13 +115,18 @@ esac
- # Here we must recognize all the valid KERNEL-OS combinations.
+@@ -123,7 +116,7 @@ esac
  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
  case $maybe_os in
--  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | 
linux-uclibc* | \
--  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | 
netbsd*-gnu* | \
-+  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+   nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+-  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
 +  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | 
kfreebsd*-gnu* | \
-+  knetbsd*-gnu* | netbsd*-gnu* | \
+   knetbsd*-gnu* | netbsd*-gnu* | \
    kopensolaris*-gnu* | \
    storm-chaos* | os2-emx* | rtmk-nova*)
-     os=-$maybe_os
-     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
-     ;;
-+  android-linux)
-+    os=-linux-android
-+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
-+    ;;
-   *)
-     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
-     if [ $basic_machine != $1 ]
-@@ -153,12 +149,12 @@ case $os in
+@@ -156,7 +149,7 @@ case $os in
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
@@ -884,28 +460,7 @@ index 7a176e9..d2a9613 100755
                os=
                basic_machine=$1
                ;;
--        -bluegene*)
--              os=-cnk
-+      -bluegene*)
-+              os=-cnk
-               ;;
-       -sim | -cisco | -oki | -wec | -winbond)
-               os=
-@@ -174,10 +170,10 @@ case $os in
-               os=-chorusos
-               basic_machine=$1
-               ;;
--      -chorusrdb)
--              os=-chorusrdb
-+      -chorusrdb)
-+              os=-chorusrdb
-               basic_machine=$1
--              ;;
-+              ;;
-       -hiux*)
-               os=-hiuxwe2
-               ;;
-@@ -222,6 +218,12 @@ case $os in
+@@ -225,6 +218,12 @@ case $os in
        -isc*)
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
                ;;
@@ -918,15 +473,12 @@ index 7a176e9..d2a9613 100755
        -lynx*)
                os=-lynxos
                ;;
-@@ -246,20 +248,27 @@ case $basic_machine in
-       # Some are omitted here because they have special meanings below.
-       1750a | 580 \
-       | a29k \
-+      | aarch64 | aarch64_be \
+@@ -253,10 +252,12 @@ case $basic_machine in
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | 
alpha64pca5[67] \
        | am33_2.0 \
 -      | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | 
avr32 \
+-        | be32 | be64 \
 +      | arc | arceb \
 +      | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
 +      | avr | avr32 \
@@ -935,13 +487,10 @@ index 7a176e9..d2a9613 100755
 -      | c4x | clipper \
 +      | c4x | c8051 | clipper \
        | d10v | d30v | dlx | dsp16xx \
-+      | epiphany \
+       | epiphany \
        | fido | fr30 | frv \
-       | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
-+      | hexagon \
-       | i370 | i860 | i960 | ia64 \
-       | ip2k | iq2000 \
-+      | le32 | le64 \
+@@ -267,7 +268,7 @@ case $basic_machine in
+       | le32 | le64 \
        | lm32 \
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
 -      | maxq | mb | microblaze | mcore | mep | metag \
@@ -949,7 +498,7 @@ index 7a176e9..d2a9613 100755
        | mips | mipsbe | mipseb | mipsel | mipsle \
        | mips16 \
        | mips64 | mips64el \
-@@ -277,34 +286,45 @@ case $basic_machine in
+@@ -285,16 +286,17 @@ case $basic_machine in
        | mipsisa64r2 | mipsisa64r2el \
        | mipsisa64sb1 | mipsisa64sb1el \
        | mipsisa64sr71k | mipsisa64sr71kel \
@@ -959,100 +508,33 @@ index 7a176e9..d2a9613 100755
        | moxie \
        | mt \
        | msp430 \
+       | nds32 | nds32le | nds32be \
 -      | nios | nios2 \
-+      | nds32 | nds32le | nds32be \
 +      | nios | nios2 | nios2eb | nios2el \
        | ns16k | ns32k \
+       | open8 \
 -      | or32 \
-+      | open8 \
 +      | or1k | or32 \
        | pdp10 | pdp11 | pj | pjl \
--      | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
-+      | powerpc | powerpc64 | powerpc64le | powerpcle \
+       | powerpc | powerpc64 | powerpc64le | powerpcle \
        | pyramid \
--      | rx \
-+      | rl78 | rx \
-       | score \
-       | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | 
shbe | shle | sh[1234]le | sh3ele \
-       | sh64 | sh64le \
-       | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | 
sparclite \
-       | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
--      | spu | strongarm \
--      | tahoe | thumb | tic4x | tic80 | tron \
-+      | spu \
-+      | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
-       | ubicom32 \
--      | v850 | v850e \
-+      | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
-       | we32k \
--      | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
-+      | x86 | xc16x | xstormy16 | xtensa \
-       | z8k | z80)
-               basic_machine=$basic_machine-unknown
-               ;;
--      m6811 | m68hc11 | m6812 | m68hc12 | picochip)
--              # Motorola 68HC11/12.
-+      c54x)
-+              basic_machine=tic54x-unknown
-+              ;;
-+      c55x)
-+              basic_machine=tic55x-unknown
-+              ;;
-+      c6x)
-+              basic_machine=tic6x-unknown
-+              ;;
-+      m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
-               basic_machine=$basic_machine-unknown
-               os=-none
-               ;;
-@@ -314,6 +334,21 @@ case $basic_machine in
-               basic_machine=mt-unknown
-               ;;
- 
-+      strongarm | thumb | xscale)
-+              basic_machine=arm-unknown
-+              ;;
-+      xgate)
-+              basic_machine=$basic_machine-unknown
-+              os=-none
-+              ;;
-+      xscaleeb)
-+              basic_machine=armeb-unknown
-+              ;;
-+
-+      xscaleel)
-+              basic_machine=armel-unknown
-+              ;;
-+
-       # We use `pc' rather than `unknown'
-       # because (1) that's what they normally are, and
-       # (2) the word "unknown" tends to confuse beginning users.
-@@ -328,25 +363,30 @@ case $basic_machine in
-       # Recognize the basic CPU types with company name.
-       580-* \
-       | a29k-* \
-+      | aarch64-* | aarch64_be-* \
+@@ -364,13 +366,13 @@ case $basic_machine in
+       | aarch64-* | aarch64_be-* \
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
 -      | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 +      | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
        | avr-* | avr32-* \
-+      | be32-* | be64-* \
+       | be32-* | be64-* \
        | bfin-* | bs2000-* \
--      | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
+       | c[123]* | c30-* | [cjt]90-* | c4x-* \
 -      | clipper-* | craynv-* | cydra-* \
-+      | c[123]* | c30-* | [cjt]90-* | c4x-* \
 +      | c8051-* | clipper-* | craynv-* | cydra-* \
        | d10v-* | d30v-* | dlx-* \
        | elxsi-* \
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
-       | h8300-* | h8500-* \
-       | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
-+      | hexagon-* \
-       | i*86-* | i860-* | i960-* | ia64-* \
-       | ip2k-* | iq2000-* \
-+      | le32-* | le64-* \
+@@ -383,7 +385,8 @@ case $basic_machine in
        | lm32-* \
        | m32c-* | m32r-* | m32rle-* \
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
@@ -1062,7 +544,7 @@ index 7a176e9..d2a9613 100755
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
        | mips16-* \
        | mips64-* | mips64el-* \
-@@ -364,30 +404,34 @@ case $basic_machine in
+@@ -401,12 +404,13 @@ case $basic_machine in
        | mipsisa64r2-* | mipsisa64r2el-* \
        | mipsisa64sb1-* | mipsisa64sb1el-* \
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
@@ -1071,93 +553,17 @@ index 7a176e9..d2a9613 100755
        | mmix-* \
        | mt-* \
        | msp430-* \
+       | nds32-* | nds32le-* | nds32be-* \
 -      | nios-* | nios2-* \
-+      | nds32-* | nds32le-* | nds32be-* \
 +      | nios-* | nios2-* | nios2eb-* | nios2el-* \
        | none-* | np1-* | ns16k-* | ns32k-* \
-+      | open8-* \
+       | open8-* \
        | orion-* \
-       | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
--      | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
-+      | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
-       | pyramid-* \
--      | romp-* | rs6000-* | rx-* \
-+      | rl78-* | romp-* | rs6000-* | rx-* \
-       | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* 
| sheb-* | shbe-* \
-       | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
-       | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | 
sparclet-* \
-       | sparclite-* \
--      | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* 
| sx?-* \
--      | tahoe-* | thumb-* \
-+      | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
-+      | tahoe-* \
-       | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
--      | tile-* | tilegx-* \
-+      | tile*-* \
-       | tron-* \
-       | ubicom32-* \
--      | v850-* | v850e-* | vax-* \
-+      | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
-+      | vax-* \
-       | we32k-* \
--      | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
-+      | x86-* | x86_64-* | xc16x-* | xps100-* \
-       | xstormy16-* | xtensa*-* \
-       | ymp-* \
-       | z8k-* | z80-*)
-@@ -412,7 +456,7 @@ case $basic_machine in
-               basic_machine=a29k-amd
-               os=-udi
-               ;;
--      abacus)
-+      abacus)
-               basic_machine=abacus-unknown
-               ;;
-       adobe68k)
-@@ -482,11 +526,20 @@ case $basic_machine in
-               basic_machine=powerpc-ibm
-               os=-cnk
-               ;;
-+      c54x-*)
-+              basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
-+              ;;
-+      c55x-*)
-+              basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
-+              ;;
-+      c6x-*)
-+              basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
-+              ;;
-       c90)
-               basic_machine=c90-cray
-               os=-unicos
-               ;;
--        cegcc)
-+      cegcc)
-               basic_machine=arm-unknown
-               os=-cegcc
-               ;;
-@@ -518,7 +571,7 @@ case $basic_machine in
-               basic_machine=craynv-cray
-               os=-unicosmp
-               ;;
--      cr16)
-+      cr16 | cr16-*)
-               basic_machine=cr16-unknown
-               os=-elf
-               ;;
-@@ -676,7 +729,6 @@ case $basic_machine in
-       i370-ibm* | ibm*)
-               basic_machine=i370-ibm
-               ;;
--# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
-       i*86v32)
-               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
-               os=-sysv32
-@@ -734,11 +786,15 @@ case $basic_machine in
+@@ -782,11 +786,15 @@ case $basic_machine in
                basic_machine=ns32k-utek
                os=-sysv
                ;;
--        microblaze)
+-      microblaze)
 +      microblaze*)
                basic_machine=microblaze-xilinx
                ;;
@@ -1171,52 +577,16 @@ index 7a176e9..d2a9613 100755
                os=-mingw32
                ;;
        mingw32ce)
-@@ -773,10 +829,18 @@ case $basic_machine in
-       ms1-*)
+@@ -822,7 +830,7 @@ case $basic_machine in
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
                ;;
-+      msys)
+       msys)
+-              basic_machine=i386-pc
 +              basic_machine=i686-pc
-+              os=-msys
-+              ;;
-       mvs)
-               basic_machine=i370-ibm
-               os=-mvs
-               ;;
-+      nacl)
-+              basic_machine=le32-unknown
-+              os=-nacl
-+              ;;
-       ncr3000)
-               basic_machine=i486-ncr
-               os=-sysv4
-@@ -841,6 +905,12 @@ case $basic_machine in
-       np1)
-               basic_machine=np1-gould
+               os=-msys
                ;;
-+      neo-tandem)
-+              basic_machine=neo-tandem
-+              ;;
-+      nse-tandem)
-+              basic_machine=nse-tandem
-+              ;;
-       nsr-tandem)
-               basic_machine=nsr-tandem
-               ;;
-@@ -923,9 +993,10 @@ case $basic_machine in
-               ;;
-       power)  basic_machine=power-ibm
-               ;;
--      ppc)    basic_machine=powerpc-unknown
-+      ppc | ppcbe)    basic_machine=powerpc-unknown
-               ;;
--      ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
-+      ppc-* | ppcbe-*)
-+              basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       ppcle | powerpclittle | ppc-le | powerpc-little)
-               basic_machine=powerpcle-unknown
-@@ -935,7 +1006,7 @@ case $basic_machine in
+       mvs)
+@@ -998,7 +1006,7 @@ case $basic_machine in
                ;;
        ppc64)  basic_machine=powerpc64-unknown
                ;;
@@ -1225,7 +595,7 @@ index 7a176e9..d2a9613 100755
                ;;
        ppc64le | powerpc64little | ppc64-le | powerpc64-little)
                basic_machine=powerpc64le-unknown
-@@ -950,7 +1021,11 @@ case $basic_machine in
+@@ -1013,7 +1021,11 @@ case $basic_machine in
                basic_machine=i586-unknown
                os=-pw32
                ;;
@@ -1238,70 +608,7 @@ index 7a176e9..d2a9613 100755
                basic_machine=i386-pc
                os=-rdos
                ;;
-@@ -1019,6 +1094,9 @@ case $basic_machine in
-               basic_machine=i860-stratus
-               os=-sysv4
-               ;;
-+      strongarm-* | thumb-*)
-+              basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
-+              ;;
-       sun2)
-               basic_machine=m68000-sun
-               ;;
-@@ -1075,25 +1153,8 @@ case $basic_machine in
-               basic_machine=t90-cray
-               os=-unicos
-               ;;
--      tic54x | c54x*)
--              basic_machine=tic54x-unknown
--              os=-coff
--              ;;
--      tic55x | c55x*)
--              basic_machine=tic55x-unknown
--              os=-coff
--              ;;
--      tic6x | c6x*)
--              basic_machine=tic6x-unknown
--              os=-coff
--              ;;
--        # This must be matched before tile*.
--        tilegx*)
--              basic_machine=tilegx-unknown
--              os=-linux-gnu
--              ;;
-       tile*)
--              basic_machine=tile-unknown
-+              basic_machine=$basic_machine-unknown
-               os=-linux-gnu
-               ;;
-       tx39)
-@@ -1163,6 +1224,9 @@ case $basic_machine in
-       xps | xps100)
-               basic_machine=xps100-honeywell
-               ;;
-+      xscale-* | xscalee[bl]-*)
-+              basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
-+              ;;
-       ymp)
-               basic_machine=ymp-cray
-               os=-unicos
-@@ -1260,11 +1324,11 @@ esac
- if [ x"$os" != x"" ]
- then
- case $os in
--        # First match some system type aliases
--        # that might get confused with valid system types.
-+      # First match some system type aliases
-+      # that might get confused with valid system types.
-       # -solaris* is a basic system type, with this one exception.
--        -auroraux)
--              os=-auroraux
-+      -auroraux)
-+              os=-auroraux
-               ;;
-       -solaris1 | -solaris1.*)
-               os=`echo $os | sed -e 's|solaris1|sunos4|'`
-@@ -1288,20 +1352,21 @@ case $os in
+@@ -1340,21 +1352,21 @@ case $os in
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | 
-sunos[34]*\
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | 
-solaris* \
@@ -1319,33 +626,15 @@ index 7a176e9..d2a9613 100755
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
              | -chorusos* | -chorusrdb* | -cegcc* \
--            | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
--            | -mingw32* | -linux-gnu* | -linux-androideabi* | -linux-newlib* 
| -linux-uclibc* \
-+            | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* 
\
+             | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* 
\
+-            | -mingw32* | -linux-gnu* | -linux-android* \
+-            | -linux-newlib* | -linux-uclibc* \
 +            | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
 +            | -linux-newlib* | -linux-musl* | -linux-uclibc* \
              | -uxpv* | -beos* | -mpeix* | -udk* \
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
-@@ -1348,7 +1413,7 @@ case $os in
-       -opened*)
-               os=-openedition
-               ;;
--        -os400*)
-+      -os400*)
-               os=-os400
-               ;;
-       -wince*)
-@@ -1397,7 +1462,7 @@ case $os in
-       -sinix*)
-               os=-sysv4
-               ;;
--        -tpf*)
-+      -tpf*)
-               os=-tpf
-               ;;
-       -triton*)
-@@ -1433,17 +1498,14 @@ case $os in
+@@ -1486,9 +1498,6 @@ case $os in
        -aros*)
                os=-aros
                ;;
@@ -1355,72 +644,20 @@ index 7a176e9..d2a9613 100755
        -zvmoe)
                os=-zvmoe
                ;;
-       -dicos*)
-               os=-dicos
-               ;;
--        -nacl*)
--              ;;
-+      -nacl*)
-+              ;;
-       -none)
-               ;;
-       *)
-@@ -1466,10 +1528,10 @@ else
- # system, and we'll never get to this point.
- 
- case $basic_machine in
--        score-*)
-+      score-*)
-               os=-elf
-               ;;
--        spu-*)
-+      spu-*)
-               os=-elf
-               ;;
-       *-acorn)
-@@ -1481,8 +1543,23 @@ case $basic_machine in
-       arm*-semi)
-               os=-aout
+@@ -1537,6 +1546,12 @@ case $basic_machine in
+       c4x-* | tic4x-*)
+               os=-coff
                ;;
--        c4x-* | tic4x-*)
--              os=-coff
-+      c4x-* | tic4x-*)
-+              os=-coff
-+              ;;
 +      c8051-*)
 +              os=-elf
 +              ;;
 +      hexagon-*)
 +              os=-elf
 +              ;;
-+      tic54x-*)
-+              os=-coff
-+              ;;
-+      tic55x-*)
-+              os=-coff
-+              ;;
-+      tic6x-*)
-+              os=-coff
-               ;;
-       # This must come before the *-dec entry.
-       pdp10-*)
-@@ -1502,14 +1579,11 @@ case $basic_machine in
-               ;;
-       m68000-sun)
-               os=-sunos3
--              # This also exists in the configure program, but was not the
--              # default.
--              # os=-sunos4
-               ;;
-       m68*-cisco)
-               os=-aout
-               ;;
--        mep-*)
-+      mep-*)
-               os=-elf
+       tic54x-*)
+               os=-coff
                ;;
-       mips*-cisco)
-@@ -1518,6 +1592,9 @@ case $basic_machine in
+@@ -1577,6 +1592,9 @@ case $basic_machine in
        mips*-*)
                os=-elf
                ;;
@@ -1430,15 +667,6 @@ index 7a176e9..d2a9613 100755
        or32-*)
                os=-coff
                ;;
-@@ -1536,7 +1613,7 @@ case $basic_machine in
-       *-ibm)
-               os=-aix
-               ;;
--      *-knuth)
-+      *-knuth)
-               os=-mmixware
-               ;;
-       *-wec)
 -- 
 2.6.2
 
diff --git a/external/libxmlsec/xmlsec1-vc.patch.1 
b/external/libxmlsec/xmlsec1-vc.patch.1
index cf0d46c..bf35001 100644
--- a/external/libxmlsec/xmlsec1-vc.patch.1
+++ b/external/libxmlsec/xmlsec1-vc.patch.1
@@ -1,7 +1,7 @@
-From 3f9ccaa6ac3113c45a6e021e35b2c81cf541fc1b Mon Sep 17 00:00:00 2001
+From 56448979392d78a6e1688f61ce7bc771f38a880b Mon Sep 17 00:00:00 2001
 From: Miklos Vajna <vmik...@collabora.co.uk>
 Date: Fri, 4 Mar 2016 16:12:29 +0100
-Subject: [PATCH 08/14] xmlsec1-vc.patch
+Subject: [PATCH] xmlsec1-vc.patch
 
 ---
  apps/cmdline.c      |  2 +-
@@ -37,7 +37,7 @@ index 49dd127..f46eeee 100644
  #endif
  
 diff --git a/apps/xmlsec.c b/apps/xmlsec.c
-index 3aa6ebd..548cdf9 100644
+index d551b5a..0467c25 100644
 --- a/apps/xmlsec.c
 +++ b/apps/xmlsec.c
 @@ -9,7 +9,7 @@
@@ -50,7 +50,7 @@ index 3aa6ebd..548cdf9 100644
  #endif
  
 diff --git a/win32/Makefile.msvc b/win32/Makefile.msvc
-index 5269202..9309c3a 100644
+index d833497..065595b 100644
 --- a/win32/Makefile.msvc
 +++ b/win32/Makefile.msvc
 @@ -311,6 +311,10 @@ CFLAGS                    = $(CFLAGS) /D 
PACKAGE=\"$(XMLSEC_NAME)\"
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to