]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
binutils: Upgrade to 2.46 release deepesh/binutils-2.46
authorDeepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Thu, 12 Feb 2026 11:58:03 +0000 (03:58 -0800)
committerDeepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Wed, 25 Feb 2026 06:37:14 +0000 (22:37 -0800)
New Features:
Support for new instructions added to AMD, ARM and RISC-V architectures.
Support for version 3 of the SFrame standard.
The readelf program can now display the contents of Global Offset Tables.
Improved linker tagging support.

Detailed release notes are here [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2026-02/msg00006.html

Dropped patches:
0001-aarch64-constify-BTI-and-GCS-report-functions.patch
Since the fix is already included in binutils 2.46.

CVE patches: CVE-2025-11081,CVE-2025-11082,CVE-2025-11083,
CVE-2025-11839,CVE-2025-11840,CVE-2025-11412,CVE-2025-11413,
CVE-2025-11414,CVE-2025-11494,CVE-2025-11495.
These were dropped because they are already addressed in binutils 2.46.

Drop CVE_STATUS:
binutils 2.46 has needed fixes for CVE-2025-7545 and CVE-2025-7546.

Rebase existing patches with binutils 2.46.

Fix elfutils-ptest regression for arm64.

Testing Results:
+----------------------+--------+--------+------+
| Result               | 2.45.1 |  2.46  | Diff |
+----------------------+--------+--------+------+
| Expected Passes      | 318    |  331   | +13  |
| Untested Testcases   | 5      |  5     |  0   |
| Unsupported Tests    | 8      |  6     | -2   |
+----------------------+--------+--------+------+

Testcases changes:
-------------------------------------------------------------------------------
Testcase-name                                             2.45.1        2.46
-------------------------------------------------------------------------------
nm --ifunc-chars=-- (global ifunc)                          -           PASS
nm --ifunc-chars=-- (local ifunc)                           -           PASS
copy with unknown section flag                              -           PASS
objcopy tek2bin                                             -           PASS
binary symbol (implicit)                                    -           PASS
binary symbol (explicit)                                    -           PASS
readelf SFrame V2 (x86-64/test-v2-ET_EXEC.sframe)           -           PASS
objdump SFrame V2 (x86-64/test-v2-ET_EXEC.sframe)           -           PASS
readelf SFrame V2 (x86-64/test-v2-ET_REL.sframe)            -           PASS
objdump SFrame V2 (x86-64/test-v2-ET_REL.sframe)            -           PASS
run objcopy of executable                                UNSUPPORTED    PASS
run stripped executable                                  UNSUPPORTED    PASS
run stripped executable with saving a symbol             UNSUPPORTED    PASS
Copy object attributes v2 data from an object to another    -        UNSUPPORTED

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
25 files changed:
meta/recipes-devtools/binutils/binutils-2.46.inc [moved from meta/recipes-devtools/binutils/binutils-2.45.inc with 69% similarity]
meta/recipes-devtools/binutils/binutils-cross-canadian_2.46.bb [moved from meta/recipes-devtools/binutils/binutils-cross-canadian_2.45.bb with 100% similarity]
meta/recipes-devtools/binutils/binutils-cross_2.46.bb [moved from meta/recipes-devtools/binutils/binutils-cross_2.45.bb with 100% similarity]
meta/recipes-devtools/binutils/binutils-crosssdk_2.46.bb [moved from meta/recipes-devtools/binutils/binutils-crosssdk_2.45.bb with 100% similarity]
meta/recipes-devtools/binutils/binutils-testsuite_2.46.bb [moved from meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb with 100% similarity]
meta/recipes-devtools/binutils/binutils/0001-aarch64-constify-BTI-and-GCS-report-functions.patch [deleted file]
meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch
meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch
meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch
meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch
meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch
meta/recipes-devtools/binutils/binutils/0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch
meta/recipes-devtools/binutils/binutils/0015-CVE-2025-11081.patch [deleted file]
meta/recipes-devtools/binutils/binutils/0016-CVE-2025-11082.patch [deleted file]
meta/recipes-devtools/binutils/binutils/0017-CVE-2025-11083.patch [deleted file]
meta/recipes-devtools/binutils/binutils/0018-CVE-2025-11494.patch [deleted file]
meta/recipes-devtools/binutils/binutils/0019-CVE-2025-11839.patch [deleted file]
meta/recipes-devtools/binutils/binutils/0020-CVE-2025-11840.patch [deleted file]
meta/recipes-devtools/binutils/binutils/CVE-2025-11412.patch [deleted file]
meta/recipes-devtools/binutils/binutils/CVE-2025-11413.patch [deleted file]
meta/recipes-devtools/binutils/binutils/CVE-2025-11414.patch [deleted file]
meta/recipes-devtools/binutils/binutils/CVE-2025-11495.patch [deleted file]
meta/recipes-devtools/binutils/binutils_2.46.bb [moved from meta/recipes-devtools/binutils/binutils_2.45.bb with 100% similarity]
meta/recipes-devtools/elfutils/elfutils_0.194.bb
meta/recipes-devtools/elfutils/files/0004-aarch64-Recognize-SHT_AARCH64_ATTRIBUTES.patch [new file with mode: 0644]

similarity index 69%
rename from meta/recipes-devtools/binutils/binutils-2.45.inc
rename to meta/recipes-devtools/binutils/binutils-2.46.inc
index 827fce049920869f8ca1e920ebf84b0dc09e2315..ff10050dd9f8d1fe52bffb5edf85e790eee6d745 100644 (file)
@@ -12,16 +12,13 @@ LIC_FILES_CHKSUM = "\
 
 # When upgrading to next major release, ensure that there is no trailing .0, so
 # that upstream version check can work correctly.
-PV = "2.45.1"
-CVE_VERSION = "2.45.1"
-SRCBRANCH ?= "binutils-2_45-branch"
+PV = "2.46"
+CVE_VERSION = "2.46"
+SRCBRANCH ?= "binutils-2_46-branch"
 
 UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
 
-CVE_STATUS[CVE-2025-7545] = "cpe-stable-backport: fix available in used git hash"
-CVE_STATUS[CVE-2025-7546] = "cpe-stable-backport: fix available in used git hash"
-
-SRCREV ?= "cb948f3e16a93ff03d0bc5cec6c4e5bdc7e7c17f"
+SRCREV ?= "49d4d3fafa4ec4ff5a3460d91d5b1ed5286487db"
 BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=https"
 SRC_URI = "\
      ${BINUTILS_GIT_URI} \
@@ -36,15 +33,4 @@ SRC_URI = "\
      file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
      file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
      file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \
-     file://0001-aarch64-constify-BTI-and-GCS-report-functions.patch \
-     file://0015-CVE-2025-11081.patch \
-     file://0016-CVE-2025-11082.patch \
-     file://0017-CVE-2025-11083.patch \
-     file://CVE-2025-11414.patch \
-     file://CVE-2025-11412.patch \
-     file://CVE-2025-11413.patch \
-     file://CVE-2025-11495.patch \
-     file://0018-CVE-2025-11494.patch \
-     file://0019-CVE-2025-11839.patch \
-     file://0020-CVE-2025-11840.patch \
 "
diff --git a/meta/recipes-devtools/binutils/binutils/0001-aarch64-constify-BTI-and-GCS-report-functions.patch b/meta/recipes-devtools/binutils/binutils/0001-aarch64-constify-BTI-and-GCS-report-functions.patch
deleted file mode 100644 (file)
index adbcdb0..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-From 0b5fa602e8a06293da734b80b0bc0a3421ed3bd4 Mon Sep 17 00:00:00 2001
-From: Matthieu Longo <matthieu.longo@arm.com>
-Date: Wed, 19 Nov 2025 17:01:56 +0000
-Subject: [PATCH] aarch64: constify BTI and GCS report functions
-
-This patch consitifies the arguments of the functions used to report BTI
-and GCS errors, and also renames the argument "ebfd" to "abfd" as this
-naming is confusing and inconsistent with others places.
-
-Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=12856136986380efff1dcba2ecd3be80e482ff15]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- bfd/elfxx-aarch64.c | 13 ++++++++-----
- bfd/elfxx-aarch64.h |  4 ++--
- 2 files changed, 10 insertions(+), 7 deletions(-)
-
-diff --git a/bfd/elfxx-aarch64.c b/bfd/elfxx-aarch64.c
-index 551f74e3373..cb4566386ce 100644
---- a/bfd/elfxx-aarch64.c
-+++ b/bfd/elfxx-aarch64.c
-@@ -1098,7 +1098,8 @@ _bfd_aarch64_elf_link_fixup_gnu_properties
-
- /* Check AArch64 BTI report.  */
- void
--_bfd_aarch64_elf_check_bti_report (struct bfd_link_info *info, bfd *ebfd)
-+_bfd_aarch64_elf_check_bti_report (const struct bfd_link_info *info,
-+                                 const bfd *abfd)
- {
-   struct elf_aarch64_obj_tdata *tdata = elf_aarch64_tdata (info->output_bfd);
-
-@@ -1117,14 +1118,16 @@ _bfd_aarch64_elf_check_bti_report (struct bfd_link_info *info, bfd *ebfd)
-     : _("%X%pB: error: BTI is required by -z force-bti, but this input object "
-       "file lacks the necessary property note.\n");
-
--  info->callbacks->einfo (msg, ebfd);
-+  info->callbacks->einfo (msg, abfd);
- }
-
-+/* Check AArch64 GCS report.  */
- void
--_bfd_aarch64_elf_check_gcs_report (struct bfd_link_info *info, bfd *ebfd)
-+_bfd_aarch64_elf_check_gcs_report (const struct bfd_link_info *info,
-+                                 const bfd *abfd)
- {
-   struct elf_aarch64_obj_tdata *tdata = elf_aarch64_tdata (info->output_bfd);
--  bool dynamic_obj = (ebfd->flags & DYNAMIC) != 0;
-+  bool dynamic_obj = (abfd->flags & DYNAMIC) != 0;
-
-   if (dynamic_obj)
-     {
-@@ -1161,5 +1164,5 @@ _bfd_aarch64_elf_check_gcs_report (struct bfd_link_info *info, bfd *ebfd)
-       : _("%X%pB: error: GCS is required by -z gcs, but this input object file "
-         "lacks the necessary property note.\n");
-
--  info->callbacks->einfo (msg, ebfd);
-+  info->callbacks->einfo (msg, abfd);
- }
-diff --git a/bfd/elfxx-aarch64.h b/bfd/elfxx-aarch64.h
-index bd3642cbefe..35033059299 100644
---- a/bfd/elfxx-aarch64.h
-+++ b/bfd/elfxx-aarch64.h
-@@ -247,10 +247,10 @@ _bfd_aarch64_elf_merge_gnu_properties (struct bfd_link_info *, bfd *,
-                                      uint32_t);
-
- extern void
--_bfd_aarch64_elf_check_bti_report (struct bfd_link_info *, bfd *);
-+_bfd_aarch64_elf_check_bti_report (const struct bfd_link_info *, const bfd *);
-
- extern void
--_bfd_aarch64_elf_check_gcs_report (struct bfd_link_info *, bfd *);
-+_bfd_aarch64_elf_check_gcs_report (const struct bfd_link_info *, const bfd *);
-
- extern void
- _bfd_aarch64_elf_link_fixup_gnu_properties (struct bfd_link_info *,
index 58ac2f721f72e6703688e8c1e28a54a388f70c55..63712d8bca6e5d1eb690e2917016a294d2c4d7a0 100644 (file)
@@ -1,4 +1,4 @@
-From 82bbbee7c31f64e51e6221fbbd29760ac61b789f Mon Sep 17 00:00:00 2001
+From 905024346b1f99e98b2cd83d43d4e962f8e43373 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Mon, 6 Mar 2017 23:37:05 -0800
 Subject: [PATCH] binutils-cross: Do not generate linker script directories
@@ -18,19 +18,18 @@ RP 2017/01/30
 
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
 ---
- ld/genscripts.sh | 25 -------------------------
- 1 file changed, 25 deletions(-)
-
+ ld/genscripts.sh | 27 +--------------------------
+ 1 file changed, 1 insertion(+), 26 deletions(-)
 diff --git a/ld/genscripts.sh b/ld/genscripts.sh
-index 5b51c23e141..5d2c54706f8 100755
+index ce95ac9f410..fb9f3ffa047 100755
 --- a/ld/genscripts.sh
 +++ b/ld/genscripts.sh
-@@ -244,31 +244,6 @@ append_to_lib_path()
+@@ -245,31 +245,6 @@ append_to_lib_path()
    fi
  }
  
 -# Always search $(tooldir)/lib, aka /usr/local/TARGET/lib when native
--# except when LIBPATH=":".
+-# except when LIB_PATH=":".
 -if [ "${LIB_PATH}" != ":" ] ; then
 -  libs=
 -  if [ "x${TOOL_LIB}" = "x" ] ; then
index 4df386fe959de00fddfb1c6d60ef5ad43fb1cc46..8a58815c0496a66f9396c7a3458664b938812db1 100644 (file)
@@ -1,4 +1,4 @@
-From 96b52f92b2888e1954f619bffd17a3f55be2e27e Mon Sep 17 00:00:00 2001
+From 01bb8cefb88972683d0929c85f9e564b9f0455e3 Mon Sep 17 00:00:00 2001
 From: Richard Purdie <richard.purdie@linuxfoundation.org>
 Date: Wed, 19 Feb 2020 09:51:16 -0800
 Subject: [PATCH] binutils-nativesdk: Search for alternative ld.so.conf in SDK
@@ -29,35 +29,35 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  5 files changed, 7 insertions(+), 3 deletions(-)
 
 diff --git a/ld/Makefile.am b/ld/Makefile.am
-index ccff9289924..cf2c29e89a3 100644
+index 20d17c23f33..8a918955bf1 100644
 --- a/ld/Makefile.am
 +++ b/ld/Makefile.am
-@@ -42,7 +42,8 @@ ZLIBINC = @zlibinc@
+@@ -43,7 +43,8 @@ ZLIBINC = @zlibinc@
  ELF_CFLAGS=-DELF_LIST_OPTIONS=@elf_list_options@ \
           -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \
--         -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@
-+         -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ \
+          -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ \
+-         -DELF_SFRAME_LIST_OPTIONS=@elf_sframe_list_options@
++         -DELF_SFRAME_LIST_OPTIONS=@elf_sframe_list_options@ \
 +           -DSYSCONFDIR="\"$(sysconfdir)\""
  WARN_CFLAGS = @WARN_CFLAGS@
  NO_WERROR = @NO_WERROR@
  AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
 diff --git a/ld/Makefile.in b/ld/Makefile.in
-index 3e24bd4deb2..23d4f1f3132 100644
+index ddc2732a03f..8097ef524af 100644
 --- a/ld/Makefile.in
 +++ b/ld/Makefile.in
-@@ -576,7 +576,8 @@ ZLIB = @zlibdir@ -lz
- ZLIBINC = @zlibinc@
+@@ -581,7 +581,8 @@ ZLIBINC = @zlibinc@
  ELF_CFLAGS = -DELF_LIST_OPTIONS=@elf_list_options@ \
           -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \
--         -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@
-+         -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ \
+          -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ \
+-         -DELF_SFRAME_LIST_OPTIONS=@elf_sframe_list_options@
++         -DELF_SFRAME_LIST_OPTIONS=@elf_sframe_list_options@ \
 +           -DSYSCONFDIR="\"$(sysconfdir)\""
  
  AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
  
 diff --git a/ld/ldelf.c b/ld/ldelf.c
-index f4f27fc3873..a870c39bd81 100644
+index fbab75aeefb..69d48be09a7 100644
 --- a/ld/ldelf.c
 +++ b/ld/ldelf.c
 @@ -943,7 +943,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force,
@@ -70,10 +70,10 @@ index f4f27fc3873..a870c39bd81 100644
        if (!ldelf_parse_ld_so_conf (&info, tmppath))
        {
 diff --git a/ld/ldmain.c b/ld/ldmain.c
-index 67c60c3f80d..7878bd3922f 100644
+index b30abceb64f..b1770a7cc8f 100644
 --- a/ld/ldmain.c
 +++ b/ld/ldmain.c
-@@ -74,6 +74,7 @@ char *program_name;
+@@ -75,6 +75,7 @@ const char *program_name;
  
  /* The prefix for system library directories.  */
  const char *ld_sysroot;
@@ -82,14 +82,16 @@ index 67c60c3f80d..7878bd3922f 100644
  /* The canonical representation of ld_sysroot.  */
  char *ld_canon_sysroot;
 diff --git a/ld/ldmain.h b/ld/ldmain.h
-index 0baa3c305c3..899c4b591c6 100644
+index d11641a471c..922eff23439 100644
 --- a/ld/ldmain.h
 +++ b/ld/ldmain.h
 @@ -23,6 +23,7 @@
  
- extern char *program_name;
+ extern const char *program_name;
  extern const char *ld_sysroot;
 +extern char ld_sysconfdir[4096];
  extern char *ld_canon_sysroot;
  extern int ld_canon_sysroot_len;
  extern FILE *saved_script_handle;
+--
+2.49.0
index e981d14859af27a34bfa446ba8e01b731e131188..356d153eb52de233e405feaf2aeca58abd4e2383 100644 (file)
@@ -58,10 +58,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ld/ld.texi      | 12 ++++++++++++
  ld/ldfile.c     | 17 +++++++++++++++++
  ld/ldlex.h      |  2 ++
- ld/ldmain.c     |  6 ++++--
+ ld/ldmain.c     |  2 ++
  ld/lexsup.c     | 15 +++++++++++++++
- 9 files changed, 89 insertions(+), 4 deletions(-)
+ 9 files changed, 87 insertions(+), 2 deletions(-)
 
+diff --git a/ld/config.in b/ld/config.in
+index 7fac3b5ca36..630190b5ef0 100644
 --- a/ld/config.in
 +++ b/ld/config.in
 @@ -86,6 +86,9 @@
@@ -74,9 +76,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* Additional extension a shared object might have. */
  #undef EXTRA_SHLIB_EXTENSION
  
+diff --git a/ld/configure b/ld/configure
+index 855844025c2..71567a92601 100755
 --- a/ld/configure
 +++ b/ld/configure
-@@ -841,6 +841,7 @@ enable_checking
+@@ -843,6 +843,7 @@ enable_checking
  with_lib_path
  enable_targets
  with_sysroot
@@ -84,7 +88,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  enable_gold
  enable_got
  enable_compressed_debug_sections
-@@ -1535,6 +1536,8 @@ Optional Features:
+@@ -1537,6 +1538,8 @@ Optional Features:
    --disable-largefile     omit support for large files
    --enable-checking       enable run-time checks
    --enable-targets        alternative target configurations
@@ -93,25 +97,25 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
    --enable-got=<type>     GOT handling scheme (target, single, negative,
                            multigot)
-@@ -11519,7 +11522,7 @@ else
+@@ -11894,7 +11897,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11522 "configure"
-+#line 11525 "configure"
+-#line 11897 "configure"
++#line 11900 "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -11625,7 +11628,7 @@ else
+@@ -12000,7 +12003,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11628 "configure"
-+#line 11631 "configure"
+-#line 12003 "configure"
++#line 12006 "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -15372,6 +15375,19 @@ fi
+@@ -15747,6 +15750,19 @@ fi
  
  
  
@@ -131,6 +135,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Check whether --enable-gold was given.
  if test "${enable_gold+set}" = set; then :
    enableval=$enable_gold; case "${enableval}" in
+diff --git a/ld/configure.ac b/ld/configure.ac
+index 8c5e9606ac0..8cfd6f77e94 100644
 --- a/ld/configure.ac
 +++ b/ld/configure.ac
 @@ -115,6 +115,16 @@ AC_SUBST(use_sysroot)
@@ -150,6 +156,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  dnl Use --enable-gold to decide if this linker should be the default.
  dnl "install_as_default" is set to false if gold is the default linker.
  dnl "installed_linker" is the installed BFD linker name.
+diff --git a/ld/ld.h b/ld/ld.h
+index 76825e4253c..e43c847ad0f 100644
 --- a/ld/ld.h
 +++ b/ld/ld.h
 @@ -166,6 +166,14 @@ typedef struct
@@ -167,9 +175,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    /* Big or little endian as set on command line.  */
    enum endian_enum endian;
  
+diff --git a/ld/ld.texi b/ld/ld.texi
+index 3dc76a1f8c6..f0b30d3fc0e 100644
 --- a/ld/ld.texi
 +++ b/ld/ld.texi
-@@ -3378,6 +3378,18 @@ creation of the metadata note, if one ha
+@@ -3391,6 +3391,18 @@ creation of the metadata note, if one had been enabled by an earlier
  occurrence of the --package-metadata option.
  If the linker has been built with libjansson, then the JSON string
  will be validated.
@@ -188,9 +198,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  @end table
  
  @c man end
+diff --git a/ld/ldfile.c b/ld/ldfile.c
+index f47e860d437..83381fa431a 100644
 --- a/ld/ldfile.c
 +++ b/ld/ldfile.c
-@@ -328,6 +328,23 @@ ldfile_add_library_path (const char *nam
+@@ -326,6 +326,23 @@ ldfile_add_library_path (const char *name, bool cmdline)
      new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL);
    else
      new_dirs->name = xstrdup (name);
@@ -203,31 +215,35 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +      || (!strncmp (name, "/usr/X11R6/lib", 14))))
 +   {
 +     if (command_line.error_poison_system_directories)
-+       einfo (_("%X%P: error: library search path \"%s\" is unsafe for "
-+            "cross-compilation\n"), name);
++      einfo (_("%X%P: error: library search path \"%s\" is unsafe for "
++          "cross-compilation\n"), name);
 +     else
-+       einfo (_("%P: warning: library search path \"%s\" is unsafe for "
-+            "cross-compilation\n"), name);
++      einfo (_("%P: warning: library search path \"%s\" is unsafe for "
++          "cross-compilation\n"), name);
 +   }
 +#endif
 +
  }
  
  static void
+diff --git a/ld/ldlex.h b/ld/ldlex.h
+index 85e06b6fcc4..0faec16e82a 100644
 --- a/ld/ldlex.h
 +++ b/ld/ldlex.h
-@@ -151,6 +151,8 @@ enum option_values
+@@ -149,6 +149,8 @@ enum option_values
+   OPTION_PLUGIN,
    OPTION_PLUGIN_OPT,
    OPTION_PLUGIN_SAVE_TEMPS,
- #endif /* BFD_SUPPORTS_PLUGINS */
 +  OPTION_NO_POISON_SYSTEM_DIRECTORIES,
 +  OPTION_ERROR_POISON_SYSTEM_DIRECTORIES,
    OPTION_DEFAULT_SCRIPT,
    OPTION_PRINT_OUTPUT_FORMAT,
    OPTION_PRINT_SYSROOT,
+diff --git a/ld/ldmain.c b/ld/ldmain.c
+index a2711d230ea..551f2388909 100644
 --- a/ld/ldmain.c
 +++ b/ld/ldmain.c
-@@ -671,6 +671,8 @@ main (int argc, char **argv)
+@@ -749,6 +749,8 @@ main (int argc, char **argv)
    command_line.warn_mismatch = true;
    command_line.warn_search_mismatch = true;
    command_line.check_section_addresses = -1;
@@ -236,27 +252,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    /* We initialize DEMANGLING based on the environment variable
       COLLECT_NO_DEMANGLE.  The gcc collect2 program will demangle the
-@@ -1875,7 +1877,7 @@ undefined_symbol (struct bfd_link_info *
-       argv[1] = "undefined-symbol";
-       argv[2] = (char *) name;
-       argv[3] = NULL;
--      
-+
-       if (verbose)
-       einfo (_("%P: About to run error handling script '%s' with arguments: '%s' '%s'\n"),
-              argv[0], argv[1], argv[2]);
-@@ -1896,7 +1898,7 @@ undefined_symbol (struct bfd_link_info *
-        carry on to issue the normal error message.  */
-     }
- #endif /* SUPPORT_ERROR_HANDLING_SCRIPT */
--  
-+
-   if (section != NULL)
-     {
-       if (error_count < MAX_ERRORS_IN_A_ROW)
+diff --git a/ld/lexsup.c b/ld/lexsup.c
+index 158abb6dd8f..7ac3c0d9340 100644
 --- a/ld/lexsup.c
 +++ b/ld/lexsup.c
-@@ -652,6 +652,14 @@ static const struct ld_option ld_options
+@@ -643,6 +643,14 @@ static const struct ld_option ld_options[] =
                   "                                <method> is: share-unconflicted (default),\n"
                   "                                             share-duplicated"),
      TWO_DASHES },
@@ -271,7 +271,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  };
  
  #define OPTION_COUNT ARRAY_SIZE (ld_options)
-@@ -1849,6 +1857,13 @@ parse_args (unsigned argc, char **argv)
+@@ -1838,6 +1846,13 @@ parse_args (unsigned argc, char **argv)
  
        case OPTION_PRINT_MAP_LOCALS:
          config.print_map_locals = true;
@@ -285,3 +285,5 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          break;
  
        case OPTION_DEPENDENCY_FILE:
+--
+2.49.0
index 91569d2d063298b6aadedc7da108b1f3b2e016a1..33ec24ff6fd63a7746fd086cc9b7bd3e1a8d184b 100644 (file)
@@ -10,44 +10,46 @@ Upstream-Status: Pending
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
 ---
  bfd/Makefile.in                     |    3 +
- bfd/configure                       | 1333 ++++++++----
+ bfd/configure                       | 1414 +++++++++----
  bfd/configure.ac                    |    2 +-
  binutils/Makefile.in                |    3 +
- binutils/configure                  | 1331 ++++++++----
+ binutils/configure                  | 1412 +++++++++----
  gas/Makefile.in                     |    3 +
- gas/configure                       | 1331 ++++++++----
+ gas/configure                       | 1412 +++++++++----
  gprof/Makefile.in                   |    3 +
- gprof/configure                     | 1331 ++++++++----
+ gprof/configure                     | 1412 +++++++++----
+ gprof/testsuite/Makefile.in         |    3 +
  gprofng/Makefile.in                 |    2 +
- gprofng/configure                   | 1693 ++++++++++++----
+ gprofng/configure                   | 1696 ++++++++++++----
  gprofng/doc/Makefile.in             |    2 +
  gprofng/gp-display-html/Makefile.in |    2 +
  gprofng/libcollector/Makefile.in    |    2 +
- gprofng/libcollector/configure      | 1693 ++++++++++++----
+ gprofng/libcollector/configure      | 1696 ++++++++++++----
  gprofng/src/Makefile.in             |    2 +
  ld/Makefile.in                      |    3 +
- ld/configure                        | 1694 ++++++++++++----
- libbacktrace/Makefile.in            |  112 +-
- libbacktrace/aclocal.m4             |   73 +-
- libbacktrace/configure              | 1441 +++++++++----
+ ld/configure                        | 1697 ++++++++++++----
+ libbacktrace/Makefile.in            |    3 +
+ libbacktrace/configure              | 1412 +++++++++----
  libctf/Makefile.in                  |    2 +
- libctf/configure                    | 1330 ++++++++----
+ libctf/configure                    | 1776 +++++++++++-----
  libsframe/Makefile.in               |    2 +
- libsframe/configure                 | 1330 ++++++++----
- libtool.m4                          | 1085 ++++++----
+ libsframe/configure                 | 1411 +++++++++----
+ libtool.m4                          | 1084 ++++++----
  ltmain.sh                           | 2898 ++++++++++++++++++---------
  ltoptions.m4                        |    2 +-
  ltversion.m4                        |   12 +-
  lt~obsolete.m4                      |    2 +-
  opcodes/Makefile.in                 |    3 +
- opcodes/configure                   | 1331 ++++++++----
+ opcodes/configure                   | 1420 +++++++++----
  zlib/Makefile.in                    |    3 +
- zlib/configure                      | 1331 ++++++++----
- 34 files changed, 15653 insertions(+), 5737 deletions(-)
+ zlib/configure                      | 1458 ++++++++++----
+ 34 files changed, 16104 insertions(+), 6153 deletions(-)
 
+diff --git a/bfd/Makefile.in b/bfd/Makefile.in
+index 82041970a61..5a8b7109c33 100644
 --- a/bfd/Makefile.in
 +++ b/bfd/Makefile.in
-@@ -339,6 +339,7 @@ DATADIRNAME = @DATADIRNAME@
+@@ -341,6 +341,7 @@ DATADIRNAME = @DATADIRNAME@
  DEBUGDIR = @DEBUGDIR@
  DEFS = @DEFS@
  DEPDIR = @DEPDIR@
@@ -55,7 +57,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  ECHO_C = @ECHO_C@
-@@ -378,6 +379,7 @@ LTLIBINTL = @LTLIBINTL@
+@@ -381,6 +382,7 @@ LTLIBINTL = @LTLIBINTL@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -63,7 +65,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  MKINSTALLDIRS = @MKINSTALLDIRS@
  MSGFMT = @MSGFMT@
-@@ -424,6 +426,7 @@ abs_builddir = @abs_builddir@
+@@ -427,6 +429,7 @@ abs_builddir = @abs_builddir@
  abs_srcdir = @abs_srcdir@
  abs_top_builddir = @abs_top_builddir@
  abs_top_srcdir = @abs_top_srcdir@
@@ -71,19 +73,22 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ac_ct_CC = @ac_ct_CC@
  ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  all_backends = @all_backends@
+diff --git a/bfd/configure b/bfd/configure
+index 49d16fd4410..55203ec02cf 100755
 --- a/bfd/configure
 +++ b/bfd/configure
-@@ -710,6 +710,9 @@ OTOOL
+@@ -710,7 +710,10 @@ OTOOL
  LIPO
  NMEDIT
  DSYMUTIL
 +MANIFEST_TOOL
 +ac_ct_AR
+ LLVM_CONFIG
 +DLLTOOL
  OBJDUMP
  LN_S
  NM
-@@ -828,6 +831,7 @@ enable_static
+@@ -829,6 +832,7 @@ enable_static
  with_pic
  enable_fast_install
  with_gnu_ld
@@ -91,7 +96,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  enable_libtool_lock
  enable_plugins
  enable_largefile
-@@ -1524,6 +1528,8 @@ Optional Packages:
+@@ -1525,6 +1529,8 @@ Optional Packages:
    --with-pic              try to use only PIC/non-PIC objects [default=use
                            both]
    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
@@ -100,7 +105,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    --with-mmap             try using mmap for BFD input files if available
    --with-separate-debug-dir=DIR
                            Look for global separate debug info in DIR
-@@ -5059,8 +5065,8 @@ esac
+@@ -5060,8 +5066,8 @@ esac
  
  
  
@@ -111,7 +116,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -5100,7 +5106,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -5101,7 +5107,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  $as_echo_n "checking how to print strings... " >&6; }
  # Test print first, because it will be a builtin if present.
@@ -120,7 +125,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    ECHO='print -r --'
  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -5793,8 +5799,8 @@ $as_echo_n "checking whether the shell u
+@@ -5794,8 +5800,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
  # Try some XSI features
  xsi_shell=no
  ( _lt_dummy="a/b/c"
@@ -131,7 +136,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      && eval 'test $(( 1 + 1 )) -eq 2 \
      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    && xsi_shell=yes
-@@ -5843,6 +5849,80 @@ esac
+@@ -5844,6 +5850,80 @@ esac
  
  
  
@@ -212,7 +217,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -5859,6 +5939,11 @@ case $reload_flag in
+@@ -5860,6 +5940,11 @@ case $reload_flag in
  esac
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  case $host_os in
@@ -224,7 +229,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    darwin*)
      if test "$GCC" = yes; then
        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -6027,7 +6112,8 @@ mingw* | pw32*)
+@@ -6028,7 +6113,8 @@ mingw* | pw32*)
      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
      lt_cv_file_magic_cmd='func_win32_libid'
    else
@@ -234,7 +239,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      lt_cv_file_magic_cmd='$OBJDUMP -f'
    fi
    ;;
-@@ -6186,6 +6272,21 @@ esac
+@@ -6187,6 +6273,21 @@ esac
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -256,7 +261,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -6201,6 +6302,157 @@ test -z "$deplibs_check_method" && depli
+@@ -6203,6 +6304,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  
@@ -269,7 +274,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
@@ -411,12 +415,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
- plugin_option=
- plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
- for plugin in $plugin_names; do
-@@ -6215,8 +6467,10 @@ for plugin in $plugin_names; do
- done
++
+ # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
+ # wrong plugin_option with clang.
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
+@@ -6584,9 +6836,12 @@ fi
+ plugin_option="$plugin_option"
  
+ fi
++
  if test -n "$ac_tool_prefix"; then
 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 -set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -427,7 +434,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_AR+:} false; then :
-@@ -6232,7 +6486,7 @@ do
+@@ -6602,7 +6857,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -436,7 +443,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -6252,11 +6506,15 @@ $as_echo "no" >&6; }
+@@ -6622,11 +6877,15 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -455,7 +462,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -6272,7 +6530,7 @@ do
+@@ -6642,7 +6901,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -464,7 +471,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -6291,6 +6549,10 @@ else
+@@ -6661,6 +6920,10 @@ else
  $as_echo "no" >&6; }
  fi
  
@@ -475,7 +482,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    if test "x$ac_ct_AR" = x; then
      AR="false"
    else
-@@ -6302,25 +6564,19 @@ ac_tool_warned=yes ;;
+@@ -6672,23 +6935,19 @@ ac_tool_warned=yes ;;
  esac
      AR=$ac_ct_AR
    fi
@@ -485,32 +492,32 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
+-      AR="$AR $plugin_option"
+-    fi
+-    ;;
+-  esac
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
 +  touch conftest.c
 +  $AR $plugin_option rc conftest.a conftest.c
 +  if test "$?" != 0; then
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
- $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
--    else
--      AR="$AR $plugin_option"
--    fi
--    rm -f conftest.*
++$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
 +  else
 +    AR="$AR $plugin_option"
-   fi
--fi
--test -z "$AR_FLAGS" && AR_FLAGS=cru
++  fi
 +  rm -f conftest.*
 +: ${AR=ar}
 +: ${AR_FLAGS=cru}
  
  
  
-@@ -6332,6 +6588,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+@@ -6700,6 +6959,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
  
  
  
@@ -575,7 +582,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  set dummy ${ac_tool_prefix}strip; ac_word=$2
-@@ -6671,8 +6985,8 @@ esac
+@@ -7045,8 +7362,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -586,7 +593,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -6708,6 +7022,7 @@ for ac_symprfx in "" "_"; do
+@@ -7082,6 +7399,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -594,7 +601,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -6749,6 +7064,18 @@ _LT_EOF
+@@ -7123,6 +7441,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -613,7 +620,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -6760,7 +7087,7 @@ _LT_EOF
+@@ -7134,7 +7464,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -622,7 +629,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -6786,8 +7113,8 @@ static const void *lt_preloaded_setup()
+@@ -7160,8 +7490,8 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -633,7 +640,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -6797,8 +7124,8 @@ _LT_EOF
+@@ -7171,8 +7501,8 @@ _LT_EOF
    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
@@ -644,7 +651,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
-@@ -6835,6 +7162,18 @@ else
+@@ -7209,6 +7539,15 @@ else
  $as_echo "ok" >&6; }
  fi
  
@@ -657,16 +664,20 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
-+
-+
  
  
  
-@@ -6856,6 +7195,43 @@ fi
+@@ -7226,6 +7565,46 @@ fi
  
  
  
++
++
++
++
++
++
++
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 +$as_echo_n "checking for sysroot... " >&6; }
 +
@@ -700,17 +711,59 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 +$as_echo "${lt_sysroot:-no}" >&6; }
 +
-+
-+
-+
-+
- # Check whether --enable-libtool-lock was given.
- if test "${enable_libtool_lock+set}" = set; then :
-   enableval=$enable_libtool_lock;
-@@ -7062,6 +7438,123 @@ esac
  
- need_locks="$enable_libtool_lock"
  
+
+@@ -7391,50 +7770,167 @@ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+   lt_cv_cc_needs_belf=yes
+ else
+-  lt_cv_cc_needs_belf=no
++  lt_cv_cc_needs_belf=no
++fi
++rm -f core conftest.err conftest.$ac_objext \
++    conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
++$as_echo "$lt_cv_cc_needs_belf" >&6; }
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++sparc*-*solaris*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++  test $ac_status = 0; }; then
++    case `/usr/bin/file conftest.o` in
++    *64-bit*)
++      case $lt_cv_prog_gnu_ld in
++      yes*) LD="${LD-ld} -m elf64_sparc" ;;
++      *)
++      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
++        LD="${LD-ld} -64"
++      fi
++      ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++esac
++
++need_locks="$enable_libtool_lock"
++
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}mt; ac_word=$2
@@ -786,8 +839,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +else
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 +$as_echo "no" >&6; }
-+fi
-+
+ fi
+-rm -f core conftest.err conftest.$ac_objext \
+-    conftest$ac_exeext conftest.$ac_ext
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+-$as_echo "$lt_cv_cc_needs_belf" >&6; }
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 +    MANIFEST_TOOL=":"
 +  else
@@ -798,7 +864,28 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +ac_tool_warned=yes ;;
 +esac
 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
-+  fi
+   fi
+-  ;;
+-sparc*-*solaris*)
+-  # Find out which ABI we are using.
+-  echo 'int i;' > conftest.$ac_ext
+-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+-  test $ac_status = 0; }; then
+-    case `/usr/bin/file conftest.o` in
+-    *64-bit*)
+-      case $lt_cv_prog_gnu_ld in
+-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
+-      *)
+-      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+-        LD="${LD-ld} -64"
+-      fi
+-      ;;
+-      esac
+-      ;;
+-    esac
 +else
 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 +fi
@@ -815,7 +902,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  cat conftest.err >&5
 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 +    lt_cv_path_mainfest_tool=yes
-+  fi
+   fi
+-  rm -rf conftest*
+-  ;;
+-esac
 +  rm -f conftest*
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
@@ -826,12 +916,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
-+
+
+-need_locks="$enable_libtool_lock"
+
  
    case $host_os in
-     rhapsody* | darwin*)
-@@ -7625,6 +8118,8 @@ _LT_EOF
+@@ -7999,6 +8495,8 @@ _LT_EOF
        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        echo "$AR cru libconftest.a conftest.o" >&5
        $AR cru libconftest.a conftest.o 2>&5
@@ -840,7 +930,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        cat > conftest.c << _LT_EOF
  int main() { return 0;}
  _LT_EOF
-@@ -8178,8 +8673,6 @@ fi
+@@ -8552,8 +9050,6 @@ fi
  lt_prog_compiler_pic=
  lt_prog_compiler_static=
  
@@ -849,7 +939,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if test "$GCC" = yes; then
      lt_prog_compiler_wl='-Wl,'
-@@ -8345,6 +8838,12 @@ $as_echo_n "checking for $compiler optio
+@@ -8719,6 +9215,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
@@ -862,7 +952,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -8407,7 +8906,7 @@ $as_echo_n "checking for $compiler optio
+@@ -8781,7 +9283,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
        case $cc_basename in
@@ -871,7 +961,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        lt_prog_compiler_wl='-Qoption ld ';;
        *)
        lt_prog_compiler_wl='-Wl,';;
-@@ -8464,13 +8963,17 @@ case $host_os in
+@@ -8838,13 +9340,17 @@ case $host_os in
      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
      ;;
  esac
@@ -895,7 +985,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -8531,6 +9034,11 @@ fi
+@@ -8905,6 +9411,11 @@ fi
  
  
  
@@ -907,7 +997,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -8881,7 +9389,8 @@ _LT_EOF
+@@ -9255,7 +9766,8 @@ _LT_EOF
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
@@ -917,7 +1007,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -8980,12 +9489,12 @@ _LT_EOF
+@@ -9354,12 +9866,12 @@ _LT_EOF
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -932,7 +1022,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -8999,8 +9508,8 @@ _LT_EOF
+@@ -9373,8 +9885,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -943,7 +1033,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -9018,8 +9527,8 @@ _LT_EOF
+@@ -9392,8 +9904,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -954,7 +1044,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -9065,8 +9574,8 @@ _LT_EOF
+@@ -9439,8 +9951,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -965,7 +1055,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -9196,7 +9705,13 @@ _LT_EOF
+@@ -9570,7 +10082,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
@@ -980,7 +1070,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -9209,22 +9724,29 @@ main ()
+@@ -9583,22 +10101,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -1023,7 +1113,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -9236,7 +9758,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9610,7 +10135,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -1038,7 +1128,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -9249,22 +9777,29 @@ main ()
+@@ -9623,22 +10154,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -1081,7 +1171,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
-@@ -9309,20 +9844,63 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9683,20 +10221,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -1159,7 +1249,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -9383,7 +9961,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9757,7 +10338,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -1168,7 +1258,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
        hardcode_shlibpath_var=no
-@@ -9391,7 +9969,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9765,7 +10346,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -1177,7 +1267,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -9407,7 +9985,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9781,7 +10362,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -1186,7 +1276,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -9431,10 +10009,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9805,10 +10386,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -1199,7 +1289,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -9513,23 +10091,36 @@ fi
+@@ -9887,23 +10468,36 @@ fi
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -1244,7 +1334,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -9614,7 +10205,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -9988,7 +10582,7 @@ rm -f core conftest.err conftest.$ac_objext \
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -1253,7 +1343,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        else
        allow_undefined_flag=' -expect_unresolved \*'
-@@ -9633,9 +10224,9 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -10007,9 +10601,9 @@ rm -f core conftest.err conftest.$ac_objext \
        no_undefined_flag=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -1265,7 +1355,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -10211,8 +10802,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10585,8 +11179,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -1277,7 +1367,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -10245,13 +10837,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10619,13 +11214,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -1350,16 +1440,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -11153,7 +11803,7 @@ else
+@@ -11527,7 +12180,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11156 "configure"
+-#line 11530 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -11197,10 +11847,10 @@ else
+@@ -11571,10 +12224,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -1372,16 +1462,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -11259,7 +11909,7 @@ else
+@@ -11633,7 +12286,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11262 "configure"
+-#line 11636 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -11303,10 +11953,10 @@ else
+@@ -11677,10 +12330,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -1394,7 +1484,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -15356,7 +16006,7 @@ SHARED_LDFLAGS=
+@@ -15729,7 +16382,7 @@ SHARED_LDFLAGS=
  if test "$enable_shared" = "yes"; then
    x=`sed -n -e 's/^[  ]*PICFLAG[      ]*=[    ]*//p' < ../libiberty/Makefile | sed -n '$p'`
    if test -n "$x"; then
@@ -1403,7 +1493,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    fi
  fi
  
-@@ -17977,13 +18627,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
+@@ -18347,13 +19000,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -1424,7 +1514,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -17998,14 +18655,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
+@@ -18368,14 +19028,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -1443,7 +1533,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -18038,12 +18698,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
+@@ -18408,12 +19071,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -1457,7 +1547,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -18098,8 +18758,13 @@ reload_flag \
+@@ -18468,8 +19131,13 @@ reload_flag \
  OBJDUMP \
  deplibs_check_method \
  file_magic_cmd \
@@ -1471,7 +1561,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP \
  RANLIB \
  CC \
-@@ -18109,12 +18774,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -18479,12 +19147,14 @@ lt_cv_sys_global_symbol_pipe \
  lt_cv_sys_global_symbol_to_cdecl \
  lt_cv_sys_global_symbol_to_c_name_address \
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -1487,7 +1577,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL \
  NMEDIT \
  LIPO \
-@@ -18130,7 +18797,6 @@ no_undefined_flag \
+@@ -18500,7 +19170,6 @@ no_undefined_flag \
  hardcode_libdir_flag_spec \
  hardcode_libdir_flag_spec_ld \
  hardcode_libdir_separator \
@@ -1495,7 +1585,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms \
  include_expsyms \
  file_list_spec \
-@@ -18166,6 +18832,7 @@ module_cmds \
+@@ -18536,6 +19205,7 @@ module_cmds \
  module_expsym_cmds \
  export_symbols_cmds \
  prelink_cmds \
@@ -1503,7 +1593,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  postinstall_cmds \
  postuninstall_cmds \
  finish_cmds \
-@@ -18934,7 +19601,8 @@ $as_echo X"$file" |
+@@ -19304,7 +19974,8 @@ $as_echo X"$file" |
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -1513,7 +1603,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #   Written by Gordon Matzigkeit, 1996
  #
  #   This file is part of GNU Libtool.
-@@ -19037,19 +19705,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -19407,19 +20078,42 @@ SP2NL=$lt_lt_SP2NL
  # turn newlines into spaces.
  NL2SP=$lt_lt_NL2SP
  
@@ -1557,7 +1647,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # A symbol stripping program.
  STRIP=$lt_STRIP
  
-@@ -19079,6 +19770,12 @@ global_symbol_to_c_name_address=$lt_lt_c
+@@ -19449,6 +20143,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  # Transform the output of nm in a C name address pair when lib prefix is needed.
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  
@@ -1570,7 +1660,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # The name of the directory that contains temporary libtool files.
  objdir=$objdir
  
-@@ -19088,6 +19785,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -19458,6 +20158,9 @@ MAGIC_CMD=$MAGIC_CMD
  # Must we lock files when doing compilation?
  need_locks=$lt_need_locks
  
@@ -1580,7 +1670,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  DSYMUTIL=$lt_DSYMUTIL
  
-@@ -19202,12 +19902,12 @@ with_gcc=$GCC
+@@ -19572,12 +20275,12 @@ with_gcc=$GCC
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  
@@ -1596,7 +1686,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static
  
-@@ -19294,9 +19994,6 @@ inherit_rpath=$inherit_rpath
+@@ -19664,9 +20367,6 @@ inherit_rpath=$inherit_rpath
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs
  
@@ -1606,7 +1696,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols
  
-@@ -19312,6 +20009,9 @@ include_expsyms=$lt_include_expsyms
+@@ -19682,6 +20382,9 @@ include_expsyms=$lt_include_expsyms
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds
  
@@ -1616,7 +1706,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec
  
-@@ -19344,210 +20044,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -19714,210 +20417,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    # text mode, it properly converts lines to CR/LF.  This bash problem
    # is reportedly fixed, but why not run on old versions too?
@@ -1818,9 +1908,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -_LT_EOF
 -    ;;
 -  esac
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
 +  sed '$q' "$ltmain" >> "$cfgfile" \
 +     || (rm -f "$cfgfile"; exit 1)
++
 +  if test x"$xsi_shell" = xyes; then
 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 +func_dirname ()\
@@ -1978,18 +2074,17 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 +fi
--  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
--    || (rm -f "$cfgfile"; exit 1)
--  mv -f "$cfgfile" "$ofile" ||
++
++
 +   mv -f "$cfgfile" "$ofile" ||
      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    chmod +x "$ofile"
  
+diff --git a/bfd/configure.ac b/bfd/configure.ac
+index f86c9eae754..ad775883ebf 100644
 --- a/bfd/configure.ac
 +++ b/bfd/configure.ac
-@@ -281,7 +281,7 @@ changequote(,)dnl
+@@ -270,7 +270,7 @@ changequote(,)dnl
    x=`sed -n -e 's/^[  ]*PICFLAG[      ]*=[    ]*//p' < ../libiberty/Makefile | sed -n '$p'`
  changequote([,])dnl
    if test -n "$x"; then
@@ -1998,9 +2093,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    fi
  fi
  
+diff --git a/binutils/Makefile.in b/binutils/Makefile.in
+index 1546e9b569a..5d390417e56 100644
 --- a/binutils/Makefile.in
 +++ b/binutils/Makefile.in
-@@ -495,6 +495,7 @@ DEBUGINFOD_LIBS = @DEBUGINFOD_LIBS@
+@@ -497,6 +497,7 @@ DEBUGINFOD_LIBS = @DEBUGINFOD_LIBS@
  DEFS = @DEFS@
  DEMANGLER_NAME = @DEMANGLER_NAME@
  DEPDIR = @DEPDIR@
@@ -2008,7 +2105,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DLLTOOL_DEFS = @DLLTOOL_DEFS@
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
-@@ -539,6 +540,7 @@ LTLIBINTL = @LTLIBINTL@
+@@ -542,6 +543,7 @@ LTLIBINTL = @LTLIBINTL@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -2016,7 +2113,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  MKINSTALLDIRS = @MKINSTALLDIRS@
  MSGFMT = @MSGFMT@
-@@ -587,6 +589,7 @@ abs_builddir = @abs_builddir@
+@@ -590,6 +592,7 @@ abs_builddir = @abs_builddir@
  abs_srcdir = @abs_srcdir@
  abs_top_builddir = @abs_top_builddir@
  abs_top_srcdir = @abs_top_srcdir@
@@ -2024,9 +2121,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ac_ct_CC = @ac_ct_CC@
  ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  am__include = @am__include@
+diff --git a/binutils/configure b/binutils/configure
+index 196cd142366..5558f6d3c6e 100755
 --- a/binutils/configure
 +++ b/binutils/configure
-@@ -704,8 +704,11 @@ OTOOL
+@@ -704,9 +704,12 @@ OTOOL
  LIPO
  NMEDIT
  DSYMUTIL
@@ -2034,11 +2133,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  RANLIB
 +ac_ct_AR
  AR
+ LLVM_CONFIG
 +DLLTOOL
  OBJDUMP
  LN_S
  NM
-@@ -822,6 +825,7 @@ enable_static
+@@ -823,6 +826,7 @@ enable_static
  with_pic
  enable_fast_install
  with_gnu_ld
@@ -2046,7 +2146,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  enable_libtool_lock
  enable_plugins
  enable_largefile
-@@ -1529,6 +1533,8 @@ Optional Packages:
+@@ -1530,6 +1534,8 @@ Optional Packages:
    --with-pic              try to use only PIC/non-PIC objects [default=use
                            both]
    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
@@ -2055,7 +2155,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    --with-debuginfod       Enable debuginfo lookups with debuginfod
                            (auto/yes/no)
    --with-gnu-ld           assume the C compiler uses GNU ld default=no
-@@ -4956,8 +4962,8 @@ esac
+@@ -4957,8 +4963,8 @@ esac
  
  
  
@@ -2066,7 +2166,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -4997,7 +5003,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -4998,7 +5004,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  $as_echo_n "checking how to print strings... " >&6; }
  # Test print first, because it will be a builtin if present.
@@ -2075,7 +2175,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    ECHO='print -r --'
  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -5690,8 +5696,8 @@ $as_echo_n "checking whether the shell u
+@@ -5691,8 +5697,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
  # Try some XSI features
  xsi_shell=no
  ( _lt_dummy="a/b/c"
@@ -2086,7 +2186,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      && eval 'test $(( 1 + 1 )) -eq 2 \
      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    && xsi_shell=yes
-@@ -5740,6 +5746,80 @@ esac
+@@ -5741,6 +5747,80 @@ esac
  
  
  
@@ -2167,7 +2267,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -5756,6 +5836,11 @@ case $reload_flag in
+@@ -5757,6 +5837,11 @@ case $reload_flag in
  esac
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  case $host_os in
@@ -2179,7 +2279,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    darwin*)
      if test "$GCC" = yes; then
        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -5924,7 +6009,8 @@ mingw* | pw32*)
+@@ -5925,7 +6010,8 @@ mingw* | pw32*)
      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
      lt_cv_file_magic_cmd='func_win32_libid'
    else
@@ -2189,7 +2289,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      lt_cv_file_magic_cmd='$OBJDUMP -f'
    fi
    ;;
-@@ -6083,6 +6169,21 @@ esac
+@@ -6084,6 +6170,21 @@ esac
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -2211,7 +2311,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -6098,6 +6199,157 @@ test -z "$deplibs_check_method" && depli
+@@ -6100,6 +6201,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  
@@ -2224,7 +2324,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
@@ -2366,12 +2465,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
- plugin_option=
- plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
- for plugin in $plugin_names; do
-@@ -6112,8 +6364,10 @@ for plugin in $plugin_names; do
- done
++
+ # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
+ # wrong plugin_option with clang.
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
+@@ -6481,9 +6733,12 @@ fi
+ plugin_option="$plugin_option"
  
+ fi
++
  if test -n "$ac_tool_prefix"; then
 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 -set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -2382,7 +2484,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_AR+:} false; then :
-@@ -6129,7 +6383,7 @@ do
+@@ -6499,7 +6754,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -2391,7 +2493,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -6149,11 +6403,15 @@ $as_echo "no" >&6; }
+@@ -6519,11 +6774,15 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -2410,7 +2512,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -6169,7 +6427,7 @@ do
+@@ -6539,7 +6798,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -2419,7 +2521,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -6188,6 +6446,10 @@ else
+@@ -6558,6 +6817,10 @@ else
  $as_echo "no" >&6; }
  fi
  
@@ -2430,7 +2532,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    if test "x$ac_ct_AR" = x; then
      AR="false"
    else
-@@ -6199,25 +6461,19 @@ ac_tool_warned=yes ;;
+@@ -6569,23 +6832,19 @@ ac_tool_warned=yes ;;
  esac
      AR=$ac_ct_AR
    fi
@@ -2440,32 +2542,32 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
+-      AR="$AR $plugin_option"
+-    fi
+-    ;;
+-  esac
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
 +  touch conftest.c
 +  $AR $plugin_option rc conftest.a conftest.c
 +  if test "$?" != 0; then
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
- $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
--    else
--      AR="$AR $plugin_option"
--    fi
--    rm -f conftest.*
++$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
 +  else
 +    AR="$AR $plugin_option"
-   fi
--fi
--test -z "$AR_FLAGS" && AR_FLAGS=cru
++  fi
 +  rm -f conftest.*
 +: ${AR=ar}
 +: ${AR_FLAGS=cru}
  
  
  
-@@ -6229,6 +6485,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+@@ -6597,6 +6856,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
  
  
  
@@ -2530,7 +2632,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  set dummy ${ac_tool_prefix}strip; ac_word=$2
-@@ -6568,8 +6882,8 @@ esac
+@@ -6942,8 +7259,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -2541,7 +2643,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -6605,6 +6919,7 @@ for ac_symprfx in "" "_"; do
+@@ -6979,6 +7296,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -2549,7 +2651,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -6646,6 +6961,18 @@ _LT_EOF
+@@ -7020,6 +7338,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -2568,7 +2670,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -6657,7 +6984,7 @@ _LT_EOF
+@@ -7031,7 +7361,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -2577,7 +2679,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -6683,8 +7010,8 @@ static const void *lt_preloaded_setup()
+@@ -7057,8 +7387,8 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -2588,7 +2690,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -6694,8 +7021,8 @@ _LT_EOF
+@@ -7068,8 +7398,8 @@ _LT_EOF
    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
@@ -2599,7 +2701,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
-@@ -6732,6 +7059,15 @@ else
+@@ -7106,6 +7436,15 @@ else
  $as_echo "ok" >&6; }
  fi
  
@@ -2615,10 +2717,14 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -6753,6 +7089,46 @@ fi
+@@ -7123,6 +7462,46 @@ fi
  
  
  
++
++
++
++
 +
 +
 +
@@ -2655,17 +2761,59 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 +$as_echo "${lt_sysroot:-no}" >&6; }
 +
-+
-+
-+
-+
- # Check whether --enable-libtool-lock was given.
- if test "${enable_libtool_lock+set}" = set; then :
-   enableval=$enable_libtool_lock;
-@@ -6959,6 +7335,123 @@ esac
  
- need_locks="$enable_libtool_lock"
  
+
+@@ -7288,50 +7667,167 @@ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+   lt_cv_cc_needs_belf=yes
+ else
+-  lt_cv_cc_needs_belf=no
++  lt_cv_cc_needs_belf=no
++fi
++rm -f core conftest.err conftest.$ac_objext \
++    conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
++$as_echo "$lt_cv_cc_needs_belf" >&6; }
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++sparc*-*solaris*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++  test $ac_status = 0; }; then
++    case `/usr/bin/file conftest.o` in
++    *64-bit*)
++      case $lt_cv_prog_gnu_ld in
++      yes*) LD="${LD-ld} -m elf64_sparc" ;;
++      *)
++      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
++        LD="${LD-ld} -64"
++      fi
++      ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++esac
++
++need_locks="$enable_libtool_lock"
++
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}mt; ac_word=$2
@@ -2741,8 +2889,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +else
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 +$as_echo "no" >&6; }
-+fi
-+
+ fi
+-rm -f core conftest.err conftest.$ac_objext \
+-    conftest$ac_exeext conftest.$ac_ext
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+-$as_echo "$lt_cv_cc_needs_belf" >&6; }
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 +    MANIFEST_TOOL=":"
 +  else
@@ -2753,7 +2914,28 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +ac_tool_warned=yes ;;
 +esac
 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
-+  fi
+   fi
+-  ;;
+-sparc*-*solaris*)
+-  # Find out which ABI we are using.
+-  echo 'int i;' > conftest.$ac_ext
+-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+-  test $ac_status = 0; }; then
+-    case `/usr/bin/file conftest.o` in
+-    *64-bit*)
+-      case $lt_cv_prog_gnu_ld in
+-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
+-      *)
+-      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+-        LD="${LD-ld} -64"
+-      fi
+-      ;;
+-      esac
+-      ;;
+-    esac
 +else
 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 +fi
@@ -2770,7 +2952,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  cat conftest.err >&5
 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 +    lt_cv_path_mainfest_tool=yes
-+  fi
+   fi
+-  rm -rf conftest*
+-  ;;
+-esac
 +  rm -f conftest*
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
@@ -2781,12 +2966,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
-+
+
+-need_locks="$enable_libtool_lock"
+
  
    case $host_os in
-     rhapsody* | darwin*)
-@@ -7522,6 +8015,8 @@ _LT_EOF
+@@ -7896,6 +8392,8 @@ _LT_EOF
        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        echo "$AR cru libconftest.a conftest.o" >&5
        $AR cru libconftest.a conftest.o 2>&5
@@ -2795,7 +2980,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        cat > conftest.c << _LT_EOF
  int main() { return 0;}
  _LT_EOF
-@@ -8106,8 +8601,6 @@ fi
+@@ -8480,8 +8978,6 @@ fi
  lt_prog_compiler_pic=
  lt_prog_compiler_static=
  
@@ -2804,7 +2989,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if test "$GCC" = yes; then
      lt_prog_compiler_wl='-Wl,'
-@@ -8273,6 +8766,12 @@ $as_echo_n "checking for $compiler optio
+@@ -8647,6 +9143,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
@@ -2817,7 +3002,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -8335,7 +8834,7 @@ $as_echo_n "checking for $compiler optio
+@@ -8709,7 +9211,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
        case $cc_basename in
@@ -2826,7 +3011,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        lt_prog_compiler_wl='-Qoption ld ';;
        *)
        lt_prog_compiler_wl='-Wl,';;
-@@ -8392,13 +8891,17 @@ case $host_os in
+@@ -8766,13 +9268,17 @@ case $host_os in
      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
      ;;
  esac
@@ -2850,7 +3035,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -8459,6 +8962,11 @@ fi
+@@ -8833,6 +9339,11 @@ fi
  
  
  
@@ -2862,7 +3047,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -8809,7 +9317,8 @@ _LT_EOF
+@@ -9183,7 +9694,8 @@ _LT_EOF
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
@@ -2872,7 +3057,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -8908,12 +9417,12 @@ _LT_EOF
+@@ -9282,12 +9794,12 @@ _LT_EOF
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -2887,7 +3072,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -8927,8 +9436,8 @@ _LT_EOF
+@@ -9301,8 +9813,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -2898,7 +3083,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -8946,8 +9455,8 @@ _LT_EOF
+@@ -9320,8 +9832,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -2909,7 +3094,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -8993,8 +9502,8 @@ _LT_EOF
+@@ -9367,8 +9879,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -2920,7 +3105,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -9124,7 +9633,13 @@ _LT_EOF
+@@ -9498,7 +10010,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
@@ -2935,7 +3120,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -9137,22 +9652,29 @@ main ()
+@@ -9511,22 +10029,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -2978,7 +3163,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -9164,7 +9686,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9538,7 +10063,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -2993,7 +3178,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -9177,22 +9705,29 @@ main ()
+@@ -9551,22 +10082,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -3036,7 +3221,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
-@@ -9237,20 +9772,63 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9611,20 +10149,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -3114,7 +3299,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -9311,7 +9889,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9685,7 +10266,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -3123,7 +3308,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
        hardcode_shlibpath_var=no
-@@ -9319,7 +9897,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9693,7 +10274,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -3132,7 +3317,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -9335,7 +9913,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9709,7 +10290,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -3141,7 +3326,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -9359,10 +9937,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9733,10 +10314,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -3154,7 +3339,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -9441,23 +10019,36 @@ fi
+@@ -9815,23 +10396,36 @@ fi
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -3199,7 +3384,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -9542,7 +10133,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -9916,7 +10510,7 @@ rm -f core conftest.err conftest.$ac_objext \
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -3208,7 +3393,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        else
        allow_undefined_flag=' -expect_unresolved \*'
-@@ -9561,9 +10152,9 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -9935,9 +10529,9 @@ rm -f core conftest.err conftest.$ac_objext \
        no_undefined_flag=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -3220,7 +3405,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -10139,8 +10730,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10513,8 +11107,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -3232,7 +3417,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -10173,13 +10765,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10547,13 +11142,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -3305,16 +3490,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -11081,7 +11731,7 @@ else
+@@ -11455,7 +12108,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11084 "configure"
+-#line 11458 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -11125,10 +11775,10 @@ else
+@@ -11499,10 +12152,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -3327,16 +3512,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -11187,7 +11837,7 @@ else
+@@ -11561,7 +12214,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11190 "configure"
+-#line 11564 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -11231,10 +11881,10 @@ else
+@@ -11605,10 +12258,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -3349,7 +3534,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -17102,13 +17752,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
+@@ -17476,13 +18129,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -3370,7 +3555,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -17123,14 +17780,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
+@@ -17497,14 +18157,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -3389,7 +3574,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -17163,12 +17823,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
+@@ -17537,12 +18200,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -3403,7 +3588,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -17223,8 +17883,13 @@ reload_flag \
+@@ -17597,8 +18260,13 @@ reload_flag \
  OBJDUMP \
  deplibs_check_method \
  file_magic_cmd \
@@ -3417,7 +3602,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP \
  RANLIB \
  CC \
-@@ -17234,12 +17899,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -17608,12 +18276,14 @@ lt_cv_sys_global_symbol_pipe \
  lt_cv_sys_global_symbol_to_cdecl \
  lt_cv_sys_global_symbol_to_c_name_address \
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -3433,7 +3618,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL \
  NMEDIT \
  LIPO \
-@@ -17255,7 +17922,6 @@ no_undefined_flag \
+@@ -17629,7 +18299,6 @@ no_undefined_flag \
  hardcode_libdir_flag_spec \
  hardcode_libdir_flag_spec_ld \
  hardcode_libdir_separator \
@@ -3441,7 +3626,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms \
  include_expsyms \
  file_list_spec \
-@@ -17291,6 +17957,7 @@ module_cmds \
+@@ -17665,6 +18334,7 @@ module_cmds \
  module_expsym_cmds \
  export_symbols_cmds \
  prelink_cmds \
@@ -3449,7 +3634,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  postinstall_cmds \
  postuninstall_cmds \
  finish_cmds \
-@@ -18056,7 +18723,8 @@ $as_echo X"$file" |
+@@ -18430,7 +19100,8 @@ $as_echo X"$file" |
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -3459,7 +3644,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #   Written by Gordon Matzigkeit, 1996
  #
  #   This file is part of GNU Libtool.
-@@ -18159,19 +18827,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -18533,19 +19204,42 @@ SP2NL=$lt_lt_SP2NL
  # turn newlines into spaces.
  NL2SP=$lt_lt_NL2SP
  
@@ -3503,7 +3688,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # A symbol stripping program.
  STRIP=$lt_STRIP
  
-@@ -18201,6 +18892,12 @@ global_symbol_to_c_name_address=$lt_lt_c
+@@ -18575,6 +19269,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  # Transform the output of nm in a C name address pair when lib prefix is needed.
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  
@@ -3516,7 +3701,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # The name of the directory that contains temporary libtool files.
  objdir=$objdir
  
-@@ -18210,6 +18907,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -18584,6 +19284,9 @@ MAGIC_CMD=$MAGIC_CMD
  # Must we lock files when doing compilation?
  need_locks=$lt_need_locks
  
@@ -3526,7 +3711,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  DSYMUTIL=$lt_DSYMUTIL
  
-@@ -18324,12 +19024,12 @@ with_gcc=$GCC
+@@ -18698,12 +19401,12 @@ with_gcc=$GCC
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  
@@ -3542,7 +3727,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static
  
-@@ -18416,9 +19116,6 @@ inherit_rpath=$inherit_rpath
+@@ -18790,9 +19493,6 @@ inherit_rpath=$inherit_rpath
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs
  
@@ -3552,7 +3737,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols
  
-@@ -18434,6 +19131,9 @@ include_expsyms=$lt_include_expsyms
+@@ -18808,6 +19508,9 @@ include_expsyms=$lt_include_expsyms
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds
  
@@ -3562,7 +3747,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec
  
-@@ -18466,210 +19166,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -18840,210 +19543,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    # text mode, it properly converts lines to CR/LF.  This bash problem
    # is reportedly fixed, but why not run on old versions too?
@@ -3764,9 +3949,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -_LT_EOF
 -    ;;
 -  esac
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
 +  sed '$q' "$ltmain" >> "$cfgfile" \
 +     || (rm -f "$cfgfile"; exit 1)
++
 +  if test x"$xsi_shell" = xyes; then
 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 +func_dirname ()\
@@ -3924,18 +4115,17 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 +fi
--  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
--    || (rm -f "$cfgfile"; exit 1)
--  mv -f "$cfgfile" "$ofile" ||
++
++
 +   mv -f "$cfgfile" "$ofile" ||
      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    chmod +x "$ofile"
  
+diff --git a/gas/Makefile.in b/gas/Makefile.in
+index b2bb505cc69..f17a09669ea 100644
 --- a/gas/Makefile.in
 +++ b/gas/Makefile.in
-@@ -384,6 +384,7 @@ CYGPATH_W = @CYGPATH_W@
+@@ -386,6 +386,7 @@ CYGPATH_W = @CYGPATH_W@
  DATADIRNAME = @DATADIRNAME@
  DEFS = @DEFS@
  DEPDIR = @DEPDIR@
@@ -3943,7 +4133,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  ECHO_C = @ECHO_C@
-@@ -425,6 +426,7 @@ LTLIBINTL = @LTLIBINTL@
+@@ -428,6 +429,7 @@ LTLIBINTL = @LTLIBINTL@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -3951,7 +4141,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  MKINSTALLDIRS = @MKINSTALLDIRS@
  MSGFMT = @MSGFMT@
-@@ -468,6 +470,7 @@ abs_builddir = @abs_builddir@
+@@ -471,6 +473,7 @@ abs_builddir = @abs_builddir@
  abs_srcdir = @abs_srcdir@
  abs_top_builddir = @abs_top_builddir@
  abs_top_srcdir = @abs_top_srcdir@
@@ -3959,9 +4149,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ac_ct_CC = @ac_ct_CC@
  ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  am__include = @am__include@
+diff --git a/gas/configure b/gas/configure
+index b97a2c6e6b6..3e171c6c536 100755
 --- a/gas/configure
 +++ b/gas/configure
-@@ -692,8 +692,11 @@ OTOOL
+@@ -692,9 +692,12 @@ OTOOL
  LIPO
  NMEDIT
  DSYMUTIL
@@ -3969,11 +4161,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  RANLIB
 +ac_ct_AR
  AR
+ LLVM_CONFIG
 +DLLTOOL
  OBJDUMP
  LN_S
  NM
-@@ -810,6 +813,7 @@ enable_static
+@@ -811,6 +814,7 @@ enable_static
  with_pic
  enable_fast_install
  with_gnu_ld
@@ -4010,7 +4203,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    ECHO='print -r --'
  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -5386,8 +5392,8 @@ $as_echo_n "checking whether the shell u
+@@ -5386,8 +5392,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
  # Try some XSI features
  xsi_shell=no
  ( _lt_dummy="a/b/c"
@@ -4146,7 +4339,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -5794,6 +5895,157 @@ test -z "$deplibs_check_method" && depli
+@@ -5795,6 +5896,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  
@@ -4159,7 +4352,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
@@ -4301,12 +4493,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
- plugin_option=
- plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
- for plugin in $plugin_names; do
-@@ -5808,8 +6060,10 @@ for plugin in $plugin_names; do
- done
++
+ # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
+ # wrong plugin_option with clang.
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
+@@ -6176,9 +6428,12 @@ fi
+ plugin_option="$plugin_option"
  
+ fi
++
  if test -n "$ac_tool_prefix"; then
 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 -set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -4317,7 +4512,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_AR+:} false; then :
-@@ -5825,7 +6079,7 @@ do
+@@ -6194,7 +6449,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -4326,7 +4521,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -5845,11 +6099,15 @@ $as_echo "no" >&6; }
+@@ -6214,11 +6469,15 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -4345,7 +4540,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -5865,7 +6123,7 @@ do
+@@ -6234,7 +6493,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -4354,7 +4549,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -5884,6 +6142,10 @@ else
+@@ -6253,6 +6512,10 @@ else
  $as_echo "no" >&6; }
  fi
  
@@ -4365,7 +4560,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    if test "x$ac_ct_AR" = x; then
      AR="false"
    else
-@@ -5895,29 +6157,81 @@ ac_tool_warned=yes ;;
+@@ -6264,23 +6527,22 @@ ac_tool_warned=yes ;;
  esac
      AR=$ac_ct_AR
    fi
@@ -4375,39 +4570,38 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
+-      AR="$AR $plugin_option"
+-    fi
+-    ;;
+-  esac
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
 +  touch conftest.c
 +  $AR $plugin_option rc conftest.a conftest.c
 +  if test "$?" != 0; then
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
- $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
--    else
--      AR="$AR $plugin_option"
--    fi
--    rm -f conftest.*
++$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
 +  else
 +    AR="$AR $plugin_option"
-   fi
--fi
--test -z "$AR_FLAGS" && AR_FLAGS=cru
++  fi
 +  rm -f conftest.*
 +: ${AR=ar}
 +: ${AR_FLAGS=cru}
 +
 +
 +
-+
-+
-+
-+
-+
-+
-+
-+
+
+
+
+@@ -6289,6 +6551,61 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
+
+
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 +$as_echo_n "checking for archiver @FILE support... " >&6; }
 +if ${lt_cv_ar_at_file+:} false; then :
@@ -4416,11 +4610,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  lt_cv_ar_at_file=no
 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
++
 +int
 +main ()
 +{
++
 +  ;
 +  return 0;
 +}
@@ -4449,20 +4643,24 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 +$as_echo "$lt_cv_ar_at_file" >&6; }
++
 +if test "x$lt_cv_ar_at_file" = xno; then
 +  archiver_list_spec=
 +else
 +  archiver_list_spec=$lt_cv_ar_at_file
 +fi
++
++
++
++
  
  
  
-@@ -6264,8 +6578,8 @@ esac
+@@ -6637,8 +6954,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -4473,7 +4671,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -6301,6 +6615,7 @@ for ac_symprfx in "" "_"; do
+@@ -6674,6 +6991,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -4481,7 +4679,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -6342,6 +6657,18 @@ _LT_EOF
+@@ -6715,6 +7033,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -4500,7 +4698,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -6353,7 +6680,7 @@ _LT_EOF
+@@ -6726,7 +7056,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -4509,7 +4707,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -6379,8 +6706,8 @@ static const void *lt_preloaded_setup()
+@@ -6752,8 +7082,8 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -4520,7 +4718,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -6390,8 +6717,8 @@ _LT_EOF
+@@ -6763,8 +7093,8 @@ _LT_EOF
    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
@@ -4531,7 +4729,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
-@@ -6428,6 +6755,15 @@ else
+@@ -6801,6 +7131,17 @@ else
  $as_echo "ok" >&6; }
  fi
  
@@ -4544,13 +4742,18 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
++
++
  
  
  
-@@ -6449,6 +6785,46 @@ fi
+@@ -6817,6 +7158,44 @@ fi
  
  
  
++
++
++
 +
 +
 +
@@ -4586,18 +4789,59 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 +$as_echo "${lt_sysroot:-no}" >&6; }
-+
-+
-+
-+
-+
- # Check whether --enable-libtool-lock was given.
- if test "${enable_libtool_lock+set}" = set; then :
-   enableval=$enable_libtool_lock;
-@@ -6655,6 +7031,123 @@ esac
  
- need_locks="$enable_libtool_lock"
  
+
+@@ -6983,50 +7362,167 @@ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+   lt_cv_cc_needs_belf=yes
+ else
+-  lt_cv_cc_needs_belf=no
++  lt_cv_cc_needs_belf=no
++fi
++rm -f core conftest.err conftest.$ac_objext \
++    conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
++$as_echo "$lt_cv_cc_needs_belf" >&6; }
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++sparc*-*solaris*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++  test $ac_status = 0; }; then
++    case `/usr/bin/file conftest.o` in
++    *64-bit*)
++      case $lt_cv_prog_gnu_ld in
++      yes*) LD="${LD-ld} -m elf64_sparc" ;;
++      *)
++      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
++        LD="${LD-ld} -64"
++      fi
++      ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++esac
++
++need_locks="$enable_libtool_lock"
++
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}mt; ac_word=$2
@@ -4673,8 +4917,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +else
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 +$as_echo "no" >&6; }
-+fi
-+
+ fi
+-rm -f core conftest.err conftest.$ac_objext \
+-    conftest$ac_exeext conftest.$ac_ext
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+-$as_echo "$lt_cv_cc_needs_belf" >&6; }
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 +    MANIFEST_TOOL=":"
 +  else
@@ -4685,10 +4942,31 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +ac_tool_warned=yes ;;
 +esac
 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
-+  fi
-+else
-+  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
-+fi
+   fi
+-  ;;
+-sparc*-*solaris*)
+-  # Find out which ABI we are using.
+-  echo 'int i;' > conftest.$ac_ext
+-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+-  test $ac_status = 0; }; then
+-    case `/usr/bin/file conftest.o` in
+-    *64-bit*)
+-      case $lt_cv_prog_gnu_ld in
+-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
+-      *)
+-      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+-        LD="${LD-ld} -64"
+-      fi
+-      ;;
+-      esac
+-      ;;
+-    esac
++else
++  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
++fi
 +
 +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
@@ -4702,7 +4980,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  cat conftest.err >&5
 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 +    lt_cv_path_mainfest_tool=yes
-+  fi
+   fi
+-  rm -rf conftest*
+-  ;;
+-esac
 +  rm -f conftest*
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
@@ -4713,12 +4994,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
-+
+
+-need_locks="$enable_libtool_lock"
+
  
    case $host_os in
-     rhapsody* | darwin*)
-@@ -7218,6 +7711,8 @@ _LT_EOF
+@@ -7591,6 +8087,8 @@ _LT_EOF
        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        echo "$AR cru libconftest.a conftest.o" >&5
        $AR cru libconftest.a conftest.o 2>&5
@@ -4727,7 +5008,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        cat > conftest.c << _LT_EOF
  int main() { return 0;}
  _LT_EOF
-@@ -7802,8 +8297,6 @@ fi
+@@ -8175,8 +8673,6 @@ fi
  lt_prog_compiler_pic=
  lt_prog_compiler_static=
  
@@ -4736,7 +5017,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if test "$GCC" = yes; then
      lt_prog_compiler_wl='-Wl,'
-@@ -7969,6 +8462,12 @@ $as_echo_n "checking for $compiler optio
+@@ -8342,6 +8838,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
@@ -4749,7 +5030,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -8031,7 +8530,7 @@ $as_echo_n "checking for $compiler optio
+@@ -8404,7 +8906,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
        case $cc_basename in
@@ -4758,7 +5039,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        lt_prog_compiler_wl='-Qoption ld ';;
        *)
        lt_prog_compiler_wl='-Wl,';;
-@@ -8088,13 +8587,17 @@ case $host_os in
+@@ -8461,13 +8963,17 @@ case $host_os in
      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
      ;;
  esac
@@ -4782,7 +5063,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -8155,6 +8658,11 @@ fi
+@@ -8528,6 +9034,11 @@ fi
  
  
  
@@ -4794,7 +5075,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -8505,7 +9013,8 @@ _LT_EOF
+@@ -8878,7 +9389,8 @@ _LT_EOF
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
@@ -4804,7 +5085,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -8604,12 +9113,12 @@ _LT_EOF
+@@ -8977,12 +9489,12 @@ _LT_EOF
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -4819,7 +5100,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -8623,8 +9132,8 @@ _LT_EOF
+@@ -8996,8 +9508,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -4830,7 +5111,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -8642,8 +9151,8 @@ _LT_EOF
+@@ -9015,8 +9527,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -4841,7 +5122,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -8689,8 +9198,8 @@ _LT_EOF
+@@ -9062,8 +9574,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -4852,7 +5133,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -8820,7 +9329,13 @@ _LT_EOF
+@@ -9193,7 +9705,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
@@ -4867,7 +5148,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -8833,22 +9348,29 @@ main ()
+@@ -9206,22 +9724,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -4910,7 +5191,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -8860,7 +9382,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9233,7 +9758,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -4925,7 +5206,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -8873,22 +9401,29 @@ main ()
+@@ -9246,22 +9777,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -4968,7 +5249,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
-@@ -8933,20 +9468,63 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9306,20 +9844,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -5046,7 +5327,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -9007,7 +9585,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9380,7 +9961,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -5055,7 +5336,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
        hardcode_shlibpath_var=no
-@@ -9015,7 +9593,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9388,7 +9969,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -5064,7 +5345,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -9031,7 +9609,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9404,7 +9985,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -5073,7 +5354,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -9055,10 +9633,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9428,10 +10009,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -5086,7 +5367,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -9137,23 +9715,36 @@ fi
+@@ -9510,23 +10091,36 @@ fi
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -5131,7 +5412,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -9238,7 +9829,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -9611,7 +10205,7 @@ rm -f core conftest.err conftest.$ac_objext \
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -5140,7 +5421,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        else
        allow_undefined_flag=' -expect_unresolved \*'
-@@ -9257,9 +9848,9 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -9630,9 +10224,9 @@ rm -f core conftest.err conftest.$ac_objext \
        no_undefined_flag=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -5152,7 +5433,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -9835,8 +10426,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10208,8 +10802,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -5164,7 +5445,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -9869,13 +10461,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10242,13 +10837,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -5237,16 +5518,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -10777,7 +11427,7 @@ else
+@@ -11150,7 +11803,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 10780 "configure"
-+#line $LINENO "configure"
+-#line 11153 "configure"
++line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -10821,10 +11471,10 @@ else
+@@ -11194,10 +11847,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -5259,16 +5540,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -10883,7 +11533,7 @@ else
+@@ -11256,7 +11909,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 10886 "configure"
+-#line 11259 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -10927,10 +11577,10 @@ else
+@@ -11300,10 +11953,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -5281,7 +5562,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -16771,13 +17421,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
+@@ -17134,13 +17787,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -5302,7 +5583,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -16792,14 +17449,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
+@@ -17155,14 +17815,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -5321,7 +5602,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -16832,12 +17492,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
+@@ -17195,12 +17858,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -5335,7 +5616,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -16892,8 +17552,13 @@ reload_flag \
+@@ -17255,8 +17918,13 @@ reload_flag \
  OBJDUMP \
  deplibs_check_method \
  file_magic_cmd \
@@ -5349,7 +5630,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP \
  RANLIB \
  CC \
-@@ -16903,12 +17568,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -17266,12 +17934,14 @@ lt_cv_sys_global_symbol_pipe \
  lt_cv_sys_global_symbol_to_cdecl \
  lt_cv_sys_global_symbol_to_c_name_address \
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -5365,7 +5646,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL \
  NMEDIT \
  LIPO \
-@@ -16924,7 +17591,6 @@ no_undefined_flag \
+@@ -17287,7 +17957,6 @@ no_undefined_flag \
  hardcode_libdir_flag_spec \
  hardcode_libdir_flag_spec_ld \
  hardcode_libdir_separator \
@@ -5373,7 +5654,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms \
  include_expsyms \
  file_list_spec \
-@@ -16960,6 +17626,7 @@ module_cmds \
+@@ -17323,6 +17992,7 @@ module_cmds \
  module_expsym_cmds \
  export_symbols_cmds \
  prelink_cmds \
@@ -5381,7 +5662,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  postinstall_cmds \
  postuninstall_cmds \
  finish_cmds \
-@@ -17732,7 +18399,8 @@ $as_echo X"$file" |
+@@ -18095,7 +18765,8 @@ $as_echo X"$file" |
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -5391,7 +5672,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #   Written by Gordon Matzigkeit, 1996
  #
  #   This file is part of GNU Libtool.
-@@ -17835,19 +18503,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -18198,19 +18869,42 @@ SP2NL=$lt_lt_SP2NL
  # turn newlines into spaces.
  NL2SP=$lt_lt_NL2SP
  
@@ -5435,7 +5716,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # A symbol stripping program.
  STRIP=$lt_STRIP
  
-@@ -17877,6 +18568,12 @@ global_symbol_to_c_name_address=$lt_lt_c
+@@ -18240,6 +18934,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  # Transform the output of nm in a C name address pair when lib prefix is needed.
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  
@@ -5448,7 +5729,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # The name of the directory that contains temporary libtool files.
  objdir=$objdir
  
-@@ -17886,6 +18583,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -18249,6 +18949,9 @@ MAGIC_CMD=$MAGIC_CMD
  # Must we lock files when doing compilation?
  need_locks=$lt_need_locks
  
@@ -5458,7 +5739,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  DSYMUTIL=$lt_DSYMUTIL
  
-@@ -18000,12 +18700,12 @@ with_gcc=$GCC
+@@ -18363,12 +19066,12 @@ with_gcc=$GCC
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  
@@ -5474,7 +5755,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static
  
-@@ -18092,9 +18792,6 @@ inherit_rpath=$inherit_rpath
+@@ -18455,9 +19158,6 @@ inherit_rpath=$inherit_rpath
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs
  
@@ -5484,7 +5765,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols
  
-@@ -18110,6 +18807,9 @@ include_expsyms=$lt_include_expsyms
+@@ -18473,6 +19173,9 @@ include_expsyms=$lt_include_expsyms
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds
  
@@ -5494,7 +5775,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec
  
-@@ -18142,210 +18842,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -18505,210 +19208,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    # text mode, it properly converts lines to CR/LF.  This bash problem
    # is reportedly fixed, but why not run on old versions too?
@@ -5696,9 +5977,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -_LT_EOF
 -    ;;
 -  esac
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
 +  sed '$q' "$ltmain" >> "$cfgfile" \
 +     || (rm -f "$cfgfile"; exit 1)
++
 +  if test x"$xsi_shell" = xyes; then
 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 +func_dirname ()\
@@ -5856,18 +6143,17 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 +fi
--  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
--    || (rm -f "$cfgfile"; exit 1)
--  mv -f "$cfgfile" "$ofile" ||
++
++
 +   mv -f "$cfgfile" "$ofile" ||
      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    chmod +x "$ofile"
  
+diff --git a/gprof/Makefile.in b/gprof/Makefile.in
+index bb09f0ca04d..99a5f9c44a7 100644
 --- a/gprof/Makefile.in
 +++ b/gprof/Makefile.in
-@@ -327,6 +327,7 @@ CYGPATH_W = @CYGPATH_W@
+@@ -329,6 +329,7 @@ CYGPATH_W = @CYGPATH_W@
  DATADIRNAME = @DATADIRNAME@
  DEFS = @DEFS@
  DEPDIR = @DEPDIR@
@@ -5875,7 +6161,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  ECHO_C = @ECHO_C@
-@@ -363,6 +364,7 @@ LTLIBINTL = @LTLIBINTL@
+@@ -366,6 +367,7 @@ LTLIBINTL = @LTLIBINTL@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -5883,7 +6169,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  MKINSTALLDIRS = @MKINSTALLDIRS@
  MSGFMT = @MSGFMT@
-@@ -398,6 +400,7 @@ abs_builddir = @abs_builddir@
+@@ -401,6 +403,7 @@ abs_builddir = @abs_builddir@
  abs_srcdir = @abs_srcdir@
  abs_top_builddir = @abs_top_builddir@
  abs_top_srcdir = @abs_top_srcdir@
@@ -5891,9 +6177,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ac_ct_CC = @ac_ct_CC@
  ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  am__include = @am__include@
+diff --git a/gprof/configure b/gprof/configure
+index 909b27611fa..b63ea12dbb3 100755
 --- a/gprof/configure
 +++ b/gprof/configure
-@@ -671,8 +671,11 @@ OTOOL
+@@ -671,9 +671,12 @@ OTOOL
  LIPO
  NMEDIT
  DSYMUTIL
@@ -5901,11 +6189,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  RANLIB
 +ac_ct_AR
  AR
+ LLVM_CONFIG
 +DLLTOOL
  OBJDUMP
  LN_S
  NM
-@@ -789,6 +792,7 @@ enable_static
+@@ -790,6 +793,7 @@ enable_static
  with_pic
  enable_fast_install
  with_gnu_ld
@@ -5913,16 +6202,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  enable_libtool_lock
  enable_plugins
  enable_largefile
-@@ -1464,6 +1468,8 @@ Optional Packages:
-   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
-   --without-libintl-prefix     don't search for libintl in includedir and libdir
-   --with-libintl-type=TYPE     type of library to search for (auto/static/shared)
+@@ -1458,6 +1462,8 @@ Optional Packages:
+   --with-pic              try to use only PIC/non-PIC objects [default=use
+                           both]
+   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 +  --with-libtool-sysroot=DIR Search for dependent libraries within DIR
 +                        (or the compiler's sysroot if not specified).
- Some influential environment variables:
-   CC          C compiler command
-@@ -4530,8 +4536,8 @@ esac
+   --with-gnu-ld           assume the C compiler uses GNU ld default=no
+   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
+   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
+@@ -4531,8 +4537,8 @@ esac
  
  
  
@@ -5933,7 +6222,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -4571,7 +4577,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -4572,7 +4578,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  $as_echo_n "checking how to print strings... " >&6; }
  # Test print first, because it will be a builtin if present.
@@ -5942,7 +6231,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    ECHO='print -r --'
  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -5264,8 +5270,8 @@ $as_echo_n "checking whether the shell u
+@@ -5265,8 +5271,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
  # Try some XSI features
  xsi_shell=no
  ( _lt_dummy="a/b/c"
@@ -5953,7 +6242,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      && eval 'test $(( 1 + 1 )) -eq 2 \
      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    && xsi_shell=yes
-@@ -5314,6 +5320,80 @@ esac
+@@ -5315,6 +5321,80 @@ esac
  
  
  
@@ -6034,7 +6323,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -5330,6 +5410,11 @@ case $reload_flag in
+@@ -5331,6 +5411,11 @@ case $reload_flag in
  esac
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  case $host_os in
@@ -6046,7 +6335,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    darwin*)
      if test "$GCC" = yes; then
        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -5498,7 +5583,8 @@ mingw* | pw32*)
+@@ -5499,7 +5584,8 @@ mingw* | pw32*)
      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
      lt_cv_file_magic_cmd='func_win32_libid'
    else
@@ -6056,7 +6345,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      lt_cv_file_magic_cmd='$OBJDUMP -f'
    fi
    ;;
-@@ -5657,6 +5743,21 @@ esac
+@@ -5658,6 +5744,21 @@ esac
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -6078,7 +6367,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -5672,6 +5773,157 @@ test -z "$deplibs_check_method" && depli
+@@ -5674,6 +5775,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  
@@ -6091,7 +6380,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
@@ -6233,12 +6521,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
- plugin_option=
- plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
- for plugin in $plugin_names; do
-@@ -5686,8 +5938,10 @@ for plugin in $plugin_names; do
- done
++
+ # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
+ # wrong plugin_option with clang.
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
+@@ -6055,9 +6307,12 @@ fi
+ plugin_option="$plugin_option"
  
+ fi
++
  if test -n "$ac_tool_prefix"; then
 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 -set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -6249,7 +6540,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_AR+:} false; then :
-@@ -5703,7 +5957,7 @@ do
+@@ -6073,7 +6328,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -6258,7 +6549,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -5723,11 +5977,15 @@ $as_echo "no" >&6; }
+@@ -6093,11 +6348,15 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -6277,7 +6568,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -5743,7 +6001,7 @@ do
+@@ -6113,7 +6372,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -6286,7 +6577,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -5762,6 +6020,10 @@ else
+@@ -6132,6 +6391,10 @@ else
  $as_echo "no" >&6; }
  fi
  
@@ -6297,7 +6588,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    if test "x$ac_ct_AR" = x; then
      AR="false"
    else
-@@ -5773,29 +6035,81 @@ ac_tool_warned=yes ;;
+@@ -6143,23 +6406,19 @@ ac_tool_warned=yes ;;
  esac
      AR=$ac_ct_AR
    fi
@@ -6307,39 +6598,35 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
+-      AR="$AR $plugin_option"
+-    fi
+-    ;;
+-  esac
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
 +  touch conftest.c
 +  $AR $plugin_option rc conftest.a conftest.c
 +  if test "$?" != 0; then
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
- $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
--    else
--      AR="$AR $plugin_option"
--    fi
--    rm -f conftest.*
++$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
 +  else
 +    AR="$AR $plugin_option"
-   fi
--fi
--test -z "$AR_FLAGS" && AR_FLAGS=cru
++  fi
 +  rm -f conftest.*
 +: ${AR=ar}
 +: ${AR_FLAGS=cru}
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
+
+
+
+@@ -6171,6 +6430,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
+
+
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 +$as_echo_n "checking for archiver @FILE support... " >&6; }
 +if ${lt_cv_ar_at_file+:} false; then :
@@ -6348,11 +6635,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  lt_cv_ar_at_file=no
 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
++
 +int
 +main ()
 +{
++
 +  ;
 +  return 0;
 +}
@@ -6381,20 +6668,27 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 +$as_echo "$lt_cv_ar_at_file" >&6; }
++
 +if test "x$lt_cv_ar_at_file" = xno; then
 +  archiver_list_spec=
 +else
 +  archiver_list_spec=$lt_cv_ar_at_file
 +fi
-@@ -6142,8 +6456,8 @@ esac
++
++
++
++
++
++
++
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}strip; ac_word=$2
+@@ -6516,8 +6833,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -6405,7 +6699,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -6179,6 +6493,7 @@ for ac_symprfx in "" "_"; do
+@@ -6553,6 +6870,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -6413,7 +6707,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -6220,6 +6535,18 @@ _LT_EOF
+@@ -6594,6 +6912,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -6432,7 +6726,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -6231,7 +6558,7 @@ _LT_EOF
+@@ -6605,7 +6935,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -6441,7 +6735,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -6257,8 +6584,8 @@ static const void *lt_preloaded_setup()
+@@ -6631,8 +6961,8 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -6452,7 +6746,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -6268,8 +6595,8 @@ _LT_EOF
+@@ -6642,8 +6972,8 @@ _LT_EOF
    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
@@ -6463,7 +6757,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
-@@ -6306,6 +6633,16 @@ else
+@@ -6680,6 +7010,15 @@ else
  $as_echo "ok" >&6; }
  fi
  
@@ -6476,14 +6770,18 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
  
  
  
-@@ -6327,6 +6664,45 @@ fi
+@@ -6697,6 +7036,46 @@ fi
  
  
  
++
++
++
++
++
 +
 +
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
@@ -6519,17 +6817,59 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 +$as_echo "${lt_sysroot:-no}" >&6; }
 +
-+
-+
-+
-+
- # Check whether --enable-libtool-lock was given.
- if test "${enable_libtool_lock+set}" = set; then :
-   enableval=$enable_libtool_lock;
-@@ -6533,6 +6909,123 @@ esac
  
- need_locks="$enable_libtool_lock"
  
+
+@@ -6862,50 +7241,167 @@ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+   lt_cv_cc_needs_belf=yes
+ else
+-  lt_cv_cc_needs_belf=no
++  lt_cv_cc_needs_belf=no
++fi
++rm -f core conftest.err conftest.$ac_objext \
++    conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
++$as_echo "$lt_cv_cc_needs_belf" >&6; }
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++sparc*-*solaris*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++  test $ac_status = 0; }; then
++    case `/usr/bin/file conftest.o` in
++    *64-bit*)
++      case $lt_cv_prog_gnu_ld in
++      yes*) LD="${LD-ld} -m elf64_sparc" ;;
++      *)
++      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
++        LD="${LD-ld} -64"
++      fi
++      ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++esac
++
++need_locks="$enable_libtool_lock"
++
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}mt; ac_word=$2
@@ -6605,8 +6945,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +else
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 +$as_echo "no" >&6; }
-+fi
-+
+ fi
+-rm -f core conftest.err conftest.$ac_objext \
+-    conftest$ac_exeext conftest.$ac_ext
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+-$as_echo "$lt_cv_cc_needs_belf" >&6; }
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 +    MANIFEST_TOOL=":"
 +  else
@@ -6617,7 +6970,28 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +ac_tool_warned=yes ;;
 +esac
 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
-+  fi
+   fi
+-  ;;
+-sparc*-*solaris*)
+-  # Find out which ABI we are using.
+-  echo 'int i;' > conftest.$ac_ext
+-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+-  test $ac_status = 0; }; then
+-    case `/usr/bin/file conftest.o` in
+-    *64-bit*)
+-      case $lt_cv_prog_gnu_ld in
+-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
+-      *)
+-      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+-        LD="${LD-ld} -64"
+-      fi
+-      ;;
+-      esac
+-      ;;
+-    esac
 +else
 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 +fi
@@ -6634,7 +7008,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  cat conftest.err >&5
 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 +    lt_cv_path_mainfest_tool=yes
-+  fi
+   fi
+-  rm -rf conftest*
+-  ;;
+-esac
 +  rm -f conftest*
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
@@ -6644,13 +7021,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +fi
 +
 +
-+
-+
 +
  
+-need_locks="$enable_libtool_lock"
+
+
    case $host_os in
-     rhapsody* | darwin*)
-@@ -7096,6 +7589,8 @@ _LT_EOF
+@@ -7470,6 +7966,8 @@ _LT_EOF
        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        echo "$AR cru libconftest.a conftest.o" >&5
        $AR cru libconftest.a conftest.o 2>&5
@@ -6659,7 +7036,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        cat > conftest.c << _LT_EOF
  int main() { return 0;}
  _LT_EOF
-@@ -7680,8 +8175,6 @@ fi
+@@ -8054,8 +8552,6 @@ fi
  lt_prog_compiler_pic=
  lt_prog_compiler_static=
  
@@ -6668,7 +7045,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if test "$GCC" = yes; then
      lt_prog_compiler_wl='-Wl,'
-@@ -7847,6 +8340,12 @@ $as_echo_n "checking for $compiler optio
+@@ -8221,6 +8717,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
@@ -6681,7 +7058,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -7909,7 +8408,7 @@ $as_echo_n "checking for $compiler optio
+@@ -8283,7 +8785,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
        case $cc_basename in
@@ -6690,7 +7067,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        lt_prog_compiler_wl='-Qoption ld ';;
        *)
        lt_prog_compiler_wl='-Wl,';;
-@@ -7966,13 +8465,17 @@ case $host_os in
+@@ -8340,13 +8842,17 @@ case $host_os in
      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
      ;;
  esac
@@ -6714,7 +7091,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -8033,6 +8536,11 @@ fi
+@@ -8407,6 +8913,11 @@ fi
  
  
  
@@ -6726,7 +7103,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -8383,7 +8891,8 @@ _LT_EOF
+@@ -8757,7 +9268,8 @@ _LT_EOF
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
@@ -6736,7 +7113,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -8482,12 +8991,12 @@ _LT_EOF
+@@ -8856,12 +9368,12 @@ _LT_EOF
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -6751,7 +7128,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -8501,8 +9010,8 @@ _LT_EOF
+@@ -8875,8 +9387,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -6762,7 +7139,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -8520,8 +9029,8 @@ _LT_EOF
+@@ -8894,8 +9406,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -6773,7 +7150,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -8567,8 +9076,8 @@ _LT_EOF
+@@ -8941,8 +9453,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -6784,7 +7161,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -8698,7 +9207,13 @@ _LT_EOF
+@@ -9072,7 +9584,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
@@ -6799,7 +7176,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -8711,22 +9226,29 @@ main ()
+@@ -9085,22 +9603,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -6842,7 +7219,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -8738,7 +9260,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9112,7 +9637,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -6857,7 +7234,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -8751,22 +9279,29 @@ main ()
+@@ -9125,22 +9656,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -6900,7 +7277,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
-@@ -8811,20 +9346,63 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9185,20 +9723,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -6978,7 +7355,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -8885,7 +9463,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9259,7 +9840,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -6987,7 +7364,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
        hardcode_shlibpath_var=no
-@@ -8893,7 +9471,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9267,7 +9848,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -6996,7 +7373,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -8909,7 +9487,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9283,7 +9864,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -7005,7 +7382,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -8933,10 +9511,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9307,10 +9888,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -7018,7 +7395,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -9015,23 +9593,36 @@ fi
+@@ -9389,23 +9970,36 @@ fi
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -7063,7 +7440,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -9116,7 +9707,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -9490,7 +10084,7 @@ rm -f core conftest.err conftest.$ac_objext \
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -7072,7 +7449,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        else
        allow_undefined_flag=' -expect_unresolved \*'
-@@ -9135,9 +9726,9 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -9509,9 +10103,9 @@ rm -f core conftest.err conftest.$ac_objext \
        no_undefined_flag=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -7084,7 +7461,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -9713,8 +10304,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10087,8 +10681,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -7096,7 +7473,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -9747,13 +10339,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10121,13 +10716,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -7169,16 +7546,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -10655,7 +11305,7 @@ else
+@@ -11029,7 +11682,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 10658 "configure"
+-#line 11032 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -10699,10 +11349,10 @@ else
+@@ -11073,10 +11726,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -7191,16 +7568,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -10761,7 +11411,7 @@ else
+@@ -11135,7 +11788,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 10764 "configure"
+-#line 11138 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -10805,10 +11455,10 @@ else
+@@ -11179,10 +11832,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -7213,7 +7590,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -14478,13 +15128,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
+@@ -14852,13 +15505,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -7234,7 +7611,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -14499,14 +15156,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
+@@ -14873,14 +15533,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -7253,7 +7630,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -14539,12 +15199,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
+@@ -14913,12 +15576,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -7267,7 +7644,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -14599,8 +15259,13 @@ reload_flag \
+@@ -14973,8 +15636,13 @@ reload_flag \
  OBJDUMP \
  deplibs_check_method \
  file_magic_cmd \
@@ -7281,7 +7658,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP \
  RANLIB \
  CC \
-@@ -14610,12 +15275,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -14984,12 +15652,14 @@ lt_cv_sys_global_symbol_pipe \
  lt_cv_sys_global_symbol_to_cdecl \
  lt_cv_sys_global_symbol_to_c_name_address \
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -7297,7 +7674,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL \
  NMEDIT \
  LIPO \
-@@ -14631,7 +15298,6 @@ no_undefined_flag \
+@@ -15005,7 +15675,6 @@ no_undefined_flag \
  hardcode_libdir_flag_spec \
  hardcode_libdir_flag_spec_ld \
  hardcode_libdir_separator \
@@ -7305,7 +7682,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms \
  include_expsyms \
  file_list_spec \
-@@ -14667,6 +15333,7 @@ module_cmds \
+@@ -15041,6 +15710,7 @@ module_cmds \
  module_expsym_cmds \
  export_symbols_cmds \
  prelink_cmds \
@@ -7313,7 +7690,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  postinstall_cmds \
  postuninstall_cmds \
  finish_cmds \
-@@ -15433,7 +16100,8 @@ $as_echo X"$file" |
+@@ -15807,7 +16477,8 @@ $as_echo X"$file" |
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -7323,7 +7700,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #   Written by Gordon Matzigkeit, 1996
  #
  #   This file is part of GNU Libtool.
-@@ -15536,19 +16204,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -15910,19 +16581,42 @@ SP2NL=$lt_lt_SP2NL
  # turn newlines into spaces.
  NL2SP=$lt_lt_NL2SP
  
@@ -7367,7 +7744,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # A symbol stripping program.
  STRIP=$lt_STRIP
  
-@@ -15578,6 +16269,12 @@ global_symbol_to_c_name_address=$lt_lt_c
+@@ -15952,6 +16646,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  # Transform the output of nm in a C name address pair when lib prefix is needed.
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  
@@ -7380,7 +7757,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # The name of the directory that contains temporary libtool files.
  objdir=$objdir
  
-@@ -15587,6 +16284,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -15961,6 +16661,9 @@ MAGIC_CMD=$MAGIC_CMD
  # Must we lock files when doing compilation?
  need_locks=$lt_need_locks
  
@@ -7390,7 +7767,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  DSYMUTIL=$lt_DSYMUTIL
  
-@@ -15701,12 +16401,12 @@ with_gcc=$GCC
+@@ -16075,12 +16778,12 @@ with_gcc=$GCC
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  
@@ -7406,7 +7783,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static
  
-@@ -15793,9 +16493,6 @@ inherit_rpath=$inherit_rpath
+@@ -16167,9 +16870,6 @@ inherit_rpath=$inherit_rpath
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs
  
@@ -7416,7 +7793,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols
  
-@@ -15811,6 +16508,9 @@ include_expsyms=$lt_include_expsyms
+@@ -16185,6 +16885,9 @@ include_expsyms=$lt_include_expsyms
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds
  
@@ -7426,7 +7803,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec
  
-@@ -15843,210 +16543,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -16217,210 +16920,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    # text mode, it properly converts lines to CR/LF.  This bash problem
    # is reportedly fixed, but why not run on old versions too?
@@ -7628,9 +8005,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -_LT_EOF
 -    ;;
 -  esac
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
 +  sed '$q' "$ltmain" >> "$cfgfile" \
 +     || (rm -f "$cfgfile"; exit 1)
++
 +  if test x"$xsi_shell" = xyes; then
 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 +func_dirname ()\
@@ -7788,18 +8171,45 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 +fi
--  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
--    || (rm -f "$cfgfile"; exit 1)
--  mv -f "$cfgfile" "$ofile" ||
++
++
 +   mv -f "$cfgfile" "$ofile" ||
      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    chmod +x "$ofile"
  
+diff --git a/gprof/testsuite/Makefile.in b/gprof/testsuite/Makefile.in
+index 77cecd153b1..f8f1c9fa30e 100644
+--- a/gprof/testsuite/Makefile.in
++++ b/gprof/testsuite/Makefile.in
+@@ -371,6 +371,7 @@ CYGPATH_W = @CYGPATH_W@
+ DATADIRNAME = @DATADIRNAME@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -408,6 +409,7 @@ LTLIBINTL = @LTLIBINTL@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ MKINSTALLDIRS = @MKINSTALLDIRS@
+ MSGFMT = @MSGFMT@
+@@ -443,6 +445,7 @@ abs_builddir = @abs_builddir@
+ abs_srcdir = @abs_srcdir@
+ abs_top_builddir = @abs_top_builddir@
+ abs_top_srcdir = @abs_top_srcdir@
++ac_ct_AR = @ac_ct_AR@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ am__include = @am__include@
+diff --git a/gprofng/Makefile.in b/gprofng/Makefile.in
+index 39ab696e16b..6e5e9911de2 100644
 --- a/gprofng/Makefile.in
 +++ b/gprofng/Makefile.in
-@@ -254,6 +254,7 @@ CXXFLAGS = @CXXFLAGS@
+@@ -259,6 +259,7 @@ CXXFLAGS = @CXXFLAGS@
  CYGPATH_W = @CYGPATH_W@
  DEFS = @DEFS@
  DEPDIR = @DEPDIR@
@@ -7807,7 +8217,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  ECHO_C = @ECHO_C@
-@@ -290,6 +291,7 @@ LN_S = @LN_S@
+@@ -296,6 +297,7 @@ LN_S = @LN_S@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -7815,18 +8225,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  NM = @NM@
  NMEDIT = @NMEDIT@
+diff --git a/gprofng/configure b/gprofng/configure
+index 3b87b0d2fd7..2777d06b19d 100755
 --- a/gprofng/configure
 +++ b/gprofng/configure
-@@ -672,6 +672,8 @@ OTOOL
+@@ -674,7 +674,9 @@ OTOOL
  LIPO
  NMEDIT
  DSYMUTIL
 +MANIFEST_TOOL
+ LLVM_CONFIG
 +DLLTOOL
  OBJDUMP
  LN_S
  NM
-@@ -802,6 +804,7 @@ enable_static
+@@ -805,6 +807,7 @@ enable_static
  with_pic
  enable_fast_install
  with_gnu_ld
@@ -7834,7 +8247,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  enable_libtool_lock
  enable_werror_always
  enable_gprofng_tools
-@@ -1465,6 +1468,8 @@ Optional Packages:
+@@ -1468,6 +1471,8 @@ Optional Packages:
    --with-pic              try to use only PIC/non-PIC objects [default=use
                            both]
    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
@@ -7843,7 +8256,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    --with-jdk=PATH         specify prefix directory for installed JDK.
    --with-system-zlib      use installed libz
  
-@@ -6153,8 +6158,8 @@ esac
+@@ -6159,8 +6164,8 @@ esac
  
  
  
@@ -7854,7 +8267,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -6194,7 +6199,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -6200,7 +6205,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  $as_echo_n "checking how to print strings... " >&6; }
  # Test print first, because it will be a builtin if present.
@@ -7863,7 +8276,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    ECHO='print -r --'
  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -6887,8 +6892,8 @@ $as_echo_n "checking whether the shell u
+@@ -6893,8 +6898,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
  # Try some XSI features
  xsi_shell=no
  ( _lt_dummy="a/b/c"
@@ -7874,7 +8287,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      && eval 'test $(( 1 + 1 )) -eq 2 \
      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    && xsi_shell=yes
-@@ -6937,6 +6942,80 @@ esac
+@@ -6943,6 +6948,80 @@ esac
  
  
  
@@ -7955,7 +8368,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -6953,6 +7032,11 @@ case $reload_flag in
+@@ -6959,6 +7038,11 @@ case $reload_flag in
  esac
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  case $host_os in
@@ -7967,7 +8380,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    darwin*)
      if test "$GCC" = yes; then
        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -7121,7 +7205,8 @@ mingw* | pw32*)
+@@ -7127,7 +7211,8 @@ mingw* | pw32*)
      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
      lt_cv_file_magic_cmd='func_win32_libid'
    else
@@ -7977,7 +8390,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      lt_cv_file_magic_cmd='$OBJDUMP -f'
    fi
    ;;
-@@ -7280,6 +7365,21 @@ esac
+@@ -7286,6 +7371,21 @@ esac
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -7999,7 +8412,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -7295,6 +7395,157 @@ test -z "$deplibs_check_method" && depli
+@@ -7302,6 +7402,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  
@@ -8012,7 +8425,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
@@ -8154,12 +8566,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
- plugin_option=
- plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
- for plugin in $plugin_names; do
-@@ -7309,8 +7560,10 @@ for plugin in $plugin_names; do
- done
++
+ # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
+ # wrong plugin_option with clang.
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
+@@ -7683,9 +7934,12 @@ fi
+ plugin_option="$plugin_option"
  
+ fi
++
  if test -n "$ac_tool_prefix"; then
 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 -set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -8170,7 +8585,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_AR+:} false; then :
-@@ -7326,7 +7579,7 @@ do
+@@ -7701,7 +7955,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -8179,7 +8594,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -7346,11 +7599,15 @@ $as_echo "no" >&6; }
+@@ -7721,11 +7975,15 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -8198,7 +8613,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -7366,7 +7623,7 @@ do
+@@ -7741,7 +7999,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -8207,7 +8622,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -7385,6 +7642,10 @@ else
+@@ -7760,6 +8018,10 @@ else
  $as_echo "no" >&6; }
  fi
  
@@ -8218,7 +8633,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    if test "x$ac_ct_AR" = x; then
      AR="false"
    else
-@@ -7396,29 +7657,81 @@ ac_tool_warned=yes ;;
+@@ -7771,23 +8033,20 @@ ac_tool_warned=yes ;;
  esac
      AR=$ac_ct_AR
    fi
@@ -8228,39 +8643,36 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
+-      AR="$AR $plugin_option"
+-    fi
+-    ;;
+-  esac
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
 +  touch conftest.c
 +  $AR $plugin_option rc conftest.a conftest.c
 +  if test "$?" != 0; then
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
- $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
--    else
--      AR="$AR $plugin_option"
--    fi
--    rm -f conftest.*
++$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
 +  else
 +    AR="$AR $plugin_option"
-   fi
--fi
--test -z "$AR_FLAGS" && AR_FLAGS=cru
++  fi
 +  rm -f conftest.*
 +: ${AR=ar}
 +: ${AR_FLAGS=cru}
 +
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
+
+
+
+@@ -7798,6 +8057,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
+
+
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 +$as_echo_n "checking for archiver @FILE support... " >&6; }
 +if ${lt_cv_ar_at_file+:} false; then :
@@ -8273,7 +8685,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +int
 +main ()
 +{
++
 +  ;
 +  return 0;
 +}
@@ -8299,23 +8711,29 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +        fi
 +      fi
 +      rm -f conftest.* libconftest.a
++
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 +$as_echo "$lt_cv_ar_at_file" >&6; }
++
 +if test "x$lt_cv_ar_at_file" = xno; then
 +  archiver_list_spec=
 +else
 +  archiver_list_spec=$lt_cv_ar_at_file
 +fi
++
++
++
++
++
++
  
-@@ -7765,8 +8078,8 @@ esac
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+@@ -8144,8 +8460,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -8326,7 +8744,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -7802,6 +8115,7 @@ for ac_symprfx in "" "_"; do
+@@ -8181,6 +8497,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -8334,7 +8752,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -7843,6 +8157,18 @@ _LT_EOF
+@@ -8222,6 +8539,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -8353,7 +8771,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -7854,7 +8180,7 @@ _LT_EOF
+@@ -8233,7 +8562,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -8362,7 +8780,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -7880,8 +8206,8 @@ static const void *lt_preloaded_setup()
+@@ -8259,8 +8588,8 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -8373,7 +8791,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -7891,8 +8217,8 @@ _LT_EOF
+@@ -8270,8 +8599,8 @@ _LT_EOF
    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
@@ -8384,7 +8802,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
-@@ -7929,6 +8255,16 @@ else
+@@ -8308,6 +8637,18 @@ else
  $as_echo "ok" >&6; }
  fi
  
@@ -8398,13 +8816,18 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
++
++
  
  
  
-@@ -7950,6 +8286,45 @@ fi
+@@ -8324,6 +8665,43 @@ fi
  
  
  
++
++
++
 +
 +
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
@@ -8439,15 +8862,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 +$as_echo "${lt_sysroot:-no}" >&6; }
-+
-+
-+
-+
-+
- # Check whether --enable-libtool-lock was given.
- if test "${enable_libtool_lock+set}" = set; then :
-   enableval=$enable_libtool_lock;
-@@ -8156,6 +8531,123 @@ esac
+
+
+
+@@ -8535,6 +8913,123 @@ esac
  
  need_locks="$enable_libtool_lock"
  
@@ -8571,7 +8989,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    case $host_os in
      rhapsody* | darwin*)
-@@ -8719,6 +9211,8 @@ _LT_EOF
+@@ -9098,6 +9593,8 @@ _LT_EOF
        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        echo "$AR cru libconftest.a conftest.o" >&5
        $AR cru libconftest.a conftest.o 2>&5
@@ -8580,7 +8998,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        cat > conftest.c << _LT_EOF
  int main() { return 0;}
  _LT_EOF
-@@ -8789,6 +9283,16 @@ done
+@@ -9168,6 +9665,16 @@ done
  
  
  
@@ -8597,7 +9015,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  # Set options
-@@ -9274,8 +9778,6 @@ fi
+@@ -9653,8 +10160,6 @@ fi
  lt_prog_compiler_pic=
  lt_prog_compiler_static=
  
@@ -8606,7 +9024,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if test "$GCC" = yes; then
      lt_prog_compiler_wl='-Wl,'
-@@ -9441,6 +9943,12 @@ $as_echo_n "checking for $compiler optio
+@@ -9820,6 +10325,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
@@ -8619,7 +9037,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -9503,7 +10011,7 @@ $as_echo_n "checking for $compiler optio
+@@ -9882,7 +10393,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
        case $cc_basename in
@@ -8628,7 +9046,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        lt_prog_compiler_wl='-Qoption ld ';;
        *)
        lt_prog_compiler_wl='-Wl,';;
-@@ -9560,13 +10068,17 @@ case $host_os in
+@@ -9939,13 +10450,17 @@ case $host_os in
      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
      ;;
  esac
@@ -8652,7 +9070,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -9627,6 +10139,11 @@ fi
+@@ -10006,6 +10521,11 @@ fi
  
  
  
@@ -8664,7 +9082,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -9977,7 +10494,8 @@ _LT_EOF
+@@ -10356,7 +10876,8 @@ _LT_EOF
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
@@ -8674,7 +9092,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -10076,12 +10594,12 @@ _LT_EOF
+@@ -10455,12 +10976,12 @@ _LT_EOF
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -8689,7 +9107,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -10095,8 +10613,8 @@ _LT_EOF
+@@ -10474,8 +10995,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -8700,7 +9118,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -10114,8 +10632,8 @@ _LT_EOF
+@@ -10493,8 +11014,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -8711,7 +9129,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -10161,8 +10679,8 @@ _LT_EOF
+@@ -10540,8 +11061,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -8722,7 +9140,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -10292,7 +10810,13 @@ _LT_EOF
+@@ -10671,7 +11192,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
@@ -8737,7 +9155,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -10305,22 +10829,29 @@ main ()
+@@ -10684,22 +11211,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -8780,7 +9198,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -10332,7 +10863,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10711,7 +11245,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -8795,7 +9213,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -10345,22 +10882,29 @@ main ()
+@@ -10724,22 +11264,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -8838,7 +9256,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
-@@ -10405,20 +10949,63 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10784,20 +11331,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -8916,7 +9334,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -10479,7 +11066,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10858,7 +11448,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -8925,7 +9343,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
        hardcode_shlibpath_var=no
-@@ -10487,7 +11074,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10866,7 +11456,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -8934,7 +9352,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -10503,7 +11090,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10882,7 +11472,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -8943,7 +9361,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -10527,10 +11114,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10906,10 +11496,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -8956,7 +9374,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -10609,23 +11196,36 @@ fi
+@@ -10988,23 +11578,36 @@ fi
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -9001,7 +9419,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -10710,7 +11310,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -11089,7 +11692,7 @@ rm -f core conftest.err conftest.$ac_objext \
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -9010,7 +9428,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        else
        allow_undefined_flag=' -expect_unresolved \*'
-@@ -10729,9 +11329,9 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -11108,9 +11711,9 @@ rm -f core conftest.err conftest.$ac_objext \
        no_undefined_flag=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -9022,7 +9440,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -11307,8 +11907,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -11686,8 +12289,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -9034,7 +9452,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -11341,13 +11942,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -11720,13 +12324,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -9107,16 +9525,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -12249,7 +12908,7 @@ else
+@@ -12628,7 +13290,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 12252 "configure"
+-#line 12631 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -12293,10 +12952,10 @@ else
+@@ -12672,10 +13334,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -9129,16 +9547,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -12355,7 +13014,7 @@ else
+@@ -12734,7 +13396,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 12358 "configure"
+-#line 12737 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -12399,10 +13058,10 @@ else
+@@ -12778,10 +13440,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -9151,7 +9569,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -12794,6 +13453,7 @@ $RM -r conftest*
+@@ -13173,6 +13835,7 @@ $RM -r conftest*
  
    # Allow CC to be a program name with arguments.
    lt_save_CC=$CC
@@ -9159,7 +9577,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    lt_save_LD=$LD
    lt_save_GCC=$GCC
    GCC=$GXX
-@@ -12811,6 +13471,7 @@ $RM -r conftest*
+@@ -13190,6 +13853,7 @@ $RM -r conftest*
    fi
    test -z "${LDCXX+set}" || LD=$LDCXX
    CC=${CXX-"c++"}
@@ -9167,7 +9585,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    compiler=$CC
    compiler_CXX=$CC
    for cc_temp in $compiler""; do
-@@ -13093,7 +13754,13 @@ $as_echo_n "checking whether the $compil
+@@ -13472,7 +14136,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
            allow_undefined_flag_CXX='-berok'
            # Determine the default libpath from the value encoded in an empty
            # executable.
@@ -9182,7 +9600,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -13106,22 +13773,29 @@ main ()
+@@ -13485,22 +14155,29 @@ main ()
  _ACEOF
  if ac_fn_cxx_try_link "$LINENO"; then :
  
@@ -9225,7 +9643,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  
-@@ -13134,7 +13808,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13513,7 +14190,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            else
            # Determine the default libpath from the value encoded in an
            # empty executable.
@@ -9240,7 +9658,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -13147,22 +13827,29 @@ main ()
+@@ -13526,22 +14209,29 @@ main ()
  _ACEOF
  if ac_fn_cxx_try_link "$LINENO"; then :
  
@@ -9283,7 +9701,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
            # Warning - without using the other run time loading flags,
-@@ -13205,29 +13892,75 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13584,29 +14274,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          ;;
  
        cygwin* | mingw* | pw32* | cegcc*)
@@ -9382,7 +9800,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        darwin* | rhapsody*)
  
  
-@@ -13333,7 +14066,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13712,7 +14448,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
              ;;
            *)
              if test "$GXX" = yes; then
@@ -9391,7 +9809,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
              else
                # FIXME: insert proper C++ library support
                ld_shlibs_CXX=no
-@@ -13404,10 +14137,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13783,10 +14519,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                    ;;
                  ia64*)
@@ -9404,7 +9822,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
                    ;;
                esac
              fi
-@@ -13448,9 +14181,9 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13827,9 +14563,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            *)
            if test "$GXX" = yes; then
              if test "$with_gnu_ld" = no; then
@@ -9416,7 +9834,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
              fi
            fi
            link_all_deplibs_CXX=yes
-@@ -13728,7 +14461,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -14107,7 +14843,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                  ;;
                *)
@@ -9425,7 +9843,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
                  ;;
              esac
  
-@@ -13774,7 +14507,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -14153,7 +14889,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
        solaris*)
          case $cc_basename in
@@ -9434,7 +9852,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
            # Sun C++ 4.2, 5.x and Centerline C++
              archive_cmds_need_lc_CXX=yes
            no_undefined_flag_CXX=' -zdefs'
-@@ -13815,9 +14548,9 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -14194,9 +14930,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
@@ -9446,7 +9864,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
                # Commands to make compiler produce verbose output that lists
                # what "hidden" libraries, object files and flags are used when
-@@ -13953,6 +14686,13 @@ private:
+@@ -14332,6 +15068,13 @@ private:
  };
  _LT_EOF
  
@@ -9460,7 +9878,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
-@@ -13966,7 +14706,7 @@ if { { eval echo "\"\$as_me\":${as_linen
+@@ -14345,7 +15088,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    pre_test_object_deps_done=no
  
    for p in `eval "$output_verbose_link_cmd"`; do
@@ -9469,7 +9887,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
      -L* | -R* | -l*)
         # Some compilers place space between "-{L,R}" and the path.
-@@ -13975,13 +14715,22 @@ if { { eval echo "\"\$as_me\":${as_linen
+@@ -14354,13 +15097,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
            test $p = "-R"; then
         prev=$p
         continue
@@ -9496,7 +9914,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
           # Internal compiler library paths should come after those
           # provided the user.  The postdeps already come after the
           # user supplied libs so there is no need to process them.
-@@ -14001,8 +14750,10 @@ if { { eval echo "\"\$as_me\":${as_linen
+@@ -14380,8 +15132,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
         fi
         fi
@@ -9507,7 +9925,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      *.$objext)
         # This assumes that the test object file only shows up
         # once in the compiler output.
-@@ -14038,6 +14789,7 @@ else
+@@ -14417,6 +15171,7 @@ else
  fi
  
  $RM -f confest.$objext
@@ -9515,7 +9933,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # PORTME: override above test on systems where it is broken
  case $host_os in
-@@ -14073,7 +14825,7 @@ linux*)
+@@ -14452,7 +15207,7 @@ linux*)
  
  solaris*)
    case $cc_basename in
@@ -9524,7 +9942,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      # The more standards-conforming stlport4 library is
      # incompatible with the Cstd library. Avoid specifying
      # it if it's in CXXFLAGS. Ignore libCrun as
-@@ -14138,8 +14890,6 @@ fi
+@@ -14517,8 +15272,6 @@ fi
  lt_prog_compiler_pic_CXX=
  lt_prog_compiler_static_CXX=
  
@@ -9533,7 +9951,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # C++ specific cases for pic, static, wl, etc.
    if test "$GXX" = yes; then
-@@ -14244,6 +14994,11 @@ $as_echo_n "checking for $compiler optio
+@@ -14623,6 +15376,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
          ;;
        esac
        ;;
@@ -9545,7 +9963,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        dgux*)
        case $cc_basename in
          ec++*)
-@@ -14396,7 +15151,7 @@ $as_echo_n "checking for $compiler optio
+@@ -14775,7 +15533,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        ;;
        solaris*)
        case $cc_basename in
@@ -9554,7 +9972,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
            # Sun C++ 4.2, 5.x and Centerline C++
            lt_prog_compiler_pic_CXX='-KPIC'
            lt_prog_compiler_static_CXX='-Bstatic'
-@@ -14461,10 +15216,17 @@ case $host_os in
+@@ -14840,10 +15598,17 @@ case $host_os in
      lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
      ;;
  esac
@@ -9575,7 +9993,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -14522,6 +15284,8 @@ fi
+@@ -14901,6 +15666,8 @@ fi
  
  
  
@@ -9584,7 +10002,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -14699,6 +15463,7 @@ fi
+@@ -15078,6 +15845,7 @@ fi
  $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
@@ -9592,7 +10010,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    case $host_os in
    aix[4-9]*)
      # If we're using GNU nm, then we don't want the "-C" option.
-@@ -14713,15 +15478,20 @@ $as_echo_n "checking whether the $compil
+@@ -15092,15 +15860,20 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
      ;;
    pw32*)
      export_symbols_cmds_CXX="$ltdll_cmds"
@@ -9618,7 +10036,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  $as_echo "$ld_shlibs_CXX" >&6; }
-@@ -14984,8 +15754,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -15363,8 +16136,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -9630,7 +10048,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -15017,13 +15788,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -15396,13 +16170,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -9703,7 +10121,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -15587,6 +16416,7 @@ fi
+@@ -15966,6 +16798,7 @@ fi
    fi # test -n "$compiler"
  
    CC=$lt_save_CC
@@ -9711,7 +10129,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    LDCXX=$LD
    LD=$lt_save_LD
    GCC=$lt_save_GCC
-@@ -18025,13 +18855,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
+@@ -18464,13 +19297,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -9732,7 +10150,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -18046,14 +18883,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
+@@ -18485,14 +19325,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -9751,7 +10169,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -18086,12 +18926,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
+@@ -18525,12 +19368,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -9765,7 +10183,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -18130,8 +18970,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archi
+@@ -18569,8 +19412,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote
  compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
  GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
  lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
@@ -9775,7 +10193,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
  lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
  archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
-@@ -18158,12 +18998,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$har
+@@ -18597,12 +19440,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_
  hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
  inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
@@ -9789,7 +10207,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
  hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
  compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
-@@ -18201,8 +19041,13 @@ reload_flag \
+@@ -18640,8 +19483,13 @@ reload_flag \
  OBJDUMP \
  deplibs_check_method \
  file_magic_cmd \
@@ -9803,7 +10221,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP \
  RANLIB \
  CC \
-@@ -18212,12 +19057,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -18651,12 +19499,14 @@ lt_cv_sys_global_symbol_pipe \
  lt_cv_sys_global_symbol_to_cdecl \
  lt_cv_sys_global_symbol_to_c_name_address \
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -9819,7 +10237,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL \
  NMEDIT \
  LIPO \
-@@ -18233,7 +19080,6 @@ no_undefined_flag \
+@@ -18672,7 +19522,6 @@ no_undefined_flag \
  hardcode_libdir_flag_spec \
  hardcode_libdir_flag_spec_ld \
  hardcode_libdir_separator \
@@ -9827,7 +10245,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms \
  include_expsyms \
  file_list_spec \
-@@ -18255,8 +19101,8 @@ LD_CXX \
+@@ -18694,8 +19543,8 @@ LD_CXX \
  reload_flag_CXX \
  compiler_CXX \
  lt_prog_compiler_no_builtin_flag_CXX \
@@ -9837,7 +10255,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  lt_prog_compiler_static_CXX \
  lt_cv_prog_compiler_c_o_CXX \
  export_dynamic_flag_spec_CXX \
-@@ -18268,7 +19114,6 @@ no_undefined_flag_CXX \
+@@ -18707,7 +19556,6 @@ no_undefined_flag_CXX \
  hardcode_libdir_flag_spec_CXX \
  hardcode_libdir_flag_spec_ld_CXX \
  hardcode_libdir_separator_CXX \
@@ -9845,7 +10263,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms_CXX \
  include_expsyms_CXX \
  file_list_spec_CXX \
-@@ -18302,6 +19147,7 @@ module_cmds \
+@@ -18741,6 +19589,7 @@ module_cmds \
  module_expsym_cmds \
  export_symbols_cmds \
  prelink_cmds \
@@ -9853,7 +10271,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  postinstall_cmds \
  postuninstall_cmds \
  finish_cmds \
-@@ -18316,7 +19162,8 @@ archive_expsym_cmds_CXX \
+@@ -18755,7 +19604,8 @@ archive_expsym_cmds_CXX \
  module_cmds_CXX \
  module_expsym_cmds_CXX \
  export_symbols_cmds_CXX \
@@ -9863,7 +10281,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
      *[\\\\\\\`\\"\\\$]*)
        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
-@@ -19073,7 +19920,8 @@ $as_echo X"$file" |
+@@ -19512,7 +20362,8 @@ $as_echo X"$file" |
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -9873,7 +10291,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #   Written by Gordon Matzigkeit, 1996
  #
  #   This file is part of GNU Libtool.
-@@ -19176,19 +20024,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -19615,19 +20466,42 @@ SP2NL=$lt_lt_SP2NL
  # turn newlines into spaces.
  NL2SP=$lt_lt_NL2SP
  
@@ -9917,7 +10335,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # A symbol stripping program.
  STRIP=$lt_STRIP
  
-@@ -19218,6 +20089,12 @@ global_symbol_to_c_name_address=$lt_lt_c
+@@ -19657,6 +20531,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  # Transform the output of nm in a C name address pair when lib prefix is needed.
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  
@@ -9930,7 +10348,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # The name of the directory that contains temporary libtool files.
  objdir=$objdir
  
-@@ -19227,6 +20104,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -19666,6 +20546,9 @@ MAGIC_CMD=$MAGIC_CMD
  # Must we lock files when doing compilation?
  need_locks=$lt_need_locks
  
@@ -9940,7 +10358,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  DSYMUTIL=$lt_DSYMUTIL
  
-@@ -19341,12 +20221,12 @@ with_gcc=$GCC
+@@ -19780,12 +20663,12 @@ with_gcc=$GCC
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  
@@ -9956,7 +10374,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static
  
-@@ -19433,9 +20313,6 @@ inherit_rpath=$inherit_rpath
+@@ -19872,9 +20755,6 @@ inherit_rpath=$inherit_rpath
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs
  
@@ -9966,7 +10384,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols
  
-@@ -19451,6 +20328,9 @@ include_expsyms=$lt_include_expsyms
+@@ -19890,6 +20770,9 @@ include_expsyms=$lt_include_expsyms
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds
  
@@ -9976,7 +10394,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec
  
-@@ -19497,210 +20377,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -19936,210 +20819,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    # text mode, it properly converts lines to CR/LF.  This bash problem
    # is reportedly fixed, but why not run on old versions too?
@@ -10178,9 +10596,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -_LT_EOF
 -    ;;
 -  esac
-+  sed '$q' "$ltmain" >> "$cfgfile" \
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
++  sed '$q' "$ltmain" >> "$cfgfile" \
 +     || (rm -f "$cfgfile"; exit 1)
++
 +  if test x"$xsi_shell" = xyes; then
 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 +func_dirname ()\
@@ -10338,16 +10762,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 +fi
--  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
--    || (rm -f "$cfgfile"; exit 1)
--  mv -f "$cfgfile" "$ofile" ||
++
++
 +   mv -f "$cfgfile" "$ofile" ||
      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    chmod +x "$ofile"
  
-@@ -19728,12 +20567,12 @@ with_gcc=$GCC_CXX
+@@ -20167,12 +21009,12 @@ with_gcc=$GCC_CXX
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  
@@ -10363,7 +10784,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static_CXX
  
-@@ -19820,9 +20659,6 @@ inherit_rpath=$inherit_rpath_CXX
+@@ -20259,9 +21101,6 @@ inherit_rpath=$inherit_rpath_CXX
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs_CXX
  
@@ -10373,7 +10794,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols_CXX
  
-@@ -19838,6 +20674,9 @@ include_expsyms=$lt_include_expsyms_CXX
+@@ -20277,6 +21116,9 @@ include_expsyms=$lt_include_expsyms_CXX
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds_CXX
  
@@ -10383,9 +10804,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec_CXX
  
+diff --git a/gprofng/doc/Makefile.in b/gprofng/doc/Makefile.in
+index 738aa16acf2..33d910224b9 100644
 --- a/gprofng/doc/Makefile.in
 +++ b/gprofng/doc/Makefile.in
-@@ -238,6 +238,7 @@ CXXFLAGS = @CXXFLAGS@
+@@ -243,6 +243,7 @@ CXXFLAGS = @CXXFLAGS@
  CYGPATH_W = @CYGPATH_W@
  DEFS = @DEFS@
  DEPDIR = @DEPDIR@
@@ -10393,7 +10816,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  ECHO_C = @ECHO_C@
-@@ -272,6 +273,7 @@ LN_S = @LN_S@
+@@ -278,6 +279,7 @@ LN_S = @LN_S@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -10401,9 +10824,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  NM = @NM@
  NMEDIT = @NMEDIT@
+diff --git a/gprofng/gp-display-html/Makefile.in b/gprofng/gp-display-html/Makefile.in
+index ba436c439db..56d991d257c 100644
 --- a/gprofng/gp-display-html/Makefile.in
 +++ b/gprofng/gp-display-html/Makefile.in
-@@ -198,6 +198,7 @@ CXXFLAGS = @CXXFLAGS@
+@@ -203,6 +203,7 @@ CXXFLAGS = @CXXFLAGS@
  CYGPATH_W = @CYGPATH_W@
  DEFS = @DEFS@
  DEPDIR = @DEPDIR@
@@ -10411,7 +10836,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  ECHO_C = @ECHO_C@
-@@ -232,6 +233,7 @@ LN_S = @LN_S@
+@@ -238,6 +239,7 @@ LN_S = @LN_S@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -10419,9 +10844,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  NM = @NM@
  NMEDIT = @NMEDIT@
+diff --git a/gprofng/libcollector/Makefile.in b/gprofng/libcollector/Makefile.in
+index 747ccadff39..af15d1367e5 100644
 --- a/gprofng/libcollector/Makefile.in
 +++ b/gprofng/libcollector/Makefile.in
-@@ -316,6 +316,7 @@ CXXFLAGS = @CXXFLAGS@
+@@ -323,6 +323,7 @@ CXXFLAGS = @CXXFLAGS@
  CYGPATH_W = @CYGPATH_W@
  DEFS = @DEFS@
  DEPDIR = @DEPDIR@
@@ -10429,7 +10856,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  ECHO_C = @ECHO_C@
-@@ -341,6 +342,7 @@ LN_S = @LN_S@
+@@ -349,6 +350,7 @@ LN_S = @LN_S@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -10437,18 +10864,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  NM = @NM@
  NMEDIT = @NMEDIT@
+diff --git a/gprofng/libcollector/configure b/gprofng/libcollector/configure
+index e1d4bc70f59..16b6966625f 100755
 --- a/gprofng/libcollector/configure
 +++ b/gprofng/libcollector/configure
-@@ -640,6 +640,8 @@ OTOOL
+@@ -640,7 +640,9 @@ OTOOL
  LIPO
  NMEDIT
  DSYMUTIL
 +MANIFEST_TOOL
+ LLVM_CONFIG
 +DLLTOOL
  OBJDUMP
  LN_S
  NM
-@@ -769,6 +771,7 @@ enable_static
+@@ -770,6 +772,7 @@ enable_static
  with_pic
  enable_fast_install
  with_gnu_ld
@@ -10456,7 +10886,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  enable_libtool_lock
  '
        ac_precious_vars='build_alias
-@@ -1424,6 +1427,8 @@ Optional Packages:
+@@ -1425,6 +1428,8 @@ Optional Packages:
    --with-pic              try to use only PIC/non-PIC objects [default=use
                            both]
    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
@@ -10465,7 +10895,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  Some influential environment variables:
    CC          C compiler command
-@@ -5968,8 +5973,8 @@ esac
+@@ -5969,8 +5974,8 @@ esac
  
  
  
@@ -10476,7 +10906,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -6009,7 +6014,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -6010,7 +6015,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  $as_echo_n "checking how to print strings... " >&6; }
  # Test print first, because it will be a builtin if present.
@@ -10485,7 +10915,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    ECHO='print -r --'
  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -6702,8 +6707,8 @@ $as_echo_n "checking whether the shell u
+@@ -6703,8 +6708,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
  # Try some XSI features
  xsi_shell=no
  ( _lt_dummy="a/b/c"
@@ -10496,7 +10926,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      && eval 'test $(( 1 + 1 )) -eq 2 \
      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    && xsi_shell=yes
-@@ -6752,6 +6757,80 @@ esac
+@@ -6753,6 +6758,80 @@ esac
  
  
  
@@ -10577,7 +11007,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -6768,6 +6847,11 @@ case $reload_flag in
+@@ -6769,6 +6848,11 @@ case $reload_flag in
  esac
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  case $host_os in
@@ -10589,7 +11019,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    darwin*)
      if test "$GCC" = yes; then
        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -6936,7 +7020,8 @@ mingw* | pw32*)
+@@ -6937,7 +7021,8 @@ mingw* | pw32*)
      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
      lt_cv_file_magic_cmd='func_win32_libid'
    else
@@ -10599,7 +11029,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      lt_cv_file_magic_cmd='$OBJDUMP -f'
    fi
    ;;
-@@ -7095,6 +7180,21 @@ esac
+@@ -7096,6 +7181,21 @@ esac
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -10621,7 +11051,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -7110,6 +7210,157 @@ test -z "$deplibs_check_method" && depli
+@@ -7112,6 +7212,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  
@@ -10634,7 +11064,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
@@ -10776,12 +11205,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
- plugin_option=
- plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
- for plugin in $plugin_names; do
-@@ -7124,8 +7375,10 @@ for plugin in $plugin_names; do
- done
++
+ # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
+ # wrong plugin_option with clang.
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
+@@ -7493,9 +7744,12 @@ fi
+ plugin_option="$plugin_option"
  
+ fi
++
  if test -n "$ac_tool_prefix"; then
 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 -set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -10792,7 +11224,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_AR+:} false; then :
-@@ -7141,7 +7394,7 @@ do
+@@ -7511,7 +7765,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -10801,7 +11233,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -7161,11 +7414,15 @@ $as_echo "no" >&6; }
+@@ -7531,11 +7785,15 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -10820,7 +11252,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -7181,7 +7438,7 @@ do
+@@ -7551,7 +7809,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -10829,7 +11261,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -7200,6 +7457,10 @@ else
+@@ -7570,6 +7828,10 @@ else
  $as_echo "no" >&6; }
  fi
  
@@ -10840,7 +11272,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    if test "x$ac_ct_AR" = x; then
      AR="false"
    else
-@@ -7211,29 +7472,81 @@ ac_tool_warned=yes ;;
+@@ -7581,23 +7843,19 @@ ac_tool_warned=yes ;;
  esac
      AR=$ac_ct_AR
    fi
@@ -10850,39 +11282,35 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
+-      AR="$AR $plugin_option"
+-    fi
+-    ;;
+-  esac
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
 +  touch conftest.c
 +  $AR $plugin_option rc conftest.a conftest.c
 +  if test "$?" != 0; then
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
- $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
--    else
--      AR="$AR $plugin_option"
--    fi
--    rm -f conftest.*
++$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
 +  else
 +    AR="$AR $plugin_option"
-   fi
--fi
--test -z "$AR_FLAGS" && AR_FLAGS=cru
++  fi
 +  rm -f conftest.*
 +: ${AR=ar}
 +: ${AR_FLAGS=cru}
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
+
+
+
+@@ -7609,6 +7867,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
+
+
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 +$as_echo_n "checking for archiver @FILE support... " >&6; }
 +if ${lt_cv_ar_at_file+:} false; then :
@@ -10895,7 +11323,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +int
 +main ()
 +{
++
 +  ;
 +  return 0;
 +}
@@ -10921,23 +11349,30 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +        fi
 +      fi
 +      rm -f conftest.* libconftest.a
++
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 +$as_echo "$lt_cv_ar_at_file" >&6; }
++
 +if test "x$lt_cv_ar_at_file" = xno; then
 +  archiver_list_spec=
 +else
 +  archiver_list_spec=$lt_cv_ar_at_file
 +fi
-@@ -7580,8 +7893,8 @@ esac
++
++
++
++
++
++
++
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}strip; ac_word=$2
+@@ -7954,8 +8270,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -10948,7 +11383,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -7617,6 +7930,7 @@ for ac_symprfx in "" "_"; do
+@@ -7991,6 +8307,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -10956,7 +11391,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -7658,6 +7972,18 @@ _LT_EOF
+@@ -8032,6 +8349,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -10975,7 +11410,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -7669,7 +7995,7 @@ _LT_EOF
+@@ -8043,7 +8372,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -10984,7 +11419,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -7695,8 +8021,8 @@ static const void *lt_preloaded_setup()
+@@ -8069,8 +8398,8 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -10995,7 +11430,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -7706,8 +8032,8 @@ _LT_EOF
+@@ -8080,8 +8409,8 @@ _LT_EOF
    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
@@ -11006,7 +11441,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
-@@ -7744,6 +8070,25 @@ else
+@@ -8118,6 +8447,17 @@ else
  $as_echo "ok" >&6; }
  fi
  
@@ -11021,24 +11456,22 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
-+
-+
-+
-+
-+
-+
-+
  
  
  
-@@ -7758,8 +8103,38 @@ fi
+@@ -8134,6 +8474,44 @@ fi
  
  
  
++
++
++
++
++
++
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 +$as_echo_n "checking for sysroot... " >&6; }
++
 +# Check whether --with-libtool-sysroot was given.
 +if test "${with_libtool_sysroot+set}" = set; then :
 +  withval=$with_libtool_sysroot;
@@ -11065,13 +11498,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 +   ;;
 +esac
++
 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 +$as_echo "${lt_sysroot:-no}" >&6; }
  
  
  
-@@ -7971,6 +8346,123 @@ esac
+@@ -8345,6 +8723,123 @@ esac
  
  need_locks="$enable_libtool_lock"
  
@@ -11195,7 +11628,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    case $host_os in
      rhapsody* | darwin*)
-@@ -8534,6 +9026,8 @@ _LT_EOF
+@@ -8908,6 +9403,8 @@ _LT_EOF
        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        echo "$AR cru libconftest.a conftest.o" >&5
        $AR cru libconftest.a conftest.o 2>&5
@@ -11204,7 +11637,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        cat > conftest.c << _LT_EOF
  int main() { return 0;}
  _LT_EOF
-@@ -8604,6 +9098,16 @@ done
+@@ -8978,6 +9475,16 @@ done
  
  
  
@@ -11221,7 +11654,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  # Set options
-@@ -9119,8 +9623,6 @@ fi
+@@ -9493,8 +10000,6 @@ fi
  lt_prog_compiler_pic=
  lt_prog_compiler_static=
  
@@ -11230,7 +11663,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if test "$GCC" = yes; then
      lt_prog_compiler_wl='-Wl,'
-@@ -9286,6 +9788,12 @@ $as_echo_n "checking for $compiler optio
+@@ -9660,6 +10165,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
@@ -11243,7 +11676,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -9348,7 +9856,7 @@ $as_echo_n "checking for $compiler optio
+@@ -9722,7 +10233,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
        case $cc_basename in
@@ -11252,7 +11685,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        lt_prog_compiler_wl='-Qoption ld ';;
        *)
        lt_prog_compiler_wl='-Wl,';;
-@@ -9405,13 +9913,17 @@ case $host_os in
+@@ -9779,13 +10290,17 @@ case $host_os in
      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
      ;;
  esac
@@ -11276,7 +11709,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -9472,6 +9984,11 @@ fi
+@@ -9846,6 +10361,11 @@ fi
  
  
  
@@ -11288,7 +11721,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -9822,7 +10339,8 @@ _LT_EOF
+@@ -10196,7 +10716,8 @@ _LT_EOF
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
@@ -11298,7 +11731,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -9921,12 +10439,12 @@ _LT_EOF
+@@ -10295,12 +10816,12 @@ _LT_EOF
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -11313,7 +11746,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -9940,8 +10458,8 @@ _LT_EOF
+@@ -10314,8 +10835,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -11324,7 +11757,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -9959,8 +10477,8 @@ _LT_EOF
+@@ -10333,8 +10854,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -11335,7 +11768,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -10006,8 +10524,8 @@ _LT_EOF
+@@ -10380,8 +10901,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -11346,7 +11779,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -10137,7 +10655,13 @@ _LT_EOF
+@@ -10511,7 +11032,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
@@ -11361,7 +11794,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -10150,22 +10674,29 @@ main ()
+@@ -10524,22 +11051,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -11404,7 +11837,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -10177,7 +10708,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10551,7 +11085,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -11419,7 +11852,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -10190,22 +10727,29 @@ main ()
+@@ -10564,22 +11104,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -11462,7 +11895,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
-@@ -10250,20 +10794,63 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10624,20 +11171,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -11540,7 +11973,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -10324,7 +10911,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10698,7 +11288,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -11549,7 +11982,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
        hardcode_shlibpath_var=no
-@@ -10332,7 +10919,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10706,7 +11296,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -11558,7 +11991,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -10348,7 +10935,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10722,7 +11312,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -11567,7 +12000,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -10372,10 +10959,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10746,10 +11336,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -11580,7 +12013,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -10454,23 +11041,36 @@ fi
+@@ -10828,23 +11418,36 @@ fi
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -11625,7 +12058,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -10555,7 +11155,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -10929,7 +11532,7 @@ rm -f core conftest.err conftest.$ac_objext \
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -11634,7 +12067,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        else
        allow_undefined_flag=' -expect_unresolved \*'
-@@ -10574,9 +11174,9 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -10948,9 +11551,9 @@ rm -f core conftest.err conftest.$ac_objext \
        no_undefined_flag=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -11646,7 +12079,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -11152,8 +11752,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -11526,8 +12129,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -11658,7 +12091,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -11186,13 +11787,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -11560,13 +12164,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -11731,16 +12164,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -12094,7 +12753,7 @@ else
+@@ -12468,7 +13130,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 12097 "configure"
+-#line 12471 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -12138,10 +12797,10 @@ else
+@@ -12512,10 +13174,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -11753,16 +12186,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -12200,7 +12859,7 @@ else
+@@ -12574,7 +13236,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 12203 "configure"
+-#line 12577 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -12244,10 +12903,10 @@ else
+@@ -12618,10 +13280,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -11775,7 +12208,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -12639,6 +13298,7 @@ $RM -r conftest*
+@@ -13013,6 +13675,7 @@ $RM -r conftest*
  
    # Allow CC to be a program name with arguments.
    lt_save_CC=$CC
@@ -11783,7 +12216,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    lt_save_LD=$LD
    lt_save_GCC=$GCC
    GCC=$GXX
-@@ -12656,6 +13316,7 @@ $RM -r conftest*
+@@ -13030,6 +13693,7 @@ $RM -r conftest*
    fi
    test -z "${LDCXX+set}" || LD=$LDCXX
    CC=${CXX-"c++"}
@@ -11791,7 +12224,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    compiler=$CC
    compiler_CXX=$CC
    for cc_temp in $compiler""; do
-@@ -12938,7 +13599,13 @@ $as_echo_n "checking whether the $compil
+@@ -13312,7 +13976,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
            allow_undefined_flag_CXX='-berok'
            # Determine the default libpath from the value encoded in an empty
            # executable.
@@ -11806,7 +12239,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -12951,22 +13618,29 @@ main ()
+@@ -13325,22 +13995,29 @@ main ()
  _ACEOF
  if ac_fn_cxx_try_link "$LINENO"; then :
  
@@ -11849,7 +12282,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  
-@@ -12979,7 +13653,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13353,7 +14030,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            else
            # Determine the default libpath from the value encoded in an
            # empty executable.
@@ -11864,7 +12297,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -12992,22 +13672,29 @@ main ()
+@@ -13366,22 +14049,29 @@ main ()
  _ACEOF
  if ac_fn_cxx_try_link "$LINENO"; then :
  
@@ -11907,7 +12340,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
            # Warning - without using the other run time loading flags,
-@@ -13050,29 +13737,75 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13424,29 +14114,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          ;;
  
        cygwin* | mingw* | pw32* | cegcc*)
@@ -12006,7 +12439,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        darwin* | rhapsody*)
  
  
-@@ -13178,7 +13911,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13552,7 +14288,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
              ;;
            *)
              if test "$GXX" = yes; then
@@ -12015,7 +12448,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
              else
                # FIXME: insert proper C++ library support
                ld_shlibs_CXX=no
-@@ -13249,10 +13982,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13623,10 +14359,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                    ;;
                  ia64*)
@@ -12028,7 +12461,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
                    ;;
                esac
              fi
-@@ -13293,9 +14026,9 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13667,9 +14403,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            *)
            if test "$GXX" = yes; then
              if test "$with_gnu_ld" = no; then
@@ -12040,7 +12473,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
              fi
            fi
            link_all_deplibs_CXX=yes
-@@ -13573,7 +14306,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13947,7 +14683,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                  ;;
                *)
@@ -12049,7 +12482,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
                  ;;
              esac
  
-@@ -13619,7 +14352,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13993,7 +14729,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
        solaris*)
          case $cc_basename in
@@ -12058,7 +12491,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
            # Sun C++ 4.2, 5.x and Centerline C++
              archive_cmds_need_lc_CXX=yes
            no_undefined_flag_CXX=' -zdefs'
-@@ -13660,9 +14393,9 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -14034,9 +14770,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
@@ -12070,7 +12503,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
                # Commands to make compiler produce verbose output that lists
                # what "hidden" libraries, object files and flags are used when
-@@ -13798,6 +14531,13 @@ private:
+@@ -14172,6 +14908,13 @@ private:
  };
  _LT_EOF
  
@@ -12084,7 +12517,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
-@@ -13811,7 +14551,7 @@ if { { eval echo "\"\$as_me\":${as_linen
+@@ -14185,7 +14928,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    pre_test_object_deps_done=no
  
    for p in `eval "$output_verbose_link_cmd"`; do
@@ -12093,7 +12526,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
      -L* | -R* | -l*)
         # Some compilers place space between "-{L,R}" and the path.
-@@ -13820,13 +14560,22 @@ if { { eval echo "\"\$as_me\":${as_linen
+@@ -14194,13 +14937,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
            test $p = "-R"; then
         prev=$p
         continue
@@ -12120,7 +12553,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
           # Internal compiler library paths should come after those
           # provided the user.  The postdeps already come after the
           # user supplied libs so there is no need to process them.
-@@ -13846,8 +14595,10 @@ if { { eval echo "\"\$as_me\":${as_linen
+@@ -14220,8 +14972,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
         fi
         fi
@@ -12131,7 +12564,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      *.$objext)
         # This assumes that the test object file only shows up
         # once in the compiler output.
-@@ -13883,6 +14634,7 @@ else
+@@ -14257,6 +15011,7 @@ else
  fi
  
  $RM -f confest.$objext
@@ -12139,7 +12572,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # PORTME: override above test on systems where it is broken
  case $host_os in
-@@ -13918,7 +14670,7 @@ linux*)
+@@ -14292,7 +15047,7 @@ linux*)
  
  solaris*)
    case $cc_basename in
@@ -12148,7 +12581,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      # The more standards-conforming stlport4 library is
      # incompatible with the Cstd library. Avoid specifying
      # it if it's in CXXFLAGS. Ignore libCrun as
-@@ -13983,8 +14735,6 @@ fi
+@@ -14357,8 +15112,6 @@ fi
  lt_prog_compiler_pic_CXX=
  lt_prog_compiler_static_CXX=
  
@@ -12157,7 +12590,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # C++ specific cases for pic, static, wl, etc.
    if test "$GXX" = yes; then
-@@ -14089,6 +14839,11 @@ $as_echo_n "checking for $compiler optio
+@@ -14463,6 +15216,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
          ;;
        esac
        ;;
@@ -12169,7 +12602,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        dgux*)
        case $cc_basename in
          ec++*)
-@@ -14241,7 +14996,7 @@ $as_echo_n "checking for $compiler optio
+@@ -14615,7 +15373,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        ;;
        solaris*)
        case $cc_basename in
@@ -12178,7 +12611,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
            # Sun C++ 4.2, 5.x and Centerline C++
            lt_prog_compiler_pic_CXX='-KPIC'
            lt_prog_compiler_static_CXX='-Bstatic'
-@@ -14306,10 +15061,17 @@ case $host_os in
+@@ -14680,10 +15438,17 @@ case $host_os in
      lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
      ;;
  esac
@@ -12199,7 +12632,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -14367,6 +15129,8 @@ fi
+@@ -14741,6 +15506,8 @@ fi
  
  
  
@@ -12208,7 +12641,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -14544,6 +15308,7 @@ fi
+@@ -14918,6 +15685,7 @@ fi
  $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
@@ -12216,7 +12649,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    case $host_os in
    aix[4-9]*)
      # If we're using GNU nm, then we don't want the "-C" option.
-@@ -14558,15 +15323,20 @@ $as_echo_n "checking whether the $compil
+@@ -14932,15 +15700,20 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
      ;;
    pw32*)
      export_symbols_cmds_CXX="$ltdll_cmds"
@@ -12242,7 +12675,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  $as_echo "$ld_shlibs_CXX" >&6; }
-@@ -14829,8 +15599,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -15203,8 +15976,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -12254,7 +12687,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -14862,13 +15633,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -15236,13 +16010,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -12327,7 +12760,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -15432,6 +16261,7 @@ fi
+@@ -15806,6 +16638,7 @@ fi
    fi # test -n "$compiler"
  
    CC=$lt_save_CC
@@ -12335,7 +12768,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    LDCXX=$LD
    LD=$lt_save_LD
    GCC=$lt_save_GCC
-@@ -16359,13 +17189,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
+@@ -16733,13 +17566,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -12356,7 +12789,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -16380,14 +17217,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
+@@ -16754,14 +17594,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -12375,7 +12808,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -16420,12 +17260,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
+@@ -16794,12 +17637,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -12389,7 +12822,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -16464,8 +17304,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archi
+@@ -16838,8 +17681,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote
  compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
  GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
  lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
@@ -12399,7 +12832,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
  lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
  archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
-@@ -16492,12 +17332,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$har
+@@ -16866,12 +17709,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_
  hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
  inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
@@ -12413,7 +12846,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
  hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
  compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
-@@ -16535,8 +17375,13 @@ reload_flag \
+@@ -16909,8 +17752,13 @@ reload_flag \
  OBJDUMP \
  deplibs_check_method \
  file_magic_cmd \
@@ -12427,7 +12860,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP \
  RANLIB \
  CC \
-@@ -16546,12 +17391,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -16920,12 +17768,14 @@ lt_cv_sys_global_symbol_pipe \
  lt_cv_sys_global_symbol_to_cdecl \
  lt_cv_sys_global_symbol_to_c_name_address \
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -12443,7 +12876,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL \
  NMEDIT \
  LIPO \
-@@ -16567,7 +17414,6 @@ no_undefined_flag \
+@@ -16941,7 +17791,6 @@ no_undefined_flag \
  hardcode_libdir_flag_spec \
  hardcode_libdir_flag_spec_ld \
  hardcode_libdir_separator \
@@ -12451,7 +12884,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms \
  include_expsyms \
  file_list_spec \
-@@ -16589,8 +17435,8 @@ LD_CXX \
+@@ -16963,8 +17812,8 @@ LD_CXX \
  reload_flag_CXX \
  compiler_CXX \
  lt_prog_compiler_no_builtin_flag_CXX \
@@ -12461,7 +12894,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  lt_prog_compiler_static_CXX \
  lt_cv_prog_compiler_c_o_CXX \
  export_dynamic_flag_spec_CXX \
-@@ -16602,7 +17448,6 @@ no_undefined_flag_CXX \
+@@ -16976,7 +17825,6 @@ no_undefined_flag_CXX \
  hardcode_libdir_flag_spec_CXX \
  hardcode_libdir_flag_spec_ld_CXX \
  hardcode_libdir_separator_CXX \
@@ -12469,7 +12902,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms_CXX \
  include_expsyms_CXX \
  file_list_spec_CXX \
-@@ -16636,6 +17481,7 @@ module_cmds \
+@@ -17010,6 +17858,7 @@ module_cmds \
  module_expsym_cmds \
  export_symbols_cmds \
  prelink_cmds \
@@ -12477,7 +12910,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  postinstall_cmds \
  postuninstall_cmds \
  finish_cmds \
-@@ -16650,7 +17496,8 @@ archive_expsym_cmds_CXX \
+@@ -17024,7 +17873,8 @@ archive_expsym_cmds_CXX \
  module_cmds_CXX \
  module_expsym_cmds_CXX \
  export_symbols_cmds_CXX \
@@ -12487,7 +12920,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
      *[\\\\\\\`\\"\\\$]*)
        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
-@@ -17404,7 +18251,8 @@ $as_echo X"$file" |
+@@ -17778,7 +18628,8 @@ $as_echo X"$file" |
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -12497,7 +12930,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #   Written by Gordon Matzigkeit, 1996
  #
  #   This file is part of GNU Libtool.
-@@ -17507,19 +18355,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -17881,19 +18732,42 @@ SP2NL=$lt_lt_SP2NL
  # turn newlines into spaces.
  NL2SP=$lt_lt_NL2SP
  
@@ -12541,7 +12974,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # A symbol stripping program.
  STRIP=$lt_STRIP
  
-@@ -17549,6 +18420,12 @@ global_symbol_to_c_name_address=$lt_lt_c
+@@ -17923,6 +18797,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  # Transform the output of nm in a C name address pair when lib prefix is needed.
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  
@@ -12554,7 +12987,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # The name of the directory that contains temporary libtool files.
  objdir=$objdir
  
-@@ -17558,6 +18435,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -17932,6 +18812,9 @@ MAGIC_CMD=$MAGIC_CMD
  # Must we lock files when doing compilation?
  need_locks=$lt_need_locks
  
@@ -12564,7 +12997,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  DSYMUTIL=$lt_DSYMUTIL
  
-@@ -17672,12 +18552,12 @@ with_gcc=$GCC
+@@ -18046,12 +18929,12 @@ with_gcc=$GCC
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  
@@ -12580,7 +13013,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static
  
-@@ -17764,9 +18644,6 @@ inherit_rpath=$inherit_rpath
+@@ -18138,9 +19021,6 @@ inherit_rpath=$inherit_rpath
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs
  
@@ -12590,7 +13023,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols
  
-@@ -17782,6 +18659,9 @@ include_expsyms=$lt_include_expsyms
+@@ -18156,6 +19036,9 @@ include_expsyms=$lt_include_expsyms
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds
  
@@ -12600,7 +13033,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec
  
-@@ -17828,210 +18708,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -18202,210 +19085,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    # text mode, it properly converts lines to CR/LF.  This bash problem
    # is reportedly fixed, but why not run on old versions too?
@@ -12802,9 +13235,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -_LT_EOF
 -    ;;
 -  esac
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
 +  sed '$q' "$ltmain" >> "$cfgfile" \
 +     || (rm -f "$cfgfile"; exit 1)
++
 +  if test x"$xsi_shell" = xyes; then
 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 +func_dirname ()\
@@ -12962,16 +13401,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 +fi
--  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
--    || (rm -f "$cfgfile"; exit 1)
--  mv -f "$cfgfile" "$ofile" ||
++
++
 +   mv -f "$cfgfile" "$ofile" ||
      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    chmod +x "$ofile"
  
-@@ -18059,12 +18898,12 @@ with_gcc=$GCC_CXX
+@@ -18433,12 +19275,12 @@ with_gcc=$GCC_CXX
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  
@@ -12987,7 +13423,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static_CXX
  
-@@ -18151,9 +18990,6 @@ inherit_rpath=$inherit_rpath_CXX
+@@ -18525,9 +19367,6 @@ inherit_rpath=$inherit_rpath_CXX
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs_CXX
  
@@ -12997,7 +13433,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols_CXX
  
-@@ -18169,6 +19005,9 @@ include_expsyms=$lt_include_expsyms_CXX
+@@ -18543,6 +19382,9 @@ include_expsyms=$lt_include_expsyms_CXX
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds_CXX
  
@@ -13007,9 +13443,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec_CXX
  
+diff --git a/gprofng/src/Makefile.in b/gprofng/src/Makefile.in
+index bde5a2c5793..0f5be71db6c 100644
 --- a/gprofng/src/Makefile.in
 +++ b/gprofng/src/Makefile.in
-@@ -322,6 +322,7 @@ CXXFLAGS = @CXXFLAGS@
+@@ -336,6 +336,7 @@ CXXFLAGS = @CXXFLAGS@
  CYGPATH_W = @CYGPATH_W@
  DEFS = @DEFS@
  DEPDIR = @DEPDIR@
@@ -13017,7 +13455,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  ECHO_C = @ECHO_C@
-@@ -356,6 +357,7 @@ LN_S = @LN_S@
+@@ -371,6 +372,7 @@ LN_S = @LN_S@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -13025,9 +13463,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  NM = @NM@
  NMEDIT = @NMEDIT@
+diff --git a/ld/Makefile.in b/ld/Makefile.in
+index 8269993eafe..4a7d56a1277 100644
 --- a/ld/Makefile.in
 +++ b/ld/Makefile.in
-@@ -390,6 +390,7 @@ CYGPATH_W = @CYGPATH_W@
+@@ -392,6 +392,7 @@ CYGPATH_W = @CYGPATH_W@
  DATADIRNAME = @DATADIRNAME@
  DEFS = @DEFS@
  DEPDIR = @DEPDIR@
@@ -13035,7 +13475,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  ECHO_C = @ECHO_C@
-@@ -445,6 +446,7 @@ LTLIBINTL = @LTLIBINTL@
+@@ -448,6 +449,7 @@ LTLIBINTL = @LTLIBINTL@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -13043,7 +13483,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  MKINSTALLDIRS = @MKINSTALLDIRS@
  MSGFMT = @MSGFMT@
-@@ -495,6 +497,7 @@ abs_builddir = @abs_builddir@
+@@ -498,6 +500,7 @@ abs_builddir = @abs_builddir@
  abs_srcdir = @abs_srcdir@
  abs_top_builddir = @abs_top_builddir@
  abs_top_srcdir = @abs_top_srcdir@
@@ -13051,9 +13491,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ac_ct_CC = @ac_ct_CC@
  ac_ct_CXX = @ac_ct_CXX@
  ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+diff --git a/ld/configure b/ld/configure
+index 71567a92601..bfd7c1203b4 100755
 --- a/ld/configure
 +++ b/ld/configure
-@@ -703,8 +703,11 @@ OTOOL
+@@ -704,9 +704,12 @@ OTOOL
  LIPO
  NMEDIT
  DSYMUTIL
@@ -13061,11 +13503,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  RANLIB
 +ac_ct_AR
  AR
+ LLVM_CONFIG
 +DLLTOOL
  OBJDUMP
  LN_S
  NM
-@@ -834,6 +837,7 @@ enable_static
+@@ -836,6 +839,7 @@ enable_static
  with_pic
  enable_fast_install
  with_gnu_ld
@@ -13073,7 +13516,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  enable_libtool_lock
  enable_plugins
  enable_largefile
-@@ -1587,6 +1591,8 @@ Optional Packages:
+@@ -1589,6 +1593,8 @@ Optional Packages:
    --with-pic              try to use only PIC/non-PIC objects [default=use
                            both]
    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
@@ -13082,7 +13525,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    --with-lib-path=dir1:dir2...  set default LIB_PATH
    --with-sysroot=DIR Search for usr/lib et al within DIR.
    --with-gnu-ld           assume the C compiler uses GNU ld default=no
-@@ -5396,8 +5402,8 @@ esac
+@@ -5398,8 +5404,8 @@ esac
  
  
  
@@ -13093,7 +13536,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -5437,7 +5443,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -5439,7 +5445,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  $as_echo_n "checking how to print strings... " >&6; }
  # Test print first, because it will be a builtin if present.
@@ -13102,7 +13545,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    ECHO='print -r --'
  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -6130,8 +6136,8 @@ $as_echo_n "checking whether the shell u
+@@ -6132,8 +6138,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
  # Try some XSI features
  xsi_shell=no
  ( _lt_dummy="a/b/c"
@@ -13113,7 +13556,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      && eval 'test $(( 1 + 1 )) -eq 2 \
      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    && xsi_shell=yes
-@@ -6180,6 +6186,80 @@ esac
+@@ -6182,6 +6188,80 @@ esac
  
  
  
@@ -13194,7 +13637,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -6196,6 +6276,11 @@ case $reload_flag in
+@@ -6198,6 +6278,11 @@ case $reload_flag in
  esac
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  case $host_os in
@@ -13206,7 +13649,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    darwin*)
      if test "$GCC" = yes; then
        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -6364,7 +6449,8 @@ mingw* | pw32*)
+@@ -6366,7 +6451,8 @@ mingw* | pw32*)
      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
      lt_cv_file_magic_cmd='func_win32_libid'
    else
@@ -13216,7 +13659,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      lt_cv_file_magic_cmd='$OBJDUMP -f'
    fi
    ;;
-@@ -6523,6 +6609,21 @@ esac
+@@ -6525,6 +6611,21 @@ esac
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -13238,7 +13681,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -6538,6 +6639,157 @@ test -z "$deplibs_check_method" && depli
+@@ -6541,6 +6642,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  
@@ -13251,7 +13694,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
@@ -13393,12 +13835,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
- plugin_option=
- plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
- for plugin in $plugin_names; do
-@@ -6552,8 +6804,10 @@ for plugin in $plugin_names; do
- done
++
+ # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
+ # wrong plugin_option with clang.
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
+@@ -6922,9 +7174,12 @@ fi
+ plugin_option="$plugin_option"
  
+ fi
++
  if test -n "$ac_tool_prefix"; then
 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 -set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -13409,7 +13854,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_AR+:} false; then :
-@@ -6569,7 +6823,7 @@ do
+@@ -6940,7 +7195,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -13418,7 +13863,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -6589,11 +6843,15 @@ $as_echo "no" >&6; }
+@@ -6960,11 +7215,15 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -13437,7 +13882,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -6609,7 +6867,7 @@ do
+@@ -6980,7 +7239,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -13446,7 +13891,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -6628,6 +6886,10 @@ else
+@@ -6999,6 +7258,10 @@ else
  $as_echo "no" >&6; }
  fi
  
@@ -13457,7 +13902,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    if test "x$ac_ct_AR" = x; then
      AR="false"
    else
-@@ -6639,25 +6901,19 @@ ac_tool_warned=yes ;;
+@@ -7010,23 +7273,20 @@ ac_tool_warned=yes ;;
  esac
      AR=$ac_ct_AR
    fi
@@ -13467,32 +13912,33 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
+-      AR="$AR $plugin_option"
+-    fi
+-    ;;
+-  esac
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
 +  touch conftest.c
 +  $AR $plugin_option rc conftest.a conftest.c
 +  if test "$?" != 0; then
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
- $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
--    else
--      AR="$AR $plugin_option"
--    fi
--    rm -f conftest.*
++$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
 +  else
 +    AR="$AR $plugin_option"
-   fi
--fi
--test -z "$AR_FLAGS" && AR_FLAGS=cru
++  fi
 +  rm -f conftest.*
 +: ${AR=ar}
 +: ${AR_FLAGS=cru}
++
  
  
  
-@@ -6669,6 +6925,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+@@ -7037,6 +7297,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
  
  
  
@@ -13553,11 +13999,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
+
  if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
- set dummy ${ac_tool_prefix}strip; ac_word=$2
-@@ -7008,8 +7322,8 @@ esac
+@@ -7383,8 +7700,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -13568,7 +14013,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -7045,6 +7359,7 @@ for ac_symprfx in "" "_"; do
+@@ -7420,6 +7737,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -13576,7 +14021,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -7086,6 +7401,18 @@ _LT_EOF
+@@ -7461,6 +7779,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -13595,7 +14040,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -7097,7 +7424,7 @@ _LT_EOF
+@@ -7472,7 +7802,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -13604,7 +14049,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -7123,8 +7450,8 @@ static const void *lt_preloaded_setup()
+@@ -7498,8 +7828,8 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -13615,7 +14060,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -7134,8 +7461,8 @@ _LT_EOF
+@@ -7509,8 +7839,8 @@ _LT_EOF
    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
@@ -13626,7 +14071,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
-@@ -7172,6 +7499,20 @@ else
+@@ -7547,6 +7877,20 @@ else
  $as_echo "ok" >&6; }
  fi
  
@@ -13647,10 +14092,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -7191,6 +7532,41 @@ fi
+@@ -7563,6 +7907,41 @@ fi
  
  
  
++
++
++
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 +$as_echo_n "checking for sysroot... " >&6; }
 +
@@ -13683,13 +14131,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 +$as_echo "${lt_sysroot:-no}" >&6; }
-+
-+
-+
  
  
- # Check whether --enable-libtool-lock was given.
-@@ -7399,6 +7775,123 @@ esac
+
+@@ -7774,6 +8153,123 @@ esac
  
  need_locks="$enable_libtool_lock"
  
@@ -13813,7 +14258,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    case $host_os in
      rhapsody* | darwin*)
-@@ -7962,6 +8455,8 @@ _LT_EOF
+@@ -8337,6 +8833,8 @@ _LT_EOF
        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        echo "$AR cru libconftest.a conftest.o" >&5
        $AR cru libconftest.a conftest.o 2>&5
@@ -13822,7 +14267,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        cat > conftest.c << _LT_EOF
  int main() { return 0;}
  _LT_EOF
-@@ -8032,6 +8527,16 @@ done
+@@ -8407,6 +8905,16 @@ done
  
  
  
@@ -13839,7 +14284,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  # Set options
-@@ -8547,8 +9052,6 @@ fi
+@@ -8922,8 +9430,6 @@ fi
  lt_prog_compiler_pic=
  lt_prog_compiler_static=
  
@@ -13848,7 +14293,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if test "$GCC" = yes; then
      lt_prog_compiler_wl='-Wl,'
-@@ -8714,6 +9217,12 @@ $as_echo_n "checking for $compiler optio
+@@ -9089,6 +9595,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
@@ -13861,7 +14306,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -8776,7 +9285,7 @@ $as_echo_n "checking for $compiler optio
+@@ -9151,7 +9663,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
        case $cc_basename in
@@ -13870,7 +14315,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        lt_prog_compiler_wl='-Qoption ld ';;
        *)
        lt_prog_compiler_wl='-Wl,';;
-@@ -8833,13 +9342,17 @@ case $host_os in
+@@ -9208,13 +9720,17 @@ case $host_os in
      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
      ;;
  esac
@@ -13894,7 +14339,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -8900,6 +9413,11 @@ fi
+@@ -9275,6 +9791,11 @@ fi
  
  
  
@@ -13906,7 +14351,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -9250,7 +9768,8 @@ _LT_EOF
+@@ -9625,7 +10146,8 @@ _LT_EOF
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
@@ -13916,7 +14361,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -9349,12 +9868,12 @@ _LT_EOF
+@@ -9724,12 +10246,12 @@ _LT_EOF
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -13931,7 +14376,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -9368,8 +9887,8 @@ _LT_EOF
+@@ -9743,8 +10265,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -13942,7 +14387,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -9387,8 +9906,8 @@ _LT_EOF
+@@ -9762,8 +10284,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -13953,7 +14398,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -9434,8 +9953,8 @@ _LT_EOF
+@@ -9809,8 +10331,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -13964,7 +14409,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -9565,7 +10084,13 @@ _LT_EOF
+@@ -9940,7 +10462,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
@@ -13979,7 +14424,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -9578,22 +10103,29 @@ main ()
+@@ -9953,22 +10481,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -14022,7 +14467,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -9605,7 +10137,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9980,7 +10515,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -14037,7 +14482,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -9618,22 +10156,29 @@ main ()
+@@ -9993,22 +10534,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -14080,7 +14525,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
-@@ -9678,20 +10223,63 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10053,20 +10601,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -14158,7 +14603,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -9752,7 +10340,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10127,7 +10718,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -14167,7 +14612,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
        hardcode_shlibpath_var=no
-@@ -9760,7 +10348,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10135,7 +10726,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -14176,7 +14621,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -9776,7 +10364,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10151,7 +10742,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -14185,7 +14630,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -9800,10 +10388,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10175,10 +10766,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -14198,7 +14643,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -9882,23 +10470,36 @@ fi
+@@ -10257,23 +10848,36 @@ fi
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -14243,7 +14688,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -9983,7 +10584,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -10358,7 +10962,7 @@ rm -f core conftest.err conftest.$ac_objext \
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -14252,7 +14697,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        else
        allow_undefined_flag=' -expect_unresolved \*'
-@@ -10002,9 +10603,9 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -10377,9 +10981,9 @@ rm -f core conftest.err conftest.$ac_objext \
        no_undefined_flag=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -14264,7 +14709,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -10580,8 +11181,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10955,8 +11559,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -14276,7 +14721,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -10614,13 +11216,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10989,13 +11594,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -14349,16 +14794,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -11522,7 +12182,7 @@ else
+@@ -11897,7 +12560,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11525 "configure"
+-#line 11900 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -11566,10 +12226,10 @@ else
+@@ -11941,10 +12604,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -14371,16 +14816,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -11628,7 +12288,7 @@ else
+@@ -12003,7 +12666,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11631 "configure"
+-#line 12006 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -11672,10 +12332,10 @@ else
+@@ -12047,10 +12710,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -14393,7 +14838,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -12067,6 +12727,7 @@ $RM -r conftest*
+@@ -12442,6 +13105,7 @@ $RM -r conftest*
  
    # Allow CC to be a program name with arguments.
    lt_save_CC=$CC
@@ -14401,7 +14846,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    lt_save_LD=$LD
    lt_save_GCC=$GCC
    GCC=$GXX
-@@ -12084,6 +12745,7 @@ $RM -r conftest*
+@@ -12459,6 +13123,7 @@ $RM -r conftest*
    fi
    test -z "${LDCXX+set}" || LD=$LDCXX
    CC=${CXX-"c++"}
@@ -14409,7 +14854,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    compiler=$CC
    compiler_CXX=$CC
    for cc_temp in $compiler""; do
-@@ -12366,7 +13028,13 @@ $as_echo_n "checking whether the $compil
+@@ -12741,7 +13406,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
            allow_undefined_flag_CXX='-berok'
            # Determine the default libpath from the value encoded in an empty
            # executable.
@@ -14424,7 +14869,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -12379,22 +13047,29 @@ main ()
+@@ -12754,22 +13425,29 @@ main ()
  _ACEOF
  if ac_fn_cxx_try_link "$LINENO"; then :
  
@@ -14467,7 +14912,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  
-@@ -12407,7 +13082,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -12782,7 +13460,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            else
            # Determine the default libpath from the value encoded in an
            # empty executable.
@@ -14482,7 +14927,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -12420,22 +13101,29 @@ main ()
+@@ -12795,22 +13479,29 @@ main ()
  _ACEOF
  if ac_fn_cxx_try_link "$LINENO"; then :
  
@@ -14525,7 +14970,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
            # Warning - without using the other run time loading flags,
-@@ -12478,29 +13166,75 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -12853,29 +13544,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          ;;
  
        cygwin* | mingw* | pw32* | cegcc*)
@@ -14624,7 +15069,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        darwin* | rhapsody*)
  
  
-@@ -12606,7 +13340,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -12981,7 +13718,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
              ;;
            *)
              if test "$GXX" = yes; then
@@ -14633,7 +15078,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
              else
                # FIXME: insert proper C++ library support
                ld_shlibs_CXX=no
-@@ -12677,10 +13411,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13052,10 +13789,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                    ;;
                  ia64*)
@@ -14646,7 +15091,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
                    ;;
                esac
              fi
-@@ -12721,9 +13455,9 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13096,9 +13833,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            *)
            if test "$GXX" = yes; then
              if test "$with_gnu_ld" = no; then
@@ -14658,7 +15103,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
              fi
            fi
            link_all_deplibs_CXX=yes
-@@ -13001,7 +13735,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13376,7 +14113,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                  ;;
                *)
@@ -14667,7 +15112,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
                  ;;
              esac
  
-@@ -13047,7 +13781,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13422,7 +14159,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
        solaris*)
          case $cc_basename in
@@ -14676,7 +15121,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
            # Sun C++ 4.2, 5.x and Centerline C++
              archive_cmds_need_lc_CXX=yes
            no_undefined_flag_CXX=' -zdefs'
-@@ -13088,9 +13822,9 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -13463,9 +14200,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
@@ -14688,7 +15133,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
                # Commands to make compiler produce verbose output that lists
                # what "hidden" libraries, object files and flags are used when
-@@ -13226,6 +13960,13 @@ private:
+@@ -13601,6 +14338,13 @@ private:
  };
  _LT_EOF
  
@@ -14702,7 +15147,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
-@@ -13239,7 +13980,7 @@ if { { eval echo "\"\$as_me\":${as_linen
+@@ -13614,7 +14358,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    pre_test_object_deps_done=no
  
    for p in `eval "$output_verbose_link_cmd"`; do
@@ -14711,7 +15156,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
      -L* | -R* | -l*)
         # Some compilers place space between "-{L,R}" and the path.
-@@ -13248,13 +13989,22 @@ if { { eval echo "\"\$as_me\":${as_linen
+@@ -13623,13 +14367,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
            test $p = "-R"; then
         prev=$p
         continue
@@ -14738,7 +15183,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
           # Internal compiler library paths should come after those
           # provided the user.  The postdeps already come after the
           # user supplied libs so there is no need to process them.
-@@ -13274,8 +14024,10 @@ if { { eval echo "\"\$as_me\":${as_linen
+@@ -13649,8 +14402,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
         fi
         fi
@@ -14749,7 +15194,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      *.$objext)
         # This assumes that the test object file only shows up
         # once in the compiler output.
-@@ -13311,6 +14063,7 @@ else
+@@ -13686,6 +14441,7 @@ else
  fi
  
  $RM -f confest.$objext
@@ -14757,7 +15202,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # PORTME: override above test on systems where it is broken
  case $host_os in
-@@ -13346,7 +14099,7 @@ linux*)
+@@ -13721,7 +14477,7 @@ linux*)
  
  solaris*)
    case $cc_basename in
@@ -14766,7 +15211,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      # The more standards-conforming stlport4 library is
      # incompatible with the Cstd library. Avoid specifying
      # it if it's in CXXFLAGS. Ignore libCrun as
-@@ -13411,8 +14164,6 @@ fi
+@@ -13786,8 +14542,6 @@ fi
  lt_prog_compiler_pic_CXX=
  lt_prog_compiler_static_CXX=
  
@@ -14775,7 +15220,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # C++ specific cases for pic, static, wl, etc.
    if test "$GXX" = yes; then
-@@ -13517,6 +14268,11 @@ $as_echo_n "checking for $compiler optio
+@@ -13892,6 +14646,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
          ;;
        esac
        ;;
@@ -14787,7 +15232,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        dgux*)
        case $cc_basename in
          ec++*)
-@@ -13669,7 +14425,7 @@ $as_echo_n "checking for $compiler optio
+@@ -14044,7 +14803,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        ;;
        solaris*)
        case $cc_basename in
@@ -14796,7 +15241,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
            # Sun C++ 4.2, 5.x and Centerline C++
            lt_prog_compiler_pic_CXX='-KPIC'
            lt_prog_compiler_static_CXX='-Bstatic'
-@@ -13734,10 +14490,17 @@ case $host_os in
+@@ -14109,10 +14868,17 @@ case $host_os in
      lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
      ;;
  esac
@@ -14817,7 +15262,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -13795,6 +14558,8 @@ fi
+@@ -14170,6 +14936,8 @@ fi
  
  
  
@@ -14826,7 +15271,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -13972,6 +14737,7 @@ fi
+@@ -14347,6 +15115,7 @@ fi
  $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
@@ -14834,7 +15279,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    case $host_os in
    aix[4-9]*)
      # If we're using GNU nm, then we don't want the "-C" option.
-@@ -13986,15 +14752,20 @@ $as_echo_n "checking whether the $compil
+@@ -14361,15 +15130,20 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
      ;;
    pw32*)
      export_symbols_cmds_CXX="$ltdll_cmds"
@@ -14860,7 +15305,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  $as_echo "$ld_shlibs_CXX" >&6; }
-@@ -14257,8 +15028,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -14632,8 +15406,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -14872,7 +15317,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -14290,13 +15062,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -14665,13 +15440,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -14945,7 +15390,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -14860,6 +15690,7 @@ fi
+@@ -15235,6 +16068,7 @@ fi
    fi # test -n "$compiler"
  
    CC=$lt_save_CC
@@ -14953,7 +15398,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    LDCXX=$LD
    LD=$lt_save_LD
    GCC=$lt_save_GCC
-@@ -19949,13 +20780,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
+@@ -20340,13 +21174,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -14974,7 +15419,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -19970,14 +20808,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
+@@ -20361,14 +21202,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -14993,7 +15438,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -20010,12 +20851,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
+@@ -20401,12 +21245,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -15007,7 +15452,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -20054,8 +20895,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archi
+@@ -20445,8 +21289,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote
  compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
  GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
  lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
@@ -15017,7 +15462,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
  lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
  archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
-@@ -20082,12 +20923,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$har
+@@ -20473,12 +21317,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_
  hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
  inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
@@ -15031,7 +15476,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
  hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
  compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
-@@ -20125,8 +20966,13 @@ reload_flag \
+@@ -20516,8 +21360,13 @@ reload_flag \
  OBJDUMP \
  deplibs_check_method \
  file_magic_cmd \
@@ -15045,7 +15490,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP \
  RANLIB \
  CC \
-@@ -20136,12 +20982,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -20527,12 +21376,14 @@ lt_cv_sys_global_symbol_pipe \
  lt_cv_sys_global_symbol_to_cdecl \
  lt_cv_sys_global_symbol_to_c_name_address \
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -15061,7 +15506,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL \
  NMEDIT \
  LIPO \
-@@ -20157,7 +21005,6 @@ no_undefined_flag \
+@@ -20548,7 +21399,6 @@ no_undefined_flag \
  hardcode_libdir_flag_spec \
  hardcode_libdir_flag_spec_ld \
  hardcode_libdir_separator \
@@ -15069,7 +15514,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms \
  include_expsyms \
  file_list_spec \
-@@ -20179,8 +21026,8 @@ LD_CXX \
+@@ -20570,8 +21420,8 @@ LD_CXX \
  reload_flag_CXX \
  compiler_CXX \
  lt_prog_compiler_no_builtin_flag_CXX \
@@ -15079,7 +15524,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  lt_prog_compiler_static_CXX \
  lt_cv_prog_compiler_c_o_CXX \
  export_dynamic_flag_spec_CXX \
-@@ -20192,7 +21039,6 @@ no_undefined_flag_CXX \
+@@ -20583,7 +21433,6 @@ no_undefined_flag_CXX \
  hardcode_libdir_flag_spec_CXX \
  hardcode_libdir_flag_spec_ld_CXX \
  hardcode_libdir_separator_CXX \
@@ -15087,7 +15532,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms_CXX \
  include_expsyms_CXX \
  file_list_spec_CXX \
-@@ -20226,6 +21072,7 @@ module_cmds \
+@@ -20617,6 +21466,7 @@ module_cmds \
  module_expsym_cmds \
  export_symbols_cmds \
  prelink_cmds \
@@ -15095,7 +15540,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  postinstall_cmds \
  postuninstall_cmds \
  finish_cmds \
-@@ -20240,7 +21087,8 @@ archive_expsym_cmds_CXX \
+@@ -20631,7 +21481,8 @@ archive_expsym_cmds_CXX \
  module_cmds_CXX \
  module_expsym_cmds_CXX \
  export_symbols_cmds_CXX \
@@ -15105,7 +15550,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
      *[\\\\\\\`\\"\\\$]*)
        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
-@@ -21005,7 +21853,8 @@ $as_echo X"$file" |
+@@ -21396,7 +22247,8 @@ $as_echo X"$file" |
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -15115,7 +15560,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #   Written by Gordon Matzigkeit, 1996
  #
  #   This file is part of GNU Libtool.
-@@ -21108,19 +21957,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -21499,19 +22351,42 @@ SP2NL=$lt_lt_SP2NL
  # turn newlines into spaces.
  NL2SP=$lt_lt_NL2SP
  
@@ -15159,7 +15604,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # A symbol stripping program.
  STRIP=$lt_STRIP
  
-@@ -21150,6 +22022,12 @@ global_symbol_to_c_name_address=$lt_lt_c
+@@ -21541,6 +22416,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  # Transform the output of nm in a C name address pair when lib prefix is needed.
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  
@@ -15172,7 +15617,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # The name of the directory that contains temporary libtool files.
  objdir=$objdir
  
-@@ -21159,6 +22037,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -21550,6 +22431,9 @@ MAGIC_CMD=$MAGIC_CMD
  # Must we lock files when doing compilation?
  need_locks=$lt_need_locks
  
@@ -15182,7 +15627,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  DSYMUTIL=$lt_DSYMUTIL
  
-@@ -21273,12 +22154,12 @@ with_gcc=$GCC
+@@ -21664,12 +22548,12 @@ with_gcc=$GCC
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  
@@ -15198,7 +15643,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static
  
-@@ -21365,9 +22246,6 @@ inherit_rpath=$inherit_rpath
+@@ -21756,9 +22640,6 @@ inherit_rpath=$inherit_rpath
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs
  
@@ -15208,7 +15653,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols
  
-@@ -21383,6 +22261,9 @@ include_expsyms=$lt_include_expsyms
+@@ -21774,6 +22655,9 @@ include_expsyms=$lt_include_expsyms
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds
  
@@ -15218,7 +15663,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec
  
-@@ -21429,210 +22310,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -21820,210 +22704,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    # text mode, it properly converts lines to CR/LF.  This bash problem
    # is reportedly fixed, but why not run on old versions too?
@@ -15420,9 +15865,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -_LT_EOF
 -    ;;
 -  esac
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
 +  sed '$q' "$ltmain" >> "$cfgfile" \
 +     || (rm -f "$cfgfile"; exit 1)
++
 +  if test x"$xsi_shell" = xyes; then
 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 +func_dirname ()\
@@ -15580,16 +16031,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 +fi
--  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
--    || (rm -f "$cfgfile"; exit 1)
--  mv -f "$cfgfile" "$ofile" ||
++
++
 +   mv -f "$cfgfile" "$ofile" ||
      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    chmod +x "$ofile"
  
-@@ -21660,12 +22500,12 @@ with_gcc=$GCC_CXX
+@@ -22051,12 +22894,12 @@ with_gcc=$GCC_CXX
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  
@@ -15605,7 +16053,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static_CXX
  
-@@ -21752,9 +22592,6 @@ inherit_rpath=$inherit_rpath_CXX
+@@ -22143,9 +22986,6 @@ inherit_rpath=$inherit_rpath_CXX
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs_CXX
  
@@ -15615,7 +16063,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols_CXX
  
-@@ -21770,6 +22607,9 @@ include_expsyms=$lt_include_expsyms_CXX
+@@ -22161,6 +23001,9 @@ include_expsyms=$lt_include_expsyms_CXX
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds_CXX
  
@@ -15625,153 +16073,19 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec_CXX
  
+diff --git a/libbacktrace/Makefile.in b/libbacktrace/Makefile.in
+index 7486d9ad2cb..c5783bf9e74 100644
 --- a/libbacktrace/Makefile.in
 +++ b/libbacktrace/Makefile.in
-@@ -1,7 +1,7 @@
--# Makefile.in generated by automake 1.15.1 from Makefile.am.
-+# Makefile.in generated by automake 1.16.5 from Makefile.am.
- # @configure_input@
--# Copyright (C) 1994-2017 Free Software Foundation, Inc.
-+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
- # This Makefile.in is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -190,37 +190,6 @@ CONFIG_HEADER = config.h
- CONFIG_CLEAN_FILES = backtrace-supported.h \
-       install-debuginfo-for-buildid.sh
- CONFIG_CLEAN_VPATH_FILES =
--LTLIBRARIES = $(noinst_LTLIBRARIES)
--am__DEPENDENCIES_1 =
--am_libbacktrace_la_OBJECTS = atomic.lo dwarf.lo fileline.lo posix.lo \
--      print.lo sort.lo state.lo
--libbacktrace_la_OBJECTS = $(am_libbacktrace_la_OBJECTS)
--AM_V_lt = $(am__v_lt_@AM_V@)
--am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
--am__v_lt_0 = --silent
--am__v_lt_1 = 
--am__objects_1 = atomic.lo dwarf.lo fileline.lo posix.lo print.lo \
--      sort.lo state.lo
--@NATIVE_TRUE@am_libbacktrace_alloc_la_OBJECTS = $(am__objects_1)
--libbacktrace_alloc_la_OBJECTS = $(am_libbacktrace_alloc_la_OBJECTS)
--@NATIVE_TRUE@am_libbacktrace_alloc_la_rpath =
--@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@libbacktrace_elf_for_test_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
--@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@     elf_for_test.lo \
--@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@     $(am__DEPENDENCIES_1) \
--@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@     $(am__DEPENDENCIES_1)
--@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am_libbacktrace_elf_for_test_la_OBJECTS = $(am__objects_1)
--libbacktrace_elf_for_test_la_OBJECTS =  \
--      $(am_libbacktrace_elf_for_test_la_OBJECTS)
--@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am_libbacktrace_elf_for_test_la_rpath =
--@NATIVE_TRUE@am_libbacktrace_instrumented_alloc_la_OBJECTS =  \
--@NATIVE_TRUE@ $(am__objects_1)
--libbacktrace_instrumented_alloc_la_OBJECTS =  \
--      $(am_libbacktrace_instrumented_alloc_la_OBJECTS)
--@NATIVE_TRUE@am_libbacktrace_instrumented_alloc_la_rpath =
--@NATIVE_TRUE@am_libbacktrace_noformat_la_OBJECTS = $(am__objects_1)
--libbacktrace_noformat_la_OBJECTS =  \
--      $(am_libbacktrace_noformat_la_OBJECTS)
--@NATIVE_TRUE@am_libbacktrace_noformat_la_rpath =
- @NATIVE_TRUE@am__EXEEXT_1 = allocfail$(EXEEXT)
- @HAVE_BUILDID_TRUE@@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__EXEEXT_2 = b2test$(EXEEXT)
- @HAVE_BUILDID_TRUE@@HAVE_DWZ_TRUE@@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__EXEEXT_3 = b3test$(EXEEXT)
-@@ -253,6 +222,37 @@ am__EXEEXT_16 = $(am__EXEEXT_4) $(am__EX
-       $(am__EXEEXT_7) $(am__EXEEXT_8) $(am__EXEEXT_9) \
-       $(am__EXEEXT_10) $(am__EXEEXT_11) $(am__EXEEXT_12) \
-       $(am__EXEEXT_13) $(am__EXEEXT_14) $(am__EXEEXT_15)
-+LTLIBRARIES = $(noinst_LTLIBRARIES)
-+am__DEPENDENCIES_1 =
-+am_libbacktrace_la_OBJECTS = atomic.lo dwarf.lo fileline.lo posix.lo \
-+      print.lo sort.lo state.lo
-+libbacktrace_la_OBJECTS = $(am_libbacktrace_la_OBJECTS)
-+AM_V_lt = $(am__v_lt_@AM_V@)
-+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
-+am__v_lt_0 = --silent
-+am__v_lt_1 =
-+am__objects_1 = atomic.lo dwarf.lo fileline.lo posix.lo print.lo \
-+      sort.lo state.lo
-+@NATIVE_TRUE@am_libbacktrace_alloc_la_OBJECTS = $(am__objects_1)
-+libbacktrace_alloc_la_OBJECTS = $(am_libbacktrace_alloc_la_OBJECTS)
-+@NATIVE_TRUE@am_libbacktrace_alloc_la_rpath =
-+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@libbacktrace_elf_for_test_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@     elf_for_test.lo \
-+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@     $(am__DEPENDENCIES_1) \
-+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@     $(am__DEPENDENCIES_1)
-+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am_libbacktrace_elf_for_test_la_OBJECTS = $(am__objects_1)
-+libbacktrace_elf_for_test_la_OBJECTS =  \
-+      $(am_libbacktrace_elf_for_test_la_OBJECTS)
-+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am_libbacktrace_elf_for_test_la_rpath =
-+@NATIVE_TRUE@am_libbacktrace_instrumented_alloc_la_OBJECTS =  \
-+@NATIVE_TRUE@ $(am__objects_1)
-+libbacktrace_instrumented_alloc_la_OBJECTS =  \
-+      $(am_libbacktrace_instrumented_alloc_la_OBJECTS)
-+@NATIVE_TRUE@am_libbacktrace_instrumented_alloc_la_rpath =
-+@NATIVE_TRUE@am_libbacktrace_noformat_la_OBJECTS = $(am__objects_1)
-+libbacktrace_noformat_la_OBJECTS =  \
-+      $(am_libbacktrace_noformat_la_OBJECTS)
-+@NATIVE_TRUE@am_libbacktrace_noformat_la_rpath =
- @NATIVE_TRUE@am_allocfail_OBJECTS = allocfail-allocfail.$(OBJEXT) \
- @NATIVE_TRUE@ allocfail-testlib.$(OBJEXT)
- allocfail_OBJECTS = $(am_allocfail_OBJECTS)
-@@ -571,7 +571,7 @@ am__v_at_0 = @
- am__v_at_1 = 
- DEFAULT_INCLUDES = -I.@am__isrc@
- depcomp =
--am__depfiles_maybe =
-+am__maybe_remake_depfiles =
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-@@ -615,8 +615,8 @@ am__can_run_installinfo = \
-     n|no|NO) false;; \
-     *) (install-info --version) >/dev/null 2>&1;; \
-   esac
--am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
--      $(LISP)config.h.in
-+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
-+      config.h.in
- # Read a list of newline-separated strings from the standard input,
- # and print each of them once, without duplicates.  Input order is
- # *not* preserved.
-@@ -633,9 +633,6 @@ am__define_uniq_tagged_files = \
-   unique=`for i in $$list; do \
-     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-   done | $(am__uniquify_input)`
--ETAGS = etags
--CTAGS = ctags
--CSCOPE = cscope
- AM_RECURSIVE_TARGETS = cscope check recheck
- am__tty_colors_dummy = \
-   mgn= red= grn= lgn= blu= brg= std=; \
-@@ -819,6 +816,7 @@ am__set_TESTS_bases = \
-   bases='$(TEST_LOGS)'; \
-   bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
-   bases=`echo $$bases`
-+AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
- RECHECK_LOGS = $(TEST_LOGS)
- TEST_SUITE_LOG = test-suite.log
- TEST_EXTENSIONS = @EXEEXT@ .test
-@@ -861,8 +859,11 @@ CLOCK_GETTIME_LINK = @CLOCK_GETTIME_LINK
- COMM = @COMM@
- CPP = @CPP@
+@@ -865,6 +865,7 @@ CPP = @CPP@
  CPPFLAGS = @CPPFLAGS@
-+CSCOPE = @CSCOPE@
-+CTAGS = @CTAGS@
  CYGPATH_W = @CYGPATH_W@
  DEFS = @DEFS@
 +DLLTOOL = @DLLTOOL@
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  DWZ = @DWZ@
-@@ -870,6 +871,7 @@ ECHO_C = @ECHO_C@
- ECHO_N = @ECHO_N@
- ECHO_T = @ECHO_T@
- EGREP = @EGREP@
-+ETAGS = @ETAGS@
- EXEEXT = @EXEEXT@
- EXTRA_FLAGS = @EXTRA_FLAGS@
- FGREP = @FGREP@
-@@ -890,6 +892,7 @@ LN_S = @LN_S@
+@@ -893,6 +894,7 @@ LN_S = @LN_S@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -15779,7 +16093,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  NM = @NM@
  NMEDIT = @NMEDIT@
-@@ -922,6 +925,7 @@ abs_builddir = @abs_builddir@
+@@ -925,6 +927,7 @@ abs_builddir = @abs_builddir@
  abs_srcdir = @abs_srcdir@
  abs_top_builddir = @abs_top_builddir@
  abs_top_srcdir = @abs_top_srcdir@
@@ -15787,351 +16101,23 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ac_ct_CC = @ac_ct_CC@
  ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  am__leading_dot = @am__leading_dot@
-@@ -1267,8 +1271,8 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
-           echo ' $(SHELL) ./config.status'; \
-           $(SHELL) ./config.status;; \
-         *) \
--          echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
--          cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
-+          echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
-+          cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
-       esac;
- $(top_srcdir)/../multilib.am $(am__empty):
-@@ -1300,6 +1304,15 @@ backtrace-supported.h: $(top_builddir)/c
- install-debuginfo-for-buildid.sh: $(top_builddir)/config.status $(srcdir)/install-debuginfo-for-buildid.sh.in
-       cd $(top_builddir) && $(SHELL) ./config.status $@
-+clean-checkPROGRAMS:
-+      @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
-+      echo " rm -f" $$list; \
-+      rm -f $$list || exit $$?; \
-+      test -n "$(EXEEXT)" || exit 0; \
-+      list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
-+      echo " rm -f" $$list; \
-+      rm -f $$list
-+
- clean-checkLTLIBRARIES:
-       -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES)
-       @list='$(check_LTLIBRARIES)'; \
-@@ -1337,15 +1350,6 @@ libbacktrace_instrumented_alloc.la: $(li
- libbacktrace_noformat.la: $(libbacktrace_noformat_la_OBJECTS) $(libbacktrace_noformat_la_DEPENDENCIES) $(EXTRA_libbacktrace_noformat_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(LINK) $(am_libbacktrace_noformat_la_rpath) $(libbacktrace_noformat_la_OBJECTS) $(libbacktrace_noformat_la_LIBADD) $(LIBS)
--clean-checkPROGRAMS:
--      @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
--      echo " rm -f" $$list; \
--      rm -f $$list || exit $$?; \
--      test -n "$(EXEEXT)" || exit 0; \
--      list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
--      echo " rm -f" $$list; \
--      rm -f $$list
--
- allocfail$(EXEEXT): $(allocfail_OBJECTS) $(allocfail_DEPENDENCIES) $(EXTRA_allocfail_DEPENDENCIES) 
-       @rm -f allocfail$(EXEEXT)
-       $(AM_V_CCLD)$(allocfail_LINK) $(allocfail_OBJECTS) $(allocfail_LDADD) $(LIBS)
-@@ -2096,7 +2100,7 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
-         test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);               \
-       fi;                                                             \
-       echo "$${col}$$br$${std}";                                      \
--      echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";   \
-+      echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
-       echo "$${col}$$br$${std}";                                      \
-       create_testsuite_report --maybe-color;                          \
-       echo "$$col$$br$$std";                                          \
-@@ -2109,7 +2113,7 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
-       fi;                                                             \
-       $$success || exit 1
--check-TESTS:
-+check-TESTS: $(check_PROGRAMS) $(check_LTLIBRARIES) $(check_DATA)
-       @list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
-       @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
-       @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
-@@ -2119,7 +2123,7 @@ check-TESTS:
-       log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
-       $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
-       exit $$?;
--recheck: all $(check_LTLIBRARIES) $(check_PROGRAMS) $(check_DATA)
-+recheck: all $(check_PROGRAMS) $(check_LTLIBRARIES) $(check_DATA)
-       @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
-       @set +e; $(am__set_TESTS_bases); \
-       bases=`for i in $$bases; do echo $$i; done \
-@@ -2439,7 +2443,7 @@ xztest_alloc.log: xztest_alloc$(EXEEXT)
- @am__EXEEXT_TRUE@     $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
- @am__EXEEXT_TRUE@     "$$tst" $(AM_TESTS_FD_REDIRECT)
- check-am: all-am
--      $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS) \
-+      $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_LTLIBRARIES) \
-         $(check_DATA)
-       $(MAKE) $(AM_MAKEFLAGS) check-TESTS
- check: check-am
---- a/libbacktrace/aclocal.m4
-+++ b/libbacktrace/aclocal.m4
-@@ -1,6 +1,6 @@
--# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
-+# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
--# Copyright (C) 1996-2017 Free Software Foundation, Inc.
-+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -20,7 +20,7 @@ You have another version of autoconf.  I
- If you have problems, you may need to regenerate the build system entirely.
- To do so, use the procedure documented by the package, typically 'autoreconf'.])])
--# Copyright (C) 2002-2017 Free Software Foundation, Inc.
-+# Copyright (C) 2002-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -32,10 +32,10 @@ To do so, use the procedure documented b
- # generated from the m4 files accompanying Automake X.Y.
- # (This private macro should not be called outside this file.)
- AC_DEFUN([AM_AUTOMAKE_VERSION],
--[am__api_version='1.15'
-+[am__api_version='1.16'
- dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
- dnl require some minimum version.  Point them to the right macro.
--m4_if([$1], [1.15.1], [],
-+m4_if([$1], [1.16.5], [],
-       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
- ])
-@@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
- # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
--[AM_AUTOMAKE_VERSION([1.15.1])dnl
-+[AM_AUTOMAKE_VERSION([1.16.5])dnl
- m4_ifndef([AC_AUTOCONF_VERSION],
-   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
- _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
- # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
--# Copyright (C) 2001-2017 Free Software Foundation, Inc.
-+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
- # AM_CONDITIONAL                                            -*- Autoconf -*-
--# Copyright (C) 1997-2017 Free Software Foundation, Inc.
-+# Copyright (C) 1997-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -143,7 +143,7 @@ fi])])
- # Do all the work for Automake.                             -*- Autoconf -*-
--# Copyright (C) 1996-2017 Free Software Foundation, Inc.
-+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -171,6 +171,10 @@ m4_defn([AC_PROG_CC])
- # release and drop the old call support.
- AC_DEFUN([AM_INIT_AUTOMAKE],
- [AC_PREREQ([2.65])dnl
-+m4_ifdef([_$0_ALREADY_INIT],
-+  [m4_fatal([$0 expanded multiple times
-+]m4_defn([_$0_ALREADY_INIT]))],
-+  [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
- dnl Autoconf wants to disallow AM_ names.  We explicitly allow
- dnl the ones we care about.
- m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
-@@ -207,7 +211,7 @@ m4_ifval([$3], [_AM_SET_OPTION([no-defin
- [_AM_SET_OPTIONS([$1])dnl
- dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
- m4_if(
--  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
-+  m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
-   [ok:ok],,
-   [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
-  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
-@@ -230,8 +234,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
- AC_REQUIRE([AC_PROG_MKDIR_P])dnl
- # For better backward compatibility.  To be removed once Automake 1.9.x
- # dies out for good.  For more background, see:
--# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
--# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
-+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
-+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
- # We need awk for the "check" target (and possibly the TAP driver).  The
- # system "awk" is bad on some platforms.
-@@ -259,6 +263,20 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
-                 [m4_define([AC_PROG_OBJCXX],
-                            m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
- ])
-+# Variables for tags utilities; see am/tags.am
-+if test -z "$CTAGS"; then
-+  CTAGS=ctags
-+fi
-+AC_SUBST([CTAGS])
-+if test -z "$ETAGS"; then
-+  ETAGS=etags
-+fi
-+AC_SUBST([ETAGS])
-+if test -z "$CSCOPE"; then
-+  CSCOPE=cscope
-+fi
-+AC_SUBST([CSCOPE])
-+
- AC_REQUIRE([AM_SILENT_RULES])dnl
- dnl The testsuite driver may need to know about EXEEXT, so add the
- dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
-@@ -298,7 +316,7 @@ END
- Aborting the configuration process, to ensure you take notice of the issue.
- You can download and install GNU coreutils to get an 'rm' implementation
--that behaves properly: <http://www.gnu.org/software/coreutils/>.
-+that behaves properly: <https://www.gnu.org/software/coreutils/>.
- If you want to complete the configuration process using your problematic
- 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
-@@ -340,7 +358,7 @@ for _am_header in $config_headers :; do
- done
- echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
--# Copyright (C) 2001-2017 Free Software Foundation, Inc.
-+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -364,7 +382,7 @@ AC_SUBST([install_sh])])
- # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
- # From Jim Meyering
--# Copyright (C) 1996-2017 Free Software Foundation, Inc.
-+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -399,7 +417,7 @@ AC_MSG_CHECKING([whether to enable maint
- # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
--# Copyright (C) 1997-2017 Free Software Foundation, Inc.
-+# Copyright (C) 1997-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -420,12 +438,7 @@ AC_DEFUN([AM_MISSING_HAS_RUN],
- [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
- AC_REQUIRE_AUX_FILE([missing])dnl
- if test x"${MISSING+set}" != xset; then
--  case $am_aux_dir in
--  *\ * | *\   *)
--    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
--  *)
--    MISSING="\${SHELL} $am_aux_dir/missing" ;;
--  esac
-+  MISSING="\${SHELL} '$am_aux_dir/missing'"
- fi
- # Use eval to expand $SHELL
- if eval "$MISSING --is-lightweight"; then
-@@ -438,7 +451,7 @@ fi
- # Helper functions for option handling.                     -*- Autoconf -*-
--# Copyright (C) 2001-2017 Free Software Foundation, Inc.
-+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -467,7 +480,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
- AC_DEFUN([_AM_IF_OPTION],
- [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
--# Copyright (C) 1999-2017 Free Software Foundation, Inc.
-+# Copyright (C) 1999-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -514,7 +527,7 @@ AC_LANG_POP([C])])
- # For backward compatibility.
- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
--# Copyright (C) 2001-2017 Free Software Foundation, Inc.
-+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -533,7 +546,7 @@ AC_DEFUN([AM_RUN_LOG],
- # Check to make sure that the build environment is sane.    -*- Autoconf -*-
--# Copyright (C) 1996-2017 Free Software Foundation, Inc.
-+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -614,7 +627,7 @@ AC_CONFIG_COMMANDS_PRE(
- rm -f conftest.file
- ])
--# Copyright (C) 2009-2017 Free Software Foundation, Inc.
-+# Copyright (C) 2009-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -674,7 +687,7 @@ AC_SUBST([AM_BACKSLASH])dnl
- _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
- ])
--# Copyright (C) 2001-2017 Free Software Foundation, Inc.
-+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -702,7 +715,7 @@ fi
- INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
- AC_SUBST([INSTALL_STRIP_PROGRAM])])
--# Copyright (C) 2006-2017 Free Software Foundation, Inc.
-+# Copyright (C) 2006-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
-@@ -721,7 +734,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_
- # Check how to create a tarball.                            -*- Autoconf -*-
--# Copyright (C) 2004-2017 Free Software Foundation, Inc.
-+# Copyright (C) 2004-2021 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
+diff --git a/libbacktrace/configure b/libbacktrace/configure
+index 398e1621144..c44fa9a189b 100755
 --- a/libbacktrace/configure
 +++ b/libbacktrace/configure
-@@ -686,7 +686,10 @@ OTOOL
+@@ -686,8 +686,11 @@ OTOOL
  LIPO
  NMEDIT
  DSYMUTIL
 +MANIFEST_TOOL
 +ac_ct_AR
  AR
+ LLVM_CONFIG
 +DLLTOOL
  OBJDUMP
  LN_S
  NM
-@@ -707,6 +710,9 @@ AM_BACKSLASH
- AM_DEFAULT_VERBOSITY
- AM_DEFAULT_V
- AM_V
-+CSCOPE
-+ETAGS
-+CTAGS
- am__untar
- am__tar
- AMTAR
-@@ -804,6 +810,7 @@ enable_static
+@@ -805,6 +808,7 @@ enable_static
  with_pic
  enable_fast_install
  with_gnu_ld
@@ -16139,7 +16125,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  enable_libtool_lock
  enable_largefile
  enable_cet
-@@ -1466,6 +1473,8 @@ Optional Packages:
+@@ -1467,6 +1471,8 @@ Optional Packages:
    --with-pic              try to use only PIC/non-PIC objects [default=use
                            both]
    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
@@ -16148,71 +16134,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    --with-system-libunwind use installed libunwind
  
  Some influential environment variables:
-@@ -4054,7 +4063,7 @@ libtool_VERSION=1:0:0
- # -Wall: Issue all automake warnings.
- # -Wno-portability: Don't warn about constructs supported by GNU make.
- #    (because GCC requires GNU make anyhow).
--am__api_version='1.15'
-+am__api_version='1.16'
- # Find a good install program.  We prefer a C program (faster),
- # so one script is as good as another.  But avoid the broken or
-@@ -4227,12 +4236,7 @@ ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
- program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
- if test x"${MISSING+set}" != xset; then
--  case $am_aux_dir in
--  *\ * | *\   *)
--    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
--  *)
--    MISSING="\${SHELL} $am_aux_dir/missing" ;;
--  esac
-+  MISSING="\${SHELL} '$am_aux_dir/missing'"
- fi
- # Use eval to expand $SHELL
- if eval "$MISSING --is-lightweight"; then
-@@ -4558,8 +4562,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}ma
- # For better backward compatibility.  To be removed once Automake 1.9.x
- # dies out for good.  For more background, see:
--# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
--# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
-+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
-+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
- mkdir_p='$(MKDIR_P)'
- # We need awk for the "check" target (and possibly the TAP driver).  The
-@@ -4578,6 +4582,20 @@ am__tar='$${TAR-tar} chof - "$$tardir"'
-+# Variables for tags utilities; see am/tags.am
-+if test -z "$CTAGS"; then
-+  CTAGS=ctags
-+fi
-+
-+if test -z "$ETAGS"; then
-+  ETAGS=etags
-+fi
-+
-+if test -z "$CSCOPE"; then
-+  CSCOPE=cscope
-+fi
-+
-+
- # POSIX will say in a future version that running "rm -f" with no argument
- # is OK; and we want to be able to make that assumption in our Makefile
-@@ -4610,7 +4628,7 @@ END
- Aborting the configuration process, to ensure you take notice of the issue.
- You can download and install GNU coreutils to get an 'rm' implementation
--that behaves properly: <http://www.gnu.org/software/coreutils/>.
-+that behaves properly: <https://www.gnu.org/software/coreutils/>.
- If you want to complete the configuration process using your problematic
- 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
-@@ -5453,8 +5471,8 @@ esac
+@@ -5454,8 +5460,8 @@ esac
  
  
  
@@ -16223,7 +16145,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -5494,7 +5512,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -5495,7 +5501,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  $as_echo_n "checking how to print strings... " >&6; }
  # Test print first, because it will be a builtin if present.
@@ -16232,7 +16154,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    ECHO='print -r --'
  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -6187,8 +6205,8 @@ $as_echo_n "checking whether the shell u
+@@ -6188,8 +6194,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
  # Try some XSI features
  xsi_shell=no
  ( _lt_dummy="a/b/c"
@@ -16243,7 +16165,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      && eval 'test $(( 1 + 1 )) -eq 2 \
      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    && xsi_shell=yes
-@@ -6237,6 +6255,80 @@ esac
+@@ -6238,6 +6244,80 @@ esac
  
  
  
@@ -16324,7 +16246,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -6253,6 +6345,11 @@ case $reload_flag in
+@@ -6254,6 +6334,11 @@ case $reload_flag in
  esac
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  case $host_os in
@@ -16336,7 +16258,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    darwin*)
      if test "$GCC" = yes; then
        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -6421,7 +6518,8 @@ mingw* | pw32*)
+@@ -6422,7 +6507,8 @@ mingw* | pw32*)
      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
      lt_cv_file_magic_cmd='func_win32_libid'
    else
@@ -16346,7 +16268,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      lt_cv_file_magic_cmd='$OBJDUMP -f'
    fi
    ;;
-@@ -6580,6 +6678,21 @@ esac
+@@ -6581,6 +6667,21 @@ esac
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -16368,7 +16290,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -6595,6 +6708,157 @@ test -z "$deplibs_check_method" && depli
+@@ -6597,6 +6698,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  
@@ -16381,7 +16303,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
@@ -16523,12 +16444,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
- plugin_option=
- plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
- for plugin in $plugin_names; do
-@@ -6609,8 +6873,10 @@ for plugin in $plugin_names; do
- done
++
+ # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
+ # wrong plugin_option with clang.
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
+@@ -6978,9 +7230,12 @@ fi
+ plugin_option="$plugin_option"
  
+ fi
++
  if test -n "$ac_tool_prefix"; then
 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 -set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -16539,7 +16463,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_AR+:} false; then :
-@@ -6626,7 +6892,7 @@ do
+@@ -6996,7 +7251,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -16548,7 +16472,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -6646,11 +6912,15 @@ $as_echo "no" >&6; }
+@@ -7016,11 +7271,15 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -16567,7 +16491,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -6666,7 +6936,7 @@ do
+@@ -7036,7 +7295,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -16576,7 +16500,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -6685,6 +6955,10 @@ else
+@@ -7055,6 +7314,10 @@ else
  $as_echo "no" >&6; }
  fi
  
@@ -16587,7 +16511,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    if test "x$ac_ct_AR" = x; then
      AR="false"
    else
-@@ -6696,25 +6970,19 @@ ac_tool_warned=yes ;;
+@@ -7066,23 +7329,21 @@ ac_tool_warned=yes ;;
  esac
      AR=$ac_ct_AR
    fi
@@ -16597,32 +16521,34 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
+-      AR="$AR $plugin_option"
+-    fi
+-    ;;
+-  esac
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
 +  touch conftest.c
 +  $AR $plugin_option rc conftest.a conftest.c
 +  if test "$?" != 0; then
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
- $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
--    else
--      AR="$AR $plugin_option"
--    fi
--    rm -f conftest.*
++$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
 +  else
 +    AR="$AR $plugin_option"
-   fi
--fi
--test -z "$AR_FLAGS" && AR_FLAGS=cru
++  fi
 +  rm -f conftest.*
 +: ${AR=ar}
 +: ${AR_FLAGS=cru}
++
++
  
  
  
-@@ -6726,6 +6994,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+@@ -7092,6 +7353,62 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
  
  
  
@@ -16682,12 +16608,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
-+
+
+
  if test -n "$ac_tool_prefix"; then
-   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
- set dummy ${ac_tool_prefix}strip; ac_word=$2
-@@ -7065,8 +7391,8 @@ esac
+@@ -7439,8 +7756,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -16698,7 +16622,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -7102,6 +7428,7 @@ for ac_symprfx in "" "_"; do
+@@ -7476,6 +7793,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -16706,7 +16630,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -7143,6 +7470,18 @@ _LT_EOF
+@@ -7517,6 +7835,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -16725,7 +16649,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -7154,7 +7493,7 @@ _LT_EOF
+@@ -7528,7 +7858,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -16734,7 +16658,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -7180,8 +7519,8 @@ static const void *lt_preloaded_setup()
+@@ -7554,8 +7884,8 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -16745,7 +16669,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -7191,8 +7530,8 @@ _LT_EOF
+@@ -7565,8 +7895,8 @@ _LT_EOF
    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
@@ -16756,7 +16680,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
-@@ -7229,6 +7568,19 @@ else
+@@ -7603,6 +7933,16 @@ else
  $as_echo "ok" >&6; }
  fi
  
@@ -16770,21 +16694,25 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
-+
-+
  
  
  
-@@ -7249,6 +7601,42 @@ fi
+@@ -7619,6 +7959,45 @@ fi
  
  
  
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
-+$as_echo_n "checking for sysroot... " >&6; }
 +
-+# Check whether --with-libtool-sysroot was given.
-+if test "${with_libtool_sysroot+set}" = set; then :
++
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
++$as_echo_n "checking for sysroot... " >&6; }
++
++# Check whether --with-libtool-sysroot was given.
++if test "${with_libtool_sysroot+set}" = set; then :
 +  withval=$with_libtool_sysroot;
 +else
 +  with_libtool_sysroot=no
@@ -16812,17 +16740,59 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 +$as_echo "${lt_sysroot:-no}" >&6; }
-+
-+
-+
-+
  
- # Check whether --enable-libtool-lock was given.
- if test "${enable_libtool_lock+set}" = set; then :
-@@ -7456,6 +7844,123 @@ esac
  
- need_locks="$enable_libtool_lock"
  
+@@ -7785,50 +8164,167 @@ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+   lt_cv_cc_needs_belf=yes
+ else
+-  lt_cv_cc_needs_belf=no
++  lt_cv_cc_needs_belf=no
++fi
++rm -f core conftest.err conftest.$ac_objext \
++    conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
++$as_echo "$lt_cv_cc_needs_belf" >&6; }
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++sparc*-*solaris*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++  test $ac_status = 0; }; then
++    case `/usr/bin/file conftest.o` in
++    *64-bit*)
++      case $lt_cv_prog_gnu_ld in
++      yes*) LD="${LD-ld} -m elf64_sparc" ;;
++      *)
++      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
++        LD="${LD-ld} -64"
++      fi
++      ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++esac
++
++need_locks="$enable_libtool_lock"
++
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}mt; ac_word=$2
@@ -16898,8 +16868,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +else
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 +$as_echo "no" >&6; }
-+fi
-+
+ fi
+-rm -f core conftest.err conftest.$ac_objext \
+-    conftest$ac_exeext conftest.$ac_ext
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+-$as_echo "$lt_cv_cc_needs_belf" >&6; }
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 +    MANIFEST_TOOL=":"
 +  else
@@ -16910,7 +16893,28 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +ac_tool_warned=yes ;;
 +esac
 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
-+  fi
+   fi
+-  ;;
+-sparc*-*solaris*)
+-  # Find out which ABI we are using.
+-  echo 'int i;' > conftest.$ac_ext
+-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+-  test $ac_status = 0; }; then
+-    case `/usr/bin/file conftest.o` in
+-    *64-bit*)
+-      case $lt_cv_prog_gnu_ld in
+-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
+-      *)
+-      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+-        LD="${LD-ld} -64"
+-      fi
+-      ;;
+-      esac
+-      ;;
+-    esac
 +else
 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 +fi
@@ -16927,7 +16931,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  cat conftest.err >&5
 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 +    lt_cv_path_mainfest_tool=yes
-+  fi
+   fi
+-  rm -rf conftest*
+-  ;;
+-esac
 +  rm -f conftest*
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
@@ -16938,12 +16945,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
-+
+
+-need_locks="$enable_libtool_lock"
+
  
    case $host_os in
-     rhapsody* | darwin*)
-@@ -8019,6 +8524,8 @@ _LT_EOF
+@@ -8393,6 +8889,8 @@ _LT_EOF
        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        echo "$AR cru libconftest.a conftest.o" >&5
        $AR cru libconftest.a conftest.o 2>&5
@@ -16952,7 +16959,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        cat > conftest.c << _LT_EOF
  int main() { return 0;}
  _LT_EOF
-@@ -8603,8 +9110,6 @@ fi
+@@ -8977,8 +9475,6 @@ fi
  lt_prog_compiler_pic=
  lt_prog_compiler_static=
  
@@ -16961,7 +16968,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if test "$GCC" = yes; then
      lt_prog_compiler_wl='-Wl,'
-@@ -8770,6 +9275,12 @@ $as_echo_n "checking for $compiler optio
+@@ -9144,6 +9640,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
@@ -16974,7 +16981,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -8832,7 +9343,7 @@ $as_echo_n "checking for $compiler optio
+@@ -9206,7 +9708,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
        case $cc_basename in
@@ -16983,7 +16990,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        lt_prog_compiler_wl='-Qoption ld ';;
        *)
        lt_prog_compiler_wl='-Wl,';;
-@@ -8889,13 +9400,17 @@ case $host_os in
+@@ -9263,13 +9765,17 @@ case $host_os in
      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
      ;;
  esac
@@ -17007,7 +17014,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -8956,6 +9471,11 @@ fi
+@@ -9330,6 +9836,11 @@ fi
  
  
  
@@ -17019,7 +17026,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -9306,7 +9826,8 @@ _LT_EOF
+@@ -9680,7 +10191,8 @@ _LT_EOF
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
@@ -17029,7 +17036,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -9405,12 +9926,12 @@ _LT_EOF
+@@ -9779,12 +10291,12 @@ _LT_EOF
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -17044,7 +17051,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -9424,8 +9945,8 @@ _LT_EOF
+@@ -9798,8 +10310,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -17055,7 +17062,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -9443,8 +9964,8 @@ _LT_EOF
+@@ -9817,8 +10329,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -17066,7 +17073,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -9490,8 +10011,8 @@ _LT_EOF
+@@ -9864,8 +10376,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -17077,7 +17084,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -9621,7 +10142,13 @@ _LT_EOF
+@@ -9995,7 +10507,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
@@ -17092,7 +17099,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -9634,22 +10161,29 @@ main ()
+@@ -10008,22 +10526,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -17135,7 +17142,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -9661,7 +10195,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10035,7 +10560,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -17150,7 +17157,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -9674,22 +10214,29 @@ main ()
+@@ -10048,22 +10579,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -17193,7 +17200,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
-@@ -9734,20 +10281,63 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10108,20 +10646,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -17271,7 +17278,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -9808,7 +10398,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10182,7 +10763,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -17280,7 +17287,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
        hardcode_shlibpath_var=no
-@@ -9816,7 +10406,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10190,7 +10771,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -17289,7 +17296,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -9832,7 +10422,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10206,7 +10787,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -17298,7 +17305,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -9856,10 +10446,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10230,10 +10811,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -17311,7 +17318,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -9938,23 +10528,36 @@ fi
+@@ -10312,23 +10893,36 @@ fi
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -17356,7 +17363,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -10039,7 +10642,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -10413,7 +11007,7 @@ rm -f core conftest.err conftest.$ac_objext \
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -17365,7 +17372,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        else
        allow_undefined_flag=' -expect_unresolved \*'
-@@ -10058,9 +10661,9 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -10432,9 +11026,9 @@ rm -f core conftest.err conftest.$ac_objext \
        no_undefined_flag=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -17377,7 +17384,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -10636,8 +11239,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -11010,8 +11604,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -17389,7 +17396,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -10670,13 +11274,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -11044,13 +11639,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -17462,16 +17469,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -11578,7 +12240,7 @@ else
+@@ -11952,7 +12605,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11581 "configure"
+-#line 11955 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -11622,10 +12284,10 @@ else
+@@ -11996,10 +12649,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -17484,16 +17491,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -11684,7 +12346,7 @@ else
+@@ -12058,7 +12711,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11687 "configure"
+-#line 12061 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -11728,10 +12390,10 @@ else
+@@ -12102,10 +12755,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -17506,7 +17513,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -15191,13 +15853,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
+@@ -15565,13 +16218,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -17527,7 +17534,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -15212,14 +15881,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
+@@ -15586,14 +16246,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -17546,7 +17553,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -15252,12 +15924,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
+@@ -15626,12 +16289,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -17560,7 +17567,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -15312,8 +15984,13 @@ reload_flag \
+@@ -15686,8 +16349,13 @@ reload_flag \
  OBJDUMP \
  deplibs_check_method \
  file_magic_cmd \
@@ -17574,7 +17581,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP \
  RANLIB \
  CC \
-@@ -15323,12 +16000,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -15697,12 +16365,14 @@ lt_cv_sys_global_symbol_pipe \
  lt_cv_sys_global_symbol_to_cdecl \
  lt_cv_sys_global_symbol_to_c_name_address \
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -17590,7 +17597,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL \
  NMEDIT \
  LIPO \
-@@ -15344,7 +16023,6 @@ no_undefined_flag \
+@@ -15718,7 +16388,6 @@ no_undefined_flag \
  hardcode_libdir_flag_spec \
  hardcode_libdir_flag_spec_ld \
  hardcode_libdir_separator \
@@ -17598,7 +17605,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms \
  include_expsyms \
  file_list_spec \
-@@ -15380,6 +16058,7 @@ module_cmds \
+@@ -15754,6 +16423,7 @@ module_cmds \
  module_expsym_cmds \
  export_symbols_cmds \
  prelink_cmds \
@@ -17606,7 +17613,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  postinstall_cmds \
  postuninstall_cmds \
  finish_cmds \
-@@ -16078,7 +16757,8 @@ esac ;;
+@@ -16452,7 +17122,8 @@ esac ;;
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -17616,7 +17623,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #   Written by Gordon Matzigkeit, 1996
  #
  #   This file is part of GNU Libtool.
-@@ -16181,19 +16861,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -16555,19 +17226,42 @@ SP2NL=$lt_lt_SP2NL
  # turn newlines into spaces.
  NL2SP=$lt_lt_NL2SP
  
@@ -17660,7 +17667,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # A symbol stripping program.
  STRIP=$lt_STRIP
  
-@@ -16223,6 +16926,12 @@ global_symbol_to_c_name_address=$lt_lt_c
+@@ -16597,6 +17291,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  # Transform the output of nm in a C name address pair when lib prefix is needed.
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  
@@ -17673,7 +17680,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # The name of the directory that contains temporary libtool files.
  objdir=$objdir
  
-@@ -16232,6 +16941,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -16606,6 +17306,9 @@ MAGIC_CMD=$MAGIC_CMD
  # Must we lock files when doing compilation?
  need_locks=$lt_need_locks
  
@@ -17683,7 +17690,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  DSYMUTIL=$lt_DSYMUTIL
  
-@@ -16346,12 +17058,12 @@ with_gcc=$GCC
+@@ -16720,12 +17423,12 @@ with_gcc=$GCC
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  
@@ -17699,7 +17706,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static
  
-@@ -16438,9 +17150,6 @@ inherit_rpath=$inherit_rpath
+@@ -16812,9 +17515,6 @@ inherit_rpath=$inherit_rpath
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs
  
@@ -17709,7 +17716,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols
  
-@@ -16456,6 +17165,9 @@ include_expsyms=$lt_include_expsyms
+@@ -16830,6 +17530,9 @@ include_expsyms=$lt_include_expsyms
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds
  
@@ -17719,7 +17726,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec
  
-@@ -16488,210 +17200,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -16862,210 +17565,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    # text mode, it properly converts lines to CR/LF.  This bash problem
    # is reportedly fixed, but why not run on old versions too?
@@ -17921,9 +17928,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -_LT_EOF
 -    ;;
 -  esac
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
 +  sed '$q' "$ltmain" >> "$cfgfile" \
 +     || (rm -f "$cfgfile"; exit 1)
++
 +  if test x"$xsi_shell" = xyes; then
 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 +func_dirname ()\
@@ -18081,18 +18094,17 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 +fi
--  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
--    || (rm -f "$cfgfile"; exit 1)
--  mv -f "$cfgfile" "$ofile" ||
++
++
 +   mv -f "$cfgfile" "$ofile" ||
      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    chmod +x "$ofile"
  
+diff --git a/libctf/Makefile.in b/libctf/Makefile.in
+index 0ac364e09cc..b7429f35ec8 100644
 --- a/libctf/Makefile.in
 +++ b/libctf/Makefile.in
-@@ -442,6 +442,7 @@ CYGPATH_W = @CYGPATH_W@
+@@ -444,6 +444,7 @@ CYGPATH_W = @CYGPATH_W@
  DATADIRNAME = @DATADIRNAME@
  DEFS = @DEFS@
  DEPDIR = @DEPDIR@
@@ -18100,7 +18112,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  ECHO_C = @ECHO_C@
-@@ -481,6 +482,7 @@ LTLIBINTL = @LTLIBINTL@
+@@ -484,6 +485,7 @@ LTLIBINTL = @LTLIBINTL@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -18108,18 +18120,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  MKINSTALLDIRS = @MKINSTALLDIRS@
  MSGFMT = @MSGFMT@
+diff --git a/libctf/configure b/libctf/configure
+index 1b02c399dd9..27b87676942 100755
 --- a/libctf/configure
 +++ b/libctf/configure
-@@ -669,6 +669,8 @@ OTOOL
+@@ -669,7 +669,9 @@ OTOOL
  LIPO
  NMEDIT
  DSYMUTIL
 +MANIFEST_TOOL
+ LLVM_CONFIG
 +DLLTOOL
  OBJDUMP
  LN_S
  NM
-@@ -814,6 +816,7 @@ enable_shared
+@@ -815,6 +817,7 @@ enable_shared
  enable_static
  with_pic
  enable_fast_install
@@ -18127,7 +18142,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  enable_libtool_lock
  enable_largefile
  enable_werror_always
-@@ -1486,6 +1489,8 @@ Optional Packages:
+@@ -1487,6 +1490,8 @@ Optional Packages:
    --with-pic              try to use only PIC/non-PIC objects [default=use
                            both]
    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
@@ -18136,7 +18151,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    --with-system-zlib      use installed libz
  
  Some influential environment variables:
-@@ -7501,8 +7506,8 @@ esac
+@@ -7502,8 +7507,8 @@ esac
  
  
  
@@ -18147,7 +18162,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -7542,7 +7547,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -7543,7 +7548,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  $as_echo_n "checking how to print strings... " >&6; }
  # Test print first, because it will be a builtin if present.
@@ -18156,7 +18171,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    ECHO='print -r --'
  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -8235,8 +8240,8 @@ $as_echo_n "checking whether the shell u
+@@ -8236,8 +8241,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
  # Try some XSI features
  xsi_shell=no
  ( _lt_dummy="a/b/c"
@@ -18167,7 +18182,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      && eval 'test $(( 1 + 1 )) -eq 2 \
      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    && xsi_shell=yes
-@@ -8285,6 +8290,80 @@ esac
+@@ -8286,6 +8291,80 @@ esac
  
  
  
@@ -18248,7 +18263,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -8301,6 +8380,11 @@ case $reload_flag in
+@@ -8302,6 +8381,11 @@ case $reload_flag in
  esac
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  case $host_os in
@@ -18260,7 +18275,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    darwin*)
      if test "$GCC" = yes; then
        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -8469,7 +8553,8 @@ mingw* | pw32*)
+@@ -8470,7 +8554,8 @@ mingw* | pw32*)
      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
      lt_cv_file_magic_cmd='func_win32_libid'
    else
@@ -18270,7 +18285,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      lt_cv_file_magic_cmd='$OBJDUMP -f'
    fi
    ;;
-@@ -8628,6 +8713,21 @@ esac
+@@ -8629,6 +8714,21 @@ esac
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -18292,7 +18307,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -8643,6 +8743,157 @@ test -z "$deplibs_check_method" && depli
+@@ -8645,6 +8745,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  
@@ -18305,7 +18320,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
@@ -18447,12 +18461,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
- plugin_option=
- plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
- for plugin in $plugin_names; do
-@@ -8657,8 +8908,10 @@ for plugin in $plugin_names; do
- done
++
+ # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
+ # wrong plugin_option with clang.
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
+@@ -9026,9 +9277,12 @@ fi
+ plugin_option="$plugin_option"
  
+ fi
++
  if test -n "$ac_tool_prefix"; then
 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 -set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -18463,7 +18480,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_AR+:} false; then :
-@@ -8674,7 +8927,7 @@ do
+@@ -9044,7 +9298,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -18472,7 +18489,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -8694,11 +8947,15 @@ $as_echo "no" >&6; }
+@@ -9064,11 +9318,15 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -18491,7 +18508,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -8714,7 +8971,7 @@ do
+@@ -9084,7 +9342,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -18500,7 +18517,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -8733,6 +8990,10 @@ else
+@@ -9103,6 +9361,10 @@ else
  $as_echo "no" >&6; }
  fi
  
@@ -18511,7 +18528,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    if test "x$ac_ct_AR" = x; then
      AR="false"
    else
-@@ -8744,25 +9005,19 @@ ac_tool_warned=yes ;;
+@@ -9114,23 +9376,22 @@ ac_tool_warned=yes ;;
  esac
      AR=$ac_ct_AR
    fi
@@ -18521,32 +18538,35 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
+-      AR="$AR $plugin_option"
+-    fi
+-    ;;
+-  esac
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
 +  touch conftest.c
 +  $AR $plugin_option rc conftest.a conftest.c
 +  if test "$?" != 0; then
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
- $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
--    else
--      AR="$AR $plugin_option"
--    fi
--    rm -f conftest.*
++$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
 +  else
 +    AR="$AR $plugin_option"
-   fi
--fi
--test -z "$AR_FLAGS" && AR_FLAGS=cru
++  fi
 +  rm -f conftest.*
 +: ${AR=ar}
 +: ${AR_FLAGS=cru}
++
++
++
  
  
  
-@@ -8774,6 +9029,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+@@ -9139,6 +9400,61 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
  
  
  
@@ -18605,13 +18625,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
-+
-+
- if test -n "$ac_tool_prefix"; then
-   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
- set dummy ${ac_tool_prefix}strip; ac_word=$2
-@@ -9113,8 +9426,8 @@ esac
+
+
+
+@@ -9487,8 +9803,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -18622,7 +18639,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -9150,6 +9463,7 @@ for ac_symprfx in "" "_"; do
+@@ -9524,6 +9840,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -18630,7 +18647,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -9191,6 +9505,18 @@ _LT_EOF
+@@ -9565,6 +9882,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -18649,7 +18666,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -9202,7 +9528,7 @@ _LT_EOF
+@@ -9576,7 +9905,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -18658,7 +18675,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -9228,8 +9554,8 @@ static const void *lt_preloaded_setup()
+@@ -9602,8 +9931,8 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -18669,7 +18686,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -9239,8 +9565,8 @@ _LT_EOF
+@@ -9613,8 +9942,8 @@ _LT_EOF
    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
@@ -18680,7 +18697,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
-@@ -9277,6 +9603,20 @@ else
+@@ -9651,6 +9980,20 @@ else
  $as_echo "ok" >&6; }
  fi
  
@@ -18701,10 +18718,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -9296,6 +9636,41 @@ fi
+@@ -9667,6 +10010,41 @@ fi
  
  
  
++
++
++
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 +$as_echo_n "checking for sysroot... " >&6; }
 +
@@ -18737,13 +18757,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 +$as_echo "${lt_sysroot:-no}" >&6; }
-+
-+
-+
  
  
- # Check whether --enable-libtool-lock was given.
-@@ -9504,6 +9879,123 @@ esac
+
+@@ -9878,6 +10256,123 @@ esac
  
  need_locks="$enable_libtool_lock"
  
@@ -18867,7 +18884,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    case $host_os in
      rhapsody* | darwin*)
-@@ -10067,6 +10559,8 @@ _LT_EOF
+@@ -10441,6 +10936,8 @@ _LT_EOF
        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        echo "$AR cru libconftest.a conftest.o" >&5
        $AR cru libconftest.a conftest.o 2>&5
@@ -18876,7 +18893,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        cat > conftest.c << _LT_EOF
  int main() { return 0;}
  _LT_EOF
-@@ -10621,8 +11115,6 @@ fi
+@@ -10995,8 +11492,6 @@ fi
  lt_prog_compiler_pic=
  lt_prog_compiler_static=
  
@@ -18885,7 +18902,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if test "$GCC" = yes; then
      lt_prog_compiler_wl='-Wl,'
-@@ -10788,6 +11280,12 @@ $as_echo_n "checking for $compiler optio
+@@ -11162,6 +11657,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
@@ -18898,7 +18915,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -10850,7 +11348,7 @@ $as_echo_n "checking for $compiler optio
+@@ -11224,7 +11725,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
        case $cc_basename in
@@ -18907,7 +18924,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        lt_prog_compiler_wl='-Qoption ld ';;
        *)
        lt_prog_compiler_wl='-Wl,';;
-@@ -10907,13 +11405,17 @@ case $host_os in
+@@ -11281,13 +11782,17 @@ case $host_os in
      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
      ;;
  esac
@@ -18931,7 +18948,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -10974,6 +11476,11 @@ fi
+@@ -11348,6 +11853,11 @@ fi
  
  
  
@@ -18943,7 +18960,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -11324,7 +11831,8 @@ _LT_EOF
+@@ -11698,7 +12208,8 @@ _LT_EOF
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
@@ -18953,7 +18970,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -11423,12 +11931,12 @@ _LT_EOF
+@@ -11797,12 +12308,12 @@ _LT_EOF
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -18968,7 +18985,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -11442,8 +11950,8 @@ _LT_EOF
+@@ -11816,8 +12327,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -18979,7 +18996,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -11461,8 +11969,8 @@ _LT_EOF
+@@ -11835,8 +12346,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -18990,7 +19007,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -11508,8 +12016,8 @@ _LT_EOF
+@@ -11882,8 +12393,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -19001,7 +19018,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -11639,7 +12147,13 @@ _LT_EOF
+@@ -12013,7 +12524,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
@@ -19016,7 +19033,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -11652,22 +12166,29 @@ main ()
+@@ -12026,22 +12543,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -19059,7 +19076,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -11679,7 +12200,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -12053,7 +12577,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -19074,7 +19091,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -11692,22 +12219,29 @@ main ()
+@@ -12066,22 +12596,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -19117,7 +19134,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
-@@ -11752,20 +12286,63 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -12126,20 +12663,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -19195,7 +19212,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -11826,7 +12403,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -12200,7 +12780,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -19204,7 +19221,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
        hardcode_shlibpath_var=no
-@@ -11834,7 +12411,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -12208,7 +12788,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -19213,7 +19230,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -11850,7 +12427,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -12224,7 +12804,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -19222,7 +19239,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -11874,10 +12451,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -12248,10 +12828,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -19235,7 +19252,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -11956,23 +12533,36 @@ fi
+@@ -12330,23 +12910,36 @@ fi
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -19280,7 +19297,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -12057,7 +12647,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -12431,7 +13024,7 @@ rm -f core conftest.err conftest.$ac_objext \
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -19289,7 +19306,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        else
        allow_undefined_flag=' -expect_unresolved \*'
-@@ -12076,9 +12666,9 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -12450,9 +13043,9 @@ rm -f core conftest.err conftest.$ac_objext \
        no_undefined_flag=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -19301,7 +19318,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -12654,8 +13244,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -13028,8 +13621,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -19313,7 +19330,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -12688,13 +13279,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -13062,13 +13656,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -19386,16 +19403,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -13596,7 +14245,7 @@ else
+@@ -13970,7 +14622,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 13599 "configure"
+-#line 13973 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -13640,10 +14289,10 @@ else
+@@ -14014,10 +14666,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -19408,16 +19425,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -13702,7 +14351,7 @@ else
+@@ -14076,7 +14728,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 13705 "configure"
+-#line 14079 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -13746,10 +14395,10 @@ else
+@@ -14120,10 +14772,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -19430,7 +19447,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -17821,13 +18470,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
+@@ -14922,7 +15574,7 @@ lt_cl_version="\
+ libctf config.lt 1.2.0
+ configured by $0, generated by GNU Autoconf 2.69.
+
+-Copyright (C) 2009 Free Software Foundation, Inc.
++Copyright (C) 2010 Free Software Foundation, Inc.
+ This config.lt script is free software; the Free Software Foundation
+ gives unlimited permision to copy, distribute and modify it."
+
+@@ -14990,13 +15642,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -19451,7 +19477,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -17842,14 +18498,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
+@@ -15011,14 +15670,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -19470,7 +19496,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -17882,12 +18541,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
+@@ -15051,12 +15713,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -19484,7 +19510,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -17942,8 +18601,13 @@ reload_flag \
+@@ -15111,8 +15773,13 @@ reload_flag \
  OBJDUMP \
  deplibs_check_method \
  file_magic_cmd \
@@ -19498,7 +19524,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP \
  RANLIB \
  CC \
-@@ -17953,12 +18617,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -15122,12 +15789,14 @@ lt_cv_sys_global_symbol_pipe \
  lt_cv_sys_global_symbol_to_cdecl \
  lt_cv_sys_global_symbol_to_c_name_address \
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -19514,7 +19540,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL \
  NMEDIT \
  LIPO \
-@@ -17974,7 +18640,6 @@ no_undefined_flag \
+@@ -15143,7 +15812,6 @@ no_undefined_flag \
  hardcode_libdir_flag_spec \
  hardcode_libdir_flag_spec_ld \
  hardcode_libdir_separator \
@@ -19522,7 +19548,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms \
  include_expsyms \
  file_list_spec \
-@@ -18010,6 +18675,7 @@ module_cmds \
+@@ -15179,6 +15847,7 @@ module_cmds \
  module_expsym_cmds \
  export_symbols_cmds \
  prelink_cmds \
@@ -19530,7 +19556,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  postinstall_cmds \
  postuninstall_cmds \
  finish_cmds \
-@@ -18869,7 +19535,8 @@ $as_echo X"$file" |
+@@ -15239,7 +15908,8 @@ $as_echo "$as_me: creating $ofile" >&6;}
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -19540,7 +19566,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #   Written by Gordon Matzigkeit, 1996
  #
  #   This file is part of GNU Libtool.
-@@ -18972,19 +19639,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -15342,19 +16012,42 @@ SP2NL=$lt_lt_SP2NL
  # turn newlines into spaces.
  NL2SP=$lt_lt_NL2SP
  
@@ -19584,7 +19610,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # A symbol stripping program.
  STRIP=$lt_STRIP
  
-@@ -19014,6 +19704,12 @@ global_symbol_to_c_name_address=$lt_lt_c
+@@ -15384,6 +16077,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  # Transform the output of nm in a C name address pair when lib prefix is needed.
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  
@@ -19597,7 +19623,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # The name of the directory that contains temporary libtool files.
  objdir=$objdir
  
-@@ -19023,6 +19719,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -15393,6 +16092,9 @@ MAGIC_CMD=$MAGIC_CMD
  # Must we lock files when doing compilation?
  need_locks=$lt_need_locks
  
@@ -19607,7 +19633,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  DSYMUTIL=$lt_DSYMUTIL
  
-@@ -19137,12 +19836,12 @@ with_gcc=$GCC
+@@ -15507,12 +16209,12 @@ with_gcc=$GCC
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  
@@ -19623,7 +19649,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static
  
-@@ -19229,9 +19928,6 @@ inherit_rpath=$inherit_rpath
+@@ -15599,9 +16301,6 @@ inherit_rpath=$inherit_rpath
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs
  
@@ -19633,7 +19659,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols
  
-@@ -19247,6 +19943,9 @@ include_expsyms=$lt_include_expsyms
+@@ -15617,6 +16316,9 @@ include_expsyms=$lt_include_expsyms
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds
  
@@ -19643,7 +19669,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec
  
-@@ -19279,210 +19978,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -15649,210 +16351,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    # text mode, it properly converts lines to CR/LF.  This bash problem
    # is reportedly fixed, but why not run on old versions too?
@@ -19845,9 +19871,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -_LT_EOF
 -    ;;
 -  esac
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
 +  sed '$q' "$ltmain" >> "$cfgfile" \
 +     || (rm -f "$cfgfile"; exit 1)
++
 +  if test x"$xsi_shell" = xyes; then
 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 +func_dirname ()\
@@ -20005,150 +20037,739 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 +fi
--  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
--    || (rm -f "$cfgfile"; exit 1)
--  mv -f "$cfgfile" "$ofile" ||
++
++
 +   mv -f "$cfgfile" "$ofile" ||
      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    chmod +x "$ofile"
  
---- a/libsframe/Makefile.in
-+++ b/libsframe/Makefile.in
-@@ -404,6 +404,7 @@ CPPFLAGS = @CPPFLAGS@
- CYGPATH_W = @CYGPATH_W@
- DEFS = @DEFS@
- DEPDIR = @DEPDIR@
-+DLLTOOL = @DLLTOOL@
- DSYMUTIL = @DSYMUTIL@
- DUMPBIN = @DUMPBIN@
- ECHO_C = @ECHO_C@
-@@ -428,6 +429,7 @@ LN_S = @LN_S@
- LTLIBOBJS = @LTLIBOBJS@
- MAINT = @MAINT@
- MAKEINFO = @MAKEINFO@
-+MANIFEST_TOOL = @MANIFEST_TOOL@
- MKDIR_P = @MKDIR_P@
- NM = @NM@
- NMEDIT = @NMEDIT@
---- a/libsframe/configure
-+++ b/libsframe/configure
-@@ -658,6 +658,8 @@ OTOOL
- LIPO
- NMEDIT
- DSYMUTIL
-+MANIFEST_TOOL
-+DLLTOOL
- OBJDUMP
- LN_S
- NM
-@@ -777,6 +779,7 @@ enable_static
- with_pic
- enable_fast_install
- with_gnu_ld
-+with_libtool_sysroot
- enable_libtool_lock
- enable_largefile
- enable_maintainer_mode
-@@ -1433,6 +1436,8 @@ Optional Packages:
-   --with-pic              try to use only PIC/non-PIC objects [default=use
-                           both]
-   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
-+  --with-libtool-sysroot=DIR Search for dependent libraries within DIR
-+                        (or the compiler's sysroot if not specified).
- Some influential environment variables:
-   CC          C compiler command
-@@ -5468,8 +5473,8 @@ esac
--macro_version='2.2.7a'
--macro_revision='1.3134'
-+macro_version='2.4'
-+macro_revision='1.3293'
-@@ -5509,7 +5514,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
- $as_echo_n "checking how to print strings... " >&6; }
- # Test print first, because it will be a builtin if present.
--if test "X`print -r -- -n 2>/dev/null`" = X-n && \
-+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
-    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
-   ECHO='print -r --'
- elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -6202,8 +6207,8 @@ $as_echo_n "checking whether the shell u
- # Try some XSI features
- xsi_shell=no
- ( _lt_dummy="a/b/c"
--  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
--      = c,a/b,, \
-+  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
-+      = c,a/b,b/c, \
-     && eval 'test $(( 1 + 1 )) -eq 2 \
-     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
-   && xsi_shell=yes
-@@ -6252,6 +6257,80 @@ esac
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
-+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
-+if ${lt_cv_to_host_file_cmd+:} false; then :
-+  $as_echo_n "(cached) " >&6
-+else
-+  case $host in
-+  *-*-mingw* )
-+    case $build in
-+      *-*-mingw* ) # actually msys
-+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
-+        ;;
-+      *-*-cygwin* )
-+        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
-+        ;;
-+      * ) # otherwise, assume *nix
-+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
-+        ;;
-+    esac
-+    ;;
-+  *-*-cygwin* )
-+    case $build in
-+      *-*-mingw* ) # actually msys
-+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
-+        ;;
-+      *-*-cygwin* )
-+        lt_cv_to_host_file_cmd=func_convert_file_noop
-+        ;;
-+      * ) # otherwise, assume *nix
-+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
-+        ;;
-+    esac
-+    ;;
-+  * ) # unhandled hosts (and "normal" native builds)
-+    lt_cv_to_host_file_cmd=func_convert_file_noop
-+    ;;
-+esac
-+
-+fi
-+
-+to_host_file_cmd=$lt_cv_to_host_file_cmd
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
-+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
-+
-+
-+
-+
-+
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
-+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
-+if ${lt_cv_to_tool_file_cmd+:} false; then :
-+  $as_echo_n "(cached) " >&6
-+else
-+  #assume ordinary cross tools, or native build.
-+lt_cv_to_tool_file_cmd=func_convert_file_noop
+@@ -18195,13 +18856,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+ lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+ lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+ lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
++lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
++lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+ reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+ reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+ OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+ deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+ file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
++file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
++want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
++DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
++sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+ AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+ AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
++archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+ STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+ RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+ old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+@@ -18216,14 +18884,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+ lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+ lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
++nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
++lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+ objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+ MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+-lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
++lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+ lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+ need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
++MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+ DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+ NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+ LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+@@ -18256,12 +18927,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+ hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+ inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+ link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+-fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
+ always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+ export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+ exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+ include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+ prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
++postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+ file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+ variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+ need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+@@ -18316,8 +18987,13 @@ reload_flag \
+ OBJDUMP \
+ deplibs_check_method \
+ file_magic_cmd \
++file_magic_glob \
++want_nocaseglob \
++DLLTOOL \
++sharedlib_from_linklib_cmd \
+ AR \
+ AR_FLAGS \
++archiver_list_spec \
+ STRIP \
+ RANLIB \
+ CC \
+@@ -18327,12 +19003,14 @@ lt_cv_sys_global_symbol_pipe \
+ lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
++nm_file_list_spec \
+ lt_prog_compiler_no_builtin_flag \
+-lt_prog_compiler_wl \
+ lt_prog_compiler_pic \
++lt_prog_compiler_wl \
+ lt_prog_compiler_static \
+ lt_cv_prog_compiler_c_o \
+ need_locks \
++MANIFEST_TOOL \
+ DSYMUTIL \
+ NMEDIT \
+ LIPO \
+@@ -18348,7 +19026,6 @@ no_undefined_flag \
+ hardcode_libdir_flag_spec \
+ hardcode_libdir_flag_spec_ld \
+ hardcode_libdir_separator \
+-fix_srcfile_path \
+ exclude_expsyms \
+ include_expsyms \
+ file_list_spec \
+@@ -18384,6 +19061,7 @@ module_cmds \
+ module_expsym_cmds \
+ export_symbols_cmds \
+ prelink_cmds \
++postlink_cmds \
+ postinstall_cmds \
+ postuninstall_cmds \
+ finish_cmds \
+@@ -19243,7 +19921,8 @@ $as_echo X"$file" |
+ # NOTE: Changes made to this file will be lost: look at ltmain.sh.
+ #
+ #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+-#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
++#                 Inc.
+ #   Written by Gordon Matzigkeit, 1996
+ #
+ #   This file is part of GNU Libtool.
+@@ -19346,19 +20025,42 @@ SP2NL=$lt_lt_SP2NL
+ # turn newlines into spaces.
+ NL2SP=$lt_lt_NL2SP
+
++# convert \$build file names to \$host format.
++to_host_file_cmd=$lt_cv_to_host_file_cmd
++
++# convert \$build files to toolchain format.
++to_tool_file_cmd=$lt_cv_to_tool_file_cmd
++
+ # An object symbol dumper.
+ OBJDUMP=$lt_OBJDUMP
+
+ # Method to check whether dependent libraries are shared objects.
+ deplibs_check_method=$lt_deplibs_check_method
+
+-# Command to use when deplibs_check_method == "file_magic".
++# Command to use when deplibs_check_method = "file_magic".
+ file_magic_cmd=$lt_file_magic_cmd
+
++# How to find potential files when deplibs_check_method = "file_magic".
++file_magic_glob=$lt_file_magic_glob
++
++# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
++want_nocaseglob=$lt_want_nocaseglob
++
++# DLL creation program.
++DLLTOOL=$lt_DLLTOOL
++
++# Command to associate shared and link libraries.
++sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
++
+ # The archiver.
+ AR=$lt_AR
++
++# Flags to create an archive.
+ AR_FLAGS=$lt_AR_FLAGS
+
++# How to feed a file listing to the archiver.
++archiver_list_spec=$lt_archiver_list_spec
++
+ # A symbol stripping program.
+ STRIP=$lt_STRIP
+
+@@ -19388,6 +20090,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+ # Transform the output of nm in a C name address pair when lib prefix is needed.
+ global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
+
++# Specify filename containing input files for \$NM.
++nm_file_list_spec=$lt_nm_file_list_spec
++
++# The root where to search for dependent libraries,and in which our libraries should be installed.
++lt_sysroot=$lt_sysroot
++
+ # The name of the directory that contains temporary libtool files.
+ objdir=$objdir
+
+@@ -19397,6 +20105,9 @@ MAGIC_CMD=$MAGIC_CMD
+ # Must we lock files when doing compilation?
+ need_locks=$lt_need_locks
+
++# Manifest tool.
++MANIFEST_TOOL=$lt_MANIFEST_TOOL
++
+ # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+ DSYMUTIL=$lt_DSYMUTIL
+
+@@ -19511,12 +20222,12 @@ with_gcc=$GCC
+ # Compiler flag to turn off builtin functions.
+ no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+-# How to pass a linker flag through the compiler.
+-wl=$lt_lt_prog_compiler_wl
+-
+ # Additional compiler flags for building library objects.
+ pic_flag=$lt_lt_prog_compiler_pic
+
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl
++
+ # Compiler flag to prevent dynamic linking.
+ link_static_flag=$lt_lt_prog_compiler_static
+
+@@ -19603,9 +20314,6 @@ inherit_rpath=$inherit_rpath
+ # Whether libtool must link a program against all its dependency libraries.
+ link_all_deplibs=$link_all_deplibs
+
+-# Fix the shell variable \$srcfile for the compiler.
+-fix_srcfile_path=$lt_fix_srcfile_path
+-
+ # Set to "yes" if exported symbols are required.
+ always_export_symbols=$always_export_symbols
+
+@@ -19621,6 +20329,9 @@ include_expsyms=$lt_include_expsyms
+ # Commands necessary for linking programs (against libraries) with templates.
+ prelink_cmds=$lt_prelink_cmds
+
++# Commands necessary for finishing linking programs.
++postlink_cmds=$lt_postlink_cmds
++
+ # Specify filename containing input files.
+ file_list_spec=$lt_file_list_spec
+
+@@ -19653,210 +20364,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
+   # text mode, it properly converts lines to CR/LF.  This bash problem
+   # is reportedly fixed, but why not run on old versions too?
+-  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  case $xsi_shell in
+-  yes)
+-    cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_dirname file append nondir_replacement
+-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
+-# otherwise set result to NONDIR_REPLACEMENT.
+-func_dirname ()
+-{
+-  case ${1} in
+-    */*) func_dirname_result="${1%/*}${2}" ;;
+-    *  ) func_dirname_result="${3}" ;;
+-  esac
+-}
+-
+-# func_basename file
+-func_basename ()
+-{
+-  func_basename_result="${1##*/}"
+-}
+-
+-# func_dirname_and_basename file append nondir_replacement
+-# perform func_basename and func_dirname in a single function
+-# call:
+-#   dirname:  Compute the dirname of FILE.  If nonempty,
+-#             add APPEND to the result, otherwise set result
+-#             to NONDIR_REPLACEMENT.
+-#             value returned in "$func_dirname_result"
+-#   basename: Compute filename of FILE.
+-#             value retuned in "$func_basename_result"
+-# Implementation must be kept synchronized with func_dirname
+-# and func_basename. For efficiency, we do not delegate to
+-# those functions but instead duplicate the functionality here.
+-func_dirname_and_basename ()
+-{
+-  case ${1} in
+-    */*) func_dirname_result="${1%/*}${2}" ;;
+-    *  ) func_dirname_result="${3}" ;;
+-  esac
+-  func_basename_result="${1##*/}"
+-}
+-
+-# func_stripname prefix suffix name
+-# strip PREFIX and SUFFIX off of NAME.
+-# PREFIX and SUFFIX must not contain globbing or regex special
+-# characters, hashes, percent signs, but SUFFIX may contain a leading
+-# dot (in which case that matches only a dot).
+-func_stripname ()
+-{
+-  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+-  # positional parameters, so assign one to ordinary parameter first.
+-  func_stripname_result=${3}
+-  func_stripname_result=${func_stripname_result#"${1}"}
+-  func_stripname_result=${func_stripname_result%"${2}"}
+-}
+-
+-# func_opt_split
+-func_opt_split ()
+-{
+-  func_opt_split_opt=${1%%=*}
+-  func_opt_split_arg=${1#*=}
+-}
+-
+-# func_lo2o object
+-func_lo2o ()
+-{
+-  case ${1} in
+-    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
+-    *)    func_lo2o_result=${1} ;;
+-  esac
+-}
+-
+-# func_xform libobj-or-source
+-func_xform ()
+-{
+-  func_xform_result=${1%.*}.lo
+-}
+-
+-# func_arith arithmetic-term...
+-func_arith ()
+-{
+-  func_arith_result=$(( $* ))
+-}
+-
+-# func_len string
+-# STRING may not start with a hyphen.
+-func_len ()
+-{
+-  func_len_result=${#1}
+-}
+-
+-_LT_EOF
+-    ;;
+-  *) # Bourne compatible functions.
+-    cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_dirname file append nondir_replacement
+-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
+-# otherwise set result to NONDIR_REPLACEMENT.
+-func_dirname ()
+-{
+-  # Extract subdirectory from the argument.
+-  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
+-  if test "X$func_dirname_result" = "X${1}"; then
+-    func_dirname_result="${3}"
+-  else
+-    func_dirname_result="$func_dirname_result${2}"
+-  fi
+-}
+-
+-# func_basename file
+-func_basename ()
+-{
+-  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
+-}
+-
+-
+-# func_stripname prefix suffix name
+-# strip PREFIX and SUFFIX off of NAME.
+-# PREFIX and SUFFIX must not contain globbing or regex special
+-# characters, hashes, percent signs, but SUFFIX may contain a leading
+-# dot (in which case that matches only a dot).
+-# func_strip_suffix prefix name
+-func_stripname ()
+-{
+-  case ${2} in
+-    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+-    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+-  esac
+-}
+-
+-# sed scripts:
+-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
+-my_sed_long_arg='1s/^-[^=]*=//'
+-
+-# func_opt_split
+-func_opt_split ()
+-{
+-  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
+-  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
+-}
+-
+-# func_lo2o object
+-func_lo2o ()
+-{
+-  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
+-}
+-
+-# func_xform libobj-or-source
+-func_xform ()
+-{
+-  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
+-}
+-
+-# func_arith arithmetic-term...
+-func_arith ()
+-{
+-  func_arith_result=`expr "$@"`
+-}
+-
+-# func_len string
+-# STRING may not start with a hyphen.
+-func_len ()
+-{
+-  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
+-}
+-
+-_LT_EOF
+-esac
+-
+-case $lt_shell_append in
+-  yes)
+-    cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_append var value
+-# Append VALUE to the end of shell variable VAR.
+-func_append ()
+-{
+-  eval "$1+=\$2"
+-}
+-_LT_EOF
+-    ;;
+-  *)
+-    cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_append var value
+-# Append VALUE to the end of shell variable VAR.
+-func_append ()
+-{
+-  eval "$1=\$$1\$2"
+-}
+-
+-_LT_EOF
+-    ;;
+-  esac
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
++  sed '$q' "$ltmain" >> "$cfgfile" \
++     || (rm -f "$cfgfile"; exit 1)
++
++  if test x"$xsi_shell" = xyes; then
++  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
++func_dirname ()\
++{\
++\    case ${1} in\
++\      */*) func_dirname_result="${1%/*}${2}" ;;\
++\      *  ) func_dirname_result="${3}" ;;\
++\    esac\
++} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
++  && mv -f "$cfgfile.tmp" "$cfgfile" \
++    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++  sed -e '/^func_basename ()$/,/^} # func_basename /c\
++func_basename ()\
++{\
++\    func_basename_result="${1##*/}"\
++} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
++  && mv -f "$cfgfile.tmp" "$cfgfile" \
++    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
++func_dirname_and_basename ()\
++{\
++\    case ${1} in\
++\      */*) func_dirname_result="${1%/*}${2}" ;;\
++\      *  ) func_dirname_result="${3}" ;;\
++\    esac\
++\    func_basename_result="${1##*/}"\
++} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
++  && mv -f "$cfgfile.tmp" "$cfgfile" \
++    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
++func_stripname ()\
++{\
++\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
++\    # positional parameters, so assign one to ordinary parameter first.\
++\    func_stripname_result=${3}\
++\    func_stripname_result=${func_stripname_result#"${1}"}\
++\    func_stripname_result=${func_stripname_result%"${2}"}\
++} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
++  && mv -f "$cfgfile.tmp" "$cfgfile" \
++    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
++func_split_long_opt ()\
++{\
++\    func_split_long_opt_name=${1%%=*}\
++\    func_split_long_opt_arg=${1#*=}\
++} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
++  && mv -f "$cfgfile.tmp" "$cfgfile" \
++    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
++func_split_short_opt ()\
++{\
++\    func_split_short_opt_arg=${1#??}\
++\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
++} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
++  && mv -f "$cfgfile.tmp" "$cfgfile" \
++    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
++func_lo2o ()\
++{\
++\    case ${1} in\
++\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
++\      *)    func_lo2o_result=${1} ;;\
++\    esac\
++} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
++  && mv -f "$cfgfile.tmp" "$cfgfile" \
++    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++  sed -e '/^func_xform ()$/,/^} # func_xform /c\
++func_xform ()\
++{\
++    func_xform_result=${1%.*}.lo\
++} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
++  && mv -f "$cfgfile.tmp" "$cfgfile" \
++    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++  sed -e '/^func_arith ()$/,/^} # func_arith /c\
++func_arith ()\
++{\
++    func_arith_result=$(( $* ))\
++} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
++  && mv -f "$cfgfile.tmp" "$cfgfile" \
++    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++  sed -e '/^func_len ()$/,/^} # func_len /c\
++func_len ()\
++{\
++    func_len_result=${#1}\
++} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
++  && mv -f "$cfgfile.tmp" "$cfgfile" \
++    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++fi
++
++if test x"$lt_shell_append" = xyes; then
++  sed -e '/^func_append ()$/,/^} # func_append /c\
++func_append ()\
++{\
++    eval "${1}+=\\${2}"\
++} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
++  && mv -f "$cfgfile.tmp" "$cfgfile" \
++    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
++func_append_quoted ()\
++{\
++\    func_quote_for_eval "${2}"\
++\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
++} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
++  && mv -f "$cfgfile.tmp" "$cfgfile" \
++    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++  # Save a `func_append' function call where possible by direct use of '+='
++  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
++    && mv -f "$cfgfile.tmp" "$cfgfile" \
++      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++  test 0 -eq $? || _lt_function_replace_fail=:
++else
++  # Save a `func_append' function call even when '+=' is not available
++  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
++    && mv -f "$cfgfile.tmp" "$cfgfile" \
++      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++  test 0 -eq $? || _lt_function_replace_fail=:
++fi
++
++if test x"$_lt_function_replace_fail" = x":"; then
++  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
++$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
++fi
++
++
++   mv -f "$cfgfile" "$ofile" ||
+     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+   chmod +x "$ofile"
+
+diff --git a/libsframe/Makefile.in b/libsframe/Makefile.in
+index bd61638262b..0bd1e1dda90 100644
+--- a/libsframe/Makefile.in
++++ b/libsframe/Makefile.in
+@@ -428,6 +428,7 @@ CPPFLAGS = @CPPFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -453,6 +454,7 @@ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ NM = @NM@
+ NMEDIT = @NMEDIT@
+diff --git a/libsframe/configure b/libsframe/configure
+index 5f7604e48d7..f4d00a68ea3 100755
+--- a/libsframe/configure
++++ b/libsframe/configure
+@@ -658,7 +658,9 @@ OTOOL
+ LIPO
+ NMEDIT
+ DSYMUTIL
++MANIFEST_TOOL
+ LLVM_CONFIG
++DLLTOOL
+ OBJDUMP
+ LN_S
+ NM
+@@ -778,6 +780,7 @@ enable_static
+ with_pic
+ enable_fast_install
+ with_gnu_ld
++with_libtool_sysroot
+ enable_libtool_lock
+ enable_largefile
+ enable_maintainer_mode
+@@ -1434,6 +1437,8 @@ Optional Packages:
+   --with-pic              try to use only PIC/non-PIC objects [default=use
+                           both]
+   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
++  --with-libtool-sysroot=DIR Search for dependent libraries within DIR
++                        (or the compiler's sysroot if not specified).
+
+ Some influential environment variables:
+   CC          C compiler command
+@@ -5469,8 +5474,8 @@ esac
+
+
+
+-macro_version='2.2.7a'
+-macro_revision='1.3134'
++macro_version='2.4'
++macro_revision='1.3293'
+
+
+
+@@ -5510,7 +5515,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+ $as_echo_n "checking how to print strings... " >&6; }
+ # Test print first, because it will be a builtin if present.
+-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
++if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+   ECHO='print -r --'
+ elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+@@ -6203,8 +6208,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+ # Try some XSI features
+ xsi_shell=no
+ ( _lt_dummy="a/b/c"
+-  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
+-      = c,a/b,, \
++  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
++      = c,a/b,b/c, \
+     && eval 'test $(( 1 + 1 )) -eq 2 \
+     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
+   && xsi_shell=yes
+@@ -6253,6 +6258,80 @@ esac
+
+
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
++$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
++if ${lt_cv_to_host_file_cmd+:} false; then :
++  $as_echo_n "(cached) " >&6
++else
++  case $host in
++  *-*-mingw* )
++    case $build in
++      *-*-mingw* ) # actually msys
++        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
++        ;;
++      *-*-cygwin* )
++        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
++        ;;
++      * ) # otherwise, assume *nix
++        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
++        ;;
++    esac
++    ;;
++  *-*-cygwin* )
++    case $build in
++      *-*-mingw* ) # actually msys
++        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
++        ;;
++      *-*-cygwin* )
++        lt_cv_to_host_file_cmd=func_convert_file_noop
++        ;;
++      * ) # otherwise, assume *nix
++        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
++        ;;
++    esac
++    ;;
++  * ) # unhandled hosts (and "normal" native builds)
++    lt_cv_to_host_file_cmd=func_convert_file_noop
++    ;;
++esac
++
++fi
++
++to_host_file_cmd=$lt_cv_to_host_file_cmd
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
++$as_echo "$lt_cv_to_host_file_cmd" >&6; }
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
++$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
++if ${lt_cv_to_tool_file_cmd+:} false; then :
++  $as_echo_n "(cached) " >&6
++else
++  #assume ordinary cross tools, or native build.
++lt_cv_to_tool_file_cmd=func_convert_file_noop
 +case $host in
 +  *-*-mingw* )
 +    case $build in
@@ -20172,7 +20793,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -6268,6 +6347,11 @@ case $reload_flag in
+@@ -6269,6 +6348,11 @@ case $reload_flag in
  esac
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  case $host_os in
@@ -20184,7 +20805,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    darwin*)
      if test "$GCC" = yes; then
        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -6436,7 +6520,8 @@ mingw* | pw32*)
+@@ -6437,7 +6521,8 @@ mingw* | pw32*)
      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
      lt_cv_file_magic_cmd='func_win32_libid'
    else
@@ -20194,7 +20815,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      lt_cv_file_magic_cmd='$OBJDUMP -f'
    fi
    ;;
-@@ -6595,6 +6680,21 @@ esac
+@@ -6596,6 +6681,21 @@ esac
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -20216,7 +20837,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -6610,6 +6710,157 @@ test -z "$deplibs_check_method" && depli
+@@ -6612,6 +6712,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  
@@ -20229,7 +20850,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
@@ -20371,12 +20991,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
- plugin_option=
- plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
- for plugin in $plugin_names; do
-@@ -6624,8 +6875,10 @@ for plugin in $plugin_names; do
- done
++
+ # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
+ # wrong plugin_option with clang.
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
+@@ -6993,9 +7244,12 @@ fi
+ plugin_option="$plugin_option"
  
+ fi
++
  if test -n "$ac_tool_prefix"; then
 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 -set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -20387,7 +21010,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_AR+:} false; then :
-@@ -6641,7 +6894,7 @@ do
+@@ -7011,7 +7265,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -20396,7 +21019,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -6661,11 +6914,15 @@ $as_echo "no" >&6; }
+@@ -7031,11 +7285,15 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -20415,7 +21038,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -6681,7 +6938,7 @@ do
+@@ -7051,7 +7309,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -20424,7 +21047,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -6700,6 +6957,10 @@ else
+@@ -7070,6 +7328,10 @@ else
  $as_echo "no" >&6; }
  fi
  
@@ -20435,7 +21058,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    if test "x$ac_ct_AR" = x; then
      AR="false"
    else
-@@ -6711,29 +6972,81 @@ ac_tool_warned=yes ;;
+@@ -7081,23 +7343,20 @@ ac_tool_warned=yes ;;
  esac
      AR=$ac_ct_AR
    fi
@@ -20445,39 +21068,36 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
+-      AR="$AR $plugin_option"
+-    fi
+-    ;;
+-  esac
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
 +  touch conftest.c
 +  $AR $plugin_option rc conftest.a conftest.c
 +  if test "$?" != 0; then
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
- $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
--    else
--      AR="$AR $plugin_option"
--    fi
--    rm -f conftest.*
++$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
 +  else
 +    AR="$AR $plugin_option"
-   fi
--fi
--test -z "$AR_FLAGS" && AR_FLAGS=cru
++  fi
 +  rm -f conftest.*
 +: ${AR=ar}
 +: ${AR_FLAGS=cru}
 +
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
+
+
+
+@@ -7108,6 +7367,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
+
+
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 +$as_echo_n "checking for archiver @FILE support... " >&6; }
 +if ${lt_cv_ar_at_file+:} false; then :
@@ -20490,7 +21110,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +int
 +main ()
 +{
++
 +  ;
 +  return 0;
 +}
@@ -20516,23 +21136,29 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +        fi
 +      fi
 +      rm -f conftest.* libconftest.a
++
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 +$as_echo "$lt_cv_ar_at_file" >&6; }
++
 +if test "x$lt_cv_ar_at_file" = xno; then
 +  archiver_list_spec=
 +else
 +  archiver_list_spec=$lt_cv_ar_at_file
 +fi
++
++
++
++
++
++
  
-@@ -7080,8 +7393,8 @@ esac
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+@@ -7454,8 +7770,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -20543,7 +21169,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -7117,6 +7430,7 @@ for ac_symprfx in "" "_"; do
+@@ -7491,6 +7807,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -20551,7 +21177,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -7158,6 +7472,18 @@ _LT_EOF
+@@ -7532,6 +7849,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -20570,7 +21196,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -7169,7 +7495,7 @@ _LT_EOF
+@@ -7543,7 +7872,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -20579,7 +21205,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -7195,8 +7521,8 @@ static const void *lt_preloaded_setup()
+@@ -7569,8 +7898,8 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -20590,7 +21216,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -7206,8 +7532,8 @@ _LT_EOF
+@@ -7580,8 +7909,8 @@ _LT_EOF
    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
@@ -20601,7 +21227,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
-@@ -7244,6 +7570,13 @@ else
+@@ -7618,6 +7947,13 @@ else
  $as_echo "ok" >&6; }
  fi
  
@@ -20615,7 +21241,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -7265,6 +7598,48 @@ fi
+@@ -7637,6 +7973,48 @@ fi
  
  
  
@@ -20624,6 +21250,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
++
++
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 +$as_echo_n "checking for sysroot... " >&6; }
 +
@@ -20659,15 +21287,59 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
-+
- # Check whether --enable-libtool-lock was given.
- if test "${enable_libtool_lock+set}" = set; then :
-   enableval=$enable_libtool_lock;
-@@ -7471,6 +7846,123 @@ esac
  
- need_locks="$enable_libtool_lock"
  
+ # Check whether --enable-libtool-lock was given.
+@@ -7800,50 +8178,167 @@ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+   lt_cv_cc_needs_belf=yes
+ else
+-  lt_cv_cc_needs_belf=no
++  lt_cv_cc_needs_belf=no
++fi
++rm -f core conftest.err conftest.$ac_objext \
++    conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
++$as_echo "$lt_cv_cc_needs_belf" >&6; }
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++sparc*-*solaris*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++  test $ac_status = 0; }; then
++    case `/usr/bin/file conftest.o` in
++    *64-bit*)
++      case $lt_cv_prog_gnu_ld in
++      yes*) LD="${LD-ld} -m elf64_sparc" ;;
++      *)
++      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
++        LD="${LD-ld} -64"
++      fi
++      ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++esac
++
++need_locks="$enable_libtool_lock"
++
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}mt; ac_word=$2
@@ -20743,8 +21415,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +else
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 +$as_echo "no" >&6; }
-+fi
-+
+ fi
+-rm -f core conftest.err conftest.$ac_objext \
+-    conftest$ac_exeext conftest.$ac_ext
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+-$as_echo "$lt_cv_cc_needs_belf" >&6; }
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 +    MANIFEST_TOOL=":"
 +  else
@@ -20755,7 +21440,28 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +ac_tool_warned=yes ;;
 +esac
 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
-+  fi
+   fi
+-  ;;
+-sparc*-*solaris*)
+-  # Find out which ABI we are using.
+-  echo 'int i;' > conftest.$ac_ext
+-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+-  test $ac_status = 0; }; then
+-    case `/usr/bin/file conftest.o` in
+-    *64-bit*)
+-      case $lt_cv_prog_gnu_ld in
+-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
+-      *)
+-      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+-        LD="${LD-ld} -64"
+-      fi
+-      ;;
+-      esac
+-      ;;
+-    esac
 +else
 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 +fi
@@ -20772,7 +21478,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  cat conftest.err >&5
 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 +    lt_cv_path_mainfest_tool=yes
-+  fi
+   fi
+-  rm -rf conftest*
+-  ;;
+-esac
 +  rm -f conftest*
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
@@ -20783,12 +21492,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
-+
+
+-need_locks="$enable_libtool_lock"
+
  
    case $host_os in
-     rhapsody* | darwin*)
-@@ -8034,6 +8526,8 @@ _LT_EOF
+@@ -8408,6 +8903,8 @@ _LT_EOF
        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        echo "$AR cru libconftest.a conftest.o" >&5
        $AR cru libconftest.a conftest.o 2>&5
@@ -20797,7 +21506,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        cat > conftest.c << _LT_EOF
  int main() { return 0;}
  _LT_EOF
-@@ -8588,8 +9082,6 @@ fi
+@@ -8962,8 +9459,6 @@ fi
  lt_prog_compiler_pic=
  lt_prog_compiler_static=
  
@@ -20806,7 +21515,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if test "$GCC" = yes; then
      lt_prog_compiler_wl='-Wl,'
-@@ -8755,6 +9247,12 @@ $as_echo_n "checking for $compiler optio
+@@ -9129,6 +9624,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
@@ -20819,7 +21528,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -8817,7 +9315,7 @@ $as_echo_n "checking for $compiler optio
+@@ -9191,7 +9692,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
        case $cc_basename in
@@ -20828,7 +21537,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        lt_prog_compiler_wl='-Qoption ld ';;
        *)
        lt_prog_compiler_wl='-Wl,';;
-@@ -8874,13 +9372,17 @@ case $host_os in
+@@ -9248,13 +9749,17 @@ case $host_os in
      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
      ;;
  esac
@@ -20852,7 +21561,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -8941,6 +9443,11 @@ fi
+@@ -9315,6 +9820,11 @@ fi
  
  
  
@@ -20864,7 +21573,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -9291,7 +9798,8 @@ _LT_EOF
+@@ -9665,7 +10175,8 @@ _LT_EOF
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
@@ -20874,7 +21583,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -9390,12 +9898,12 @@ _LT_EOF
+@@ -9764,12 +10275,12 @@ _LT_EOF
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -20889,7 +21598,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -9409,8 +9917,8 @@ _LT_EOF
+@@ -9783,8 +10294,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -20900,7 +21609,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -9428,8 +9936,8 @@ _LT_EOF
+@@ -9802,8 +10313,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -20911,7 +21620,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -9475,8 +9983,8 @@ _LT_EOF
+@@ -9849,8 +10360,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -20922,7 +21631,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -9606,7 +10114,13 @@ _LT_EOF
+@@ -9980,7 +10491,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
@@ -20937,7 +21646,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -9619,22 +10133,29 @@ main ()
+@@ -9993,22 +10510,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -20980,7 +21689,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -9646,7 +10167,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10020,7 +10544,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -20995,7 +21704,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -9659,22 +10186,29 @@ main ()
+@@ -10033,22 +10563,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -21038,7 +21747,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
-@@ -9719,20 +10253,63 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10093,20 +10630,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -21116,7 +21825,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -9793,7 +10370,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10167,7 +10747,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -21125,7 +21834,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
        hardcode_shlibpath_var=no
-@@ -9801,7 +10378,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10175,7 +10755,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -21134,7 +21843,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -9817,7 +10394,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10191,7 +10771,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -21143,7 +21852,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -9841,10 +10418,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -10215,10 +10795,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -21156,7 +21865,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -9923,23 +10500,36 @@ fi
+@@ -10297,23 +10877,36 @@ fi
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -21201,7 +21910,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -10024,7 +10614,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -10398,7 +10991,7 @@ rm -f core conftest.err conftest.$ac_objext \
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -21210,7 +21919,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        else
        allow_undefined_flag=' -expect_unresolved \*'
-@@ -10043,9 +10633,9 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -10417,9 +11010,9 @@ rm -f core conftest.err conftest.$ac_objext \
        no_undefined_flag=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -21222,7 +21931,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -10621,8 +11211,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10995,8 +11588,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -21234,7 +21943,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -10655,13 +11246,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -11029,13 +11623,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -21307,16 +22016,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -11563,7 +12212,7 @@ else
+@@ -11937,7 +12589,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11566 "configure"
+-#line 11940 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -11607,10 +12256,10 @@ else
+@@ -11981,10 +12633,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -21329,16 +22038,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -11669,7 +12318,7 @@ else
+@@ -12043,7 +12695,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11672 "configure"
+-#line 12046 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -11713,10 +12362,10 @@ else
+@@ -12087,10 +12739,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -21351,7 +22060,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -13579,13 +14228,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
+@@ -13953,13 +14605,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -21372,7 +22081,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -13600,14 +14256,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
+@@ -13974,14 +14633,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -21391,7 +22100,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -13640,12 +14299,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
+@@ -14014,12 +14676,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -21405,7 +22114,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -13700,8 +14359,13 @@ reload_flag \
+@@ -14074,8 +14736,13 @@ reload_flag \
  OBJDUMP \
  deplibs_check_method \
  file_magic_cmd \
@@ -21419,7 +22128,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP \
  RANLIB \
  CC \
-@@ -13711,12 +14375,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -14085,12 +14752,14 @@ lt_cv_sys_global_symbol_pipe \
  lt_cv_sys_global_symbol_to_cdecl \
  lt_cv_sys_global_symbol_to_c_name_address \
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -21435,7 +22144,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL \
  NMEDIT \
  LIPO \
-@@ -13732,7 +14398,6 @@ no_undefined_flag \
+@@ -14106,7 +14775,6 @@ no_undefined_flag \
  hardcode_libdir_flag_spec \
  hardcode_libdir_flag_spec_ld \
  hardcode_libdir_separator \
@@ -21443,7 +22152,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms \
  include_expsyms \
  file_list_spec \
-@@ -13768,6 +14433,7 @@ module_cmds \
+@@ -14142,6 +14810,7 @@ module_cmds \
  module_expsym_cmds \
  export_symbols_cmds \
  prelink_cmds \
@@ -21451,7 +22160,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  postinstall_cmds \
  postuninstall_cmds \
  finish_cmds \
-@@ -14524,7 +15190,8 @@ $as_echo X"$file" |
+@@ -14898,7 +15567,8 @@ $as_echo X"$file" |
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -21461,7 +22170,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #   Written by Gordon Matzigkeit, 1996
  #
  #   This file is part of GNU Libtool.
-@@ -14627,19 +15294,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -15001,19 +15671,42 @@ SP2NL=$lt_lt_SP2NL
  # turn newlines into spaces.
  NL2SP=$lt_lt_NL2SP
  
@@ -21505,7 +22214,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # A symbol stripping program.
  STRIP=$lt_STRIP
  
-@@ -14669,6 +15359,12 @@ global_symbol_to_c_name_address=$lt_lt_c
+@@ -15043,6 +15736,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  # Transform the output of nm in a C name address pair when lib prefix is needed.
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  
@@ -21518,7 +22227,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # The name of the directory that contains temporary libtool files.
  objdir=$objdir
  
-@@ -14678,6 +15374,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -15052,6 +15751,9 @@ MAGIC_CMD=$MAGIC_CMD
  # Must we lock files when doing compilation?
  need_locks=$lt_need_locks
  
@@ -21528,7 +22237,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  DSYMUTIL=$lt_DSYMUTIL
  
-@@ -14792,12 +15491,12 @@ with_gcc=$GCC
+@@ -15166,12 +15868,12 @@ with_gcc=$GCC
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  
@@ -21544,7 +22253,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static
  
-@@ -14884,9 +15583,6 @@ inherit_rpath=$inherit_rpath
+@@ -15258,9 +15960,6 @@ inherit_rpath=$inherit_rpath
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs
  
@@ -21554,7 +22263,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols
  
-@@ -14902,6 +15598,9 @@ include_expsyms=$lt_include_expsyms
+@@ -15276,6 +15975,9 @@ include_expsyms=$lt_include_expsyms
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds
  
@@ -21564,7 +22273,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec
  
-@@ -14934,210 +15633,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -15308,210 +16010,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    # text mode, it properly converts lines to CR/LF.  This bash problem
    # is reportedly fixed, but why not run on old versions too?
@@ -21766,9 +22475,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -_LT_EOF
 -    ;;
 -  esac
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
 +  sed '$q' "$ltmain" >> "$cfgfile" \
 +     || (rm -f "$cfgfile"; exit 1)
++
 +  if test x"$xsi_shell" = xyes; then
 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 +func_dirname ()\
@@ -21926,15 +22641,14 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 +fi
--  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
--    || (rm -f "$cfgfile"; exit 1)
--  mv -f "$cfgfile" "$ofile" ||
++
++
 +   mv -f "$cfgfile" "$ofile" ||
      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    chmod +x "$ofile"
  
+diff --git a/libtool.m4 b/libtool.m4
+index 074c49ea9f1..f7d1813e838 100644
 --- a/libtool.m4
 +++ b/libtool.m4
 @@ -1,7 +1,8 @@
@@ -21966,7 +22680,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  # LT_PREREQ(VERSION)
-@@ -166,10 +168,13 @@ _LT_DECL([], [exeext], [0], [Executable
+@@ -166,10 +168,13 @@ _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
  dnl
  m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  m4_require([_LT_CHECK_SHELL_FEATURES])dnl
@@ -21980,7 +22694,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  _LT_CONFIG_LIBTOOL_INIT([
  # See if we are running on zsh, and set the options which allow our
-@@ -632,7 +637,7 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_
+@@ -632,7 +637,7 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  configured by $[0], generated by m4_PACKAGE_STRING.
  
@@ -22085,7 +22799,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    ECHO='print -r --'
  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -1163,6 +1178,39 @@ _LT_DECL([], [ECHO], [1], [An echo progr
+@@ -1163,6 +1178,39 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
  ])# _LT_PROG_ECHO_BACKSLASH
  
  
@@ -22095,7 +22809,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +[AC_MSG_CHECKING([for sysroot])
 +AC_ARG_WITH([libtool-sysroot],
 +[  --with-libtool-sysroot[=DIR] Search for dependent libraries within DIR
-+                        (or the compiler's sysroot if not specified).],
++                      (or the compiler's sysroot if not specified).],
 +[], [with_libtool_sysroot=no])
 +
 +dnl lt_sysroot will always be passed unquoted.  We quote it here
@@ -22125,7 +22839,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # _LT_ENABLE_LOCK
  # ---------------
  m4_defun([_LT_ENABLE_LOCK],
-@@ -1322,6 +1370,51 @@ need_locks="$enable_libtool_lock"
+@@ -1322,6 +1370,50 @@ need_locks="$enable_libtool_lock"
  ])# _LT_ENABLE_LOCK
  
  
@@ -22157,8 +22871,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +      rm -f conftest.$ac_objext libconftest.a
 +      AC_TRY_EVAL([lt_ar_try])
 +      if test "$ac_status" -ne 0; then
-+          lt_cv_ar_at_file=@
-+        fi
++        lt_cv_ar_at_file=@
++      fi
 +      fi
 +      rm -f conftest.* libconftest.a
 +     ])
@@ -22172,37 +22886,36 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +_LT_DECL([], [archiver_list_spec], [1],
 +  [How to feed a file listing to the archiver])
 +])# _LT_PROG_AR
-+
 +
  # _LT_CMD_OLD_ARCHIVE
  # -------------------
  m4_defun([_LT_CMD_OLD_ARCHIVE],
-@@ -1338,23 +1431,7 @@ for plugin in $plugin_names; do
-   fi
- done
+@@ -1334,22 +1426,8 @@ if test -n "$plugin_file"; then
+ else
+   GCC_PLUGIN_OPTION(plugin_option)
+ fi
 -AC_CHECK_TOOL(AR, ar, false)
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      AC_MSG_WARN([Failed: $AR $plugin_option rc])
--    else
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
 -      AR="$AR $plugin_option"
 -    fi
--    rm -f conftest.*
--  fi
+-    ;;
+-  esac
 -fi
 -test -z "$AR_FLAGS" && AR_FLAGS=cru
 -_LT_DECL([], [AR], [1], [The archiver])
 -_LT_DECL([], [AR_FLAGS], [1])
++
 +_LT_PROG_AR
  
  AC_CHECK_TOOL(STRIP, strip, :)
  test -z "$STRIP" && STRIP=:
-@@ -1655,7 +1732,7 @@ else
+@@ -1656,7 +1734,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
@@ -22211,7 +22924,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -1699,10 +1776,10 @@ else
+@@ -1700,10 +1778,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -22224,7 +22937,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -2242,8 +2319,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -2243,8 +2321,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -22236,7 +22949,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -2276,13 +2354,71 @@ m4_if([$1], [],[
+@@ -2277,13 +2356,71 @@ m4_if([$1], [],[
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -22256,10 +22969,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +      IFS=';'
 +      for lt_path in $LIB
 +      do
-+        IFS=$lt_save_ifs
-+        # Let DOS variable expansion print the short 8.3 style file name.
-+        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
-+        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
++      IFS=$lt_save_ifs
++      # Let DOS variable expansion print the short 8.3 style file name.
++      lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
++      sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 +      done
 +      IFS=$lt_save_ifs
 +      # Convert to MSYS style.
@@ -22276,10 +22989,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +    *)
 +      sys_lib_search_path_spec="$LIB"
 +      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
-+        # It is most probably a Windows format PATH.
-+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++      # It is most probably a Windows format PATH.
++      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 +      else
-+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 +      fi
 +      # FIXME: find the short name or the path components, as spaces are
 +      # common. (e.g. "Program Files" -> "PROGRA~1")
@@ -22309,7 +23022,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -2996,6 +3132,11 @@ case $reload_flag in
+@@ -2997,6 +3134,11 @@ case $reload_flag in
  esac
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  case $host_os in
@@ -22321,7 +23034,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    darwin*)
      if test "$GCC" = yes; then
        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -3062,7 +3203,8 @@ mingw* | pw32*)
+@@ -3063,7 +3205,8 @@ mingw* | pw32*)
      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
      lt_cv_file_magic_cmd='func_win32_libid'
    else
@@ -22331,7 +23044,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      lt_cv_file_magic_cmd='$OBJDUMP -f'
    fi
    ;;
-@@ -3218,6 +3360,21 @@ vxworks*)
+@@ -3219,6 +3362,21 @@ vxworks*)
    ;;
  esac
  ])
@@ -22353,7 +23066,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -3225,7 +3382,11 @@ test -z "$deplibs_check_method" && depli
+@@ -3226,7 +3384,11 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  _LT_DECL([], [deplibs_check_method], [1],
      [Method to check whether dependent libraries are shared objects])
  _LT_DECL([], [file_magic_cmd], [1],
@@ -22366,7 +23079,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ])# _LT_CHECK_MAGIC_METHOD
  
  
-@@ -3336,6 +3497,67 @@ dnl aclocal-1.4 backwards compatibility:
+@@ -3337,6 +3499,67 @@ dnl aclocal-1.4 backwards compatibility:
  dnl AC_DEFUN([AM_PROG_NM], [])
  dnl AC_DEFUN([AC_PROG_NM], [])
  
@@ -22434,7 +23147,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # LT_LIB_M
  # --------
-@@ -3462,8 +3684,8 @@ esac
+@@ -3463,8 +3686,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -22445,7 +23158,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -3499,6 +3721,7 @@ for ac_symprfx in "" "_"; do
+@@ -3500,6 +3723,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[   ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -22453,7 +23166,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -3532,6 +3755,18 @@ _LT_EOF
+@@ -3533,6 +3757,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -22472,7 +23185,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -3543,7 +3778,7 @@ _LT_EOF
+@@ -3544,7 +3780,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -22481,7 +23194,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -3569,15 +3804,15 @@ static const void *lt_preloaded_setup()
+@@ -3570,15 +3806,15 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -22501,7 +23214,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
        fi
-@@ -3610,6 +3845,13 @@ else
+@@ -3611,6 +3847,13 @@ else
    AC_MSG_RESULT(ok)
  fi
  
@@ -22515,7 +23228,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
      [Take the output of nm and produce a listing of raw symbols and C names])
  _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
-@@ -3620,6 +3862,8 @@ _LT_DECL([global_symbol_to_c_name_addres
+@@ -3621,6 +3864,8 @@ _LT_DECL([global_symbol_to_c_name_address],
  _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
      [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
      [Transform the output of nm in a C name address pair when lib prefix is needed])
@@ -22524,7 +23237,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ]) # _LT_CMD_GLOBAL_SYMBOLS
  
  
-@@ -3631,7 +3875,6 @@ _LT_TAGVAR(lt_prog_compiler_wl, $1)=
+@@ -3632,7 +3877,6 @@ _LT_TAGVAR(lt_prog_compiler_wl, $1)=
  _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  _LT_TAGVAR(lt_prog_compiler_static, $1)=
  
@@ -22532,7 +23245,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  m4_if([$1], [CXX], [
    # C++ specific cases for pic, static, wl, etc.
    if test "$GXX" = yes; then
-@@ -3737,6 +3980,12 @@ m4_if([$1], [CXX], [
+@@ -3738,6 +3982,12 @@ m4_if([$1], [CXX], [
          ;;
        esac
        ;;
@@ -22545,7 +23258,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        dgux*)
        case $cc_basename in
          ec++*)
-@@ -3889,7 +4138,7 @@ m4_if([$1], [CXX], [
+@@ -3890,7 +4140,7 @@ m4_if([$1], [CXX], [
        ;;
        solaris*)
        case $cc_basename in
@@ -22554,7 +23267,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
            # Sun C++ 4.2, 5.x and Centerline C++
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-@@ -4112,6 +4361,12 @@ m4_if([$1], [CXX], [
+@@ -4113,6 +4363,12 @@ m4_if([$1], [CXX], [
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
        _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
        ;;
@@ -22567,7 +23280,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -4174,7 +4429,7 @@ m4_if([$1], [CXX], [
+@@ -4175,7 +4431,7 @@ m4_if([$1], [CXX], [
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
        case $cc_basename in
@@ -22576,7 +23289,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
        *)
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
-@@ -4231,9 +4486,11 @@ case $host_os in
+@@ -4232,9 +4488,11 @@ case $host_os in
      _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
      ;;
  esac
@@ -22591,7 +23304,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -4252,6 +4509,8 @@ fi
+@@ -4253,6 +4511,8 @@ fi
  _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
        [Additional compiler flags for building library objects])
  
@@ -22600,7 +23313,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -4272,6 +4531,7 @@ _LT_TAGDECL([link_static_flag], [lt_prog
+@@ -4273,6 +4533,7 @@ _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
  m4_defun([_LT_LINKER_SHLIBS],
  [AC_REQUIRE([LT_PATH_LD])dnl
  AC_REQUIRE([LT_PATH_NM])dnl
@@ -22608,7 +23321,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  m4_require([_LT_DECL_EGREP])dnl
  m4_require([_LT_DECL_SED])dnl
-@@ -4280,6 +4540,7 @@ m4_require([_LT_TAG_COMPILER])dnl
+@@ -4281,6 +4542,7 @@ m4_require([_LT_TAG_COMPILER])dnl
  AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  m4_if([$1], [CXX], [
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
@@ -22616,7 +23329,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    case $host_os in
    aix[[4-9]]*)
      # If we're using GNU nm, then we don't want the "-C" option.
-@@ -4294,15 +4555,20 @@ m4_if([$1], [CXX], [
+@@ -4295,15 +4557,20 @@ m4_if([$1], [CXX], [
      ;;
    pw32*)
      _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
@@ -22642,7 +23355,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ], [
    runpath_var=
    _LT_TAGVAR(allow_undefined_flag, $1)=
-@@ -4470,7 +4736,8 @@ _LT_EOF
+@@ -4471,7 +4738,8 @@ _LT_EOF
        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
        _LT_TAGVAR(always_export_symbols, $1)=no
        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
@@ -22652,7 +23365,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -4569,12 +4836,12 @@ _LT_EOF
+@@ -4570,12 +4838,12 @@ _LT_EOF
          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
          _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
@@ -22667,7 +23380,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -4588,8 +4855,8 @@ _LT_EOF
+@@ -4589,8 +4857,8 @@ _LT_EOF
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -22678,7 +23391,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -4607,8 +4874,8 @@ _LT_EOF
+@@ -4608,8 +4876,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -22689,7 +23402,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        _LT_TAGVAR(ld_shlibs, $1)=no
        fi
-@@ -4654,8 +4921,8 @@ _LT_EOF
+@@ -4655,8 +4923,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -22700,16 +23413,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        _LT_TAGVAR(ld_shlibs, $1)=no
        fi
-@@ -4785,7 +5052,7 @@ _LT_EOF
+@@ -4786,7 +5054,7 @@ _LT_EOF
        _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
 -        _LT_SYS_MODULE_PATH_AIX
-+        _LT_SYS_MODULE_PATH_AIX([$1])
++      _LT_SYS_MODULE_PATH_AIX([$1])
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
        else
-@@ -4796,7 +5063,7 @@ _LT_EOF
+@@ -4797,7 +5065,7 @@ _LT_EOF
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -22718,7 +23431,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
          # -berok will link without error, but may produce a broken library.
-@@ -4840,20 +5107,63 @@ _LT_EOF
+@@ -4841,20 +5109,63 @@ _LT_EOF
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -22796,7 +23509,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -4887,7 +5197,7 @@ _LT_EOF
+@@ -4888,7 +5199,7 @@ _LT_EOF
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -22805,7 +23518,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
        _LT_TAGVAR(hardcode_direct, $1)=yes
        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-@@ -4895,7 +5205,7 @@ _LT_EOF
+@@ -4896,7 +5207,7 @@ _LT_EOF
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -22814,7 +23527,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -4911,7 +5221,7 @@ _LT_EOF
+@@ -4912,7 +5223,7 @@ _LT_EOF
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -22823,7 +23536,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -4935,10 +5245,10 @@ _LT_EOF
+@@ -4936,10 +5247,10 @@ _LT_EOF
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -22836,7 +23549,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -4985,16 +5295,31 @@ _LT_EOF
+@@ -4986,16 +5297,31 @@ _LT_EOF
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -22858,7 +23571,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 +         AC_LINK_IFELSE(
 +           [AC_LANG_SOURCE(
-+              [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
++              [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
 +                            [C++], [[int foo (void) { return 0; }]],
 +                            [Fortran 77], [[
 +      subroutine foo
@@ -22868,14 +23581,14 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +      end]])])],
 +            [lt_cv_irix_exported_symbol=yes],
 +            [lt_cv_irix_exported_symbol=no])
-+           LDFLAGS="$save_LDFLAGS"])
++         LDFLAGS="$save_LDFLAGS"])
 +      if test "$lt_cv_irix_exported_symbol" = yes; then
-+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
++        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 +      fi
        else
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -5079,7 +5404,7 @@ _LT_EOF
+@@ -5080,7 +5406,7 @@ _LT_EOF
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
@@ -22884,7 +23597,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
        else
        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-@@ -5098,9 +5423,9 @@ _LT_EOF
+@@ -5099,9 +5425,9 @@ _LT_EOF
        _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -22896,7 +23609,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -5372,8 +5697,6 @@ _LT_TAGDECL([], [inherit_rpath], [0],
+@@ -5373,8 +5699,6 @@ _LT_TAGDECL([], [inherit_rpath], [0],
      to runtime path list])
  _LT_TAGDECL([], [link_all_deplibs], [0],
      [Whether libtool must link a program against all its dependency libraries])
@@ -22905,7 +23618,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  _LT_TAGDECL([], [always_export_symbols], [0],
      [Set to "yes" if exported symbols are required])
  _LT_TAGDECL([], [export_symbols_cmds], [2],
-@@ -5384,6 +5707,8 @@ _LT_TAGDECL([], [include_expsyms], [1],
+@@ -5385,6 +5709,8 @@ _LT_TAGDECL([], [include_expsyms], [1],
      [Symbols that must always be exported])
  _LT_TAGDECL([], [prelink_cmds], [2],
      [Commands necessary for linking programs (against libraries) with templates])
@@ -22914,7 +23627,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  _LT_TAGDECL([], [file_list_spec], [1],
      [Specify filename containing input files])
  dnl FIXME: Not yet implemented
-@@ -5485,6 +5810,7 @@ CC="$lt_save_CC"
+@@ -5486,6 +5812,7 @@ CC="$lt_save_CC"
  m4_defun([_LT_LANG_CXX_CONFIG],
  [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  m4_require([_LT_DECL_EGREP])dnl
@@ -22922,7 +23635,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
      ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
      (test "X$CXX" != "Xg++"))) ; then
-@@ -5546,6 +5872,7 @@ if test "$_lt_caught_CXX_error" != yes;
+@@ -5547,6 +5874,7 @@ if test "$_lt_caught_CXX_error" != yes; then
  
    # Allow CC to be a program name with arguments.
    lt_save_CC=$CC
@@ -22930,7 +23643,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    lt_save_LD=$LD
    lt_save_GCC=$GCC
    GCC=$GXX
-@@ -5563,6 +5890,7 @@ if test "$_lt_caught_CXX_error" != yes;
+@@ -5564,6 +5892,7 @@ if test "$_lt_caught_CXX_error" != yes; then
    fi
    test -z "${LDCXX+set}" || LD=$LDCXX
    CC=${CXX-"c++"}
@@ -22938,16 +23651,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    compiler=$CC
    _LT_TAGVAR(compiler, $1)=$CC
    _LT_CC_BASENAME([$compiler])
-@@ -5726,7 +6054,7 @@ if test "$_lt_caught_CXX_error" != yes;
+@@ -5727,7 +6056,7 @@ if test "$_lt_caught_CXX_error" != yes; then
            _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
            # Determine the default libpath from the value encoded in an empty
            # executable.
 -          _LT_SYS_MODULE_PATH_AIX
-+          _LT_SYS_MODULE_PATH_AIX([$1])
++        _LT_SYS_MODULE_PATH_AIX([$1])
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  
            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -5738,7 +6066,7 @@ if test "$_lt_caught_CXX_error" != yes;
+@@ -5739,7 +6068,7 @@ if test "$_lt_caught_CXX_error" != yes; then
            else
            # Determine the default libpath from the value encoded in an
            # empty executable.
@@ -22956,7 +23669,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
            # Warning - without using the other run time loading flags,
            # -berok will link without error, but may produce a broken library.
-@@ -5780,29 +6108,75 @@ if test "$_lt_caught_CXX_error" != yes;
+@@ -5781,29 +6110,75 @@ if test "$_lt_caught_CXX_error" != yes; then
          ;;
  
        cygwin* | mingw* | pw32* | cegcc*)
@@ -23055,71 +23768,71 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        darwin* | rhapsody*)
          _LT_DARWIN_LINKER_FEATURES($1)
        ;;
-@@ -5877,7 +6251,7 @@ if test "$_lt_caught_CXX_error" != yes;
+@@ -5878,7 +6253,7 @@ if test "$_lt_caught_CXX_error" != yes; then
              ;;
            *)
              if test "$GXX" = yes; then
 -              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
-+              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
              else
                # FIXME: insert proper C++ library support
                _LT_TAGVAR(ld_shlibs, $1)=no
-@@ -5948,10 +6322,10 @@ if test "$_lt_caught_CXX_error" != yes;
+@@ -5949,10 +6324,10 @@ if test "$_lt_caught_CXX_error" != yes; then
                    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                    ;;
                  ia64*)
 -                  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
-+                  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++                  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                    ;;
                  *)
 -                  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
-+                  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++                  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                    ;;
                esac
              fi
-@@ -5992,9 +6366,9 @@ if test "$_lt_caught_CXX_error" != yes;
+@@ -5993,9 +6368,9 @@ if test "$_lt_caught_CXX_error" != yes; then
            *)
            if test "$GXX" = yes; then
              if test "$with_gnu_ld" = no; then
 -              _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-+              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
              else
 -              _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
-+              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
++              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
              fi
            fi
            _LT_TAGVAR(link_all_deplibs, $1)=yes
-@@ -6272,7 +6646,7 @@ if test "$_lt_caught_CXX_error" != yes;
+@@ -6273,7 +6648,7 @@ if test "$_lt_caught_CXX_error" != yes; then
                  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                  ;;
                *)
 -                _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-+                _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++                _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                  ;;
              esac
  
-@@ -6318,7 +6692,7 @@ if test "$_lt_caught_CXX_error" != yes;
+@@ -6319,7 +6694,7 @@ if test "$_lt_caught_CXX_error" != yes; then
  
        solaris*)
          case $cc_basename in
 -          CC*)
-+          CC* | sunCC*)
++        CC* | sunCC*)
            # Sun C++ 4.2, 5.x and Centerline C++
              _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
            _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
-@@ -6359,9 +6733,9 @@ if test "$_lt_caught_CXX_error" != yes;
+@@ -6360,9 +6735,9 @@ if test "$_lt_caught_CXX_error" != yes; then
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
              _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 -              _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
-+              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 -                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 +                $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  
                # Commands to make compiler produce verbose output that lists
                # what "hidden" libraries, object files and flags are used when
-@@ -6491,6 +6865,7 @@ if test "$_lt_caught_CXX_error" != yes;
+@@ -6492,6 +6867,7 @@ if test "$_lt_caught_CXX_error" != yes; then
    fi # test -n "$compiler"
  
    CC=$lt_save_CC
@@ -23127,7 +23840,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    LDCXX=$LD
    LD=$lt_save_LD
    GCC=$lt_save_GCC
-@@ -6505,6 +6880,29 @@ AC_LANG_POP
+@@ -6506,6 +6882,29 @@ AC_LANG_POP
  ])# _LT_LANG_CXX_CONFIG
  
  
@@ -23157,7 +23870,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
  # ---------------------------------
  # Figure out "hidden" library dependencies from verbose
-@@ -6513,6 +6911,7 @@ AC_LANG_POP
+@@ -6514,6 +6913,7 @@ AC_LANG_POP
  # objects, libraries and library flags.
  m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
  [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
@@ -23165,7 +23878,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Dependencies to place before and after the object being linked:
  _LT_TAGVAR(predep_objects, $1)=
  _LT_TAGVAR(postdep_objects, $1)=
-@@ -6563,6 +6962,13 @@ public class foo {
+@@ -6564,6 +6964,13 @@ public class foo {
  };
  _LT_EOF
  ])
@@ -23179,7 +23892,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  dnl Parse the compiler output and extract the necessary
  dnl objects, libraries and library flags.
  if AC_TRY_EVAL(ac_compile); then
-@@ -6574,7 +6980,7 @@ if AC_TRY_EVAL(ac_compile); then
+@@ -6575,7 +6982,7 @@ if AC_TRY_EVAL(ac_compile); then
    pre_test_object_deps_done=no
  
    for p in `eval "$output_verbose_link_cmd"`; do
@@ -23188,7 +23901,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
      -L* | -R* | -l*)
         # Some compilers place space between "-{L,R}" and the path.
-@@ -6583,13 +6989,22 @@ if AC_TRY_EVAL(ac_compile); then
+@@ -6584,13 +6991,22 @@ if AC_TRY_EVAL(ac_compile); then
            test $p = "-R"; then
         prev=$p
         continue
@@ -23196,26 +23909,26 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -       prev=
         fi
  
+-       if test "$pre_test_object_deps_done" = no; then
 +       # Expand the sysroot to ease extracting the directories later.
 +       if test -z "$prev"; then
-+         case $p in
-+         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
-+         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
-+         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
-+         esac
+        case $p in
+-       -L* | -R*)
++       -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
++       -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
++       -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
++       esac
 +       fi
 +       case $p in
 +       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 +       esac
-        if test "$pre_test_object_deps_done" = no; then
--       case $p in
--       -L* | -R*)
++       if test "$pre_test_object_deps_done" = no; then
 +       case ${prev} in
 +       -L | -R)
           # Internal compiler library paths should come after those
           # provided the user.  The postdeps already come after the
           # user supplied libs so there is no need to process them.
-@@ -6609,8 +7024,10 @@ if AC_TRY_EVAL(ac_compile); then
+@@ -6610,8 +7026,10 @@ if AC_TRY_EVAL(ac_compile); then
           _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
         fi
         fi
@@ -23226,7 +23939,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      *.$objext)
         # This assumes that the test object file only shows up
         # once in the compiler output.
-@@ -6646,6 +7063,7 @@ else
+@@ -6647,6 +7065,7 @@ else
  fi
  
  $RM -f confest.$objext
@@ -23234,7 +23947,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # PORTME: override above test on systems where it is broken
  m4_if([$1], [CXX],
-@@ -6682,7 +7100,7 @@ linux*)
+@@ -6683,7 +7102,7 @@ linux*)
  
  solaris*)
    case $cc_basename in
@@ -23243,7 +23956,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      # The more standards-conforming stlport4 library is
      # incompatible with the Cstd library. Avoid specifying
      # it if it's in CXXFLAGS. Ignore libCrun as
-@@ -6795,7 +7213,9 @@ if test "$_lt_disable_F77" != yes; then
+@@ -6796,7 +7215,9 @@ if test "$_lt_disable_F77" != yes; then
    # Allow CC to be a program name with arguments.
    lt_save_CC="$CC"
    lt_save_GCC=$GCC
@@ -23253,7 +23966,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    compiler=$CC
    _LT_TAGVAR(compiler, $1)=$CC
    _LT_CC_BASENAME([$compiler])
-@@ -6849,6 +7269,7 @@ if test "$_lt_disable_F77" != yes; then
+@@ -6850,6 +7271,7 @@ if test "$_lt_disable_F77" != yes; then
  
    GCC=$lt_save_GCC
    CC="$lt_save_CC"
@@ -23261,7 +23974,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  fi # test "$_lt_disable_F77" != yes
  
  AC_LANG_POP
-@@ -6925,7 +7346,9 @@ if test "$_lt_disable_FC" != yes; then
+@@ -6926,7 +7348,9 @@ if test "$_lt_disable_FC" != yes; then
    # Allow CC to be a program name with arguments.
    lt_save_CC="$CC"
    lt_save_GCC=$GCC
@@ -23271,7 +23984,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    compiler=$CC
    GCC=$ac_cv_fc_compiler_gnu
  
-@@ -6981,7 +7404,8 @@ if test "$_lt_disable_FC" != yes; then
+@@ -6982,7 +7406,8 @@ if test "$_lt_disable_FC" != yes; then
    fi # test -n "$compiler"
  
    GCC=$lt_save_GCC
@@ -23281,7 +23994,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  fi # test "$_lt_disable_FC" != yes
  
  AC_LANG_POP
-@@ -7018,10 +7442,12 @@ _LT_COMPILER_BOILERPLATE
+@@ -7019,10 +7444,12 @@ _LT_COMPILER_BOILERPLATE
  _LT_LINKER_BOILERPLATE
  
  # Allow CC to be a program name with arguments.
@@ -23295,7 +24008,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  compiler=$CC
  _LT_TAGVAR(compiler, $1)=$CC
  _LT_TAGVAR(LD, $1)="$LD"
-@@ -7052,7 +7478,8 @@ fi
+@@ -7053,7 +7480,8 @@ fi
  AC_LANG_RESTORE
  
  GCC=$lt_save_GCC
@@ -23305,7 +24018,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ])# _LT_LANG_GCJ_CONFIG
  
  
-@@ -7087,9 +7514,11 @@ _LT_LINKER_BOILERPLATE
+@@ -7088,9 +7516,11 @@ _LT_LINKER_BOILERPLATE
  
  # Allow CC to be a program name with arguments.
  lt_save_CC="$CC"
@@ -23317,7 +24030,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  compiler=$CC
  _LT_TAGVAR(compiler, $1)=$CC
  _LT_CC_BASENAME([$compiler])
-@@ -7102,7 +7531,8 @@ fi
+@@ -7103,7 +7533,8 @@ fi
  
  GCC=$lt_save_GCC
  AC_LANG_RESTORE
@@ -23327,7 +24040,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ])# _LT_LANG_RC_CONFIG
  
  
-@@ -7161,6 +7591,15 @@ _LT_DECL([], [OBJDUMP], [1], [An object
+@@ -7162,6 +7593,15 @@ _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
  AC_SUBST([OBJDUMP])
  ])
  
@@ -23343,7 +24056,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # _LT_DECL_SED
  # ------------
-@@ -7254,8 +7693,8 @@ m4_defun([_LT_CHECK_SHELL_FEATURES],
+@@ -7255,8 +7695,8 @@ m4_defun([_LT_CHECK_SHELL_FEATURES],
  # Try some XSI features
  xsi_shell=no
  ( _lt_dummy="a/b/c"
@@ -23354,7 +24067,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      && eval 'test $(( 1 + 1 )) -eq 2 \
      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    && xsi_shell=yes
-@@ -7294,206 +7733,162 @@ _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn
+@@ -7295,206 +7735,162 @@ _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
  ])# _LT_CHECK_SHELL_FEATURES
  
  
@@ -23452,31 +24165,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -{
 -  func_len_result=${#1}
 -}
--
--_LT_EOF
--    ;;
--  *) # Bourne compatible functions.
--    cat << \_LT_EOF >> "$cfgfile"
--
--# func_dirname file append nondir_replacement
--# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
--# otherwise set result to NONDIR_REPLACEMENT.
--func_dirname ()
--{
--  # Extract subdirectory from the argument.
--  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
--  if test "X$func_dirname_result" = "X${1}"; then
--    func_dirname_result="${3}"
--  else
--    func_dirname_result="$func_dirname_result${2}"
--  fi
--}
--
--# func_basename file
--func_basename ()
--{
--  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
--}
 +# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
 +# ------------------------------------------------------
 +# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
@@ -23493,22 +24181,23 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +test 0 -eq $? || _lt_function_replace_fail=:
 +])
  
--dnl func_dirname_and_basename
--dnl A portable version of this function is already defined in general.m4sh
--dnl so there is no need for it here.
+-_LT_EOF
+-    ;;
+-  *) # Bourne compatible functions.
+-    cat << \_LT_EOF >> "$cfgfile"
  
--# func_stripname prefix suffix name
--# strip PREFIX and SUFFIX off of NAME.
--# PREFIX and SUFFIX must not contain globbing or regex special
--# characters, hashes, percent signs, but SUFFIX may contain a leading
--# dot (in which case that matches only a dot).
--# func_strip_suffix prefix name
--func_stripname ()
+-# func_dirname file append nondir_replacement
+-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
+-# otherwise set result to NONDIR_REPLACEMENT.
+-func_dirname ()
 -{
--  case ${2} in
--    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
--    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
--  esac
+-  # Extract subdirectory from the argument.
+-  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
+-  if test "X$func_dirname_result" = "X${1}"; then
+-    func_dirname_result="${3}"
+-  else
+-    func_dirname_result="$func_dirname_result${2}"
+-  fi
 -}
 +# _LT_PROG_REPLACE_SHELLFNS
 +# -------------------------
@@ -23532,24 +24221,45 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +    esac
 +    func_basename_result="${1##*/}"])
  
--# sed scripts:
--my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
--my_sed_long_arg='1s/^-[[^=]]*=//'
+-# func_basename file
+-func_basename ()
+-{
+-  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
+-}
 +  _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
 +    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 +    # positional parameters, so assign one to ordinary parameter first.
 +    func_stripname_result=${3}
 +    func_stripname_result=${func_stripname_result#"${1}"}
 +    func_stripname_result=${func_stripname_result%"${2}"}])
-+
+
+-dnl func_dirname_and_basename
+-dnl A portable version of this function is already defined in general.m4sh
+-dnl so there is no need for it here.
 +  _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
 +    func_split_long_opt_name=${1%%=*}
 +    func_split_long_opt_arg=${1#*=}])
-+
+
+-# func_stripname prefix suffix name
+-# strip PREFIX and SUFFIX off of NAME.
+-# PREFIX and SUFFIX must not contain globbing or regex special
+-# characters, hashes, percent signs, but SUFFIX may contain a leading
+-# dot (in which case that matches only a dot).
+-# func_strip_suffix prefix name
+-func_stripname ()
+-{
+-  case ${2} in
+-    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+-    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+-  esac
+-}
 +  _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
 +    func_split_short_opt_arg=${1#??}
 +    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
-+
+
+-# sed scripts:
+-my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
+-my_sed_long_arg='1s/^-[[^=]]*=//'
 +  _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
 +    case ${1} in
 +      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
@@ -23597,7 +24307,9 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +    func_quote_for_eval "${2}"
 +dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
 +    eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
-+
+
+-_LT_EOF
+-esac
 +  # Save a `func_append' function call where possible by direct use of '+='
 +  sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
@@ -23611,17 +24323,14 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  test 0 -eq $? || _lt_function_replace_fail=:
 +fi
  
--_LT_EOF
--esac
+-case $lt_shell_append in
+-  yes)
+-    cat << \_LT_EOF >> "$cfgfile"
 +if test x"$_lt_function_replace_fail" = x":"; then
 +  AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
 +fi
 +])
  
--case $lt_shell_append in
--  yes)
--    cat << \_LT_EOF >> "$cfgfile"
--
 -# func_append var value
 -# Append VALUE to the end of shell variable VAR.
 -func_append ()
@@ -23643,14 +24352,14 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  *-*-mingw* )
 +    case $build in
 +      *-*-mingw* ) # actually msys
-+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
-+        ;;
++      lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
++      ;;
 +      *-*-cygwin* )
-+        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
-+        ;;
++      lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
++      ;;
 +      * ) # otherwise, assume *nix
-+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
-+        ;;
++      lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
++      ;;
 +    esac
      ;;
 -  *)
@@ -23667,14 +24376,14 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  *-*-cygwin* )
 +    case $build in
 +      *-*-mingw* ) # actually msys
-+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
-+        ;;
++      lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
++      ;;
 +      *-*-cygwin* )
-+        lt_cv_to_host_file_cmd=func_convert_file_noop
-+        ;;
++      lt_cv_to_host_file_cmd=func_convert_file_noop
++      ;;
 +      * ) # otherwise, assume *nix
-+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
-+        ;;
++      lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
++      ;;
 +    esac
      ;;
 -  esac
@@ -23686,7 +24395,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +to_host_file_cmd=$lt_cv_to_host_file_cmd
 +AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
 +_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
-+         [0], [convert $build file names to $host format])dnl
++       [0], [convert $build file names to $host format])dnl
 +
 +AC_MSG_CHECKING([how to convert $build file names to toolchain format])
 +AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
@@ -23696,8 +24405,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  *-*-mingw* )
 +    case $build in
 +      *-*-mingw* ) # actually msys
-+        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
-+        ;;
++      lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
++      ;;
 +    esac
 +    ;;
 +esac
@@ -23705,8 +24414,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 +AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
 +_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
-+         [0], [convert $build files to toolchain format])dnl
++       [0], [convert $build files to toolchain format])dnl
 +])# _LT_PATH_CONVERSION_FUNCTIONS
+diff --git a/ltmain.sh b/ltmain.sh
+index 1a710177fb2..09693d7b99b 100644
 --- a/ltmain.sh
 +++ b/ltmain.sh
 @@ -1,10 +1,9 @@
@@ -24138,7 +24849,31 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +$progname: of $PACKAGE $VERSION and run autoconf again.
 +_LT_EOF
 +    fi
-+
+
+-  # Shorthand for --mode=foo, only valid as the first argument
+-  case $1 in
+-  clean|clea|cle|cl)
+-    shift; set dummy --mode clean ${1+"$@"}; shift
+-    ;;
+-  compile|compil|compi|comp|com|co|c)
+-    shift; set dummy --mode compile ${1+"$@"}; shift
+-    ;;
+-  execute|execut|execu|exec|exe|ex|e)
+-    shift; set dummy --mode execute ${1+"$@"}; shift
+-    ;;
+-  finish|finis|fini|fin|fi|f)
+-    shift; set dummy --mode finish ${1+"$@"}; shift
+-    ;;
+-  install|instal|insta|inst|ins|in|i)
+-    shift; set dummy --mode install ${1+"$@"}; shift
+-    ;;
+-  link|lin|li|l)
+-    shift; set dummy --mode link ${1+"$@"}; shift
+-    ;;
+-  uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
+-    shift; set dummy --mode uninstall ${1+"$@"}; shift
+-    ;;
+-  esac
 +    exit $EXIT_MISMATCH
 +  fi
 +}
@@ -24168,7 +24903,9 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  shift; set dummy --mode uninstall ${1+"$@"}; shift
 +  ;;
 +esac
-+
+
+-  # Parse non-mode specific arguments:
+-  while test "$#" -gt 0; do
 +
 +
 +# Option defaults:
@@ -24184,34 +24921,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +opt_verbose=:
 +opt_silent=false
 +opt_verbose=false
--  # Shorthand for --mode=foo, only valid as the first argument
--  case $1 in
--  clean|clea|cle|cl)
--    shift; set dummy --mode clean ${1+"$@"}; shift
--    ;;
--  compile|compil|compi|comp|com|co|c)
--    shift; set dummy --mode compile ${1+"$@"}; shift
--    ;;
--  execute|execut|execu|exec|exe|ex|e)
--    shift; set dummy --mode execute ${1+"$@"}; shift
--    ;;
--  finish|finis|fini|fin|fi|f)
--    shift; set dummy --mode finish ${1+"$@"}; shift
--    ;;
--  install|instal|insta|inst|ins|in|i)
--    shift; set dummy --mode install ${1+"$@"}; shift
--    ;;
--  link|lin|li|l)
--    shift; set dummy --mode link ${1+"$@"}; shift
--    ;;
--  uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
--    shift; set dummy --mode uninstall ${1+"$@"}; shift
--    ;;
--  esac
--  # Parse non-mode specific arguments:
--  while test "$#" -gt 0; do
++
++
 +# Parse options once, thoroughly.  This comes as soon as possible in the
 +# script to make things like `--version' happen as quickly as we can.
 +{
@@ -24455,13 +25166,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -  fi
 -}
 -
--
--## ----------- ##
--##    Main.    ##
--## ----------- ##
 +    # Darwin sucks
 +    eval std_shrext=\"$shrext_cmds\"
  
+-## ----------- ##
+-##    Main.    ##
+-## ----------- ##
+-
 -$opt_help || {
 -  # Sanity checks first:
 -  func_check_version_match
@@ -25182,7 +25893,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        "")
          # Generic help is extracted from the usage comments
          # at the start of this file.
-@@ -1659,8 +2327,8 @@ This mode accepts the following addition
+@@ -1659,8 +2327,8 @@ This mode accepts the following additional options:
  
    -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
    -no-suppress      do not suppress compiler output for multiple passes
@@ -25193,7 +25904,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    -shared           do not build a \`.o' file suitable for static linking
    -static           only build a \`.o' file suitable for static linking
    -Wc,FLAG          pass FLAG directly to the compiler
-@@ -1804,7 +2472,7 @@ Otherwise, only FILE itself is deleted u
+@@ -1804,7 +2472,7 @@ Otherwise, only FILE itself is deleted using RM."
          ;;
  
        *)
@@ -25295,7 +26006,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +    do
 +      if test -d "$opt"; then
 +      func_append libdirs " $opt"
-+
+
 +      elif test -f "$opt"; then
 +      if func_lalib_unsafe_p "$opt"; then
 +        func_append libs " $opt"
@@ -25315,7 +26026,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +      else
 +        sysroot_cmd=
 +      fi
++
 +      # Remove sysroot references
 +      if $opt_dry_run; then
 +        for lib in $libs; do
@@ -25727,7 +26438,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  lt_${my_prefix}_LTX_preloaded_symbols[] =
  {\
    { \"$my_originator\", (void *) 0 },"
-@@ -2736,7 +3493,7 @@ static const void *lt_preloaded_setup()
+@@ -2736,7 +3493,7 @@ static const void *lt_preloaded_setup() {
        for arg in $LTCFLAGS; do
          case $arg in
          -pie | -fpie | -fPIE) ;;
@@ -26238,7 +26949,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  */
  EOF
            cat <<"EOF"
-@@ -3462,22 +4272,13 @@ int setenv (const char *, const char *,
+@@ -3462,22 +4272,13 @@ int setenv (const char *, const char *, int);
    if (stale) { free ((void *) stale); stale = 0; } \
  } while (0)
  
@@ -26265,7 +26976,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  void *xmalloc (size_t num);
  char *xstrdup (const char *string);
-@@ -3487,7 +4288,10 @@ char *chase_symlinks (const char *pathsp
+@@ -3487,7 +4288,10 @@ char *chase_symlinks (const char *pathspec);
  int make_executable (const char *path);
  int check_executable (const char *path);
  char *strendzap (char *str, const char *pat);
@@ -26593,7 +27304,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    vfprintf (stderr, message, ap);
    fprintf (stderr, ".\n");
  
-@@ -3988,20 +4832,32 @@ lt_error_core (int exit_status, const ch
+@@ -3988,20 +4832,32 @@ lt_error_core (int exit_status, const char *mode,
  }
  
  void
@@ -26631,7 +27342,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    {
  #ifdef HAVE_SETENV
      /* always make a copy, for consistency with !HAVE_SETENV */
-@@ -4049,9 +4905,9 @@ lt_extend_str (const char *orig_value, c
+@@ -4049,9 +4905,9 @@ lt_extend_str (const char *orig_value, const char *add, int to_end)
  void
  lt_update_exe_path (const char *name, const char *value)
  {
@@ -26644,7 +27355,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if (name && *name && value && *value)
      {
-@@ -4070,9 +4926,9 @@ lt_update_exe_path (const char *name, co
+@@ -4070,9 +4926,9 @@ lt_update_exe_path (const char *name, const char *value)
  void
  lt_update_lib_path (const char *name, const char *value)
  {
@@ -28897,6 +29608,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  if test -n "$exec_cmd"; then
    eval exec "$exec_cmd"
+diff --git a/ltoptions.m4 b/ltoptions.m4
+index 5ef12ced2a8..17cfd51c0b3 100644
 --- a/ltoptions.m4
 +++ b/ltoptions.m4
 @@ -8,7 +8,7 @@
@@ -28908,6 +29621,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # This is to help aclocal find these macros, as it can't see m4_define.
  AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
+diff --git a/ltversion.m4 b/ltversion.m4
+index bf87f77132d..9c7b5d41185 100644
 --- a/ltversion.m4
 +++ b/ltversion.m4
 @@ -7,17 +7,17 @@
@@ -28934,6 +29649,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  _LT_DECL(, macro_revision, 0)
  ])
+diff --git a/lt~obsolete.m4 b/lt~obsolete.m4
+index bf92b5e0790..c573da90c5c 100644
 --- a/lt~obsolete.m4
 +++ b/lt~obsolete.m4
 @@ -7,7 +7,7 @@
@@ -28945,9 +29662,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # These exist entirely to fool aclocal when bootstrapping libtool.
  #
+diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in
+index c5449bebf54..8308a73534a 100644
 --- a/opcodes/Makefile.in
 +++ b/opcodes/Makefile.in
-@@ -298,6 +298,7 @@ CYGPATH_W = @CYGPATH_W@
+@@ -300,6 +300,7 @@ CYGPATH_W = @CYGPATH_W@
  DATADIRNAME = @DATADIRNAME@
  DEFS = @DEFS@
  DEPDIR = @DEPDIR@
@@ -28955,7 +29674,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  ECHO_C = @ECHO_C@
-@@ -336,6 +337,7 @@ LTLIBINTL = @LTLIBINTL@
+@@ -339,6 +340,7 @@ LTLIBINTL = @LTLIBINTL@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -28963,7 +29682,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  MKINSTALLDIRS = @MKINSTALLDIRS@
  MSGFMT = @MSGFMT@
-@@ -374,6 +376,7 @@ abs_builddir = @abs_builddir@
+@@ -377,6 +379,7 @@ abs_builddir = @abs_builddir@
  abs_srcdir = @abs_srcdir@
  abs_top_builddir = @abs_top_builddir@
  abs_top_srcdir = @abs_top_srcdir@
@@ -28971,19 +29690,22 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ac_ct_CC = @ac_ct_CC@
  ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  am__include = @am__include@
+diff --git a/opcodes/configure b/opcodes/configure
+index 2572afc5375..b2fdc76e03a 100755
 --- a/opcodes/configure
 +++ b/opcodes/configure
-@@ -686,6 +686,9 @@ OTOOL
+@@ -686,7 +686,10 @@ OTOOL
  LIPO
  NMEDIT
  DSYMUTIL
 +MANIFEST_TOOL
 +ac_ct_AR
+ LLVM_CONFIG
 +DLLTOOL
  OBJDUMP
  LN_S
  NM
-@@ -804,6 +807,7 @@ enable_static
+@@ -805,6 +808,7 @@ enable_static
  with_pic
  enable_fast_install
  with_gnu_ld
@@ -28991,7 +29713,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  enable_libtool_lock
  enable_checking
  enable_targets
-@@ -1476,6 +1480,8 @@ Optional Packages:
+@@ -1477,6 +1481,8 @@ Optional Packages:
    --with-pic              try to use only PIC/non-PIC objects [default=use
                            both]
    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
@@ -29000,7 +29722,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    --with-gnu-ld           assume the C compiler uses GNU ld default=no
    --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
    --without-libiconv-prefix     don't search for libiconv in includedir and libdir
-@@ -4808,8 +4814,8 @@ esac
+@@ -4809,8 +4815,8 @@ esac
  
  
  
@@ -29011,7 +29733,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -4849,7 +4855,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -4850,7 +4856,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  $as_echo_n "checking how to print strings... " >&6; }
  # Test print first, because it will be a builtin if present.
@@ -29020,7 +29742,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    ECHO='print -r --'
  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -5542,8 +5548,8 @@ $as_echo_n "checking whether the shell u
+@@ -5543,8 +5549,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
  # Try some XSI features
  xsi_shell=no
  ( _lt_dummy="a/b/c"
@@ -29031,7 +29753,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      && eval 'test $(( 1 + 1 )) -eq 2 \
      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    && xsi_shell=yes
-@@ -5592,6 +5598,80 @@ esac
+@@ -5593,6 +5599,80 @@ esac
  
  
  
@@ -29112,7 +29834,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -5608,6 +5688,11 @@ case $reload_flag in
+@@ -5609,6 +5689,11 @@ case $reload_flag in
  esac
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  case $host_os in
@@ -29124,7 +29846,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    darwin*)
      if test "$GCC" = yes; then
        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -5776,7 +5861,8 @@ mingw* | pw32*)
+@@ -5777,7 +5862,8 @@ mingw* | pw32*)
      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
      lt_cv_file_magic_cmd='func_win32_libid'
    else
@@ -29134,7 +29856,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      lt_cv_file_magic_cmd='$OBJDUMP -f'
    fi
    ;;
-@@ -5935,6 +6021,21 @@ esac
+@@ -5936,6 +6022,21 @@ esac
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -29156,7 +29878,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -5950,6 +6051,157 @@ test -z "$deplibs_check_method" && depli
+@@ -5952,6 +6053,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  
@@ -29169,7 +29891,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
@@ -29311,12 +30032,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
- plugin_option=
- plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
- for plugin in $plugin_names; do
-@@ -5964,8 +6216,10 @@ for plugin in $plugin_names; do
- done
++
+ # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
+ # wrong plugin_option with clang.
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
+@@ -6333,9 +6585,12 @@ fi
+ plugin_option="$plugin_option"
  
+ fi
++
  if test -n "$ac_tool_prefix"; then
 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 -set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -29327,7 +30051,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_AR+:} false; then :
-@@ -5981,7 +6235,7 @@ do
+@@ -6351,7 +6606,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -29336,7 +30060,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -6001,11 +6255,15 @@ $as_echo "no" >&6; }
+@@ -6371,11 +6626,15 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -29355,7 +30079,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -6021,7 +6279,7 @@ do
+@@ -6391,7 +6650,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -29364,7 +30088,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -6040,6 +6298,10 @@ else
+@@ -6410,6 +6669,10 @@ else
  $as_echo "no" >&6; }
  fi
  
@@ -29375,7 +30099,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    if test "x$ac_ct_AR" = x; then
      AR="false"
    else
-@@ -6051,29 +6313,81 @@ ac_tool_warned=yes ;;
+@@ -6421,23 +6684,19 @@ ac_tool_warned=yes ;;
  esac
      AR=$ac_ct_AR
    fi
@@ -29385,37 +30109,33 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
+-      AR="$AR $plugin_option"
+-    fi
+-    ;;
+-  esac
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
 +  touch conftest.c
 +  $AR $plugin_option rc conftest.a conftest.c
 +  if test "$?" != 0; then
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
- $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
--    else
--      AR="$AR $plugin_option"
--    fi
--    rm -f conftest.*
++$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
 +  else
 +    AR="$AR $plugin_option"
-   fi
--fi
--test -z "$AR_FLAGS" && AR_FLAGS=cru
++  fi
 +  rm -f conftest.*
 +: ${AR=ar}
 +: ${AR_FLAGS=cru}
-+
-+
-+
-+
-+
-+
-+
-+
-+
+
+
+
+@@ -6449,6 +6708,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
  
  
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
@@ -29459,20 +30179,27 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 +$as_echo "$lt_cv_ar_at_file" >&6; }
++
 +if test "x$lt_cv_ar_at_file" = xno; then
 +  archiver_list_spec=
 +else
 +  archiver_list_spec=$lt_cv_ar_at_file
 +fi
-@@ -6420,8 +6734,8 @@ esac
++
++
++
++
++
++
++
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}strip; ac_word=$2
+@@ -6794,8 +7111,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -29483,7 +30210,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -6457,6 +6771,7 @@ for ac_symprfx in "" "_"; do
+@@ -6831,6 +7148,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -29491,7 +30218,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -6498,6 +6813,18 @@ _LT_EOF
+@@ -6872,6 +7190,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -29510,7 +30237,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -6509,7 +6836,7 @@ _LT_EOF
+@@ -6883,7 +7213,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -29519,7 +30246,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -6535,8 +6862,8 @@ static const void *lt_preloaded_setup()
+@@ -6909,8 +7239,8 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -29530,7 +30257,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -6546,8 +6873,8 @@ _LT_EOF
+@@ -6920,8 +7250,8 @@ _LT_EOF
    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
@@ -29541,7 +30268,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
-@@ -6584,6 +6911,12 @@ else
+@@ -6958,6 +7288,15 @@ else
  $as_echo "ok" >&6; }
  fi
  
@@ -29551,10 +30278,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 +  nm_file_list_spec='@'
 +fi
++
++
++
  
  
  
-@@ -6605,6 +6938,49 @@ fi
+@@ -6975,6 +7314,46 @@ fi
  
  
  
@@ -29564,6 +30294,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
++
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 +$as_echo_n "checking for sysroot... " >&6; }
 +
@@ -29597,17 +30328,59 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 +$as_echo "${lt_sysroot:-no}" >&6; }
 +
-+
-+
-+
-+
- # Check whether --enable-libtool-lock was given.
- if test "${enable_libtool_lock+set}" = set; then :
-   enableval=$enable_libtool_lock;
-@@ -6811,6 +7187,123 @@ esac
  
- need_locks="$enable_libtool_lock"
  
+
+@@ -7140,50 +7519,167 @@ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+   lt_cv_cc_needs_belf=yes
+ else
+-  lt_cv_cc_needs_belf=no
++  lt_cv_cc_needs_belf=no
++fi
++rm -f core conftest.err conftest.$ac_objext \
++    conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
++$as_echo "$lt_cv_cc_needs_belf" >&6; }
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++sparc*-*solaris*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++  test $ac_status = 0; }; then
++    case `/usr/bin/file conftest.o` in
++    *64-bit*)
++      case $lt_cv_prog_gnu_ld in
++      yes*) LD="${LD-ld} -m elf64_sparc" ;;
++      *)
++      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
++        LD="${LD-ld} -64"
++      fi
++      ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++esac
++
++need_locks="$enable_libtool_lock"
++
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}mt; ac_word=$2
@@ -29683,8 +30456,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +else
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 +$as_echo "no" >&6; }
-+fi
-+
+ fi
+-rm -f core conftest.err conftest.$ac_objext \
+-    conftest$ac_exeext conftest.$ac_ext
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+-$as_echo "$lt_cv_cc_needs_belf" >&6; }
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 +    MANIFEST_TOOL=":"
 +  else
@@ -29695,7 +30481,28 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +ac_tool_warned=yes ;;
 +esac
 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
-+  fi
+   fi
+-  ;;
+-sparc*-*solaris*)
+-  # Find out which ABI we are using.
+-  echo 'int i;' > conftest.$ac_ext
+-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+-  test $ac_status = 0; }; then
+-    case `/usr/bin/file conftest.o` in
+-    *64-bit*)
+-      case $lt_cv_prog_gnu_ld in
+-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
+-      *)
+-      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+-        LD="${LD-ld} -64"
+-      fi
+-      ;;
+-      esac
+-      ;;
+-    esac
 +else
 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 +fi
@@ -29712,7 +30519,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  cat conftest.err >&5
 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 +    lt_cv_path_mainfest_tool=yes
-+  fi
+   fi
+-  rm -rf conftest*
+-  ;;
+-esac
 +  rm -f conftest*
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
@@ -29723,12 +30533,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
-+
+
+-need_locks="$enable_libtool_lock"
+
  
    case $host_os in
-     rhapsody* | darwin*)
-@@ -7374,6 +7867,8 @@ _LT_EOF
+@@ -7748,6 +8244,8 @@ _LT_EOF
        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        echo "$AR cru libconftest.a conftest.o" >&5
        $AR cru libconftest.a conftest.o 2>&5
@@ -29737,7 +30547,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        cat > conftest.c << _LT_EOF
  int main() { return 0;}
  _LT_EOF
-@@ -7928,8 +8423,6 @@ fi
+@@ -8302,8 +8800,6 @@ fi
  lt_prog_compiler_pic=
  lt_prog_compiler_static=
  
@@ -29746,7 +30556,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if test "$GCC" = yes; then
      lt_prog_compiler_wl='-Wl,'
-@@ -8095,6 +8588,12 @@ $as_echo_n "checking for $compiler optio
+@@ -8469,6 +8965,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
@@ -29759,7 +30569,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -8157,7 +8656,7 @@ $as_echo_n "checking for $compiler optio
+@@ -8531,7 +9033,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
        case $cc_basename in
@@ -29768,7 +30578,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        lt_prog_compiler_wl='-Qoption ld ';;
        *)
        lt_prog_compiler_wl='-Wl,';;
-@@ -8214,13 +8713,17 @@ case $host_os in
+@@ -8588,13 +9090,17 @@ case $host_os in
      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
      ;;
  esac
@@ -29792,7 +30602,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -8281,6 +8784,11 @@ fi
+@@ -8655,6 +9161,11 @@ fi
  
  
  
@@ -29804,7 +30614,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -8631,7 +9139,8 @@ _LT_EOF
+@@ -9005,7 +9516,8 @@ _LT_EOF
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
@@ -29814,7 +30624,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -8730,12 +9239,12 @@ _LT_EOF
+@@ -9104,12 +9616,12 @@ _LT_EOF
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -29829,7 +30639,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -8749,8 +9258,8 @@ _LT_EOF
+@@ -9123,8 +9635,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -29840,7 +30650,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -8768,8 +9277,8 @@ _LT_EOF
+@@ -9142,8 +9654,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -29851,7 +30661,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -8815,8 +9324,8 @@ _LT_EOF
+@@ -9189,8 +9701,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -29862,7 +30672,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -8946,7 +9455,13 @@ _LT_EOF
+@@ -9320,7 +9832,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
@@ -29877,7 +30687,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -8959,22 +9474,29 @@ main ()
+@@ -9333,22 +9851,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -29920,7 +30730,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -8986,7 +9508,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9360,7 +9885,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -29935,7 +30745,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  /* end confdefs.h.  */
  
  int
-@@ -8999,22 +9527,29 @@ main ()
+@@ -9373,22 +9904,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -29978,7 +30788,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
-@@ -9059,20 +9594,63 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9433,20 +9971,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -30056,7 +30866,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -9133,7 +9711,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9507,7 +10088,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -30065,7 +30875,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
        hardcode_shlibpath_var=no
-@@ -9141,7 +9719,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9515,7 +10096,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -30074,7 +30884,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -9157,7 +9735,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9531,7 +10112,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -30083,7 +30893,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -9181,10 +9759,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9555,10 +10136,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -30096,7 +30906,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -9263,23 +9841,36 @@ fi
+@@ -9637,23 +10218,36 @@ fi
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -30141,7 +30951,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -9364,7 +9955,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -9738,7 +10332,7 @@ rm -f core conftest.err conftest.$ac_objext \
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -30150,7 +30960,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        else
        allow_undefined_flag=' -expect_unresolved \*'
-@@ -9383,9 +9974,9 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -9757,9 +10351,9 @@ rm -f core conftest.err conftest.$ac_objext \
        no_undefined_flag=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -30162,7 +30972,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -9961,8 +10552,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10335,8 +10929,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -30174,7 +30984,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -9995,13 +10587,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10369,13 +10964,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -30247,16 +31057,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -10903,7 +11553,7 @@ else
+@@ -11277,7 +11930,13 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 10906 "configure"
++<<<<<<< HEAD
+ #line 11280 "configure"
++||||||| parent of edb34660866 (Use libtool 2.4)
++#line 11281 "configure"
++=======
 +#line $LINENO "configure"
++>>>>>>> edb34660866 (Use libtool 2.4)
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -10947,10 +11597,10 @@ else
+@@ -11321,10 +11980,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -30269,16 +31084,21 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -11009,7 +11659,7 @@ else
+@@ -11383,7 +12042,13 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 11012 "configure"
++<<<<<<< HEAD
+ #line 11386 "configure"
++||||||| parent of edb34660866 (Use libtool 2.4)
++#line 11387 "configure"
++=======
 +#line $LINENO "configure"
++>>>>>>> edb34660866 (Use libtool 2.4)
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -11053,10 +11703,10 @@ else
+@@ -11427,10 +12092,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -30291,7 +31111,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -14846,13 +15496,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
+@@ -15220,13 +15885,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -30312,7 +31132,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -14867,14 +15524,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
+@@ -15241,14 +15913,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -30331,7 +31151,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -14907,12 +15567,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
+@@ -15281,12 +15956,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -30345,7 +31165,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -14967,8 +15627,13 @@ reload_flag \
+@@ -15341,8 +16016,13 @@ reload_flag \
  OBJDUMP \
  deplibs_check_method \
  file_magic_cmd \
@@ -30359,7 +31179,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP \
  RANLIB \
  CC \
-@@ -14978,12 +15643,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -15352,12 +16032,14 @@ lt_cv_sys_global_symbol_pipe \
  lt_cv_sys_global_symbol_to_cdecl \
  lt_cv_sys_global_symbol_to_c_name_address \
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -30375,7 +31195,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL \
  NMEDIT \
  LIPO \
-@@ -14999,7 +15666,6 @@ no_undefined_flag \
+@@ -15373,7 +16055,6 @@ no_undefined_flag \
  hardcode_libdir_flag_spec \
  hardcode_libdir_flag_spec_ld \
  hardcode_libdir_separator \
@@ -30383,7 +31203,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms \
  include_expsyms \
  file_list_spec \
-@@ -15035,6 +15701,7 @@ module_cmds \
+@@ -15409,6 +16090,7 @@ module_cmds \
  module_expsym_cmds \
  export_symbols_cmds \
  prelink_cmds \
@@ -30391,7 +31211,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  postinstall_cmds \
  postuninstall_cmds \
  finish_cmds \
-@@ -15800,7 +16467,8 @@ $as_echo X"$file" |
+@@ -16174,7 +16856,8 @@ $as_echo X"$file" |
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -30401,7 +31221,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #   Written by Gordon Matzigkeit, 1996
  #
  #   This file is part of GNU Libtool.
-@@ -15903,19 +16571,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -16277,19 +16960,42 @@ SP2NL=$lt_lt_SP2NL
  # turn newlines into spaces.
  NL2SP=$lt_lt_NL2SP
  
@@ -30445,7 +31265,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # A symbol stripping program.
  STRIP=$lt_STRIP
  
-@@ -15945,6 +16636,12 @@ global_symbol_to_c_name_address=$lt_lt_c
+@@ -16319,6 +17025,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  # Transform the output of nm in a C name address pair when lib prefix is needed.
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  
@@ -30458,7 +31278,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # The name of the directory that contains temporary libtool files.
  objdir=$objdir
  
-@@ -15954,6 +16651,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -16328,6 +17040,9 @@ MAGIC_CMD=$MAGIC_CMD
  # Must we lock files when doing compilation?
  need_locks=$lt_need_locks
  
@@ -30468,7 +31288,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  DSYMUTIL=$lt_DSYMUTIL
  
-@@ -16068,12 +16768,12 @@ with_gcc=$GCC
+@@ -16442,12 +17157,12 @@ with_gcc=$GCC
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  
@@ -30484,7 +31304,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static
  
-@@ -16160,9 +16860,6 @@ inherit_rpath=$inherit_rpath
+@@ -16534,9 +17249,6 @@ inherit_rpath=$inherit_rpath
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs
  
@@ -30494,7 +31314,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols
  
-@@ -16178,6 +16875,9 @@ include_expsyms=$lt_include_expsyms
+@@ -16552,6 +17264,9 @@ include_expsyms=$lt_include_expsyms
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds
  
@@ -30504,7 +31324,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec
  
-@@ -16210,210 +16910,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -16584,210 +17299,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    # text mode, it properly converts lines to CR/LF.  This bash problem
    # is reportedly fixed, but why not run on old versions too?
@@ -30706,9 +31526,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -_LT_EOF
 -    ;;
 -  esac
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
 +  sed '$q' "$ltmain" >> "$cfgfile" \
 +     || (rm -f "$cfgfile"; exit 1)
++
 +  if test x"$xsi_shell" = xyes; then
 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 +func_dirname ()\
@@ -30866,18 +31692,17 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 +fi
--  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
--    || (rm -f "$cfgfile"; exit 1)
--  mv -f "$cfgfile" "$ofile" ||
++
++
 +   mv -f "$cfgfile" "$ofile" ||
      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    chmod +x "$ofile"
  
+diff --git a/zlib/Makefile.in b/zlib/Makefile.in
+index b1ebbfab3c5..8ac825adff3 100644
 --- a/zlib/Makefile.in
 +++ b/zlib/Makefile.in
-@@ -281,6 +281,7 @@ CPPFLAGS = @CPPFLAGS@
+@@ -287,6 +287,7 @@ CPPFLAGS = @CPPFLAGS@
  CYGPATH_W = @CYGPATH_W@
  DEFS = @DEFS@
  DEPDIR = @DEPDIR@
@@ -30885,7 +31710,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL = @DSYMUTIL@
  DUMPBIN = @DUMPBIN@
  ECHO_C = @ECHO_C@
-@@ -305,6 +306,7 @@ LN_S = @LN_S@
+@@ -312,6 +313,7 @@ LN_S = @LN_S@
  LTLIBOBJS = @LTLIBOBJS@
  MAINT = @MAINT@
  MAKEINFO = @MAKEINFO@
@@ -30893,7 +31718,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  MKDIR_P = @MKDIR_P@
  NM = @NM@
  NMEDIT = @NMEDIT@
-@@ -331,6 +333,7 @@ abs_builddir = @abs_builddir@
+@@ -338,6 +340,7 @@ abs_builddir = @abs_builddir@
  abs_srcdir = @abs_srcdir@
  abs_top_builddir = @abs_top_builddir@
  abs_top_srcdir = @abs_top_srcdir@
@@ -30901,9 +31726,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  ac_ct_CC = @ac_ct_CC@
  ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  am__include = @am__include@
+diff --git a/zlib/configure b/zlib/configure
+index be8b683b6e8..21d06d09ce2 100755
 --- a/zlib/configure
 +++ b/zlib/configure
-@@ -648,8 +648,11 @@ OTOOL
+@@ -648,10 +648,13 @@ OTOOL
  LIPO
  NMEDIT
  DSYMUTIL
@@ -30911,28 +31738,30 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  RANLIB
 +ac_ct_AR
  AR
+ LLVM_CONFIG
+ CPP
 +DLLTOOL
  OBJDUMP
  LN_S
  NM
-@@ -776,6 +779,7 @@ enable_static
+@@ -780,6 +783,7 @@ enable_static
  with_pic
  enable_fast_install
  with_gnu_ld
 +with_libtool_sysroot
  enable_libtool_lock
+ with_toolexeclibdir
  enable_host_shared
- enable_host_pie
-@@ -1432,6 +1436,8 @@ Optional Packages:
+@@ -1438,6 +1442,8 @@ Optional Packages:
    --with-pic              try to use only PIC/non-PIC objects [default=use
                            both]
    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 +  --with-libtool-sysroot=DIR Search for dependent libraries within DIR
 +                        (or the compiler's sysroot if not specified).
- Some influential environment variables:
-   CC          C compiler command
-@@ -4189,8 +4195,8 @@ esac
+   --with-toolexeclibdir=DIR
+                           install libraries built with a cross compiler within
+                           DIR
+@@ -4249,8 +4255,8 @@ esac
  
  
  
@@ -30943,7 +31772,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  
  
-@@ -4230,7 +4236,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -4290,7 +4296,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  $as_echo_n "checking how to print strings... " >&6; }
  # Test print first, because it will be a builtin if present.
@@ -30952,7 +31781,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    ECHO='print -r --'
  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -5053,8 +5059,8 @@ $as_echo_n "checking whether the shell u
+@@ -5113,8 +5119,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
  # Try some XSI features
  xsi_shell=no
  ( _lt_dummy="a/b/c"
@@ -30963,7 +31792,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      && eval 'test $(( 1 + 1 )) -eq 2 \
      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    && xsi_shell=yes
-@@ -5103,6 +5109,80 @@ esac
+@@ -5163,6 +5169,80 @@ esac
  
  
  
@@ -31044,7 +31873,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -5119,6 +5199,11 @@ case $reload_flag in
+@@ -5179,6 +5259,11 @@ case $reload_flag in
  esac
  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  case $host_os in
@@ -31056,7 +31885,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    darwin*)
      if test "$GCC" = yes; then
        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -5287,7 +5372,8 @@ mingw* | pw32*)
+@@ -5347,7 +5432,8 @@ mingw* | pw32*)
      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
      lt_cv_file_magic_cmd='func_win32_libid'
    else
@@ -31066,7 +31895,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      lt_cv_file_magic_cmd='$OBJDUMP -f'
    fi
    ;;
-@@ -5446,6 +5532,21 @@ esac
+@@ -5506,6 +5592,21 @@ esac
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -31088,7 +31917,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -5461,6 +5562,158 @@ test -z "$deplibs_check_method" && depli
+@@ -5521,6 +5622,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  
@@ -31243,13 +32072,14 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
-+
- plugin_option=
- plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
- for plugin in $plugin_names; do
-@@ -5475,8 +5728,10 @@ for plugin in $plugin_names; do
- done
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+@@ -6041,9 +6293,12 @@ fi
+ plugin_option="$plugin_option"
  
+ fi
++
  if test -n "$ac_tool_prefix"; then
 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 -set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -31260,7 +32090,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_AR+:} false; then :
-@@ -5492,7 +5747,7 @@ do
+@@ -6059,7 +6314,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -31269,7 +32099,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -5512,11 +5767,15 @@ $as_echo "no" >&6; }
+@@ -6079,11 +6334,15 @@ $as_echo "no" >&6; }
  fi
  
  
@@ -31288,7 +32118,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  $as_echo_n "checking for $ac_word... " >&6; }
  if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -5532,7 +5791,7 @@ do
+@@ -6099,7 +6358,7 @@ do
    test -z "$as_dir" && as_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -31297,7 +32127,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi
-@@ -5551,6 +5810,10 @@ else
+@@ -6118,6 +6377,10 @@ else
  $as_echo "no" >&6; }
  fi
  
@@ -31308,7 +32138,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    if test "x$ac_ct_AR" = x; then
      AR="false"
    else
-@@ -5562,29 +5825,81 @@ ac_tool_warned=yes ;;
+@@ -6129,23 +6392,19 @@ ac_tool_warned=yes ;;
  esac
      AR=$ac_ct_AR
    fi
@@ -31318,39 +32148,35 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
 -test -z "$AR" && AR=ar
 -if test -n "$plugin_option"; then
--  if $AR --help 2>&1 | grep -q "\--plugin"; then
--    touch conftest.c
--    $AR $plugin_option rc conftest.a conftest.c
--    if test "$?" != 0; then
--      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+-  case "$AR" in
+-  *"$plugin_option"*)
+-    ;;
+-  *)
+-    if $AR --help 2>&1 | grep -q "\--plugin"; then
+-      AR="$AR $plugin_option"
+-    fi
+-    ;;
+-  esac
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
 +  touch conftest.c
 +  $AR $plugin_option rc conftest.a conftest.c
 +  if test "$?" != 0; then
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
- $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
--    else
--      AR="$AR $plugin_option"
--    fi
--    rm -f conftest.*
++$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
 +  else
 +    AR="$AR $plugin_option"
-   fi
--fi
--test -z "$AR_FLAGS" && AR_FLAGS=cru
++  fi
 +  rm -f conftest.*
 +: ${AR=ar}
 +: ${AR_FLAGS=cru}
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
+
+
+
+@@ -6157,6 +6416,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
+
+
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 +$as_echo_n "checking for archiver @FILE support... " >&6; }
 +if ${lt_cv_ar_at_file+:} false; then :
@@ -31359,11 +32185,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  lt_cv_ar_at_file=no
 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
++
 +int
 +main ()
 +{
++
 +  ;
 +  return 0;
 +}
@@ -31392,20 +32218,27 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 +$as_echo "$lt_cv_ar_at_file" >&6; }
++
 +if test "x$lt_cv_ar_at_file" = xno; then
 +  archiver_list_spec=
 +else
 +  archiver_list_spec=$lt_cv_ar_at_file
 +fi
-@@ -5931,8 +6246,8 @@ esac
++
++
++
++
++
++
++
+ if test -n "$ac_tool_prefix"; then
+   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}strip; ac_word=$2
+@@ -6502,8 +6819,8 @@ esac
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  
  # Transform an extracted symbol line into symbol name and symbol address
@@ -31416,7 +32249,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  # Handle CRLF in mingw tool chain
  opt_cr=
-@@ -5968,6 +6283,7 @@ for ac_symprfx in "" "_"; do
+@@ -6539,6 +6856,7 @@ for ac_symprfx in "" "_"; do
    else
      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    fi
@@ -31424,7 +32257,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    # Check to see that the pipe works correctly.
    pipe_works=no
-@@ -6009,6 +6325,18 @@ _LT_EOF
+@@ -6580,6 +6898,18 @@ _LT_EOF
        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
          cat <<_LT_EOF > conftest.$ac_ext
@@ -31443,7 +32276,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #ifdef __cplusplus
  extern "C" {
  #endif
-@@ -6020,7 +6348,7 @@ _LT_EOF
+@@ -6591,7 +6921,7 @@ _LT_EOF
          cat <<_LT_EOF >> conftest.$ac_ext
  
  /* The mapping between symbol names and symbols.  */
@@ -31452,7 +32285,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    const char *name;
    void       *address;
  }
-@@ -6046,8 +6374,8 @@ static const void *lt_preloaded_setup()
+@@ -6617,8 +6947,8 @@ static const void *lt_preloaded_setup() {
  _LT_EOF
          # Now try linking the two files.
          mv conftest.$ac_objext conftstm.$ac_objext
@@ -31463,7 +32296,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          LIBS="conftstm.$ac_objext"
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -6057,8 +6385,8 @@ _LT_EOF
+@@ -6628,8 +6958,8 @@ _LT_EOF
    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
            pipe_works=yes
          fi
@@ -31474,7 +32307,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
          echo "cannot find nm_test_func in $nlist" >&5
        fi
-@@ -6095,6 +6423,15 @@ else
+@@ -6666,6 +6996,17 @@ else
  $as_echo "ok" >&6; }
  fi
  
@@ -31487,13 +32320,19 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 +
 +
++
++
  
  
  
-@@ -6117,6 +6454,45 @@ fi
+@@ -6682,6 +7023,44 @@ fi
  
  
  
++
++
++
++
 +
 +
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
@@ -31528,18 +32367,89 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +
 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 +$as_echo "${lt_sysroot:-no}" >&6; }
+
+
+
+@@ -6828,73 +7207,190 @@ $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
+ if ${lt_cv_cc_needs_belf+:} false; then :
+   $as_echo_n "(cached) " >&6
+ else
+-  ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+-
+-     if test x$gcc_no_link = xyes; then
+-  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
++  ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++     if test x$gcc_no_link = xyes; then
++  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
++fi
++cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h.  */
 +
++int
++main ()
++{
 +
++  ;
++  return 0;
++}
++_ACEOF
++if ac_fn_c_try_link "$LINENO"; then :
++  lt_cv_cc_needs_belf=yes
++else
++  lt_cv_cc_needs_belf=no
++fi
++rm -f core conftest.err conftest.$ac_objext \
++    conftest$ac_exeext conftest.$ac_ext
++     ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
 +
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
++$as_echo "$lt_cv_cc_needs_belf" >&6; }
++  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++    CFLAGS="$SAVE_CFLAGS"
++  fi
++  ;;
++sparc*-*solaris*)
++  # Find out which ABI we are using.
++  echo 'int i;' > conftest.$ac_ext
++  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
++  (eval $ac_compile) 2>&5
++  ac_status=$?
++  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++  test $ac_status = 0; }; then
++    case `/usr/bin/file conftest.o` in
++    *64-bit*)
++      case $lt_cv_prog_gnu_ld in
++      yes*) LD="${LD-ld} -m elf64_sparc" ;;
++      *)
++      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
++        LD="${LD-ld} -64"
++      fi
++      ;;
++      esac
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++esac
 +
++need_locks="$enable_libtool_lock"
 +
- # Check whether --enable-libtool-lock was given.
- if test "${enable_libtool_lock+set}" = set; then :
-   enableval=$enable_libtool_lock;
-@@ -6326,6 +6702,123 @@ esac
- need_locks="$enable_libtool_lock"
 +if test -n "$ac_tool_prefix"; then
 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 +set dummy ${ac_tool_prefix}mt; ac_word=$2
@@ -31651,16 +32561,69 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 +if test "x$lt_cv_path_mainfest_tool" != xyes; then
 +  MANIFEST_TOOL=:
-+fi
-+
-+
-+
-+
-+
+ fi
+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h.  */
+
+-int
+-main ()
+-{
+
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_link "$LINENO"; then :
+-  lt_cv_cc_needs_belf=yes
+-else
+-  lt_cv_cc_needs_belf=no
+-fi
+-rm -f core conftest.err conftest.$ac_objext \
+-    conftest$ac_exeext conftest.$ac_ext
+-     ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+-$as_echo "$lt_cv_cc_needs_belf" >&6; }
+-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+-    CFLAGS="$SAVE_CFLAGS"
+-  fi
+-  ;;
+-sparc*-*solaris*)
+-  # Find out which ABI we are using.
+-  echo 'int i;' > conftest.$ac_ext
+-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+-  (eval $ac_compile) 2>&5
+-  ac_status=$?
+-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+-  test $ac_status = 0; }; then
+-    case `/usr/bin/file conftest.o` in
+-    *64-bit*)
+-      case $lt_cv_prog_gnu_ld in
+-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
+-      *)
+-      if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+-        LD="${LD-ld} -64"
+-      fi
+-      ;;
+-      esac
+-      ;;
+-    esac
+-  fi
+-  rm -rf conftest*
+-  ;;
+-esac
+
+-need_locks="$enable_libtool_lock"
+
  
    case $host_os in
-     rhapsody* | darwin*)
-@@ -6892,6 +7385,8 @@ _LT_EOF
+@@ -7462,6 +7958,8 @@ _LT_EOF
        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        echo "$AR cru libconftest.a conftest.o" >&5
        $AR cru libconftest.a conftest.o 2>&5
@@ -31669,7 +32632,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        cat > conftest.c << _LT_EOF
  int main() { return 0;}
  _LT_EOF
-@@ -7743,8 +8238,6 @@ fi
+@@ -8175,8 +8673,6 @@ fi
  lt_prog_compiler_pic=
  lt_prog_compiler_static=
  
@@ -31678,7 +32641,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
    if test "$GCC" = yes; then
      lt_prog_compiler_wl='-Wl,'
-@@ -7910,6 +8403,12 @@ $as_echo_n "checking for $compiler optio
+@@ -8342,6 +8838,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='--shared'
        lt_prog_compiler_static='--static'
        ;;
@@ -31691,7 +32654,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
          # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-@@ -7972,7 +8471,7 @@ $as_echo_n "checking for $compiler optio
+@@ -8404,7 +8906,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
        case $cc_basename in
@@ -31700,7 +32663,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        lt_prog_compiler_wl='-Qoption ld ';;
        *)
        lt_prog_compiler_wl='-Wl,';;
-@@ -8029,13 +8528,17 @@ case $host_os in
+@@ -8461,13 +8963,17 @@ case $host_os in
      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
      ;;
  esac
@@ -31724,7 +32687,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
  #
  # Check to make sure the PIC flag actually works.
-@@ -8096,6 +8599,11 @@ fi
+@@ -8528,6 +9034,11 @@ fi
  
  
  
@@ -31736,7 +32699,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #
  # Check to make sure the static flag actually works.
  #
-@@ -8446,7 +8954,8 @@ _LT_EOF
+@@ -8878,7 +9389,8 @@ _LT_EOF
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
@@ -31746,7 +32709,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -8545,12 +9054,12 @@ _LT_EOF
+@@ -8977,12 +9489,12 @@ _LT_EOF
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -31761,7 +32724,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          fi
          ;;
        esac
-@@ -8564,8 +9073,8 @@ _LT_EOF
+@@ -8996,8 +9508,8 @@ _LT_EOF
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        else
@@ -31772,7 +32735,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        fi
        ;;
  
-@@ -8583,8 +9092,8 @@ _LT_EOF
+@@ -9015,8 +9527,8 @@ _LT_EOF
  
  _LT_EOF
        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -31783,7 +32746,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -8630,8 +9139,8 @@ _LT_EOF
+@@ -9062,8 +9574,8 @@ _LT_EOF
  
      *)
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -31794,7 +32757,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        ld_shlibs=no
        fi
-@@ -8761,7 +9270,13 @@ _LT_EOF
+@@ -9193,7 +9705,13 @@ _LT_EOF
        allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an
          # empty executable.
@@ -31809,7 +32772,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  fi
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-@@ -8777,22 +9292,29 @@ main ()
+@@ -9209,22 +9727,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -31852,7 +32815,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -8804,7 +9326,13 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9236,7 +9761,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        else
         # Determine the default libpath from the value encoded in an
         # empty executable.
@@ -31867,7 +32830,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  fi
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-@@ -8820,22 +9348,29 @@ main ()
+@@ -9252,22 +9783,29 @@ main ()
  _ACEOF
  if ac_fn_c_try_link "$LINENO"; then :
  
@@ -31910,7 +32873,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
          # Warning - without using the other run time loading flags,
-@@ -8880,20 +9415,63 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9312,20 +9850,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
        # Microsoft Visual C++.
        # hardcode_libdir_flag_spec is actually meaningless, as there is
        # no search path for DLLs.
@@ -31988,7 +32951,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        ;;
  
      darwin* | rhapsody*)
-@@ -8954,7 +9532,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9386,7 +9967,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
      freebsd* | dragonfly*)
@@ -31997,7 +32960,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
        hardcode_shlibpath_var=no
-@@ -8962,7 +9540,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9394,7 +9975,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux9*)
        if test "$GCC" = yes; then
@@ -32006,7 +32969,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
        fi
-@@ -8978,7 +9556,7 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9410,7 +9991,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  
      hpux10*)
        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -32015,7 +32978,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        fi
-@@ -9002,10 +9580,10 @@ if test -z "$aix_libpath"; then aix_libp
+@@ -9434,10 +10015,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
          ;;
        ia64*)
@@ -32028,7 +32991,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
          ;;
        esac
        else
-@@ -9084,26 +9662,39 @@ fi
+@@ -9516,26 +10097,39 @@ fi
  
      irix5* | irix6* | nonstopux*)
        if test "$GCC" = yes; then
@@ -32076,7 +33039,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -9188,7 +9779,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -9620,7 +10214,7 @@ rm -f core conftest.err conftest.$ac_objext \
      osf4* | osf5*)    # as osf3* with the addition of -msym flag
        if test "$GCC" = yes; then
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -32085,7 +33048,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        else
        allow_undefined_flag=' -expect_unresolved \*'
-@@ -9207,9 +9798,9 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -9639,9 +10233,9 @@ rm -f core conftest.err conftest.$ac_objext \
        no_undefined_flag=' -z defs'
        if test "$GCC" = yes; then
        wlarc='${wl}'
@@ -32097,7 +33060,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
        else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
-@@ -9785,8 +10376,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10217,8 +10811,9 @@ cygwin* | mingw* | pw32* | cegcc*)
    need_version=no
    need_lib_prefix=no
  
@@ -32109,7 +33072,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
      library_names_spec='$libname.dll.a'
      # DLL is installed to $(libdir)/../bin by postinstall_cmds
      postinstall_cmds='base_file=`basename \${file}`~
-@@ -9819,13 +10411,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10251,13 +10846,71 @@ cygwin* | mingw* | pw32* | cegcc*)
        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        ;;
      esac
@@ -32182,16 +33145,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
    # FIXME: first we should search . and the directory the executable is in
    shlibpath_var=PATH
    ;;
-@@ -10745,7 +11395,7 @@ else
+@@ -11177,7 +11830,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 10748 "configure"
+-#line 11180 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -10789,10 +11439,10 @@ else
+@@ -11221,10 +11874,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -32204,16 +33167,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -10851,7 +11501,7 @@ else
+@@ -11283,7 +11936,7 @@ else
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
--#line 10854 "configure"
+-#line 11286 "configure"
 +#line $LINENO "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
-@@ -10895,10 +11545,10 @@ else
+@@ -11327,10 +11980,10 @@ else
  /* When -fvisbility=hidden is used, assume the code has been annotated
     correspondingly for the symbols needed.  */
  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -32226,7 +33189,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  int main ()
  {
    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -12377,13 +13027,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
+@@ -12789,13 +13442,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -32247,7 +33210,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -12398,14 +13055,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
+@@ -12810,14 +13470,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -32266,7 +33229,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -12438,12 +13098,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
+@@ -12850,12 +13513,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -32280,7 +33243,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -12498,8 +13158,13 @@ reload_flag \
+@@ -12910,8 +13573,13 @@ reload_flag \
  OBJDUMP \
  deplibs_check_method \
  file_magic_cmd \
@@ -32294,7 +33257,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  STRIP \
  RANLIB \
  CC \
-@@ -12509,12 +13174,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -12921,12 +13589,14 @@ lt_cv_sys_global_symbol_pipe \
  lt_cv_sys_global_symbol_to_cdecl \
  lt_cv_sys_global_symbol_to_c_name_address \
  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -32310,7 +33273,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  DSYMUTIL \
  NMEDIT \
  LIPO \
-@@ -12530,7 +13197,6 @@ no_undefined_flag \
+@@ -12942,7 +13612,6 @@ no_undefined_flag \
  hardcode_libdir_flag_spec \
  hardcode_libdir_flag_spec_ld \
  hardcode_libdir_separator \
@@ -32318,7 +33281,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  exclude_expsyms \
  include_expsyms \
  file_list_spec \
-@@ -12566,6 +13232,7 @@ module_cmds \
+@@ -12978,6 +13647,7 @@ module_cmds \
  module_expsym_cmds \
  export_symbols_cmds \
  prelink_cmds \
@@ -32326,7 +33289,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  postinstall_cmds \
  postuninstall_cmds \
  finish_cmds \
-@@ -13164,7 +13831,8 @@ $as_echo X"$file" |
+@@ -13576,7 +14246,8 @@ $as_echo X"$file" |
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -32336,7 +33299,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  #   Written by Gordon Matzigkeit, 1996
  #
  #   This file is part of GNU Libtool.
-@@ -13267,19 +13935,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -13679,19 +14350,42 @@ SP2NL=$lt_lt_SP2NL
  # turn newlines into spaces.
  NL2SP=$lt_lt_NL2SP
  
@@ -32380,7 +33343,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # A symbol stripping program.
  STRIP=$lt_STRIP
  
-@@ -13309,6 +14000,12 @@ global_symbol_to_c_name_address=$lt_lt_c
+@@ -13721,6 +14415,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  # Transform the output of nm in a C name address pair when lib prefix is needed.
  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  
@@ -32393,7 +33356,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # The name of the directory that contains temporary libtool files.
  objdir=$objdir
  
-@@ -13318,6 +14015,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -13730,6 +14430,9 @@ MAGIC_CMD=$MAGIC_CMD
  # Must we lock files when doing compilation?
  need_locks=$lt_need_locks
  
@@ -32403,7 +33366,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  DSYMUTIL=$lt_DSYMUTIL
  
-@@ -13432,12 +14132,12 @@ with_gcc=$GCC
+@@ -13844,12 +14547,12 @@ with_gcc=$GCC
  # Compiler flag to turn off builtin functions.
  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  
@@ -32419,7 +33382,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Compiler flag to prevent dynamic linking.
  link_static_flag=$lt_lt_prog_compiler_static
  
-@@ -13524,9 +14224,6 @@ inherit_rpath=$inherit_rpath
+@@ -13936,9 +14639,6 @@ inherit_rpath=$inherit_rpath
  # Whether libtool must link a program against all its dependency libraries.
  link_all_deplibs=$link_all_deplibs
  
@@ -32429,7 +33392,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Set to "yes" if exported symbols are required.
  always_export_symbols=$always_export_symbols
  
-@@ -13542,6 +14239,9 @@ include_expsyms=$lt_include_expsyms
+@@ -13954,6 +14654,9 @@ include_expsyms=$lt_include_expsyms
  # Commands necessary for linking programs (against libraries) with templates.
  prelink_cmds=$lt_prelink_cmds
  
@@ -32439,7 +33402,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  # Specify filename containing input files.
  file_list_spec=$lt_file_list_spec
  
-@@ -13574,210 +14274,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -13986,210 +14689,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    # text mode, it properly converts lines to CR/LF.  This bash problem
    # is reportedly fixed, but why not run on old versions too?
@@ -32641,9 +33604,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 -_LT_EOF
 -    ;;
 -  esac
+-
+-
+-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+-    || (rm -f "$cfgfile"; exit 1)
+-
+-  mv -f "$cfgfile" "$ofile" ||
 +  sed '$q' "$ltmain" >> "$cfgfile" \
 +     || (rm -f "$cfgfile"; exit 1)
++
 +  if test x"$xsi_shell" = xyes; then
 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 +func_dirname ()\
@@ -32801,12 +33770,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 +fi
--  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
--    || (rm -f "$cfgfile"; exit 1)
--  mv -f "$cfgfile" "$ofile" ||
++
++
 +   mv -f "$cfgfile" "$ofile" ||
      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    chmod +x "$ofile"
  
+--
+2.49.0
index c1e7b984fdc26f5e29910cc95853801944045f57..25476b515d074088d9a6ff5b2b7c03ab9f9f8088 100644 (file)
@@ -1,4 +1,4 @@
-From da88907333b1c7d6227cd9a4a7e7469c07580c2d Mon Sep 17 00:00:00 2001
+From 524d582f3a904f42ff2f70b7d3d1b015ebe59e15 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Mon, 2 Mar 2015 01:42:38 +0000
 Subject: [PATCH] Fix rpath in libtool when sysroot is enabled
@@ -47,3 +47,5 @@ index 09693d7b99b..39f0a5bde46 100644
          if test -n "$hardcode_libdir_separator"; then
            if test -z "$hardcode_libdirs"; then
              hardcode_libdirs="$libdir"
+--
+2.49.0
index 1fa1e33ff3c018badac70cb71c6ac6e30d1840c4..87ffc95ea2a160ae8beb87d6b28fd86137e78cc4 100644 (file)
@@ -1,4 +1,4 @@
-From a17eacebc6a652a83577cbdf65b4ea3161090aac Mon Sep 17 00:00:00 2001
+From dc32d1fa52c8de6bdf24a2b38eff43b246af5e1e Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Jan 2023 19:35:07 -0800
 Subject: [PATCH] Remove duplicate pe-dll.o entry deom targ_extra_ofiles
@@ -18,10 +18,10 @@ Cc: Zac Walker <zac.walker@linaro.org>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/ld/configure.tgt b/ld/configure.tgt
-index ea01ccf9a1b..923d6009f9a 100644
+index 3e158913b89..be62b312a8e 100644
 --- a/ld/configure.tgt
 +++ b/ld/configure.tgt
-@@ -1063,7 +1063,7 @@ x86_64-*-cygwin) targ_emul=i386pep ;
+@@ -1008,7 +1008,7 @@ x86_64-*-cygwin) targ_emul=i386pep ;
                        ;;
  x86_64-*-mingw*)      targ_emul=i386pep ;
                        targ_extra_emuls=i386pe
@@ -29,4 +29,6 @@ index ea01ccf9a1b..923d6009f9a 100644
 +                      targ_extra_ofiles="deffilep.o pdb.o pe-dll.o"
                        ;;
  x86_64-*-gnu*)                targ_emul=elf_x86_64
-                       targ_extra_emuls="elf32_x86_64 elf_iamcu elf_i386"
+                       targ_extra_emuls=elf_iamcu
+--
+2.49.0
diff --git a/meta/recipes-devtools/binutils/binutils/0015-CVE-2025-11081.patch b/meta/recipes-devtools/binutils/binutils/0015-CVE-2025-11081.patch
deleted file mode 100644 (file)
index 0e15a7d..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-From f87a66db645caf8cc0e6fc87b0c28c78a38af59b Mon Sep 17 00:00:00 2001
-From: Alan Modra <amodra@gmail.com>
-Date: Tue, 9 Sep 2025 18:32:09 +0930
-Subject: [PATCH] PR 33406 SEGV in dump_dwarf_section
-
-Trying to dump .sframe in a PE file results in a segfault accessing
-elf_section_data.
-
-       * objdump (dump_sframe_section, dump_dwarf_section): Don't access
-       elf_section_type without first checking the file is ELF.
----
- binutils/objdump.c | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
-Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=f87a66db645caf8cc0e6fc87b0c28c78a38af59b]
-CVE: CVE-2025-11081
-
-Signed-off-by: Alan Modra <amodra@gmail.com>
-Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
-
-diff --git a/binutils/objdump.c b/binutils/objdump.c
-index 290f7e51f66..ee8823da05a 100644
---- a/binutils/objdump.c
-+++ b/binutils/objdump.c
-@@ -4485,7 +4485,8 @@ dump_dwarf_section (bfd *abfd, asection *section,
-   else
-     match = name;
--  if (elf_section_type (section) == SHT_GNU_SFRAME)
-+  if (bfd_get_flavour (abfd) == bfd_target_elf_flavour
-+      && elf_section_type (section) == SHT_GNU_SFRAME)
-     match = ".sframe";
-   for (i = 0; i < max; i++)
-@@ -4993,9 +4994,10 @@ dump_sframe_section (bfd *abfd, const char *sect_name, bool is_mainfile)
-        SHT_GNU_SFRAME.  For SFrame sections from Binutils 2.44 or earlier,
-        check explcitly for SFrame sections of type SHT_PROGBITS and name
-        ".sframe" to allow them.  */
--      else if (elf_section_type (sec) != SHT_GNU_SFRAME
--             && !(elf_section_type (sec) == SHT_PROGBITS
--                  && strcmp (sect_name, ".sframe") == 0))
-+      else if (bfd_get_flavour (abfd) != bfd_target_elf_flavour
-+             || (elf_section_type (sec) != SHT_GNU_SFRAME
-+                 && !(elf_section_type (sec) == SHT_PROGBITS
-+                      && strcmp (sect_name, ".sframe") == 0)))
-       {
-         printf (_("Section %s does not contain SFrame data\n\n"),
-                 sanitize_string (sect_name));
--- 
-2.43.7
-
diff --git a/meta/recipes-devtools/binutils/binutils/0016-CVE-2025-11082.patch b/meta/recipes-devtools/binutils/binutils/0016-CVE-2025-11082.patch
deleted file mode 100644 (file)
index d6d1216..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-From ea1a0737c7692737a644af0486b71e4a392cbca8 Mon Sep 17 00:00:00 2001
-From: "H.J. Lu" <hjl.tools@gmail.com>
-Date: Mon, 22 Sep 2025 15:20:34 +0800
-Subject: [PATCH] elf: Don't read beyond .eh_frame section size
-
-       PR ld/33464
-       * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Don't read beyond
-       .eh_frame section size.
-
-Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
-
-CVE: CVE-2025-11082
-Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ea1a0737c7692737a644af0486b71e4a392cbca8]
-Signed-off-by: Peter Marko <peter.marko@siemens.com>
----
- bfd/elf-eh-frame.c | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c
-index dc0d2e097f5..30bb313489c 100644
---- a/bfd/elf-eh-frame.c
-+++ b/bfd/elf-eh-frame.c
-@@ -737,6 +737,7 @@ _bfd_elf_parse_eh_frame (bfd *abfd, struct bfd_link_info *info,
-       if (hdr_id == 0)
-       {
-         unsigned int initial_insn_length;
-+        char *null_byte;
-         /* CIE  */
-         this_inf->cie = 1;
-@@ -753,10 +754,13 @@ _bfd_elf_parse_eh_frame (bfd *abfd, struct bfd_link_info *info,
-         REQUIRE (cie->version == 1
-                  || cie->version == 3
-                  || cie->version == 4);
--        REQUIRE (strlen ((char *) buf) < sizeof (cie->augmentation));
-+        null_byte = memchr ((char *) buf, 0, end - buf);
-+        REQUIRE (null_byte != NULL);
-+        REQUIRE ((size_t) (null_byte - (char *) buf)
-+                 < sizeof (cie->augmentation));
-         strcpy (cie->augmentation, (char *) buf);
--        buf = (bfd_byte *) strchr ((char *) buf, '\0') + 1;
-+        buf = (bfd_byte *) null_byte + 1;
-         this_inf->u.cie.aug_str_len = buf - start - 1;
-         ENSURE_NO_RELOCS (buf);
-         if (buf[0] == 'e' && buf[1] == 'h')
diff --git a/meta/recipes-devtools/binutils/binutils/0017-CVE-2025-11083.patch b/meta/recipes-devtools/binutils/binutils/0017-CVE-2025-11083.patch
deleted file mode 100644 (file)
index b51bb5a..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-From 9ca499644a21ceb3f946d1c179c38a83be084490 Mon Sep 17 00:00:00 2001
-From: "H.J. Lu" <hjl.tools@gmail.com>
-Date: Thu, 18 Sep 2025 16:59:25 -0700
-Subject: [PATCH] elf: Don't match corrupt section header in linker input
-
-Don't swap in nor match corrupt section header in linker input to avoid
-linker crash later.
-
-       PR ld/33457
-       * elfcode.h (elf_swap_shdr_in): Changed to return bool.  Return
-       false for corrupt section header in linker input.
-       (elf_object_p): Reject if elf_swap_shdr_in returns false.
-
-Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
-
-CVE: CVE-2025-11083
-Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9ca499644a21ceb3f946d1c179c38a83be084490]
-Signed-off-by: Peter Marko <peter.marko@siemens.com>
----
- bfd/elfcode.h | 14 +++++++++-----
- 1 file changed, 9 insertions(+), 5 deletions(-)
-
-diff --git a/bfd/elfcode.h b/bfd/elfcode.h
-index 9c65852e103..5224a1abee6 100644
---- a/bfd/elfcode.h
-+++ b/bfd/elfcode.h
-@@ -311,7 +311,7 @@ elf_swap_ehdr_out (bfd *abfd,
- /* Translate an ELF section header table entry in external format into an
-    ELF section header table entry in internal format.  */
--static void
-+static bool
- elf_swap_shdr_in (bfd *abfd,
-                 const Elf_External_Shdr *src,
-                 Elf_Internal_Shdr *dst)
-@@ -341,6 +341,9 @@ elf_swap_shdr_in (bfd *abfd,
-       {
-         _bfd_error_handler (_("warning: %pB has a section "
-                               "extending past end of file"), abfd);
-+        /* PR ld/33457: Don't match corrupt section header.  */
-+        if (abfd->is_linker_input)
-+          return false;
-         abfd->read_only = 1;
-       }
-     }
-@@ -350,6 +353,7 @@ elf_swap_shdr_in (bfd *abfd,
-   dst->sh_entsize = H_GET_WORD (abfd, src->sh_entsize);
-   dst->bfd_section = NULL;
-   dst->contents = NULL;
-+  return true;
- }
- /* Translate an ELF section header table entry in internal format into an
-@@ -642,9 +646,9 @@ elf_object_p (bfd *abfd)
-       /* Read the first section header at index 0, and convert to internal
-        form.  */
--      if (bfd_read (&x_shdr, sizeof x_shdr, abfd) != sizeof (x_shdr))
-+      if (bfd_read (&x_shdr, sizeof x_shdr, abfd) != sizeof (x_shdr)
-+        || !elf_swap_shdr_in (abfd, &x_shdr, &i_shdr))
-       goto got_no_match;
--      elf_swap_shdr_in (abfd, &x_shdr, &i_shdr);
-       /* If the section count is zero, the actual count is in the first
-        section header.  */
-@@ -730,9 +734,9 @@ elf_object_p (bfd *abfd)
-        to internal form.  */
-       for (shindex = 1; shindex < i_ehdrp->e_shnum; shindex++)
-       {
--        if (bfd_read (&x_shdr, sizeof x_shdr, abfd) != sizeof (x_shdr))
-+        if (bfd_read (&x_shdr, sizeof x_shdr, abfd) != sizeof (x_shdr)
-+            || !elf_swap_shdr_in (abfd, &x_shdr, i_shdrp + shindex))
-           goto got_no_match;
--        elf_swap_shdr_in (abfd, &x_shdr, i_shdrp + shindex);
-         /* Sanity check sh_link and sh_info.  */
-         if (i_shdrp[shindex].sh_link >= num_sec)
diff --git a/meta/recipes-devtools/binutils/binutils/0018-CVE-2025-11494.patch b/meta/recipes-devtools/binutils/binutils/0018-CVE-2025-11494.patch
deleted file mode 100644 (file)
index dc4b413..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-From: "H.J. Lu" <hjl.tools@gmail.com>
-Date: Tue, 30 Sep 2025 08:13:56 +0800
-
-Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=b6ac5a8a5b82f0ae6a4642c8d7149b325f4cc60a]
-CVE: CVE-2025-11494
-
-Since x86 .eh_frame section may reference _GLOBAL_OFFSET_TABLE_, keep
-_GLOBAL_OFFSET_TABLE_ if there is dynamic section and the output
-.eh_frame section is non-empty.
-
-       PR ld/33499
-       * elfxx-x86.c (_bfd_x86_elf_late_size_sections): Keep
-       _GLOBAL_OFFSET_TABLE_ if there is dynamic section and the
-       output .eh_frame section is non-empty.
-
-Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
-
-diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c
-index c054f7cd..ddc15945 100644
---- a/bfd/elfxx-x86.c
-+++ b/bfd/elfxx-x86.c
-@@ -2447,6 +2447,8 @@ _bfd_x86_elf_late_size_sections (bfd *output_bfd,
-   if (htab->elf.sgotplt)
-     {
-+      asection *eh_frame;
-+
-       /* Don't allocate .got.plt section if there are no GOT nor PLT
-        entries and there is no reference to _GLOBAL_OFFSET_TABLE_.  */
-       if ((htab->elf.hgot == NULL
-@@ -2459,7 +2461,11 @@ _bfd_x86_elf_late_size_sections (bfd *output_bfd,
-         && (htab->elf.iplt == NULL
-             || htab->elf.iplt->size == 0)
-         && (htab->elf.igotplt == NULL
--            || htab->elf.igotplt->size == 0))
-+             || htab->elf.igotplt->size == 0)
-+         && (!htab->elf.dynamic_sections_created
-+             || (eh_frame = bfd_get_section_by_name (output_bfd,
-+                                                     ".eh_frame")) == NULL
-+             || eh_frame->rawsize == 0))
-       {
-         htab->elf.sgotplt->size = 0;
-         /* Solaris requires to keep _GLOBAL_OFFSET_TABLE_ even if it
diff --git a/meta/recipes-devtools/binutils/binutils/0019-CVE-2025-11839.patch b/meta/recipes-devtools/binutils/binutils/0019-CVE-2025-11839.patch
deleted file mode 100644 (file)
index 7f2f6d5..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-From 12ef7d5b7b02d0023db645d86eb9d0797bc747fe Mon Sep 17 00:00:00 2001
-From: Nick Clifton <nickc@redhat.com>
-Date: Mon, 3 Nov 2025 11:49:02 +0000
-Subject: [PATCH] Remove call to abort in the DGB debug format printing code,
- thus allowing the display of a fuzzed input file to complete without
- triggering an abort.
-
-PR 33448
----
- binutils/prdbg.c | 1 -
- 1 file changed, 1 deletion(-)
-
-Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=12ef7d5b7b02d0023db645d86eb9d0797bc747fe]
-CVE: CVE-2025-11839
-
-Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
-
-diff --git a/binutils/prdbg.c b/binutils/prdbg.c
-index c239aeb1a79..5d405c48e3d 100644
---- a/binutils/prdbg.c
-+++ b/binutils/prdbg.c
-@@ -2449,7 +2449,6 @@ tg_tag_type (void *p, const char *name, unsigned int id,
-       t = "union class ";
-       break;
-     default:
--      abort ();
-       return false;
-     }
--- 
-2.43.7
-
diff --git a/meta/recipes-devtools/binutils/binutils/0020-CVE-2025-11840.patch b/meta/recipes-devtools/binutils/binutils/0020-CVE-2025-11840.patch
deleted file mode 100644 (file)
index 3fb4db8..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-From f6b0f53a36820da91eadfa9f466c22f92e4256e0 Mon Sep 17 00:00:00 2001
-From: Alan Modra <amodra@gmail.com>
-Date: Mon, 3 Nov 2025 09:03:37 +1030
-Subject: [PATCH] PR 33455 SEGV in vfinfo at ldmisc.c:527
-
-A reloc howto set up with EMPTY_HOWTO has a NULL name.  More than one
-place emitting diagnostics assumes a reloc howto won't have a NULL
-name.
-
-       PR 33455
-       * coffcode.h (coff_slurp_reloc_table): Don't allow a howto with
-       a NULL name.
----
- bfd/coffcode.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=f6b0f53a36820da91eadfa9f466c22f92e4256e0]
-CVE: CVE-2025-11840
-
-Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
-
-diff --git a/bfd/coffcode.h b/bfd/coffcode.h
-index 1e5acc0032c..ce1e39131b4 100644
---- a/bfd/coffcode.h
-+++ b/bfd/coffcode.h
-@@ -5345,7 +5345,7 @@ coff_slurp_reloc_table (bfd * abfd, sec_ptr asect, asymbol ** symbols)
-       RTYPE2HOWTO (cache_ptr, &dst);
- #endif        /* RELOC_PROCESSING */
--      if (cache_ptr->howto == NULL)
-+      if (cache_ptr->howto == NULL || cache_ptr->howto->name == NULL)
-       {
-         _bfd_error_handler
-           /* xgettext:c-format */
--- 
-2.43.7
-
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2025-11412.patch b/meta/recipes-devtools/binutils/binutils/CVE-2025-11412.patch
deleted file mode 100644 (file)
index ab718f5..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From 047435dd988a3975d40c6626a8f739a0b2e154bc Mon Sep 17 00:00:00 2001
-From: Alan Modra <amodra@gmail.com>
-Date: Thu, 25 Sep 2025 08:22:24 +0930
-Subject: [PATCH] PR 33452 SEGV in bfd_elf_gc_record_vtentry
-
-Limit addends on vtentry relocs, otherwise ld might attempt to
-allocate a stupidly large array.  This also fixes the expression
-overflow leading to pr33452.  A vtable of 33M entries on a 64-bit
-host is surely large enough, especially considering that VTINHERIT
-and VTENTRY relocations are to support -fvtable-gc that disappeared
-from gcc over 20 years ago.
-
-       PR ld/33452
-       * elflink.c (bfd_elf_gc_record_vtentry): Sanity check addend.
-
-CVE: CVE-2025-11412
-Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=047435dd988a3975d40c6626a8f739a0b2e154bc]
-Signed-off-by: Peter Marko <peter.marko@siemens.com>
----
- bfd/elflink.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/bfd/elflink.c b/bfd/elflink.c
-index 54f0d6e957e..0a0456177c2 100644
---- a/bfd/elflink.c
-+++ b/bfd/elflink.c
-@@ -14837,7 +14837,7 @@ bfd_elf_gc_record_vtentry (bfd *abfd, asection *sec,
-   const struct elf_backend_data *bed = get_elf_backend_data (abfd);
-   unsigned int log_file_align = bed->s->log_file_align;
--  if (!h)
-+  if (!h || addend > 1u << 28)
-     {
-       /* xgettext:c-format */
-       _bfd_error_handler (_("%pB: section '%pA': corrupt VTENTRY entry"),
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2025-11413.patch b/meta/recipes-devtools/binutils/binutils/CVE-2025-11413.patch
deleted file mode 100644 (file)
index 1467d38..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From 72efdf166aa0ed72ecc69fc2349af6591a7a19c0 Mon Sep 17 00:00:00 2001
-From: Alan Modra <amodra@gmail.com>
-Date: Thu, 25 Sep 2025 10:41:32 +0930
-Subject: [PATCH] Re: elf: Disallow the empty global symbol name
-
-sparc64-linux-gnu  +FAIL: selective2
-sparc64-linux-gnu  +FAIL: selective3
-
-       PR ld/33456
-       * elflink.c (elf_link_add_object_symbols): Move new check later
-       to give the backend add_symbol_hook a chance to remove symbols
-       with empty names.
-
-CVE: CVE-2025-11413
-Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=72efdf166aa0ed72ecc69fc2349af6591a7a19c0]
-Signed-off-by: Peter Marko <peter.marko@siemens.com>
----
- bfd/elflink.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/bfd/elflink.c b/bfd/elflink.c
-index 0a0456177c2..5c8b822e36a 100644
---- a/bfd/elflink.c
-+++ b/bfd/elflink.c
-@@ -5118,6 +5118,13 @@ elf_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info)
-           continue;
-       }
-+      if (name[0] == '\0')
-+      {
-+        _bfd_error_handler (_("%pB: corrupt symbol table"), abfd);
-+        bfd_set_error (bfd_error_bad_value);
-+        goto error_free_vers;
-+      }
-+
-       /* Sanity check that all possibilities were handled.  */
-       if (sec == NULL)
-       abort ();
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2025-11414.patch b/meta/recipes-devtools/binutils/binutils/CVE-2025-11414.patch
deleted file mode 100644 (file)
index 21f98f0..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-From aeaaa9af6359c8e394ce9cf24911fec4f4d23703 Mon Sep 17 00:00:00 2001
-From: "H.J. Lu" <hjl.tools@gmail.com>
-Date: Tue, 23 Sep 2025 08:52:26 +0800
-Subject: [PATCH] elf: Return error on unsorted symbol table if not allowed
-
-Normally ELF symbol table should be sorted, i.e., local symbols precede
-global symbols.  Irix 6 is an exception and its elf_bad_symtab is set
-to true.  Issue an error if elf_bad_symtab is false and symbol table is
-unsorted.
-
-       PR ld/33450
-       * elflink.c (set_symbol_value): Change return type to bool and
-       return false on error.  Issue an error on unsorted symbol table
-       if not allowed.
-       (elf_link_input_bfd): Return false if set_symbol_value reurns
-       false.
-
-Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
-
-CVE: CVE-2025-11414
-Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=aeaaa9af6359c8e394ce9cf24911fec4f4d23703]
-Signed-off-by: Peter Marko <peter.marko@siemens.com>
----
- bfd/elflink.c | 21 +++++++++++++++------
- 1 file changed, 15 insertions(+), 6 deletions(-)
-
-diff --git a/bfd/elflink.c b/bfd/elflink.c
-index 66982f82b94..54f0d6e957e 100644
---- a/bfd/elflink.c
-+++ b/bfd/elflink.c
-@@ -9127,7 +9127,7 @@ struct elf_outext_info
-    <binary-operator> := as in C
-    <unary-operator> := as in C, plus "0-" for unambiguous negation.  */
--static void
-+static bool
- set_symbol_value (bfd *bfd_with_globals,
-                 Elf_Internal_Sym *isymbuf,
-                 size_t locsymcount,
-@@ -9148,9 +9148,15 @@ set_symbol_value (bfd *bfd_with_globals,
-            "absolute" section and give it a value.  */
-         sym->st_shndx = SHN_ABS;
-         sym->st_value = val;
--        return;
-+        return true;
-+      }
-+      if (!elf_bad_symtab (bfd_with_globals))
-+      {
-+        _bfd_error_handler (_("%pB: corrupt symbol table"),
-+                            bfd_with_globals);
-+        bfd_set_error (bfd_error_bad_value);
-+        return false;
-       }
--      BFD_ASSERT (elf_bad_symtab (bfd_with_globals));
-       extsymoff = 0;
-     }
-@@ -9160,11 +9166,12 @@ set_symbol_value (bfd *bfd_with_globals,
-   if (h == NULL)
-     {
-       /* FIXMEL What should we do ?  */
--      return;
-+      return false;
-     }
-   h->root.type = bfd_link_hash_defined;
-   h->root.u.def.value = val;
-   h->root.u.def.section = bfd_abs_section_ptr;
-+  return true;
- }
- static bool
-@@ -11862,8 +11869,10 @@ elf_link_input_bfd (struct elf_final_link_info *flinfo, bfd *input_bfd)
-                   return false;
-                 /* Symbol evaluated OK.  Update to absolute value.  */
--                set_symbol_value (input_bfd, isymbuf, locsymcount,
--                                  r_symndx, val);
-+                if (!set_symbol_value (input_bfd, isymbuf, locsymcount, r_symndx,
-+                                       val))
-+                  return false;
-+
-                 continue;
-               }
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2025-11495.patch b/meta/recipes-devtools/binutils/binutils/CVE-2025-11495.patch
deleted file mode 100644 (file)
index 6e5e68f..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-From 6b21c8b2ecfef5c95142cbc2c32f185cb1c26ab0 Mon Sep 17 00:00:00 2001
-From: "H.J. Lu" <hjl.tools@gmail.com>
-Date: Tue, 30 Sep 2025 08:18:29 +0800
-Subject: [PATCH] x86: Disallow TLS relocation in non executable section
-
-Since TLS relocations are applied to executable machine instructions,
-disallow TLS relocation in non-SHT_PROGBITS, non-SHF_EXECINSTR section.
-
-       PR ld/33451
-       PR ld/33502
-       * elf32-i386.c (elf_i386_tls_transition): Disallow TLS relocation
-       in non-SHT_PROGBITS, non-SHF_EXECINSTR section.
-       (elf_i386_scan_relocs): Likewise.
-       * elf64-x86-64.c (elf_x86_64_tls_transition): Likewise.
-       (elf_x86_64_scan_relocs): Likewise.
-       * elfxx-x86.c (_bfd_x86_elf_link_report_tls_invalid_section_error):
-       New.
-       * elfxx-x86.h (_bfd_x86_elf_link_report_tls_invalid_section_error):
-       Likewise.
-
-Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
-
-CVE: CVE-2025-11495
-Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6b21c8b2ecfef5c95142cbc2c32f185cb1c26ab0]
-Signed-off-by: Peter Marko <peter.marko@siemens.com>
----
- bfd/elf32-i386.c   | 19 +++++++++++++++++++
- bfd/elf64-x86-64.c | 20 ++++++++++++++++++++
- bfd/elfxx-x86.c    | 20 ++++++++++++++++++++
- bfd/elfxx-x86.h    |  4 ++++
- 4 files changed, 63 insertions(+)
-
-diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
-index 507a0762aff..0d60eded701 100644
---- a/bfd/elf32-i386.c
-+++ b/bfd/elf32-i386.c
-@@ -1166,6 +1166,15 @@ elf_i386_tls_transition (struct bfd_link_info *info, bfd *abfd,
-       return true;
-     }
-+  if ((elf_section_type (sec) != SHT_PROGBITS
-+       || (sec->flags & SEC_CODE) == 0))
-+    {
-+      reloc_howto_type *howto = elf_i386_rtype_to_howto (from_type);
-+      _bfd_x86_elf_link_report_tls_invalid_section_error
-+      (abfd, sec, symtab_hdr, h, sym, howto);
-+      return false;
-+    }
-+
-   /* Return TRUE if there is no transition.  */
-   if (from_type == to_type)
-     return true;
-@@ -1727,6 +1736,16 @@ elf_i386_scan_relocs (bfd *abfd,
-               tls_type = GOT_TLS_IE_POS; break;
-             }
-+          if (tls_type >= GOT_TLS_GD
-+              && tls_type <= GOT_TLS_GDESC
-+              && (elf_section_type (sec) != SHT_PROGBITS
-+                  || (sec->flags & SEC_CODE) == 0))
-+            {
-+              _bfd_x86_elf_link_report_tls_invalid_section_error
-+                (abfd, sec, symtab_hdr, h, isym, howto);
-+              goto error_return;
-+            }
-+
-           if (h != NULL)
-             {
-               h->got.refcount = 1;
-diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
-index 620b6a380cd..59b43149897 100644
---- a/bfd/elf64-x86-64.c
-+++ b/bfd/elf64-x86-64.c
-@@ -1626,6 +1626,16 @@ elf_x86_64_tls_transition (struct bfd_link_info *info, bfd *abfd,
-       return true;
-     }
-+  if ((elf_section_type (sec) != SHT_PROGBITS
-+       || (sec->flags & SEC_CODE) == 0))
-+    {
-+      reloc_howto_type *howto = elf_x86_64_rtype_to_howto (abfd,
-+                                                         from_type);
-+      _bfd_x86_elf_link_report_tls_invalid_section_error
-+      (abfd, sec, symtab_hdr, h, sym, howto);
-+      return false;
-+    }
-+
-   /* Return TRUE if there is no transition.  */
-   if (from_type == to_type
-       || (from_type == R_X86_64_CODE_4_GOTTPOFF
-@@ -2748,6 +2758,16 @@ elf_x86_64_scan_relocs (bfd *abfd, struct bfd_link_info *info,
-               break;
-             }
-+          if (tls_type >= GOT_TLS_GD
-+              && tls_type <= GOT_TLS_GDESC
-+              && (elf_section_type (sec) != SHT_PROGBITS
-+                  || (sec->flags & SEC_CODE) == 0))
-+            {
-+              _bfd_x86_elf_link_report_tls_invalid_section_error
-+                (abfd, sec, symtab_hdr, h, isym, howto);
-+              goto error_return;
-+            }
-+
-           if (h != NULL)
-             {
-               h->got.refcount = 1;
-diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c
-index 0d389968c91..d8c653a9ad2 100644
---- a/bfd/elfxx-x86.c
-+++ b/bfd/elfxx-x86.c
-@@ -3348,6 +3348,26 @@ _bfd_x86_elf_link_report_tls_transition_error
-   bfd_set_error (bfd_error_bad_value);
- }
-+/* Report TLS invalid section error.  */
-+
-+void
-+_bfd_x86_elf_link_report_tls_invalid_section_error
-+  (bfd *abfd, asection *sec, Elf_Internal_Shdr *symtab_hdr,
-+   struct elf_link_hash_entry *h, Elf_Internal_Sym *sym,
-+   reloc_howto_type *howto)
-+{
-+  const char *name;
-+  if (h)
-+    name = h->root.root.string;
-+  else
-+    name = bfd_elf_sym_name (abfd, symtab_hdr, sym, NULL);
-+  _bfd_error_handler
-+    /* xgettext:c-format */
-+    (_("%pB: relocation %s against thread local symbol `%s' in "
-+       "invalid section `%pA'"), abfd, howto->name, name, sec);
-+  bfd_set_error (bfd_error_bad_value);
-+}
-+
- /* Return TRUE if symbol should be hashed in the `.gnu.hash' section.  */
- bool
-diff --git a/bfd/elfxx-x86.h b/bfd/elfxx-x86.h
-index 1ebc9d2f2e5..f8a24a77577 100644
---- a/bfd/elfxx-x86.h
-+++ b/bfd/elfxx-x86.h
-@@ -939,6 +939,10 @@ extern void _bfd_x86_elf_link_report_tls_transition_error
-    const Elf_Internal_Rela *, const char *, const char *,
-    enum elf_x86_tls_error_type);
-+extern void _bfd_x86_elf_link_report_tls_invalid_section_error
-+  (bfd *, asection *, Elf_Internal_Shdr *, struct elf_link_hash_entry *,
-+   Elf_Internal_Sym *, reloc_howto_type *);
-+
- #define bfd_elf64_mkobject \
-   _bfd_x86_elf_mkobject
- #define bfd_elf32_mkobject \
index f7963afcbe16e8764264f7dffaf6ea130f9e854f..f5dc986e1dd6457ef125da5b8ea03dc520c8a9c4 100644 (file)
@@ -20,6 +20,7 @@ SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
            file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \
            file://0001-config-eu.am-do-not-force-Werror.patch \
            file://0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch \
+           file://0004-aarch64-Recognize-SHT_AARCH64_ATTRIBUTES.patch \
            "
 SRC_URI:append:libc-musl = " \
            file://0003-musl-utils.patch \
diff --git a/meta/recipes-devtools/elfutils/files/0004-aarch64-Recognize-SHT_AARCH64_ATTRIBUTES.patch b/meta/recipes-devtools/elfutils/files/0004-aarch64-Recognize-SHT_AARCH64_ATTRIBUTES.patch
new file mode 100644 (file)
index 0000000..c912d6f
--- /dev/null
@@ -0,0 +1,63 @@
+From: Mark Wielaard <mark@klomp.org>
+To: elfutils-devel@sourceware.org
+Cc: Mark Wielaard <mark@klomp.org>
+Subject: [PATCH] aarch64: Recognize SHT_AARCH64_ATTRIBUTES
+Date: Tue, 24 Feb 2026 22:32:26 +0100   [thread overview]
+Message-ID: <20260224213226.3212482-1-mark@klomp.org> (raw)
+
+Recognize SHT_AARCH64_ATTRIBUTES. This is enough to stop elflint
+complaining about unknown section types. But doesn't implement parsing
+the attributes.
+
+        * backends/aarch64_symbol.c (aarch64_section_type_name):
+        New function.
+        * backends/aarch64_init.c (aarch64_init): Hook
+        section_type_name.
+
+Upstream-Status: Submitted [https://inbox.sourceware.org/elfutils-devel/20260224213226.3212482-1-mark@klomp.org/]
+
+ backends/aarch64_init.c   |  1 +
+ backends/aarch64_symbol.c | 18 ++++++++++++++++++
+ 2 files changed, 19 insertions(+)
+
+Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
+diff --git a/backends/aarch64_init.c b/backends/aarch64_init.c
+index bed929548dcd..c61767d56636 100644
+--- a/backends/aarch64_init.c
++++ b/backends/aarch64_init.c
+@@ -54,6 +54,7 @@ aarch64_init (Elf *elf __attribute__ ((unused)),
+   HOOK (eh, dynamic_tag_check);
+   HOOK (eh, data_marker_symbol);
+   HOOK (eh, abi_cfi);
++  HOOK (eh, section_type_name);
+   /* X0-X30 (31 regs) + SP + 1 Reserved + ELR, 30 Reserved regs (34-43)
+      + V0-V31 (32 regs, least significant 64 bits only)
+diff --git a/backends/aarch64_symbol.c b/backends/aarch64_symbol.c
+index 15e0805b7604..af9322fda561 100644
+--- a/backends/aarch64_symbol.c
++++ b/backends/aarch64_symbol.c
+@@ -134,3 +134,21 @@ aarch64_dynamic_tag_check (int64_t tag)
+         || tag == DT_AARCH64_PAC_PLT
+         || tag == DT_AARCH64_VARIANT_PCS);
+ }
++
++/* Return symbolic representation of section type.  */
++const char *
++aarch64_section_type_name (int type,
++                         char *buf __attribute__ ((unused)),
++                         size_t len __attribute__ ((unused)))
++{
++  switch (type)
++    {
++#ifndef SHT_AARCH64_ATTRIBUTES
++#define SHT_AARCH64_ATTRIBUTES 0x70000003
++#endif
++    case SHT_AARCH64_ATTRIBUTES:
++      return "AARCH64_ATTRIBUTES";
++    }
++
++  return NULL;
++}
+-- 
+2.52.0