several updates to libvorbisidec-1.2.1 (mostly from vorbis.git).
authorOzkan Sezer <sezeroz@gmail.com>
Mon, 07 Oct 2019 00:11:50 +0300
changeset 9563c57deb3e245
parent 955 865a65fcd09a
child 957 fa94604ebea3
several updates to libvorbisidec-1.2.1 (mostly from vorbis.git).
external/libvorbisidec-1.2.1.patch
external/libvorbisidec-1.2.1/0001-os.h-change-elif-_WIN32-to-elif-defined-_WIN32.patch
external/libvorbisidec-1.2.1/0002-mapping0.c-mapping0_unpack-kill-a-useless-memset.patch
external/libvorbisidec-1.2.1/0003-Add-return-code-check-to-_initial_pcmoffset-as-vorbi.patch
external/libvorbisidec-1.2.1/0004-configury-do-AC_LIBTOOL_WIN32_DLL-for-win32-dll-buil.patch
external/libvorbisidec-1.2.1/0005-configury-add-Version_script-to-LDFLAGS-after-all-ch.patch
external/libvorbisidec-1.2.1/0006-configury-add-no-undefined-to-libvorbisidec_la_LDFLA.patch
external/libvorbisidec-1.2.1/0007-os.h-include-config.h.patch
external/libvorbisidec-1.2.1/0008-remove-const-from-LOOKUP_T-definition-to-avoid-doubl.patch
external/libvorbisidec-1.2.1/0009-make-Tremor-to-build-with-compilers-which-doesn-t-ha.patch
external/libvorbisidec-1.2.1/0010-remove-non-existing-vorbis_comment_add-and-vorbis_co.patch
external/libvorbisidec-1.2.1/0011-os.h-remove-irrelevant-compatibility-defs.patch
external/libvorbisidec-1.2.1/0012-remove-an-unused-local-variable.patch
external/libvorbisidec-1.2.1/0013-os-h-fix-misplaced-_V_IFDEFJAIL_H_-else.patch
external/libvorbisidec-1.2.1/0014-Fix-reading-maximum-nominal-minimum-bitrate-in-_vorb.patch
external/libvorbisidec-1.2.1/0015-autofoo-use-m4-as-macro-dir.patch
external/libvorbisidec-1.2.1/0016-info.c-remove-ctype.h-dependency-add-a-generic-toupp.patch
external/libvorbisidec-1.2.1/0017-Fix-free-of-uninitialized-memory-if-seek-fails-in-ov.patch
external/libvorbisidec-1.2.1/Android.mk
external/libvorbisidec-1.2.1/Makefile.am
external/libvorbisidec-1.2.1/Makefile.in
external/libvorbisidec-1.2.1/Version_script.in
external/libvorbisidec-1.2.1/acinclude/ogg.m4
external/libvorbisidec-1.2.1/acinclude/pkg.m4
external/libvorbisidec-1.2.1/aclocal.m4
external/libvorbisidec-1.2.1/codebook.c
external/libvorbisidec-1.2.1/config.h.in
external/libvorbisidec-1.2.1/configure
external/libvorbisidec-1.2.1/configure.in
external/libvorbisidec-1.2.1/floor0.c
external/libvorbisidec-1.2.1/info.c
external/libvorbisidec-1.2.1/ivorbiscodec.h
external/libvorbisidec-1.2.1/m4/libtool.m4
external/libvorbisidec-1.2.1/m4/ltoptions.m4
external/libvorbisidec-1.2.1/m4/ltsugar.m4
external/libvorbisidec-1.2.1/m4/ltversion.m4
external/libvorbisidec-1.2.1/m4/lt~obsolete.m4
external/libvorbisidec-1.2.1/m4/ogg.m4
external/libvorbisidec-1.2.1/m4/pkg.m4
external/libvorbisidec-1.2.1/mapping0.c
external/libvorbisidec-1.2.1/mdct.c
external/libvorbisidec-1.2.1/misc.h
external/libvorbisidec-1.2.1/os.h
external/libvorbisidec-1.2.1/res012.c
external/libvorbisidec-1.2.1/sharedbook.c
external/libvorbisidec-1.2.1/vorbisfile.c
external/libvorbisidec-1.2.1/window.c
     1.1 --- a/external/libvorbisidec-1.2.1.patch	Sun Oct 06 23:11:11 2019 +0300
     1.2 +++ b/external/libvorbisidec-1.2.1.patch	Mon Oct 07 00:11:50 2019 +0300
     1.3 @@ -1,6 +1,6 @@
     1.4 -diff -ruN libvorbisidec-1.2.1.orig/Android.mk libvorbisidec-1.2.1/Android.mk
     1.5 ---- libvorbisidec-1.2.1.orig/Android.mk	1969-12-31 16:00:00.000000000 -0800
     1.6 -+++ libvorbisidec-1.2.1/Android.mk	2017-10-22 17:27:12.176911197 -0700
     1.7 +diff -u /dev/null libvorbisidec-1.2.1/Android.mk
     1.8 +--- /dev/null
     1.9 ++++ libvorbisidec-1.2.1/Android.mk
    1.10  @@ -0,0 +1,32 @@
    1.11  +LOCAL_PATH := $(call my-dir)
    1.12  +
    1.13 @@ -10,7 +10,7 @@
    1.14  +
    1.15  +LOCAL_C_INCLUDES :=
    1.16  +
    1.17 -+LOCAL_CFLAGS :=
    1.18 ++LOCAL_CFLAGS := -DHAVE_ALLOCA -DVAR_ARRAYS
    1.19  +
    1.20  +ifeq ($(TARGET_ARCH),arm)
    1.21  +	LOCAL_CFLAGS += -D_ARM_ASSEM_
    1.22 @@ -34,9 +34,9 @@
    1.23  +LOCAL_SHARED_LIBRARIES := ogg
    1.24  +
    1.25  +include $(BUILD_STATIC_LIBRARY)
    1.26 -diff -ruN libvorbisidec-1.2.1.orig/misc.h libvorbisidec-1.2.1/misc.h
    1.27 ---- libvorbisidec-1.2.1.orig/misc.h	2017-10-22 17:26:08.725205666 -0700
    1.28 -+++ libvorbisidec-1.2.1/misc.h	2017-10-12 20:05:06.719770194 -0700
    1.29 +diff -u libvorbisidec-1.2.1/misc.h~ libvorbisidec-1.2.1/misc.h
    1.30 +--- libvorbisidec-1.2.1/misc.h~
    1.31 ++++ libvorbisidec-1.2.1/misc.h
    1.32  @@ -30,6 +30,7 @@
    1.33   
    1.34   #include "asm_arm.h"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/external/libvorbisidec-1.2.1/0001-os.h-change-elif-_WIN32-to-elif-defined-_WIN32.patch	Mon Oct 07 00:11:50 2019 +0300
     2.3 @@ -0,0 +1,29 @@
     2.4 +From f2f94d9682db9a5a2c493f8a995f80eebad0f0a6 Mon Sep 17 00:00:00 2001
     2.5 +From: sezero <sezero@users.sourceforge.net>
     2.6 +Date: Tue, 20 Mar 2018 11:20:02 +0300
     2.7 +Subject: [PATCH] os.h: change elif _WIN32 to elif defined(_WIN32)
     2.8 +
     2.9 +This symbol is only defined (with the value 1) when building
    2.10 +for the Windows target, so we need to ifdef, not if.
    2.11 +
    2.12 +(vorbis.git commit e3230ddc86f7164db1e310b7e7275e90a3556e3b)
    2.13 +---
    2.14 + os.h |    2 +-
    2.15 + 1 files changed, 1 insertions(+), 1 deletions(-)
    2.16 +
    2.17 +diff --git a/os.h b/os.h
    2.18 +index 130d27d..12ba684 100644
    2.19 +--- a/os.h
    2.20 ++++ b/os.h
    2.21 +@@ -25,7 +25,7 @@
    2.22 + 
    2.23 + #  ifdef __GNUC__
    2.24 + #    define STIN static __inline__
    2.25 +-#  elif _WIN32
    2.26 ++#  elif defined(_WIN32)
    2.27 + #    define STIN static __inline
    2.28 + #  endif
    2.29 + #else
    2.30 +-- 
    2.31 +1.7.1
    2.32 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/external/libvorbisidec-1.2.1/0002-mapping0.c-mapping0_unpack-kill-a-useless-memset.patch	Mon Oct 07 00:11:50 2019 +0300
     3.3 @@ -0,0 +1,29 @@
     3.4 +From 8fea0414f6a754f31221ff3fa291f20ba85a9907 Mon Sep 17 00:00:00 2001
     3.5 +From: sezero <sezero@users.sourceforge.net>
     3.6 +Date: Tue, 20 Mar 2018 11:20:10 +0300
     3.7 +Subject: [PATCH] mapping0.c (mapping0_unpack): kill a useless memset()
     3.8 +
     3.9 +info is allocated with calloc() already.
    3.10 +
    3.11 +(vorbis.git commit 8a8f8589e19c5016f6548d877a8fda231fce4f93)
    3.12 +
    3.13 +Signed-off-by: Ralph Giles <giles@thaumas.net>
    3.14 +---
    3.15 + mapping0.c |    1 -
    3.16 + 1 files changed, 0 insertions(+), 1 deletions(-)
    3.17 +
    3.18 +diff --git a/mapping0.c b/mapping0.c
    3.19 +index aa03e85..17aa60b 100644
    3.20 +--- a/mapping0.c
    3.21 ++++ b/mapping0.c
    3.22 +@@ -129,7 +129,6 @@ static vorbis_info_mapping *mapping0_unpack(vorbis_info *vi,oggpack_buffer *opb)
    3.23 +   int i,b;
    3.24 +   vorbis_info_mapping0 *info=(vorbis_info_mapping0 *)_ogg_calloc(1,sizeof(*info));
    3.25 +   codec_setup_info     *ci=(codec_setup_info *)vi->codec_setup;
    3.26 +-  memset(info,0,sizeof(*info));
    3.27 + 
    3.28 +   b=oggpack_read(opb,1);
    3.29 +   if(b<0)goto err_out;
    3.30 +-- 
    3.31 +1.7.1
    3.32 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/external/libvorbisidec-1.2.1/0003-Add-return-code-check-to-_initial_pcmoffset-as-vorbi.patch	Mon Oct 07 00:11:50 2019 +0300
     4.3 @@ -0,0 +1,32 @@
     4.4 +From 45de67aa9d15102546d1956bbf2c0e770072e595 Mon Sep 17 00:00:00 2001
     4.5 +From: Monty <xiphmont@xiph.org>
     4.6 +Date: Tue, 20 Mar 2018 11:21:50 +0300
     4.7 +Subject: [PATCH] Add return code check to _initial_pcmoffset as vorbis_packet_blocksize can fail. Closes Trac #2142
     4.8 +
     4.9 +(backport from vorbis svn r19434)
    4.10 +---
    4.11 + vorbisfile.c |    8 +++++---
    4.12 + 1 files changed, 5 insertions(+), 3 deletions(-)
    4.13 +
    4.14 +diff --git a/vorbisfile.c b/vorbisfile.c
    4.15 +index cd4814d..ca583c8 100644
    4.16 +--- a/vorbisfile.c
    4.17 ++++ b/vorbisfile.c
    4.18 +@@ -433,9 +433,11 @@ static ogg_int64_t _initial_pcmoffset(OggVorbis_File *vf, vorbis_info *vi){
    4.19 +     while((result=ogg_stream_packetout(&vf->os,&op))){
    4.20 +       if(result>0){ /* ignore holes */
    4.21 +         long thisblock=vorbis_packet_blocksize(vi,&op);
    4.22 +-        if(lastblock!=-1)
    4.23 +-          accumulated+=(lastblock+thisblock)>>2;
    4.24 +-        lastblock=thisblock;
    4.25 ++        if(thisblock>=0){
    4.26 ++          if(lastblock!=-1)
    4.27 ++            accumulated+=(lastblock+thisblock)>>2;
    4.28 ++          lastblock=thisblock;
    4.29 ++        }
    4.30 +       }
    4.31 +     }
    4.32 + 
    4.33 +-- 
    4.34 +1.7.1
    4.35 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/external/libvorbisidec-1.2.1/0004-configury-do-AC_LIBTOOL_WIN32_DLL-for-win32-dll-buil.patch	Mon Oct 07 00:11:50 2019 +0300
     5.3 @@ -0,0 +1,26 @@
     5.4 +From 1a72827e1ad990b09f252c4f643b762b8070e8f5 Mon Sep 17 00:00:00 2001
     5.5 +From: sezero <sezero@users.sourceforge.net>
     5.6 +Date: Tue, 20 Mar 2018 11:24:24 +0300
     5.7 +Subject: [PATCH] configury: do AC_LIBTOOL_WIN32_DLL for win32 dll builds
     5.8 +
     5.9 +---
    5.10 + configure.in |    3 ++-
    5.11 + 1 files changed, 2 insertions(+), 1 deletions(-)
    5.12 +
    5.13 +diff --git a/configure.in b/configure.in
    5.14 +index e7f5690..152cb04 100644
    5.15 +--- a/configure.in
    5.16 ++++ b/configure.in
    5.17 +@@ -36,7 +36,8 @@ AC_PROG_CC
    5.18 + AC_PROG_CPP
    5.19 + CFLAGS="$cflags_save"
    5.20 + 
    5.21 +-AM_PROG_LIBTOOL
    5.22 ++AC_LIBTOOL_WIN32_DLL
    5.23 ++AC_PROG_LIBTOOL
    5.24 + 
    5.25 + dnl --------------------------------------------------
    5.26 + dnl Set build flags based on environment
    5.27 +-- 
    5.28 +1.7.1
    5.29 +
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/external/libvorbisidec-1.2.1/0005-configury-add-Version_script-to-LDFLAGS-after-all-ch.patch	Mon Oct 07 00:11:50 2019 +0300
     6.3 @@ -0,0 +1,41 @@
     6.4 +From f016bee5e8682cdb387434c1ff83c8274a8e4578 Mon Sep 17 00:00:00 2001
     6.5 +From: sezero <sezero@users.sourceforge.net>
     6.6 +Date: Tue, 20 Mar 2018 11:27:00 +0300
     6.7 +Subject: [PATCH] configury: add Version_script to LDFLAGS after all checks
     6.8 +
     6.9 +because Version_script won't be generated yet.
    6.10 +---
    6.11 + configure.in |   10 ++++++----
    6.12 + 1 files changed, 6 insertions(+), 4 deletions(-)
    6.13 +
    6.14 +diff --git a/configure.in b/configure.in
    6.15 +index 152cb04..98d5395 100644
    6.16 +--- a/configure.in
    6.17 ++++ b/configure.in
    6.18 +@@ -79,10 +79,6 @@ LDFLAGS="$LDFLAGS $ldflags_save"
    6.19 + # Test whenever ld supports -version-script
    6.20 + AC_PROG_LD
    6.21 + AC_PROG_LD_GNU
    6.22 +-if test "x$lt_cv_prog_gnu_ld" = "xyes"; then
    6.23 +-   SHLIB_VERSION_ARG="-Wl,--version-script=Version_script"
    6.24 +-   LDFLAGS="$LDFLAGS $SHLIB_VERSION_ARG"
    6.25 +-fi
    6.26 + 
    6.27 + dnl --------------------------------------------------
    6.28 + dnl Options 
    6.29 +@@ -134,6 +130,12 @@ dnl --------------------------------------------------
    6.30 + AC_FUNC_ALLOCA
    6.31 + AC_FUNC_MEMCMP
    6.32 + 
    6.33 ++# do this last after all checks, because Version_script is not generated yet.
    6.34 ++if test "x$lt_cv_prog_gnu_ld" = "xyes"; then
    6.35 ++   SHLIB_VERSION_ARG="-Wl,--version-script=Version_script"
    6.36 ++   LDFLAGS="$LDFLAGS $SHLIB_VERSION_ARG"
    6.37 ++fi
    6.38 ++
    6.39 + dnl --------------------------------------------------
    6.40 + dnl Do substitutions
    6.41 + dnl --------------------------------------------------
    6.42 +-- 
    6.43 +1.7.1
    6.44 +
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/external/libvorbisidec-1.2.1/0006-configury-add-no-undefined-to-libvorbisidec_la_LDFLA.patch	Mon Oct 07 00:11:50 2019 +0300
     7.3 @@ -0,0 +1,33 @@
     7.4 +From 35994da5e574e7e0c256ca1fc3cb903a9afe7eff Mon Sep 17 00:00:00 2001
     7.5 +From: sezero <sezero@users.sourceforge.net>
     7.6 +Date: Tue, 20 Mar 2018 11:29:10 +0300
     7.7 +Subject: [PATCH] configury: add -no-undefined to libvorbisidec_la_LDFLAGS
     7.8 +
     7.9 +---
    7.10 + Makefile.am |    4 ++--
    7.11 + 1 files changed, 2 insertions(+), 2 deletions(-)
    7.12 +
    7.13 +diff --git a/Makefile.am b/Makefile.am
    7.14 +index 0a4bb2c..60c39fa 100644
    7.15 +--- a/Makefile.am
    7.16 ++++ b/Makefile.am
    7.17 +@@ -1,6 +1,6 @@
    7.18 + AUTOMAKE_OPTIONS = foreign
    7.19 + 
    7.20 +-INCLUDES = -I./ @OGG_CFLAGS@
    7.21 ++INCLUDES = -I. @OGG_CFLAGS@
    7.22 + 
    7.23 + pkgconfigdir = $(libdir)/pkgconfig
    7.24 + pkgconfig_DATA = vorbisidec.pc
    7.25 +@@ -17,7 +17,7 @@ libvorbisidec_la_SOURCES = mdct.c block.c window.c \
    7.26 +                         registry.h window.h window_lookup.h\
    7.27 +                         codec_internal.h backends.h \
    7.28 + 			asm_arm.h ivorbiscodec.h
    7.29 +-libvorbisidec_la_LDFLAGS = -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
    7.30 ++libvorbisidec_la_LDFLAGS = -no-undefined -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
    7.31 + libvorbisidec_la_LIBADD = @OGG_LIBS@
    7.32 + 
    7.33 + EXTRA_PROGRAMS = ivorbisfile_example iseeking_example
    7.34 +-- 
    7.35 +1.7.1
    7.36 +
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/external/libvorbisidec-1.2.1/0007-os.h-include-config.h.patch	Mon Oct 07 00:11:50 2019 +0300
     8.3 @@ -0,0 +1,27 @@
     8.4 +From a31174f922504f54acf47b2088f75c37d1f2cfa1 Mon Sep 17 00:00:00 2001
     8.5 +From: sezero <sezero@users.sourceforge.net>
     8.6 +Date: Tue, 20 Mar 2018 11:30:00 +0300
     8.7 +Subject: [PATCH] os.h: include config.h
     8.8 +
     8.9 +---
    8.10 + os.h |    4 ++++
    8.11 + 1 files changed, 4 insertions(+), 0 deletions(-)
    8.12 +
    8.13 +diff --git a/os.h b/os.h
    8.14 +index 12ba684..69dc200 100644
    8.15 +--- a/os.h
    8.16 ++++ b/os.h
    8.17 +@@ -17,6 +17,10 @@
    8.18 + 
    8.19 +  ********************************************************************/
    8.20 + 
    8.21 ++#ifdef HAVE_CONFIG_H
    8.22 ++#include "config.h"
    8.23 ++#endif
    8.24 ++
    8.25 + #include <math.h>
    8.26 + #include <ogg/os_types.h>
    8.27 + 
    8.28 +-- 
    8.29 +1.7.1
    8.30 +
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/external/libvorbisidec-1.2.1/0008-remove-const-from-LOOKUP_T-definition-to-avoid-doubl.patch	Mon Oct 07 00:11:50 2019 +0300
     9.3 @@ -0,0 +1,89 @@
     9.4 +From b9773c676623706fcd1a9446b97662821c62f83c Mon Sep 17 00:00:00 2001
     9.5 +From: sezero <sezero@users.sourceforge.net>
     9.6 +Date: Tue, 20 Mar 2018 11:33:28 +0300
     9.7 +Subject: [PATCH] remove const from LOOKUP_T definition to avoid 'double const' warnings
     9.8 +
     9.9 +---
    9.10 + mdct.c   |   10 +++++-----
    9.11 + misc.h   |    4 ++--
    9.12 + window.c |    5 ++++-
    9.13 + 3 files changed, 11 insertions(+), 8 deletions(-)
    9.14 +
    9.15 +diff --git a/mdct.c b/mdct.c
    9.16 +index 2aed62c..3ad4483 100644
    9.17 +--- a/mdct.c
    9.18 ++++ b/mdct.c
    9.19 +@@ -147,7 +147,7 @@ STIN void mdct_butterfly_32(DATA_TYPE *x){
    9.20 + /* N/stage point generic N stage butterfly (in place, 2 register) */
    9.21 + STIN void mdct_butterfly_generic(DATA_TYPE *x,int points,int step){
    9.22 + 
    9.23 +-  LOOKUP_T *T   = sincos_lookup0;
    9.24 ++  const LOOKUP_T *T   = sincos_lookup0;
    9.25 +   DATA_TYPE *x1        = x + points      - 8;
    9.26 +   DATA_TYPE *x2        = x + (points>>1) - 8;
    9.27 +   REG_TYPE   r0;
    9.28 +@@ -257,8 +257,8 @@ STIN void mdct_bitreverse(DATA_TYPE *x,int n,int step,int shift){
    9.29 +   int          bit   = 0;
    9.30 +   DATA_TYPE   *w0    = x;
    9.31 +   DATA_TYPE   *w1    = x = w0+(n>>1);
    9.32 +-  LOOKUP_T    *T = (step>=4)?(sincos_lookup0+(step>>1)):sincos_lookup1;
    9.33 +-  LOOKUP_T    *Ttop  = T+1024;
    9.34 ++  const LOOKUP_T *T = (step>=4)?(sincos_lookup0+(step>>1)):sincos_lookup1;
    9.35 ++  const LOOKUP_T *Ttop  = T+1024;
    9.36 +   DATA_TYPE    r2;
    9.37 + 
    9.38 +   do{
    9.39 +@@ -342,8 +342,8 @@ void mdct_backward(int n, DATA_TYPE *in, DATA_TYPE *out){
    9.40 +   int n4=n>>2;
    9.41 +   DATA_TYPE *iX;
    9.42 +   DATA_TYPE *oX;
    9.43 +-  LOOKUP_T *T;
    9.44 +-  LOOKUP_T *V;
    9.45 ++  const LOOKUP_T *T;
    9.46 ++  const LOOKUP_T *V;
    9.47 +   int shift;
    9.48 +   int step;
    9.49 + 
    9.50 +diff --git a/misc.h b/misc.h
    9.51 +index 1ae4d2e..ee5660d 100644
    9.52 +--- a/misc.h
    9.53 ++++ b/misc.h
    9.54 +@@ -22,10 +22,10 @@
    9.55 + 
    9.56 + #ifdef _LOW_ACCURACY_
    9.57 + #  define X(n) (((((n)>>22)+1)>>1) - ((((n)>>22)+1)>>9))
    9.58 +-#  define LOOKUP_T const unsigned char
    9.59 ++#  define LOOKUP_T unsigned char
    9.60 + #else
    9.61 + #  define X(n) (n)
    9.62 +-#  define LOOKUP_T const ogg_int32_t
    9.63 ++#  define LOOKUP_T ogg_int32_t
    9.64 + #endif
    9.65 + 
    9.66 + #include "asm_arm.h"
    9.67 +diff --git a/window.c b/window.c
    9.68 +index 006a1ee..3f2917f 100644
    9.69 +--- a/window.c
    9.70 ++++ b/window.c
    9.71 +@@ -56,7 +56,7 @@ void _vorbis_apply_window(ogg_int32_t *d,const void *window_p[2],
    9.72 + 			  long *blocksizes,
    9.73 + 			  int lW,int W,int nW){
    9.74 +   
    9.75 +-  LOOKUP_T *window[2]={window_p[0],window_p[1]};
    9.76 ++  const LOOKUP_T *window[2];
    9.77 +   long n=blocksizes[W];
    9.78 +   long ln=blocksizes[lW];
    9.79 +   long rn=blocksizes[nW];
    9.80 +@@ -69,6 +69,9 @@ void _vorbis_apply_window(ogg_int32_t *d,const void *window_p[2],
    9.81 +   
    9.82 +   int i,p;
    9.83 + 
    9.84 ++  window[0] = (const LOOKUP_T *)window_p[0];
    9.85 ++  window[1] = (const LOOKUP_T *)window_p[1];
    9.86 ++
    9.87 +   for(i=0;i<leftbegin;i++)
    9.88 +     d[i]=0;
    9.89 + 
    9.90 +-- 
    9.91 +1.7.1
    9.92 +
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/external/libvorbisidec-1.2.1/0009-make-Tremor-to-build-with-compilers-which-doesn-t-ha.patch	Mon Oct 07 00:11:50 2019 +0300
    10.3 @@ -0,0 +1,203 @@
    10.4 +From 82765a73afc63fd87464f1fc9791ea2b2c82c4d1 Mon Sep 17 00:00:00 2001
    10.5 +From: sezero <sezero@users.sourceforge.net>
    10.6 +Date: Tue, 20 Mar 2018 11:35:40 +0300
    10.7 +Subject: [PATCH] make Tremor to build with compilers which doesn't have alloca() but has VAR_ARRAYS
    10.8 +
    10.9 +alloca() is still the default, so there is no behavior change.
   10.10 +---
   10.11 + codebook.c   |    6 +++---
   10.12 + configure.in |    9 +++++++++
   10.13 + floor0.c     |    2 +-
   10.14 + info.c       |    8 ++++----
   10.15 + mapping0.c   |    8 ++++----
   10.16 + os.h         |   23 +++++++++++++++++++++--
   10.17 + res012.c     |    2 +-
   10.18 + sharedbook.c |    8 ++++----
   10.19 + 8 files changed, 47 insertions(+), 19 deletions(-)
   10.20 +
   10.21 +diff --git a/codebook.c b/codebook.c
   10.22 +index 1e1ae8a..271a52a 100644
   10.23 +--- a/codebook.c
   10.24 ++++ b/codebook.c
   10.25 +@@ -245,9 +245,9 @@ long vorbis_book_decode(codebook *book, oggpack_buffer *b){
   10.26 + long vorbis_book_decodevs_add(codebook *book,ogg_int32_t *a,
   10.27 + 			      oggpack_buffer *b,int n,int point){
   10.28 +   if(book->used_entries>0){  
   10.29 +-    int step=n/book->dim;
   10.30 +-    long *entry = (long *)alloca(sizeof(*entry)*step);
   10.31 +-    ogg_int32_t **t = (ogg_int32_t **)alloca(sizeof(*t)*step);
   10.32 ++    const int step=n/book->dim;
   10.33 ++    VAR_STACK(long, entry, step);
   10.34 ++    VAR_STACK(ogg_int32_t *, t, step);
   10.35 +     int i,j,o;
   10.36 +     int shift=point-book->binarypoint;
   10.37 +     
   10.38 +diff --git a/configure.in b/configure.in
   10.39 +index 98d5395..4e853dc 100644
   10.40 +--- a/configure.in
   10.41 ++++ b/configure.in
   10.42 +@@ -130,6 +130,15 @@ dnl --------------------------------------------------
   10.43 + AC_FUNC_ALLOCA
   10.44 + AC_FUNC_MEMCMP
   10.45 + 
   10.46 ++AC_MSG_CHECKING(for C99 variable-size arrays)
   10.47 ++AC_TRY_COMPILE( [], [static int x; char a[++x]; a[sizeof a - 1] = 0; int N; return a[0];],
   10.48 ++[has_var_arrays=yes;AC_DEFINE([VAR_ARRAYS], [], [Use C99 variable-size arrays])
   10.49 ++],
   10.50 ++has_var_arrays=no
   10.51 ++)
   10.52 ++AC_MSG_RESULT($has_var_arrays)
   10.53 ++
   10.54 ++
   10.55 + # do this last after all checks, because Version_script is not generated yet.
   10.56 + if test "x$lt_cv_prog_gnu_ld" = "xyes"; then
   10.57 +    SHLIB_VERSION_ARG="-Wl,--version-script=Version_script"
   10.58 +diff --git a/floor0.c b/floor0.c
   10.59 +index 964383e..3380df4 100644
   10.60 +--- a/floor0.c
   10.61 ++++ b/floor0.c
   10.62 +@@ -145,7 +145,7 @@ void vorbis_lsp_to_curve(ogg_int32_t *curve,int *map,int n,int ln,
   10.63 +   int i;
   10.64 +   int ampoffseti=ampoffset*4096;
   10.65 +   int ampi=amp;
   10.66 +-  ogg_int32_t *ilsp=(ogg_int32_t *)alloca(m*sizeof(*ilsp));
   10.67 ++  VAR_STACK(ogg_int32_t, ilsp, m);
   10.68 +   /* lsp is in 8.24, range 0 to PI; coslook wants it in .16 0 to 1*/
   10.69 +   for(i=0;i<m;i++){
   10.70 + #ifndef _LOW_ACCURACY_
   10.71 +diff --git a/info.c b/info.c
   10.72 +index 24e24ac..71e879a 100644
   10.73 +--- a/info.c
   10.74 ++++ b/info.c
   10.75 +@@ -56,8 +56,8 @@ static int tagcompare(const char *s1, const char *s2, int n){
   10.76 + char *vorbis_comment_query(vorbis_comment *vc, char *tag, int count){
   10.77 +   long i;
   10.78 +   int found = 0;
   10.79 +-  int taglen = strlen(tag)+1; /* +1 for the = we append */
   10.80 +-  char *fulltag = (char *)alloca(taglen+ 1);
   10.81 ++  const int taglen = strlen(tag)+1; /* +1 for the = we append */
   10.82 ++  VAR_STACK(char, fulltag, taglen+1);
   10.83 + 
   10.84 +   strcpy(fulltag, tag);
   10.85 +   strcat(fulltag, "=");
   10.86 +@@ -76,8 +76,8 @@ char *vorbis_comment_query(vorbis_comment *vc, char *tag, int count){
   10.87 + 
   10.88 + int vorbis_comment_query_count(vorbis_comment *vc, char *tag){
   10.89 +   int i,count=0;
   10.90 +-  int taglen = strlen(tag)+1; /* +1 for the = we append */
   10.91 +-  char *fulltag = (char *)alloca(taglen+1);
   10.92 ++  const int taglen = strlen(tag)+1; /* +1 for the = we append */
   10.93 ++  VAR_STACK(char, fulltag, taglen+1);
   10.94 +   strcpy(fulltag,tag);
   10.95 +   strcat(fulltag, "=");
   10.96 + 
   10.97 +diff --git a/mapping0.c b/mapping0.c
   10.98 +index 17aa60b..631ab90 100644
   10.99 +--- a/mapping0.c
  10.100 ++++ b/mapping0.c
  10.101 +@@ -193,11 +193,11 @@ static int mapping0_inverse(vorbis_block *vb,vorbis_look_mapping *l){
  10.102 +   int                   i,j;
  10.103 +   long                  n=vb->pcmend=ci->blocksizes[vb->W];
  10.104 + 
  10.105 +-  ogg_int32_t **pcmbundle=(ogg_int32_t **)alloca(sizeof(*pcmbundle)*vi->channels);
  10.106 +-  int    *zerobundle=(int *)alloca(sizeof(*zerobundle)*vi->channels);
  10.107 ++  VAR_STACK(ogg_int32_t *, pcmbundle, vi->channels);
  10.108 ++  VAR_STACK(int, zerobundle, vi->channels);
  10.109 +   
  10.110 +-  int   *nonzero  =(int *)alloca(sizeof(*nonzero)*vi->channels);
  10.111 +-  void **floormemo=(void **)alloca(sizeof(*floormemo)*vi->channels);
  10.112 ++  VAR_STACK(int, nonzero, vi->channels);
  10.113 ++  VAR_STACK(void *, floormemo, vi->channels);
  10.114 +   
  10.115 +   /* time domain information decode (note that applying the
  10.116 +      information would have to happen later; we'll probably add a
  10.117 +diff --git a/os.h b/os.h
  10.118 +index 69dc200..2fdbe08 100644
  10.119 +--- a/os.h
  10.120 ++++ b/os.h
  10.121 +@@ -49,8 +49,27 @@
  10.122 + #  define BYTE_ORDER LITTLE_ENDIAN
  10.123 + #endif
  10.124 + 
  10.125 +-#ifdef HAVE_ALLOCA_H
  10.126 +-#  include <alloca.h>
  10.127 ++#if defined HAVE_ALLOCA
  10.128 ++
  10.129 ++# ifdef _WIN32
  10.130 ++#  include <malloc.h>
  10.131 ++#  define VAR_STACK(type, var, size) type *var = ((type*)_alloca(sizeof(type)*(size)))
  10.132 ++# else
  10.133 ++#  ifdef HAVE_ALLOCA_H
  10.134 ++#   include <alloca.h>
  10.135 ++#  else
  10.136 ++#   include <stdlib.h>
  10.137 ++#  endif
  10.138 ++#  define VAR_STACK(type, var, size) type *var = ((type*) alloca(sizeof(type)*(size)))
  10.139 ++# endif
  10.140 ++
  10.141 ++#elif defined VAR_ARRAYS
  10.142 ++
  10.143 ++#  define VAR_STACK(type, var, size) type var[size]
  10.144 ++
  10.145 ++#else
  10.146 ++
  10.147 ++#error "Either VAR_ARRAYS or HAVE_ALLOCA must be defined to select the stack allocation mode"
  10.148 + #endif
  10.149 + 
  10.150 + #ifdef USE_MEMORY_H
  10.151 +diff --git a/res012.c b/res012.c
  10.152 +index f036caa..5afdf84 100644
  10.153 +--- a/res012.c
  10.154 ++++ b/res012.c
  10.155 +@@ -226,7 +226,7 @@ static int _01inverse(vorbis_block *vb,vorbis_look_residue *vl,
  10.156 +   if(n>0){
  10.157 +     int partvals=n/samples_per_partition;
  10.158 +     int partwords=(partvals+partitions_per_word-1)/partitions_per_word;
  10.159 +-    int ***partword=(int ***)alloca(ch*sizeof(*partword));
  10.160 ++    VAR_STACK(int **, partword, ch);
  10.161 +     
  10.162 +     for(j=0;j<ch;j++)
  10.163 +       partword[j]=(int **)_vorbis_block_alloc(vb,partwords*sizeof(*partword[j]));
  10.164 +diff --git a/sharedbook.c b/sharedbook.c
  10.165 +index 188485e..a35aef5 100644
  10.166 +--- a/sharedbook.c
  10.167 ++++ b/sharedbook.c
  10.168 +@@ -330,7 +330,7 @@ static int sort32a(const void *a,const void *b){
  10.169 + /* decode codebook arrangement is more heavily optimized than encode */
  10.170 + int vorbis_book_init_decode(codebook *c,const static_codebook *s){
  10.171 +   int i,j,n=0,tabn;
  10.172 +-  int *sortindex;
  10.173 ++
  10.174 +   memset(c,0,sizeof(*c));
  10.175 +   
  10.176 +   /* count actually used entries */
  10.177 +@@ -355,7 +355,7 @@ int vorbis_book_init_decode(codebook *c,const static_codebook *s){
  10.178 +     
  10.179 +     /* perform sort */
  10.180 +     ogg_uint32_t *codes=_make_words(s->lengthlist,s->entries,c->used_entries);
  10.181 +-    ogg_uint32_t **codep=(ogg_uint32_t **)alloca(sizeof(*codep)*n);
  10.182 ++    VAR_STACK(ogg_uint32_t *, codep, n);
  10.183 +     
  10.184 +     if(codes==NULL)goto err_out;
  10.185 + 
  10.186 +@@ -366,7 +366,7 @@ int vorbis_book_init_decode(codebook *c,const static_codebook *s){
  10.187 + 
  10.188 +     qsort(codep,n,sizeof(*codep),sort32a);
  10.189 + 
  10.190 +-    sortindex=(int *)alloca(n*sizeof(*sortindex));
  10.191 ++  { VAR_STACK(int, sortindex, n);
  10.192 +     c->codelist=(ogg_uint32_t *)_ogg_malloc(n*sizeof(*c->codelist));
  10.193 +     /* the index is a reverse index */
  10.194 +     for(i=0;i<n;i++){
  10.195 +@@ -391,7 +391,7 @@ int vorbis_book_init_decode(codebook *c,const static_codebook *s){
  10.196 +     for(n=0,i=0;i<s->entries;i++)
  10.197 +       if(s->lengthlist[i]>0)
  10.198 + 	c->dec_codelengths[sortindex[n++]]=s->lengthlist[i];
  10.199 +-    
  10.200 ++  }
  10.201 +     c->dec_firsttablen=_ilog(c->used_entries)-4; /* this is magic */
  10.202 +     if(c->dec_firsttablen<5)c->dec_firsttablen=5;
  10.203 +     if(c->dec_firsttablen>8)c->dec_firsttablen=8;
  10.204 +-- 
  10.205 +1.7.1
  10.206 +
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/external/libvorbisidec-1.2.1/0010-remove-non-existing-vorbis_comment_add-and-vorbis_co.patch	Mon Oct 07 00:11:50 2019 +0300
    11.3 @@ -0,0 +1,40 @@
    11.4 +From ab95d17c021abc7f1752b6eb50e5947ceb65bcf1 Mon Sep 17 00:00:00 2001
    11.5 +From: sezero <sezero@users.sourceforge.net>
    11.6 +Date: Tue, 20 Mar 2018 11:37:04 +0300
    11.7 +Subject: [PATCH] remove non-existing vorbis_comment_add and vorbis_comment_add_tag
    11.8 +
    11.9 +---
   11.10 + Version_script.in |    2 --
   11.11 + ivorbiscodec.h    |    3 ---
   11.12 + 2 files changed, 0 insertions(+), 5 deletions(-)
   11.13 +
   11.14 +diff --git a/Version_script.in b/Version_script.in
   11.15 +index 7f22f2f..3f9f093 100644
   11.16 +--- a/Version_script.in
   11.17 ++++ b/Version_script.in
   11.18 +@@ -38,8 +38,6 @@
   11.19 + 		vorbis_info_clear;
   11.20 + 		vorbis_info_blocksize;
   11.21 + 		vorbis_comment_init;
   11.22 +-		vorbis_comment_add;
   11.23 +-		vorbis_comment_add_tag;
   11.24 + 		vorbis_comment_query;
   11.25 + 		vorbis_comment_query_count;
   11.26 + 		vorbis_comment_clear;
   11.27 +diff --git a/ivorbiscodec.h b/ivorbiscodec.h
   11.28 +index 17eab58..46d1c4d 100644
   11.29 +--- a/ivorbiscodec.h
   11.30 ++++ b/ivorbiscodec.h
   11.31 +@@ -153,9 +153,6 @@ extern void     vorbis_info_init(vorbis_info *vi);
   11.32 + extern void     vorbis_info_clear(vorbis_info *vi);
   11.33 + extern int      vorbis_info_blocksize(vorbis_info *vi,int zo);
   11.34 + extern void     vorbis_comment_init(vorbis_comment *vc);
   11.35 +-extern void     vorbis_comment_add(vorbis_comment *vc, char *comment); 
   11.36 +-extern void     vorbis_comment_add_tag(vorbis_comment *vc, 
   11.37 +-				       char *tag, char *contents);
   11.38 + extern char    *vorbis_comment_query(vorbis_comment *vc, char *tag, int count);
   11.39 + extern int      vorbis_comment_query_count(vorbis_comment *vc, char *tag);
   11.40 + extern void     vorbis_comment_clear(vorbis_comment *vc);
   11.41 +-- 
   11.42 +1.7.1
   11.43 +
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/external/libvorbisidec-1.2.1/0011-os.h-remove-irrelevant-compatibility-defs.patch	Mon Oct 07 00:11:50 2019 +0300
    12.3 @@ -0,0 +1,32 @@
    12.4 +From 272746693f5a74efdfe44a7c2e406531707c72b2 Mon Sep 17 00:00:00 2001
    12.5 +From: sezero <sezero@users.sourceforge.net>
    12.6 +Date: Tue, 20 Mar 2018 11:39:10 +0300
    12.7 +Subject: [PATCH] os.h: remove irrelevant compatibility defs.
    12.8 +
    12.9 +---
   12.10 + os.h |    7 -------
   12.11 + 1 files changed, 0 insertions(+), 7 deletions(-)
   12.12 +
   12.13 +diff --git a/os.h b/os.h
   12.14 +index 2fdbe08..7e049c7 100644
   12.15 +--- a/os.h
   12.16 ++++ b/os.h
   12.17 +@@ -36,15 +36,8 @@
   12.18 + #  define STIN static
   12.19 + #endif
   12.20 + 
   12.21 +-#ifndef M_PI
   12.22 +-#  define M_PI (3.1415926536f)
   12.23 +-#endif
   12.24 +-
   12.25 + #ifdef _WIN32
   12.26 + #  include <malloc.h>
   12.27 +-#  define rint(x)   (floor((x)+0.5f)) 
   12.28 +-#  define NO_FLOAT_MATH_LIB
   12.29 +-#  define FAST_HYPOT(a, b) sqrt((a)*(a) + (b)*(b))
   12.30 + #  define LITTLE_ENDIAN 1
   12.31 + #  define BYTE_ORDER LITTLE_ENDIAN
   12.32 + #endif
   12.33 +-- 
   12.34 +1.7.1
   12.35 +
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/external/libvorbisidec-1.2.1/0012-remove-an-unused-local-variable.patch	Mon Oct 07 00:11:50 2019 +0300
    13.3 @@ -0,0 +1,25 @@
    13.4 +From f8920f6f9e95de012885ba40f55b4c9d0e382f0e Mon Sep 17 00:00:00 2001
    13.5 +From: sezero <sezero@users.sourceforge.net>
    13.6 +Date: Tue, 20 Mar 2018 11:40:28 +0300
    13.7 +Subject: [PATCH] remove an unused local variable.
    13.8 +
    13.9 +---
   13.10 + codebook.c |    2 +-
   13.11 + 1 files changed, 1 insertions(+), 1 deletions(-)
   13.12 +
   13.13 +diff --git a/codebook.c b/codebook.c
   13.14 +index 271a52a..1bbba8f 100644
   13.15 +--- a/codebook.c
   13.16 ++++ b/codebook.c
   13.17 +@@ -336,7 +336,7 @@ long vorbis_book_decodev_set(codebook *book,ogg_int32_t *a,
   13.18 +     }
   13.19 +   }else{
   13.20 + 
   13.21 +-    int i,j;
   13.22 ++    int i;
   13.23 +     for(i=0;i<n;){
   13.24 +       a[i++]=0;
   13.25 +     }
   13.26 +-- 
   13.27 +1.7.1
   13.28 +
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/external/libvorbisidec-1.2.1/0013-os-h-fix-misplaced-_V_IFDEFJAIL_H_-else.patch	Mon Oct 07 00:11:50 2019 +0300
    14.3 @@ -0,0 +1,30 @@
    14.4 +From 9224d1f8b594ae4e08c51708cd7484ec6c0a8594 Mon Sep 17 00:00:00 2001
    14.5 +From: sezero <sezero@users.sourceforge.net>
    14.6 +Date: Tue, 20 Mar 2018 15:01:02 +0300
    14.7 +Subject: [PATCH] os h: fix misplaced _V_IFDEFJAIL_H_ #else
    14.8 +
    14.9 +I don't see the need for _V_IFDEFJAIL_H_ ifdef'ery, but libvorbis still
   14.10 +has it, so...
   14.11 +---
   14.12 + os.h |    4 ++--
   14.13 + 1 files changed, 2 insertions(+), 2 deletions(-)
   14.14 +
   14.15 +diff --git a/os.h b/os.h
   14.16 +index 329c5d0..06e3612 100644
   14.17 +--- a/os.h
   14.18 ++++ b/os.h
   14.19 +@@ -35,9 +35,9 @@
   14.20 + #    define STIN static __inline
   14.21 + #  elif defined(__WATCOMC__)
   14.22 + #    define STIN static __inline
   14.23 ++#  else
   14.24 ++#    define STIN static
   14.25 + #  endif
   14.26 +-#else
   14.27 +-#  define STIN static
   14.28 + #endif
   14.29 + 
   14.30 + #ifdef _WIN32
   14.31 +-- 
   14.32 +1.7.1
   14.33 +
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/external/libvorbisidec-1.2.1/0014-Fix-reading-maximum-nominal-minimum-bitrate-in-_vorb.patch	Mon Oct 07 00:11:50 2019 +0300
    15.3 @@ -0,0 +1,48 @@
    15.4 +From e5c7aca046394f605c0749c78a7b0e24499324c9 Mon Sep 17 00:00:00 2001
    15.5 +From: =?UTF-8?q?J=C3=B6rn=20Heusipp?= <osmanx@problemloesungsmaschine.de>
    15.6 +Date: Tue, 20 Mar 2018 17:55:10 +0300
    15.7 +Subject: [PATCH] Fix reading maximum, nominal, minimum bitrate in _vorbis_unpack_info().
    15.8 +
    15.9 +(vorbis.git commit 68ebc894325f56ae1d860d49626419cf66ea171b)
   15.10 +
   15.11 +https://xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-630004.2.2 specifies
   15.12 +these fields as 32bit signed. oggpack_read(opb,32), which is used to
   15.13 +read these fields, returns 32 bits stored in a long. On architectures
   15.14 +where long is 64bit, this results in a positive value being returned.
   15.15 +This value is then stored in struct vorbis_info in bitrate_upper,
   15.16 +bitrate_nominal and bitrate_lower, also as long. ogginfo relies on
   15.17 +these values in order to display the respective header fields and thus
   15.18 +misrepresented the stored value -1 (which has the intended meaning of
   15.19 +"bitrate not set") as 2**32-1 on architectures where long is 64bit.
   15.20 +
   15.21 +Explicitly cast the return value of oggpack_read() to a signed 32bit
   15.22 +integer type.
   15.23 +
   15.24 +A nominal bitrate value of -1 is valid as per specification, and is
   15.25 +written by libvorbis for VBR files with samplerate >= 50000Hz.
   15.26 +
   15.27 +Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
   15.28 +---
   15.29 + info.c |    6 +++---
   15.30 + 1 files changed, 3 insertions(+), 3 deletions(-)
   15.31 +
   15.32 +diff --git a/info.c b/info.c
   15.33 +index 71e879a..11cfbb6 100644
   15.34 +--- a/info.c
   15.35 ++++ b/info.c
   15.36 +@@ -166,9 +166,9 @@ static int _vorbis_unpack_info(vorbis_info *vi,oggpack_buffer *opb){
   15.37 +   vi->channels=oggpack_read(opb,8);
   15.38 +   vi->rate=oggpack_read(opb,32);
   15.39 + 
   15.40 +-  vi->bitrate_upper=oggpack_read(opb,32);
   15.41 +-  vi->bitrate_nominal=oggpack_read(opb,32);
   15.42 +-  vi->bitrate_lower=oggpack_read(opb,32);
   15.43 ++  vi->bitrate_upper=(ogg_int32_t)oggpack_read(opb,32);
   15.44 ++  vi->bitrate_nominal=(ogg_int32_t)oggpack_read(opb,32);
   15.45 ++  vi->bitrate_lower=(ogg_int32_t)oggpack_read(opb,32);
   15.46 + 
   15.47 +   ci->blocksizes[0]=1<<oggpack_read(opb,4);
   15.48 +   ci->blocksizes[1]=1<<oggpack_read(opb,4);
   15.49 +-- 
   15.50 +1.7.1
   15.51 +
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/external/libvorbisidec-1.2.1/0015-autofoo-use-m4-as-macro-dir.patch	Mon Oct 07 00:11:50 2019 +0300
    16.3 @@ -0,0 +1,159 @@
    16.4 +From 9b37078eb965e12591017af69d1ece37612e2d7e Mon Sep 17 00:00:00 2001
    16.5 +From: sezero <sezero@users.sourceforge.net>
    16.6 +Date: Sat, 10 Nov 2018 00:56:55 +0300
    16.7 +Subject: [PATCH] autofoo: use m4 as macro dir.
    16.8 +
    16.9 +---
   16.10 + Makefile.am  |    1 +
   16.11 + configure.in |    1 +
   16.12 + m4/ogg.m4    |  116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   16.13 + 3 files changed, 118 insertions(+), 0 deletions(-)
   16.14 + create mode 100644 m4/ogg.m4
   16.15 +
   16.16 +diff --git a/Makefile.am b/Makefile.am
   16.17 +index 60c39fa..f5eab65 100644
   16.18 +--- a/Makefile.am
   16.19 ++++ b/Makefile.am
   16.20 +@@ -1,4 +1,5 @@
   16.21 + AUTOMAKE_OPTIONS = foreign
   16.22 ++ACLOCAL_AMFLAGS = -I m4
   16.23 + 
   16.24 + INCLUDES = -I. @OGG_CFLAGS@
   16.25 + 
   16.26 +diff --git a/configure.in b/configure.in
   16.27 +index ade6f21..de2d23e 100644
   16.28 +--- a/configure.in
   16.29 ++++ b/configure.in
   16.30 +@@ -5,6 +5,7 @@ dnl Initialization and Versioning
   16.31 + dnl ------------------------------------------------
   16.32 + 
   16.33 + AC_INIT(mdct.c)
   16.34 ++AC_CONFIG_MACRO_DIR([m4])
   16.35 + 
   16.36 + AC_CANONICAL_HOST
   16.37 + AC_CANONICAL_TARGET
   16.38 +diff --git a/m4/ogg.m4 b/m4/ogg.m4
   16.39 +new file mode 100644
   16.40 +index 0000000..77d663b
   16.41 +--- /dev/null
   16.42 ++++ b/m4/ogg.m4
   16.43 +@@ -0,0 +1,116 @@
   16.44 ++# Configure paths for libogg
   16.45 ++# Jack Moffitt <jack@icecast.org> 10-21-2000
   16.46 ++# Shamelessly stolen from Owen Taylor and Manish Singh
   16.47 ++
   16.48 ++dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
   16.49 ++dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS
   16.50 ++dnl
   16.51 ++AC_DEFUN([XIPH_PATH_OGG],
   16.52 ++[dnl
   16.53 ++dnl Get the cflags and libraries
   16.54 ++dnl
   16.55 ++AC_ARG_WITH(ogg,AC_HELP_STRING([--with-ogg=PFX],[Prefix where libogg is installed (optional)]), ogg_prefix="$withval", ogg_prefix="")
   16.56 ++AC_ARG_WITH(ogg-libraries,AC_HELP_STRING([--with-ogg-libraries=DIR],[Directory where libogg library is installed (optional)]), ogg_libraries="$withval", ogg_libraries="")
   16.57 ++AC_ARG_WITH(ogg-includes,AC_HELP_STRING([--with-ogg-includes=DIR],[Directory where libogg header files are installed (optional)]), ogg_includes="$withval", ogg_includes="")
   16.58 ++AC_ARG_ENABLE(oggtest,AC_HELP_STRING([--disable-oggtest],[Do not try to compile and run a test Ogg program]),, enable_oggtest=yes)
   16.59 ++
   16.60 ++  if test "x$ogg_libraries" != "x" ; then
   16.61 ++    OGG_LIBS="-L$ogg_libraries"
   16.62 ++  elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
   16.63 ++    OGG_LIBS=""
   16.64 ++  elif test "x$ogg_prefix" != "x" ; then
   16.65 ++    OGG_LIBS="-L$ogg_prefix/lib"
   16.66 ++  elif test "x$prefix" != "xNONE" ; then
   16.67 ++    OGG_LIBS="-L$prefix/lib"
   16.68 ++  fi
   16.69 ++
   16.70 ++  if test "x$ogg_prefix" != "xno" ; then
   16.71 ++    OGG_LIBS="$OGG_LIBS -logg"
   16.72 ++  fi
   16.73 ++
   16.74 ++  if test "x$ogg_includes" != "x" ; then
   16.75 ++    OGG_CFLAGS="-I$ogg_includes"
   16.76 ++  elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
   16.77 ++    OGG_CFLAGS=""
   16.78 ++  elif test "x$ogg_prefix" != "x" ; then
   16.79 ++    OGG_CFLAGS="-I$ogg_prefix/include"
   16.80 ++  elif test "x$prefix" != "xNONE"; then
   16.81 ++    OGG_CFLAGS="-I$prefix/include"
   16.82 ++  fi
   16.83 ++
   16.84 ++  AC_MSG_CHECKING(for Ogg)
   16.85 ++  if test "x$ogg_prefix" = "xno" ; then
   16.86 ++    no_ogg="disabled"
   16.87 ++    enable_oggtest="no"
   16.88 ++  else
   16.89 ++    no_ogg=""
   16.90 ++  fi
   16.91 ++
   16.92 ++
   16.93 ++  if test "x$enable_oggtest" = "xyes" ; then
   16.94 ++    ac_save_CFLAGS="$CFLAGS"
   16.95 ++    ac_save_LIBS="$LIBS"
   16.96 ++    CFLAGS="$CFLAGS $OGG_CFLAGS"
   16.97 ++    LIBS="$LIBS $OGG_LIBS"
   16.98 ++dnl
   16.99 ++dnl Now check if the installed Ogg is sufficiently new.
  16.100 ++dnl
  16.101 ++      rm -f conf.oggtest
  16.102 ++      AC_TRY_RUN([
  16.103 ++#include <stdio.h>
  16.104 ++#include <stdlib.h>
  16.105 ++#include <string.h>
  16.106 ++#include <ogg/ogg.h>
  16.107 ++
  16.108 ++int main ()
  16.109 ++{
  16.110 ++  system("touch conf.oggtest");
  16.111 ++  return 0;
  16.112 ++}
  16.113 ++
  16.114 ++],, no_ogg=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
  16.115 ++       CFLAGS="$ac_save_CFLAGS"
  16.116 ++       LIBS="$ac_save_LIBS"
  16.117 ++  fi
  16.118 ++
  16.119 ++  if test "x$no_ogg" = "xdisabled" ; then
  16.120 ++     AC_MSG_RESULT(no)
  16.121 ++     ifelse([$2], , :, [$2])
  16.122 ++  elif test "x$no_ogg" = "x" ; then
  16.123 ++     AC_MSG_RESULT(yes)
  16.124 ++     ifelse([$1], , :, [$1])
  16.125 ++  else
  16.126 ++     AC_MSG_RESULT(no)
  16.127 ++     if test -f conf.oggtest ; then
  16.128 ++       :
  16.129 ++     else
  16.130 ++       echo "*** Could not run Ogg test program, checking why..."
  16.131 ++       CFLAGS="$CFLAGS $OGG_CFLAGS"
  16.132 ++       LIBS="$LIBS $OGG_LIBS"
  16.133 ++       AC_TRY_LINK([
  16.134 ++#include <stdio.h>
  16.135 ++#include <ogg/ogg.h>
  16.136 ++],     [ return 0; ],
  16.137 ++       [ echo "*** The test program compiled, but did not run. This usually means"
  16.138 ++       echo "*** that the run-time linker is not finding Ogg or finding the wrong"
  16.139 ++       echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
  16.140 ++       echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  16.141 ++       echo "*** to the installed location  Also, make sure you have run ldconfig if that"
  16.142 ++       echo "*** is required on your system"
  16.143 ++       echo "***"
  16.144 ++       echo "*** If you have an old version installed, it is best to remove it, although"
  16.145 ++       echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
  16.146 ++       [ echo "*** The test program failed to compile or link. See the file config.log for the"
  16.147 ++       echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
  16.148 ++       echo "*** or that you have moved Ogg since it was installed." ])
  16.149 ++       CFLAGS="$ac_save_CFLAGS"
  16.150 ++       LIBS="$ac_save_LIBS"
  16.151 ++     fi
  16.152 ++     OGG_CFLAGS=""
  16.153 ++     OGG_LIBS=""
  16.154 ++     ifelse([$2], , :, [$2])
  16.155 ++  fi
  16.156 ++  AC_SUBST(OGG_CFLAGS)
  16.157 ++  AC_SUBST(OGG_LIBS)
  16.158 ++  rm -f conf.oggtest
  16.159 ++])
  16.160 +-- 
  16.161 +1.7.1
  16.162 +
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/external/libvorbisidec-1.2.1/0016-info.c-remove-ctype.h-dependency-add-a-generic-toupp.patch	Mon Oct 07 00:11:50 2019 +0300
    17.3 @@ -0,0 +1,47 @@
    17.4 +From 94d91cd1b67eadbd0cb2bad23af6fc79487d2cc1 Mon Sep 17 00:00:00 2001
    17.5 +From: sezero <sezero@users.sourceforge.net>
    17.6 +Date: Sat, 10 Nov 2018 00:58:02 +0300
    17.7 +Subject: [PATCH] info.c (tagcompare): use a locale-insensitive toupper()
    17.8 +
    17.9 +see: https://gitlab.xiph.org/xiph/vorbis/issues/2079
   17.10 +
   17.11 +(vorbis.git commit 3a1344bc67ca006c102c4ca891aba9b5100e3e30)
   17.12 +---
   17.13 + info.c |    7 +++++--
   17.14 + 1 files changed, 5 insertions(+), 2 deletions(-)
   17.15 +
   17.16 +diff --git a/info.c b/info.c
   17.17 +index 11cfbb6..dd5b7ad 100644
   17.18 +--- a/info.c
   17.19 ++++ b/info.c
   17.20 +@@ -20,7 +20,6 @@
   17.21 + 
   17.22 + #include <stdlib.h>
   17.23 + #include <string.h>
   17.24 +-#include <ctype.h>
   17.25 + #include <limits.h>
   17.26 + #include <ogg/ogg.h>
   17.27 + #include "ivorbiscodec.h"
   17.28 +@@ -37,6 +36,10 @@ static void _v_readstring(oggpack_buffer *o,char *buf,int bytes){
   17.29 +   }
   17.30 + }
   17.31 + 
   17.32 ++static int _v_toupper(int c) {
   17.33 ++  return (c >= 'a' && c <= 'z') ? (c & ~('a' - 'A')) : c;
   17.34 ++}
   17.35 ++
   17.36 + void vorbis_comment_init(vorbis_comment *vc){
   17.37 +   memset(vc,0,sizeof(*vc));
   17.38 + }
   17.39 +@@ -46,7 +49,7 @@ void vorbis_comment_init(vorbis_comment *vc){
   17.40 + static int tagcompare(const char *s1, const char *s2, int n){
   17.41 +   int c=0;
   17.42 +   while(c < n){
   17.43 +-    if(toupper(s1[c]) != toupper(s2[c]))
   17.44 ++    if(_v_toupper(s1[c]) != _v_toupper(s2[c]))
   17.45 +       return !0;
   17.46 +     c++;
   17.47 +   }
   17.48 +-- 
   17.49 +1.7.1
   17.50 +
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/external/libvorbisidec-1.2.1/0017-Fix-free-of-uninitialized-memory-if-seek-fails-in-ov.patch	Mon Oct 07 00:11:50 2019 +0300
    18.3 @@ -0,0 +1,69 @@
    18.4 +From a76e41f6ece93d10deac5f9ef3a84dce5b9c2a84 Mon Sep 17 00:00:00 2001
    18.5 +From: James Cowgill <jcowgill@debian.org>
    18.6 +Date: Tue, 13 Jun 2017 13:39:52 +0100
    18.7 +Subject: [PATCH] Fix free of uninitialized memory if seek fails in ov_raw_seek
    18.8 +
    18.9 +If _seek_helper fails in ov_raw_seek, control jumps to the seek_error
   18.10 +label which calls ogg_stream_clear on work_os. However, at this point
   18.11 +in the function, work_os is not initialized so we end up attempting to
   18.12 +free some uninitialized memory and crashing.
   18.13 +
   18.14 +Fix by removing the call to ogg_stream_clear. This is safe because the
   18.15 +only code path to seek_error happens before work_os is initialized (so
   18.16 +there is never anything to free anyway).
   18.17 +
   18.18 +I also refactor the code a bit:
   18.19 +- Remove the ret variable which is unnessesary since we can just pass
   18.20 +  the result of _seek_helper directly to the if.
   18.21 +- Since seek_error is only used once, move the contents of that block
   18.22 +  to the if statement so we can remove a goto.
   18.23 +
   18.24 +(vorbis.git commit 128f0f812b39185d884c67c5f1c780b19aca34ac)
   18.25 +---
   18.26 + vorbisfile.c |   16 ++++++----------
   18.27 + 1 files changed, 6 insertions(+), 10 deletions(-)
   18.28 +
   18.29 +diff --git a/vorbisfile.c b/vorbisfile.c
   18.30 +index ca583c8..afb4f05 100644
   18.31 +--- a/vorbisfile.c
   18.32 ++++ b/vorbisfile.c
   18.33 +@@ -1185,7 +1185,6 @@ ogg_int64_t ov_time_total(OggVorbis_File *vf,int i){
   18.34 + 
   18.35 + int ov_raw_seek(OggVorbis_File *vf,ogg_int64_t pos){
   18.36 +   ogg_stream_state work_os;
   18.37 +-  int ret;
   18.38 + 
   18.39 +   if(vf->ready_state<OPENED)return(OV_EINVAL);
   18.40 +   if(!vf->seekable)
   18.41 +@@ -1208,8 +1207,12 @@ int ov_raw_seek(OggVorbis_File *vf,ogg_int64_t pos){
   18.42 +                             vf->current_serialno); /* must set serialno */
   18.43 +   vorbis_synthesis_restart(&vf->vd);
   18.44 + 
   18.45 +-  ret=_seek_helper(vf,pos);
   18.46 +-  if(ret)goto seek_error;
   18.47 ++  if(_seek_helper(vf,pos)) {
   18.48 ++    /* dump the machine so we're in a known state */
   18.49 ++    vf->pcm_offset=-1;
   18.50 ++    _decode_clear(vf);
   18.51 ++    return OV_EBADLINK;
   18.52 ++  }
   18.53 + 
   18.54 +   /* we need to make sure the pcm_offset is set, but we don't want to
   18.55 +      advance the raw cursor past good packets just to get to the first
   18.56 +@@ -1343,13 +1346,6 @@ int ov_raw_seek(OggVorbis_File *vf,ogg_int64_t pos){
   18.57 +   vf->bittrack=0;
   18.58 +   vf->samptrack=0;
   18.59 +   return(0);
   18.60 +-
   18.61 +- seek_error:
   18.62 +-  /* dump the machine so we're in a known state */
   18.63 +-  vf->pcm_offset=-1;
   18.64 +-  ogg_stream_clear(&work_os);
   18.65 +-  _decode_clear(vf);
   18.66 +-  return OV_EBADLINK;
   18.67 + }
   18.68 + 
   18.69 + /* rescales the number x from the range of [0,from] to [0,to]
   18.70 +-- 
   18.71 +1.7.1
   18.72 +
    19.1 --- a/external/libvorbisidec-1.2.1/Android.mk	Sun Oct 06 23:11:11 2019 +0300
    19.2 +++ b/external/libvorbisidec-1.2.1/Android.mk	Mon Oct 07 00:11:50 2019 +0300
    19.3 @@ -6,7 +6,7 @@
    19.4  
    19.5  LOCAL_C_INCLUDES :=
    19.6  
    19.7 -LOCAL_CFLAGS :=
    19.8 +LOCAL_CFLAGS := -DHAVE_ALLOCA -DVAR_ARRAYS
    19.9  
   19.10  ifeq ($(TARGET_ARCH),arm)
   19.11      LOCAL_CFLAGS += -D_ARM_ASSEM_
    20.1 --- a/external/libvorbisidec-1.2.1/Makefile.am	Sun Oct 06 23:11:11 2019 +0300
    20.2 +++ b/external/libvorbisidec-1.2.1/Makefile.am	Mon Oct 07 00:11:50 2019 +0300
    20.3 @@ -1,6 +1,7 @@
    20.4  AUTOMAKE_OPTIONS = foreign
    20.5 +ACLOCAL_AMFLAGS = -I m4
    20.6  
    20.7 -INCLUDES = -I./ @OGG_CFLAGS@
    20.8 +INCLUDES = -I. @OGG_CFLAGS@
    20.9  
   20.10  pkgconfigdir = $(libdir)/pkgconfig
   20.11  pkgconfig_DATA = vorbisidec.pc
   20.12 @@ -17,7 +18,7 @@
   20.13                          registry.h window.h window_lookup.h\
   20.14                          codec_internal.h backends.h \
   20.15  			asm_arm.h ivorbiscodec.h
   20.16 -libvorbisidec_la_LDFLAGS = -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
   20.17 +libvorbisidec_la_LDFLAGS = -no-undefined -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
   20.18  libvorbisidec_la_LIBADD = @OGG_LIBS@
   20.19  
   20.20  EXTRA_PROGRAMS = ivorbisfile_example iseeking_example
    21.1 --- a/external/libvorbisidec-1.2.1/Makefile.in	Sun Oct 06 23:11:11 2019 +0300
    21.2 +++ b/external/libvorbisidec-1.2.1/Makefile.in	Mon Oct 07 00:11:50 2019 +0300
    21.3 @@ -62,8 +62,11 @@
    21.4  	$(srcdir)/vorbisidec.pc.in depcomp $(include_HEADERS) COPYING \
    21.5  	README config.guess config.sub install-sh missing ltmain.sh
    21.6  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    21.7 -am__aclocal_m4_deps = $(top_srcdir)/acinclude/ogg.m4 \
    21.8 -	$(top_srcdir)/acinclude/pkg.m4 $(top_srcdir)/configure.in
    21.9 +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
   21.10 +	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
   21.11 +	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
   21.12 +	$(top_srcdir)/m4/ogg.m4 $(top_srcdir)/m4/pkg.m4 \
   21.13 +	$(top_srcdir)/configure.in
   21.14  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
   21.15  	$(ACLOCAL_M4)
   21.16  am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
   21.17 @@ -218,6 +221,7 @@
   21.18  AMTAR = @AMTAR@
   21.19  AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
   21.20  AR = @AR@
   21.21 +AS = @AS@
   21.22  AUTOCONF = @AUTOCONF@
   21.23  AUTOHEADER = @AUTOHEADER@
   21.24  AUTOMAKE = @AUTOMAKE@
   21.25 @@ -275,6 +279,8 @@
   21.26  PACKAGE_VERSION = @PACKAGE_VERSION@
   21.27  PATH_SEPARATOR = @PATH_SEPARATOR@
   21.28  PKG_CONFIG = @PKG_CONFIG@
   21.29 +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
   21.30 +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
   21.31  PROFILE = @PROFILE@
   21.32  RANLIB = @RANLIB@
   21.33  SED = @SED@
   21.34 @@ -342,7 +348,8 @@
   21.35  top_builddir = @top_builddir@
   21.36  top_srcdir = @top_srcdir@
   21.37  AUTOMAKE_OPTIONS = foreign
   21.38 -INCLUDES = -I./ @OGG_CFLAGS@
   21.39 +ACLOCAL_AMFLAGS = -I m4
   21.40 +INCLUDES = -I. @OGG_CFLAGS@
   21.41  pkgconfigdir = $(libdir)/pkgconfig
   21.42  pkgconfig_DATA = vorbisidec.pc
   21.43  lib_LTLIBRARIES = libvorbisidec.la
   21.44 @@ -357,7 +364,7 @@
   21.45                          codec_internal.h backends.h \
   21.46  			asm_arm.h ivorbiscodec.h
   21.47  
   21.48 -libvorbisidec_la_LDFLAGS = -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
   21.49 +libvorbisidec_la_LDFLAGS = -no-undefined -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
   21.50  libvorbisidec_la_LIBADD = @OGG_LIBS@
   21.51  CLEANFILES = $(EXTRA_PROGRAMS) $(lib_LTLIBRARIES)
   21.52  ivorbisfile_example_SOURCES = ivorbisfile_example.c
    22.1 --- a/external/libvorbisidec-1.2.1/Version_script.in	Sun Oct 06 23:11:11 2019 +0300
    22.2 +++ b/external/libvorbisidec-1.2.1/Version_script.in	Mon Oct 07 00:11:50 2019 +0300
    22.3 @@ -38,8 +38,6 @@
    22.4  		vorbis_info_clear;
    22.5  		vorbis_info_blocksize;
    22.6  		vorbis_comment_init;
    22.7 -		vorbis_comment_add;
    22.8 -		vorbis_comment_add_tag;
    22.9  		vorbis_comment_query;
   22.10  		vorbis_comment_query_count;
   22.11  		vorbis_comment_clear;
    23.1 --- a/external/libvorbisidec-1.2.1/acinclude/ogg.m4	Sun Oct 06 23:11:11 2019 +0300
    23.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.3 @@ -1,116 +0,0 @@
    23.4 -# Configure paths for libogg
    23.5 -# Jack Moffitt <jack@icecast.org> 10-21-2000
    23.6 -# Shamelessly stolen from Owen Taylor and Manish Singh
    23.7 -
    23.8 -dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
    23.9 -dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS
   23.10 -dnl
   23.11 -AC_DEFUN([XIPH_PATH_OGG],
   23.12 -[dnl
   23.13 -dnl Get the cflags and libraries
   23.14 -dnl
   23.15 -AC_ARG_WITH(ogg,AC_HELP_STRING([--with-ogg=PFX],[Prefix where libogg is installed (optional)]), ogg_prefix="$withval", ogg_prefix="")
   23.16 -AC_ARG_WITH(ogg-libraries,AC_HELP_STRING([--with-ogg-libraries=DIR],[Directory where libogg library is installed (optional)]), ogg_libraries="$withval", ogg_libraries="")
   23.17 -AC_ARG_WITH(ogg-includes,AC_HELP_STRING([--with-ogg-includes=DIR],[Directory where libogg header files are installed (optional)]), ogg_includes="$withval", ogg_includes="")
   23.18 -AC_ARG_ENABLE(oggtest,AC_HELP_STRING([--disable-oggtest],[Do not try to compile and run a test Ogg program]),, enable_oggtest=yes)
   23.19 -
   23.20 -  if test "x$ogg_libraries" != "x" ; then
   23.21 -    OGG_LIBS="-L$ogg_libraries"
   23.22 -  elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
   23.23 -    OGG_LIBS=""
   23.24 -  elif test "x$ogg_prefix" != "x" ; then
   23.25 -    OGG_LIBS="-L$ogg_prefix/lib"
   23.26 -  elif test "x$prefix" != "xNONE" ; then
   23.27 -    OGG_LIBS="-L$prefix/lib"
   23.28 -  fi
   23.29 -
   23.30 -  if test "x$ogg_prefix" != "xno" ; then
   23.31 -    OGG_LIBS="$OGG_LIBS -logg"
   23.32 -  fi
   23.33 -
   23.34 -  if test "x$ogg_includes" != "x" ; then
   23.35 -    OGG_CFLAGS="-I$ogg_includes"
   23.36 -  elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
   23.37 -    OGG_CFLAGS=""
   23.38 -  elif test "x$ogg_prefix" != "x" ; then
   23.39 -    OGG_CFLAGS="-I$ogg_prefix/include"
   23.40 -  elif test "x$prefix" != "xNONE"; then
   23.41 -    OGG_CFLAGS="-I$prefix/include"
   23.42 -  fi
   23.43 -
   23.44 -  AC_MSG_CHECKING(for Ogg)
   23.45 -  if test "x$ogg_prefix" = "xno" ; then
   23.46 -    no_ogg="disabled"
   23.47 -    enable_oggtest="no"
   23.48 -  else
   23.49 -    no_ogg=""
   23.50 -  fi
   23.51 -
   23.52 -
   23.53 -  if test "x$enable_oggtest" = "xyes" ; then
   23.54 -    ac_save_CFLAGS="$CFLAGS"
   23.55 -    ac_save_LIBS="$LIBS"
   23.56 -    CFLAGS="$CFLAGS $OGG_CFLAGS"
   23.57 -    LIBS="$LIBS $OGG_LIBS"
   23.58 -dnl
   23.59 -dnl Now check if the installed Ogg is sufficiently new.
   23.60 -dnl
   23.61 -      rm -f conf.oggtest
   23.62 -      AC_TRY_RUN([
   23.63 -#include <stdio.h>
   23.64 -#include <stdlib.h>
   23.65 -#include <string.h>
   23.66 -#include <ogg/ogg.h>
   23.67 -
   23.68 -int main ()
   23.69 -{
   23.70 -  system("touch conf.oggtest");
   23.71 -  return 0;
   23.72 -}
   23.73 -
   23.74 -],, no_ogg=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
   23.75 -       CFLAGS="$ac_save_CFLAGS"
   23.76 -       LIBS="$ac_save_LIBS"
   23.77 -  fi
   23.78 -
   23.79 -  if test "x$no_ogg" = "xdisabled" ; then
   23.80 -     AC_MSG_RESULT(no)
   23.81 -     ifelse([$2], , :, [$2])
   23.82 -  elif test "x$no_ogg" = "x" ; then
   23.83 -     AC_MSG_RESULT(yes)
   23.84 -     ifelse([$1], , :, [$1])
   23.85 -  else
   23.86 -     AC_MSG_RESULT(no)
   23.87 -     if test -f conf.oggtest ; then
   23.88 -       :
   23.89 -     else
   23.90 -       echo "*** Could not run Ogg test program, checking why..."
   23.91 -       CFLAGS="$CFLAGS $OGG_CFLAGS"
   23.92 -       LIBS="$LIBS $OGG_LIBS"
   23.93 -       AC_TRY_LINK([
   23.94 -#include <stdio.h>
   23.95 -#include <ogg/ogg.h>
   23.96 -],     [ return 0; ],
   23.97 -       [ echo "*** The test program compiled, but did not run. This usually means"
   23.98 -       echo "*** that the run-time linker is not finding Ogg or finding the wrong"
   23.99 -       echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
  23.100 -       echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  23.101 -       echo "*** to the installed location  Also, make sure you have run ldconfig if that"
  23.102 -       echo "*** is required on your system"
  23.103 -       echo "***"
  23.104 -       echo "*** If you have an old version installed, it is best to remove it, although"
  23.105 -       echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
  23.106 -       [ echo "*** The test program failed to compile or link. See the file config.log for the"
  23.107 -       echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
  23.108 -       echo "*** or that you have moved Ogg since it was installed." ])
  23.109 -       CFLAGS="$ac_save_CFLAGS"
  23.110 -       LIBS="$ac_save_LIBS"
  23.111 -     fi
  23.112 -     OGG_CFLAGS=""
  23.113 -     OGG_LIBS=""
  23.114 -     ifelse([$2], , :, [$2])
  23.115 -  fi
  23.116 -  AC_SUBST(OGG_CFLAGS)
  23.117 -  AC_SUBST(OGG_LIBS)
  23.118 -  rm -f conf.oggtest
  23.119 -])
    24.1 --- a/external/libvorbisidec-1.2.1/acinclude/pkg.m4	Sun Oct 06 23:11:11 2019 +0300
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,156 +0,0 @@
    24.4 -# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
    24.5 -# 
    24.6 -# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
    24.7 -#
    24.8 -# This program is free software; you can redistribute it and/or modify
    24.9 -# it under the terms of the GNU General Public License as published by
   24.10 -# the Free Software Foundation; either version 2 of the License, or
   24.11 -# (at your option) any later version.
   24.12 -#
   24.13 -# This program is distributed in the hope that it will be useful, but
   24.14 -# WITHOUT ANY WARRANTY; without even the implied warranty of
   24.15 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   24.16 -# General Public License for more details.
   24.17 -#
   24.18 -# You should have received a copy of the GNU General Public License
   24.19 -# along with this program; if not, write to the Free Software
   24.20 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
   24.21 -#
   24.22 -# As a special exception to the GNU General Public License, if you
   24.23 -# distribute this file as part of a program that contains a
   24.24 -# configuration script generated by Autoconf, you may include it under
   24.25 -# the same distribution terms that you use for the rest of that program.
   24.26 -
   24.27 -# PKG_PROG_PKG_CONFIG([MIN-VERSION])
   24.28 -# ----------------------------------
   24.29 -AC_DEFUN([PKG_PROG_PKG_CONFIG],
   24.30 -[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
   24.31 -m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
   24.32 -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
   24.33 -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   24.34 -	AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
   24.35 -fi
   24.36 -if test -n "$PKG_CONFIG"; then
   24.37 -	_pkg_min_version=m4_default([$1], [0.9.0])
   24.38 -	AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
   24.39 -	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   24.40 -		AC_MSG_RESULT([yes])
   24.41 -	else
   24.42 -		AC_MSG_RESULT([no])
   24.43 -		PKG_CONFIG=""
   24.44 -	fi
   24.45 -		
   24.46 -fi[]dnl
   24.47 -])# PKG_PROG_PKG_CONFIG
   24.48 -
   24.49 -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
   24.50 -#
   24.51 -# Check to see whether a particular set of modules exists.  Similar
   24.52 -# to PKG_CHECK_MODULES(), but does not set variables or print errors.
   24.53 -#
   24.54 -#
   24.55 -# Similar to PKG_CHECK_MODULES, make sure that the first instance of
   24.56 -# this or PKG_CHECK_MODULES is called, or make sure to call
   24.57 -# PKG_CHECK_EXISTS manually
   24.58 -# --------------------------------------------------------------
   24.59 -AC_DEFUN([PKG_CHECK_EXISTS],
   24.60 -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
   24.61 -if test -n "$PKG_CONFIG" && \
   24.62 -    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
   24.63 -  m4_ifval([$2], [$2], [:])
   24.64 -m4_ifvaln([$3], [else
   24.65 -  $3])dnl
   24.66 -fi])
   24.67 -
   24.68 -
   24.69 -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
   24.70 -# ---------------------------------------------
   24.71 -m4_define([_PKG_CONFIG],
   24.72 -[if test -n "$PKG_CONFIG"; then
   24.73 -    if test -n "$$1"; then
   24.74 -        pkg_cv_[]$1="$$1"
   24.75 -    else
   24.76 -        PKG_CHECK_EXISTS([$3],
   24.77 -                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
   24.78 -			 [pkg_failed=yes])
   24.79 -    fi
   24.80 -else
   24.81 -	pkg_failed=untried
   24.82 -fi[]dnl
   24.83 -])# _PKG_CONFIG
   24.84 -
   24.85 -# _PKG_SHORT_ERRORS_SUPPORTED
   24.86 -# -----------------------------
   24.87 -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
   24.88 -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
   24.89 -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24.90 -        _pkg_short_errors_supported=yes
   24.91 -else
   24.92 -        _pkg_short_errors_supported=no
   24.93 -fi[]dnl
   24.94 -])# _PKG_SHORT_ERRORS_SUPPORTED
   24.95 -
   24.96 -
   24.97 -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
   24.98 -# [ACTION-IF-NOT-FOUND])
   24.99 -#
  24.100 -#
  24.101 -# Note that if there is a possibility the first call to
  24.102 -# PKG_CHECK_MODULES might not happen, you should be sure to include an
  24.103 -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
  24.104 -#
  24.105 -#
  24.106 -# --------------------------------------------------------------
  24.107 -AC_DEFUN([PKG_CHECK_MODULES],
  24.108 -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  24.109 -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
  24.110 -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
  24.111 -
  24.112 -pkg_failed=no
  24.113 -AC_MSG_CHECKING([for $1])
  24.114 -
  24.115 -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
  24.116 -_PKG_CONFIG([$1][_LIBS], [libs], [$2])
  24.117 -
  24.118 -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
  24.119 -and $1[]_LIBS to avoid the need to call pkg-config.
  24.120 -See the pkg-config man page for more details.])
  24.121 -
  24.122 -if test $pkg_failed = yes; then
  24.123 -        _PKG_SHORT_ERRORS_SUPPORTED
  24.124 -        if test $_pkg_short_errors_supported = yes; then
  24.125 -	        $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
  24.126 -        else 
  24.127 -	        $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
  24.128 -        fi
  24.129 -	# Put the nasty error message in config.log where it belongs
  24.130 -	echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
  24.131 -
  24.132 -	ifelse([$4], , [AC_MSG_ERROR(dnl
  24.133 -[Package requirements ($2) were not met:
  24.134 -
  24.135 -$$1_PKG_ERRORS
  24.136 -
  24.137 -Consider adjusting the PKG_CONFIG_PATH environment variable if you
  24.138 -installed software in a non-standard prefix.
  24.139 -
  24.140 -_PKG_TEXT
  24.141 -])],
  24.142 -		[$4])
  24.143 -elif test $pkg_failed = untried; then
  24.144 -	ifelse([$4], , [AC_MSG_FAILURE(dnl
  24.145 -[The pkg-config script could not be found or is too old.  Make sure it
  24.146 -is in your PATH or set the PKG_CONFIG environment variable to the full
  24.147 -path to pkg-config.
  24.148 -
  24.149 -_PKG_TEXT
  24.150 -
  24.151 -To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
  24.152 -		[$4])
  24.153 -else
  24.154 -	$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
  24.155 -	$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
  24.156 -        AC_MSG_RESULT([yes])
  24.157 -	ifelse([$3], , :, [$3])
  24.158 -fi[]dnl
  24.159 -])# PKG_CHECK_MODULES
    25.1 --- a/external/libvorbisidec-1.2.1/aclocal.m4	Sun Oct 06 23:11:11 2019 +0300
    25.2 +++ b/external/libvorbisidec-1.2.1/aclocal.m4	Mon Oct 07 00:11:50 2019 +0300
    25.3 @@ -20,8593 +20,6 @@
    25.4  If you have problems, you may need to regenerate the build system entirely.
    25.5  To do so, use the procedure documented by the package, typically 'autoreconf'.])])
    25.6  
    25.7 -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
    25.8 -#
    25.9 -#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   25.10 -#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   25.11 -#                 Foundation, Inc.
   25.12 -#   Written by Gordon Matzigkeit, 1996
   25.13 -#
   25.14 -# This file is free software; the Free Software Foundation gives
   25.15 -# unlimited permission to copy and/or distribute it, with or without
   25.16 -# modifications, as long as this notice is preserved.
   25.17 -
   25.18 -m4_define([_LT_COPYING], [dnl
   25.19 -#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   25.20 -#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   25.21 -#                 Foundation, Inc.
   25.22 -#   Written by Gordon Matzigkeit, 1996
   25.23 -#
   25.24 -#   This file is part of GNU Libtool.
   25.25 -#
   25.26 -# GNU Libtool is free software; you can redistribute it and/or
   25.27 -# modify it under the terms of the GNU General Public License as
   25.28 -# published by the Free Software Foundation; either version 2 of
   25.29 -# the License, or (at your option) any later version.
   25.30 -#
   25.31 -# As a special exception to the GNU General Public License,
   25.32 -# if you distribute this file as part of a program or library that
   25.33 -# is built using GNU Libtool, you may include this file under the
   25.34 -# same distribution terms that you use for the rest of that program.
   25.35 -#
   25.36 -# GNU Libtool is distributed in the hope that it will be useful,
   25.37 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
   25.38 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   25.39 -# GNU General Public License for more details.
   25.40 -#
   25.41 -# You should have received a copy of the GNU General Public License
   25.42 -# along with GNU Libtool; see the file COPYING.  If not, a copy
   25.43 -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   25.44 -# obtained by writing to the Free Software Foundation, Inc.,
   25.45 -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   25.46 -])
   25.47 -
   25.48 -# serial 57 LT_INIT
   25.49 -
   25.50 -
   25.51 -# LT_PREREQ(VERSION)
   25.52 -# ------------------
   25.53 -# Complain and exit if this libtool version is less that VERSION.
   25.54 -m4_defun([LT_PREREQ],
   25.55 -[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
   25.56 -       [m4_default([$3],
   25.57 -		   [m4_fatal([Libtool version $1 or higher is required],
   25.58 -		             63)])],
   25.59 -       [$2])])
   25.60 -
   25.61 -
   25.62 -# _LT_CHECK_BUILDDIR
   25.63 -# ------------------
   25.64 -# Complain if the absolute build directory name contains unusual characters
   25.65 -m4_defun([_LT_CHECK_BUILDDIR],
   25.66 -[case `pwd` in
   25.67 -  *\ * | *\	*)
   25.68 -    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
   25.69 -esac
   25.70 -])
   25.71 -
   25.72 -
   25.73 -# LT_INIT([OPTIONS])
   25.74 -# ------------------
   25.75 -AC_DEFUN([LT_INIT],
   25.76 -[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
   25.77 -AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
   25.78 -AC_BEFORE([$0], [LT_LANG])dnl
   25.79 -AC_BEFORE([$0], [LT_OUTPUT])dnl
   25.80 -AC_BEFORE([$0], [LTDL_INIT])dnl
   25.81 -m4_require([_LT_CHECK_BUILDDIR])dnl
   25.82 -
   25.83 -dnl Autoconf doesn't catch unexpanded LT_ macros by default:
   25.84 -m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
   25.85 -m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
   25.86 -dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
   25.87 -dnl unless we require an AC_DEFUNed macro:
   25.88 -AC_REQUIRE([LTOPTIONS_VERSION])dnl
   25.89 -AC_REQUIRE([LTSUGAR_VERSION])dnl
   25.90 -AC_REQUIRE([LTVERSION_VERSION])dnl
   25.91 -AC_REQUIRE([LTOBSOLETE_VERSION])dnl
   25.92 -m4_require([_LT_PROG_LTMAIN])dnl
   25.93 -
   25.94 -_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
   25.95 -
   25.96 -dnl Parse OPTIONS
   25.97 -_LT_SET_OPTIONS([$0], [$1])
   25.98 -
   25.99 -# This can be used to rebuild libtool when needed
  25.100 -LIBTOOL_DEPS="$ltmain"
  25.101 -
  25.102 -# Always use our own libtool.
  25.103 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  25.104 -AC_SUBST(LIBTOOL)dnl
  25.105 -
  25.106 -_LT_SETUP
  25.107 -
  25.108 -# Only expand once:
  25.109 -m4_define([LT_INIT])
  25.110 -])# LT_INIT
  25.111 -
  25.112 -# Old names:
  25.113 -AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
  25.114 -AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
  25.115 -dnl aclocal-1.4 backwards compatibility:
  25.116 -dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
  25.117 -dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
  25.118 -
  25.119 -
  25.120 -# _LT_CC_BASENAME(CC)
  25.121 -# -------------------
  25.122 -# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
  25.123 -m4_defun([_LT_CC_BASENAME],
  25.124 -[for cc_temp in $1""; do
  25.125 -  case $cc_temp in
  25.126 -    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  25.127 -    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  25.128 -    \-*) ;;
  25.129 -    *) break;;
  25.130 -  esac
  25.131 -done
  25.132 -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  25.133 -])
  25.134 -
  25.135 -
  25.136 -# _LT_FILEUTILS_DEFAULTS
  25.137 -# ----------------------
  25.138 -# It is okay to use these file commands and assume they have been set
  25.139 -# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
  25.140 -m4_defun([_LT_FILEUTILS_DEFAULTS],
  25.141 -[: ${CP="cp -f"}
  25.142 -: ${MV="mv -f"}
  25.143 -: ${RM="rm -f"}
  25.144 -])# _LT_FILEUTILS_DEFAULTS
  25.145 -
  25.146 -
  25.147 -# _LT_SETUP
  25.148 -# ---------
  25.149 -m4_defun([_LT_SETUP],
  25.150 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  25.151 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  25.152 -AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
  25.153 -AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
  25.154 -
  25.155 -_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
  25.156 -dnl
  25.157 -_LT_DECL([], [host_alias], [0], [The host system])dnl
  25.158 -_LT_DECL([], [host], [0])dnl
  25.159 -_LT_DECL([], [host_os], [0])dnl
  25.160 -dnl
  25.161 -_LT_DECL([], [build_alias], [0], [The build system])dnl
  25.162 -_LT_DECL([], [build], [0])dnl
  25.163 -_LT_DECL([], [build_os], [0])dnl
  25.164 -dnl
  25.165 -AC_REQUIRE([AC_PROG_CC])dnl
  25.166 -AC_REQUIRE([LT_PATH_LD])dnl
  25.167 -AC_REQUIRE([LT_PATH_NM])dnl
  25.168 -dnl
  25.169 -AC_REQUIRE([AC_PROG_LN_S])dnl
  25.170 -test -z "$LN_S" && LN_S="ln -s"
  25.171 -_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
  25.172 -dnl
  25.173 -AC_REQUIRE([LT_CMD_MAX_LEN])dnl
  25.174 -_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
  25.175 -_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
  25.176 -dnl
  25.177 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  25.178 -m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  25.179 -m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
  25.180 -m4_require([_LT_CMD_RELOAD])dnl
  25.181 -m4_require([_LT_CHECK_MAGIC_METHOD])dnl
  25.182 -m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
  25.183 -m4_require([_LT_CMD_OLD_ARCHIVE])dnl
  25.184 -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  25.185 -m4_require([_LT_WITH_SYSROOT])dnl
  25.186 -
  25.187 -_LT_CONFIG_LIBTOOL_INIT([
  25.188 -# See if we are running on zsh, and set the options which allow our
  25.189 -# commands through without removal of \ escapes INIT.
  25.190 -if test -n "\${ZSH_VERSION+set}" ; then
  25.191 -   setopt NO_GLOB_SUBST
  25.192 -fi
  25.193 -])
  25.194 -if test -n "${ZSH_VERSION+set}" ; then
  25.195 -   setopt NO_GLOB_SUBST
  25.196 -fi
  25.197 -
  25.198 -_LT_CHECK_OBJDIR
  25.199 -
  25.200 -m4_require([_LT_TAG_COMPILER])dnl
  25.201 -
  25.202 -case $host_os in
  25.203 -aix3*)
  25.204 -  # AIX sometimes has problems with the GCC collect2 program.  For some
  25.205 -  # reason, if we set the COLLECT_NAMES environment variable, the problems
  25.206 -  # vanish in a puff of smoke.
  25.207 -  if test "X${COLLECT_NAMES+set}" != Xset; then
  25.208 -    COLLECT_NAMES=
  25.209 -    export COLLECT_NAMES
  25.210 -  fi
  25.211 -  ;;
  25.212 -esac
  25.213 -
  25.214 -# Global variables:
  25.215 -ofile=libtool
  25.216 -can_build_shared=yes
  25.217 -
  25.218 -# All known linkers require a `.a' archive for static linking (except MSVC,
  25.219 -# which needs '.lib').
  25.220 -libext=a
  25.221 -
  25.222 -with_gnu_ld="$lt_cv_prog_gnu_ld"
  25.223 -
  25.224 -old_CC="$CC"
  25.225 -old_CFLAGS="$CFLAGS"
  25.226 -
  25.227 -# Set sane defaults for various variables
  25.228 -test -z "$CC" && CC=cc
  25.229 -test -z "$LTCC" && LTCC=$CC
  25.230 -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  25.231 -test -z "$LD" && LD=ld
  25.232 -test -z "$ac_objext" && ac_objext=o
  25.233 -
  25.234 -_LT_CC_BASENAME([$compiler])
  25.235 -
  25.236 -# Only perform the check for file, if the check method requires it
  25.237 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
  25.238 -case $deplibs_check_method in
  25.239 -file_magic*)
  25.240 -  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  25.241 -    _LT_PATH_MAGIC
  25.242 -  fi
  25.243 -  ;;
  25.244 -esac
  25.245 -
  25.246 -# Use C for the default configuration in the libtool script
  25.247 -LT_SUPPORTED_TAG([CC])
  25.248 -_LT_LANG_C_CONFIG
  25.249 -_LT_LANG_DEFAULT_CONFIG
  25.250 -_LT_CONFIG_COMMANDS
  25.251 -])# _LT_SETUP
  25.252 -
  25.253 -
  25.254 -# _LT_PREPARE_SED_QUOTE_VARS
  25.255 -# --------------------------
  25.256 -# Define a few sed substitution that help us do robust quoting.
  25.257 -m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
  25.258 -[# Backslashify metacharacters that are still active within
  25.259 -# double-quoted strings.
  25.260 -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  25.261 -
  25.262 -# Same as above, but do not quote variable references.
  25.263 -double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  25.264 -
  25.265 -# Sed substitution to delay expansion of an escaped shell variable in a
  25.266 -# double_quote_subst'ed string.
  25.267 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  25.268 -
  25.269 -# Sed substitution to delay expansion of an escaped single quote.
  25.270 -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  25.271 -
  25.272 -# Sed substitution to avoid accidental globbing in evaled expressions
  25.273 -no_glob_subst='s/\*/\\\*/g'
  25.274 -])
  25.275 -
  25.276 -# _LT_PROG_LTMAIN
  25.277 -# ---------------
  25.278 -# Note that this code is called both from `configure', and `config.status'
  25.279 -# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
  25.280 -# `config.status' has no value for ac_aux_dir unless we are using Automake,
  25.281 -# so we pass a copy along to make sure it has a sensible value anyway.
  25.282 -m4_defun([_LT_PROG_LTMAIN],
  25.283 -[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
  25.284 -_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
  25.285 -ltmain="$ac_aux_dir/ltmain.sh"
  25.286 -])# _LT_PROG_LTMAIN
  25.287 -
  25.288 -
  25.289 -
  25.290 -# So that we can recreate a full libtool script including additional
  25.291 -# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
  25.292 -# in macros and then make a single call at the end using the `libtool'
  25.293 -# label.
  25.294 -
  25.295 -
  25.296 -# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
  25.297 -# ----------------------------------------
  25.298 -# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  25.299 -m4_define([_LT_CONFIG_LIBTOOL_INIT],
  25.300 -[m4_ifval([$1],
  25.301 -          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
  25.302 -                     [$1
  25.303 -])])])
  25.304 -
  25.305 -# Initialize.
  25.306 -m4_define([_LT_OUTPUT_LIBTOOL_INIT])
  25.307 -
  25.308 -
  25.309 -# _LT_CONFIG_LIBTOOL([COMMANDS])
  25.310 -# ------------------------------
  25.311 -# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  25.312 -m4_define([_LT_CONFIG_LIBTOOL],
  25.313 -[m4_ifval([$1],
  25.314 -          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
  25.315 -                     [$1
  25.316 -])])])
  25.317 -
  25.318 -# Initialize.
  25.319 -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
  25.320 -
  25.321 -
  25.322 -# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
  25.323 -# -----------------------------------------------------
  25.324 -m4_defun([_LT_CONFIG_SAVE_COMMANDS],
  25.325 -[_LT_CONFIG_LIBTOOL([$1])
  25.326 -_LT_CONFIG_LIBTOOL_INIT([$2])
  25.327 -])
  25.328 -
  25.329 -
  25.330 -# _LT_FORMAT_COMMENT([COMMENT])
  25.331 -# -----------------------------
  25.332 -# Add leading comment marks to the start of each line, and a trailing
  25.333 -# full-stop to the whole comment if one is not present already.
  25.334 -m4_define([_LT_FORMAT_COMMENT],
  25.335 -[m4_ifval([$1], [
  25.336 -m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
  25.337 -              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
  25.338 -)])
  25.339 -
  25.340 -
  25.341 -
  25.342 -
  25.343 -
  25.344 -# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
  25.345 -# -------------------------------------------------------------------
  25.346 -# CONFIGNAME is the name given to the value in the libtool script.
  25.347 -# VARNAME is the (base) name used in the configure script.
  25.348 -# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
  25.349 -# VARNAME.  Any other value will be used directly.
  25.350 -m4_define([_LT_DECL],
  25.351 -[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
  25.352 -    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
  25.353 -	[m4_ifval([$1], [$1], [$2])])
  25.354 -    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
  25.355 -    m4_ifval([$4],
  25.356 -	[lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
  25.357 -    lt_dict_add_subkey([lt_decl_dict], [$2],
  25.358 -	[tagged?], [m4_ifval([$5], [yes], [no])])])
  25.359 -])
  25.360 -
  25.361 -
  25.362 -# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
  25.363 -# --------------------------------------------------------
  25.364 -m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
  25.365 -
  25.366 -
  25.367 -# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
  25.368 -# ------------------------------------------------
  25.369 -m4_define([lt_decl_tag_varnames],
  25.370 -[_lt_decl_filter([tagged?], [yes], $@)])
  25.371 -
  25.372 -
  25.373 -# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
  25.374 -# ---------------------------------------------------------
  25.375 -m4_define([_lt_decl_filter],
  25.376 -[m4_case([$#],
  25.377 -  [0], [m4_fatal([$0: too few arguments: $#])],
  25.378 -  [1], [m4_fatal([$0: too few arguments: $#: $1])],
  25.379 -  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
  25.380 -  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
  25.381 -  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
  25.382 -])
  25.383 -
  25.384 -
  25.385 -# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
  25.386 -# --------------------------------------------------
  25.387 -m4_define([lt_decl_quote_varnames],
  25.388 -[_lt_decl_filter([value], [1], $@)])
  25.389 -
  25.390 -
  25.391 -# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
  25.392 -# ---------------------------------------------------
  25.393 -m4_define([lt_decl_dquote_varnames],
  25.394 -[_lt_decl_filter([value], [2], $@)])
  25.395 -
  25.396 -
  25.397 -# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
  25.398 -# ---------------------------------------------------
  25.399 -m4_define([lt_decl_varnames_tagged],
  25.400 -[m4_assert([$# <= 2])dnl
  25.401 -_$0(m4_quote(m4_default([$1], [[, ]])),
  25.402 -    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
  25.403 -    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
  25.404 -m4_define([_lt_decl_varnames_tagged],
  25.405 -[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
  25.406 -
  25.407 -
  25.408 -# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
  25.409 -# ------------------------------------------------
  25.410 -m4_define([lt_decl_all_varnames],
  25.411 -[_$0(m4_quote(m4_default([$1], [[, ]])),
  25.412 -     m4_if([$2], [],
  25.413 -	   m4_quote(lt_decl_varnames),
  25.414 -	m4_quote(m4_shift($@))))[]dnl
  25.415 -])
  25.416 -m4_define([_lt_decl_all_varnames],
  25.417 -[lt_join($@, lt_decl_varnames_tagged([$1],
  25.418 -			lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
  25.419 -])
  25.420 -
  25.421 -
  25.422 -# _LT_CONFIG_STATUS_DECLARE([VARNAME])
  25.423 -# ------------------------------------
  25.424 -# Quote a variable value, and forward it to `config.status' so that its
  25.425 -# declaration there will have the same value as in `configure'.  VARNAME
  25.426 -# must have a single quote delimited value for this to work.
  25.427 -m4_define([_LT_CONFIG_STATUS_DECLARE],
  25.428 -[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
  25.429 -
  25.430 -
  25.431 -# _LT_CONFIG_STATUS_DECLARATIONS
  25.432 -# ------------------------------
  25.433 -# We delimit libtool config variables with single quotes, so when
  25.434 -# we write them to config.status, we have to be sure to quote all
  25.435 -# embedded single quotes properly.  In configure, this macro expands
  25.436 -# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  25.437 -#
  25.438 -#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
  25.439 -m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  25.440 -[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  25.441 -    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  25.442 -
  25.443 -
  25.444 -# _LT_LIBTOOL_TAGS
  25.445 -# ----------------
  25.446 -# Output comment and list of tags supported by the script
  25.447 -m4_defun([_LT_LIBTOOL_TAGS],
  25.448 -[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
  25.449 -available_tags="_LT_TAGS"dnl
  25.450 -])
  25.451 -
  25.452 -
  25.453 -# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
  25.454 -# -----------------------------------
  25.455 -# Extract the dictionary values for VARNAME (optionally with TAG) and
  25.456 -# expand to a commented shell variable setting:
  25.457 -#
  25.458 -#    # Some comment about what VAR is for.
  25.459 -#    visible_name=$lt_internal_name
  25.460 -m4_define([_LT_LIBTOOL_DECLARE],
  25.461 -[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
  25.462 -					   [description])))[]dnl
  25.463 -m4_pushdef([_libtool_name],
  25.464 -    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
  25.465 -m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
  25.466 -    [0], [_libtool_name=[$]$1],
  25.467 -    [1], [_libtool_name=$lt_[]$1],
  25.468 -    [2], [_libtool_name=$lt_[]$1],
  25.469 -    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
  25.470 -m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
  25.471 -])
  25.472 -
  25.473 -
  25.474 -# _LT_LIBTOOL_CONFIG_VARS
  25.475 -# -----------------------
  25.476 -# Produce commented declarations of non-tagged libtool config variables
  25.477 -# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
  25.478 -# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
  25.479 -# section) are produced by _LT_LIBTOOL_TAG_VARS.
  25.480 -m4_defun([_LT_LIBTOOL_CONFIG_VARS],
  25.481 -[m4_foreach([_lt_var],
  25.482 -    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
  25.483 -    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
  25.484 -
  25.485 -
  25.486 -# _LT_LIBTOOL_TAG_VARS(TAG)
  25.487 -# -------------------------
  25.488 -m4_define([_LT_LIBTOOL_TAG_VARS],
  25.489 -[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
  25.490 -    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
  25.491 -
  25.492 -
  25.493 -# _LT_TAGVAR(VARNAME, [TAGNAME])
  25.494 -# ------------------------------
  25.495 -m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
  25.496 -
  25.497 -
  25.498 -# _LT_CONFIG_COMMANDS
  25.499 -# -------------------
  25.500 -# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
  25.501 -# variables for single and double quote escaping we saved from calls
  25.502 -# to _LT_DECL, we can put quote escaped variables declarations
  25.503 -# into `config.status', and then the shell code to quote escape them in
  25.504 -# for loops in `config.status'.  Finally, any additional code accumulated
  25.505 -# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
  25.506 -m4_defun([_LT_CONFIG_COMMANDS],
  25.507 -[AC_PROVIDE_IFELSE([LT_OUTPUT],
  25.508 -	dnl If the libtool generation code has been placed in $CONFIG_LT,
  25.509 -	dnl instead of duplicating it all over again into config.status,
  25.510 -	dnl then we will have config.status run $CONFIG_LT later, so it
  25.511 -	dnl needs to know what name is stored there:
  25.512 -        [AC_CONFIG_COMMANDS([libtool],
  25.513 -            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
  25.514 -    dnl If the libtool generation code is destined for config.status,
  25.515 -    dnl expand the accumulated commands and init code now:
  25.516 -    [AC_CONFIG_COMMANDS([libtool],
  25.517 -        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
  25.518 -])#_LT_CONFIG_COMMANDS
  25.519 -
  25.520 -
  25.521 -# Initialize.
  25.522 -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
  25.523 -[
  25.524 -
  25.525 -# The HP-UX ksh and POSIX shell print the target directory to stdout
  25.526 -# if CDPATH is set.
  25.527 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  25.528 -
  25.529 -sed_quote_subst='$sed_quote_subst'
  25.530 -double_quote_subst='$double_quote_subst'
  25.531 -delay_variable_subst='$delay_variable_subst'
  25.532 -_LT_CONFIG_STATUS_DECLARATIONS
  25.533 -LTCC='$LTCC'
  25.534 -LTCFLAGS='$LTCFLAGS'
  25.535 -compiler='$compiler_DEFAULT'
  25.536 -
  25.537 -# A function that is used when there is no print builtin or printf.
  25.538 -func_fallback_echo ()
  25.539 -{
  25.540 -  eval 'cat <<_LTECHO_EOF
  25.541 -\$[]1
  25.542 -_LTECHO_EOF'
  25.543 -}
  25.544 -
  25.545 -# Quote evaled strings.
  25.546 -for var in lt_decl_all_varnames([[ \
  25.547 -]], lt_decl_quote_varnames); do
  25.548 -    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  25.549 -    *[[\\\\\\\`\\"\\\$]]*)
  25.550 -      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  25.551 -      ;;
  25.552 -    *)
  25.553 -      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  25.554 -      ;;
  25.555 -    esac
  25.556 -done
  25.557 -
  25.558 -# Double-quote double-evaled strings.
  25.559 -for var in lt_decl_all_varnames([[ \
  25.560 -]], lt_decl_dquote_varnames); do
  25.561 -    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  25.562 -    *[[\\\\\\\`\\"\\\$]]*)
  25.563 -      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  25.564 -      ;;
  25.565 -    *)
  25.566 -      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  25.567 -      ;;
  25.568 -    esac
  25.569 -done
  25.570 -
  25.571 -_LT_OUTPUT_LIBTOOL_INIT
  25.572 -])
  25.573 -
  25.574 -# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
  25.575 -# ------------------------------------
  25.576 -# Generate a child script FILE with all initialization necessary to
  25.577 -# reuse the environment learned by the parent script, and make the
  25.578 -# file executable.  If COMMENT is supplied, it is inserted after the
  25.579 -# `#!' sequence but before initialization text begins.  After this
  25.580 -# macro, additional text can be appended to FILE to form the body of
  25.581 -# the child script.  The macro ends with non-zero status if the
  25.582 -# file could not be fully written (such as if the disk is full).
  25.583 -m4_ifdef([AS_INIT_GENERATED],
  25.584 -[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
  25.585 -[m4_defun([_LT_GENERATED_FILE_INIT],
  25.586 -[m4_require([AS_PREPARE])]dnl
  25.587 -[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
  25.588 -[lt_write_fail=0
  25.589 -cat >$1 <<_ASEOF || lt_write_fail=1
  25.590 -#! $SHELL
  25.591 -# Generated by $as_me.
  25.592 -$2
  25.593 -SHELL=\${CONFIG_SHELL-$SHELL}
  25.594 -export SHELL
  25.595 -_ASEOF
  25.596 -cat >>$1 <<\_ASEOF || lt_write_fail=1
  25.597 -AS_SHELL_SANITIZE
  25.598 -_AS_PREPARE
  25.599 -exec AS_MESSAGE_FD>&1
  25.600 -_ASEOF
  25.601 -test $lt_write_fail = 0 && chmod +x $1[]dnl
  25.602 -m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
  25.603 -
  25.604 -# LT_OUTPUT
  25.605 -# ---------
  25.606 -# This macro allows early generation of the libtool script (before
  25.607 -# AC_OUTPUT is called), incase it is used in configure for compilation
  25.608 -# tests.
  25.609 -AC_DEFUN([LT_OUTPUT],
  25.610 -[: ${CONFIG_LT=./config.lt}
  25.611 -AC_MSG_NOTICE([creating $CONFIG_LT])
  25.612 -_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
  25.613 -[# Run this file to recreate a libtool stub with the current configuration.])
  25.614 -
  25.615 -cat >>"$CONFIG_LT" <<\_LTEOF
  25.616 -lt_cl_silent=false
  25.617 -exec AS_MESSAGE_LOG_FD>>config.log
  25.618 -{
  25.619 -  echo
  25.620 -  AS_BOX([Running $as_me.])
  25.621 -} >&AS_MESSAGE_LOG_FD
  25.622 -
  25.623 -lt_cl_help="\
  25.624 -\`$as_me' creates a local libtool stub from the current configuration,
  25.625 -for use in further configure time tests before the real libtool is
  25.626 -generated.
  25.627 -
  25.628 -Usage: $[0] [[OPTIONS]]
  25.629 -
  25.630 -  -h, --help      print this help, then exit
  25.631 -  -V, --version   print version number, then exit
  25.632 -  -q, --quiet     do not print progress messages
  25.633 -  -d, --debug     don't remove temporary files
  25.634 -
  25.635 -Report bugs to <bug-libtool@gnu.org>."
  25.636 -
  25.637 -lt_cl_version="\
  25.638 -m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  25.639 -m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  25.640 -configured by $[0], generated by m4_PACKAGE_STRING.
  25.641 -
  25.642 -Copyright (C) 2011 Free Software Foundation, Inc.
  25.643 -This config.lt script is free software; the Free Software Foundation
  25.644 -gives unlimited permision to copy, distribute and modify it."
  25.645 -
  25.646 -while test $[#] != 0
  25.647 -do
  25.648 -  case $[1] in
  25.649 -    --version | --v* | -V )
  25.650 -      echo "$lt_cl_version"; exit 0 ;;
  25.651 -    --help | --h* | -h )
  25.652 -      echo "$lt_cl_help"; exit 0 ;;
  25.653 -    --debug | --d* | -d )
  25.654 -      debug=: ;;
  25.655 -    --quiet | --q* | --silent | --s* | -q )
  25.656 -      lt_cl_silent=: ;;
  25.657 -
  25.658 -    -*) AC_MSG_ERROR([unrecognized option: $[1]
  25.659 -Try \`$[0] --help' for more information.]) ;;
  25.660 -
  25.661 -    *) AC_MSG_ERROR([unrecognized argument: $[1]
  25.662 -Try \`$[0] --help' for more information.]) ;;
  25.663 -  esac
  25.664 -  shift
  25.665 -done
  25.666 -
  25.667 -if $lt_cl_silent; then
  25.668 -  exec AS_MESSAGE_FD>/dev/null
  25.669 -fi
  25.670 -_LTEOF
  25.671 -
  25.672 -cat >>"$CONFIG_LT" <<_LTEOF
  25.673 -_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  25.674 -_LTEOF
  25.675 -
  25.676 -cat >>"$CONFIG_LT" <<\_LTEOF
  25.677 -AC_MSG_NOTICE([creating $ofile])
  25.678 -_LT_OUTPUT_LIBTOOL_COMMANDS
  25.679 -AS_EXIT(0)
  25.680 -_LTEOF
  25.681 -chmod +x "$CONFIG_LT"
  25.682 -
  25.683 -# configure is writing to config.log, but config.lt does its own redirection,
  25.684 -# appending to config.log, which fails on DOS, as config.log is still kept
  25.685 -# open by configure.  Here we exec the FD to /dev/null, effectively closing
  25.686 -# config.log, so it can be properly (re)opened and appended to by config.lt.
  25.687 -lt_cl_success=:
  25.688 -test "$silent" = yes &&
  25.689 -  lt_config_lt_args="$lt_config_lt_args --quiet"
  25.690 -exec AS_MESSAGE_LOG_FD>/dev/null
  25.691 -$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  25.692 -exec AS_MESSAGE_LOG_FD>>config.log
  25.693 -$lt_cl_success || AS_EXIT(1)
  25.694 -])# LT_OUTPUT
  25.695 -
  25.696 -
  25.697 -# _LT_CONFIG(TAG)
  25.698 -# ---------------
  25.699 -# If TAG is the built-in tag, create an initial libtool script with a
  25.700 -# default configuration from the untagged config vars.  Otherwise add code
  25.701 -# to config.status for appending the configuration named by TAG from the
  25.702 -# matching tagged config vars.
  25.703 -m4_defun([_LT_CONFIG],
  25.704 -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  25.705 -_LT_CONFIG_SAVE_COMMANDS([
  25.706 -  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  25.707 -  m4_if(_LT_TAG, [C], [
  25.708 -    # See if we are running on zsh, and set the options which allow our
  25.709 -    # commands through without removal of \ escapes.
  25.710 -    if test -n "${ZSH_VERSION+set}" ; then
  25.711 -      setopt NO_GLOB_SUBST
  25.712 -    fi
  25.713 -
  25.714 -    cfgfile="${ofile}T"
  25.715 -    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  25.716 -    $RM "$cfgfile"
  25.717 -
  25.718 -    cat <<_LT_EOF >> "$cfgfile"
  25.719 -#! $SHELL
  25.720 -
  25.721 -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  25.722 -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  25.723 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  25.724 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  25.725 -#
  25.726 -_LT_COPYING
  25.727 -_LT_LIBTOOL_TAGS
  25.728 -
  25.729 -# ### BEGIN LIBTOOL CONFIG
  25.730 -_LT_LIBTOOL_CONFIG_VARS
  25.731 -_LT_LIBTOOL_TAG_VARS
  25.732 -# ### END LIBTOOL CONFIG
  25.733 -
  25.734 -_LT_EOF
  25.735 -
  25.736 -  case $host_os in
  25.737 -  aix3*)
  25.738 -    cat <<\_LT_EOF >> "$cfgfile"
  25.739 -# AIX sometimes has problems with the GCC collect2 program.  For some
  25.740 -# reason, if we set the COLLECT_NAMES environment variable, the problems
  25.741 -# vanish in a puff of smoke.
  25.742 -if test "X${COLLECT_NAMES+set}" != Xset; then
  25.743 -  COLLECT_NAMES=
  25.744 -  export COLLECT_NAMES
  25.745 -fi
  25.746 -_LT_EOF
  25.747 -    ;;
  25.748 -  esac
  25.749 -
  25.750 -  _LT_PROG_LTMAIN
  25.751 -
  25.752 -  # We use sed instead of cat because bash on DJGPP gets confused if
  25.753 -  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  25.754 -  # text mode, it properly converts lines to CR/LF.  This bash problem
  25.755 -  # is reportedly fixed, but why not run on old versions too?
  25.756 -  sed '$q' "$ltmain" >> "$cfgfile" \
  25.757 -     || (rm -f "$cfgfile"; exit 1)
  25.758 -
  25.759 -  _LT_PROG_REPLACE_SHELLFNS
  25.760 -
  25.761 -   mv -f "$cfgfile" "$ofile" ||
  25.762 -    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  25.763 -  chmod +x "$ofile"
  25.764 -],
  25.765 -[cat <<_LT_EOF >> "$ofile"
  25.766 -
  25.767 -dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
  25.768 -dnl in a comment (ie after a #).
  25.769 -# ### BEGIN LIBTOOL TAG CONFIG: $1
  25.770 -_LT_LIBTOOL_TAG_VARS(_LT_TAG)
  25.771 -# ### END LIBTOOL TAG CONFIG: $1
  25.772 -_LT_EOF
  25.773 -])dnl /m4_if
  25.774 -],
  25.775 -[m4_if([$1], [], [
  25.776 -    PACKAGE='$PACKAGE'
  25.777 -    VERSION='$VERSION'
  25.778 -    TIMESTAMP='$TIMESTAMP'
  25.779 -    RM='$RM'
  25.780 -    ofile='$ofile'], [])
  25.781 -])dnl /_LT_CONFIG_SAVE_COMMANDS
  25.782 -])# _LT_CONFIG
  25.783 -
  25.784 -
  25.785 -# LT_SUPPORTED_TAG(TAG)
  25.786 -# ---------------------
  25.787 -# Trace this macro to discover what tags are supported by the libtool
  25.788 -# --tag option, using:
  25.789 -#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
  25.790 -AC_DEFUN([LT_SUPPORTED_TAG], [])
  25.791 -
  25.792 -
  25.793 -# C support is built-in for now
  25.794 -m4_define([_LT_LANG_C_enabled], [])
  25.795 -m4_define([_LT_TAGS], [])
  25.796 -
  25.797 -
  25.798 -# LT_LANG(LANG)
  25.799 -# -------------
  25.800 -# Enable libtool support for the given language if not already enabled.
  25.801 -AC_DEFUN([LT_LANG],
  25.802 -[AC_BEFORE([$0], [LT_OUTPUT])dnl
  25.803 -m4_case([$1],
  25.804 -  [C],			[_LT_LANG(C)],
  25.805 -  [C++],		[_LT_LANG(CXX)],
  25.806 -  [Go],			[_LT_LANG(GO)],
  25.807 -  [Java],		[_LT_LANG(GCJ)],
  25.808 -  [Fortran 77],		[_LT_LANG(F77)],
  25.809 -  [Fortran],		[_LT_LANG(FC)],
  25.810 -  [Windows Resource],	[_LT_LANG(RC)],
  25.811 -  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  25.812 -    [_LT_LANG($1)],
  25.813 -    [m4_fatal([$0: unsupported language: "$1"])])])dnl
  25.814 -])# LT_LANG
  25.815 -
  25.816 -
  25.817 -# _LT_LANG(LANGNAME)
  25.818 -# ------------------
  25.819 -m4_defun([_LT_LANG],
  25.820 -[m4_ifdef([_LT_LANG_]$1[_enabled], [],
  25.821 -  [LT_SUPPORTED_TAG([$1])dnl
  25.822 -  m4_append([_LT_TAGS], [$1 ])dnl
  25.823 -  m4_define([_LT_LANG_]$1[_enabled], [])dnl
  25.824 -  _LT_LANG_$1_CONFIG($1)])dnl
  25.825 -])# _LT_LANG
  25.826 -
  25.827 -
  25.828 -m4_ifndef([AC_PROG_GO], [
  25.829 -# NOTE: This macro has been submitted for inclusion into   #
  25.830 -#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
  25.831 -#  a released version of Autoconf we should remove this    #
  25.832 -#  macro and use it instead.                               #
  25.833 -m4_defun([AC_PROG_GO],
  25.834 -[AC_LANG_PUSH(Go)dnl
  25.835 -AC_ARG_VAR([GOC],     [Go compiler command])dnl
  25.836 -AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
  25.837 -_AC_ARG_VAR_LDFLAGS()dnl
  25.838 -AC_CHECK_TOOL(GOC, gccgo)
  25.839 -if test -z "$GOC"; then
  25.840 -  if test -n "$ac_tool_prefix"; then
  25.841 -    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
  25.842 -  fi
  25.843 -fi
  25.844 -if test -z "$GOC"; then
  25.845 -  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
  25.846 -fi
  25.847 -])#m4_defun
  25.848 -])#m4_ifndef
  25.849 -
  25.850 -
  25.851 -# _LT_LANG_DEFAULT_CONFIG
  25.852 -# -----------------------
  25.853 -m4_defun([_LT_LANG_DEFAULT_CONFIG],
  25.854 -[AC_PROVIDE_IFELSE([AC_PROG_CXX],
  25.855 -  [LT_LANG(CXX)],
  25.856 -  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
  25.857 -
  25.858 -AC_PROVIDE_IFELSE([AC_PROG_F77],
  25.859 -  [LT_LANG(F77)],
  25.860 -  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
  25.861 -
  25.862 -AC_PROVIDE_IFELSE([AC_PROG_FC],
  25.863 -  [LT_LANG(FC)],
  25.864 -  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
  25.865 -
  25.866 -dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
  25.867 -dnl pulling things in needlessly.
  25.868 -AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  25.869 -  [LT_LANG(GCJ)],
  25.870 -  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  25.871 -    [LT_LANG(GCJ)],
  25.872 -    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
  25.873 -      [LT_LANG(GCJ)],
  25.874 -      [m4_ifdef([AC_PROG_GCJ],
  25.875 -	[m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
  25.876 -       m4_ifdef([A][M_PROG_GCJ],
  25.877 -	[m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
  25.878 -       m4_ifdef([LT_PROG_GCJ],
  25.879 -	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  25.880 -
  25.881 -AC_PROVIDE_IFELSE([AC_PROG_GO],
  25.882 -  [LT_LANG(GO)],
  25.883 -  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
  25.884 -
  25.885 -AC_PROVIDE_IFELSE([LT_PROG_RC],
  25.886 -  [LT_LANG(RC)],
  25.887 -  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  25.888 -])# _LT_LANG_DEFAULT_CONFIG
  25.889 -
  25.890 -# Obsolete macros:
  25.891 -AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  25.892 -AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  25.893 -AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  25.894 -AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  25.895 -AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
  25.896 -dnl aclocal-1.4 backwards compatibility:
  25.897 -dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  25.898 -dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  25.899 -dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  25.900 -dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  25.901 -dnl AC_DEFUN([AC_LIBTOOL_RC], [])
  25.902 -
  25.903 -
  25.904 -# _LT_TAG_COMPILER
  25.905 -# ----------------
  25.906 -m4_defun([_LT_TAG_COMPILER],
  25.907 -[AC_REQUIRE([AC_PROG_CC])dnl
  25.908 -
  25.909 -_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
  25.910 -_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
  25.911 -_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
  25.912 -_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
  25.913 -
  25.914 -# If no C compiler was specified, use CC.
  25.915 -LTCC=${LTCC-"$CC"}
  25.916 -
  25.917 -# If no C compiler flags were specified, use CFLAGS.
  25.918 -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  25.919 -
  25.920 -# Allow CC to be a program name with arguments.
  25.921 -compiler=$CC
  25.922 -])# _LT_TAG_COMPILER
  25.923 -
  25.924 -
  25.925 -# _LT_COMPILER_BOILERPLATE
  25.926 -# ------------------------
  25.927 -# Check for compiler boilerplate output or warnings with
  25.928 -# the simple compiler test code.
  25.929 -m4_defun([_LT_COMPILER_BOILERPLATE],
  25.930 -[m4_require([_LT_DECL_SED])dnl
  25.931 -ac_outfile=conftest.$ac_objext
  25.932 -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  25.933 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  25.934 -_lt_compiler_boilerplate=`cat conftest.err`
  25.935 -$RM conftest*
  25.936 -])# _LT_COMPILER_BOILERPLATE
  25.937 -
  25.938 -
  25.939 -# _LT_LINKER_BOILERPLATE
  25.940 -# ----------------------
  25.941 -# Check for linker boilerplate output or warnings with
  25.942 -# the simple link test code.
  25.943 -m4_defun([_LT_LINKER_BOILERPLATE],
  25.944 -[m4_require([_LT_DECL_SED])dnl
  25.945 -ac_outfile=conftest.$ac_objext
  25.946 -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  25.947 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  25.948 -_lt_linker_boilerplate=`cat conftest.err`
  25.949 -$RM -r conftest*
  25.950 -])# _LT_LINKER_BOILERPLATE
  25.951 -
  25.952 -# _LT_REQUIRED_DARWIN_CHECKS
  25.953 -# -------------------------
  25.954 -m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
  25.955 -  case $host_os in
  25.956 -    rhapsody* | darwin*)
  25.957 -    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
  25.958 -    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
  25.959 -    AC_CHECK_TOOL([LIPO], [lipo], [:])
  25.960 -    AC_CHECK_TOOL([OTOOL], [otool], [:])
  25.961 -    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
  25.962 -    _LT_DECL([], [DSYMUTIL], [1],
  25.963 -      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
  25.964 -    _LT_DECL([], [NMEDIT], [1],
  25.965 -      [Tool to change global to local symbols on Mac OS X])
  25.966 -    _LT_DECL([], [LIPO], [1],
  25.967 -      [Tool to manipulate fat objects and archives on Mac OS X])
  25.968 -    _LT_DECL([], [OTOOL], [1],
  25.969 -      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
  25.970 -    _LT_DECL([], [OTOOL64], [1],
  25.971 -      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
  25.972 -
  25.973 -    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
  25.974 -      [lt_cv_apple_cc_single_mod=no
  25.975 -      if test -z "${LT_MULTI_MODULE}"; then
  25.976 -	# By default we will add the -single_module flag. You can override
  25.977 -	# by either setting the environment variable LT_MULTI_MODULE
  25.978 -	# non-empty at configure time, or by adding -multi_module to the
  25.979 -	# link flags.
  25.980 -	rm -rf libconftest.dylib*
  25.981 -	echo "int foo(void){return 1;}" > conftest.c
  25.982 -	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  25.983 --dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
  25.984 -	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  25.985 -	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  25.986 -        _lt_result=$?
  25.987 -	# If there is a non-empty error log, and "single_module"
  25.988 -	# appears in it, assume the flag caused a linker warning
  25.989 -        if test -s conftest.err && $GREP single_module conftest.err; then
  25.990 -	  cat conftest.err >&AS_MESSAGE_LOG_FD
  25.991 -	# Otherwise, if the output was created with a 0 exit code from
  25.992 -	# the compiler, it worked.
  25.993 -	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
  25.994 -	  lt_cv_apple_cc_single_mod=yes
  25.995 -	else
  25.996 -	  cat conftest.err >&AS_MESSAGE_LOG_FD
  25.997 -	fi
  25.998 -	rm -rf libconftest.dylib*
  25.999 -	rm -f conftest.*
 25.1000 -      fi])
 25.1001 -
 25.1002 -    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
 25.1003 -      [lt_cv_ld_exported_symbols_list],
 25.1004 -      [lt_cv_ld_exported_symbols_list=no
 25.1005 -      save_LDFLAGS=$LDFLAGS
 25.1006 -      echo "_main" > conftest.sym
 25.1007 -      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 25.1008 -      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 25.1009 -	[lt_cv_ld_exported_symbols_list=yes],
 25.1010 -	[lt_cv_ld_exported_symbols_list=no])
 25.1011 -	LDFLAGS="$save_LDFLAGS"
 25.1012 -    ])
 25.1013 -
 25.1014 -    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
 25.1015 -      [lt_cv_ld_force_load=no
 25.1016 -      cat > conftest.c << _LT_EOF
 25.1017 -int forced_loaded() { return 2;}
 25.1018 -_LT_EOF
 25.1019 -      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
 25.1020 -      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
 25.1021 -      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
 25.1022 -      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
 25.1023 -      echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
 25.1024 -      $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
 25.1025 -      cat > conftest.c << _LT_EOF
 25.1026 -int main() { return 0;}
 25.1027 -_LT_EOF
 25.1028 -      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
 25.1029 -      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 25.1030 -      _lt_result=$?
 25.1031 -      if test -s conftest.err && $GREP force_load conftest.err; then
 25.1032 -	cat conftest.err >&AS_MESSAGE_LOG_FD
 25.1033 -      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 25.1034 -	lt_cv_ld_force_load=yes
 25.1035 -      else
 25.1036 -	cat conftest.err >&AS_MESSAGE_LOG_FD
 25.1037 -      fi
 25.1038 -        rm -f conftest.err libconftest.a conftest conftest.c
 25.1039 -        rm -rf conftest.dSYM
 25.1040 -    ])
 25.1041 -    case $host_os in
 25.1042 -    rhapsody* | darwin1.[[012]])
 25.1043 -      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 25.1044 -    darwin1.*)
 25.1045 -      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 25.1046 -    darwin*) # darwin 5.x on
 25.1047 -      # if running on 10.5 or later, the deployment target defaults
 25.1048 -      # to the OS version, if on x86, and 10.4, the deployment
 25.1049 -      # target defaults to 10.4. Don't you love it?
 25.1050 -      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 25.1051 -	10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
 25.1052 -	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 25.1053 -	10.[[012]]*)
 25.1054 -	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 25.1055 -	10.*)
 25.1056 -	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 25.1057 -      esac
 25.1058 -    ;;
 25.1059 -  esac
 25.1060 -    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 25.1061 -      _lt_dar_single_mod='$single_module'
 25.1062 -    fi
 25.1063 -    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 25.1064 -      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 25.1065 -    else
 25.1066 -      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 25.1067 -    fi
 25.1068 -    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 25.1069 -      _lt_dsymutil='~$DSYMUTIL $lib || :'
 25.1070 -    else
 25.1071 -      _lt_dsymutil=
 25.1072 -    fi
 25.1073 -    ;;
 25.1074 -  esac
 25.1075 -])
 25.1076 -
 25.1077 -
 25.1078 -# _LT_DARWIN_LINKER_FEATURES([TAG])
 25.1079 -# ---------------------------------
 25.1080 -# Checks for linker and compiler features on darwin
 25.1081 -m4_defun([_LT_DARWIN_LINKER_FEATURES],
 25.1082 -[
 25.1083 -  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
 25.1084 -  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 25.1085 -  _LT_TAGVAR(hardcode_direct, $1)=no
 25.1086 -  _LT_TAGVAR(hardcode_automatic, $1)=yes
 25.1087 -  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 25.1088 -  if test "$lt_cv_ld_force_load" = "yes"; then
 25.1089 -    _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 25.1090 -    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
 25.1091 -                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
 25.1092 -  else
 25.1093 -    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
 25.1094 -  fi
 25.1095 -  _LT_TAGVAR(link_all_deplibs, $1)=yes
 25.1096 -  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
 25.1097 -  case $cc_basename in
 25.1098 -     ifort*) _lt_dar_can_shared=yes ;;
 25.1099 -     *) _lt_dar_can_shared=$GCC ;;
 25.1100 -  esac
 25.1101 -  if test "$_lt_dar_can_shared" = "yes"; then
 25.1102 -    output_verbose_link_cmd=func_echo_all
 25.1103 -    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 25.1104 -    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 25.1105 -    _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 25.1106 -    _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 25.1107 -    m4_if([$1], [CXX],
 25.1108 -[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 25.1109 -      _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 25.1110 -      _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
 25.1111 -    fi
 25.1112 -],[])
 25.1113 -  else
 25.1114 -  _LT_TAGVAR(ld_shlibs, $1)=no
 25.1115 -  fi
 25.1116 -])
 25.1117 -
 25.1118 -# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
 25.1119 -# ----------------------------------
 25.1120 -# Links a minimal program and checks the executable
 25.1121 -# for the system default hardcoded library path. In most cases,
 25.1122 -# this is /usr/lib:/lib, but when the MPI compilers are used
 25.1123 -# the location of the communication and MPI libs are included too.
 25.1124 -# If we don't find anything, use the default library path according
 25.1125 -# to the aix ld manual.
 25.1126 -# Store the results from the different compilers for each TAGNAME.
 25.1127 -# Allow to override them for all tags through lt_cv_aix_libpath.
 25.1128 -m4_defun([_LT_SYS_MODULE_PATH_AIX],
 25.1129 -[m4_require([_LT_DECL_SED])dnl
 25.1130 -if test "${lt_cv_aix_libpath+set}" = set; then
 25.1131 -  aix_libpath=$lt_cv_aix_libpath
 25.1132 -else
 25.1133 -  AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
 25.1134 -  [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
 25.1135 -  lt_aix_libpath_sed='[
 25.1136 -      /Import File Strings/,/^$/ {
 25.1137 -	  /^0/ {
 25.1138 -	      s/^0  *\([^ ]*\) *$/\1/
 25.1139 -	      p
 25.1140 -	  }
 25.1141 -      }]'
 25.1142 -  _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 25.1143 -  # Check for a 64-bit object if we didn't find anything.
 25.1144 -  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
 25.1145 -    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 25.1146 -  fi],[])
 25.1147 -  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
 25.1148 -    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
 25.1149 -  fi
 25.1150 -  ])
 25.1151 -  aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
 25.1152 -fi
 25.1153 -])# _LT_SYS_MODULE_PATH_AIX
 25.1154 -
 25.1155 -
 25.1156 -# _LT_SHELL_INIT(ARG)
 25.1157 -# -------------------
 25.1158 -m4_define([_LT_SHELL_INIT],
 25.1159 -[m4_divert_text([M4SH-INIT], [$1
 25.1160 -])])# _LT_SHELL_INIT
 25.1161 -
 25.1162 -
 25.1163 -
 25.1164 -# _LT_PROG_ECHO_BACKSLASH
 25.1165 -# -----------------------
 25.1166 -# Find how we can fake an echo command that does not interpret backslash.
 25.1167 -# In particular, with Autoconf 2.60 or later we add some code to the start
 25.1168 -# of the generated configure script which will find a shell with a builtin
 25.1169 -# printf (which we can use as an echo command).
 25.1170 -m4_defun([_LT_PROG_ECHO_BACKSLASH],
 25.1171 -[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 25.1172 -ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 25.1173 -ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 25.1174 -
 25.1175 -AC_MSG_CHECKING([how to print strings])
 25.1176 -# Test print first, because it will be a builtin if present.
 25.1177 -if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 25.1178 -   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 25.1179 -  ECHO='print -r --'
 25.1180 -elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 25.1181 -  ECHO='printf %s\n'
 25.1182 -else
 25.1183 -  # Use this function as a fallback that always works.
 25.1184 -  func_fallback_echo ()
 25.1185 -  {
 25.1186 -    eval 'cat <<_LTECHO_EOF
 25.1187 -$[]1
 25.1188 -_LTECHO_EOF'
 25.1189 -  }
 25.1190 -  ECHO='func_fallback_echo'
 25.1191 -fi
 25.1192 -
 25.1193 -# func_echo_all arg...
 25.1194 -# Invoke $ECHO with all args, space-separated.
 25.1195 -func_echo_all ()
 25.1196 -{
 25.1197 -    $ECHO "$*" 
 25.1198 -}
 25.1199 -
 25.1200 -case "$ECHO" in
 25.1201 -  printf*) AC_MSG_RESULT([printf]) ;;
 25.1202 -  print*) AC_MSG_RESULT([print -r]) ;;
 25.1203 -  *) AC_MSG_RESULT([cat]) ;;
 25.1204 -esac
 25.1205 -
 25.1206 -m4_ifdef([_AS_DETECT_SUGGESTED],
 25.1207 -[_AS_DETECT_SUGGESTED([
 25.1208 -  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
 25.1209 -    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 25.1210 -    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 25.1211 -    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 25.1212 -    PATH=/empty FPATH=/empty; export PATH FPATH
 25.1213 -    test "X`printf %s $ECHO`" = "X$ECHO" \
 25.1214 -      || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
 25.1215 -
 25.1216 -_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
 25.1217 -_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
 25.1218 -])# _LT_PROG_ECHO_BACKSLASH
 25.1219 -
 25.1220 -
 25.1221 -# _LT_WITH_SYSROOT
 25.1222 -# ----------------
 25.1223 -AC_DEFUN([_LT_WITH_SYSROOT],
 25.1224 -[AC_MSG_CHECKING([for sysroot])
 25.1225 -AC_ARG_WITH([sysroot],
 25.1226 -[  --with-sysroot[=DIR] Search for dependent libraries within DIR
 25.1227 -                        (or the compiler's sysroot if not specified).],
 25.1228 -[], [with_sysroot=no])
 25.1229 -
 25.1230 -dnl lt_sysroot will always be passed unquoted.  We quote it here
 25.1231 -dnl in case the user passed a directory name.
 25.1232 -lt_sysroot=
 25.1233 -case ${with_sysroot} in #(
 25.1234 - yes)
 25.1235 -   if test "$GCC" = yes; then
 25.1236 -     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 25.1237 -   fi
 25.1238 -   ;; #(
 25.1239 - /*)
 25.1240 -   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 25.1241 -   ;; #(
 25.1242 - no|'')
 25.1243 -   ;; #(
 25.1244 - *)
 25.1245 -   AC_MSG_RESULT([${with_sysroot}])
 25.1246 -   AC_MSG_ERROR([The sysroot must be an absolute path.])
 25.1247 -   ;;
 25.1248 -esac
 25.1249 -
 25.1250 - AC_MSG_RESULT([${lt_sysroot:-no}])
 25.1251 -_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
 25.1252 -[dependent libraries, and in which our libraries should be installed.])])
 25.1253 -
 25.1254 -# _LT_ENABLE_LOCK
 25.1255 -# ---------------
 25.1256 -m4_defun([_LT_ENABLE_LOCK],
 25.1257 -[AC_ARG_ENABLE([libtool-lock],
 25.1258 -  [AS_HELP_STRING([--disable-libtool-lock],
 25.1259 -    [avoid locking (might break parallel builds)])])
 25.1260 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 25.1261 -
 25.1262 -# Some flags need to be propagated to the compiler or linker for good
 25.1263 -# libtool support.
 25.1264 -case $host in
 25.1265 -ia64-*-hpux*)
 25.1266 -  # Find out which ABI we are using.
 25.1267 -  echo 'int i;' > conftest.$ac_ext
 25.1268 -  if AC_TRY_EVAL(ac_compile); then
 25.1269 -    case `/usr/bin/file conftest.$ac_objext` in
 25.1270 -      *ELF-32*)
 25.1271 -	HPUX_IA64_MODE="32"
 25.1272 -	;;
 25.1273 -      *ELF-64*)
 25.1274 -	HPUX_IA64_MODE="64"
 25.1275 -	;;
 25.1276 -    esac
 25.1277 -  fi
 25.1278 -  rm -rf conftest*
 25.1279 -  ;;
 25.1280 -*-*-irix6*)
 25.1281 -  # Find out which ABI we are using.
 25.1282 -  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
 25.1283 -  if AC_TRY_EVAL(ac_compile); then
 25.1284 -    if test "$lt_cv_prog_gnu_ld" = yes; then
 25.1285 -      case `/usr/bin/file conftest.$ac_objext` in
 25.1286 -	*32-bit*)
 25.1287 -	  LD="${LD-ld} -melf32bsmip"
 25.1288 -	  ;;
 25.1289 -	*N32*)
 25.1290 -	  LD="${LD-ld} -melf32bmipn32"
 25.1291 -	  ;;
 25.1292 -	*64-bit*)
 25.1293 -	  LD="${LD-ld} -melf64bmip"
 25.1294 -	;;
 25.1295 -      esac
 25.1296 -    else
 25.1297 -      case `/usr/bin/file conftest.$ac_objext` in
 25.1298 -	*32-bit*)
 25.1299 -	  LD="${LD-ld} -32"
 25.1300 -	  ;;
 25.1301 -	*N32*)
 25.1302 -	  LD="${LD-ld} -n32"
 25.1303 -	  ;;
 25.1304 -	*64-bit*)
 25.1305 -	  LD="${LD-ld} -64"
 25.1306 -	  ;;
 25.1307 -      esac
 25.1308 -    fi
 25.1309 -  fi
 25.1310 -  rm -rf conftest*
 25.1311 -  ;;
 25.1312 -
 25.1313 -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 25.1314 -s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 25.1315 -  # Find out which ABI we are using.
 25.1316 -  echo 'int i;' > conftest.$ac_ext
 25.1317 -  if AC_TRY_EVAL(ac_compile); then
 25.1318 -    case `/usr/bin/file conftest.o` in
 25.1319 -      *32-bit*)
 25.1320 -	case $host in
 25.1321 -	  x86_64-*kfreebsd*-gnu)
 25.1322 -	    LD="${LD-ld} -m elf_i386_fbsd"
 25.1323 -	    ;;
 25.1324 -	  x86_64-*linux*)
 25.1325 -	    LD="${LD-ld} -m elf_i386"
 25.1326 -	    ;;
 25.1327 -	  ppc64-*linux*|powerpc64-*linux*)
 25.1328 -	    LD="${LD-ld} -m elf32ppclinux"
 25.1329 -	    ;;
 25.1330 -	  s390x-*linux*)
 25.1331 -	    LD="${LD-ld} -m elf_s390"
 25.1332 -	    ;;
 25.1333 -	  sparc64-*linux*)
 25.1334 -	    LD="${LD-ld} -m elf32_sparc"
 25.1335 -	    ;;
 25.1336 -	esac
 25.1337 -	;;
 25.1338 -      *64-bit*)
 25.1339 -	case $host in
 25.1340 -	  x86_64-*kfreebsd*-gnu)
 25.1341 -	    LD="${LD-ld} -m elf_x86_64_fbsd"
 25.1342 -	    ;;
 25.1343 -	  x86_64-*linux*)
 25.1344 -	    LD="${LD-ld} -m elf_x86_64"
 25.1345 -	    ;;
 25.1346 -	  ppc*-*linux*|powerpc*-*linux*)
 25.1347 -	    LD="${LD-ld} -m elf64ppc"
 25.1348 -	    ;;
 25.1349 -	  s390*-*linux*|s390*-*tpf*)
 25.1350 -	    LD="${LD-ld} -m elf64_s390"
 25.1351 -	    ;;
 25.1352 -	  sparc*-*linux*)
 25.1353 -	    LD="${LD-ld} -m elf64_sparc"
 25.1354 -	    ;;
 25.1355 -	esac
 25.1356 -	;;
 25.1357 -    esac
 25.1358 -  fi
 25.1359 -  rm -rf conftest*
 25.1360 -  ;;
 25.1361 -
 25.1362 -*-*-sco3.2v5*)
 25.1363 -  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 25.1364 -  SAVE_CFLAGS="$CFLAGS"
 25.1365 -  CFLAGS="$CFLAGS -belf"
 25.1366 -  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
 25.1367 -    [AC_LANG_PUSH(C)
 25.1368 -     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
 25.1369 -     AC_LANG_POP])
 25.1370 -  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 25.1371 -    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 25.1372 -    CFLAGS="$SAVE_CFLAGS"
 25.1373 -  fi
 25.1374 -  ;;
 25.1375 -*-*solaris*)
 25.1376 -  # Find out which ABI we are using.
 25.1377 -  echo 'int i;' > conftest.$ac_ext
 25.1378 -  if AC_TRY_EVAL(ac_compile); then
 25.1379 -    case `/usr/bin/file conftest.o` in
 25.1380 -    *64-bit*)
 25.1381 -      case $lt_cv_prog_gnu_ld in
 25.1382 -      yes*)
 25.1383 -        case $host in
 25.1384 -        i?86-*-solaris*)
 25.1385 -          LD="${LD-ld} -m elf_x86_64"
 25.1386 -          ;;
 25.1387 -        sparc*-*-solaris*)
 25.1388 -          LD="${LD-ld} -m elf64_sparc"
 25.1389 -          ;;
 25.1390 -        esac
 25.1391 -        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 25.1392 -        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 25.1393 -          LD="${LD-ld}_sol2"
 25.1394 -        fi
 25.1395 -        ;;
 25.1396 -      *)
 25.1397 -	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 25.1398 -	  LD="${LD-ld} -64"
 25.1399 -	fi
 25.1400 -	;;
 25.1401 -      esac
 25.1402 -      ;;
 25.1403 -    esac
 25.1404 -  fi
 25.1405 -  rm -rf conftest*
 25.1406 -  ;;
 25.1407 -esac
 25.1408 -
 25.1409 -need_locks="$enable_libtool_lock"
 25.1410 -])# _LT_ENABLE_LOCK
 25.1411 -
 25.1412 -
 25.1413 -# _LT_PROG_AR
 25.1414 -# -----------
 25.1415 -m4_defun([_LT_PROG_AR],
 25.1416 -[AC_CHECK_TOOLS(AR, [ar], false)
 25.1417 -: ${AR=ar}
 25.1418 -: ${AR_FLAGS=cru}
 25.1419 -_LT_DECL([], [AR], [1], [The archiver])
 25.1420 -_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
 25.1421 -
 25.1422 -AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
 25.1423 -  [lt_cv_ar_at_file=no
 25.1424 -   AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
 25.1425 -     [echo conftest.$ac_objext > conftest.lst
 25.1426 -      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
 25.1427 -      AC_TRY_EVAL([lt_ar_try])
 25.1428 -      if test "$ac_status" -eq 0; then
 25.1429 -	# Ensure the archiver fails upon bogus file names.
 25.1430 -	rm -f conftest.$ac_objext libconftest.a
 25.1431 -	AC_TRY_EVAL([lt_ar_try])
 25.1432 -	if test "$ac_status" -ne 0; then
 25.1433 -          lt_cv_ar_at_file=@
 25.1434 -        fi
 25.1435 -      fi
 25.1436 -      rm -f conftest.* libconftest.a
 25.1437 -     ])
 25.1438 -  ])
 25.1439 -
 25.1440 -if test "x$lt_cv_ar_at_file" = xno; then
 25.1441 -  archiver_list_spec=
 25.1442 -else
 25.1443 -  archiver_list_spec=$lt_cv_ar_at_file
 25.1444 -fi
 25.1445 -_LT_DECL([], [archiver_list_spec], [1],
 25.1446 -  [How to feed a file listing to the archiver])
 25.1447 -])# _LT_PROG_AR
 25.1448 -
 25.1449 -
 25.1450 -# _LT_CMD_OLD_ARCHIVE
 25.1451 -# -------------------
 25.1452 -m4_defun([_LT_CMD_OLD_ARCHIVE],
 25.1453 -[_LT_PROG_AR
 25.1454 -
 25.1455 -AC_CHECK_TOOL(STRIP, strip, :)
 25.1456 -test -z "$STRIP" && STRIP=:
 25.1457 -_LT_DECL([], [STRIP], [1], [A symbol stripping program])
 25.1458 -
 25.1459 -AC_CHECK_TOOL(RANLIB, ranlib, :)
 25.1460 -test -z "$RANLIB" && RANLIB=:
 25.1461 -_LT_DECL([], [RANLIB], [1],
 25.1462 -    [Commands used to install an old-style archive])
 25.1463 -
 25.1464 -# Determine commands to create old-style static archives.
 25.1465 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 25.1466 -old_postinstall_cmds='chmod 644 $oldlib'
 25.1467 -old_postuninstall_cmds=
 25.1468 -
 25.1469 -if test -n "$RANLIB"; then
 25.1470 -  case $host_os in
 25.1471 -  openbsd*)
 25.1472 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 25.1473 -    ;;
 25.1474 -  *)
 25.1475 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 25.1476 -    ;;
 25.1477 -  esac
 25.1478 -  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 25.1479 -fi
 25.1480 -
 25.1481 -case $host_os in
 25.1482 -  darwin*)
 25.1483 -    lock_old_archive_extraction=yes ;;
 25.1484 -  *)
 25.1485 -    lock_old_archive_extraction=no ;;
 25.1486 -esac
 25.1487 -_LT_DECL([], [old_postinstall_cmds], [2])
 25.1488 -_LT_DECL([], [old_postuninstall_cmds], [2])
 25.1489 -_LT_TAGDECL([], [old_archive_cmds], [2],
 25.1490 -    [Commands used to build an old-style archive])
 25.1491 -_LT_DECL([], [lock_old_archive_extraction], [0],
 25.1492 -    [Whether to use a lock for old archive extraction])
 25.1493 -])# _LT_CMD_OLD_ARCHIVE
 25.1494 -
 25.1495 -
 25.1496 -# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 25.1497 -#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
 25.1498 -# ----------------------------------------------------------------
 25.1499 -# Check whether the given compiler option works
 25.1500 -AC_DEFUN([_LT_COMPILER_OPTION],
 25.1501 -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 25.1502 -m4_require([_LT_DECL_SED])dnl
 25.1503 -AC_CACHE_CHECK([$1], [$2],
 25.1504 -  [$2=no
 25.1505 -   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
 25.1506 -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 25.1507 -   lt_compiler_flag="$3"
 25.1508 -   # Insert the option either (1) after the last *FLAGS variable, or
 25.1509 -   # (2) before a word containing "conftest.", or (3) at the end.
 25.1510 -   # Note that $ac_compile itself does not contain backslashes and begins
 25.1511 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
 25.1512 -   # The option is referenced via a variable to avoid confusing sed.
 25.1513 -   lt_compile=`echo "$ac_compile" | $SED \
 25.1514 -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 25.1515 -   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 25.1516 -   -e 's:$: $lt_compiler_flag:'`
 25.1517 -   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 25.1518 -   (eval "$lt_compile" 2>conftest.err)
 25.1519 -   ac_status=$?
 25.1520 -   cat conftest.err >&AS_MESSAGE_LOG_FD
 25.1521 -   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 25.1522 -   if (exit $ac_status) && test -s "$ac_outfile"; then
 25.1523 -     # The compiler can only warn and ignore the option if not recognized
 25.1524 -     # So say no if there are warnings other than the usual output.
 25.1525 -     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 25.1526 -     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 25.1527 -     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 25.1528 -       $2=yes
 25.1529 -     fi
 25.1530 -   fi
 25.1531 -   $RM conftest*
 25.1532 -])
 25.1533 -
 25.1534 -if test x"[$]$2" = xyes; then
 25.1535 -    m4_if([$5], , :, [$5])
 25.1536 -else
 25.1537 -    m4_if([$6], , :, [$6])
 25.1538 -fi
 25.1539 -])# _LT_COMPILER_OPTION
 25.1540 -
 25.1541 -# Old name:
 25.1542 -AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
 25.1543 -dnl aclocal-1.4 backwards compatibility:
 25.1544 -dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
 25.1545 -
 25.1546 -
 25.1547 -# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 25.1548 -#                  [ACTION-SUCCESS], [ACTION-FAILURE])
 25.1549 -# ----------------------------------------------------
 25.1550 -# Check whether the given linker option works
 25.1551 -AC_DEFUN([_LT_LINKER_OPTION],
 25.1552 -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 25.1553 -m4_require([_LT_DECL_SED])dnl
 25.1554 -AC_CACHE_CHECK([$1], [$2],
 25.1555 -  [$2=no
 25.1556 -   save_LDFLAGS="$LDFLAGS"
 25.1557 -   LDFLAGS="$LDFLAGS $3"
 25.1558 -   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 25.1559 -   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 25.1560 -     # The linker can only warn and ignore the option if not recognized
 25.1561 -     # So say no if there are warnings
 25.1562 -     if test -s conftest.err; then
 25.1563 -       # Append any errors to the config.log.
 25.1564 -       cat conftest.err 1>&AS_MESSAGE_LOG_FD
 25.1565 -       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 25.1566 -       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 25.1567 -       if diff conftest.exp conftest.er2 >/dev/null; then
 25.1568 -         $2=yes
 25.1569 -       fi
 25.1570 -     else
 25.1571 -       $2=yes
 25.1572 -     fi
 25.1573 -   fi
 25.1574 -   $RM -r conftest*
 25.1575 -   LDFLAGS="$save_LDFLAGS"
 25.1576 -])
 25.1577 -
 25.1578 -if test x"[$]$2" = xyes; then
 25.1579 -    m4_if([$4], , :, [$4])
 25.1580 -else
 25.1581 -    m4_if([$5], , :, [$5])
 25.1582 -fi
 25.1583 -])# _LT_LINKER_OPTION
 25.1584 -
 25.1585 -# Old name:
 25.1586 -AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
 25.1587 -dnl aclocal-1.4 backwards compatibility:
 25.1588 -dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
 25.1589 -
 25.1590 -
 25.1591 -# LT_CMD_MAX_LEN
 25.1592 -#---------------
 25.1593 -AC_DEFUN([LT_CMD_MAX_LEN],
 25.1594 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 25.1595 -# find the maximum length of command line arguments
 25.1596 -AC_MSG_CHECKING([the maximum length of command line arguments])
 25.1597 -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
 25.1598 -  i=0
 25.1599 -  teststring="ABCD"
 25.1600 -
 25.1601 -  case $build_os in
 25.1602 -  msdosdjgpp*)
 25.1603 -    # On DJGPP, this test can blow up pretty badly due to problems in libc
 25.1604 -    # (any single argument exceeding 2000 bytes causes a buffer overrun
 25.1605 -    # during glob expansion).  Even if it were fixed, the result of this
 25.1606 -    # check would be larger than it should be.
 25.1607 -    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 25.1608 -    ;;
 25.1609 -
 25.1610 -  gnu*)
 25.1611 -    # Under GNU Hurd, this test is not required because there is
 25.1612 -    # no limit to the length of command line arguments.
 25.1613 -    # Libtool will interpret -1 as no limit whatsoever
 25.1614 -    lt_cv_sys_max_cmd_len=-1;
 25.1615 -    ;;
 25.1616 -
 25.1617 -  cygwin* | mingw* | cegcc*)
 25.1618 -    # On Win9x/ME, this test blows up -- it succeeds, but takes
 25.1619 -    # about 5 minutes as the teststring grows exponentially.
 25.1620 -    # Worse, since 9x/ME are not pre-emptively multitasking,
 25.1621 -    # you end up with a "frozen" computer, even though with patience
 25.1622 -    # the test eventually succeeds (with a max line length of 256k).
 25.1623 -    # Instead, let's just punt: use the minimum linelength reported by
 25.1624 -    # all of the supported platforms: 8192 (on NT/2K/XP).
 25.1625 -    lt_cv_sys_max_cmd_len=8192;
 25.1626 -    ;;
 25.1627 -
 25.1628 -  mint*)
 25.1629 -    # On MiNT this can take a long time and run out of memory.
 25.1630 -    lt_cv_sys_max_cmd_len=8192;
 25.1631 -    ;;
 25.1632 -
 25.1633 -  amigaos*)
 25.1634 -    # On AmigaOS with pdksh, this test takes hours, literally.
 25.1635 -    # So we just punt and use a minimum line length of 8192.
 25.1636 -    lt_cv_sys_max_cmd_len=8192;
 25.1637 -    ;;
 25.1638 -
 25.1639 -  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 25.1640 -    # This has been around since 386BSD, at least.  Likely further.
 25.1641 -    if test -x /sbin/sysctl; then
 25.1642 -      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 25.1643 -    elif test -x /usr/sbin/sysctl; then
 25.1644 -      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 25.1645 -    else
 25.1646 -      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 25.1647 -    fi
 25.1648 -    # And add a safety zone
 25.1649 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 25.1650 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 25.1651 -    ;;
 25.1652 -
 25.1653 -  interix*)
 25.1654 -    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 25.1655 -    lt_cv_sys_max_cmd_len=196608
 25.1656 -    ;;
 25.1657 -
 25.1658 -  os2*)
 25.1659 -    # The test takes a long time on OS/2.
 25.1660 -    lt_cv_sys_max_cmd_len=8192
 25.1661 -    ;;
 25.1662 -
 25.1663 -  osf*)
 25.1664 -    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 25.1665 -    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 25.1666 -    # nice to cause kernel panics so lets avoid the loop below.
 25.1667 -    # First set a reasonable default.
 25.1668 -    lt_cv_sys_max_cmd_len=16384
 25.1669 -    #
 25.1670 -    if test -x /sbin/sysconfig; then
 25.1671 -      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 25.1672 -        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 25.1673 -      esac
 25.1674 -    fi
 25.1675 -    ;;
 25.1676 -  sco3.2v5*)
 25.1677 -    lt_cv_sys_max_cmd_len=102400
 25.1678 -    ;;
 25.1679 -  sysv5* | sco5v6* | sysv4.2uw2*)
 25.1680 -    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 25.1681 -    if test -n "$kargmax"; then
 25.1682 -      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[	 ]]//'`
 25.1683 -    else
 25.1684 -      lt_cv_sys_max_cmd_len=32768
 25.1685 -    fi
 25.1686 -    ;;
 25.1687 -  *)
 25.1688 -    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 25.1689 -    if test -n "$lt_cv_sys_max_cmd_len"; then
 25.1690 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 25.1691 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 25.1692 -    else
 25.1693 -      # Make teststring a little bigger before we do anything with it.
 25.1694 -      # a 1K string should be a reasonable start.
 25.1695 -      for i in 1 2 3 4 5 6 7 8 ; do
 25.1696 -        teststring=$teststring$teststring
 25.1697 -      done
 25.1698 -      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 25.1699 -      # If test is not a shell built-in, we'll probably end up computing a
 25.1700 -      # maximum length that is only half of the actual maximum length, but
 25.1701 -      # we can't tell.
 25.1702 -      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 25.1703 -	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 25.1704 -	      test $i != 17 # 1/2 MB should be enough
 25.1705 -      do
 25.1706 -        i=`expr $i + 1`
 25.1707 -        teststring=$teststring$teststring
 25.1708 -      done
 25.1709 -      # Only check the string length outside the loop.
 25.1710 -      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 25.1711 -      teststring=
 25.1712 -      # Add a significant safety factor because C++ compilers can tack on
 25.1713 -      # massive amounts of additional arguments before passing them to the
 25.1714 -      # linker.  It appears as though 1/2 is a usable value.
 25.1715 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 25.1716 -    fi
 25.1717 -    ;;
 25.1718 -  esac
 25.1719 -])
 25.1720 -if test -n $lt_cv_sys_max_cmd_len ; then
 25.1721 -  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
 25.1722 -else
 25.1723 -  AC_MSG_RESULT(none)
 25.1724 -fi
 25.1725 -max_cmd_len=$lt_cv_sys_max_cmd_len
 25.1726 -_LT_DECL([], [max_cmd_len], [0],
 25.1727 -    [What is the maximum length of a command?])
 25.1728 -])# LT_CMD_MAX_LEN
 25.1729 -
 25.1730 -# Old name:
 25.1731 -AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
 25.1732 -dnl aclocal-1.4 backwards compatibility:
 25.1733 -dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
 25.1734 -
 25.1735 -
 25.1736 -# _LT_HEADER_DLFCN
 25.1737 -# ----------------
 25.1738 -m4_defun([_LT_HEADER_DLFCN],
 25.1739 -[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
 25.1740 -])# _LT_HEADER_DLFCN
 25.1741 -
 25.1742 -
 25.1743 -# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 25.1744 -#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 25.1745 -# ----------------------------------------------------------------
 25.1746 -m4_defun([_LT_TRY_DLOPEN_SELF],
 25.1747 -[m4_require([_LT_HEADER_DLFCN])dnl
 25.1748 -if test "$cross_compiling" = yes; then :
 25.1749 -  [$4]
 25.1750 -else
 25.1751 -  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 25.1752 -  lt_status=$lt_dlunknown
 25.1753 -  cat > conftest.$ac_ext <<_LT_EOF
 25.1754 -[#line $LINENO "configure"
 25.1755 -#include "confdefs.h"
 25.1756 -
 25.1757 -#if HAVE_DLFCN_H
 25.1758 -#include <dlfcn.h>
 25.1759 -#endif
 25.1760 -
 25.1761 -#include <stdio.h>
 25.1762 -
 25.1763 -#ifdef RTLD_GLOBAL
 25.1764 -#  define LT_DLGLOBAL		RTLD_GLOBAL
 25.1765 -#else
 25.1766 -#  ifdef DL_GLOBAL
 25.1767 -#    define LT_DLGLOBAL		DL_GLOBAL
 25.1768 -#  else
 25.1769 -#    define LT_DLGLOBAL		0
 25.1770 -#  endif
 25.1771 -#endif
 25.1772 -
 25.1773 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 25.1774 -   find out it does not work in some platform. */
 25.1775 -#ifndef LT_DLLAZY_OR_NOW
 25.1776 -#  ifdef RTLD_LAZY
 25.1777 -#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 25.1778 -#  else
 25.1779 -#    ifdef DL_LAZY
 25.1780 -#      define LT_DLLAZY_OR_NOW		DL_LAZY
 25.1781 -#    else
 25.1782 -#      ifdef RTLD_NOW
 25.1783 -#        define LT_DLLAZY_OR_NOW	RTLD_NOW
 25.1784 -#      else
 25.1785 -#        ifdef DL_NOW
 25.1786 -#          define LT_DLLAZY_OR_NOW	DL_NOW
 25.1787 -#        else
 25.1788 -#          define LT_DLLAZY_OR_NOW	0
 25.1789 -#        endif
 25.1790 -#      endif
 25.1791 -#    endif
 25.1792 -#  endif
 25.1793 -#endif
 25.1794 -
 25.1795 -/* When -fvisbility=hidden is used, assume the code has been annotated
 25.1796 -   correspondingly for the symbols needed.  */
 25.1797 -#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 25.1798 -int fnord () __attribute__((visibility("default")));
 25.1799 -#endif
 25.1800 -
 25.1801 -int fnord () { return 42; }
 25.1802 -int main ()
 25.1803 -{
 25.1804 -  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 25.1805 -  int status = $lt_dlunknown;
 25.1806 -
 25.1807 -  if (self)
 25.1808 -    {
 25.1809 -      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 25.1810 -      else
 25.1811 -        {
 25.1812 -	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 25.1813 -          else puts (dlerror ());
 25.1814 -	}
 25.1815 -      /* dlclose (self); */
 25.1816 -    }
 25.1817 -  else
 25.1818 -    puts (dlerror ());
 25.1819 -
 25.1820 -  return status;
 25.1821 -}]
 25.1822 -_LT_EOF
 25.1823 -  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
 25.1824 -    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
 25.1825 -    lt_status=$?
 25.1826 -    case x$lt_status in
 25.1827 -      x$lt_dlno_uscore) $1 ;;
 25.1828 -      x$lt_dlneed_uscore) $2 ;;
 25.1829 -      x$lt_dlunknown|x*) $3 ;;
 25.1830 -    esac
 25.1831 -  else :
 25.1832 -    # compilation failed
 25.1833 -    $3
 25.1834 -  fi
 25.1835 -fi
 25.1836 -rm -fr conftest*
 25.1837 -])# _LT_TRY_DLOPEN_SELF
 25.1838 -
 25.1839 -
 25.1840 -# LT_SYS_DLOPEN_SELF
 25.1841 -# ------------------
 25.1842 -AC_DEFUN([LT_SYS_DLOPEN_SELF],
 25.1843 -[m4_require([_LT_HEADER_DLFCN])dnl
 25.1844 -if test "x$enable_dlopen" != xyes; then
 25.1845 -  enable_dlopen=unknown
 25.1846 -  enable_dlopen_self=unknown
 25.1847 -  enable_dlopen_self_static=unknown
 25.1848 -else
 25.1849 -  lt_cv_dlopen=no
 25.1850 -  lt_cv_dlopen_libs=
 25.1851 -
 25.1852 -  case $host_os in
 25.1853 -  beos*)
 25.1854 -    lt_cv_dlopen="load_add_on"
 25.1855 -    lt_cv_dlopen_libs=
 25.1856 -    lt_cv_dlopen_self=yes
 25.1857 -    ;;
 25.1858 -
 25.1859 -  mingw* | pw32* | cegcc*)
 25.1860 -    lt_cv_dlopen="LoadLibrary"
 25.1861 -    lt_cv_dlopen_libs=
 25.1862 -    ;;
 25.1863 -
 25.1864 -  cygwin*)
 25.1865 -    lt_cv_dlopen="dlopen"
 25.1866 -    lt_cv_dlopen_libs=
 25.1867 -    ;;
 25.1868 -
 25.1869 -  darwin*)
 25.1870 -  # if libdl is installed we need to link against it
 25.1871 -    AC_CHECK_LIB([dl], [dlopen],
 25.1872 -		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
 25.1873 -    lt_cv_dlopen="dyld"
 25.1874 -    lt_cv_dlopen_libs=
 25.1875 -    lt_cv_dlopen_self=yes
 25.1876 -    ])
 25.1877 -    ;;
 25.1878 -
 25.1879 -  *)
 25.1880 -    AC_CHECK_FUNC([shl_load],
 25.1881 -	  [lt_cv_dlopen="shl_load"],
 25.1882 -      [AC_CHECK_LIB([dld], [shl_load],
 25.1883 -	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
 25.1884 -	[AC_CHECK_FUNC([dlopen],
 25.1885 -	      [lt_cv_dlopen="dlopen"],
 25.1886 -	  [AC_CHECK_LIB([dl], [dlopen],
 25.1887 -		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
 25.1888 -	    [AC_CHECK_LIB([svld], [dlopen],
 25.1889 -		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
 25.1890 -	      [AC_CHECK_LIB([dld], [dld_link],
 25.1891 -		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
 25.1892 -	      ])
 25.1893 -	    ])
 25.1894 -	  ])
 25.1895 -	])
 25.1896 -      ])
 25.1897 -    ;;
 25.1898 -  esac
 25.1899 -
 25.1900 -  if test "x$lt_cv_dlopen" != xno; then
 25.1901 -    enable_dlopen=yes
 25.1902 -  else
 25.1903 -    enable_dlopen=no
 25.1904 -  fi
 25.1905 -
 25.1906 -  case $lt_cv_dlopen in
 25.1907 -  dlopen)
 25.1908 -    save_CPPFLAGS="$CPPFLAGS"
 25.1909 -    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 25.1910 -
 25.1911 -    save_LDFLAGS="$LDFLAGS"
 25.1912 -    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 25.1913 -
 25.1914 -    save_LIBS="$LIBS"
 25.1915 -    LIBS="$lt_cv_dlopen_libs $LIBS"
 25.1916 -
 25.1917 -    AC_CACHE_CHECK([whether a program can dlopen itself],
 25.1918 -	  lt_cv_dlopen_self, [dnl
 25.1919 -	  _LT_TRY_DLOPEN_SELF(
 25.1920 -	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
 25.1921 -	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
 25.1922 -    ])
 25.1923 -
 25.1924 -    if test "x$lt_cv_dlopen_self" = xyes; then
 25.1925 -      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 25.1926 -      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
 25.1927 -	  lt_cv_dlopen_self_static, [dnl
 25.1928 -	  _LT_TRY_DLOPEN_SELF(
 25.1929 -	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
 25.1930 -	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
 25.1931 -      ])
 25.1932 -    fi
 25.1933 -
 25.1934 -    CPPFLAGS="$save_CPPFLAGS"
 25.1935 -    LDFLAGS="$save_LDFLAGS"
 25.1936 -    LIBS="$save_LIBS"
 25.1937 -    ;;
 25.1938 -  esac
 25.1939 -
 25.1940 -  case $lt_cv_dlopen_self in
 25.1941 -  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 25.1942 -  *) enable_dlopen_self=unknown ;;
 25.1943 -  esac
 25.1944 -
 25.1945 -  case $lt_cv_dlopen_self_static in
 25.1946 -  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 25.1947 -  *) enable_dlopen_self_static=unknown ;;
 25.1948 -  esac
 25.1949 -fi
 25.1950 -_LT_DECL([dlopen_support], [enable_dlopen], [0],
 25.1951 -	 [Whether dlopen is supported])
 25.1952 -_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
 25.1953 -	 [Whether dlopen of programs is supported])
 25.1954 -_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
 25.1955 -	 [Whether dlopen of statically linked programs is supported])
 25.1956 -])# LT_SYS_DLOPEN_SELF
 25.1957 -
 25.1958 -# Old name:
 25.1959 -AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
 25.1960 -dnl aclocal-1.4 backwards compatibility:
 25.1961 -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
 25.1962 -
 25.1963 -
 25.1964 -# _LT_COMPILER_C_O([TAGNAME])
 25.1965 -# ---------------------------
 25.1966 -# Check to see if options -c and -o are simultaneously supported by compiler.
 25.1967 -# This macro does not hard code the compiler like AC_PROG_CC_C_O.
 25.1968 -m4_defun([_LT_COMPILER_C_O],
 25.1969 -[m4_require([_LT_DECL_SED])dnl
 25.1970 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 25.1971 -m4_require([_LT_TAG_COMPILER])dnl
 25.1972 -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
 25.1973 -  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
 25.1974 -  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
 25.1975 -   $RM -r conftest 2>/dev/null
 25.1976 -   mkdir conftest
 25.1977 -   cd conftest
 25.1978 -   mkdir out
 25.1979 -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 25.1980 -
 25.1981 -   lt_compiler_flag="-o out/conftest2.$ac_objext"
 25.1982 -   # Insert the option either (1) after the last *FLAGS variable, or
 25.1983 -   # (2) before a word containing "conftest.", or (3) at the end.
 25.1984 -   # Note that $ac_compile itself does not contain backslashes and begins
 25.1985 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
 25.1986 -   lt_compile=`echo "$ac_compile" | $SED \
 25.1987 -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 25.1988 -   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 25.1989 -   -e 's:$: $lt_compiler_flag:'`
 25.1990 -   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 25.1991 -   (eval "$lt_compile" 2>out/conftest.err)
 25.1992 -   ac_status=$?
 25.1993 -   cat out/conftest.err >&AS_MESSAGE_LOG_FD
 25.1994 -   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 25.1995 -   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 25.1996 -   then
 25.1997 -     # The compiler can only warn and ignore the option if not recognized
 25.1998 -     # So say no if there are warnings
 25.1999 -     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 25.2000 -     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 25.2001 -     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 25.2002 -       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 25.2003 -     fi
 25.2004 -   fi
 25.2005 -   chmod u+w . 2>&AS_MESSAGE_LOG_FD
 25.2006 -   $RM conftest*
 25.2007 -   # SGI C++ compiler will create directory out/ii_files/ for
 25.2008 -   # template instantiation
 25.2009 -   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 25.2010 -   $RM out/* && rmdir out
 25.2011 -   cd ..
 25.2012 -   $RM -r conftest
 25.2013 -   $RM conftest*
 25.2014 -])
 25.2015 -_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
 25.2016 -	[Does compiler simultaneously support -c and -o options?])
 25.2017 -])# _LT_COMPILER_C_O
 25.2018 -
 25.2019 -
 25.2020 -# _LT_COMPILER_FILE_LOCKS([TAGNAME])
 25.2021 -# ----------------------------------
 25.2022 -# Check to see if we can do hard links to lock some files if needed
 25.2023 -m4_defun([_LT_COMPILER_FILE_LOCKS],
 25.2024 -[m4_require([_LT_ENABLE_LOCK])dnl
 25.2025 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 25.2026 -_LT_COMPILER_C_O([$1])
 25.2027 -
 25.2028 -hard_links="nottested"
 25.2029 -if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
 25.2030 -  # do not overwrite the value of need_locks provided by the user
 25.2031 -  AC_MSG_CHECKING([if we can lock with hard links])
 25.2032 -  hard_links=yes
 25.2033 -  $RM conftest*
 25.2034 -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 25.2035 -  touch conftest.a
 25.2036 -  ln conftest.a conftest.b 2>&5 || hard_links=no
 25.2037 -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 25.2038 -  AC_MSG_RESULT([$hard_links])
 25.2039 -  if test "$hard_links" = no; then
 25.2040 -    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
 25.2041 -    need_locks=warn
 25.2042 -  fi
 25.2043 -else
 25.2044 -  need_locks=no
 25.2045 -fi
 25.2046 -_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
 25.2047 -])# _LT_COMPILER_FILE_LOCKS
 25.2048 -
 25.2049 -
 25.2050 -# _LT_CHECK_OBJDIR
 25.2051 -# ----------------
 25.2052 -m4_defun([_LT_CHECK_OBJDIR],
 25.2053 -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
 25.2054 -[rm -f .libs 2>/dev/null
 25.2055 -mkdir .libs 2>/dev/null
 25.2056 -if test -d .libs; then
 25.2057 -  lt_cv_objdir=.libs
 25.2058 -else
 25.2059 -  # MS-DOS does not allow filenames that begin with a dot.
 25.2060 -  lt_cv_objdir=_libs
 25.2061 -fi
 25.2062 -rmdir .libs 2>/dev/null])
 25.2063 -objdir=$lt_cv_objdir
 25.2064 -_LT_DECL([], [objdir], [0],
 25.2065 -         [The name of the directory that contains temporary libtool files])dnl
 25.2066 -m4_pattern_allow([LT_OBJDIR])dnl
 25.2067 -AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
 25.2068 -  [Define to the sub-directory in which libtool stores uninstalled libraries.])
 25.2069 -])# _LT_CHECK_OBJDIR
 25.2070 -
 25.2071 -
 25.2072 -# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
 25.2073 -# --------------------------------------
 25.2074 -# Check hardcoding attributes.
 25.2075 -m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
 25.2076 -[AC_MSG_CHECKING([how to hardcode library paths into programs])
 25.2077 -_LT_TAGVAR(hardcode_action, $1)=
 25.2078 -if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
 25.2079 -   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
 25.2080 -   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
 25.2081 -
 25.2082 -  # We can hardcode non-existent directories.
 25.2083 -  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
 25.2084 -     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 25.2085 -     # have to relink, otherwise we might link with an installed library
 25.2086 -     # when we should be linking with a yet-to-be-installed one
 25.2087 -     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
 25.2088 -     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
 25.2089 -    # Linking always hardcodes the temporary library directory.
 25.2090 -    _LT_TAGVAR(hardcode_action, $1)=relink
 25.2091 -  else
 25.2092 -    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 25.2093 -    _LT_TAGVAR(hardcode_action, $1)=immediate
 25.2094 -  fi
 25.2095 -else
 25.2096 -  # We cannot hardcode anything, or else we can only hardcode existing
 25.2097 -  # directories.
 25.2098 -  _LT_TAGVAR(hardcode_action, $1)=unsupported
 25.2099 -fi
 25.2100 -AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
 25.2101 -
 25.2102 -if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
 25.2103 -   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
 25.2104 -  # Fast installation is not supported
 25.2105 -  enable_fast_install=no
 25.2106 -elif test "$shlibpath_overrides_runpath" = yes ||
 25.2107 -     test "$enable_shared" = no; then
 25.2108 -  # Fast installation is not necessary
 25.2109 -  enable_fast_install=needless
 25.2110 -fi
 25.2111 -_LT_TAGDECL([], [hardcode_action], [0],
 25.2112 -    [How to hardcode a shared library path into an executable])
 25.2113 -])# _LT_LINKER_HARDCODE_LIBPATH
 25.2114 -
 25.2115 -
 25.2116 -# _LT_CMD_STRIPLIB
 25.2117 -# ----------------
 25.2118 -m4_defun([_LT_CMD_STRIPLIB],
 25.2119 -[m4_require([_LT_DECL_EGREP])
 25.2120 -striplib=
 25.2121 -old_striplib=
 25.2122 -AC_MSG_CHECKING([whether stripping libraries is possible])
 25.2123 -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 25.2124 -  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 25.2125 -  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 25.2126 -  AC_MSG_RESULT([yes])
 25.2127 -else
 25.2128 -# FIXME - insert some real tests, host_os isn't really good enough
 25.2129 -  case $host_os in
 25.2130 -  darwin*)
 25.2131 -    if test -n "$STRIP" ; then
 25.2132 -      striplib="$STRIP -x"
 25.2133 -      old_striplib="$STRIP -S"
 25.2134 -      AC_MSG_RESULT([yes])
 25.2135 -    else
 25.2136 -      AC_MSG_RESULT([no])
 25.2137 -    fi
 25.2138 -    ;;
 25.2139 -  *)
 25.2140 -    AC_MSG_RESULT([no])
 25.2141 -    ;;
 25.2142 -  esac
 25.2143 -fi
 25.2144 -_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
 25.2145 -_LT_DECL([], [striplib], [1])
 25.2146 -])# _LT_CMD_STRIPLIB
 25.2147 -
 25.2148 -
 25.2149 -# _LT_SYS_DYNAMIC_LINKER([TAG])
 25.2150 -# -----------------------------
 25.2151 -# PORTME Fill in your ld.so characteristics
 25.2152 -m4_defun([_LT_SYS_DYNAMIC_LINKER],
 25.2153 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 25.2154 -m4_require([_LT_DECL_EGREP])dnl
 25.2155 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 25.2156 -m4_require([_LT_DECL_OBJDUMP])dnl
 25.2157 -m4_require([_LT_DECL_SED])dnl
 25.2158 -m4_require([_LT_CHECK_SHELL_FEATURES])dnl
 25.2159 -AC_MSG_CHECKING([dynamic linker characteristics])
 25.2160 -m4_if([$1],
 25.2161 -	[], [
 25.2162 -if test "$GCC" = yes; then
 25.2163 -  case $host_os in
 25.2164 -    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 25.2165 -    *) lt_awk_arg="/^libraries:/" ;;
 25.2166 -  esac
 25.2167 -  case $host_os in
 25.2168 -    mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
 25.2169 -    *) lt_sed_strip_eq="s,=/,/,g" ;;
 25.2170 -  esac
 25.2171 -  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 25.2172 -  case $lt_search_path_spec in
 25.2173 -  *\;*)
 25.2174 -    # if the path contains ";" then we assume it to be the separator
 25.2175 -    # otherwise default to the standard path separator (i.e. ":") - it is
 25.2176 -    # assumed that no part of a normal pathname contains ";" but that should
 25.2177 -    # okay in the real world where ";" in dirpaths is itself problematic.
 25.2178 -    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 25.2179 -    ;;
 25.2180 -  *)
 25.2181 -    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 25.2182 -    ;;
 25.2183 -  esac
 25.2184 -  # Ok, now we have the path, separated by spaces, we can step through it
 25.2185 -  # and add multilib dir if necessary.
 25.2186 -  lt_tmp_lt_search_path_spec=
 25.2187 -  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 25.2188 -  for lt_sys_path in $lt_search_path_spec; do
 25.2189 -    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 25.2190 -      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 25.2191 -    else
 25.2192 -      test -d "$lt_sys_path" && \
 25.2193 -	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 25.2194 -    fi
 25.2195 -  done
 25.2196 -  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 25.2197 -BEGIN {RS=" "; FS="/|\n";} {
 25.2198 -  lt_foo="";
 25.2199 -  lt_count=0;
 25.2200 -  for (lt_i = NF; lt_i > 0; lt_i--) {
 25.2201 -    if ($lt_i != "" && $lt_i != ".") {
 25.2202 -      if ($lt_i == "..") {
 25.2203 -        lt_count++;
 25.2204 -      } else {
 25.2205 -        if (lt_count == 0) {
 25.2206 -          lt_foo="/" $lt_i lt_foo;
 25.2207 -        } else {
 25.2208 -          lt_count--;
 25.2209 -        }
 25.2210 -      }
 25.2211 -    }
 25.2212 -  }
 25.2213 -  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
 25.2214 -  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
 25.2215 -}'`
 25.2216 -  # AWK program above erroneously prepends '/' to C:/dos/paths
 25.2217 -  # for these hosts.
 25.2218 -  case $host_os in
 25.2219 -    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 25.2220 -      $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
 25.2221 -  esac
 25.2222 -  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 25.2223 -else
 25.2224 -  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 25.2225 -fi])
 25.2226 -library_names_spec=
 25.2227 -libname_spec='lib$name'
 25.2228 -soname_spec=
 25.2229 -shrext_cmds=".so"
 25.2230 -postinstall_cmds=
 25.2231 -postuninstall_cmds=
 25.2232 -finish_cmds=
 25.2233 -finish_eval=
 25.2234 -shlibpath_var=
 25.2235 -shlibpath_overrides_runpath=unknown
 25.2236 -version_type=none
 25.2237 -dynamic_linker="$host_os ld.so"
 25.2238 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
 25.2239 -need_lib_prefix=unknown
 25.2240 -hardcode_into_libs=no
 25.2241 -
 25.2242 -# when you set need_version to no, make sure it does not cause -set_version
 25.2243 -# flags to be left without arguments
 25.2244 -need_version=unknown
 25.2245 -
 25.2246 -case $host_os in
 25.2247 -aix3*)
 25.2248 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2249 -  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 25.2250 -  shlibpath_var=LIBPATH
 25.2251 -
 25.2252 -  # AIX 3 has no versioning support, so we append a major version to the name.
 25.2253 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2254 -  ;;
 25.2255 -
 25.2256 -aix[[4-9]]*)
 25.2257 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2258 -  need_lib_prefix=no
 25.2259 -  need_version=no
 25.2260 -  hardcode_into_libs=yes
 25.2261 -  if test "$host_cpu" = ia64; then
 25.2262 -    # AIX 5 supports IA64
 25.2263 -    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 25.2264 -    shlibpath_var=LD_LIBRARY_PATH
 25.2265 -  else
 25.2266 -    # With GCC up to 2.95.x, collect2 would create an import file
 25.2267 -    # for dependence libraries.  The import file would start with
 25.2268 -    # the line `#! .'.  This would cause the generated library to
 25.2269 -    # depend on `.', always an invalid library.  This was fixed in
 25.2270 -    # development snapshots of GCC prior to 3.0.
 25.2271 -    case $host_os in
 25.2272 -      aix4 | aix4.[[01]] | aix4.[[01]].*)
 25.2273 -      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 25.2274 -	   echo ' yes '
 25.2275 -	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 25.2276 -	:
 25.2277 -      else
 25.2278 -	can_build_shared=no
 25.2279 -      fi
 25.2280 -      ;;
 25.2281 -    esac
 25.2282 -    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 25.2283 -    # soname into executable. Probably we can add versioning support to
 25.2284 -    # collect2, so additional links can be useful in future.
 25.2285 -    if test "$aix_use_runtimelinking" = yes; then
 25.2286 -      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 25.2287 -      # instead of lib<name>.a to let people know that these are not
 25.2288 -      # typical AIX shared libraries.
 25.2289 -      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2290 -    else
 25.2291 -      # We preserve .a as extension for shared libraries through AIX4.2
 25.2292 -      # and later when we are not doing run time linking.
 25.2293 -      library_names_spec='${libname}${release}.a $libname.a'
 25.2294 -      soname_spec='${libname}${release}${shared_ext}$major'
 25.2295 -    fi
 25.2296 -    shlibpath_var=LIBPATH
 25.2297 -  fi
 25.2298 -  ;;
 25.2299 -
 25.2300 -amigaos*)
 25.2301 -  case $host_cpu in
 25.2302 -  powerpc)
 25.2303 -    # Since July 2007 AmigaOS4 officially supports .so libraries.
 25.2304 -    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 25.2305 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2306 -    ;;
 25.2307 -  m68k)
 25.2308 -    library_names_spec='$libname.ixlibrary $libname.a'
 25.2309 -    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 25.2310 -    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 25.2311 -    ;;
 25.2312 -  esac
 25.2313 -  ;;
 25.2314 -
 25.2315 -beos*)
 25.2316 -  library_names_spec='${libname}${shared_ext}'
 25.2317 -  dynamic_linker="$host_os ld.so"
 25.2318 -  shlibpath_var=LIBRARY_PATH
 25.2319 -  ;;
 25.2320 -
 25.2321 -bsdi[[45]]*)
 25.2322 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2323 -  need_version=no
 25.2324 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2325 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2326 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 25.2327 -  shlibpath_var=LD_LIBRARY_PATH
 25.2328 -  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 25.2329 -  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 25.2330 -  # the default ld.so.conf also contains /usr/contrib/lib and
 25.2331 -  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 25.2332 -  # libtool to hard-code these into programs
 25.2333 -  ;;
 25.2334 -
 25.2335 -cygwin* | mingw* | pw32* | cegcc*)
 25.2336 -  version_type=windows
 25.2337 -  shrext_cmds=".dll"
 25.2338 -  need_version=no
 25.2339 -  need_lib_prefix=no
 25.2340 -
 25.2341 -  case $GCC,$cc_basename in
 25.2342 -  yes,*)
 25.2343 -    # gcc
 25.2344 -    library_names_spec='$libname.dll.a'
 25.2345 -    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 25.2346 -    postinstall_cmds='base_file=`basename \${file}`~
 25.2347 -      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 25.2348 -      dldir=$destdir/`dirname \$dlpath`~
 25.2349 -      test -d \$dldir || mkdir -p \$dldir~
 25.2350 -      $install_prog $dir/$dlname \$dldir/$dlname~
 25.2351 -      chmod a+x \$dldir/$dlname~
 25.2352 -      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 25.2353 -        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 25.2354 -      fi'
 25.2355 -    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 25.2356 -      dlpath=$dir/\$dldll~
 25.2357 -       $RM \$dlpath'
 25.2358 -    shlibpath_overrides_runpath=yes
 25.2359 -
 25.2360 -    case $host_os in
 25.2361 -    cygwin*)
 25.2362 -      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 25.2363 -      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 25.2364 -m4_if([$1], [],[
 25.2365 -      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
 25.2366 -      ;;
 25.2367 -    mingw* | cegcc*)
 25.2368 -      # MinGW DLLs use traditional 'lib' prefix
 25.2369 -      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 25.2370 -      ;;
 25.2371 -    pw32*)
 25.2372 -      # pw32 DLLs use 'pw' prefix rather than 'lib'
 25.2373 -      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 25.2374 -      ;;
 25.2375 -    esac
 25.2376 -    dynamic_linker='Win32 ld.exe'
 25.2377 -    ;;
 25.2378 -
 25.2379 -  *,cl*)
 25.2380 -    # Native MSVC
 25.2381 -    libname_spec='$name'
 25.2382 -    soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 25.2383 -    library_names_spec='${libname}.dll.lib'
 25.2384 -
 25.2385 -    case $build_os in
 25.2386 -    mingw*)
 25.2387 -      sys_lib_search_path_spec=
 25.2388 -      lt_save_ifs=$IFS
 25.2389 -      IFS=';'
 25.2390 -      for lt_path in $LIB
 25.2391 -      do
 25.2392 -        IFS=$lt_save_ifs
 25.2393 -        # Let DOS variable expansion print the short 8.3 style file name.
 25.2394 -        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 25.2395 -        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 25.2396 -      done
 25.2397 -      IFS=$lt_save_ifs
 25.2398 -      # Convert to MSYS style.
 25.2399 -      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
 25.2400 -      ;;
 25.2401 -    cygwin*)
 25.2402 -      # Convert to unix form, then to dos form, then back to unix form
 25.2403 -      # but this time dos style (no spaces!) so that the unix form looks
 25.2404 -      # like /cygdrive/c/PROGRA~1:/cygdr...
 25.2405 -      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 25.2406 -      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 25.2407 -      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 25.2408 -      ;;
 25.2409 -    *)
 25.2410 -      sys_lib_search_path_spec="$LIB"
 25.2411 -      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
 25.2412 -        # It is most probably a Windows format PATH.
 25.2413 -        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 25.2414 -      else
 25.2415 -        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 25.2416 -      fi
 25.2417 -      # FIXME: find the short name or the path components, as spaces are
 25.2418 -      # common. (e.g. "Program Files" -> "PROGRA~1")
 25.2419 -      ;;
 25.2420 -    esac
 25.2421 -
 25.2422 -    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 25.2423 -    postinstall_cmds='base_file=`basename \${file}`~
 25.2424 -      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 25.2425 -      dldir=$destdir/`dirname \$dlpath`~
 25.2426 -      test -d \$dldir || mkdir -p \$dldir~
 25.2427 -      $install_prog $dir/$dlname \$dldir/$dlname'
 25.2428 -    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 25.2429 -      dlpath=$dir/\$dldll~
 25.2430 -       $RM \$dlpath'
 25.2431 -    shlibpath_overrides_runpath=yes
 25.2432 -    dynamic_linker='Win32 link.exe'
 25.2433 -    ;;
 25.2434 -
 25.2435 -  *)
 25.2436 -    # Assume MSVC wrapper
 25.2437 -    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
 25.2438 -    dynamic_linker='Win32 ld.exe'
 25.2439 -    ;;
 25.2440 -  esac
 25.2441 -  # FIXME: first we should search . and the directory the executable is in
 25.2442 -  shlibpath_var=PATH
 25.2443 -  ;;
 25.2444 -
 25.2445 -darwin* | rhapsody*)
 25.2446 -  dynamic_linker="$host_os dyld"
 25.2447 -  version_type=darwin
 25.2448 -  need_lib_prefix=no
 25.2449 -  need_version=no
 25.2450 -  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 25.2451 -  soname_spec='${libname}${release}${major}$shared_ext'
 25.2452 -  shlibpath_overrides_runpath=yes
 25.2453 -  shlibpath_var=DYLD_LIBRARY_PATH
 25.2454 -  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 25.2455 -m4_if([$1], [],[
 25.2456 -  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
 25.2457 -  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 25.2458 -  ;;
 25.2459 -
 25.2460 -dgux*)
 25.2461 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2462 -  need_lib_prefix=no
 25.2463 -  need_version=no
 25.2464 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 25.2465 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2466 -  shlibpath_var=LD_LIBRARY_PATH
 25.2467 -  ;;
 25.2468 -
 25.2469 -freebsd* | dragonfly*)
 25.2470 -  # DragonFly does not have aout.  When/if they implement a new
 25.2471 -  # versioning mechanism, adjust this.
 25.2472 -  if test -x /usr/bin/objformat; then
 25.2473 -    objformat=`/usr/bin/objformat`
 25.2474 -  else
 25.2475 -    case $host_os in
 25.2476 -    freebsd[[23]].*) objformat=aout ;;
 25.2477 -    *) objformat=elf ;;
 25.2478 -    esac
 25.2479 -  fi
 25.2480 -  version_type=freebsd-$objformat
 25.2481 -  case $version_type in
 25.2482 -    freebsd-elf*)
 25.2483 -      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 25.2484 -      need_version=no
 25.2485 -      need_lib_prefix=no
 25.2486 -      ;;
 25.2487 -    freebsd-*)
 25.2488 -      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 25.2489 -      need_version=yes
 25.2490 -      ;;
 25.2491 -  esac
 25.2492 -  shlibpath_var=LD_LIBRARY_PATH
 25.2493 -  case $host_os in
 25.2494 -  freebsd2.*)
 25.2495 -    shlibpath_overrides_runpath=yes
 25.2496 -    ;;
 25.2497 -  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
 25.2498 -    shlibpath_overrides_runpath=yes
 25.2499 -    hardcode_into_libs=yes
 25.2500 -    ;;
 25.2501 -  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
 25.2502 -  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
 25.2503 -    shlibpath_overrides_runpath=no
 25.2504 -    hardcode_into_libs=yes
 25.2505 -    ;;
 25.2506 -  *) # from 4.6 on, and DragonFly
 25.2507 -    shlibpath_overrides_runpath=yes
 25.2508 -    hardcode_into_libs=yes
 25.2509 -    ;;
 25.2510 -  esac
 25.2511 -  ;;
 25.2512 -
 25.2513 -gnu*)
 25.2514 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2515 -  need_lib_prefix=no
 25.2516 -  need_version=no
 25.2517 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 25.2518 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2519 -  shlibpath_var=LD_LIBRARY_PATH
 25.2520 -  shlibpath_overrides_runpath=no
 25.2521 -  hardcode_into_libs=yes
 25.2522 -  ;;
 25.2523 -
 25.2524 -haiku*)
 25.2525 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2526 -  need_lib_prefix=no
 25.2527 -  need_version=no
 25.2528 -  dynamic_linker="$host_os runtime_loader"
 25.2529 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 25.2530 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2531 -  shlibpath_var=LIBRARY_PATH
 25.2532 -  shlibpath_overrides_runpath=yes
 25.2533 -  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 25.2534 -  hardcode_into_libs=yes
 25.2535 -  ;;
 25.2536 -
 25.2537 -hpux9* | hpux10* | hpux11*)
 25.2538 -  # Give a soname corresponding to the major version so that dld.sl refuses to
 25.2539 -  # link against other versions.
 25.2540 -  version_type=sunos
 25.2541 -  need_lib_prefix=no
 25.2542 -  need_version=no
 25.2543 -  case $host_cpu in
 25.2544 -  ia64*)
 25.2545 -    shrext_cmds='.so'
 25.2546 -    hardcode_into_libs=yes
 25.2547 -    dynamic_linker="$host_os dld.so"
 25.2548 -    shlibpath_var=LD_LIBRARY_PATH
 25.2549 -    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 25.2550 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2551 -    soname_spec='${libname}${release}${shared_ext}$major'
 25.2552 -    if test "X$HPUX_IA64_MODE" = X32; then
 25.2553 -      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 25.2554 -    else
 25.2555 -      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 25.2556 -    fi
 25.2557 -    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 25.2558 -    ;;
 25.2559 -  hppa*64*)
 25.2560 -    shrext_cmds='.sl'
 25.2561 -    hardcode_into_libs=yes
 25.2562 -    dynamic_linker="$host_os dld.sl"
 25.2563 -    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 25.2564 -    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 25.2565 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2566 -    soname_spec='${libname}${release}${shared_ext}$major'
 25.2567 -    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 25.2568 -    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 25.2569 -    ;;
 25.2570 -  *)
 25.2571 -    shrext_cmds='.sl'
 25.2572 -    dynamic_linker="$host_os dld.sl"
 25.2573 -    shlibpath_var=SHLIB_PATH
 25.2574 -    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 25.2575 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2576 -    soname_spec='${libname}${release}${shared_ext}$major'
 25.2577 -    ;;
 25.2578 -  esac
 25.2579 -  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 25.2580 -  postinstall_cmds='chmod 555 $lib'
 25.2581 -  # or fails outright, so override atomically:
 25.2582 -  install_override_mode=555
 25.2583 -  ;;
 25.2584 -
 25.2585 -interix[[3-9]]*)
 25.2586 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2587 -  need_lib_prefix=no
 25.2588 -  need_version=no
 25.2589 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 25.2590 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2591 -  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 25.2592 -  shlibpath_var=LD_LIBRARY_PATH
 25.2593 -  shlibpath_overrides_runpath=no
 25.2594 -  hardcode_into_libs=yes
 25.2595 -  ;;
 25.2596 -
 25.2597 -irix5* | irix6* | nonstopux*)
 25.2598 -  case $host_os in
 25.2599 -    nonstopux*) version_type=nonstopux ;;
 25.2600 -    *)
 25.2601 -	if test "$lt_cv_prog_gnu_ld" = yes; then
 25.2602 -		version_type=linux # correct to gnu/linux during the next big refactor
 25.2603 -	else
 25.2604 -		version_type=irix
 25.2605 -	fi ;;
 25.2606 -  esac
 25.2607 -  need_lib_prefix=no
 25.2608 -  need_version=no
 25.2609 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2610 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 25.2611 -  case $host_os in
 25.2612 -  irix5* | nonstopux*)
 25.2613 -    libsuff= shlibsuff=
 25.2614 -    ;;
 25.2615 -  *)
 25.2616 -    case $LD in # libtool.m4 will add one of these switches to LD
 25.2617 -    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 25.2618 -      libsuff= shlibsuff= libmagic=32-bit;;
 25.2619 -    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 25.2620 -      libsuff=32 shlibsuff=N32 libmagic=N32;;
 25.2621 -    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 25.2622 -      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 25.2623 -    *) libsuff= shlibsuff= libmagic=never-match;;
 25.2624 -    esac
 25.2625 -    ;;
 25.2626 -  esac
 25.2627 -  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 25.2628 -  shlibpath_overrides_runpath=no
 25.2629 -  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 25.2630 -  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 25.2631 -  hardcode_into_libs=yes
 25.2632 -  ;;
 25.2633 -
 25.2634 -# No shared lib support for Linux oldld, aout, or coff.
 25.2635 -linux*oldld* | linux*aout* | linux*coff*)
 25.2636 -  dynamic_linker=no
 25.2637 -  ;;
 25.2638 -
 25.2639 -# This must be glibc/ELF.
 25.2640 -linux* | k*bsd*-gnu | kopensolaris*-gnu)
 25.2641 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2642 -  need_lib_prefix=no
 25.2643 -  need_version=no
 25.2644 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2645 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2646 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 25.2647 -  shlibpath_var=LD_LIBRARY_PATH
 25.2648 -  shlibpath_overrides_runpath=no
 25.2649 -
 25.2650 -  # Some binutils ld are patched to set DT_RUNPATH
 25.2651 -  AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
 25.2652 -    [lt_cv_shlibpath_overrides_runpath=no
 25.2653 -    save_LDFLAGS=$LDFLAGS
 25.2654 -    save_libdir=$libdir
 25.2655 -    eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
 25.2656 -	 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
 25.2657 -    AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 25.2658 -      [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
 25.2659 -	 [lt_cv_shlibpath_overrides_runpath=yes])])
 25.2660 -    LDFLAGS=$save_LDFLAGS
 25.2661 -    libdir=$save_libdir
 25.2662 -    ])
 25.2663 -  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 25.2664 -
 25.2665 -  # This implies no fast_install, which is unacceptable.
 25.2666 -  # Some rework will be needed to allow for fast_install
 25.2667 -  # before this can be enabled.
 25.2668 -  hardcode_into_libs=yes
 25.2669 -
 25.2670 -  # Append ld.so.conf contents to the search path
 25.2671 -  if test -f /etc/ld.so.conf; then
 25.2672 -    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 25.2673 -    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 25.2674 -  fi
 25.2675 -
 25.2676 -  # We used to test for /lib/ld.so.1 and disable shared libraries on
 25.2677 -  # powerpc, because MkLinux only supported shared libraries with the
 25.2678 -  # GNU dynamic linker.  Since this was broken with cross compilers,
 25.2679 -  # most powerpc-linux boxes support dynamic linking these days and
 25.2680 -  # people can always --disable-shared, the test was removed, and we
 25.2681 -  # assume the GNU/Linux dynamic linker is in use.
 25.2682 -  dynamic_linker='GNU/Linux ld.so'
 25.2683 -  ;;
 25.2684 -
 25.2685 -netbsd*)
 25.2686 -  version_type=sunos
 25.2687 -  need_lib_prefix=no
 25.2688 -  need_version=no
 25.2689 -  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 25.2690 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 25.2691 -    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 25.2692 -    dynamic_linker='NetBSD (a.out) ld.so'
 25.2693 -  else
 25.2694 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 25.2695 -    soname_spec='${libname}${release}${shared_ext}$major'
 25.2696 -    dynamic_linker='NetBSD ld.elf_so'
 25.2697 -  fi
 25.2698 -  shlibpath_var=LD_LIBRARY_PATH
 25.2699 -  shlibpath_overrides_runpath=yes
 25.2700 -  hardcode_into_libs=yes
 25.2701 -  ;;
 25.2702 -
 25.2703 -newsos6)
 25.2704 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2705 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2706 -  shlibpath_var=LD_LIBRARY_PATH
 25.2707 -  shlibpath_overrides_runpath=yes
 25.2708 -  ;;
 25.2709 -
 25.2710 -*nto* | *qnx*)
 25.2711 -  version_type=qnx
 25.2712 -  need_lib_prefix=no
 25.2713 -  need_version=no
 25.2714 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2715 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2716 -  shlibpath_var=LD_LIBRARY_PATH
 25.2717 -  shlibpath_overrides_runpath=no
 25.2718 -  hardcode_into_libs=yes
 25.2719 -  dynamic_linker='ldqnx.so'
 25.2720 -  ;;
 25.2721 -
 25.2722 -openbsd*)
 25.2723 -  version_type=sunos
 25.2724 -  sys_lib_dlsearch_path_spec="/usr/lib"
 25.2725 -  need_lib_prefix=no
 25.2726 -  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 25.2727 -  case $host_os in
 25.2728 -    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
 25.2729 -    *)				need_version=no  ;;
 25.2730 -  esac
 25.2731 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 25.2732 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 25.2733 -  shlibpath_var=LD_LIBRARY_PATH
 25.2734 -  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 25.2735 -    case $host_os in
 25.2736 -      openbsd2.[[89]] | openbsd2.[[89]].*)
 25.2737 -	shlibpath_overrides_runpath=no
 25.2738 -	;;
 25.2739 -      *)
 25.2740 -	shlibpath_overrides_runpath=yes
 25.2741 -	;;
 25.2742 -      esac
 25.2743 -  else
 25.2744 -    shlibpath_overrides_runpath=yes
 25.2745 -  fi
 25.2746 -  ;;
 25.2747 -
 25.2748 -os2*)
 25.2749 -  libname_spec='$name'
 25.2750 -  shrext_cmds=".dll"
 25.2751 -  need_lib_prefix=no
 25.2752 -  library_names_spec='$libname${shared_ext} $libname.a'
 25.2753 -  dynamic_linker='OS/2 ld.exe'
 25.2754 -  shlibpath_var=LIBPATH
 25.2755 -  ;;
 25.2756 -
 25.2757 -osf3* | osf4* | osf5*)
 25.2758 -  version_type=osf
 25.2759 -  need_lib_prefix=no
 25.2760 -  need_version=no
 25.2761 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2762 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2763 -  shlibpath_var=LD_LIBRARY_PATH
 25.2764 -  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 25.2765 -  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 25.2766 -  ;;
 25.2767 -
 25.2768 -rdos*)
 25.2769 -  dynamic_linker=no
 25.2770 -  ;;
 25.2771 -
 25.2772 -solaris*)
 25.2773 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2774 -  need_lib_prefix=no
 25.2775 -  need_version=no
 25.2776 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2777 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2778 -  shlibpath_var=LD_LIBRARY_PATH
 25.2779 -  shlibpath_overrides_runpath=yes
 25.2780 -  hardcode_into_libs=yes
 25.2781 -  # ldd complains unless libraries are executable
 25.2782 -  postinstall_cmds='chmod +x $lib'
 25.2783 -  ;;
 25.2784 -
 25.2785 -sunos4*)
 25.2786 -  version_type=sunos
 25.2787 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 25.2788 -  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 25.2789 -  shlibpath_var=LD_LIBRARY_PATH
 25.2790 -  shlibpath_overrides_runpath=yes
 25.2791 -  if test "$with_gnu_ld" = yes; then
 25.2792 -    need_lib_prefix=no
 25.2793 -  fi
 25.2794 -  need_version=yes
 25.2795 -  ;;
 25.2796 -
 25.2797 -sysv4 | sysv4.3*)
 25.2798 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2799 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2800 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2801 -  shlibpath_var=LD_LIBRARY_PATH
 25.2802 -  case $host_vendor in
 25.2803 -    sni)
 25.2804 -      shlibpath_overrides_runpath=no
 25.2805 -      need_lib_prefix=no
 25.2806 -      runpath_var=LD_RUN_PATH
 25.2807 -      ;;
 25.2808 -    siemens)
 25.2809 -      need_lib_prefix=no
 25.2810 -      ;;
 25.2811 -    motorola)
 25.2812 -      need_lib_prefix=no
 25.2813 -      need_version=no
 25.2814 -      shlibpath_overrides_runpath=no
 25.2815 -      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 25.2816 -      ;;
 25.2817 -  esac
 25.2818 -  ;;
 25.2819 -
 25.2820 -sysv4*MP*)
 25.2821 -  if test -d /usr/nec ;then
 25.2822 -    version_type=linux # correct to gnu/linux during the next big refactor
 25.2823 -    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 25.2824 -    soname_spec='$libname${shared_ext}.$major'
 25.2825 -    shlibpath_var=LD_LIBRARY_PATH
 25.2826 -  fi
 25.2827 -  ;;
 25.2828 -
 25.2829 -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 25.2830 -  version_type=freebsd-elf
 25.2831 -  need_lib_prefix=no
 25.2832 -  need_version=no
 25.2833 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 25.2834 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2835 -  shlibpath_var=LD_LIBRARY_PATH
 25.2836 -  shlibpath_overrides_runpath=yes
 25.2837 -  hardcode_into_libs=yes
 25.2838 -  if test "$with_gnu_ld" = yes; then
 25.2839 -    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 25.2840 -  else
 25.2841 -    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 25.2842 -    case $host_os in
 25.2843 -      sco3.2v5*)
 25.2844 -        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 25.2845 -	;;
 25.2846 -    esac
 25.2847 -  fi
 25.2848 -  sys_lib_dlsearch_path_spec='/usr/lib'
 25.2849 -  ;;
 25.2850 -
 25.2851 -tpf*)
 25.2852 -  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 25.2853 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2854 -  need_lib_prefix=no
 25.2855 -  need_version=no
 25.2856 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2857 -  shlibpath_var=LD_LIBRARY_PATH
 25.2858 -  shlibpath_overrides_runpath=no
 25.2859 -  hardcode_into_libs=yes
 25.2860 -  ;;
 25.2861 -
 25.2862 -uts4*)
 25.2863 -  version_type=linux # correct to gnu/linux during the next big refactor
 25.2864 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 25.2865 -  soname_spec='${libname}${release}${shared_ext}$major'
 25.2866 -  shlibpath_var=LD_LIBRARY_PATH
 25.2867 -  ;;
 25.2868 -
 25.2869 -*)
 25.2870 -  dynamic_linker=no
 25.2871 -  ;;
 25.2872 -esac
 25.2873 -AC_MSG_RESULT([$dynamic_linker])
 25.2874 -test "$dynamic_linker" = no && can_build_shared=no
 25.2875 -
 25.2876 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 25.2877 -if test "$GCC" = yes; then
 25.2878 -  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 25.2879 -fi
 25.2880 -
 25.2881 -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 25.2882 -  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 25.2883 -fi
 25.2884 -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 25.2885 -  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 25.2886 -fi
 25.2887 -
 25.2888 -_LT_DECL([], [variables_saved_for_relink], [1],
 25.2889 -    [Variables whose values should be saved in libtool wrapper scripts and
 25.2890 -    restored at link time])
 25.2891 -_LT_DECL([], [need_lib_prefix], [0],
 25.2892 -    [Do we need the "lib" prefix for modules?])
 25.2893 -_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
 25.2894 -_LT_DECL([], [version_type], [0], [Library versioning type])
 25.2895 -_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
 25.2896 -_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
 25.2897 -_LT_DECL([], [shlibpath_overrides_runpath], [0],
 25.2898 -    [Is shlibpath searched before the hard-coded library search path?])
 25.2899 -_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
 25.2900 -_LT_DECL([], [library_names_spec], [1],
 25.2901 -    [[List of archive names.  First name is the real one, the rest are links.
 25.2902 -    The last name is the one that the linker finds with -lNAME]])
 25.2903 -_LT_DECL([], [soname_spec], [1],
 25.2904 -    [[The coded name of the library, if different from the real name]])
 25.2905 -_LT_DECL([], [install_override_mode], [1],
 25.2906 -    [Permission mode override for installation of shared libraries])
 25.2907 -_LT_DECL([], [postinstall_cmds], [2],
 25.2908 -    [Command to use after installation of a shared archive])
 25.2909 -_LT_DECL([], [postuninstall_cmds], [2],
 25.2910 -    [Command to use after uninstallation of a shared archive])
 25.2911 -_LT_DECL([], [finish_cmds], [2],
 25.2912 -    [Commands used to finish a libtool library installation in a directory])
 25.2913 -_LT_DECL([], [finish_eval], [1],
 25.2914 -    [[As "finish_cmds", except a single script fragment to be evaled but
 25.2915 -    not shown]])
 25.2916 -_LT_DECL([], [hardcode_into_libs], [0],
 25.2917 -    [Whether we should hardcode library paths into libraries])
 25.2918 -_LT_DECL([], [sys_lib_search_path_spec], [2],
 25.2919 -    [Compile-time system search path for libraries])
 25.2920 -_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
 25.2921 -    [Run-time system search path for libraries])
 25.2922 -])# _LT_SYS_DYNAMIC_LINKER
 25.2923 -
 25.2924 -
 25.2925 -# _LT_PATH_TOOL_PREFIX(TOOL)
 25.2926 -# --------------------------
 25.2927 -# find a file program which can recognize shared library
 25.2928 -AC_DEFUN([_LT_PATH_TOOL_PREFIX],
 25.2929 -[m4_require([_LT_DECL_EGREP])dnl
 25.2930 -AC_MSG_CHECKING([for $1])
 25.2931 -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
 25.2932 -[case $MAGIC_CMD in
 25.2933 -[[\\/*] |  ?:[\\/]*])
 25.2934 -  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 25.2935 -  ;;
 25.2936 -*)
 25.2937 -  lt_save_MAGIC_CMD="$MAGIC_CMD"
 25.2938 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 25.2939 -dnl $ac_dummy forces splitting on constant user-supplied paths.
 25.2940 -dnl POSIX.2 word splitting is done only on the output of word expansions,
 25.2941 -dnl not every word.  This closes a longstanding sh security hole.
 25.2942 -  ac_dummy="m4_if([$2], , $PATH, [$2])"
 25.2943 -  for ac_dir in $ac_dummy; do
 25.2944 -    IFS="$lt_save_ifs"
 25.2945 -    test -z "$ac_dir" && ac_dir=.
 25.2946 -    if test -f $ac_dir/$1; then
 25.2947 -      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
 25.2948 -      if test -n "$file_magic_test_file"; then
 25.2949 -	case $deplibs_check_method in
 25.2950 -	"file_magic "*)
 25.2951 -	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 25.2952 -	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 25.2953 -	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 25.2954 -	    $EGREP "$file_magic_regex" > /dev/null; then
 25.2955 -	    :
 25.2956 -	  else
 25.2957 -	    cat <<_LT_EOF 1>&2
 25.2958 -
 25.2959 -*** Warning: the command libtool uses to detect shared libraries,
 25.2960 -*** $file_magic_cmd, produces output that libtool cannot recognize.
 25.2961 -*** The result is that libtool may fail to recognize shared libraries
 25.2962 -*** as such.  This will affect the creation of libtool libraries that
 25.2963 -*** depend on shared libraries, but programs linked with such libtool
 25.2964 -*** libraries will work regardless of this problem.  Nevertheless, you
 25.2965 -*** may want to report the problem to your system manager and/or to
 25.2966 -*** bug-libtool@gnu.org
 25.2967 -
 25.2968 -_LT_EOF
 25.2969 -	  fi ;;
 25.2970 -	esac
 25.2971 -      fi
 25.2972 -      break
 25.2973 -    fi
 25.2974 -  done
 25.2975 -  IFS="$lt_save_ifs"
 25.2976 -  MAGIC_CMD="$lt_save_MAGIC_CMD"
 25.2977 -  ;;
 25.2978 -esac])
 25.2979 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 25.2980 -if test -n "$MAGIC_CMD"; then
 25.2981 -  AC_MSG_RESULT($MAGIC_CMD)
 25.2982 -else
 25.2983 -  AC_MSG_RESULT(no)
 25.2984 -fi
 25.2985 -_LT_DECL([], [MAGIC_CMD], [0],
 25.2986 -	 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
 25.2987 -])# _LT_PATH_TOOL_PREFIX
 25.2988 -
 25.2989 -# Old name:
 25.2990 -AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
 25.2991 -dnl aclocal-1.4 backwards compatibility:
 25.2992 -dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
 25.2993 -
 25.2994 -
 25.2995 -# _LT_PATH_MAGIC
 25.2996 -# --------------
 25.2997 -# find a file program which can recognize a shared library
 25.2998 -m4_defun([_LT_PATH_MAGIC],
 25.2999 -[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
 25.3000 -if test -z "$lt_cv_path_MAGIC_CMD"; then
 25.3001 -  if test -n "$ac_tool_prefix"; then
 25.3002 -    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
 25.3003 -  else
 25.3004 -    MAGIC_CMD=:
 25.3005 -  fi
 25.3006 -fi
 25.3007 -])# _LT_PATH_MAGIC
 25.3008 -
 25.3009 -
 25.3010 -# LT_PATH_LD
 25.3011 -# ----------
 25.3012 -# find the pathname to the GNU or non-GNU linker
 25.3013 -AC_DEFUN([LT_PATH_LD],
 25.3014 -[AC_REQUIRE([AC_PROG_CC])dnl
 25.3015 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
 25.3016 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 25.3017 -m4_require([_LT_DECL_SED])dnl
 25.3018 -m4_require([_LT_DECL_EGREP])dnl
 25.3019 -m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
 25.3020 -
 25.3021 -AC_ARG_WITH([gnu-ld],
 25.3022 -    [AS_HELP_STRING([--with-gnu-ld],
 25.3023 -	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
 25.3024 -    [test "$withval" = no || with_gnu_ld=yes],
 25.3025 -    [with_gnu_ld=no])dnl
 25.3026 -
 25.3027 -ac_prog=ld
 25.3028 -if test "$GCC" = yes; then
 25.3029 -  # Check if gcc -print-prog-name=ld gives a path.
 25.3030 -  AC_MSG_CHECKING([for ld used by $CC])
 25.3031 -  case $host in
 25.3032 -  *-*-mingw*)
 25.3033 -    # gcc leaves a trailing carriage return which upsets mingw
 25.3034 -    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 25.3035 -  *)
 25.3036 -    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 25.3037 -  esac
 25.3038 -  case $ac_prog in
 25.3039 -    # Accept absolute paths.
 25.3040 -    [[\\/]]* | ?:[[\\/]]*)
 25.3041 -      re_direlt='/[[^/]][[^/]]*/\.\./'
 25.3042 -      # Canonicalize the pathname of ld
 25.3043 -      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 25.3044 -      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 25.3045 -	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 25.3046 -      done
 25.3047 -      test -z "$LD" && LD="$ac_prog"
 25.3048 -      ;;
 25.3049 -  "")
 25.3050 -    # If it fails, then pretend we aren't using GCC.
 25.3051 -    ac_prog=ld
 25.3052 -    ;;
 25.3053 -  *)
 25.3054 -    # If it is relative, then search for the first ld in PATH.
 25.3055 -    with_gnu_ld=unknown
 25.3056 -    ;;
 25.3057 -  esac
 25.3058 -elif test "$with_gnu_ld" = yes; then
 25.3059 -  AC_MSG_CHECKING([for GNU ld])
 25.3060 -else
 25.3061 -  AC_MSG_CHECKING([for non-GNU ld])
 25.3062 -fi
 25.3063 -AC_CACHE_VAL(lt_cv_path_LD,
 25.3064 -[if test -z "$LD"; then
 25.3065 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 25.3066 -  for ac_dir in $PATH; do
 25.3067 -    IFS="$lt_save_ifs"
 25.3068 -    test -z "$ac_dir" && ac_dir=.
 25.3069 -    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 25.3070 -      lt_cv_path_LD="$ac_dir/$ac_prog"
 25.3071 -      # Check to see if the program is GNU ld.  I'd rather use --version,
 25.3072 -      # but apparently some variants of GNU ld only accept -v.
 25.3073 -      # Break only if it was the GNU/non-GNU ld that we prefer.
 25.3074 -      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 25.3075 -      *GNU* | *'with BFD'*)
 25.3076 -	test "$with_gnu_ld" != no && break
 25.3077 -	;;
 25.3078 -      *)
 25.3079 -	test "$with_gnu_ld" != yes && break
 25.3080 -	;;
 25.3081 -      esac
 25.3082 -    fi
 25.3083 -  done
 25.3084 -  IFS="$lt_save_ifs"
 25.3085 -else
 25.3086 -  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 25.3087 -fi])
 25.3088 -LD="$lt_cv_path_LD"
 25.3089 -if test -n "$LD"; then
 25.3090 -  AC_MSG_RESULT($LD)
 25.3091 -else
 25.3092 -  AC_MSG_RESULT(no)
 25.3093 -fi
 25.3094 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 25.3095 -_LT_PATH_LD_GNU
 25.3096 -AC_SUBST([LD])
 25.3097 -
 25.3098 -_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
 25.3099 -])# LT_PATH_LD
 25.3100 -
 25.3101 -# Old names:
 25.3102 -AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
 25.3103 -AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
 25.3104 -dnl aclocal-1.4 backwards compatibility:
 25.3105 -dnl AC_DEFUN([AM_PROG_LD], [])
 25.3106 -dnl AC_DEFUN([AC_PROG_LD], [])
 25.3107 -
 25.3108 -
 25.3109 -# _LT_PATH_LD_GNU
 25.3110 -#- --------------
 25.3111 -m4_defun([_LT_PATH_LD_GNU],
 25.3112 -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
 25.3113 -[# I'd rather use --version here, but apparently some GNU lds only accept -v.
 25.3114 -case `$LD -v 2>&1 </dev/null` in
 25.3115 -*GNU* | *'with BFD'*)
 25.3116 -  lt_cv_prog_gnu_ld=yes
 25.3117 -  ;;
 25.3118 -*)
 25.3119 -  lt_cv_prog_gnu_ld=no
 25.3120 -  ;;
 25.3121 -esac])
 25.3122 -with_gnu_ld=$lt_cv_prog_gnu_ld
 25.3123 -])# _LT_PATH_LD_GNU
 25.3124 -
 25.3125 -
 25.3126 -# _LT_CMD_RELOAD
 25.3127 -# --------------
 25.3128 -# find reload flag for linker
 25.3129 -#   -- PORTME Some linkers may need a different reload flag.
 25.3130 -m4_defun([_LT_CMD_RELOAD],
 25.3131 -[AC_CACHE_CHECK([for $LD option to reload object files],
 25.3132 -  lt_cv_ld_reload_flag,
 25.3133 -  [lt_cv_ld_reload_flag='-r'])
 25.3134 -reload_flag=$lt_cv_ld_reload_flag
 25.3135 -case $reload_flag in
 25.3136 -"" | " "*) ;;
 25.3137 -*) reload_flag=" $reload_flag" ;;
 25.3138 -esac
 25.3139 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
 25.3140 -case $host_os in
 25.3141 -  cygwin* | mingw* | pw32* | cegcc*)
 25.3142 -    if test "$GCC" != yes; then
 25.3143 -      reload_cmds=false
 25.3144 -    fi
 25.3145 -    ;;
 25.3146 -  darwin*)
 25.3147 -    if test "$GCC" = yes; then
 25.3148 -      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 25.3149 -    else
 25.3150 -      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 25.3151 -    fi
 25.3152 -    ;;
 25.3153 -esac
 25.3154 -_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
 25.3155 -_LT_TAGDECL([], [reload_cmds], [2])dnl
 25.3156 -])# _LT_CMD_RELOAD
 25.3157 -
 25.3158 -
 25.3159 -# _LT_CHECK_MAGIC_METHOD
 25.3160 -# ----------------------
 25.3161 -# how to check for library dependencies
 25.3162 -#  -- PORTME fill in with the dynamic library characteristics
 25.3163 -m4_defun([_LT_CHECK_MAGIC_METHOD],
 25.3164 -[m4_require([_LT_DECL_EGREP])
 25.3165 -m4_require([_LT_DECL_OBJDUMP])
 25.3166 -AC_CACHE_CHECK([how to recognize dependent libraries],
 25.3167 -lt_cv_deplibs_check_method,
 25.3168 -[lt_cv_file_magic_cmd='$MAGIC_CMD'
 25.3169 -lt_cv_file_magic_test_file=
 25.3170 -lt_cv_deplibs_check_method='unknown'
 25.3171 -# Need to set the preceding variable on all platforms that support
 25.3172 -# interlibrary dependencies.
 25.3173 -# 'none' -- dependencies not supported.
 25.3174 -# `unknown' -- same as none, but documents that we really don't know.
 25.3175 -# 'pass_all' -- all dependencies passed with no checks.
 25.3176 -# 'test_compile' -- check by making test program.
 25.3177 -# 'file_magic [[regex]]' -- check by looking for files in library path
 25.3178 -# which responds to the $file_magic_cmd with a given extended regex.
 25.3179 -# If you have `file' or equivalent on your system and you're not sure
 25.3180 -# whether `pass_all' will *always* work, you probably want this one.
 25.3181 -
 25.3182 -case $host_os in
 25.3183 -aix[[4-9]]*)
 25.3184 -  lt_cv_deplibs_check_method=pass_all
 25.3185 -  ;;
 25.3186 -
 25.3187 -beos*)
 25.3188 -  lt_cv_deplibs_check_method=pass_all
 25.3189 -  ;;
 25.3190 -
 25.3191 -bsdi[[45]]*)
 25.3192 -  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
 25.3193 -  lt_cv_file_magic_cmd='/usr/bin/file -L'
 25.3194 -  lt_cv_file_magic_test_file=/shlib/libc.so
 25.3195 -  ;;
 25.3196 -
 25.3197 -cygwin*)
 25.3198 -  # func_win32_libid is a shell function defined in ltmain.sh
 25.3199 -  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 25.3200 -  lt_cv_file_magic_cmd='func_win32_libid'
 25.3201 -  ;;
 25.3202 -
 25.3203 -mingw* | pw32*)
 25.3204 -  # Base MSYS/MinGW do not provide the 'file' command needed by
 25.3205 -  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 25.3206 -  # unless we find 'file', for example because we are cross-compiling.
 25.3207 -  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 25.3208 -  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 25.3209 -    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 25.3210 -    lt_cv_file_magic_cmd='func_win32_libid'
 25.3211 -  else
 25.3212 -    # Keep this pattern in sync with the one in func_win32_libid.
 25.3213 -    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 25.3214 -    lt_cv_file_magic_cmd='$OBJDUMP -f'
 25.3215 -  fi
 25.3216 -  ;;
 25.3217 -
 25.3218 -cegcc*)
 25.3219 -  # use the weaker test based on 'objdump'. See mingw*.
 25.3220 -  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 25.3221 -  lt_cv_file_magic_cmd='$OBJDUMP -f'
 25.3222 -  ;;
 25.3223 -
 25.3224 -darwin* | rhapsody*)
 25.3225 -  lt_cv_deplibs_check_method=pass_all
 25.3226 -  ;;
 25.3227 -
 25.3228 -freebsd* | dragonfly*)
 25.3229 -  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 25.3230 -    case $host_cpu in
 25.3231 -    i*86 )
 25.3232 -      # Not sure whether the presence of OpenBSD here was a mistake.
 25.3233 -      # Let's accept both of them until this is cleared up.
 25.3234 -      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
 25.3235 -      lt_cv_file_magic_cmd=/usr/bin/file
 25.3236 -      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 25.3237 -      ;;
 25.3238 -    esac
 25.3239 -  else
 25.3240 -    lt_cv_deplibs_check_method=pass_all
 25.3241 -  fi
 25.3242 -  ;;
 25.3243 -
 25.3244 -gnu*)
 25.3245 -  lt_cv_deplibs_check_method=pass_all
 25.3246 -  ;;
 25.3247 -
 25.3248 -haiku*)
 25.3249 -  lt_cv_deplibs_check_method=pass_all
 25.3250 -  ;;
 25.3251 -
 25.3252 -hpux10.20* | hpux11*)
 25.3253 -  lt_cv_file_magic_cmd=/usr/bin/file
 25.3254 -  case $host_cpu in
 25.3255 -  ia64*)
 25.3256 -    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
 25.3257 -    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 25.3258 -    ;;
 25.3259 -  hppa*64*)
 25.3260 -    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
 25.3261 -    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 25.3262 -    ;;
 25.3263 -  *)
 25.3264 -    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
 25.3265 -    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 25.3266 -    ;;
 25.3267 -  esac
 25.3268 -  ;;
 25.3269 -
 25.3270 -interix[[3-9]]*)
 25.3271 -  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 25.3272 -  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
 25.3273 -  ;;
 25.3274 -
 25.3275 -irix5* | irix6* | nonstopux*)
 25.3276 -  case $LD in
 25.3277 -  *-32|*"-32 ") libmagic=32-bit;;
 25.3278 -  *-n32|*"-n32 ") libmagic=N32;;
 25.3279 -  *-64|*"-64 ") libmagic=64-bit;;
 25.3280 -  *) libmagic=never-match;;
 25.3281 -  esac
 25.3282 -  lt_cv_deplibs_check_method=pass_all
 25.3283 -  ;;
 25.3284 -
 25.3285 -# This must be glibc/ELF.
 25.3286 -linux* | k*bsd*-gnu | kopensolaris*-gnu)
 25.3287 -  lt_cv_deplibs_check_method=pass_all
 25.3288 -  ;;
 25.3289 -
 25.3290 -netbsd*)
 25.3291 -  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 25.3292 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 25.3293 -  else
 25.3294 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
 25.3295 -  fi
 25.3296 -  ;;
 25.3297 -
 25.3298 -newos6*)
 25.3299 -  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
 25.3300 -  lt_cv_file_magic_cmd=/usr/bin/file
 25.3301 -  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 25.3302 -  ;;
 25.3303 -
 25.3304 -*nto* | *qnx*)
 25.3305 -  lt_cv_deplibs_check_method=pass_all
 25.3306 -  ;;
 25.3307 -
 25.3308 -openbsd*)
 25.3309 -  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 25.3310 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
 25.3311 -  else
 25.3312 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 25.3313 -  fi
 25.3314 -  ;;
 25.3315 -
 25.3316 -osf3* | osf4* | osf5*)
 25.3317 -  lt_cv_deplibs_check_method=pass_all
 25.3318 -  ;;
 25.3319 -
 25.3320 -rdos*)
 25.3321 -  lt_cv_deplibs_check_method=pass_all
 25.3322 -  ;;
 25.3323 -
 25.3324 -solaris*)
 25.3325 -  lt_cv_deplibs_check_method=pass_all
 25.3326 -  ;;
 25.3327 -
 25.3328 -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 25.3329 -  lt_cv_deplibs_check_method=pass_all
 25.3330 -  ;;
 25.3331 -
 25.3332 -sysv4 | sysv4.3*)
 25.3333 -  case $host_vendor in
 25.3334 -  motorola)
 25.3335 -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
 25.3336 -    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 25.3337 -    ;;
 25.3338 -  ncr)
 25.3339 -    lt_cv_deplibs_check_method=pass_all
 25.3340 -    ;;
 25.3341 -  sequent)
 25.3342 -    lt_cv_file_magic_cmd='/bin/file'
 25.3343 -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
 25.3344 -    ;;
 25.3345 -  sni)
 25.3346 -    lt_cv_file_magic_cmd='/bin/file'
 25.3347 -    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
 25.3348 -    lt_cv_file_magic_test_file=/lib/libc.so
 25.3349 -    ;;
 25.3350 -  siemens)
 25.3351 -    lt_cv_deplibs_check_method=pass_all
 25.3352 -    ;;
 25.3353 -  pc)
 25.3354 -    lt_cv_deplibs_check_method=pass_all
 25.3355 -    ;;
 25.3356 -  esac
 25.3357 -  ;;
 25.3358 -
 25.3359 -tpf*)
 25.3360 -  lt_cv_deplibs_check_method=pass_all
 25.3361 -  ;;
 25.3362 -esac
 25.3363 -])
 25.3364 -
 25.3365 -file_magic_glob=
 25.3366 -want_nocaseglob=no
 25.3367 -if test "$build" = "$host"; then
 25.3368 -  case $host_os in
 25.3369 -  mingw* | pw32*)
 25.3370 -    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 25.3371 -      want_nocaseglob=yes
 25.3372 -    else
 25.3373 -      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
 25.3374 -    fi
 25.3375 -    ;;
 25.3376 -  esac
 25.3377 -fi
 25.3378 -
 25.3379 -file_magic_cmd=$lt_cv_file_magic_cmd
 25.3380 -deplibs_check_method=$lt_cv_deplibs_check_method
 25.3381 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
 25.3382 -
 25.3383 -_LT_DECL([], [deplibs_check_method], [1],
 25.3384 -    [Method to check whether dependent libraries are shared objects])
 25.3385 -_LT_DECL([], [file_magic_cmd], [1],
 25.3386 -    [Command to use when deplibs_check_method = "file_magic"])
 25.3387 -_LT_DECL([], [file_magic_glob], [1],
 25.3388 -    [How to find potential files when deplibs_check_method = "file_magic"])
 25.3389 -_LT_DECL([], [want_nocaseglob], [1],
 25.3390 -    [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
 25.3391 -])# _LT_CHECK_MAGIC_METHOD
 25.3392 -
 25.3393 -
 25.3394 -# LT_PATH_NM
 25.3395 -# ----------
 25.3396 -# find the pathname to a BSD- or MS-compatible name lister
 25.3397 -AC_DEFUN([LT_PATH_NM],
 25.3398 -[AC_REQUIRE([AC_PROG_CC])dnl
 25.3399 -AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
 25.3400 -[if test -n "$NM"; then
 25.3401 -  # Let the user override the test.
 25.3402 -  lt_cv_path_NM="$NM"
 25.3403 -else
 25.3404 -  lt_nm_to_check="${ac_tool_prefix}nm"
 25.3405 -  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 25.3406 -    lt_nm_to_check="$lt_nm_to_check nm"
 25.3407 -  fi
 25.3408 -  for lt_tmp_nm in $lt_nm_to_check; do
 25.3409 -    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 25.3410 -    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 25.3411 -      IFS="$lt_save_ifs"
 25.3412 -      test -z "$ac_dir" && ac_dir=.
 25.3413 -      tmp_nm="$ac_dir/$lt_tmp_nm"
 25.3414 -      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 25.3415 -	# Check to see if the nm accepts a BSD-compat flag.
 25.3416 -	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 25.3417 -	#   nm: unknown option "B" ignored
 25.3418 -	# Tru64's nm complains that /dev/null is an invalid object file
 25.3419 -	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 25.3420 -	*/dev/null* | *'Invalid file or object type'*)
 25.3421 -	  lt_cv_path_NM="$tmp_nm -B"
 25.3422 -	  break
 25.3423 -	  ;;
 25.3424 -	*)
 25.3425 -	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 25.3426 -	  */dev/null*)
 25.3427 -	    lt_cv_path_NM="$tmp_nm -p"
 25.3428 -	    break
 25.3429 -	    ;;
 25.3430 -	  *)
 25.3431 -	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 25.3432 -	    continue # so that we can try to find one that supports BSD flags
 25.3433 -	    ;;
 25.3434 -	  esac
 25.3435 -	  ;;
 25.3436 -	esac
 25.3437 -      fi
 25.3438 -    done
 25.3439 -    IFS="$lt_save_ifs"
 25.3440 -  done
 25.3441 -  : ${lt_cv_path_NM=no}
 25.3442 -fi])
 25.3443 -if test "$lt_cv_path_NM" != "no"; then
 25.3444 -  NM="$lt_cv_path_NM"
 25.3445 -else
 25.3446 -  # Didn't find any BSD compatible name lister, look for dumpbin.
 25.3447 -  if test -n "$DUMPBIN"; then :
 25.3448 -    # Let the user override the test.
 25.3449 -  else
 25.3450 -    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
 25.3451 -    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 25.3452 -    *COFF*)
 25.3453 -      DUMPBIN="$DUMPBIN -symbols"
 25.3454 -      ;;
 25.3455 -    *)
 25.3456 -      DUMPBIN=:
 25.3457 -      ;;
 25.3458 -    esac
 25.3459 -  fi
 25.3460 -  AC_SUBST([DUMPBIN])
 25.3461 -  if test "$DUMPBIN" != ":"; then
 25.3462 -    NM="$DUMPBIN"
 25.3463 -  fi
 25.3464 -fi
 25.3465 -test -z "$NM" && NM=nm
 25.3466 -AC_SUBST([NM])
 25.3467 -_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
 25.3468 -
 25.3469 -AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
 25.3470 -  [lt_cv_nm_interface="BSD nm"
 25.3471 -  echo "int some_variable = 0;" > conftest.$ac_ext
 25.3472 -  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
 25.3473 -  (eval "$ac_compile" 2>conftest.err)
 25.3474 -  cat conftest.err >&AS_MESSAGE_LOG_FD
 25.3475 -  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
 25.3476 -  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 25.3477 -  cat conftest.err >&AS_MESSAGE_LOG_FD
 25.3478 -  (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
 25.3479 -  cat conftest.out >&AS_MESSAGE_LOG_FD
 25.3480 -  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 25.3481 -    lt_cv_nm_interface="MS dumpbin"
 25.3482 -  fi
 25.3483 -  rm -f conftest*])
 25.3484 -])# LT_PATH_NM
 25.3485 -
 25.3486 -# Old names:
 25.3487 -AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
 25.3488 -AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
 25.3489 -dnl aclocal-1.4 backwards compatibility:
 25.3490 -dnl AC_DEFUN([AM_PROG_NM], [])
 25.3491 -dnl AC_DEFUN([AC_PROG_NM], [])
 25.3492 -
 25.3493 -# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
 25.3494 -# --------------------------------
 25.3495 -# how to determine the name of the shared library
 25.3496 -# associated with a specific link library.
 25.3497 -#  -- PORTME fill in with the dynamic library characteristics
 25.3498 -m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
 25.3499 -[m4_require([_LT_DECL_EGREP])
 25.3500 -m4_require([_LT_DECL_OBJDUMP])
 25.3501 -m4_require([_LT_DECL_DLLTOOL])
 25.3502 -AC_CACHE_CHECK([how to associate runtime and link libraries],
 25.3503 -lt_cv_sharedlib_from_linklib_cmd,
 25.3504 -[lt_cv_sharedlib_from_linklib_cmd='unknown'
 25.3505 -
 25.3506 -case $host_os in
 25.3507 -cygwin* | mingw* | pw32* | cegcc*)
 25.3508 -  # two different shell functions defined in ltmain.sh
 25.3509 -  # decide which to use based on capabilities of $DLLTOOL
 25.3510 -  case `$DLLTOOL --help 2>&1` in
 25.3511 -  *--identify-strict*)
 25.3512 -    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 25.3513 -    ;;
 25.3514 -  *)
 25.3515 -    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 25.3516 -    ;;
 25.3517 -  esac
 25.3518 -  ;;
 25.3519 -*)
 25.3520 -  # fallback: assume linklib IS sharedlib
 25.3521 -  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 25.3522 -  ;;
 25.3523 -esac
 25.3524 -])
 25.3525 -sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 25.3526 -test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 25.3527 -
 25.3528 -_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
 25.3529 -    [Command to associate shared and link libraries])
 25.3530 -])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
 25.3531 -
 25.3532 -
 25.3533 -# _LT_PATH_MANIFEST_TOOL
 25.3534 -# ----------------------
 25.3535 -# locate the manifest tool
 25.3536 -m4_defun([_LT_PATH_MANIFEST_TOOL],
 25.3537 -[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
 25.3538 -test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 25.3539 -AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
 25.3540 -  [lt_cv_path_mainfest_tool=no
 25.3541 -  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
 25.3542 -  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 25.3543 -  cat conftest.err >&AS_MESSAGE_LOG_FD
 25.3544 -  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 25.3545 -    lt_cv_path_mainfest_tool=yes
 25.3546 -  fi
 25.3547 -  rm -f conftest*])
 25.3548 -if test "x$lt_cv_path_mainfest_tool" != xyes; then
 25.3549 -  MANIFEST_TOOL=:
 25.3550 -fi
 25.3551 -_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
 25.3552 -])# _LT_PATH_MANIFEST_TOOL
 25.3553 -
 25.3554 -
 25.3555 -# LT_LIB_M
 25.3556 -# --------
 25.3557 -# check for math library
 25.3558 -AC_DEFUN([LT_LIB_M],
 25.3559 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 25.3560 -LIBM=
 25.3561 -case $host in
 25.3562 -*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
 25.3563 -  # These system don't have libm, or don't need it
 25.3564 -  ;;
 25.3565 -*-ncr-sysv4.3*)
 25.3566 -  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
 25.3567 -  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
 25.3568 -  ;;
 25.3569 -*)
 25.3570 -  AC_CHECK_LIB(m, cos, LIBM="-lm")
 25.3571 -  ;;
 25.3572 -esac
 25.3573 -AC_SUBST([LIBM])
 25.3574 -])# LT_LIB_M
 25.3575 -
 25.3576 -# Old name:
 25.3577 -AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
 25.3578 -dnl aclocal-1.4 backwards compatibility:
 25.3579 -dnl AC_DEFUN([AC_CHECK_LIBM], [])
 25.3580 -
 25.3581 -
 25.3582 -# _LT_COMPILER_NO_RTTI([TAGNAME])
 25.3583 -# -------------------------------
 25.3584 -m4_defun([_LT_COMPILER_NO_RTTI],
 25.3585 -[m4_require([_LT_TAG_COMPILER])dnl
 25.3586 -
 25.3587 -_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 25.3588 -
 25.3589 -if test "$GCC" = yes; then
 25.3590 -  case $cc_basename in
 25.3591 -  nvcc*)
 25.3592 -    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
 25.3593 -  *)
 25.3594 -    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
 25.3595 -  esac
 25.3596 -
 25.3597 -  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
 25.3598 -    lt_cv_prog_compiler_rtti_exceptions,
 25.3599 -    [-fno-rtti -fno-exceptions], [],
 25.3600 -    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
 25.3601 -fi
 25.3602 -_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
 25.3603 -	[Compiler flag to turn off builtin functions])
 25.3604 -])# _LT_COMPILER_NO_RTTI
 25.3605 -
 25.3606 -
 25.3607 -# _LT_CMD_GLOBAL_SYMBOLS
 25.3608 -# ----------------------
 25.3609 -m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
 25.3610 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 25.3611 -AC_REQUIRE([AC_PROG_CC])dnl
 25.3612 -AC_REQUIRE([AC_PROG_AWK])dnl
 25.3613 -AC_REQUIRE([LT_PATH_NM])dnl
 25.3614 -AC_REQUIRE([LT_PATH_LD])dnl
 25.3615 -m4_require([_LT_DECL_SED])dnl
 25.3616 -m4_require([_LT_DECL_EGREP])dnl
 25.3617 -m4_require([_LT_TAG_COMPILER])dnl
 25.3618 -
 25.3619 -# Check for command to grab the raw symbol name followed by C symbol from nm.
 25.3620 -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
 25.3621 -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
 25.3622 -[
 25.3623 -# These are sane defaults that work on at least a few old systems.
 25.3624 -# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 25.3625 -
 25.3626 -# Character class describing NM global symbol codes.
 25.3627 -symcode='[[BCDEGRST]]'
 25.3628 -
 25.3629 -# Regexp to match symbols that can be accessed directly from C.
 25.3630 -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
 25.3631 -
 25.3632 -# Define system-specific variables.
 25.3633 -case $host_os in
 25.3634 -aix*)
 25.3635 -  symcode='[[BCDT]]'
 25.3636 -  ;;
 25.3637 -cygwin* | mingw* | pw32* | cegcc*)
 25.3638 -  symcode='[[ABCDGISTW]]'
 25.3639 -  ;;
 25.3640 -hpux*)
 25.3641 -  if test "$host_cpu" = ia64; then
 25.3642 -    symcode='[[ABCDEGRST]]'
 25.3643 -  fi
 25.3644 -  ;;
 25.3645 -irix* | nonstopux*)
 25.3646 -  symcode='[[BCDEGRST]]'
 25.3647 -  ;;
 25.3648 -osf*)
 25.3649 -  symcode='[[BCDEGQRST]]'
 25.3650 -  ;;
 25.3651 -solaris*)
 25.3652 -  symcode='[[BDRT]]'
 25.3653 -  ;;
 25.3654 -sco3.2v5*)
 25.3655 -  symcode='[[DT]]'
 25.3656 -  ;;
 25.3657 -sysv4.2uw2*)
 25.3658 -  symcode='[[DT]]'
 25.3659 -  ;;
 25.3660 -sysv5* | sco5v6* | unixware* | OpenUNIX*)
 25.3661 -  symcode='[[ABDT]]'
 25.3662 -  ;;
 25.3663 -sysv4)
 25.3664 -  symcode='[[DFNSTU]]'
 25.3665 -  ;;
 25.3666 -esac
 25.3667 -
 25.3668 -# If we're using GNU nm, then use its standard symbol codes.
 25.3669 -case `$NM -V 2>&1` in
 25.3670 -*GNU* | *'with BFD'*)
 25.3671 -  symcode='[[ABCDGIRSTW]]' ;;
 25.3672 -esac
 25.3673 -
 25.3674 -# Transform an extracted symbol line into a proper C declaration.
 25.3675 -# Some systems (esp. on ia64) link data and code symbols differently,
 25.3676 -# so use this general approach.
 25.3677 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 25.3678 -
 25.3679 -# Transform an extracted symbol line into symbol name and symbol address
 25.3680 -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
 25.3681 -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 25.3682 -
 25.3683 -# Handle CRLF in mingw tool chain
 25.3684 -opt_cr=
 25.3685 -case $build_os in
 25.3686 -mingw*)
 25.3687 -  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 25.3688 -  ;;
 25.3689 -esac
 25.3690 -
 25.3691 -# Try without a prefix underscore, then with it.
 25.3692 -for ac_symprfx in "" "_"; do
 25.3693 -
 25.3694 -  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 25.3695 -  symxfrm="\\1 $ac_symprfx\\2 \\2"
 25.3696 -
 25.3697 -  # Write the raw and C identifiers.
 25.3698 -  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 25.3699 -    # Fake it for dumpbin and say T for any non-static function
 25.3700 -    # and D for any global variable.
 25.3701 -    # Also find C++ and __fastcall symbols from MSVC++,
 25.3702 -    # which start with @ or ?.
 25.3703 -    lt_cv_sys_global_symbol_pipe="$AWK ['"\
 25.3704 -"     {last_section=section; section=\$ 3};"\
 25.3705 -"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 25.3706 -"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 25.3707 -"     \$ 0!~/External *\|/{next};"\
 25.3708 -"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 25.3709 -"     {if(hide[section]) next};"\
 25.3710 -"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 25.3711 -"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 25.3712 -"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 25.3713 -"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 25.3714 -"     ' prfx=^$ac_symprfx]"
 25.3715 -  else
 25.3716 -    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[	 ]]\($symcode$symcode*\)[[	 ]][[	 ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 25.3717 -  fi
 25.3718 -  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 25.3719 -
 25.3720 -  # Check to see that the pipe works correctly.
 25.3721 -  pipe_works=no
 25.3722 -
 25.3723 -  rm -f conftest*
 25.3724 -  cat > conftest.$ac_ext <<_LT_EOF
 25.3725 -#ifdef __cplusplus
 25.3726 -extern "C" {
 25.3727 -#endif
 25.3728 -char nm_test_var;
 25.3729 -void nm_test_func(void);
 25.3730 -void nm_test_func(void){}
 25.3731 -#ifdef __cplusplus
 25.3732 -}
 25.3733 -#endif
 25.3734 -int main(){nm_test_var='a';nm_test_func();return(0);}
 25.3735 -_LT_EOF
 25.3736 -
 25.3737 -  if AC_TRY_EVAL(ac_compile); then
 25.3738 -    # Now try to grab the symbols.
 25.3739 -    nlist=conftest.nm
 25.3740 -    if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
 25.3741 -      # Try sorting and uniquifying the output.
 25.3742 -      if sort "$nlist" | uniq > "$nlist"T; then
 25.3743 -	mv -f "$nlist"T "$nlist"
 25.3744 -      else
 25.3745 -	rm -f "$nlist"T
 25.3746 -      fi
 25.3747 -
 25.3748 -      # Make sure that we snagged all the symbols we need.
 25.3749 -      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 25.3750 -	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 25.3751 -	  cat <<_LT_EOF > conftest.$ac_ext
 25.3752 -/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 25.3753 -#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 25.3754 -/* DATA imports from DLLs on WIN32 con't be const, because runtime
 25.3755 -   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 25.3756 -# define LT@&t@_DLSYM_CONST
 25.3757 -#elif defined(__osf__)
 25.3758 -/* This system does not cope well with relocations in const data.  */
 25.3759 -# define LT@&t@_DLSYM_CONST
 25.3760 -#else
 25.3761 -# define LT@&t@_DLSYM_CONST const
 25.3762 -#endif
 25.3763 -
 25.3764 -#ifdef __cplusplus
 25.3765 -extern "C" {
 25.3766 -#endif
 25.3767 -
 25.3768 -_LT_EOF
 25.3769 -	  # Now generate the symbol file.
 25.3770 -	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 25.3771 -
 25.3772 -	  cat <<_LT_EOF >> conftest.$ac_ext
 25.3773 -
 25.3774 -/* The mapping between symbol names and symbols.  */
 25.3775 -LT@&t@_DLSYM_CONST struct {
 25.3776 -  const char *name;
 25.3777 -  void       *address;
 25.3778 -}
 25.3779 -lt__PROGRAM__LTX_preloaded_symbols[[]] =
 25.3780 -{
 25.3781 -  { "@PROGRAM@", (void *) 0 },
 25.3782 -_LT_EOF
 25.3783 -	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 25.3784 -	  cat <<\_LT_EOF >> conftest.$ac_ext
 25.3785 -  {0, (void *) 0}
 25.3786 -};
 25.3787 -
 25.3788 -/* This works around a problem in FreeBSD linker */
 25.3789 -#ifdef FREEBSD_WORKAROUND
 25.3790 -static const void *lt_preloaded_setup() {
 25.3791 -  return lt__PROGRAM__LTX_preloaded_symbols;
 25.3792 -}
 25.3793 -#endif
 25.3794 -
 25.3795 -#ifdef __cplusplus
 25.3796 -}
 25.3797 -#endif
 25.3798 -_LT_EOF
 25.3799 -	  # Now try linking the two files.
 25.3800 -	  mv conftest.$ac_objext conftstm.$ac_objext
 25.3801 -	  lt_globsym_save_LIBS=$LIBS
 25.3802 -	  lt_globsym_save_CFLAGS=$CFLAGS
 25.3803 -	  LIBS="conftstm.$ac_objext"
 25.3804 -	  CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
 25.3805 -	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
 25.3806 -	    pipe_works=yes
 25.3807 -	  fi
 25.3808 -	  LIBS=$lt_globsym_save_LIBS
 25.3809 -	  CFLAGS=$lt_globsym_save_CFLAGS
 25.3810 -	else
 25.3811 -	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
 25.3812 -	fi
 25.3813 -      else
 25.3814 -	echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
 25.3815 -      fi
 25.3816 -    else
 25.3817 -      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
 25.3818 -    fi
 25.3819 -  else
 25.3820 -    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
 25.3821 -    cat conftest.$ac_ext >&5
 25.3822 -  fi
 25.3823 -  rm -rf conftest* conftst*
 25.3824 -
 25.3825 -  # Do not use the global_symbol_pipe unless it works.
 25.3826 -  if test "$pipe_works" = yes; then
 25.3827 -    break
 25.3828 -  else
 25.3829 -    lt_cv_sys_global_symbol_pipe=
 25.3830 -  fi
 25.3831 -done
 25.3832 -])
 25.3833 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
 25.3834 -  lt_cv_sys_global_symbol_to_cdecl=
 25.3835 -fi
 25.3836 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 25.3837 -  AC_MSG_RESULT(failed)
 25.3838 -else
 25.3839 -  AC_MSG_RESULT(ok)
 25.3840 -fi
 25.3841 -
 25.3842 -# Response file support.
 25.3843 -if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 25.3844 -  nm_file_list_spec='@'
 25.3845 -elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
 25.3846 -  nm_file_list_spec='@'
 25.3847 -fi
 25.3848 -
 25.3849 -_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
 25.3850 -    [Take the output of nm and produce a listing of raw symbols and C names])
 25.3851 -_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
 25.3852 -    [Transform the output of nm in a proper C declaration])
 25.3853 -_LT_DECL([global_symbol_to_c_name_address],
 25.3854 -    [lt_cv_sys_global_symbol_to_c_name_address], [1],
 25.3855 -    [Transform the output of nm in a C name address pair])
 25.3856 -_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
 25.3857 -    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
 25.3858 -    [Transform the output of nm in a C name address pair when lib prefix is needed])
 25.3859 -_LT_DECL([], [nm_file_list_spec], [1],
 25.3860 -    [Specify filename containing input files for $NM])
 25.3861 -]) # _LT_CMD_GLOBAL_SYMBOLS
 25.3862 -
 25.3863 -
 25.3864 -# _LT_COMPILER_PIC([TAGNAME])
 25.3865 -# ---------------------------
 25.3866 -m4_defun([_LT_COMPILER_PIC],
 25.3867 -[m4_require([_LT_TAG_COMPILER])dnl
 25.3868 -_LT_TAGVAR(lt_prog_compiler_wl, $1)=
 25.3869 -_LT_TAGVAR(lt_prog_compiler_pic, $1)=
 25.3870 -_LT_TAGVAR(lt_prog_compiler_static, $1)=
 25.3871 -
 25.3872 -m4_if([$1], [CXX], [
 25.3873 -  # C++ specific cases for pic, static, wl, etc.
 25.3874 -  if test "$GXX" = yes; then
 25.3875 -    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.3876 -    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 25.3877 -
 25.3878 -    case $host_os in
 25.3879 -    aix*)
 25.3880 -      # All AIX code is PIC.
 25.3881 -      if test "$host_cpu" = ia64; then
 25.3882 -	# AIX 5 now supports IA64 processor
 25.3883 -	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.3884 -      fi
 25.3885 -      ;;
 25.3886 -
 25.3887 -    amigaos*)
 25.3888 -      case $host_cpu in
 25.3889 -      powerpc)
 25.3890 -            # see comment about AmigaOS4 .so support
 25.3891 -            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 25.3892 -        ;;
 25.3893 -      m68k)
 25.3894 -            # FIXME: we need at least 68020 code to build shared libraries, but
 25.3895 -            # adding the `-m68020' flag to GCC prevents building anything better,
 25.3896 -            # like `-m68040'.
 25.3897 -            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 25.3898 -        ;;
 25.3899 -      esac
 25.3900 -      ;;
 25.3901 -
 25.3902 -    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 25.3903 -      # PIC is the default for these OSes.
 25.3904 -      ;;
 25.3905 -    mingw* | cygwin* | os2* | pw32* | cegcc*)
 25.3906 -      # This hack is so that the source file can tell whether it is being
 25.3907 -      # built for inclusion in a dll (and should export symbols for example).
 25.3908 -      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 25.3909 -      # (--disable-auto-import) libraries
 25.3910 -      m4_if([$1], [GCJ], [],
 25.3911 -	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
 25.3912 -      ;;
 25.3913 -    darwin* | rhapsody*)
 25.3914 -      # PIC is the default on this platform
 25.3915 -      # Common symbols not allowed in MH_DYLIB files
 25.3916 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
 25.3917 -      ;;
 25.3918 -    *djgpp*)
 25.3919 -      # DJGPP does not support shared libraries at all
 25.3920 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 25.3921 -      ;;
 25.3922 -    haiku*)
 25.3923 -      # PIC is the default for Haiku.
 25.3924 -      # The "-static" flag exists, but is broken.
 25.3925 -      _LT_TAGVAR(lt_prog_compiler_static, $1)=
 25.3926 -      ;;
 25.3927 -    interix[[3-9]]*)
 25.3928 -      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 25.3929 -      # Instead, we relocate shared libraries at runtime.
 25.3930 -      ;;
 25.3931 -    sysv4*MP*)
 25.3932 -      if test -d /usr/nec; then
 25.3933 -	_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
 25.3934 -      fi
 25.3935 -      ;;
 25.3936 -    hpux*)
 25.3937 -      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 25.3938 -      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 25.3939 -      # sets the default TLS model and affects inlining.
 25.3940 -      case $host_cpu in
 25.3941 -      hppa*64*)
 25.3942 -	;;
 25.3943 -      *)
 25.3944 -	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 25.3945 -	;;
 25.3946 -      esac
 25.3947 -      ;;
 25.3948 -    *qnx* | *nto*)
 25.3949 -      # QNX uses GNU C++, but need to define -shared option too, otherwise
 25.3950 -      # it will coredump.
 25.3951 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
 25.3952 -      ;;
 25.3953 -    *)
 25.3954 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 25.3955 -      ;;
 25.3956 -    esac
 25.3957 -  else
 25.3958 -    case $host_os in
 25.3959 -      aix[[4-9]]*)
 25.3960 -	# All AIX code is PIC.
 25.3961 -	if test "$host_cpu" = ia64; then
 25.3962 -	  # AIX 5 now supports IA64 processor
 25.3963 -	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.3964 -	else
 25.3965 -	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
 25.3966 -	fi
 25.3967 -	;;
 25.3968 -      chorus*)
 25.3969 -	case $cc_basename in
 25.3970 -	cxch68*)
 25.3971 -	  # Green Hills C++ Compiler
 25.3972 -	  # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
 25.3973 -	  ;;
 25.3974 -	esac
 25.3975 -	;;
 25.3976 -      mingw* | cygwin* | os2* | pw32* | cegcc*)
 25.3977 -	# This hack is so that the source file can tell whether it is being
 25.3978 -	# built for inclusion in a dll (and should export symbols for example).
 25.3979 -	m4_if([$1], [GCJ], [],
 25.3980 -	  [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
 25.3981 -	;;
 25.3982 -      dgux*)
 25.3983 -	case $cc_basename in
 25.3984 -	  ec++*)
 25.3985 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.3986 -	    ;;
 25.3987 -	  ghcx*)
 25.3988 -	    # Green Hills C++ Compiler
 25.3989 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 25.3990 -	    ;;
 25.3991 -	  *)
 25.3992 -	    ;;
 25.3993 -	esac
 25.3994 -	;;
 25.3995 -      freebsd* | dragonfly*)
 25.3996 -	# FreeBSD uses GNU C++
 25.3997 -	;;
 25.3998 -      hpux9* | hpux10* | hpux11*)
 25.3999 -	case $cc_basename in
 25.4000 -	  CC*)
 25.4001 -	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4002 -	    _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 25.4003 -	    if test "$host_cpu" != ia64; then
 25.4004 -	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 25.4005 -	    fi
 25.4006 -	    ;;
 25.4007 -	  aCC*)
 25.4008 -	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4009 -	    _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 25.4010 -	    case $host_cpu in
 25.4011 -	    hppa*64*|ia64*)
 25.4012 -	      # +Z the default
 25.4013 -	      ;;
 25.4014 -	    *)
 25.4015 -	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 25.4016 -	      ;;
 25.4017 -	    esac
 25.4018 -	    ;;
 25.4019 -	  *)
 25.4020 -	    ;;
 25.4021 -	esac
 25.4022 -	;;
 25.4023 -      interix*)
 25.4024 -	# This is c89, which is MS Visual C++ (no shared libs)
 25.4025 -	# Anyone wants to do a port?
 25.4026 -	;;
 25.4027 -      irix5* | irix6* | nonstopux*)
 25.4028 -	case $cc_basename in
 25.4029 -	  CC*)
 25.4030 -	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4031 -	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 25.4032 -	    # CC pic flag -KPIC is the default.
 25.4033 -	    ;;
 25.4034 -	  *)
 25.4035 -	    ;;
 25.4036 -	esac
 25.4037 -	;;
 25.4038 -      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 25.4039 -	case $cc_basename in
 25.4040 -	  KCC*)
 25.4041 -	    # KAI C++ Compiler
 25.4042 -	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
 25.4043 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 25.4044 -	    ;;
 25.4045 -	  ecpc* )
 25.4046 -	    # old Intel C++ for x86_64 which still supported -KPIC.
 25.4047 -	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4048 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4049 -	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 25.4050 -	    ;;
 25.4051 -	  icpc* )
 25.4052 -	    # Intel C++, used to be incompatible with GCC.
 25.4053 -	    # ICC 10 doesn't accept -KPIC any more.
 25.4054 -	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4055 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 25.4056 -	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 25.4057 -	    ;;
 25.4058 -	  pgCC* | pgcpp*)
 25.4059 -	    # Portland Group C++ compiler
 25.4060 -	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4061 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 25.4062 -	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4063 -	    ;;
 25.4064 -	  cxx*)
 25.4065 -	    # Compaq C++
 25.4066 -	    # Make sure the PIC flag is empty.  It appears that all Alpha
 25.4067 -	    # Linux and Compaq Tru64 Unix objects are PIC.
 25.4068 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 25.4069 -	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 25.4070 -	    ;;
 25.4071 -	  xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
 25.4072 -	    # IBM XL 8.0, 9.0 on PPC and BlueGene
 25.4073 -	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4074 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
 25.4075 -	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
 25.4076 -	    ;;
 25.4077 -	  *)
 25.4078 -	    case `$CC -V 2>&1 | sed 5q` in
 25.4079 -	    *Sun\ C*)
 25.4080 -	      # Sun C++ 5.9
 25.4081 -	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4082 -	      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4083 -	      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 25.4084 -	      ;;
 25.4085 -	    esac
 25.4086 -	    ;;
 25.4087 -	esac
 25.4088 -	;;
 25.4089 -      lynxos*)
 25.4090 -	;;
 25.4091 -      m88k*)
 25.4092 -	;;
 25.4093 -      mvs*)
 25.4094 -	case $cc_basename in
 25.4095 -	  cxx*)
 25.4096 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
 25.4097 -	    ;;
 25.4098 -	  *)
 25.4099 -	    ;;
 25.4100 -	esac
 25.4101 -	;;
 25.4102 -      netbsd*)
 25.4103 -	;;
 25.4104 -      *qnx* | *nto*)
 25.4105 -        # QNX uses GNU C++, but need to define -shared option too, otherwise
 25.4106 -        # it will coredump.
 25.4107 -        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
 25.4108 -        ;;
 25.4109 -      osf3* | osf4* | osf5*)
 25.4110 -	case $cc_basename in
 25.4111 -	  KCC*)
 25.4112 -	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
 25.4113 -	    ;;
 25.4114 -	  RCC*)
 25.4115 -	    # Rational C++ 2.4.1
 25.4116 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 25.4117 -	    ;;
 25.4118 -	  cxx*)
 25.4119 -	    # Digital/Compaq C++
 25.4120 -	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4121 -	    # Make sure the PIC flag is empty.  It appears that all Alpha
 25.4122 -	    # Linux and Compaq Tru64 Unix objects are PIC.
 25.4123 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 25.4124 -	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 25.4125 -	    ;;
 25.4126 -	  *)
 25.4127 -	    ;;
 25.4128 -	esac
 25.4129 -	;;
 25.4130 -      psos*)
 25.4131 -	;;
 25.4132 -      solaris*)
 25.4133 -	case $cc_basename in
 25.4134 -	  CC* | sunCC*)
 25.4135 -	    # Sun C++ 4.2, 5.x and Centerline C++
 25.4136 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4137 -	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4138 -	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 25.4139 -	    ;;
 25.4140 -	  gcx*)
 25.4141 -	    # Green Hills C++ Compiler
 25.4142 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
 25.4143 -	    ;;
 25.4144 -	  *)
 25.4145 -	    ;;
 25.4146 -	esac
 25.4147 -	;;
 25.4148 -      sunos4*)
 25.4149 -	case $cc_basename in
 25.4150 -	  CC*)
 25.4151 -	    # Sun C++ 4.x
 25.4152 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 25.4153 -	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4154 -	    ;;
 25.4155 -	  lcc*)
 25.4156 -	    # Lucid
 25.4157 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 25.4158 -	    ;;
 25.4159 -	  *)
 25.4160 -	    ;;
 25.4161 -	esac
 25.4162 -	;;
 25.4163 -      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 25.4164 -	case $cc_basename in
 25.4165 -	  CC*)
 25.4166 -	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4167 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4168 -	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4169 -	    ;;
 25.4170 -	esac
 25.4171 -	;;
 25.4172 -      tandem*)
 25.4173 -	case $cc_basename in
 25.4174 -	  NCC*)
 25.4175 -	    # NonStop-UX NCC 3.20
 25.4176 -	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4177 -	    ;;
 25.4178 -	  *)
 25.4179 -	    ;;
 25.4180 -	esac
 25.4181 -	;;
 25.4182 -      vxworks*)
 25.4183 -	;;
 25.4184 -      *)
 25.4185 -	_LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 25.4186 -	;;
 25.4187 -    esac
 25.4188 -  fi
 25.4189 -],
 25.4190 -[
 25.4191 -  if test "$GCC" = yes; then
 25.4192 -    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4193 -    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 25.4194 -
 25.4195 -    case $host_os in
 25.4196 -      aix*)
 25.4197 -      # All AIX code is PIC.
 25.4198 -      if test "$host_cpu" = ia64; then
 25.4199 -	# AIX 5 now supports IA64 processor
 25.4200 -	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4201 -      fi
 25.4202 -      ;;
 25.4203 -
 25.4204 -    amigaos*)
 25.4205 -      case $host_cpu in
 25.4206 -      powerpc)
 25.4207 -            # see comment about AmigaOS4 .so support
 25.4208 -            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 25.4209 -        ;;
 25.4210 -      m68k)
 25.4211 -            # FIXME: we need at least 68020 code to build shared libraries, but
 25.4212 -            # adding the `-m68020' flag to GCC prevents building anything better,
 25.4213 -            # like `-m68040'.
 25.4214 -            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 25.4215 -        ;;
 25.4216 -      esac
 25.4217 -      ;;
 25.4218 -
 25.4219 -    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 25.4220 -      # PIC is the default for these OSes.
 25.4221 -      ;;
 25.4222 -
 25.4223 -    mingw* | cygwin* | pw32* | os2* | cegcc*)
 25.4224 -      # This hack is so that the source file can tell whether it is being
 25.4225 -      # built for inclusion in a dll (and should export symbols for example).
 25.4226 -      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 25.4227 -      # (--disable-auto-import) libraries
 25.4228 -      m4_if([$1], [GCJ], [],
 25.4229 -	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
 25.4230 -      ;;
 25.4231 -
 25.4232 -    darwin* | rhapsody*)
 25.4233 -      # PIC is the default on this platform
 25.4234 -      # Common symbols not allowed in MH_DYLIB files
 25.4235 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
 25.4236 -      ;;
 25.4237 -
 25.4238 -    haiku*)
 25.4239 -      # PIC is the default for Haiku.
 25.4240 -      # The "-static" flag exists, but is broken.
 25.4241 -      _LT_TAGVAR(lt_prog_compiler_static, $1)=
 25.4242 -      ;;
 25.4243 -
 25.4244 -    hpux*)
 25.4245 -      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 25.4246 -      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 25.4247 -      # sets the default TLS model and affects inlining.
 25.4248 -      case $host_cpu in
 25.4249 -      hppa*64*)
 25.4250 -	# +Z the default
 25.4251 -	;;
 25.4252 -      *)
 25.4253 -	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 25.4254 -	;;
 25.4255 -      esac
 25.4256 -      ;;
 25.4257 -
 25.4258 -    interix[[3-9]]*)
 25.4259 -      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 25.4260 -      # Instead, we relocate shared libraries at runtime.
 25.4261 -      ;;
 25.4262 -
 25.4263 -    msdosdjgpp*)
 25.4264 -      # Just because we use GCC doesn't mean we suddenly get shared libraries
 25.4265 -      # on systems that don't support them.
 25.4266 -      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 25.4267 -      enable_shared=no
 25.4268 -      ;;
 25.4269 -
 25.4270 -    *nto* | *qnx*)
 25.4271 -      # QNX uses GNU C++, but need to define -shared option too, otherwise
 25.4272 -      # it will coredump.
 25.4273 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
 25.4274 -      ;;
 25.4275 -
 25.4276 -    sysv4*MP*)
 25.4277 -      if test -d /usr/nec; then
 25.4278 -	_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
 25.4279 -      fi
 25.4280 -      ;;
 25.4281 -
 25.4282 -    *)
 25.4283 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 25.4284 -      ;;
 25.4285 -    esac
 25.4286 -
 25.4287 -    case $cc_basename in
 25.4288 -    nvcc*) # Cuda Compiler Driver 2.2
 25.4289 -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
 25.4290 -      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
 25.4291 -        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
 25.4292 -      fi
 25.4293 -      ;;
 25.4294 -    esac
 25.4295 -  else
 25.4296 -    # PORTME Check for flag to pass linker flags through the system compiler.
 25.4297 -    case $host_os in
 25.4298 -    aix*)
 25.4299 -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4300 -      if test "$host_cpu" = ia64; then
 25.4301 -	# AIX 5 now supports IA64 processor
 25.4302 -	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4303 -      else
 25.4304 -	_LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
 25.4305 -      fi
 25.4306 -      ;;
 25.4307 -
 25.4308 -    mingw* | cygwin* | pw32* | os2* | cegcc*)
 25.4309 -      # This hack is so that the source file can tell whether it is being
 25.4310 -      # built for inclusion in a dll (and should export symbols for example).
 25.4311 -      m4_if([$1], [GCJ], [],
 25.4312 -	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
 25.4313 -      ;;
 25.4314 -
 25.4315 -    hpux9* | hpux10* | hpux11*)
 25.4316 -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4317 -      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 25.4318 -      # not for PA HP-UX.
 25.4319 -      case $host_cpu in
 25.4320 -      hppa*64*|ia64*)
 25.4321 -	# +Z the default
 25.4322 -	;;
 25.4323 -      *)
 25.4324 -	_LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 25.4325 -	;;
 25.4326 -      esac
 25.4327 -      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 25.4328 -      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 25.4329 -      ;;
 25.4330 -
 25.4331 -    irix5* | irix6* | nonstopux*)
 25.4332 -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4333 -      # PIC (with -KPIC) is the default.
 25.4334 -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 25.4335 -      ;;
 25.4336 -
 25.4337 -    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 25.4338 -      case $cc_basename in
 25.4339 -      # old Intel for x86_64 which still supported -KPIC.
 25.4340 -      ecc*)
 25.4341 -	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4342 -	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4343 -	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 25.4344 -        ;;
 25.4345 -      # icc used to be incompatible with GCC.
 25.4346 -      # ICC 10 doesn't accept -KPIC any more.
 25.4347 -      icc* | ifort*)
 25.4348 -	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4349 -	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 25.4350 -	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 25.4351 -        ;;
 25.4352 -      # Lahey Fortran 8.1.
 25.4353 -      lf95*)
 25.4354 -	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4355 -	_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
 25.4356 -	_LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
 25.4357 -	;;
 25.4358 -      nagfor*)
 25.4359 -	# NAG Fortran compiler
 25.4360 -	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
 25.4361 -	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
 25.4362 -	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4363 -	;;
 25.4364 -      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 25.4365 -        # Portland Group compilers (*not* the Pentium gcc compiler,
 25.4366 -	# which looks to be a dead project)
 25.4367 -	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4368 -	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 25.4369 -	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4370 -        ;;
 25.4371 -      ccc*)
 25.4372 -        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4373 -        # All Alpha code is PIC.
 25.4374 -        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 25.4375 -        ;;
 25.4376 -      xl* | bgxl* | bgf* | mpixl*)
 25.4377 -	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 25.4378 -	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4379 -	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
 25.4380 -	_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
 25.4381 -	;;
 25.4382 -      *)
 25.4383 -	case `$CC -V 2>&1 | sed 5q` in
 25.4384 -	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
 25.4385 -	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 25.4386 -	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4387 -	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4388 -	  _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
 25.4389 -	  ;;
 25.4390 -	*Sun\ F* | *Sun*Fortran*)
 25.4391 -	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4392 -	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4393 -	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 25.4394 -	  ;;
 25.4395 -	*Sun\ C*)
 25.4396 -	  # Sun C 5.9
 25.4397 -	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4398 -	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4399 -	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4400 -	  ;;
 25.4401 -        *Intel*\ [[CF]]*Compiler*)
 25.4402 -	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4403 -	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 25.4404 -	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 25.4405 -	  ;;
 25.4406 -	*Portland\ Group*)
 25.4407 -	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4408 -	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 25.4409 -	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4410 -	  ;;
 25.4411 -	esac
 25.4412 -	;;
 25.4413 -      esac
 25.4414 -      ;;
 25.4415 -
 25.4416 -    newsos6)
 25.4417 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4418 -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4419 -      ;;
 25.4420 -
 25.4421 -    *nto* | *qnx*)
 25.4422 -      # QNX uses GNU C++, but need to define -shared option too, otherwise
 25.4423 -      # it will coredump.
 25.4424 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
 25.4425 -      ;;
 25.4426 -
 25.4427 -    osf3* | osf4* | osf5*)
 25.4428 -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4429 -      # All OSF/1 code is PIC.
 25.4430 -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 25.4431 -      ;;
 25.4432 -
 25.4433 -    rdos*)
 25.4434 -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 25.4435 -      ;;
 25.4436 -
 25.4437 -    solaris*)
 25.4438 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4439 -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4440 -      case $cc_basename in
 25.4441 -      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 25.4442 -	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
 25.4443 -      *)
 25.4444 -	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
 25.4445 -      esac
 25.4446 -      ;;
 25.4447 -
 25.4448 -    sunos4*)
 25.4449 -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 25.4450 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
 25.4451 -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4452 -      ;;
 25.4453 -
 25.4454 -    sysv4 | sysv4.2uw2* | sysv4.3*)
 25.4455 -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4456 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4457 -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4458 -      ;;
 25.4459 -
 25.4460 -    sysv4*MP*)
 25.4461 -      if test -d /usr/nec ;then
 25.4462 -	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
 25.4463 -	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4464 -      fi
 25.4465 -      ;;
 25.4466 -
 25.4467 -    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 25.4468 -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4469 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 25.4470 -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4471 -      ;;
 25.4472 -
 25.4473 -    unicos*)
 25.4474 -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 25.4475 -      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 25.4476 -      ;;
 25.4477 -
 25.4478 -    uts4*)
 25.4479 -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 25.4480 -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 25.4481 -      ;;
 25.4482 -
 25.4483 -    *)
 25.4484 -      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 25.4485 -      ;;
 25.4486 -    esac
 25.4487 -  fi
 25.4488 -])
 25.4489 -case $host_os in
 25.4490 -  # For platforms which do not support PIC, -DPIC is meaningless:
 25.4491 -  *djgpp*)
 25.4492 -    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 25.4493 -    ;;
 25.4494 -  *)
 25.4495 -    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
 25.4496 -    ;;
 25.4497 -esac
 25.4498 -
 25.4499 -AC_CACHE_CHECK([for $compiler option to produce PIC],
 25.4500 -  [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
 25.4501 -  [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
 25.4502 -_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
 25.4503 -
 25.4504 -#
 25.4505 -# Check to make sure the PIC flag actually works.
 25.4506 -#
 25.4507 -if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
 25.4508 -  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
 25.4509 -    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
 25.4510 -    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
 25.4511 -    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
 25.4512 -     "" | " "*) ;;
 25.4513 -     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
 25.4514 -     esac],
 25.4515 -    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
 25.4516 -     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
 25.4517 -fi
 25.4518 -_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
 25.4519 -	[Additional compiler flags for building library objects])
 25.4520 -
 25.4521 -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
 25.4522 -	[How to pass a linker flag through the compiler])
 25.4523 -#
 25.4524 -# Check to make sure the static flag actually works.
 25.4525 -#
 25.4526 -wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
 25.4527 -_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
 25.4528 -  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
 25.4529 -  $lt_tmp_static_flag,
 25.4530 -  [],
 25.4531 -  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
 25.4532 -_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
 25.4533 -	[Compiler flag to prevent dynamic linking])
 25.4534 -])# _LT_COMPILER_PIC
 25.4535 -
 25.4536 -
 25.4537 -# _LT_LINKER_SHLIBS([TAGNAME])
 25.4538 -# ----------------------------
 25.4539 -# See if the linker supports building shared libraries.
 25.4540 -m4_defun([_LT_LINKER_SHLIBS],
 25.4541 -[AC_REQUIRE([LT_PATH_LD])dnl
 25.4542 -AC_REQUIRE([LT_PATH_NM])dnl
 25.4543 -m4_require([_LT_PATH_MANIFEST_TOOL])dnl
 25.4544 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 25.4545 -m4_require([_LT_DECL_EGREP])dnl
 25.4546 -m4_require([_LT_DECL_SED])dnl
 25.4547 -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
 25.4548 -m4_require([_LT_TAG_COMPILER])dnl
 25.4549 -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 25.4550 -m4_if([$1], [CXX], [
 25.4551 -  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 25.4552 -  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
 25.4553 -  case $host_os in
 25.4554 -  aix[[4-9]]*)
 25.4555 -    # If we're using GNU nm, then we don't want the "-C" option.
 25.4556 -    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 25.4557 -    # Also, AIX nm treats weak defined symbols like other global defined
 25.4558 -    # symbols, whereas GNU nm marks them as "W".
 25.4559 -    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 25.4560 -      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 25.4561 -    else
 25.4562 -      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 25.4563 -    fi
 25.4564 -    ;;
 25.4565 -  pw32*)
 25.4566 -    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
 25.4567 -    ;;
 25.4568 -  cygwin* | mingw* | cegcc*)
 25.4569 -    case $cc_basename in
 25.4570 -    cl*)
 25.4571 -      _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 25.4572 -      ;;
 25.4573 -    *)
 25.4574 -      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
 25.4575 -      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
 25.4576 -      ;;
 25.4577 -    esac
 25.4578 -    ;;
 25.4579 -  *)
 25.4580 -    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 25.4581 -    ;;
 25.4582 -  esac
 25.4583 -], [
 25.4584 -  runpath_var=
 25.4585 -  _LT_TAGVAR(allow_undefined_flag, $1)=
 25.4586 -  _LT_TAGVAR(always_export_symbols, $1)=no
 25.4587 -  _LT_TAGVAR(archive_cmds, $1)=
 25.4588 -  _LT_TAGVAR(archive_expsym_cmds, $1)=
 25.4589 -  _LT_TAGVAR(compiler_needs_object, $1)=no
 25.4590 -  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 25.4591 -  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 25.4592 -  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 25.4593 -  _LT_TAGVAR(hardcode_automatic, $1)=no
 25.4594 -  _LT_TAGVAR(hardcode_direct, $1)=no
 25.4595 -  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
 25.4596 -  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 25.4597 -  _LT_TAGVAR(hardcode_libdir_separator, $1)=
 25.4598 -  _LT_TAGVAR(hardcode_minus_L, $1)=no
 25.4599 -  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 25.4600 -  _LT_TAGVAR(inherit_rpath, $1)=no
 25.4601 -  _LT_TAGVAR(link_all_deplibs, $1)=unknown
 25.4602 -  _LT_TAGVAR(module_cmds, $1)=
 25.4603 -  _LT_TAGVAR(module_expsym_cmds, $1)=
 25.4604 -  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
 25.4605 -  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
 25.4606 -  _LT_TAGVAR(thread_safe_flag_spec, $1)=
 25.4607 -  _LT_TAGVAR(whole_archive_flag_spec, $1)=
 25.4608 -  # include_expsyms should be a list of space-separated symbols to be *always*
 25.4609 -  # included in the symbol list
 25.4610 -  _LT_TAGVAR(include_expsyms, $1)=
 25.4611 -  # exclude_expsyms can be an extended regexp of symbols to exclude
 25.4612 -  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 25.4613 -  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 25.4614 -  # as well as any symbol that contains `d'.
 25.4615 -  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
 25.4616 -  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 25.4617 -  # platforms (ab)use it in PIC code, but their linkers get confused if
 25.4618 -  # the symbol is explicitly referenced.  Since portable code cannot
 25.4619 -  # rely on this symbol name, it's probably fine to never include it in
 25.4620 -  # preloaded symbol tables.
 25.4621 -  # Exclude shared library initialization/finalization symbols.
 25.4622 -dnl Note also adjust exclude_expsyms for C++ above.
 25.4623 -  extract_expsyms_cmds=
 25.4624 -
 25.4625 -  case $host_os in
 25.4626 -  cygwin* | mingw* | pw32* | cegcc*)
 25.4627 -    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 25.4628 -    # When not using gcc, we currently assume that we are using
 25.4629 -    # Microsoft Visual C++.
 25.4630 -    if test "$GCC" != yes; then
 25.4631 -      with_gnu_ld=no
 25.4632 -    fi
 25.4633 -    ;;
 25.4634 -  interix*)
 25.4635 -    # we just hope/assume this is gcc and not c89 (= MSVC++)
 25.4636 -    with_gnu_ld=yes
 25.4637 -    ;;
 25.4638 -  openbsd*)
 25.4639 -    with_gnu_ld=no
 25.4640 -    ;;
 25.4641 -  esac
 25.4642 -
 25.4643 -  _LT_TAGVAR(ld_shlibs, $1)=yes
 25.4644 -
 25.4645 -  # On some targets, GNU ld is compatible enough with the native linker
 25.4646 -  # that we're better off using the native interface for both.
 25.4647 -  lt_use_gnu_ld_interface=no
 25.4648 -  if test "$with_gnu_ld" = yes; then
 25.4649 -    case $host_os in
 25.4650 -      aix*)
 25.4651 -	# The AIX port of GNU ld has always aspired to compatibility
 25.4652 -	# with the native linker.  However, as the warning in the GNU ld
 25.4653 -	# block says, versions before 2.19.5* couldn't really create working
 25.4654 -	# shared libraries, regardless of the interface used.
 25.4655 -	case `$LD -v 2>&1` in
 25.4656 -	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 25.4657 -	  *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
 25.4658 -	  *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
 25.4659 -	  *)
 25.4660 -	    lt_use_gnu_ld_interface=yes
 25.4661 -	    ;;
 25.4662 -	esac
 25.4663 -	;;
 25.4664 -      *)
 25.4665 -	lt_use_gnu_ld_interface=yes
 25.4666 -	;;
 25.4667 -    esac
 25.4668 -  fi
 25.4669 -
 25.4670 -  if test "$lt_use_gnu_ld_interface" = yes; then
 25.4671 -    # If archive_cmds runs LD, not CC, wlarc should be empty
 25.4672 -    wlarc='${wl}'
 25.4673 -
 25.4674 -    # Set some defaults for GNU ld with shared library support. These
 25.4675 -    # are reset later if shared libraries are not supported. Putting them
 25.4676 -    # here allows them to be overridden if necessary.
 25.4677 -    runpath_var=LD_RUN_PATH
 25.4678 -    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 25.4679 -    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 25.4680 -    # ancient GNU ld didn't support --whole-archive et. al.
 25.4681 -    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 25.4682 -      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 25.4683 -    else
 25.4684 -      _LT_TAGVAR(whole_archive_flag_spec, $1)=
 25.4685 -    fi
 25.4686 -    supports_anon_versioning=no
 25.4687 -    case `$LD -v 2>&1` in
 25.4688 -      *GNU\ gold*) supports_anon_versioning=yes ;;
 25.4689 -      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
 25.4690 -      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 25.4691 -      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 25.4692 -      *\ 2.11.*) ;; # other 2.11 versions
 25.4693 -      *) supports_anon_versioning=yes ;;
 25.4694 -    esac
 25.4695 -
 25.4696 -    # See if GNU ld supports shared libraries.
 25.4697 -    case $host_os in
 25.4698 -    aix[[3-9]]*)
 25.4699 -      # On AIX/PPC, the GNU linker is very broken
 25.4700 -      if test "$host_cpu" != ia64; then
 25.4701 -	_LT_TAGVAR(ld_shlibs, $1)=no
 25.4702 -	cat <<_LT_EOF 1>&2
 25.4703 -
 25.4704 -*** Warning: the GNU linker, at least up to release 2.19, is reported
 25.4705 -*** to be unable to reliably create shared libraries on AIX.
 25.4706 -*** Therefore, libtool is disabling shared libraries support.  If you
 25.4707 -*** really care for shared libraries, you may want to install binutils
 25.4708 -*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 25.4709 -*** You will then need to restart the configuration process.
 25.4710 -
 25.4711 -_LT_EOF
 25.4712 -      fi
 25.4713 -      ;;
 25.4714 -
 25.4715 -    amigaos*)
 25.4716 -      case $host_cpu in
 25.4717 -      powerpc)
 25.4718 -            # see comment about AmigaOS4 .so support
 25.4719 -            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 25.4720 -            _LT_TAGVAR(archive_expsym_cmds, $1)=''
 25.4721 -        ;;
 25.4722 -      m68k)
 25.4723 -            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 25.4724 -            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 25.4725 -            _LT_TAGVAR(hardcode_minus_L, $1)=yes
 25.4726 -        ;;
 25.4727 -      esac
 25.4728 -      ;;
 25.4729 -
 25.4730 -    beos*)
 25.4731 -      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 25.4732 -	_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 25.4733 -	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 25.4734 -	# support --undefined.  This deserves some investigation.  FIXME
 25.4735 -	_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 25.4736 -      else
 25.4737 -	_LT_TAGVAR(ld_shlibs, $1)=no
 25.4738 -      fi
 25.4739 -      ;;
 25.4740 -
 25.4741 -    cygwin* | mingw* | pw32* | cegcc*)
 25.4742 -      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
 25.4743 -      # as there is no search path for DLLs.
 25.4744 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 25.4745 -      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
 25.4746 -      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 25.4747 -      _LT_TAGVAR(always_export_symbols, $1)=no
 25.4748 -      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 25.4749 -      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
 25.4750 -      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
 25.4751 -
 25.4752 -      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 25.4753 -        _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'
 25.4754 -	# If the export-symbols file already is a .def file (1st line
 25.4755 -	# is EXPORTS), use it as is; otherwise, prepend...
 25.4756 -	_LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 25.4757 -	  cp $export_symbols $output_objdir/$soname.def;
 25.4758 -	else
 25.4759 -	  echo EXPORTS > $output_objdir/$soname.def;
 25.4760 -	  cat $export_symbols >> $output_objdir/$soname.def;
 25.4761 -	fi~
 25.4762 -	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 25.4763 -      else
 25.4764 -	_LT_TAGVAR(ld_shlibs, $1)=no
 25.4765 -      fi
 25.4766 -      ;;
 25.4767 -
 25.4768 -    haiku*)
 25.4769 -      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 25.4770 -      _LT_TAGVAR(link_all_deplibs, $1)=yes
 25.4771 -      ;;
 25.4772 -
 25.4773 -    interix[[3-9]]*)
 25.4774 -      _LT_TAGVAR(hardcode_direct, $1)=no
 25.4775 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.4776 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 25.4777 -      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 25.4778 -      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 25.4779 -      # Instead, shared libraries are loaded at an image base (0x10000000 by
 25.4780 -      # default) and relocated if they conflict, which is a slow very memory
 25.4781 -      # consuming and fragmenting process.  To avoid this, we pick a random,
 25.4782 -      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 25.4783 -      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 25.4784 -      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 25.4785 -      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 25.4786 -      ;;
 25.4787 -
 25.4788 -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 25.4789 -      tmp_diet=no
 25.4790 -      if test "$host_os" = linux-dietlibc; then
 25.4791 -	case $cc_basename in
 25.4792 -	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
 25.4793 -	esac
 25.4794 -      fi
 25.4795 -      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 25.4796 -	 && test "$tmp_diet" = no
 25.4797 -      then
 25.4798 -	tmp_addflag=' $pic_flag'
 25.4799 -	tmp_sharedflag='-shared'
 25.4800 -	case $cc_basename,$host_cpu in
 25.4801 -        pgcc*)				# Portland Group C compiler
 25.4802 -	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 25.4803 -	  tmp_addflag=' $pic_flag'
 25.4804 -	  ;;
 25.4805 -	pgf77* | pgf90* | pgf95* | pgfortran*)
 25.4806 -					# Portland Group f77 and f90 compilers
 25.4807 -	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 25.4808 -	  tmp_addflag=' $pic_flag -Mnomain' ;;
 25.4809 -	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 25.4810 -	  tmp_addflag=' -i_dynamic' ;;
 25.4811 -	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 25.4812 -	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 25.4813 -	ifc* | ifort*)			# Intel Fortran compiler
 25.4814 -	  tmp_addflag=' -nofor_main' ;;
 25.4815 -	lf95*)				# Lahey Fortran 8.1
 25.4816 -	  _LT_TAGVAR(whole_archive_flag_spec, $1)=
 25.4817 -	  tmp_sharedflag='--shared' ;;
 25.4818 -	xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 25.4819 -	  tmp_sharedflag='-qmkshrobj'
 25.4820 -	  tmp_addflag= ;;
 25.4821 -	nvcc*)	# Cuda Compiler Driver 2.2
 25.4822 -	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 25.4823 -	  _LT_TAGVAR(compiler_needs_object, $1)=yes
 25.4824 -	  ;;
 25.4825 -	esac
 25.4826 -	case `$CC -V 2>&1 | sed 5q` in
 25.4827 -	*Sun\ C*)			# Sun C 5.9
 25.4828 -	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 25.4829 -	  _LT_TAGVAR(compiler_needs_object, $1)=yes
 25.4830 -	  tmp_sharedflag='-G' ;;
 25.4831 -	*Sun\ F*)			# Sun Fortran 8.3
 25.4832 -	  tmp_sharedflag='-G' ;;
 25.4833 -	esac
 25.4834 -	_LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 25.4835 -
 25.4836 -        if test "x$supports_anon_versioning" = xyes; then
 25.4837 -          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
 25.4838 -	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 25.4839 -	    echo "local: *; };" >> $output_objdir/$libname.ver~
 25.4840 -	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 25.4841 -        fi
 25.4842 -
 25.4843 -	case $cc_basename in
 25.4844 -	xlf* | bgf* | bgxlf* | mpixlf*)
 25.4845 -	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 25.4846 -	  _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
 25.4847 -	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 25.4848 -	  _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 25.4849 -	  if test "x$supports_anon_versioning" = xyes; then
 25.4850 -	    _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
 25.4851 -	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 25.4852 -	      echo "local: *; };" >> $output_objdir/$libname.ver~
 25.4853 -	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 25.4854 -	  fi
 25.4855 -	  ;;
 25.4856 -	esac
 25.4857 -      else
 25.4858 -        _LT_TAGVAR(ld_shlibs, $1)=no
 25.4859 -      fi
 25.4860 -      ;;
 25.4861 -
 25.4862 -    netbsd*)
 25.4863 -      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 25.4864 -	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 25.4865 -	wlarc=
 25.4866 -      else
 25.4867 -	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 25.4868 -	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 25.4869 -      fi
 25.4870 -      ;;
 25.4871 -
 25.4872 -    solaris*)
 25.4873 -      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 25.4874 -	_LT_TAGVAR(ld_shlibs, $1)=no
 25.4875 -	cat <<_LT_EOF 1>&2
 25.4876 -
 25.4877 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 25.4878 -*** create shared libraries on Solaris systems.  Therefore, libtool
 25.4879 -*** is disabling shared libraries support.  We urge you to upgrade GNU
 25.4880 -*** binutils to release 2.9.1 or newer.  Another option is to modify
 25.4881 -*** your PATH or compiler configuration so that the native linker is
 25.4882 -*** used, and then restart.
 25.4883 -
 25.4884 -_LT_EOF
 25.4885 -      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 25.4886 -	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 25.4887 -	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 25.4888 -      else
 25.4889 -	_LT_TAGVAR(ld_shlibs, $1)=no
 25.4890 -      fi
 25.4891 -      ;;
 25.4892 -
 25.4893 -    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 25.4894 -      case `$LD -v 2>&1` in
 25.4895 -        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
 25.4896 -	_LT_TAGVAR(ld_shlibs, $1)=no
 25.4897 -	cat <<_LT_EOF 1>&2
 25.4898 -
 25.4899 -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 25.4900 -*** reliably create shared libraries on SCO systems.  Therefore, libtool
 25.4901 -*** is disabling shared libraries support.  We urge you to upgrade GNU
 25.4902 -*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 25.4903 -*** your PATH or compiler configuration so that the native linker is
 25.4904 -*** used, and then restart.
 25.4905 -
 25.4906 -_LT_EOF
 25.4907 -	;;
 25.4908 -	*)
 25.4909 -	  # For security reasons, it is highly recommended that you always
 25.4910 -	  # use absolute paths for naming shared libraries, and exclude the
 25.4911 -	  # DT_RUNPATH tag from executables and libraries.  But doing so
 25.4912 -	  # requires that you compile everything twice, which is a pain.
 25.4913 -	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 25.4914 -	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 25.4915 -	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 25.4916 -	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 25.4917 -	  else
 25.4918 -	    _LT_TAGVAR(ld_shlibs, $1)=no
 25.4919 -	  fi
 25.4920 -	;;
 25.4921 -      esac
 25.4922 -      ;;
 25.4923 -
 25.4924 -    sunos4*)
 25.4925 -      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 25.4926 -      wlarc=
 25.4927 -      _LT_TAGVAR(hardcode_direct, $1)=yes
 25.4928 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.4929 -      ;;
 25.4930 -
 25.4931 -    *)
 25.4932 -      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 25.4933 -	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 25.4934 -	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 25.4935 -      else
 25.4936 -	_LT_TAGVAR(ld_shlibs, $1)=no
 25.4937 -      fi
 25.4938 -      ;;
 25.4939 -    esac
 25.4940 -
 25.4941 -    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
 25.4942 -      runpath_var=
 25.4943 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 25.4944 -      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 25.4945 -      _LT_TAGVAR(whole_archive_flag_spec, $1)=
 25.4946 -    fi
 25.4947 -  else
 25.4948 -    # PORTME fill in a description of your system's linker (not GNU ld)
 25.4949 -    case $host_os in
 25.4950 -    aix3*)
 25.4951 -      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 25.4952 -      _LT_TAGVAR(always_export_symbols, $1)=yes
 25.4953 -      _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 25.4954 -      # Note: this linker hardcodes the directories in LIBPATH if there
 25.4955 -      # are no directories specified by -L.
 25.4956 -      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 25.4957 -      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 25.4958 -	# Neither direct hardcoding nor static linking is supported with a
 25.4959 -	# broken collect2.
 25.4960 -	_LT_TAGVAR(hardcode_direct, $1)=unsupported
 25.4961 -      fi
 25.4962 -      ;;
 25.4963 -
 25.4964 -    aix[[4-9]]*)
 25.4965 -      if test "$host_cpu" = ia64; then
 25.4966 -	# On IA64, the linker does run time linking by default, so we don't
 25.4967 -	# have to do anything special.
 25.4968 -	aix_use_runtimelinking=no
 25.4969 -	exp_sym_flag='-Bexport'
 25.4970 -	no_entry_flag=""
 25.4971 -      else
 25.4972 -	# If we're using GNU nm, then we don't want the "-C" option.
 25.4973 -	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 25.4974 -	# Also, AIX nm treats weak defined symbols like other global
 25.4975 -	# defined symbols, whereas GNU nm marks them as "W".
 25.4976 -	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 25.4977 -	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 25.4978 -	else
 25.4979 -	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 25.4980 -	fi
 25.4981 -	aix_use_runtimelinking=no
 25.4982 -
 25.4983 -	# Test if we are trying to use run time linking or normal
 25.4984 -	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 25.4985 -	# need to do runtime linking.
 25.4986 -	case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
 25.4987 -	  for ld_flag in $LDFLAGS; do
 25.4988 -	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 25.4989 -	    aix_use_runtimelinking=yes
 25.4990 -	    break
 25.4991 -	  fi
 25.4992 -	  done
 25.4993 -	  ;;
 25.4994 -	esac
 25.4995 -
 25.4996 -	exp_sym_flag='-bexport'
 25.4997 -	no_entry_flag='-bnoentry'
 25.4998 -      fi
 25.4999 -
 25.5000 -      # When large executables or shared objects are built, AIX ld can
 25.5001 -      # have problems creating the table of contents.  If linking a library
 25.5002 -      # or program results in "error TOC overflow" add -mminimal-toc to
 25.5003 -      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 25.5004 -      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 25.5005 -
 25.5006 -      _LT_TAGVAR(archive_cmds, $1)=''
 25.5007 -      _LT_TAGVAR(hardcode_direct, $1)=yes
 25.5008 -      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 25.5009 -      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 25.5010 -      _LT_TAGVAR(link_all_deplibs, $1)=yes
 25.5011 -      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
 25.5012 -
 25.5013 -      if test "$GCC" = yes; then
 25.5014 -	case $host_os in aix4.[[012]]|aix4.[[012]].*)
 25.5015 -	# We only want to do this on AIX 4.2 and lower, the check
 25.5016 -	# below for broken collect2 doesn't work under 4.3+
 25.5017 -	  collect2name=`${CC} -print-prog-name=collect2`
 25.5018 -	  if test -f "$collect2name" &&
 25.5019 -	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 25.5020 -	  then
 25.5021 -	  # We have reworked collect2
 25.5022 -	  :
 25.5023 -	  else
 25.5024 -	  # We have old collect2
 25.5025 -	  _LT_TAGVAR(hardcode_direct, $1)=unsupported
 25.5026 -	  # It fails to find uninstalled libraries when the uninstalled
 25.5027 -	  # path is not listed in the libpath.  Setting hardcode_minus_L
 25.5028 -	  # to unsupported forces relinking
 25.5029 -	  _LT_TAGVAR(hardcode_minus_L, $1)=yes
 25.5030 -	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 25.5031 -	  _LT_TAGVAR(hardcode_libdir_separator, $1)=
 25.5032 -	  fi
 25.5033 -	  ;;
 25.5034 -	esac
 25.5035 -	shared_flag='-shared'
 25.5036 -	if test "$aix_use_runtimelinking" = yes; then
 25.5037 -	  shared_flag="$shared_flag "'${wl}-G'
 25.5038 -	fi
 25.5039 -      else
 25.5040 -	# not using gcc
 25.5041 -	if test "$host_cpu" = ia64; then
 25.5042 -	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 25.5043 -	# chokes on -Wl,-G. The following line is correct:
 25.5044 -	  shared_flag='-G'
 25.5045 -	else
 25.5046 -	  if test "$aix_use_runtimelinking" = yes; then
 25.5047 -	    shared_flag='${wl}-G'
 25.5048 -	  else
 25.5049 -	    shared_flag='${wl}-bM:SRE'
 25.5050 -	  fi
 25.5051 -	fi
 25.5052 -      fi
 25.5053 -
 25.5054 -      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
 25.5055 -      # It seems that -bexpall does not export symbols beginning with
 25.5056 -      # underscore (_), so it is better to generate a list of symbols to export.
 25.5057 -      _LT_TAGVAR(always_export_symbols, $1)=yes
 25.5058 -      if test "$aix_use_runtimelinking" = yes; then
 25.5059 -	# Warning - without using the other runtime loading flags (-brtl),
 25.5060 -	# -berok will link without error, but may produce a broken library.
 25.5061 -	_LT_TAGVAR(allow_undefined_flag, $1)='-berok'
 25.5062 -        # Determine the default libpath from the value encoded in an
 25.5063 -        # empty executable.
 25.5064 -        _LT_SYS_MODULE_PATH_AIX([$1])
 25.5065 -        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 25.5066 -        _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"
 25.5067 -      else
 25.5068 -	if test "$host_cpu" = ia64; then
 25.5069 -	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
 25.5070 -	  _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
 25.5071 -	  _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 25.5072 -	else
 25.5073 -	 # Determine the default libpath from the value encoded in an
 25.5074 -	 # empty executable.
 25.5075 -	 _LT_SYS_MODULE_PATH_AIX([$1])
 25.5076 -	 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 25.5077 -	  # Warning - without using the other run time loading flags,
 25.5078 -	  # -berok will link without error, but may produce a broken library.
 25.5079 -	  _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 25.5080 -	  _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
 25.5081 -	  if test "$with_gnu_ld" = yes; then
 25.5082 -	    # We only use this code for GNU lds that support --whole-archive.
 25.5083 -	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 25.5084 -	  else
 25.5085 -	    # Exported symbols can be pulled into shared objects from archives
 25.5086 -	    _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 25.5087 -	  fi
 25.5088 -	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 25.5089 -	  # This is similar to how AIX traditionally builds its shared libraries.
 25.5090 -	  _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 25.5091 -	fi
 25.5092 -      fi
 25.5093 -      ;;
 25.5094 -
 25.5095 -    amigaos*)
 25.5096 -      case $host_cpu in
 25.5097 -      powerpc)
 25.5098 -            # see comment about AmigaOS4 .so support
 25.5099 -            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 25.5100 -            _LT_TAGVAR(archive_expsym_cmds, $1)=''
 25.5101 -        ;;
 25.5102 -      m68k)
 25.5103 -            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 25.5104 -            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 25.5105 -            _LT_TAGVAR(hardcode_minus_L, $1)=yes
 25.5106 -        ;;
 25.5107 -      esac
 25.5108 -      ;;
 25.5109 -
 25.5110 -    bsdi[[45]]*)
 25.5111 -      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
 25.5112 -      ;;
 25.5113 -
 25.5114 -    cygwin* | mingw* | pw32* | cegcc*)
 25.5115 -      # When not using gcc, we currently assume that we are using
 25.5116 -      # Microsoft Visual C++.
 25.5117 -      # hardcode_libdir_flag_spec is actually meaningless, as there is
 25.5118 -      # no search path for DLLs.
 25.5119 -      case $cc_basename in
 25.5120 -      cl*)
 25.5121 -	# Native MSVC
 25.5122 -	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
 25.5123 -	_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 25.5124 -	_LT_TAGVAR(always_export_symbols, $1)=yes
 25.5125 -	_LT_TAGVAR(file_list_spec, $1)='@'
 25.5126 -	# Tell ltmain to make .lib files, not .a files.
 25.5127 -	libext=lib
 25.5128 -	# Tell ltmain to make .dll files, not .so files.
 25.5129 -	shrext_cmds=".dll"
 25.5130 -	# FIXME: Setting linknames here is a bad hack.
 25.5131 -	_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 25.5132 -	_LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 25.5133 -	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 25.5134 -	  else
 25.5135 -	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 25.5136 -	  fi~
 25.5137 -	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 25.5138 -	  linknames='
 25.5139 -	# The linker will not automatically build a static lib if we build a DLL.
 25.5140 -	# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
 25.5141 -	_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 25.5142 -	_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 25.5143 -	_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
 25.5144 -	# Don't use ranlib
 25.5145 -	_LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
 25.5146 -	_LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
 25.5147 -	  lt_tool_outputfile="@TOOL_OUTPUT@"~
 25.5148 -	  case $lt_outputfile in
 25.5149 -	    *.exe|*.EXE) ;;
 25.5150 -	    *)
 25.5151 -	      lt_outputfile="$lt_outputfile.exe"
 25.5152 -	      lt_tool_outputfile="$lt_tool_outputfile.exe"
 25.5153 -	      ;;
 25.5154 -	  esac~
 25.5155 -	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 25.5156 -	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 25.5157 -	    $RM "$lt_outputfile.manifest";
 25.5158 -	  fi'
 25.5159 -	;;
 25.5160 -      *)
 25.5161 -	# Assume MSVC wrapper
 25.5162 -	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
 25.5163 -	_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 25.5164 -	# Tell ltmain to make .lib files, not .a files.
 25.5165 -	libext=lib
 25.5166 -	# Tell ltmain to make .dll files, not .so files.
 25.5167 -	shrext_cmds=".dll"
 25.5168 -	# FIXME: Setting linknames here is a bad hack.
 25.5169 -	_LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 25.5170 -	# The linker will automatically build a .lib file if we build a DLL.
 25.5171 -	_LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
 25.5172 -	# FIXME: Should let the user specify the lib program.
 25.5173 -	_LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
 25.5174 -	_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 25.5175 -	;;
 25.5176 -      esac
 25.5177 -      ;;
 25.5178 -
 25.5179 -    darwin* | rhapsody*)
 25.5180 -      _LT_DARWIN_LINKER_FEATURES($1)
 25.5181 -      ;;
 25.5182 -
 25.5183 -    dgux*)
 25.5184 -      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 25.5185 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 25.5186 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5187 -      ;;
 25.5188 -
 25.5189 -    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 25.5190 -    # support.  Future versions do this automatically, but an explicit c++rt0.o
 25.5191 -    # does not break anything, and helps significantly (at the cost of a little
 25.5192 -    # extra space).
 25.5193 -    freebsd2.2*)
 25.5194 -      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 25.5195 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 25.5196 -      _LT_TAGVAR(hardcode_direct, $1)=yes
 25.5197 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5198 -      ;;
 25.5199 -
 25.5200 -    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 25.5201 -    freebsd2.*)
 25.5202 -      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 25.5203 -      _LT_TAGVAR(hardcode_direct, $1)=yes
 25.5204 -      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 25.5205 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5206 -      ;;
 25.5207 -
 25.5208 -    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 25.5209 -    freebsd* | dragonfly*)
 25.5210 -      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 25.5211 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 25.5212 -      _LT_TAGVAR(hardcode_direct, $1)=yes
 25.5213 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5214 -      ;;
 25.5215 -
 25.5216 -    hpux9*)
 25.5217 -      if test "$GCC" = yes; then
 25.5218 -	_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 25.5219 -      else
 25.5220 -	_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'
 25.5221 -      fi
 25.5222 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 25.5223 -      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 25.5224 -      _LT_TAGVAR(hardcode_direct, $1)=yes
 25.5225 -
 25.5226 -      # hardcode_minus_L: Not really in the search PATH,
 25.5227 -      # but as the default location of the library.
 25.5228 -      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 25.5229 -      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 25.5230 -      ;;
 25.5231 -
 25.5232 -    hpux10*)
 25.5233 -      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 25.5234 -	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 25.5235 -      else
 25.5236 -	_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 25.5237 -      fi
 25.5238 -      if test "$with_gnu_ld" = no; then
 25.5239 -	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 25.5240 -	_LT_TAGVAR(hardcode_libdir_separator, $1)=:
 25.5241 -	_LT_TAGVAR(hardcode_direct, $1)=yes
 25.5242 -	_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 25.5243 -	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 25.5244 -	# hardcode_minus_L: Not really in the search PATH,
 25.5245 -	# but as the default location of the library.
 25.5246 -	_LT_TAGVAR(hardcode_minus_L, $1)=yes
 25.5247 -      fi
 25.5248 -      ;;
 25.5249 -
 25.5250 -    hpux11*)
 25.5251 -      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 25.5252 -	case $host_cpu in
 25.5253 -	hppa*64*)
 25.5254 -	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5255 -	  ;;
 25.5256 -	ia64*)
 25.5257 -	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 25.5258 -	  ;;
 25.5259 -	*)
 25.5260 -	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 25.5261 -	  ;;
 25.5262 -	esac
 25.5263 -      else
 25.5264 -	case $host_cpu in
 25.5265 -	hppa*64*)
 25.5266 -	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5267 -	  ;;
 25.5268 -	ia64*)
 25.5269 -	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 25.5270 -	  ;;
 25.5271 -	*)
 25.5272 -	m4_if($1, [], [
 25.5273 -	  # Older versions of the 11.00 compiler do not understand -b yet
 25.5274 -	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 25.5275 -	  _LT_LINKER_OPTION([if $CC understands -b],
 25.5276 -	    _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
 25.5277 -	    [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
 25.5278 -	    [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
 25.5279 -	  [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
 25.5280 -	  ;;
 25.5281 -	esac
 25.5282 -      fi
 25.5283 -      if test "$with_gnu_ld" = no; then
 25.5284 -	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 25.5285 -	_LT_TAGVAR(hardcode_libdir_separator, $1)=:
 25.5286 -
 25.5287 -	case $host_cpu in
 25.5288 -	hppa*64*|ia64*)
 25.5289 -	  _LT_TAGVAR(hardcode_direct, $1)=no
 25.5290 -	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5291 -	  ;;
 25.5292 -	*)
 25.5293 -	  _LT_TAGVAR(hardcode_direct, $1)=yes
 25.5294 -	  _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 25.5295 -	  _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 25.5296 -
 25.5297 -	  # hardcode_minus_L: Not really in the search PATH,
 25.5298 -	  # but as the default location of the library.
 25.5299 -	  _LT_TAGVAR(hardcode_minus_L, $1)=yes
 25.5300 -	  ;;
 25.5301 -	esac
 25.5302 -      fi
 25.5303 -      ;;
 25.5304 -
 25.5305 -    irix5* | irix6* | nonstopux*)
 25.5306 -      if test "$GCC" = yes; then
 25.5307 -	_LT_TAGVAR(archive_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 -o $lib'
 25.5308 -	# Try to use the -exported_symbol ld option, if it does not
 25.5309 -	# work, assume that -exports_file does not work either and
 25.5310 -	# implicitly export all symbols.
 25.5311 -	# This should be the same for all languages, so no per-tag cache variable.
 25.5312 -	AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
 25.5313 -	  [lt_cv_irix_exported_symbol],
 25.5314 -	  [save_LDFLAGS="$LDFLAGS"
 25.5315 -	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 25.5316 -	   AC_LINK_IFELSE(
 25.5317 -	     [AC_LANG_SOURCE(
 25.5318 -	        [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
 25.5319 -			      [C++], [[int foo (void) { return 0; }]],
 25.5320 -			      [Fortran 77], [[
 25.5321 -      subroutine foo
 25.5322 -      end]],
 25.5323 -			      [Fortran], [[
 25.5324 -      subroutine foo
 25.5325 -      end]])])],
 25.5326 -	      [lt_cv_irix_exported_symbol=yes],
 25.5327 -	      [lt_cv_irix_exported_symbol=no])
 25.5328 -           LDFLAGS="$save_LDFLAGS"])
 25.5329 -	if test "$lt_cv_irix_exported_symbol" = yes; then
 25.5330 -          _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'
 25.5331 -	fi
 25.5332 -      else
 25.5333 -	_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'
 25.5334 -	_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'
 25.5335 -      fi
 25.5336 -      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
 25.5337 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 25.5338 -      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 25.5339 -      _LT_TAGVAR(inherit_rpath, $1)=yes
 25.5340 -      _LT_TAGVAR(link_all_deplibs, $1)=yes
 25.5341 -      ;;
 25.5342 -
 25.5343 -    netbsd*)
 25.5344 -      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 25.5345 -	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 25.5346 -      else
 25.5347 -	_LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 25.5348 -      fi
 25.5349 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 25.5350 -      _LT_TAGVAR(hardcode_direct, $1)=yes
 25.5351 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5352 -      ;;
 25.5353 -
 25.5354 -    newsos6)
 25.5355 -      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 25.5356 -      _LT_TAGVAR(hardcode_direct, $1)=yes
 25.5357 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 25.5358 -      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 25.5359 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5360 -      ;;
 25.5361 -
 25.5362 -    *nto* | *qnx*)
 25.5363 -      ;;
 25.5364 -
 25.5365 -    openbsd*)
 25.5366 -      if test -f /usr/libexec/ld.so; then
 25.5367 -	_LT_TAGVAR(hardcode_direct, $1)=yes
 25.5368 -	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5369 -	_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 25.5370 -	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 25.5371 -	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 25.5372 -	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 25.5373 -	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 25.5374 -	  _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 25.5375 -	else
 25.5376 -	  case $host_os in
 25.5377 -	   openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
 25.5378 -	     _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 25.5379 -	     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 25.5380 -	     ;;
 25.5381 -	   *)
 25.5382 -	     _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 25.5383 -	     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 25.5384 -	     ;;
 25.5385 -	  esac
 25.5386 -	fi
 25.5387 -      else
 25.5388 -	_LT_TAGVAR(ld_shlibs, $1)=no
 25.5389 -      fi
 25.5390 -      ;;
 25.5391 -
 25.5392 -    os2*)
 25.5393 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 25.5394 -      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 25.5395 -      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 25.5396 -      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 25.5397 -      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 25.5398 -      ;;
 25.5399 -
 25.5400 -    osf3*)
 25.5401 -      if test "$GCC" = yes; then
 25.5402 -	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 25.5403 -	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_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 -o $lib'
 25.5404 -      else
 25.5405 -	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 25.5406 -	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 25.5407 -      fi
 25.5408 -      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
 25.5409 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 25.5410 -      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 25.5411 -      ;;
 25.5412 -
 25.5413 -    osf4* | osf5*)	# as osf3* with the addition of -msym flag
 25.5414 -      if test "$GCC" = yes; then
 25.5415 -	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 25.5416 -	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $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'
 25.5417 -	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 25.5418 -      else
 25.5419 -	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 25.5420 -	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 25.5421 -	_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 25.5422 -	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 25.5423 -
 25.5424 -	# Both c and cxx compiler support -rpath directly
 25.5425 -	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 25.5426 -      fi
 25.5427 -      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
 25.5428 -      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 25.5429 -      ;;
 25.5430 -
 25.5431 -    solaris*)
 25.5432 -      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
 25.5433 -      if test "$GCC" = yes; then
 25.5434 -	wlarc='${wl}'
 25.5435 -	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5436 -	_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 25.5437 -	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 25.5438 -      else
 25.5439 -	case `$CC -V 2>&1` in
 25.5440 -	*"Compilers 5.0"*)
 25.5441 -	  wlarc=''
 25.5442 -	  _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 25.5443 -	  _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 25.5444 -	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 25.5445 -	  ;;
 25.5446 -	*)
 25.5447 -	  wlarc='${wl}'
 25.5448 -	  _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5449 -	  _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 25.5450 -	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 25.5451 -	  ;;
 25.5452 -	esac
 25.5453 -      fi
 25.5454 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 25.5455 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5456 -      case $host_os in
 25.5457 -      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 25.5458 -      *)
 25.5459 -	# The compiler driver will combine and reorder linker options,
 25.5460 -	# but understands `-z linker_flag'.  GCC discards it without `$wl',
 25.5461 -	# but is careful enough not to reorder.
 25.5462 -	# Supported since Solaris 2.6 (maybe 2.5.1?)
 25.5463 -	if test "$GCC" = yes; then
 25.5464 -	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 25.5465 -	else
 25.5466 -	  _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
 25.5467 -	fi
 25.5468 -	;;
 25.5469 -      esac
 25.5470 -      _LT_TAGVAR(link_all_deplibs, $1)=yes
 25.5471 -      ;;
 25.5472 -
 25.5473 -    sunos4*)
 25.5474 -      if test "x$host_vendor" = xsequent; then
 25.5475 -	# Use $CC to link under sequent, because it throws in some extra .o
 25.5476 -	# files that make .init and .fini sections work.
 25.5477 -	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5478 -      else
 25.5479 -	_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 25.5480 -      fi
 25.5481 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 25.5482 -      _LT_TAGVAR(hardcode_direct, $1)=yes
 25.5483 -      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 25.5484 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5485 -      ;;
 25.5486 -
 25.5487 -    sysv4)
 25.5488 -      case $host_vendor in
 25.5489 -	sni)
 25.5490 -	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 25.5491 -	  _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
 25.5492 -	;;
 25.5493 -	siemens)
 25.5494 -	  ## LD is ld it makes a PLAMLIB
 25.5495 -	  ## CC just makes a GrossModule.
 25.5496 -	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 25.5497 -	  _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
 25.5498 -	  _LT_TAGVAR(hardcode_direct, $1)=no
 25.5499 -        ;;
 25.5500 -	motorola)
 25.5501 -	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 25.5502 -	  _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
 25.5503 -	;;
 25.5504 -      esac
 25.5505 -      runpath_var='LD_RUN_PATH'
 25.5506 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5507 -      ;;
 25.5508 -
 25.5509 -    sysv4.3*)
 25.5510 -      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 25.5511 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5512 -      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
 25.5513 -      ;;
 25.5514 -
 25.5515 -    sysv4*MP*)
 25.5516 -      if test -d /usr/nec; then
 25.5517 -	_LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 25.5518 -	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5519 -	runpath_var=LD_RUN_PATH
 25.5520 -	hardcode_runpath_var=yes
 25.5521 -	_LT_TAGVAR(ld_shlibs, $1)=yes
 25.5522 -      fi
 25.5523 -      ;;
 25.5524 -
 25.5525 -    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
 25.5526 -      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 25.5527 -      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 25.5528 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5529 -      runpath_var='LD_RUN_PATH'
 25.5530 -
 25.5531 -      if test "$GCC" = yes; then
 25.5532 -	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5533 -	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5534 -      else
 25.5535 -	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5536 -	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5537 -      fi
 25.5538 -      ;;
 25.5539 -
 25.5540 -    sysv5* | sco3.2v5* | sco5v6*)
 25.5541 -      # Note: We can NOT use -z defs as we might desire, because we do not
 25.5542 -      # link with -lc, and that would cause any symbols used from libc to
 25.5543 -      # always be unresolved, which means just about no library would
 25.5544 -      # ever link correctly.  If we're not using GNU ld we use -z text
 25.5545 -      # though, which does catch some bad symbols but isn't as heavy-handed
 25.5546 -      # as -z defs.
 25.5547 -      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 25.5548 -      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
 25.5549 -      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 25.5550 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5551 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
 25.5552 -      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 25.5553 -      _LT_TAGVAR(link_all_deplibs, $1)=yes
 25.5554 -      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
 25.5555 -      runpath_var='LD_RUN_PATH'
 25.5556 -
 25.5557 -      if test "$GCC" = yes; then
 25.5558 -	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5559 -	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5560 -      else
 25.5561 -	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5562 -	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 25.5563 -      fi
 25.5564 -      ;;
 25.5565 -
 25.5566 -    uts4*)
 25.5567 -      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 25.5568 -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 25.5569 -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 25.5570 -      ;;
 25.5571 -
 25.5572 -    *)
 25.5573 -      _LT_TAGVAR(ld_shlibs, $1)=no
 25.5574 -      ;;
 25.5575 -    esac
 25.5576 -
 25.5577 -    if test x$host_vendor = xsni; then
 25.5578 -      case $host in
 25.5579 -      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 25.5580 -	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
 25.5581 -	;;
 25.5582 -      esac
 25.5583 -    fi
 25.5584 -  fi
 25.5585 -])
 25.5586 -AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
 25.5587 -test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 25.5588 -
 25.5589 -_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
 25.5590 -
 25.5591 -_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
 25.5592 -_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
 25.5593 -_LT_DECL([], [extract_expsyms_cmds], [2],
 25.5594 -    [The commands to extract the exported symbol list from a shared archive])
 25.5595 -
 25.5596 -#
 25.5597 -# Do we need to explicitly link libc?
 25.5598 -#
 25.5599 -case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
 25.5600 -x|xyes)
 25.5601 -  # Assume -lc should be added
 25.5602 -  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 25.5603 -
 25.5604 -  if test "$enable_shared" = yes && test "$GCC" = yes; then
 25.5605 -    case $_LT_TAGVAR(archive_cmds, $1) in
 25.5606 -    *'~'*)
 25.5607 -      # FIXME: we may have to deal with multi-command sequences.
 25.5608 -      ;;
 25.5609 -    '$CC '*)
 25.5610 -      # Test whether the compiler implicitly links with -lc since on some
 25.5611 -      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 25.5612 -      # to ld, don't add -lc before -lgcc.
 25.5613 -      AC_CACHE_CHECK([whether -lc should be explicitly linked in],
 25.5614 -	[lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
 25.5615 -	[$RM conftest*
 25.5616 -	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 25.5617 -
 25.5618 -	if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
 25.5619 -	  soname=conftest
 25.5620 -	  lib=conftest
 25.5621 -	  libobjs=conftest.$ac_objext
 25.5622 -	  deplibs=
 25.5623 -	  wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
 25.5624 -	  pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
 25.5625 -	  compiler_flags=-v
 25.5626 -	  linker_flags=-v
 25.5627 -	  verstring=
 25.5628 -	  output_objdir=.
 25.5629 -	  libname=conftest
 25.5630 -	  lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
 25.5631 -	  _LT_TAGVAR(allow_undefined_flag, $1)=
 25.5632 -	  if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
 25.5633 -	  then
 25.5634 -	    lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 25.5635 -	  else
 25.5636 -	    lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 25.5637 -	  fi
 25.5638 -	  _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
 25.5639 -	else
 25.5640 -	  cat conftest.err 1>&5
 25.5641 -	fi
 25.5642 -	$RM conftest*
 25.5643 -	])
 25.5644 -      _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
 25.5645 -      ;;
 25.5646 -    esac
 25.5647 -  fi
 25.5648 -  ;;
 25.5649 -esac
 25.5650 -
 25.5651 -_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
 25.5652 -    [Whether or not to add -lc for building shared libraries])
 25.5653 -_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
 25.5654 -    [enable_shared_with_static_runtimes], [0],
 25.5655 -    [Whether or not to disallow shared libs when runtime libs are static])
 25.5656 -_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
 25.5657 -    [Compiler flag to allow reflexive dlopens])
 25.5658 -_LT_TAGDECL([], [whole_archive_flag_spec], [1],
 25.5659 -    [Compiler flag to generate shared objects directly from archives])
 25.5660 -_LT_TAGDECL([], [compiler_needs_object], [1],
 25.5661 -    [Whether the compiler copes with passing no objects directly])
 25.5662 -_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
 25.5663 -    [Create an old-style archive from a shared archive])
 25.5664 -_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
 25.5665 -    [Create a temporary old-style archive to link instead of a shared archive])
 25.5666 -_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
 25.5667 -_LT_TAGDECL([], [archive_expsym_cmds], [2])
 25.5668 -_LT_TAGDECL([], [module_cmds], [2],
 25.5669 -    [Commands used to build a loadable module if different from building
 25.5670 -    a shared archive.])
 25.5671 -_LT_TAGDECL([], [module_expsym_cmds], [2])
 25.5672 -_LT_TAGDECL([], [with_gnu_ld], [1],
 25.5673 -    [Whether we are building with GNU ld or not])
 25.5674 -_LT_TAGDECL([], [allow_undefined_flag], [1],
 25.5675 -    [Flag that allows shared libraries with undefined symbols to be built])
 25.5676 -_LT_TAGDECL([], [no_undefined_flag], [1],
 25.5677 -    [Flag that enforces no undefined symbols])
 25.5678 -_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
 25.5679 -    [Flag to hardcode $libdir into a binary during linking.
 25.5680 -    This must work even if $libdir does not exist])
 25.5681 -_LT_TAGDECL([], [hardcode_libdir_separator], [1],
 25.5682 -    [Whether we need a single "-rpath" flag with a separated argument])
 25.5683 -_LT_TAGDECL([], [hardcode_direct], [0],
 25.5684 -    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
 25.5685 -    DIR into the resulting binary])
 25.5686 -_LT_TAGDECL([], [hardcode_direct_absolute], [0],
 25.5687 -    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
 25.5688 -    DIR into the resulting binary and the resulting library dependency is
 25.5689 -    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
 25.5690 -    library is relocated])
 25.5691 -_LT_TAGDECL([], [hardcode_minus_L], [0],
 25.5692 -    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 25.5693 -    into the resulting binary])
 25.5694 -_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
 25.5695 -    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 25.5696 -    into the resulting binary])
 25.5697 -_LT_TAGDECL([], [hardcode_automatic], [0],
 25.5698 -    [Set to "yes" if building a shared library automatically hardcodes DIR
 25.5699 -    into the library and all subsequent libraries and executables linked
 25.5700 -    against it])
 25.5701 -_LT_TAGDECL([], [inherit_rpath], [0],
 25.5702 -    [Set to yes if linker adds runtime paths of dependent libraries
 25.5703 -    to runtime path list])
 25.5704 -_LT_TAGDECL([], [link_all_deplibs], [0],
 25.5705 -    [Whether libtool must link a program against all its dependency libraries])
 25.5706 -_LT_TAGDECL([], [always_export_symbols], [0],
 25.5707 -    [Set to "yes" if exported symbols are required])
 25.5708 -_LT_TAGDECL([], [export_symbols_cmds], [2],
 25.5709 -    [The commands to list exported symbols])
 25.5710 -_LT_TAGDECL([], [exclude_expsyms], [1],
 25.5711 -    [Symbols that should not be listed in the preloaded symbols])
 25.5712 -_LT_TAGDECL([], [include_expsyms], [1],
 25.5713 -    [Symbols that must always be exported])
 25.5714 -_LT_TAGDECL([], [prelink_cmds], [2],
 25.5715 -    [Commands necessary for linking programs (against libraries) with templates])
 25.5716 -_LT_TAGDECL([], [postlink_cmds], [2],
 25.5717 -    [Commands necessary for finishing linking programs])
 25.5718 -_LT_TAGDECL([], [file_list_spec], [1],
 25.5719 -    [Specify filename containing input files])
 25.5720 -dnl FIXME: Not yet implemented
 25.5721 -dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
 25.5722 -dnl    [Compiler flag to generate thread safe objects])
 25.5723 -])# _LT_LINKER_SHLIBS
 25.5724 -
 25.5725 -
 25.5726 -# _LT_LANG_C_CONFIG([TAG])
 25.5727 -# ------------------------
 25.5728 -# Ensure that the configuration variables for a C compiler are suitably
 25.5729 -# defined.  These variables are subsequently used by _LT_CONFIG to write
 25.5730 -# the compiler configuration to `libtool'.
 25.5731 -m4_defun([_LT_LANG_C_CONFIG],
 25.5732 -[m4_require([_LT_DECL_EGREP])dnl
 25.5733 -lt_save_CC="$CC"
 25.5734 -AC_LANG_PUSH(C)
 25.5735 -
 25.5736 -# Source file extension for C test sources.
 25.5737 -ac_ext=c
 25.5738 -
 25.5739 -# Object file extension for compiled C test sources.
 25.5740 -objext=o
 25.5741 -_LT_TAGVAR(objext, $1)=$objext
 25.5742 -
 25.5743 -# Code to be used in simple compile tests
 25.5744 -lt_simple_compile_test_code="int some_variable = 0;"
 25.5745 -
 25.5746 -# Code to be used in simple link tests
 25.5747 -lt_simple_link_test_code='int main(){return(0);}'
 25.5748 -
 25.5749 -_LT_TAG_COMPILER
 25.5750 -# Save the default compiler, since it gets overwritten when the other
 25.5751 -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 25.5752 -compiler_DEFAULT=$CC
 25.5753 -
 25.5754 -# save warnings/boilerplate of simple test code
 25.5755 -_LT_COMPILER_BOILERPLATE
 25.5756 -_LT_LINKER_BOILERPLATE
 25.5757 -
 25.5758 -if test -n "$compiler"; then
 25.5759 -  _LT_COMPILER_NO_RTTI($1)
 25.5760 -  _LT_COMPILER_PIC($1)
 25.5761 -  _LT_COMPILER_C_O($1)
 25.5762 -  _LT_COMPILER_FILE_LOCKS($1)
 25.5763 -  _LT_LINKER_SHLIBS($1)
 25.5764 -  _LT_SYS_DYNAMIC_LINKER($1)
 25.5765 -  _LT_LINKER_HARDCODE_LIBPATH($1)
 25.5766 -  LT_SYS_DLOPEN_SELF
 25.5767 -  _LT_CMD_STRIPLIB
 25.5768 -
 25.5769 -  # Report which library types will actually be built
 25.5770 -  AC_MSG_CHECKING([if libtool supports shared libraries])
 25.5771 -  AC_MSG_RESULT([$can_build_shared])
 25.5772 -
 25.5773 -  AC_MSG_CHECKING([whether to build shared libraries])
 25.5774 -  test "$can_build_shared" = "no" && enable_shared=no
 25.5775 -
 25.5776 -  # On AIX, shared libraries and static libraries use the same namespace, and
 25.5777 -  # are all built from PIC.
 25.5778 -  case $host_os in
 25.5779 -  aix3*)
 25.5780 -    test "$enable_shared" = yes && enable_static=no
 25.5781 -    if test -n "$RANLIB"; then
 25.5782 -      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 25.5783 -      postinstall_cmds='$RANLIB $lib'
 25.5784 -    fi
 25.5785 -    ;;
 25.5786 -
 25.5787 -  aix[[4-9]]*)
 25.5788 -    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 25.5789 -      test "$enable_shared" = yes && enable_static=no
 25.5790 -    fi
 25.5791 -    ;;
 25.5792 -  esac
 25.5793 -  AC_MSG_RESULT([$enable_shared])
 25.5794 -
 25.5795 -  AC_MSG_CHECKING([whether to build static libraries])
 25.5796 -  # Make sure either enable_shared or enable_static is yes.
 25.5797 -  test "$enable_shared" = yes || enable_static=yes
 25.5798 -  AC_MSG_RESULT([$enable_static])
 25.5799 -
 25.5800 -  _LT_CONFIG($1)
 25.5801 -fi
 25.5802 -AC_LANG_POP
 25.5803 -CC="$lt_save_CC"
 25.5804 -])# _LT_LANG_C_CONFIG
 25.5805 -
 25.5806 -
 25.5807 -# _LT_LANG_CXX_CONFIG([TAG])
 25.5808 -# --------------------------
 25.5809 -# Ensure that the configuration variables for a C++ compiler are suitably
 25.5810 -# defined.  These variables are subsequently used by _LT_CONFIG to write
 25.5811 -# the compiler configuration to `libtool'.
 25.5812 -m4_defun([_LT_LANG_CXX_CONFIG],
 25.5813 -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 25.5814 -m4_require([_LT_DECL_EGREP])dnl
 25.5815 -m4_require([_LT_PATH_MANIFEST_TOOL])dnl
 25.5816 -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 25.5817 -    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 25.5818 -    (test "X$CXX" != "Xg++"))) ; then
 25.5819 -  AC_PROG_CXXCPP
 25.5820 -else
 25.5821 -  _lt_caught_CXX_error=yes
 25.5822 -fi
 25.5823 -
 25.5824 -AC_LANG_PUSH(C++)
 25.5825 -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 25.5826 -_LT_TAGVAR(allow_undefined_flag, $1)=
 25.5827 -_LT_TAGVAR(always_export_symbols, $1)=no
 25.5828 -_LT_TAGVAR(archive_expsym_cmds, $1)=
 25.5829 -_LT_TAGVAR(compiler_needs_object, $1)=no
 25.5830 -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
 25.5831 -_LT_TAGVAR(hardcode_direct, $1)=no
 25.5832 -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
 25.5833 -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 25.5834 -_LT_TAGVAR(hardcode_libdir_separator, $1)=
 25.5835 -_LT_TAGVAR(hardcode_minus_L, $1)=no
 25.5836 -_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 25.5837 -_LT_TAGVAR(hardcode_automatic, $1)=no
 25.5838 -_LT_TAGVAR(inherit_rpath, $1)=no
 25.5839 -_LT_TAGVAR(module_cmds, $1)=
 25.5840 -_LT_TAGVAR(module_expsym_cmds, $1)=
 25.5841 -_LT_TAGVAR(link_all_deplibs, $1)=unknown
 25.5842 -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 25.5843 -_LT_TAGVAR(reload_flag, $1)=$reload_flag
 25.5844 -_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
 25.5845 -_LT_TAGVAR(no_undefined_flag, $1)=
 25.5846 -_LT_TAGVAR(whole_archive_flag_spec, $1)=
 25.5847 -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 25.5848 -
 25.5849 -# Source file extension for C++ test sources.
 25.5850 -ac_ext=cpp
 25.5851 -
 25.5852 -# Object file extension for compiled C++ test sources.
 25.5853 -objext=o
 25.5854 -_LT_TAGVAR(objext, $1)=$objext
 25.5855 -
 25.5856 -# No sense in running all these tests if we already determined that
 25.5857 -# the CXX compiler isn't working.  Some variables (like enable_shared)
 25.5858 -# are currently assumed to apply to all compilers on this platform,
 25.5859 -# and will be corrupted by setting them based on a non-working compiler.
 25.5860 -if test "$_lt_caught_CXX_error" != yes; then
 25.5861 -  # Code to be used in simple compile tests
 25.5862 -  lt_simple_compile_test_code="int some_variable = 0;"
 25.5863 -
 25.5864 -  # Code to be used in simple link tests
 25.5865 -  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
 25.5866 -
 25.5867 -  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 25.5868 -  _LT_TAG_COMPILER
 25.5869 -
 25.5870 -  # save warnings/boilerplate of simple test code
 25.5871 -  _LT_COMPILER_BOILERPLATE
 25.5872 -  _LT_LINKER_BOILERPLATE
 25.5873 -
 25.5874 -  # Allow CC to be a program name with arguments.
 25.5875 -  lt_save_CC=$CC
 25.5876 -  lt_save_CFLAGS=$CFLAGS
 25.5877 -  lt_save_LD=$LD
 25.5878 -  lt_save_GCC=$GCC
 25.5879 -  GCC=$GXX
 25.5880 -  lt_save_with_gnu_ld=$with_gnu_ld
 25.5881 -  lt_save_path_LD=$lt_cv_path_LD
 25.5882 -  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 25.5883 -    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 25.5884 -  else
 25.5885 -    $as_unset lt_cv_prog_gnu_ld
 25.5886 -  fi
 25.5887 -  if test -n "${lt_cv_path_LDCXX+set}"; then
 25.5888 -    lt_cv_path_LD=$lt_cv_path_LDCXX
 25.5889 -  else
 25.5890 -    $as_unset lt_cv_path_LD
 25.5891 -  fi
 25.5892 -  test -z "${LDCXX+set}" || LD=$LDCXX
 25.5893 -  CC=${CXX-"c++"}
 25.5894 -  CFLAGS=$CXXFLAGS
 25.5895 -  compiler=$CC
 25.5896 -  _LT_TAGVAR(compiler, $1)=$CC
 25.5897 -  _LT_CC_BASENAME([$compiler])
 25.5898 -
 25.5899 -  if test -n "$compiler"; then
 25.5900 -    # We don't want -fno-exception when compiling C++ code, so set the
 25.5901 -    # no_builtin_flag separately
 25.5902 -    if test "$GXX" = yes; then
 25.5903 -      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 25.5904 -    else
 25.5905 -      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 25.5906 -    fi
 25.5907 -
 25.5908 -    if test "$GXX" = yes; then
 25.5909 -      # Set up default GNU C++ configuration
 25.5910 -
 25.5911 -      LT_PATH_LD
 25.5912 -
 25.5913 -      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 25.5914 -      # archiving commands below assume that GNU ld is being used.
 25.5915 -      if test "$with_gnu_ld" = yes; then
 25.5916 -        _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 25.5917 -        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 25.5918 -
 25.5919 -        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 25.5920 -        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 25.5921 -
 25.5922 -        # If archive_cmds runs LD, not CC, wlarc should be empty
 25.5923 -        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 25.5924 -        #     investigate it a little bit more. (MM)
 25.5925 -        wlarc='${wl}'
 25.5926 -
 25.5927 -        # ancient GNU ld didn't support --whole-archive et. al.
 25.5928 -        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 25.5929 -	  $GREP 'no-whole-archive' > /dev/null; then
 25.5930 -          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 25.5931 -        else
 25.5932 -          _LT_TAGVAR(whole_archive_flag_spec, $1)=
 25.5933 -        fi
 25.5934 -      else
 25.5935 -        with_gnu_ld=no
 25.5936 -        wlarc=
 25.5937 -
 25.5938 -        # A generic and very simple default shared library creation
 25.5939 -        # command for GNU C++ for the case where it uses the native
 25.5940 -        # linker, instead of GNU ld.  If possible, this setting should
 25.5941 -        # overridden to take advantage of the native linker features on
 25.5942 -        # the platform it is being used on.
 25.5943 -        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 25.5944 -      fi
 25.5945 -
 25.5946 -      # Commands to make compiler produce verbose output that lists
 25.5947 -      # what "hidden" libraries, object files and flags are used when
 25.5948 -      # linking a shared library.
 25.5949 -      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 25.5950 -
 25.5951 -    else
 25.5952 -      GXX=no
 25.5953 -      with_gnu_ld=no
 25.5954 -      wlarc=
 25.5955 -    fi
 25.5956 -
 25.5957 -    # PORTME: fill in a description of your system's C++ link characteristics
 25.5958 -    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 25.5959 -    _LT_TAGVAR(ld_shlibs, $1)=yes
 25.5960 -    case $host_os in
 25.5961 -      aix3*)
 25.5962 -        # FIXME: insert proper C++ library support
 25.5963 -        _LT_TAGVAR(ld_shlibs, $1)=no
 25.5964 -        ;;
 25.5965 -      aix[[4-9]]*)
 25.5966 -        if test "$host_cpu" = ia64; then
 25.5967 -          # On IA64, the linker does run time linking by default, so we don't
 25.5968 -          # have to do anything special.
 25.5969 -          aix_use_runtimelinking=no
 25.5970 -          exp_sym_flag='-Bexport'
 25.5971 -          no_entry_flag=""
 25.5972 -        else
 25.5973 -          aix_use_runtimelinking=no
 25.5974 -
 25.5975 -          # Test if we are trying to use run time linking or normal
 25.5976 -          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 25.5977 -          # need to do runtime linking.
 25.5978 -          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
 25.5979 -	    for ld_flag in $LDFLAGS; do
 25.5980 -	      case $ld_flag in
 25.5981 -	      *-brtl*)
 25.5982 -	        aix_use_runtimelinking=yes
 25.5983 -	        break
 25.5984 -	        ;;
 25.5985 -	      esac
 25.5986 -	    done
 25.5987 -	    ;;
 25.5988 -          esac
 25.5989 -
 25.5990 -          exp_sym_flag='-bexport'
 25.5991 -          no_entry_flag='-bnoentry'
 25.5992 -        fi
 25.5993 -
 25.5994 -        # When large executables or shared objects are built, AIX ld can
 25.5995 -        # have problems creating the table of contents.  If linking a library
 25.5996 -        # or program results in "error TOC overflow" add -mminimal-toc to
 25.5997 -        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 25.5998 -        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 25.5999 -
 25.6000 -        _LT_TAGVAR(archive_cmds, $1)=''
 25.6001 -        _LT_TAGVAR(hardcode_direct, $1)=yes
 25.6002 -        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 25.6003 -        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 25.6004 -        _LT_TAGVAR(link_all_deplibs, $1)=yes
 25.6005 -        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
 25.6006 -
 25.6007 -        if test "$GXX" = yes; then
 25.6008 -          case $host_os in aix4.[[012]]|aix4.[[012]].*)
 25.6009 -          # We only want to do this on AIX 4.2 and lower, the check
 25.6010 -          # below for broken collect2 doesn't work under 4.3+
 25.6011 -	  collect2name=`${CC} -print-prog-name=collect2`
 25.6012 -	  if test -f "$collect2name" &&
 25.6013 -	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 25.6014 -	  then
 25.6015 -	    # We have reworked collect2
 25.6016 -	    :
 25.6017 -	  else
 25.6018 -	    # We have old collect2
 25.6019 -	    _LT_TAGVAR(hardcode_direct, $1)=unsupported
 25.6020 -	    # It fails to find uninstalled libraries when the uninstalled
 25.6021 -	    # path is not listed in the libpath.  Setting hardcode_minus_L
 25.6022 -	    # to unsupported forces relinking
 25.6023 -	    _LT_TAGVAR(hardcode_minus_L, $1)=yes
 25.6024 -	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 25.6025 -	    _LT_TAGVAR(hardcode_libdir_separator, $1)=
 25.6026 -	  fi
 25.6027 -          esac
 25.6028 -          shared_flag='-shared'
 25.6029 -	  if test "$aix_use_runtimelinking" = yes; then
 25.6030 -	    shared_flag="$shared_flag "'${wl}-G'
 25.6031 -	  fi
 25.6032 -        else
 25.6033 -          # not using gcc
 25.6034 -          if test "$host_cpu" = ia64; then
 25.6035 -	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 25.6036 -	  # chokes on -Wl,-G. The following line is correct:
 25.6037 -	  shared_flag='-G'
 25.6038 -          else
 25.6039 -	    if test "$aix_use_runtimelinking" = yes; then
 25.6040 -	      shared_flag='${wl}-G'
 25.6041 -	    else
 25.6042 -	      shared_flag='${wl}-bM:SRE'
 25.6043 -	    fi
 25.6044 -          fi
 25.6045 -        fi
 25.6046 -
 25.6047 -        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
 25.6048 -        # It seems that -bexpall does not export symbols beginning with
 25.6049 -        # underscore (_), so it is better to generate a list of symbols to
 25.6050 -	# export.
 25.6051 -        _LT_TAGVAR(always_export_symbols, $1)=yes
 25.6052 -        if test "$aix_use_runtimelinking" = yes; then
 25.6053 -          # Warning - without using the other runtime loading flags (-brtl),
 25.6054 -          # -berok will link without error, but may produce a broken library.
 25.6055 -          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
 25.6056 -          # Determine the default libpath from the value encoded in an empty
 25.6057 -          # executable.
 25.6058 -          _LT_SYS_MODULE_PATH_AIX([$1])
 25.6059 -          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 25.6060 -
 25.6061 -          _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"
 25.6062 -        else
 25.6063 -          if test "$host_cpu" = ia64; then
 25.6064 -	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
 25.6065 -	    _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
 25.6066 -	    _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 25.6067 -          else
 25.6068 -	    # Determine the default libpath from the value encoded in an
 25.6069 -	    # empty executable.
 25.6070 -	    _LT_SYS_MODULE_PATH_AIX([$1])
 25.6071 -	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 25.6072 -	    # Warning - without using the other run time loading flags,
 25.6073 -	    # -berok will link without error, but may produce a broken library.
 25.6074 -	    _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 25.6075 -	    _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
 25.6076 -	    if test "$with_gnu_ld" = yes; then
 25.6077 -	      # We only use this code for GNU lds that support --whole-archive.
 25.6078 -	      _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 25.6079 -	    else
 25.6080 -	      # Exported symbols can be pulled into shared objects from archives
 25.6081 -	      _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 25.6082 -	    fi
 25.6083 -	    _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 25.6084 -	    # This is similar to how AIX traditionally builds its shared
 25.6085</