[svn r715] Added m4 macros to compile inside scratchbox trunk
authormelunko
Thu May 24 21:39:38 2007 +0100 (2007-05-24)
branchtrunk
changeset 709532370b91652
parent 708 eaa6e1c5fab2
child 710 320440ee97df
[svn r715] Added m4 macros to compile inside scratchbox
gst-gmyth/INSTALL
gst-gmyth/autogen.sh
gst-gmyth/m4/libtool.m4
gst-gmyth/m4/pkg.m4
     1.1 --- a/gst-gmyth/INSTALL	Thu May 24 21:14:40 2007 +0100
     1.2 +++ b/gst-gmyth/INSTALL	Thu May 24 21:39:38 2007 +0100
     1.3 @@ -102,16 +102,16 @@
     1.4  Installation Names
     1.5  ==================
     1.6  
     1.7 -By default, `make install' installs the package's commands under
     1.8 -`/usr/local/bin', include files under `/usr/local/include', etc.  You
     1.9 -can specify an installation prefix other than `/usr/local' by giving
    1.10 -`configure' the option `--prefix=PREFIX'.
    1.11 +By default, `make install' will install the package's files in
    1.12 +`/usr/local/bin', `/usr/local/man', etc.  You can specify an
    1.13 +installation prefix other than `/usr/local' by giving `configure' the
    1.14 +option `--prefix=PREFIX'.
    1.15  
    1.16     You can specify separate installation prefixes for
    1.17  architecture-specific files and architecture-independent files.  If you
    1.18 -pass the option `--exec-prefix=PREFIX' to `configure', the package uses
    1.19 -PREFIX as the prefix for installing programs and libraries.
    1.20 -Documentation and other data files still use the regular prefix.
    1.21 +give `configure' the option `--exec-prefix=PREFIX', the package will
    1.22 +use PREFIX as the prefix for installing programs and libraries.
    1.23 +Documentation and other data files will still use the regular prefix.
    1.24  
    1.25     In addition, if you use an unusual directory layout you can give
    1.26  options like `--bindir=DIR' to specify different values for particular
    1.27 @@ -159,7 +159,7 @@
    1.28  need to know the machine type.
    1.29  
    1.30     If you are _building_ compiler tools for cross-compiling, you should
    1.31 -use the option `--target=TYPE' to select the type of system they will
    1.32 +use the `--target=TYPE' option to select the type of system they will
    1.33  produce code for.
    1.34  
    1.35     If you want to _use_ a cross compiler, that generates code for a
     2.1 --- a/gst-gmyth/autogen.sh	Thu May 24 21:14:40 2007 +0100
     2.2 +++ b/gst-gmyth/autogen.sh	Thu May 24 21:39:38 2007 +0100
     2.3 @@ -16,4 +16,5 @@
     2.4      echo "You need to install gnome-common from the GNOME CVS"
     2.5      exit 1
     2.6  }
     2.7 +ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
     2.8  REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gst-gmyth/m4/libtool.m4	Thu May 24 21:39:38 2007 +0100
     3.3 @@ -0,0 +1,5951 @@
     3.4 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
     3.5 +## Copyright 1996, 1997, 1998, 1999, 2000, 2001
     3.6 +## Free Software Foundation, Inc.
     3.7 +## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
     3.8 +##
     3.9 +## This program is free software; you can redistribute it and/or modify
    3.10 +## it under the terms of the GNU General Public License as published by
    3.11 +## the Free Software Foundation; either version 2 of the License, or
    3.12 +## (at your option) any later version.
    3.13 +##
    3.14 +## This program is distributed in the hope that it will be useful, but
    3.15 +## WITHOUT ANY WARRANTY; without even the implied warranty of
    3.16 +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    3.17 +## General Public License for more details.
    3.18 +##
    3.19 +## You should have received a copy of the GNU General Public License
    3.20 +## along with this program; if not, write to the Free Software
    3.21 +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    3.22 +##
    3.23 +## As a special exception to the GNU General Public License, if you
    3.24 +## distribute this file as part of a program that contains a
    3.25 +## configuration script generated by Autoconf, you may include it under
    3.26 +## the same distribution terms that you use for the rest of that program.
    3.27 +
    3.28 +# serial 47 AC_PROG_LIBTOOL
    3.29 +# Debian $Rev: 214 $
    3.30 +
    3.31 +
    3.32 +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
    3.33 +# -----------------------------------------------------------
    3.34 +# If this macro is not defined by Autoconf, define it here.
    3.35 +m4_ifdef([AC_PROVIDE_IFELSE],
    3.36 +         [],
    3.37 +         [m4_define([AC_PROVIDE_IFELSE],
    3.38 +	         [m4_ifdef([AC_PROVIDE_$1],
    3.39 +		           [$2], [$3])])])
    3.40 +
    3.41 +
    3.42 +# AC_PROG_LIBTOOL
    3.43 +# ---------------
    3.44 +AC_DEFUN([AC_PROG_LIBTOOL],
    3.45 +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
    3.46 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
    3.47 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
    3.48 +  AC_PROVIDE_IFELSE([AC_PROG_CXX],
    3.49 +    [AC_LIBTOOL_CXX],
    3.50 +    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
    3.51 +  ])])
    3.52 +dnl And a similar setup for Fortran 77 support
    3.53 +  AC_PROVIDE_IFELSE([AC_PROG_F77],
    3.54 +    [AC_LIBTOOL_F77],
    3.55 +    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
    3.56 +])])
    3.57 +
    3.58 +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
    3.59 +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
    3.60 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
    3.61 +  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
    3.62 +    [AC_LIBTOOL_GCJ],
    3.63 +    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
    3.64 +      [AC_LIBTOOL_GCJ],
    3.65 +      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
    3.66 +	[AC_LIBTOOL_GCJ],
    3.67 +      [ifdef([AC_PROG_GCJ],
    3.68 +	     [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
    3.69 +       ifdef([A][M_PROG_GCJ],
    3.70 +	     [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
    3.71 +       ifdef([LT_AC_PROG_GCJ],
    3.72 +	     [define([LT_AC_PROG_GCJ],
    3.73 +		defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
    3.74 +])])# AC_PROG_LIBTOOL
    3.75 +
    3.76 +
    3.77 +# _AC_PROG_LIBTOOL
    3.78 +# ----------------
    3.79 +AC_DEFUN([_AC_PROG_LIBTOOL],
    3.80 +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
    3.81 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
    3.82 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
    3.83 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
    3.84 +
    3.85 +# This can be used to rebuild libtool when needed
    3.86 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
    3.87 +
    3.88 +# Always use our own libtool.
    3.89 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
    3.90 +AC_SUBST(LIBTOOL)dnl
    3.91 +
    3.92 +# Prevent multiple expansion
    3.93 +define([AC_PROG_LIBTOOL], [])
    3.94 +])# _AC_PROG_LIBTOOL
    3.95 +
    3.96 +
    3.97 +# AC_LIBTOOL_SETUP
    3.98 +# ----------------
    3.99 +AC_DEFUN([AC_LIBTOOL_SETUP],
   3.100 +[AC_PREREQ(2.50)dnl
   3.101 +AC_REQUIRE([AC_ENABLE_SHARED])dnl
   3.102 +AC_REQUIRE([AC_ENABLE_STATIC])dnl
   3.103 +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
   3.104 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
   3.105 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
   3.106 +AC_REQUIRE([AC_PROG_CC])dnl
   3.107 +AC_REQUIRE([AC_PROG_LD])dnl
   3.108 +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
   3.109 +AC_REQUIRE([AC_PROG_NM])dnl
   3.110 +
   3.111 +AC_REQUIRE([AC_PROG_LN_S])dnl
   3.112 +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
   3.113 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   3.114 +AC_REQUIRE([AC_OBJEXT])dnl
   3.115 +AC_REQUIRE([AC_EXEEXT])dnl
   3.116 +dnl
   3.117 +
   3.118 +AC_LIBTOOL_SYS_MAX_CMD_LEN
   3.119 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
   3.120 +AC_LIBTOOL_OBJDIR
   3.121 +
   3.122 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
   3.123 +_LT_AC_PROG_ECHO_BACKSLASH
   3.124 +
   3.125 +case $host_os in
   3.126 +aix3*)
   3.127 +  # AIX sometimes has problems with the GCC collect2 program.  For some
   3.128 +  # reason, if we set the COLLECT_NAMES environment variable, the problems
   3.129 +  # vanish in a puff of smoke.
   3.130 +  if test "X${COLLECT_NAMES+set}" != Xset; then
   3.131 +    COLLECT_NAMES=
   3.132 +    export COLLECT_NAMES
   3.133 +  fi
   3.134 +  ;;
   3.135 +esac
   3.136 +
   3.137 +# Sed substitution that helps us do robust quoting.  It backslashifies
   3.138 +# metacharacters that are still active within double-quoted strings.
   3.139 +Xsed='sed -e s/^X//'
   3.140 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
   3.141 +
   3.142 +# Same as above, but do not quote variable references.
   3.143 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
   3.144 +
   3.145 +# Sed substitution to delay expansion of an escaped shell variable in a
   3.146 +# double_quote_subst'ed string.
   3.147 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3.148 +
   3.149 +# Sed substitution to avoid accidental globbing in evaled expressions
   3.150 +no_glob_subst='s/\*/\\\*/g'
   3.151 +
   3.152 +# Constants:
   3.153 +rm="rm -f"
   3.154 +
   3.155 +# Global variables:
   3.156 +default_ofile=libtool
   3.157 +can_build_shared=yes
   3.158 +
   3.159 +# All known linkers require a `.a' archive for static linking (except M$VC,
   3.160 +# which needs '.lib').
   3.161 +libext=a
   3.162 +ltmain="$ac_aux_dir/ltmain.sh"
   3.163 +ofile="$default_ofile"
   3.164 +with_gnu_ld="$lt_cv_prog_gnu_ld"
   3.165 +
   3.166 +AC_CHECK_TOOL(AR, ar, false)
   3.167 +AC_CHECK_TOOL(RANLIB, ranlib, :)
   3.168 +AC_CHECK_TOOL(STRIP, strip, :)
   3.169 +
   3.170 +old_CC="$CC"
   3.171 +old_CFLAGS="$CFLAGS"
   3.172 +
   3.173 +# Set sane defaults for various variables
   3.174 +test -z "$AR" && AR=ar
   3.175 +test -z "$AR_FLAGS" && AR_FLAGS=cru
   3.176 +test -z "$AS" && AS=as
   3.177 +test -z "$CC" && CC=cc
   3.178 +test -z "$LTCC" && LTCC=$CC
   3.179 +test -z "$DLLTOOL" && DLLTOOL=dlltool
   3.180 +test -z "$LD" && LD=ld
   3.181 +test -z "$LN_S" && LN_S="ln -s"
   3.182 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
   3.183 +test -z "$NM" && NM=nm
   3.184 +test -z "$SED" && SED=sed
   3.185 +test -z "$OBJDUMP" && OBJDUMP=objdump
   3.186 +test -z "$RANLIB" && RANLIB=:
   3.187 +test -z "$STRIP" && STRIP=:
   3.188 +test -z "$ac_objext" && ac_objext=o
   3.189 +
   3.190 +# Determine commands to create old-style static archives.
   3.191 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   3.192 +old_postinstall_cmds='chmod 644 $oldlib'
   3.193 +old_postuninstall_cmds=
   3.194 +
   3.195 +if test -n "$RANLIB"; then
   3.196 +  case $host_os in
   3.197 +  openbsd*)
   3.198 +    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
   3.199 +    ;;
   3.200 +  *)
   3.201 +    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
   3.202 +    ;;
   3.203 +  esac
   3.204 +  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   3.205 +fi
   3.206 +
   3.207 +# Only perform the check for file, if the check method requires it
   3.208 +case $deplibs_check_method in
   3.209 +file_magic*)
   3.210 +  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   3.211 +    AC_PATH_MAGIC
   3.212 +  fi
   3.213 +  ;;
   3.214 +esac
   3.215 +
   3.216 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
   3.217 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
   3.218 +enable_win32_dll=yes, enable_win32_dll=no)
   3.219 +
   3.220 +AC_ARG_ENABLE([libtool-lock],
   3.221 +    [AC_HELP_STRING([--disable-libtool-lock],
   3.222 +	[avoid locking (might break parallel builds)])])
   3.223 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   3.224 +
   3.225 +AC_ARG_WITH([pic],
   3.226 +    [AC_HELP_STRING([--with-pic],
   3.227 +	[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
   3.228 +    [pic_mode="$withval"],
   3.229 +    [pic_mode=default])
   3.230 +test -z "$pic_mode" && pic_mode=default
   3.231 +
   3.232 +# Use C for the default configuration in the libtool script
   3.233 +tagname=
   3.234 +AC_LIBTOOL_LANG_C_CONFIG
   3.235 +_LT_AC_TAGCONFIG
   3.236 +])# AC_LIBTOOL_SETUP
   3.237 +
   3.238 +
   3.239 +# _LT_AC_SYS_COMPILER
   3.240 +# -------------------
   3.241 +AC_DEFUN([_LT_AC_SYS_COMPILER],
   3.242 +[AC_REQUIRE([AC_PROG_CC])dnl
   3.243 +
   3.244 +# If no C compiler was specified, use CC.
   3.245 +LTCC=${LTCC-"$CC"}
   3.246 +
   3.247 +# Allow CC to be a program name with arguments.
   3.248 +compiler=$CC
   3.249 +])# _LT_AC_SYS_COMPILER
   3.250 +
   3.251 +
   3.252 +# _LT_AC_SYS_LIBPATH_AIX
   3.253 +# ----------------------
   3.254 +# Links a minimal program and checks the executable
   3.255 +# for the system default hardcoded library path. In most cases,
   3.256 +# this is /usr/lib:/lib, but when the MPI compilers are used
   3.257 +# the location of the communication and MPI libs are included too.
   3.258 +# If we don't find anything, use the default library path according
   3.259 +# to the aix ld manual.
   3.260 +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
   3.261 +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
   3.262 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   3.263 +}'`
   3.264 +# Check for a 64-bit object if we didn't find anything.
   3.265 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   3.266 +}'`; fi],[])
   3.267 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   3.268 +])# _LT_AC_SYS_LIBPATH_AIX
   3.269 +
   3.270 +
   3.271 +# _LT_AC_SHELL_INIT(ARG)
   3.272 +# ----------------------
   3.273 +AC_DEFUN([_LT_AC_SHELL_INIT],
   3.274 +[ifdef([AC_DIVERSION_NOTICE],
   3.275 +	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
   3.276 +	 [AC_DIVERT_PUSH(NOTICE)])
   3.277 +$1
   3.278 +AC_DIVERT_POP
   3.279 +])# _LT_AC_SHELL_INIT
   3.280 +
   3.281 +
   3.282 +# _LT_AC_PROG_ECHO_BACKSLASH
   3.283 +# --------------------------
   3.284 +# Add some code to the start of the generated configure script which
   3.285 +# will find an echo command which doesn't interpret backslashes.
   3.286 +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
   3.287 +[_LT_AC_SHELL_INIT([
   3.288 +# Check that we are running under the correct shell.
   3.289 +SHELL=${CONFIG_SHELL-/bin/sh}
   3.290 +
   3.291 +case X$ECHO in
   3.292 +X*--fallback-echo)
   3.293 +  # Remove one level of quotation (which was required for Make).
   3.294 +  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
   3.295 +  ;;
   3.296 +esac
   3.297 +
   3.298 +echo=${ECHO-echo}
   3.299 +if test "X[$]1" = X--no-reexec; then
   3.300 +  # Discard the --no-reexec flag, and continue.
   3.301 +  shift
   3.302 +elif test "X[$]1" = X--fallback-echo; then
   3.303 +  # Avoid inline document here, it may be left over
   3.304 +  :
   3.305 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
   3.306 +  # Yippee, $echo works!
   3.307 +  :
   3.308 +else
   3.309 +  # Restart under the correct shell.
   3.310 +  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
   3.311 +fi
   3.312 +
   3.313 +if test "X[$]1" = X--fallback-echo; then
   3.314 +  # used as fallback echo
   3.315 +  shift
   3.316 +  cat <<EOF
   3.317 +[$]*
   3.318 +EOF
   3.319 +  exit 0
   3.320 +fi
   3.321 +
   3.322 +# The HP-UX ksh and POSIX shell print the target directory to stdout
   3.323 +# if CDPATH is set.
   3.324 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
   3.325 +
   3.326 +if test -z "$ECHO"; then
   3.327 +if test "X${echo_test_string+set}" != Xset; then
   3.328 +# find a string as large as possible, as long as the shell can cope with it
   3.329 +  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
   3.330 +    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
   3.331 +    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
   3.332 +       echo_test_string="`eval $cmd`" &&
   3.333 +       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
   3.334 +    then
   3.335 +      break
   3.336 +    fi
   3.337 +  done
   3.338 +fi
   3.339 +
   3.340 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
   3.341 +   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
   3.342 +   test "X$echo_testing_string" = "X$echo_test_string"; then
   3.343 +  :
   3.344 +else
   3.345 +  # The Solaris, AIX, and Digital Unix default echo programs unquote
   3.346 +  # backslashes.  This makes it impossible to quote backslashes using
   3.347 +  #   echo "$something" | sed 's/\\/\\\\/g'
   3.348 +  #
   3.349 +  # So, first we look for a working echo in the user's PATH.
   3.350 +
   3.351 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   3.352 +  for dir in $PATH /usr/ucb; do
   3.353 +    IFS="$lt_save_ifs"
   3.354 +    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
   3.355 +       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
   3.356 +       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
   3.357 +       test "X$echo_testing_string" = "X$echo_test_string"; then
   3.358 +      echo="$dir/echo"
   3.359 +      break
   3.360 +    fi
   3.361 +  done
   3.362 +  IFS="$lt_save_ifs"
   3.363 +
   3.364 +  if test "X$echo" = Xecho; then
   3.365 +    # We didn't find a better echo, so look for alternatives.
   3.366 +    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
   3.367 +       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
   3.368 +       test "X$echo_testing_string" = "X$echo_test_string"; then
   3.369 +      # This shell has a builtin print -r that does the trick.
   3.370 +      echo='print -r'
   3.371 +    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
   3.372 +	 test "X$CONFIG_SHELL" != X/bin/ksh; then
   3.373 +      # If we have ksh, try running configure again with it.
   3.374 +      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   3.375 +      export ORIGINAL_CONFIG_SHELL
   3.376 +      CONFIG_SHELL=/bin/ksh
   3.377 +      export CONFIG_SHELL
   3.378 +      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
   3.379 +    else
   3.380 +      # Try using printf.
   3.381 +      echo='printf %s\n'
   3.382 +      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
   3.383 +	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
   3.384 +	 test "X$echo_testing_string" = "X$echo_test_string"; then
   3.385 +	# Cool, printf works
   3.386 +	:
   3.387 +      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
   3.388 +	   test "X$echo_testing_string" = 'X\t' &&
   3.389 +	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   3.390 +	   test "X$echo_testing_string" = "X$echo_test_string"; then
   3.391 +	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
   3.392 +	export CONFIG_SHELL
   3.393 +	SHELL="$CONFIG_SHELL"
   3.394 +	export SHELL
   3.395 +	echo="$CONFIG_SHELL [$]0 --fallback-echo"
   3.396 +      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
   3.397 +	   test "X$echo_testing_string" = 'X\t' &&
   3.398 +	   echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   3.399 +	   test "X$echo_testing_string" = "X$echo_test_string"; then
   3.400 +	echo="$CONFIG_SHELL [$]0 --fallback-echo"
   3.401 +      else
   3.402 +	# maybe with a smaller string...
   3.403 +	prev=:
   3.404 +
   3.405 +	for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
   3.406 +	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
   3.407 +	  then
   3.408 +	    break
   3.409 +	  fi
   3.410 +	  prev="$cmd"
   3.411 +	done
   3.412 +
   3.413 +	if test "$prev" != 'sed 50q "[$]0"'; then
   3.414 +	  echo_test_string=`eval $prev`
   3.415 +	  export echo_test_string
   3.416 +	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
   3.417 +	else
   3.418 +	  # Oops.  We lost completely, so just stick with echo.
   3.419 +	  echo=echo
   3.420 +	fi
   3.421 +      fi
   3.422 +    fi
   3.423 +  fi
   3.424 +fi
   3.425 +fi
   3.426 +
   3.427 +# Copy echo and quote the copy suitably for passing to libtool from
   3.428 +# the Makefile, instead of quoting the original, which is used later.
   3.429 +ECHO=$echo
   3.430 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
   3.431 +   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
   3.432 +fi
   3.433 +
   3.434 +AC_SUBST(ECHO)
   3.435 +])])# _LT_AC_PROG_ECHO_BACKSLASH
   3.436 +
   3.437 +
   3.438 +# _LT_AC_LOCK
   3.439 +# -----------
   3.440 +AC_DEFUN([_LT_AC_LOCK],
   3.441 +[AC_ARG_ENABLE([libtool-lock],
   3.442 +    [AC_HELP_STRING([--disable-libtool-lock],
   3.443 +	[avoid locking (might break parallel builds)])])
   3.444 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   3.445 +
   3.446 +# Some flags need to be propagated to the compiler or linker for good
   3.447 +# libtool support.
   3.448 +case $host in
   3.449 +ia64-*-hpux*)
   3.450 +  # Find out which ABI we are using.
   3.451 +  echo 'int i;' > conftest.$ac_ext
   3.452 +  if AC_TRY_EVAL(ac_compile); then
   3.453 +    case `/usr/bin/file conftest.$ac_objext` in
   3.454 +    *ELF-32*)
   3.455 +      HPUX_IA64_MODE="32"
   3.456 +      ;;
   3.457 +    *ELF-64*)
   3.458 +      HPUX_IA64_MODE="64"
   3.459 +      ;;
   3.460 +    esac
   3.461 +  fi
   3.462 +  rm -rf conftest*
   3.463 +  ;;
   3.464 +*-*-irix6*)
   3.465 +  # Find out which ABI we are using.
   3.466 +  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
   3.467 +  if AC_TRY_EVAL(ac_compile); then
   3.468 +   if test "$lt_cv_prog_gnu_ld" = yes; then
   3.469 +    case `/usr/bin/file conftest.$ac_objext` in
   3.470 +    *32-bit*)
   3.471 +      LD="${LD-ld} -melf32bsmip"
   3.472 +      ;;
   3.473 +    *N32*)
   3.474 +      LD="${LD-ld} -melf32bmipn32"
   3.475 +      ;;
   3.476 +    *64-bit*)
   3.477 +      LD="${LD-ld} -melf64bmip"
   3.478 +      ;;
   3.479 +    esac
   3.480 +   else
   3.481 +    case `/usr/bin/file conftest.$ac_objext` in
   3.482 +    *32-bit*)
   3.483 +      LD="${LD-ld} -32"
   3.484 +      ;;
   3.485 +    *N32*)
   3.486 +      LD="${LD-ld} -n32"
   3.487 +      ;;
   3.488 +    *64-bit*)
   3.489 +      LD="${LD-ld} -64"
   3.490 +      ;;
   3.491 +    esac
   3.492 +   fi
   3.493 +  fi
   3.494 +  rm -rf conftest*
   3.495 +  ;;
   3.496 +
   3.497 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   3.498 +  # Find out which ABI we are using.
   3.499 +  echo 'int i;' > conftest.$ac_ext
   3.500 +  if AC_TRY_EVAL(ac_compile); then
   3.501 +    case "`/usr/bin/file conftest.o`" in
   3.502 +    *32-bit*)
   3.503 +      case $host in
   3.504 +        x86_64-*linux*)
   3.505 +          LD="${LD-ld} -m elf_i386"
   3.506 +          ;;
   3.507 +        ppc64-*linux*|powerpc64-*linux*)
   3.508 +          LD="${LD-ld} -m elf32ppclinux"
   3.509 +          ;;
   3.510 +        s390x-*linux*)
   3.511 +          LD="${LD-ld} -m elf_s390"
   3.512 +          ;;
   3.513 +        sparc64-*linux*)
   3.514 +          LD="${LD-ld} -m elf32_sparc"
   3.515 +          ;;
   3.516 +      esac
   3.517 +      ;;
   3.518 +    *64-bit*)
   3.519 +      case $host in
   3.520 +        x86_64-*linux*)
   3.521 +          LD="${LD-ld} -m elf_x86_64"
   3.522 +          ;;
   3.523 +        ppc*-*linux*|powerpc*-*linux*)
   3.524 +          LD="${LD-ld} -m elf64ppc"
   3.525 +          ;;
   3.526 +        s390*-*linux*)
   3.527 +          LD="${LD-ld} -m elf64_s390"
   3.528 +          ;;
   3.529 +        sparc*-*linux*)
   3.530 +          LD="${LD-ld} -m elf64_sparc"
   3.531 +          ;;
   3.532 +      esac
   3.533 +      ;;
   3.534 +    esac
   3.535 +  fi
   3.536 +  rm -rf conftest*
   3.537 +  ;;
   3.538 +
   3.539 +*-*-sco3.2v5*)
   3.540 +  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   3.541 +  SAVE_CFLAGS="$CFLAGS"
   3.542 +  CFLAGS="$CFLAGS -belf"
   3.543 +  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
   3.544 +    [AC_LANG_PUSH(C)
   3.545 +     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
   3.546 +     AC_LANG_POP])
   3.547 +  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   3.548 +    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   3.549 +    CFLAGS="$SAVE_CFLAGS"
   3.550 +  fi
   3.551 +  ;;
   3.552 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
   3.553 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
   3.554 +  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
   3.555 +  AC_CHECK_TOOL(AS, as, false)
   3.556 +  AC_CHECK_TOOL(OBJDUMP, objdump, false)
   3.557 +  ;;
   3.558 +  ])
   3.559 +esac
   3.560 +
   3.561 +need_locks="$enable_libtool_lock"
   3.562 +
   3.563 +])# _LT_AC_LOCK
   3.564 +
   3.565 +
   3.566 +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
   3.567 +#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
   3.568 +# ----------------------------------------------------------------
   3.569 +# Check whether the given compiler option works
   3.570 +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
   3.571 +[AC_REQUIRE([LT_AC_PROG_SED])
   3.572 +AC_CACHE_CHECK([$1], [$2],
   3.573 +  [$2=no
   3.574 +  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
   3.575 +   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   3.576 +   lt_compiler_flag="$3"
   3.577 +   # Insert the option either (1) after the last *FLAGS variable, or
   3.578 +   # (2) before a word containing "conftest.", or (3) at the end.
   3.579 +   # Note that $ac_compile itself does not contain backslashes and begins
   3.580 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
   3.581 +   # The option is referenced via a variable to avoid confusing sed.
   3.582 +   lt_compile=`echo "$ac_compile" | $SED \
   3.583 +   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
   3.584 +   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
   3.585 +   -e 's:$: $lt_compiler_flag:'`
   3.586 +   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
   3.587 +   (eval "$lt_compile" 2>conftest.err)
   3.588 +   ac_status=$?
   3.589 +   cat conftest.err >&AS_MESSAGE_LOG_FD
   3.590 +   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
   3.591 +   if (exit $ac_status) && test -s "$ac_outfile"; then
   3.592 +     # The compiler can only warn and ignore the option if not recognized
   3.593 +     # So say no if there are warnings
   3.594 +     if test ! -s conftest.err; then
   3.595 +       $2=yes
   3.596 +     fi
   3.597 +   fi
   3.598 +   $rm conftest*
   3.599 +])
   3.600 +
   3.601 +if test x"[$]$2" = xyes; then
   3.602 +    ifelse([$5], , :, [$5])
   3.603 +else
   3.604 +    ifelse([$6], , :, [$6])
   3.605 +fi
   3.606 +])# AC_LIBTOOL_COMPILER_OPTION
   3.607 +
   3.608 +
   3.609 +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
   3.610 +#                          [ACTION-SUCCESS], [ACTION-FAILURE])
   3.611 +# ------------------------------------------------------------
   3.612 +# Check whether the given compiler option works
   3.613 +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
   3.614 +[AC_CACHE_CHECK([$1], [$2],
   3.615 +  [$2=no
   3.616 +   save_LDFLAGS="$LDFLAGS"
   3.617 +   LDFLAGS="$LDFLAGS $3"
   3.618 +   printf "$lt_simple_link_test_code" > conftest.$ac_ext
   3.619 +   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   3.620 +     # The compiler can only warn and ignore the option if not recognized
   3.621 +     # So say no if there are warnings
   3.622 +     if test -s conftest.err; then
   3.623 +       # Append any errors to the config.log.
   3.624 +       cat conftest.err 1>&AS_MESSAGE_LOG_FD
   3.625 +     else
   3.626 +       $2=yes
   3.627 +     fi
   3.628 +   fi
   3.629 +   $rm conftest*
   3.630 +   LDFLAGS="$save_LDFLAGS"
   3.631 +])
   3.632 +
   3.633 +if test x"[$]$2" = xyes; then
   3.634 +    ifelse([$4], , :, [$4])
   3.635 +else
   3.636 +    ifelse([$5], , :, [$5])
   3.637 +fi
   3.638 +])# AC_LIBTOOL_LINKER_OPTION
   3.639 +
   3.640 +
   3.641 +# AC_LIBTOOL_SYS_MAX_CMD_LEN
   3.642 +# --------------------------
   3.643 +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
   3.644 +[# find the maximum length of command line arguments
   3.645 +AC_MSG_CHECKING([the maximum length of command line arguments])
   3.646 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
   3.647 +  i=0
   3.648 +  teststring="ABCD"
   3.649 +
   3.650 +  case $build_os in
   3.651 +  msdosdjgpp*)
   3.652 +    # On DJGPP, this test can blow up pretty badly due to problems in libc
   3.653 +    # (any single argument exceeding 2000 bytes causes a buffer overrun
   3.654 +    # during glob expansion).  Even if it were fixed, the result of this
   3.655 +    # check would be larger than it should be.
   3.656 +    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   3.657 +    ;;
   3.658 +
   3.659 +  gnu*)
   3.660 +    # Under GNU Hurd, this test is not required because there is
   3.661 +    # no limit to the length of command line arguments.
   3.662 +    # Libtool will interpret -1 as no limit whatsoever
   3.663 +    lt_cv_sys_max_cmd_len=-1;
   3.664 +    ;;
   3.665 +
   3.666 +  cygwin* | mingw*)
   3.667 +    # On Win9x/ME, this test blows up -- it succeeds, but takes
   3.668 +    # about 5 minutes as the teststring grows exponentially.
   3.669 +    # Worse, since 9x/ME are not pre-emptively multitasking,
   3.670 +    # you end up with a "frozen" computer, even though with patience
   3.671 +    # the test eventually succeeds (with a max line length of 256k).
   3.672 +    # Instead, let's just punt: use the minimum linelength reported by
   3.673 +    # all of the supported platforms: 8192 (on NT/2K/XP).
   3.674 +    lt_cv_sys_max_cmd_len=8192;
   3.675 +    ;;
   3.676 +
   3.677 +  amigaos*)
   3.678 +    # On AmigaOS with pdksh, this test takes hours, literally.
   3.679 +    # So we just punt and use a minimum line length of 8192.
   3.680 +    lt_cv_sys_max_cmd_len=8192;
   3.681 +    ;;
   3.682 +
   3.683 + *)
   3.684 +    # If test is not a shell built-in, we'll probably end up computing a
   3.685 +    # maximum length that is only half of the actual maximum length, but
   3.686 +    # we can't tell.
   3.687 +    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
   3.688 +	       = "XX$teststring") >/dev/null 2>&1 &&
   3.689 +	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   3.690 +	    lt_cv_sys_max_cmd_len=$new_result &&
   3.691 +	    test $i != 17 # 1/2 MB should be enough
   3.692 +    do
   3.693 +      i=`expr $i + 1`
   3.694 +      teststring=$teststring$teststring
   3.695 +    done
   3.696 +    teststring=
   3.697 +    # Add a significant safety factor because C++ compilers can tack on massive
   3.698 +    # amounts of additional arguments before passing them to the linker.
   3.699 +    # It appears as though 1/2 is a usable value.
   3.700 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   3.701 +    ;;
   3.702 +  esac
   3.703 +])
   3.704 +if test -n $lt_cv_sys_max_cmd_len ; then
   3.705 +  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
   3.706 +else
   3.707 +  AC_MSG_RESULT(none)
   3.708 +fi
   3.709 +])# AC_LIBTOOL_SYS_MAX_CMD_LEN
   3.710 +
   3.711 +
   3.712 +# _LT_AC_CHECK_DLFCN
   3.713 +# --------------------
   3.714 +AC_DEFUN([_LT_AC_CHECK_DLFCN],
   3.715 +[AC_CHECK_HEADERS(dlfcn.h)dnl
   3.716 +])# _LT_AC_CHECK_DLFCN
   3.717 +
   3.718 +
   3.719 +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
   3.720 +#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
   3.721 +# ------------------------------------------------------------------
   3.722 +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
   3.723 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
   3.724 +if test "$cross_compiling" = yes; then :
   3.725 +  [$4]
   3.726 +else
   3.727 +  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   3.728 +  lt_status=$lt_dlunknown
   3.729 +  cat > conftest.$ac_ext <<EOF
   3.730 +[#line __oline__ "configure"
   3.731 +#include "confdefs.h"
   3.732 +
   3.733 +#if HAVE_DLFCN_H
   3.734 +#include <dlfcn.h>
   3.735 +#endif
   3.736 +
   3.737 +#include <stdio.h>
   3.738 +
   3.739 +#ifdef RTLD_GLOBAL
   3.740 +#  define LT_DLGLOBAL		RTLD_GLOBAL
   3.741 +#else
   3.742 +#  ifdef DL_GLOBAL
   3.743 +#    define LT_DLGLOBAL		DL_GLOBAL
   3.744 +#  else
   3.745 +#    define LT_DLGLOBAL		0
   3.746 +#  endif
   3.747 +#endif
   3.748 +
   3.749 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   3.750 +   find out it does not work in some platform. */
   3.751 +#ifndef LT_DLLAZY_OR_NOW
   3.752 +#  ifdef RTLD_LAZY
   3.753 +#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   3.754 +#  else
   3.755 +#    ifdef DL_LAZY
   3.756 +#      define LT_DLLAZY_OR_NOW		DL_LAZY
   3.757 +#    else
   3.758 +#      ifdef RTLD_NOW
   3.759 +#        define LT_DLLAZY_OR_NOW	RTLD_NOW
   3.760 +#      else
   3.761 +#        ifdef DL_NOW
   3.762 +#          define LT_DLLAZY_OR_NOW	DL_NOW
   3.763 +#        else
   3.764 +#          define LT_DLLAZY_OR_NOW	0
   3.765 +#        endif
   3.766 +#      endif
   3.767 +#    endif
   3.768 +#  endif
   3.769 +#endif
   3.770 +
   3.771 +#ifdef __cplusplus
   3.772 +extern "C" void exit (int);
   3.773 +#endif
   3.774 +
   3.775 +void fnord() { int i=42;}
   3.776 +int main ()
   3.777 +{
   3.778 +  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   3.779 +  int status = $lt_dlunknown;
   3.780 +
   3.781 +  if (self)
   3.782 +    {
   3.783 +      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   3.784 +      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   3.785 +      /* dlclose (self); */
   3.786 +    }
   3.787 +
   3.788 +    exit (status);
   3.789 +}]
   3.790 +EOF
   3.791 +  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
   3.792 +    (./conftest; exit; ) 2>/dev/null
   3.793 +    lt_status=$?
   3.794 +    case x$lt_status in
   3.795 +      x$lt_dlno_uscore) $1 ;;
   3.796 +      x$lt_dlneed_uscore) $2 ;;
   3.797 +      x$lt_unknown|x*) $3 ;;
   3.798 +    esac
   3.799 +  else :
   3.800 +    # compilation failed
   3.801 +    $3
   3.802 +  fi
   3.803 +fi
   3.804 +rm -fr conftest*
   3.805 +])# _LT_AC_TRY_DLOPEN_SELF
   3.806 +
   3.807 +
   3.808 +# AC_LIBTOOL_DLOPEN_SELF
   3.809 +# -------------------
   3.810 +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
   3.811 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
   3.812 +if test "x$enable_dlopen" != xyes; then
   3.813 +  enable_dlopen=unknown
   3.814 +  enable_dlopen_self=unknown
   3.815 +  enable_dlopen_self_static=unknown
   3.816 +else
   3.817 +  lt_cv_dlopen=no
   3.818 +  lt_cv_dlopen_libs=
   3.819 +
   3.820 +  case $host_os in
   3.821 +  beos*)
   3.822 +    lt_cv_dlopen="load_add_on"
   3.823 +    lt_cv_dlopen_libs=
   3.824 +    lt_cv_dlopen_self=yes
   3.825 +    ;;
   3.826 +
   3.827 +  mingw* | pw32*)
   3.828 +    lt_cv_dlopen="LoadLibrary"
   3.829 +    lt_cv_dlopen_libs=
   3.830 +   ;;
   3.831 +
   3.832 +  cygwin*)
   3.833 +    lt_cv_dlopen="dlopen"
   3.834 +    lt_cv_dlopen_libs=
   3.835 +   ;;
   3.836 +
   3.837 +  darwin*)
   3.838 +  # if libdl is installed we need to link against it
   3.839 +    AC_CHECK_LIB([dl], [dlopen],
   3.840 +		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
   3.841 +    lt_cv_dlopen="dyld"
   3.842 +    lt_cv_dlopen_libs=
   3.843 +    lt_cv_dlopen_self=yes
   3.844 +    ])
   3.845 +   ;;
   3.846 +
   3.847 +  *)
   3.848 +    AC_CHECK_FUNC([shl_load],
   3.849 +	  [lt_cv_dlopen="shl_load"],
   3.850 +      [AC_CHECK_LIB([dld], [shl_load],
   3.851 +	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
   3.852 +	[AC_CHECK_FUNC([dlopen],
   3.853 +	      [lt_cv_dlopen="dlopen"],
   3.854 +	  [AC_CHECK_LIB([dl], [dlopen],
   3.855 +		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
   3.856 +	    [AC_CHECK_LIB([svld], [dlopen],
   3.857 +		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
   3.858 +	      [AC_CHECK_LIB([dld], [dld_link],
   3.859 +		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
   3.860 +	      ])
   3.861 +	    ])
   3.862 +	  ])
   3.863 +	])
   3.864 +      ])
   3.865 +    ;;
   3.866 +  esac
   3.867 +
   3.868 +  if test "x$lt_cv_dlopen" != xno; then
   3.869 +    enable_dlopen=yes
   3.870 +  else
   3.871 +    enable_dlopen=no
   3.872 +  fi
   3.873 +
   3.874 +  case $lt_cv_dlopen in
   3.875 +  dlopen)
   3.876 +    save_CPPFLAGS="$CPPFLAGS"
   3.877 +    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   3.878 +
   3.879 +    save_LDFLAGS="$LDFLAGS"
   3.880 +    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   3.881 +
   3.882 +    save_LIBS="$LIBS"
   3.883 +    LIBS="$lt_cv_dlopen_libs $LIBS"
   3.884 +
   3.885 +    AC_CACHE_CHECK([whether a program can dlopen itself],
   3.886 +	  lt_cv_dlopen_self, [dnl
   3.887 +	  _LT_AC_TRY_DLOPEN_SELF(
   3.888 +	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
   3.889 +	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
   3.890 +    ])
   3.891 +
   3.892 +    if test "x$lt_cv_dlopen_self" = xyes; then
   3.893 +      LDFLAGS="$LDFLAGS $link_static_flag"
   3.894 +      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
   3.895 +    	  lt_cv_dlopen_self_static, [dnl
   3.896 +	  _LT_AC_TRY_DLOPEN_SELF(
   3.897 +	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
   3.898 +	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
   3.899 +      ])
   3.900 +    fi
   3.901 +
   3.902 +    CPPFLAGS="$save_CPPFLAGS"
   3.903 +    LDFLAGS="$save_LDFLAGS"
   3.904 +    LIBS="$save_LIBS"
   3.905 +    ;;
   3.906 +  esac
   3.907 +
   3.908 +  case $lt_cv_dlopen_self in
   3.909 +  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   3.910 +  *) enable_dlopen_self=unknown ;;
   3.911 +  esac
   3.912 +
   3.913 +  case $lt_cv_dlopen_self_static in
   3.914 +  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   3.915 +  *) enable_dlopen_self_static=unknown ;;
   3.916 +  esac
   3.917 +fi
   3.918 +])# AC_LIBTOOL_DLOPEN_SELF
   3.919 +
   3.920 +
   3.921 +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
   3.922 +# ---------------------------------
   3.923 +# Check to see if options -c and -o are simultaneously supported by compiler
   3.924 +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
   3.925 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
   3.926 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
   3.927 +  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
   3.928 +  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
   3.929 +   $rm -r conftest 2>/dev/null
   3.930 +   mkdir conftest
   3.931 +   cd conftest
   3.932 +   mkdir out
   3.933 +   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   3.934 +
   3.935 +   lt_compiler_flag="-o out/conftest2.$ac_objext"
   3.936 +   # Insert the option either (1) after the last *FLAGS variable, or
   3.937 +   # (2) before a word containing "conftest.", or (3) at the end.
   3.938 +   # Note that $ac_compile itself does not contain backslashes and begins
   3.939 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
   3.940 +   lt_compile=`echo "$ac_compile" | $SED \
   3.941 +   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
   3.942 +   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
   3.943 +   -e 's:$: $lt_compiler_flag:'`
   3.944 +   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
   3.945 +   (eval "$lt_compile" 2>out/conftest.err)
   3.946 +   ac_status=$?
   3.947 +   cat out/conftest.err >&AS_MESSAGE_LOG_FD
   3.948 +   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
   3.949 +   if (exit $ac_status) && test -s out/conftest2.$ac_objext
   3.950 +   then
   3.951 +     # The compiler can only warn and ignore the option if not recognized
   3.952 +     # So say no if there are warnings
   3.953 +     if test ! -s out/conftest.err; then
   3.954 +       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
   3.955 +     fi
   3.956 +   fi
   3.957 +   chmod u+w .
   3.958 +   $rm conftest*
   3.959 +   # SGI C++ compiler will create directory out/ii_files/ for
   3.960 +   # template instantiation
   3.961 +   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   3.962 +   $rm out/* && rmdir out
   3.963 +   cd ..
   3.964 +   rmdir conftest
   3.965 +   $rm conftest*
   3.966 +])
   3.967 +])# AC_LIBTOOL_PROG_CC_C_O
   3.968 +
   3.969 +
   3.970 +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
   3.971 +# -----------------------------------------
   3.972 +# Check to see if we can do hard links to lock some files if needed
   3.973 +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
   3.974 +[AC_REQUIRE([_LT_AC_LOCK])dnl
   3.975 +
   3.976 +hard_links="nottested"
   3.977 +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
   3.978 +  # do not overwrite the value of need_locks provided by the user
   3.979 +  AC_MSG_CHECKING([if we can lock with hard links])
   3.980 +  hard_links=yes
   3.981 +  $rm conftest*
   3.982 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
   3.983 +  touch conftest.a
   3.984 +  ln conftest.a conftest.b 2>&5 || hard_links=no
   3.985 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
   3.986 +  AC_MSG_RESULT([$hard_links])
   3.987 +  if test "$hard_links" = no; then
   3.988 +    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
   3.989 +    need_locks=warn
   3.990 +  fi
   3.991 +else
   3.992 +  need_locks=no
   3.993 +fi
   3.994 +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
   3.995 +
   3.996 +
   3.997 +# AC_LIBTOOL_OBJDIR
   3.998 +# -----------------
   3.999 +AC_DEFUN([AC_LIBTOOL_OBJDIR],
  3.1000 +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
  3.1001 +[rm -f .libs 2>/dev/null
  3.1002 +mkdir .libs 2>/dev/null
  3.1003 +if test -d .libs; then
  3.1004 +  lt_cv_objdir=.libs
  3.1005 +else
  3.1006 +  # MS-DOS does not allow filenames that begin with a dot.
  3.1007 +  lt_cv_objdir=_libs
  3.1008 +fi
  3.1009 +rmdir .libs 2>/dev/null])
  3.1010 +objdir=$lt_cv_objdir
  3.1011 +])# AC_LIBTOOL_OBJDIR
  3.1012 +
  3.1013 +
  3.1014 +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
  3.1015 +# ----------------------------------------------
  3.1016 +# Check hardcoding attributes.
  3.1017 +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
  3.1018 +[AC_MSG_CHECKING([how to hardcode library paths into programs])
  3.1019 +_LT_AC_TAGVAR(hardcode_action, $1)=
  3.1020 +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
  3.1021 +   test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
  3.1022 +   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
  3.1023 +
  3.1024 +  # We can hardcode non-existant directories.
  3.1025 +  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
  3.1026 +     # If the only mechanism to avoid hardcoding is shlibpath_var, we
  3.1027 +     # have to relink, otherwise we might link with an installed library
  3.1028 +     # when we should be linking with a yet-to-be-installed one
  3.1029 +     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  3.1030 +     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
  3.1031 +    # Linking always hardcodes the temporary library directory.
  3.1032 +    _LT_AC_TAGVAR(hardcode_action, $1)=relink
  3.1033 +  else
  3.1034 +    # We can link without hardcoding, and we can hardcode nonexisting dirs.
  3.1035 +    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
  3.1036 +  fi
  3.1037 +else
  3.1038 +  # We cannot hardcode anything, or else we can only hardcode existing
  3.1039 +  # directories.
  3.1040 +  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
  3.1041 +fi
  3.1042 +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
  3.1043 +
  3.1044 +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
  3.1045 +  # Fast installation is not supported
  3.1046 +  enable_fast_install=no
  3.1047 +elif test "$shlibpath_overrides_runpath" = yes ||
  3.1048 +     test "$enable_shared" = no; then
  3.1049 +  # Fast installation is not necessary
  3.1050 +  enable_fast_install=needless
  3.1051 +fi
  3.1052 +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
  3.1053 +
  3.1054 +
  3.1055 +# AC_LIBTOOL_SYS_LIB_STRIP
  3.1056 +# ------------------------
  3.1057 +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
  3.1058 +[striplib=
  3.1059 +old_striplib=
  3.1060 +AC_MSG_CHECKING([whether stripping libraries is possible])
  3.1061 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  3.1062 +  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  3.1063 +  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  3.1064 +  AC_MSG_RESULT([yes])
  3.1065 +else
  3.1066 +# FIXME - insert some real tests, host_os isn't really good enough
  3.1067 +  case $host_os in
  3.1068 +   darwin*)
  3.1069 +       if test -n "$STRIP" ; then
  3.1070 +         striplib="$STRIP -x"
  3.1071 +         AC_MSG_RESULT([yes])
  3.1072 +       else
  3.1073 +  AC_MSG_RESULT([no])
  3.1074 +fi
  3.1075 +       ;;
  3.1076 +   *)
  3.1077 +  AC_MSG_RESULT([no])
  3.1078 +    ;;
  3.1079 +  esac
  3.1080 +fi
  3.1081 +])# AC_LIBTOOL_SYS_LIB_STRIP
  3.1082 +
  3.1083 +
  3.1084 +# AC_LIBTOOL_SYS_DYNAMIC_LINKER
  3.1085 +# -----------------------------
  3.1086 +# PORTME Fill in your ld.so characteristics
  3.1087 +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
  3.1088 +[AC_MSG_CHECKING([dynamic linker characteristics])
  3.1089 +library_names_spec=
  3.1090 +libname_spec='lib$name'
  3.1091 +soname_spec=
  3.1092 +shrext_cmds=".so"
  3.1093 +postinstall_cmds=
  3.1094 +postuninstall_cmds=
  3.1095 +finish_cmds=
  3.1096 +finish_eval=
  3.1097 +shlibpath_var=
  3.1098 +shlibpath_overrides_runpath=unknown
  3.1099 +version_type=none
  3.1100 +dynamic_linker="$host_os ld.so"
  3.1101 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  3.1102 +if test "$GCC" = yes; then
  3.1103 +  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  3.1104 +  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
  3.1105 +    # if the path contains ";" then we assume it to be the separator
  3.1106 +    # otherwise default to the standard path separator (i.e. ":") - it is
  3.1107 +    # assumed that no part of a normal pathname contains ";" but that should
  3.1108 +    # okay in the real world where ";" in dirpaths is itself problematic.
  3.1109 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  3.1110 +  else
  3.1111 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  3.1112 +  fi
  3.1113 +else
  3.1114 +  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  3.1115 +fi
  3.1116 +need_lib_prefix=unknown
  3.1117 +hardcode_into_libs=no
  3.1118 +
  3.1119 +# when you set need_version to no, make sure it does not cause -set_version
  3.1120 +# flags to be left without arguments
  3.1121 +need_version=unknown
  3.1122 +
  3.1123 +case $host_os in
  3.1124 +aix3*)
  3.1125 +  version_type=linux
  3.1126 +  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  3.1127 +  shlibpath_var=LIBPATH
  3.1128 +
  3.1129 +  # AIX 3 has no versioning support, so we append a major version to the name.
  3.1130 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1131 +  ;;
  3.1132 +
  3.1133 +aix4* | aix5*)
  3.1134 +  version_type=linux
  3.1135 +  need_lib_prefix=no
  3.1136 +  need_version=no
  3.1137 +  hardcode_into_libs=yes
  3.1138 +  if test "$host_cpu" = ia64; then
  3.1139 +    # AIX 5 supports IA64
  3.1140 +    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  3.1141 +    shlibpath_var=LD_LIBRARY_PATH
  3.1142 +  else
  3.1143 +    # With GCC up to 2.95.x, collect2 would create an import file
  3.1144 +    # for dependence libraries.  The import file would start with
  3.1145 +    # the line `#! .'.  This would cause the generated library to
  3.1146 +    # depend on `.', always an invalid library.  This was fixed in
  3.1147 +    # development snapshots of GCC prior to 3.0.
  3.1148 +    case $host_os in
  3.1149 +      aix4 | aix4.[[01]] | aix4.[[01]].*)
  3.1150 +      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  3.1151 +	   echo ' yes '
  3.1152 +	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  3.1153 +	:
  3.1154 +      else
  3.1155 +	can_build_shared=no
  3.1156 +      fi
  3.1157 +      ;;
  3.1158 +    esac
  3.1159 +    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  3.1160 +    # soname into executable. Probably we can add versioning support to
  3.1161 +    # collect2, so additional links can be useful in future.
  3.1162 +    if test "$aix_use_runtimelinking" = yes; then
  3.1163 +      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  3.1164 +      # instead of lib<name>.a to let people know that these are not
  3.1165 +      # typical AIX shared libraries.
  3.1166 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1167 +    else
  3.1168 +      # We preserve .a as extension for shared libraries through AIX4.2
  3.1169 +      # and later when we are not doing run time linking.
  3.1170 +      library_names_spec='${libname}${release}.a $libname.a'
  3.1171 +      soname_spec='${libname}${release}${shared_ext}$major'
  3.1172 +    fi
  3.1173 +    shlibpath_var=LIBPATH
  3.1174 +  fi
  3.1175 +  ;;
  3.1176 +
  3.1177 +amigaos*)
  3.1178 +  library_names_spec='$libname.ixlibrary $libname.a'
  3.1179 +  # Create ${libname}_ixlibrary.a entries in /sys/libs.
  3.1180 +  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
  3.1181 +  ;;
  3.1182 +
  3.1183 +beos*)
  3.1184 +  library_names_spec='${libname}${shared_ext}'
  3.1185 +  dynamic_linker="$host_os ld.so"
  3.1186 +  shlibpath_var=LIBRARY_PATH
  3.1187 +  ;;
  3.1188 +
  3.1189 +bsdi4*)
  3.1190 +  version_type=linux
  3.1191 +  need_version=no
  3.1192 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1193 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1194 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  3.1195 +  shlibpath_var=LD_LIBRARY_PATH
  3.1196 +  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  3.1197 +  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  3.1198 +  # the default ld.so.conf also contains /usr/contrib/lib and
  3.1199 +  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  3.1200 +  # libtool to hard-code these into programs
  3.1201 +  ;;
  3.1202 +
  3.1203 +cygwin* | mingw* | pw32*)
  3.1204 +  version_type=windows
  3.1205 +  shrext_cmds=".dll"
  3.1206 +  need_version=no
  3.1207 +  need_lib_prefix=no
  3.1208 +
  3.1209 +  case $GCC,$host_os in
  3.1210 +  yes,cygwin* | yes,mingw* | yes,pw32*)
  3.1211 +    library_names_spec='$libname.dll.a'
  3.1212 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
  3.1213 +    postinstall_cmds='base_file=`basename \${file}`~
  3.1214 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  3.1215 +      dldir=$destdir/`dirname \$dlpath`~
  3.1216 +      test -d \$dldir || mkdir -p \$dldir~
  3.1217 +      $install_prog $dir/$dlname \$dldir/$dlname'
  3.1218 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  3.1219 +      dlpath=$dir/\$dldll~
  3.1220 +       $rm \$dlpath'
  3.1221 +    shlibpath_overrides_runpath=yes
  3.1222 +
  3.1223 +    case $host_os in
  3.1224 +    cygwin*)
  3.1225 +      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  3.1226 +      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  3.1227 +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  3.1228 +      ;;
  3.1229 +    mingw*)
  3.1230 +      # MinGW DLLs use traditional 'lib' prefix
  3.1231 +      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  3.1232 +      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  3.1233 +      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
  3.1234 +        # It is most probably a Windows format PATH printed by
  3.1235 +        # mingw gcc, but we are running on Cygwin. Gcc prints its search
  3.1236 +        # path with ; separators, and with drive letters. We can handle the
  3.1237 +        # drive letters (cygwin fileutils understands them), so leave them,
  3.1238 +        # especially as we might pass files found there to a mingw objdump,
  3.1239 +        # which wouldn't understand a cygwinified path. Ahh.
  3.1240 +        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  3.1241 +      else
  3.1242 +        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  3.1243 +      fi
  3.1244 +      ;;
  3.1245 +    pw32*)
  3.1246 +      # pw32 DLLs use 'pw' prefix rather than 'lib'
  3.1247 +      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  3.1248 +      ;;
  3.1249 +    esac
  3.1250 +    ;;
  3.1251 +
  3.1252 +  *)
  3.1253 +    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
  3.1254 +    ;;
  3.1255 +  esac
  3.1256 +  dynamic_linker='Win32 ld.exe'
  3.1257 +  # FIXME: first we should search . and the directory the executable is in
  3.1258 +  shlibpath_var=PATH
  3.1259 +  ;;
  3.1260 +
  3.1261 +darwin* | rhapsody*)
  3.1262 +  dynamic_linker="$host_os dyld"
  3.1263 +  version_type=darwin
  3.1264 +  need_lib_prefix=no
  3.1265 +  need_version=no
  3.1266 +  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  3.1267 +  soname_spec='${libname}${release}${major}$shared_ext'
  3.1268 +  shlibpath_overrides_runpath=yes
  3.1269 +  shlibpath_var=DYLD_LIBRARY_PATH
  3.1270 +  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
  3.1271 +  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  3.1272 +  if test "$GCC" = yes; then
  3.1273 +    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
  3.1274 +  else
  3.1275 +    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
  3.1276 +  fi
  3.1277 +  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  3.1278 +  ;;
  3.1279 +
  3.1280 +dgux*)
  3.1281 +  version_type=linux
  3.1282 +  need_lib_prefix=no
  3.1283 +  need_version=no
  3.1284 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  3.1285 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1286 +  shlibpath_var=LD_LIBRARY_PATH
  3.1287 +  ;;
  3.1288 +
  3.1289 +freebsd1*)
  3.1290 +  dynamic_linker=no
  3.1291 +  ;;
  3.1292 +
  3.1293 +kfreebsd*-gnu)
  3.1294 +  version_type=linux
  3.1295 +  need_lib_prefix=no
  3.1296 +  need_version=no
  3.1297 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  3.1298 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1299 +  shlibpath_var=LD_LIBRARY_PATH
  3.1300 +  shlibpath_overrides_runpath=no
  3.1301 +  hardcode_into_libs=yes
  3.1302 +  dynamic_linker='GNU ld.so'
  3.1303 +  ;;
  3.1304 +
  3.1305 +freebsd*)
  3.1306 +  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
  3.1307 +  version_type=freebsd-$objformat
  3.1308 +  case $version_type in
  3.1309 +    freebsd-elf*)
  3.1310 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  3.1311 +      need_version=no
  3.1312 +      need_lib_prefix=no
  3.1313 +      ;;
  3.1314 +    freebsd-*)
  3.1315 +      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  3.1316 +      need_version=yes
  3.1317 +      ;;
  3.1318 +  esac
  3.1319 +  shlibpath_var=LD_LIBRARY_PATH
  3.1320 +  case $host_os in
  3.1321 +  freebsd2*)
  3.1322 +    shlibpath_overrides_runpath=yes
  3.1323 +    ;;
  3.1324 +  freebsd3.[01]* | freebsdelf3.[01]*)
  3.1325 +    shlibpath_overrides_runpath=yes
  3.1326 +    hardcode_into_libs=yes
  3.1327 +    ;;
  3.1328 +  *) # from 3.2 on
  3.1329 +    shlibpath_overrides_runpath=no
  3.1330 +    hardcode_into_libs=yes
  3.1331 +    ;;
  3.1332 +  esac
  3.1333 +  ;;
  3.1334 +
  3.1335 +gnu*)
  3.1336 +  version_type=linux
  3.1337 +  need_lib_prefix=no
  3.1338 +  need_version=no
  3.1339 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  3.1340 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1341 +  shlibpath_var=LD_LIBRARY_PATH
  3.1342 +  hardcode_into_libs=yes
  3.1343 +  ;;
  3.1344 +
  3.1345 +hpux9* | hpux10* | hpux11*)
  3.1346 +  # Give a soname corresponding to the major version so that dld.sl refuses to
  3.1347 +  # link against other versions.
  3.1348 +  version_type=sunos
  3.1349 +  need_lib_prefix=no
  3.1350 +  need_version=no
  3.1351 +  case "$host_cpu" in
  3.1352 +  ia64*)
  3.1353 +    shrext_cmds='.so'
  3.1354 +    hardcode_into_libs=yes
  3.1355 +    dynamic_linker="$host_os dld.so"
  3.1356 +    shlibpath_var=LD_LIBRARY_PATH
  3.1357 +    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  3.1358 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1359 +    soname_spec='${libname}${release}${shared_ext}$major'
  3.1360 +    if test "X$HPUX_IA64_MODE" = X32; then
  3.1361 +      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  3.1362 +    else
  3.1363 +      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  3.1364 +    fi
  3.1365 +    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  3.1366 +    ;;
  3.1367 +   hppa*64*)
  3.1368 +     shrext_cmds='.sl'
  3.1369 +     hardcode_into_libs=yes
  3.1370 +     dynamic_linker="$host_os dld.sl"
  3.1371 +     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  3.1372 +     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  3.1373 +     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1374 +     soname_spec='${libname}${release}${shared_ext}$major'
  3.1375 +     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  3.1376 +     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  3.1377 +     ;;
  3.1378 +   *)
  3.1379 +    shrext_cmds='.sl'
  3.1380 +    dynamic_linker="$host_os dld.sl"
  3.1381 +    shlibpath_var=SHLIB_PATH
  3.1382 +    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  3.1383 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1384 +    soname_spec='${libname}${release}${shared_ext}$major'
  3.1385 +    ;;
  3.1386 +  esac
  3.1387 +  # HP-UX runs *really* slowly unless shared libraries are mode 555.
  3.1388 +  postinstall_cmds='chmod 555 $lib'
  3.1389 +  ;;
  3.1390 +
  3.1391 +irix5* | irix6* | nonstopux*)
  3.1392 +  case $host_os in
  3.1393 +    nonstopux*) version_type=nonstopux ;;
  3.1394 +    *)
  3.1395 +	if test "$lt_cv_prog_gnu_ld" = yes; then
  3.1396 +		version_type=linux
  3.1397 +	else
  3.1398 +		version_type=irix
  3.1399 +	fi ;;
  3.1400 +  esac
  3.1401 +  need_lib_prefix=no
  3.1402 +  need_version=no
  3.1403 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1404 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  3.1405 +  case $host_os in
  3.1406 +  irix5* | nonstopux*)
  3.1407 +    libsuff= shlibsuff=
  3.1408 +    ;;
  3.1409 +  *)
  3.1410 +    case $LD in # libtool.m4 will add one of these switches to LD
  3.1411 +    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  3.1412 +      libsuff= shlibsuff= libmagic=32-bit;;
  3.1413 +    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  3.1414 +      libsuff=32 shlibsuff=N32 libmagic=N32;;
  3.1415 +    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  3.1416 +      libsuff=64 shlibsuff=64 libmagic=64-bit;;
  3.1417 +    *) libsuff= shlibsuff= libmagic=never-match;;
  3.1418 +    esac
  3.1419 +    ;;
  3.1420 +  esac
  3.1421 +  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  3.1422 +  shlibpath_overrides_runpath=no
  3.1423 +  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  3.1424 +  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  3.1425 +  hardcode_into_libs=yes
  3.1426 +  ;;
  3.1427 +
  3.1428 +# No shared lib support for Linux oldld, aout, or coff.
  3.1429 +linux*oldld* | linux*aout* | linux*coff*)
  3.1430 +  dynamic_linker=no
  3.1431 +  ;;
  3.1432 +
  3.1433 +# This must be Linux ELF.
  3.1434 +linux*)
  3.1435 +  version_type=linux
  3.1436 +  need_lib_prefix=no
  3.1437 +  need_version=no
  3.1438 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1439 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1440 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  3.1441 +  shlibpath_var=LD_LIBRARY_PATH
  3.1442 +  shlibpath_overrides_runpath=no
  3.1443 +  # This implies no fast_install, which is unacceptable.
  3.1444 +  # Some rework will be needed to allow for fast_install
  3.1445 +  # before this can be enabled.
  3.1446 +  hardcode_into_libs=yes
  3.1447 +
  3.1448 +  # Append ld.so.conf contents to the search path
  3.1449 +  if test -f /etc/ld.so.conf; then
  3.1450 +    lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
  3.1451 +    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  3.1452 +  fi
  3.1453 +
  3.1454 +  # We used to test for /lib/ld.so.1 and disable shared libraries on
  3.1455 +  # powerpc, because MkLinux only supported shared libraries with the
  3.1456 +  # GNU dynamic linker.  Since this was broken with cross compilers,
  3.1457 +  # most powerpc-linux boxes support dynamic linking these days and
  3.1458 +  # people can always --disable-shared, the test was removed, and we
  3.1459 +  # assume the GNU/Linux dynamic linker is in use.
  3.1460 +  dynamic_linker='GNU/Linux ld.so'
  3.1461 +  ;;
  3.1462 +
  3.1463 +netbsdelf*-gnu)
  3.1464 +  version_type=linux
  3.1465 +  need_lib_prefix=no
  3.1466 +  need_version=no
  3.1467 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  3.1468 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1469 +  shlibpath_var=LD_LIBRARY_PATH
  3.1470 +  shlibpath_overrides_runpath=no
  3.1471 +  hardcode_into_libs=yes
  3.1472 +  dynamic_linker='NetBSD ld.elf_so'
  3.1473 +  ;;
  3.1474 +
  3.1475 +knetbsd*-gnu)
  3.1476 +  version_type=linux
  3.1477 +  need_lib_prefix=no
  3.1478 +  need_version=no
  3.1479 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  3.1480 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1481 +  shlibpath_var=LD_LIBRARY_PATH
  3.1482 +  shlibpath_overrides_runpath=no
  3.1483 +  hardcode_into_libs=yes
  3.1484 +  dynamic_linker='GNU ld.so'
  3.1485 +  ;;
  3.1486 +
  3.1487 +netbsd*)
  3.1488 +  version_type=sunos
  3.1489 +  need_lib_prefix=no
  3.1490 +  need_version=no
  3.1491 +  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  3.1492 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  3.1493 +    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  3.1494 +    dynamic_linker='NetBSD (a.out) ld.so'
  3.1495 +  else
  3.1496 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  3.1497 +    soname_spec='${libname}${release}${shared_ext}$major'
  3.1498 +    dynamic_linker='NetBSD ld.elf_so'
  3.1499 +  fi
  3.1500 +  shlibpath_var=LD_LIBRARY_PATH
  3.1501 +  shlibpath_overrides_runpath=yes
  3.1502 +  hardcode_into_libs=yes
  3.1503 +  ;;
  3.1504 +
  3.1505 +newsos6)
  3.1506 +  version_type=linux
  3.1507 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1508 +  shlibpath_var=LD_LIBRARY_PATH
  3.1509 +  shlibpath_overrides_runpath=yes
  3.1510 +  ;;
  3.1511 +
  3.1512 +nto-qnx*)
  3.1513 +  version_type=linux
  3.1514 +  need_lib_prefix=no
  3.1515 +  need_version=no
  3.1516 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1517 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1518 +  shlibpath_var=LD_LIBRARY_PATH
  3.1519 +  shlibpath_overrides_runpath=yes
  3.1520 +  ;;
  3.1521 +
  3.1522 +openbsd*)
  3.1523 +  version_type=sunos
  3.1524 +  need_lib_prefix=no
  3.1525 +  need_version=yes
  3.1526 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  3.1527 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  3.1528 +  shlibpath_var=LD_LIBRARY_PATH
  3.1529 +  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3.1530 +    case $host_os in
  3.1531 +      openbsd2.[[89]] | openbsd2.[[89]].*)
  3.1532 +	shlibpath_overrides_runpath=no
  3.1533 +	;;
  3.1534 +      *)
  3.1535 +	shlibpath_overrides_runpath=yes
  3.1536 +	;;
  3.1537 +      esac
  3.1538 +  else
  3.1539 +    shlibpath_overrides_runpath=yes
  3.1540 +  fi
  3.1541 +  ;;
  3.1542 +
  3.1543 +os2*)
  3.1544 +  libname_spec='$name'
  3.1545 +  shrext_cmds=".dll"
  3.1546 +  need_lib_prefix=no
  3.1547 +  library_names_spec='$libname${shared_ext} $libname.a'
  3.1548 +  dynamic_linker='OS/2 ld.exe'
  3.1549 +  shlibpath_var=LIBPATH
  3.1550 +  ;;
  3.1551 +
  3.1552 +osf3* | osf4* | osf5*)
  3.1553 +  version_type=osf
  3.1554 +  need_lib_prefix=no
  3.1555 +  need_version=no
  3.1556 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1557 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1558 +  shlibpath_var=LD_LIBRARY_PATH
  3.1559 +  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  3.1560 +  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  3.1561 +  ;;
  3.1562 +
  3.1563 +sco3.2v5*)
  3.1564 +  version_type=osf
  3.1565 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1566 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1567 +  shlibpath_var=LD_LIBRARY_PATH
  3.1568 +  ;;
  3.1569 +
  3.1570 +solaris*)
  3.1571 +  version_type=linux
  3.1572 +  need_lib_prefix=no
  3.1573 +  need_version=no
  3.1574 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1575 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1576 +  shlibpath_var=LD_LIBRARY_PATH
  3.1577 +  shlibpath_overrides_runpath=yes
  3.1578 +  hardcode_into_libs=yes
  3.1579 +  # ldd complains unless libraries are executable
  3.1580 +  postinstall_cmds='chmod +x $lib'
  3.1581 +  ;;
  3.1582 +
  3.1583 +sunos4*)
  3.1584 +  version_type=sunos
  3.1585 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  3.1586 +  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  3.1587 +  shlibpath_var=LD_LIBRARY_PATH
  3.1588 +  shlibpath_overrides_runpath=yes
  3.1589 +  if test "$with_gnu_ld" = yes; then
  3.1590 +    need_lib_prefix=no
  3.1591 +  fi
  3.1592 +  need_version=yes
  3.1593 +  ;;
  3.1594 +
  3.1595 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  3.1596 +  version_type=linux
  3.1597 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1598 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1599 +  shlibpath_var=LD_LIBRARY_PATH
  3.1600 +  case $host_vendor in
  3.1601 +    sni)
  3.1602 +      shlibpath_overrides_runpath=no
  3.1603 +      need_lib_prefix=no
  3.1604 +      export_dynamic_flag_spec='${wl}-Blargedynsym'
  3.1605 +      runpath_var=LD_RUN_PATH
  3.1606 +      ;;
  3.1607 +    siemens)
  3.1608 +      need_lib_prefix=no
  3.1609 +      ;;
  3.1610 +    motorola)
  3.1611 +      need_lib_prefix=no
  3.1612 +      need_version=no
  3.1613 +      shlibpath_overrides_runpath=no
  3.1614 +      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  3.1615 +      ;;
  3.1616 +  esac
  3.1617 +  ;;
  3.1618 +
  3.1619 +sysv4*MP*)
  3.1620 +  if test -d /usr/nec ;then
  3.1621 +    version_type=linux
  3.1622 +    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  3.1623 +    soname_spec='$libname${shared_ext}.$major'
  3.1624 +    shlibpath_var=LD_LIBRARY_PATH
  3.1625 +  fi
  3.1626 +  ;;
  3.1627 +
  3.1628 +uts4*)
  3.1629 +  version_type=linux
  3.1630 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  3.1631 +  soname_spec='${libname}${release}${shared_ext}$major'
  3.1632 +  shlibpath_var=LD_LIBRARY_PATH
  3.1633 +  ;;
  3.1634 +
  3.1635 +*)
  3.1636 +  dynamic_linker=no
  3.1637 +  ;;
  3.1638 +esac
  3.1639 +AC_MSG_RESULT([$dynamic_linker])
  3.1640 +test "$dynamic_linker" = no && can_build_shared=no
  3.1641 +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
  3.1642 +
  3.1643 +
  3.1644 +# _LT_AC_TAGCONFIG
  3.1645 +# ----------------
  3.1646 +AC_DEFUN([_LT_AC_TAGCONFIG],
  3.1647 +[AC_ARG_WITH([tags],
  3.1648 +    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
  3.1649 +        [include additional configurations @<:@automatic@:>@])],
  3.1650 +    [tagnames="$withval"])
  3.1651 +
  3.1652 +if test -f "$ltmain" && test -n "$tagnames"; then
  3.1653 +  if test ! -f "${ofile}"; then
  3.1654 +    AC_MSG_WARN([output file `$ofile' does not exist])
  3.1655 +  fi
  3.1656 +
  3.1657 +  if test -z "$LTCC"; then
  3.1658 +    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
  3.1659 +    if test -z "$LTCC"; then
  3.1660 +      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
  3.1661 +    else
  3.1662 +      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
  3.1663 +    fi
  3.1664 +  fi
  3.1665 +
  3.1666 +  # Extract list of available tagged configurations in $ofile.
  3.1667 +  # Note that this assumes the entire list is on one line.
  3.1668 +  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
  3.1669 +
  3.1670 +  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  3.1671 +  for tagname in $tagnames; do
  3.1672 +    IFS="$lt_save_ifs"
  3.1673 +    # Check whether tagname contains only valid characters
  3.1674 +    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
  3.1675 +    "") ;;
  3.1676 +    *)  AC_MSG_ERROR([invalid tag name: $tagname])
  3.1677 +	;;
  3.1678 +    esac
  3.1679 +
  3.1680 +    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
  3.1681 +    then
  3.1682 +      AC_MSG_ERROR([tag name \"$tagname\" already exists])
  3.1683 +    fi
  3.1684 +
  3.1685 +    # Update the list of available tags.
  3.1686 +    if test -n "$tagname"; then
  3.1687 +      echo appending configuration tag \"$tagname\" to $ofile
  3.1688 +
  3.1689 +      case $tagname in
  3.1690 +      CXX)
  3.1691 +	if test -n "$CXX" && test "X$CXX" != "Xno"; then
  3.1692 +	  AC_LIBTOOL_LANG_CXX_CONFIG
  3.1693 +	else
  3.1694 +	  tagname=""
  3.1695 +	fi
  3.1696 +	;;
  3.1697 +
  3.1698 +      F77)
  3.1699 +	if test -n "$F77" && test "X$F77" != "Xno"; then
  3.1700 +	  AC_LIBTOOL_LANG_F77_CONFIG
  3.1701 +	else
  3.1702 +	  tagname=""
  3.1703 +	fi
  3.1704 +	;;
  3.1705 +
  3.1706 +      GCJ)
  3.1707 +	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
  3.1708 +	  AC_LIBTOOL_LANG_GCJ_CONFIG
  3.1709 +	else
  3.1710 +	  tagname=""
  3.1711 +	fi
  3.1712 +	;;
  3.1713 +
  3.1714 +      RC)
  3.1715 +	AC_LIBTOOL_LANG_RC_CONFIG
  3.1716 +	;;
  3.1717 +
  3.1718 +      *)
  3.1719 +	AC_MSG_ERROR([Unsupported tag name: $tagname])
  3.1720 +	;;
  3.1721 +      esac
  3.1722 +
  3.1723 +      # Append the new tag name to the list of available tags.
  3.1724 +      if test -n "$tagname" ; then
  3.1725 +      available_tags="$available_tags $tagname"
  3.1726 +    fi
  3.1727 +    fi
  3.1728 +  done
  3.1729 +  IFS="$lt_save_ifs"
  3.1730 +
  3.1731 +  # Now substitute the updated list of available tags.
  3.1732 +  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
  3.1733 +    mv "${ofile}T" "$ofile"
  3.1734 +    chmod +x "$ofile"
  3.1735 +  else
  3.1736 +    rm -f "${ofile}T"
  3.1737 +    AC_MSG_ERROR([unable to update list of available tagged configurations.])
  3.1738 +  fi
  3.1739 +fi
  3.1740 +])# _LT_AC_TAGCONFIG
  3.1741 +
  3.1742 +
  3.1743 +# AC_LIBTOOL_DLOPEN
  3.1744 +# -----------------
  3.1745 +# enable checks for dlopen support
  3.1746 +AC_DEFUN([AC_LIBTOOL_DLOPEN],
  3.1747 + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
  3.1748 +])# AC_LIBTOOL_DLOPEN
  3.1749 +
  3.1750 +
  3.1751 +# AC_LIBTOOL_WIN32_DLL
  3.1752 +# --------------------
  3.1753 +# declare package support for building win32 dll's
  3.1754 +AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
  3.1755 +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
  3.1756 +])# AC_LIBTOOL_WIN32_DLL
  3.1757 +
  3.1758 +
  3.1759 +# AC_ENABLE_SHARED([DEFAULT])
  3.1760 +# ---------------------------
  3.1761 +# implement the --enable-shared flag
  3.1762 +# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
  3.1763 +AC_DEFUN([AC_ENABLE_SHARED],
  3.1764 +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
  3.1765 +AC_ARG_ENABLE([shared],
  3.1766 +    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  3.1767 +	[build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
  3.1768 +    [p=${PACKAGE-default}
  3.1769 +    case $enableval in
  3.1770 +    yes) enable_shared=yes ;;
  3.1771 +    no) enable_shared=no ;;
  3.1772 +    *)
  3.1773 +      enable_shared=no
  3.1774 +      # Look at the argument we got.  We use all the common list separators.
  3.1775 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  3.1776 +      for pkg in $enableval; do
  3.1777 +	IFS="$lt_save_ifs"
  3.1778 +	if test "X$pkg" = "X$p"; then
  3.1779 +	  enable_shared=yes
  3.1780 +	fi
  3.1781 +      done
  3.1782 +      IFS="$lt_save_ifs"
  3.1783 +      ;;
  3.1784 +    esac],
  3.1785 +    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
  3.1786 +])# AC_ENABLE_SHARED
  3.1787 +
  3.1788 +
  3.1789 +# AC_DISABLE_SHARED
  3.1790 +# -----------------
  3.1791 +#- set the default shared flag to --disable-shared
  3.1792 +AC_DEFUN([AC_DISABLE_SHARED],
  3.1793 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  3.1794 +AC_ENABLE_SHARED(no)
  3.1795 +])# AC_DISABLE_SHARED
  3.1796 +
  3.1797 +
  3.1798 +# AC_ENABLE_STATIC([DEFAULT])
  3.1799 +# ---------------------------
  3.1800 +# implement the --enable-static flag
  3.1801 +# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
  3.1802 +AC_DEFUN([AC_ENABLE_STATIC],
  3.1803 +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
  3.1804 +AC_ARG_ENABLE([static],
  3.1805 +    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  3.1806 +	[build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
  3.1807 +    [p=${PACKAGE-default}
  3.1808 +    case $enableval in
  3.1809 +    yes) enable_static=yes ;;
  3.1810 +    no) enable_static=no ;;
  3.1811 +    *)
  3.1812 +     enable_static=no
  3.1813 +      # Look at the argument we got.  We use all the common list separators.
  3.1814 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  3.1815 +      for pkg in $enableval; do
  3.1816 +	IFS="$lt_save_ifs"
  3.1817 +	if test "X$pkg" = "X$p"; then
  3.1818 +	  enable_static=yes
  3.1819 +	fi
  3.1820 +      done
  3.1821 +      IFS="$lt_save_ifs"
  3.1822 +      ;;
  3.1823 +    esac],
  3.1824 +    [enable_static=]AC_ENABLE_STATIC_DEFAULT)
  3.1825 +])# AC_ENABLE_STATIC
  3.1826 +
  3.1827 +
  3.1828 +# AC_DISABLE_STATIC
  3.1829 +# -----------------
  3.1830 +# set the default static flag to --disable-static
  3.1831 +AC_DEFUN([AC_DISABLE_STATIC],
  3.1832 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  3.1833 +AC_ENABLE_STATIC(no)
  3.1834 +])# AC_DISABLE_STATIC
  3.1835 +
  3.1836 +
  3.1837 +# AC_ENABLE_FAST_INSTALL([DEFAULT])
  3.1838 +# ---------------------------------
  3.1839 +# implement the --enable-fast-install flag
  3.1840 +# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
  3.1841 +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
  3.1842 +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
  3.1843 +AC_ARG_ENABLE([fast-install],
  3.1844 +    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  3.1845 +    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  3.1846 +    [p=${PACKAGE-default}
  3.1847 +    case $enableval in
  3.1848 +    yes) enable_fast_install=yes ;;
  3.1849 +    no) enable_fast_install=no ;;
  3.1850 +    *)
  3.1851 +      enable_fast_install=no
  3.1852 +      # Look at the argument we got.  We use all the common list separators.
  3.1853 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  3.1854 +      for pkg in $enableval; do
  3.1855 +	IFS="$lt_save_ifs"
  3.1856 +	if test "X$pkg" = "X$p"; then
  3.1857 +	  enable_fast_install=yes
  3.1858 +	fi
  3.1859 +      done
  3.1860 +      IFS="$lt_save_ifs"
  3.1861 +      ;;
  3.1862 +    esac],
  3.1863 +    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
  3.1864 +])# AC_ENABLE_FAST_INSTALL
  3.1865 +
  3.1866 +
  3.1867 +# AC_DISABLE_FAST_INSTALL
  3.1868 +# -----------------------
  3.1869 +# set the default to --disable-fast-install
  3.1870 +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
  3.1871 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  3.1872 +AC_ENABLE_FAST_INSTALL(no)
  3.1873 +])# AC_DISABLE_FAST_INSTALL
  3.1874 +
  3.1875 +
  3.1876 +# AC_LIBTOOL_PICMODE([MODE])
  3.1877 +# --------------------------
  3.1878 +# implement the --with-pic flag
  3.1879 +# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
  3.1880 +AC_DEFUN([AC_LIBTOOL_PICMODE],
  3.1881 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  3.1882 +pic_mode=ifelse($#,1,$1,default)
  3.1883 +])# AC_LIBTOOL_PICMODE
  3.1884 +
  3.1885 +
  3.1886 +# AC_PROG_EGREP
  3.1887 +# -------------
  3.1888 +# This is predefined starting with Autoconf 2.54, so this conditional
  3.1889 +# definition can be removed once we require Autoconf 2.54 or later.
  3.1890 +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
  3.1891 +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
  3.1892 +   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  3.1893 +    then ac_cv_prog_egrep='grep -E'
  3.1894 +    else ac_cv_prog_egrep='egrep'
  3.1895 +    fi])
  3.1896 + EGREP=$ac_cv_prog_egrep
  3.1897 + AC_SUBST([EGREP])
  3.1898 +])])
  3.1899 +
  3.1900 +
  3.1901 +# AC_PATH_TOOL_PREFIX
  3.1902 +# -------------------
  3.1903 +# find a file program which can recognise shared library
  3.1904 +AC_DEFUN([AC_PATH_TOOL_PREFIX],
  3.1905 +[AC_REQUIRE([AC_PROG_EGREP])dnl
  3.1906 +AC_MSG_CHECKING([for $1])
  3.1907 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  3.1908 +[case $MAGIC_CMD in
  3.1909 +[[\\/*] |  ?:[\\/]*])
  3.1910 +  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  3.1911 +  ;;
  3.1912 +*)
  3.1913 +  lt_save_MAGIC_CMD="$MAGIC_CMD"
  3.1914 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3.1915 +dnl $ac_dummy forces splitting on constant user-supplied paths.
  3.1916 +dnl POSIX.2 word splitting is done only on the output of word expansions,
  3.1917 +dnl not every word.  This closes a longstanding sh security hole.
  3.1918 +  ac_dummy="ifelse([$2], , $PATH, [$2])"
  3.1919 +  for ac_dir in $ac_dummy; do
  3.1920 +    IFS="$lt_save_ifs"
  3.1921 +    test -z "$ac_dir" && ac_dir=.
  3.1922 +    if test -f $ac_dir/$1; then
  3.1923 +      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  3.1924 +      if test -n "$file_magic_test_file"; then
  3.1925 +	case $deplibs_check_method in
  3.1926 +	"file_magic "*)
  3.1927 +	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
  3.1928 +	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  3.1929 +	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  3.1930 +	    $EGREP "$file_magic_regex" > /dev/null; then
  3.1931 +	    :
  3.1932 +	  else
  3.1933 +	    cat <<EOF 1>&2
  3.1934 +
  3.1935 +*** Warning: the command libtool uses to detect shared libraries,
  3.1936 +*** $file_magic_cmd, produces output that libtool cannot recognize.
  3.1937 +*** The result is that libtool may fail to recognize shared libraries
  3.1938 +*** as such.  This will affect the creation of libtool libraries that
  3.1939 +*** depend on shared libraries, but programs linked with such libtool
  3.1940 +*** libraries will work regardless of this problem.  Nevertheless, you
  3.1941 +*** may want to report the problem to your system manager and/or to
  3.1942 +*** bug-libtool@gnu.org
  3.1943 +
  3.1944 +EOF
  3.1945 +	  fi ;;
  3.1946 +	esac
  3.1947 +      fi
  3.1948 +      break
  3.1949 +    fi
  3.1950 +  done
  3.1951 +  IFS="$lt_save_ifs"
  3.1952 +  MAGIC_CMD="$lt_save_MAGIC_CMD"
  3.1953 +  ;;
  3.1954 +esac])
  3.1955 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  3.1956 +if test -n "$MAGIC_CMD"; then
  3.1957 +  AC_MSG_RESULT($MAGIC_CMD)
  3.1958 +else
  3.1959 +  AC_MSG_RESULT(no)
  3.1960 +fi
  3.1961 +])# AC_PATH_TOOL_PREFIX
  3.1962 +
  3.1963 +
  3.1964 +# AC_PATH_MAGIC
  3.1965 +# -------------
  3.1966 +# find a file program which can recognise a shared library
  3.1967 +AC_DEFUN([AC_PATH_MAGIC],
  3.1968 +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  3.1969 +if test -z "$lt_cv_path_MAGIC_CMD"; then
  3.1970 +  if test -n "$ac_tool_prefix"; then
  3.1971 +    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  3.1972 +  else
  3.1973 +    MAGIC_CMD=:
  3.1974 +  fi
  3.1975 +fi
  3.1976 +])# AC_PATH_MAGIC
  3.1977 +
  3.1978 +
  3.1979 +# AC_PROG_LD
  3.1980 +# ----------
  3.1981 +# find the pathname to the GNU or non-GNU linker
  3.1982 +AC_DEFUN([AC_PROG_LD],
  3.1983 +[AC_ARG_WITH([gnu-ld],
  3.1984 +    [AC_HELP_STRING([--with-gnu-ld],
  3.1985 +	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
  3.1986 +    [test "$withval" = no || with_gnu_ld=yes],
  3.1987 +    [with_gnu_ld=no])
  3.1988 +AC_REQUIRE([LT_AC_PROG_SED])dnl
  3.1989 +AC_REQUIRE([AC_PROG_CC])dnl
  3.1990 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3.1991 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  3.1992 +ac_prog=ld
  3.1993 +if test "$GCC" = yes; then
  3.1994 +  # Check if gcc -print-prog-name=ld gives a path.
  3.1995 +  AC_MSG_CHECKING([for ld used by $CC])
  3.1996 +  case $host in
  3.1997 +  *-*-mingw*)
  3.1998 +    # gcc leaves a trailing carriage return which upsets mingw
  3.1999 +    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  3.2000 +  *)
  3.2001 +    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  3.2002 +  esac
  3.2003 +  case $ac_prog in
  3.2004 +    # Accept absolute paths.
  3.2005 +    [[\\/]]* | ?:[[\\/]]*)
  3.2006 +      re_direlt='/[[^/]][[^/]]*/\.\./'
  3.2007 +      # Canonicalize the pathname of ld
  3.2008 +      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  3.2009 +      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  3.2010 +	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  3.2011 +      done
  3.2012 +      test -z "$LD" && LD="$ac_prog"
  3.2013 +      ;;
  3.2014 +  "")
  3.2015 +    # If it fails, then pretend we aren't using GCC.
  3.2016 +    ac_prog=ld
  3.2017 +    ;;
  3.2018 +  *)
  3.2019 +    # If it is relative, then search for the first ld in PATH.
  3.2020 +    with_gnu_ld=unknown
  3.2021 +    ;;
  3.2022 +  esac
  3.2023 +elif test "$with_gnu_ld" = yes; then
  3.2024 +  AC_MSG_CHECKING([for GNU ld])
  3.2025 +else
  3.2026 +  AC_MSG_CHECKING([for non-GNU ld])
  3.2027 +fi
  3.2028 +AC_CACHE_VAL(lt_cv_path_LD,
  3.2029 +[if test -z "$LD"; then
  3.2030 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3.2031 +  for ac_dir in $PATH; do
  3.2032 +    IFS="$lt_save_ifs"
  3.2033 +    test -z "$ac_dir" && ac_dir=.
  3.2034 +    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  3.2035 +      lt_cv_path_LD="$ac_dir/$ac_prog"
  3.2036 +      # Check to see if the program is GNU ld.  I'd rather use --version,
  3.2037 +      # but apparently some GNU ld's only accept -v.
  3.2038 +      # Break only if it was the GNU/non-GNU ld that we prefer.
  3.2039 +      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  3.2040 +      *GNU* | *'with BFD'*)
  3.2041 +	test "$with_gnu_ld" != no && break
  3.2042 +	;;
  3.2043 +      *)
  3.2044 +	test "$with_gnu_ld" != yes && break
  3.2045 +	;;
  3.2046 +      esac
  3.2047 +    fi
  3.2048 +  done
  3.2049 +  IFS="$lt_save_ifs"
  3.2050 +else
  3.2051 +  lt_cv_path_LD="$LD" # Let the user override the test with a path.
  3.2052 +fi])
  3.2053 +LD="$lt_cv_path_LD"
  3.2054 +if test -n "$LD"; then
  3.2055 +  AC_MSG_RESULT($LD)
  3.2056 +else
  3.2057 +  AC_MSG_RESULT(no)
  3.2058 +fi
  3.2059 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  3.2060 +AC_PROG_LD_GNU
  3.2061 +])# AC_PROG_LD
  3.2062 +
  3.2063 +
  3.2064 +# AC_PROG_LD_GNU
  3.2065 +# --------------
  3.2066 +AC_DEFUN([AC_PROG_LD_GNU],
  3.2067 +[AC_REQUIRE([AC_PROG_EGREP])dnl
  3.2068 +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  3.2069 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
  3.2070 +case `$LD -v 2>&1 </dev/null` in
  3.2071 +*GNU* | *'with BFD'*)
  3.2072 +  lt_cv_prog_gnu_ld=yes
  3.2073 +  ;;
  3.2074 +*)
  3.2075 +  lt_cv_prog_gnu_ld=no
  3.2076 +  ;;
  3.2077 +esac])
  3.2078 +with_gnu_ld=$lt_cv_prog_gnu_ld
  3.2079 +])# AC_PROG_LD_GNU
  3.2080 +
  3.2081 +
  3.2082 +# AC_PROG_LD_RELOAD_FLAG
  3.2083 +# ----------------------
  3.2084 +# find reload flag for linker
  3.2085 +#   -- PORTME Some linkers may need a different reload flag.
  3.2086 +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
  3.2087 +[AC_CACHE_CHECK([for $LD option to reload object files],
  3.2088 +  lt_cv_ld_reload_flag,
  3.2089 +  [lt_cv_ld_reload_flag='-r'])
  3.2090 +reload_flag=$lt_cv_ld_reload_flag
  3.2091 +case $reload_flag in
  3.2092 +"" | " "*) ;;
  3.2093 +*) reload_flag=" $reload_flag" ;;
  3.2094 +esac
  3.2095 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  3.2096 +])# AC_PROG_LD_RELOAD_FLAG
  3.2097 +
  3.2098 +
  3.2099 +# AC_DEPLIBS_CHECK_METHOD
  3.2100 +# -----------------------
  3.2101 +# how to check for library dependencies
  3.2102 +#  -- PORTME fill in with the dynamic library characteristics
  3.2103 +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
  3.2104 +[AC_CACHE_CHECK([how to recognise dependent libraries],
  3.2105 +lt_cv_deplibs_check_method,
  3.2106 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
  3.2107 +lt_cv_file_magic_test_file=
  3.2108 +lt_cv_deplibs_check_method='unknown'
  3.2109 +# Need to set the preceding variable on all platforms that support
  3.2110 +# interlibrary dependencies.
  3.2111 +# 'none' -- dependencies not supported.
  3.2112 +# `unknown' -- same as none, but documents that we really don't know.
  3.2113 +# 'pass_all' -- all dependencies passed with no checks.
  3.2114 +# 'test_compile' -- check by making test program.
  3.2115 +# 'file_magic [[regex]]' -- check by looking for files in library path
  3.2116 +# which responds to the $file_magic_cmd with a given extended regex.
  3.2117 +# If you have `file' or equivalent on your system and you're not sure
  3.2118 +# whether `pass_all' will *always* work, you probably want this one.
  3.2119 +
  3.2120 +case $host_os in
  3.2121 +aix4* | aix5*)
  3.2122 +  lt_cv_deplibs_check_method=pass_all
  3.2123 +  ;;
  3.2124 +
  3.2125 +beos*)
  3.2126 +  lt_cv_deplibs_check_method=pass_all
  3.2127 +  ;;
  3.2128 +
  3.2129 +bsdi4*)
  3.2130 +  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
  3.2131 +  lt_cv_file_magic_cmd='/usr/bin/file -L'
  3.2132 +  lt_cv_file_magic_test_file=/shlib/libc.so
  3.2133 +  ;;
  3.2134 +
  3.2135 +cygwin*)
  3.2136 +  # func_win32_libid is a shell function defined in ltmain.sh
  3.2137 +  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  3.2138 +  lt_cv_file_magic_cmd='func_win32_libid'
  3.2139 +  ;;
  3.2140 +
  3.2141 +mingw* | pw32*)
  3.2142 +  # Base MSYS/MinGW do not provide the 'file' command needed by
  3.2143 +  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
  3.2144 +  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  3.2145 +  lt_cv_file_magic_cmd='$OBJDUMP -f'
  3.2146 +  ;;
  3.2147 +
  3.2148 +darwin* | rhapsody*)
  3.2149 +  lt_cv_deplibs_check_method=pass_all
  3.2150 +  ;;
  3.2151 +
  3.2152 +freebsd* | kfreebsd*-gnu)
  3.2153 +  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  3.2154 +    case $host_cpu in
  3.2155 +    i*86 )
  3.2156 +      # Not sure whether the presence of OpenBSD here was a mistake.
  3.2157 +      # Let's accept both of them until this is cleared up.
  3.2158 +      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
  3.2159 +      lt_cv_file_magic_cmd=/usr/bin/file
  3.2160 +      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  3.2161 +      ;;
  3.2162 +    esac
  3.2163 +  else
  3.2164 +    lt_cv_deplibs_check_method=pass_all
  3.2165 +  fi
  3.2166 +  ;;
  3.2167 +
  3.2168 +gnu*)
  3.2169 +  lt_cv_deplibs_check_method=pass_all
  3.2170 +  ;;
  3.2171 +
  3.2172 +hpux10.20* | hpux11*)
  3.2173 +  lt_cv_file_magic_cmd=/usr/bin/file
  3.2174 +  case "$host_cpu" in
  3.2175 +  ia64*)
  3.2176 +    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
  3.2177 +    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  3.2178 +    ;;
  3.2179 +  hppa*64*)
  3.2180 +    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
  3.2181 +    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  3.2182 +    ;;
  3.2183 +  *)
  3.2184 +    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  3.2185 +    lt_cv_file_magic_test_file=/usr/lib/libc.sl
  3.2186 +    ;;
  3.2187 +  esac
  3.2188 +  ;;
  3.2189 +
  3.2190 +irix5* | irix6* | nonstopux*)
  3.2191 +  case $LD in
  3.2192 +  *-32|*"-32 ") libmagic=32-bit;;
  3.2193 +  *-n32|*"-n32 ") libmagic=N32;;
  3.2194 +  *-64|*"-64 ") libmagic=64-bit;;
  3.2195 +  *) libmagic=never-match;;
  3.2196 +  esac
  3.2197 +  lt_cv_deplibs_check_method=pass_all
  3.2198 +  ;;
  3.2199 +
  3.2200 +# This must be Linux ELF.
  3.2201 +linux*)
  3.2202 +  lt_cv_deplibs_check_method=pass_all
  3.2203 +  ;;
  3.2204 +
  3.2205 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
  3.2206 +  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  3.2207 +    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3.2208 +  else
  3.2209 +    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  3.2210 +  fi
  3.2211 +  ;;
  3.2212 +
  3.2213 +newos6*)
  3.2214 +  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
  3.2215 +  lt_cv_file_magic_cmd=/usr/bin/file
  3.2216 +  lt_cv_file_magic_test_file=/usr/lib/libnls.so
  3.2217 +  ;;
  3.2218 +
  3.2219 +nto-qnx*)
  3.2220 +  lt_cv_deplibs_check_method=unknown
  3.2221 +  ;;
  3.2222 +
  3.2223 +openbsd*)
  3.2224 +  lt_cv_file_magic_cmd=/usr/bin/file
  3.2225 +  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  3.2226 +  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3.2227 +    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
  3.2228 +  else
  3.2229 +    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
  3.2230 +  fi
  3.2231 +  ;;
  3.2232 +
  3.2233 +osf3* | osf4* | osf5*)
  3.2234 +  lt_cv_deplibs_check_method=pass_all
  3.2235 +  ;;
  3.2236 +
  3.2237 +sco3.2v5*)
  3.2238 +  lt_cv_deplibs_check_method=pass_all
  3.2239 +  ;;
  3.2240 +
  3.2241 +solaris*)
  3.2242 +  lt_cv_deplibs_check_method=pass_all
  3.2243 +  ;;
  3.2244 +
  3.2245 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  3.2246 +  case $host_vendor in
  3.2247 +  motorola)
  3.2248 +    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]]'
  3.2249 +    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  3.2250 +    ;;
  3.2251 +  ncr)
  3.2252 +    lt_cv_deplibs_check_method=pass_all
  3.2253 +    ;;
  3.2254 +  sequent)
  3.2255 +    lt_cv_file_magic_cmd='/bin/file'
  3.2256 +    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
  3.2257 +    ;;
  3.2258 +  sni)
  3.2259 +    lt_cv_file_magic_cmd='/bin/file'
  3.2260 +    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
  3.2261 +    lt_cv_file_magic_test_file=/lib/libc.so
  3.2262 +    ;;
  3.2263 +  siemens)
  3.2264 +    lt_cv_deplibs_check_method=pass_all
  3.2265 +    ;;
  3.2266 +  esac
  3.2267 +  ;;
  3.2268 +
  3.2269 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
  3.2270 +  lt_cv_deplibs_check_method=pass_all
  3.2271 +  ;;
  3.2272 +esac
  3.2273 +])
  3.2274 +file_magic_cmd=$lt_cv_file_magic_cmd
  3.2275 +deplibs_check_method=$lt_cv_deplibs_check_method
  3.2276 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  3.2277 +])# AC_DEPLIBS_CHECK_METHOD
  3.2278 +
  3.2279 +
  3.2280 +# AC_PROG_NM
  3.2281 +# ----------
  3.2282 +# find the pathname to a BSD-compatible name lister
  3.2283 +AC_DEFUN([AC_PROG_NM],
  3.2284 +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
  3.2285 +[if test -n "$NM"; then
  3.2286 +  # Let the user override the test.
  3.2287 +  lt_cv_path_NM="$NM"
  3.2288 +else
  3.2289 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3.2290 +  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
  3.2291 +    IFS="$lt_save_ifs"
  3.2292 +    test -z "$ac_dir" && ac_dir=.
  3.2293 +    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
  3.2294 +    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  3.2295 +      # Check to see if the nm accepts a BSD-compat flag.
  3.2296 +      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  3.2297 +      #   nm: unknown option "B" ignored
  3.2298 +      # Tru64's nm complains that /dev/null is an invalid object file
  3.2299 +      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  3.2300 +      */dev/null* | *'Invalid file or object type'*)
  3.2301 +	lt_cv_path_NM="$tmp_nm -B"
  3.2302 +	break
  3.2303 +        ;;
  3.2304 +      *)
  3.2305 +	case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  3.2306 +	*/dev/null*)
  3.2307 +	  lt_cv_path_NM="$tmp_nm -p"
  3.2308 +	  break
  3.2309 +	  ;;
  3.2310 +	*)
  3.2311 +	  lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  3.2312 +	  continue # so that we can try to find one that supports BSD flags
  3.2313 +	  ;;
  3.2314 +	esac
  3.2315 +      esac
  3.2316 +    fi
  3.2317 +  done
  3.2318 +  IFS="$lt_save_ifs"
  3.2319 +  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  3.2320 +fi])
  3.2321 +NM="$lt_cv_path_NM"
  3.2322 +])# AC_PROG_NM
  3.2323 +
  3.2324 +
  3.2325 +# AC_CHECK_LIBM
  3.2326 +# -------------
  3.2327 +# check for math library
  3.2328 +AC_DEFUN([AC_CHECK_LIBM],
  3.2329 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3.2330 +LIBM=
  3.2331 +case $host in
  3.2332 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  3.2333 +  # These system don't have libm, or don't need it
  3.2334 +  ;;
  3.2335 +*-ncr-sysv4.3*)
  3.2336 +  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  3.2337 +  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  3.2338 +  ;;
  3.2339 +*)
  3.2340 +  AC_CHECK_LIB(m, cos, LIBM="-lm")
  3.2341 +  ;;
  3.2342 +esac
  3.2343 +])# AC_CHECK_LIBM
  3.2344 +
  3.2345 +
  3.2346 +# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
  3.2347 +# -----------------------------------
  3.2348 +# sets LIBLTDL to the link flags for the libltdl convenience library and
  3.2349 +# LTDLINCL to the include flags for the libltdl header and adds
  3.2350 +# --enable-ltdl-convenience to the configure arguments.  Note that LIBLTDL
  3.2351 +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
  3.2352 +# DIRECTORY is not provided, it is assumed to be `libltdl'.  LIBLTDL will
  3.2353 +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
  3.2354 +# '${top_srcdir}/' (note the single quotes!).  If your package is not
  3.2355 +# flat and you're not using automake, define top_builddir and
  3.2356 +# top_srcdir appropriately in the Makefiles.
  3.2357 +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
  3.2358 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  3.2359 +  case $enable_ltdl_convenience in
  3.2360 +  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
  3.2361 +  "") enable_ltdl_convenience=yes
  3.2362 +      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
  3.2363 +  esac
  3.2364 +  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
  3.2365 +  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  3.2366 +  # For backwards non-gettext consistent compatibility...
  3.2367 +  INCLTDL="$LTDLINCL"
  3.2368 +])# AC_LIBLTDL_CONVENIENCE
  3.2369 +
  3.2370 +
  3.2371 +# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
  3.2372 +# -----------------------------------
  3.2373 +# sets LIBLTDL to the link flags for the libltdl installable library and
  3.2374 +# LTDLINCL to the include flags for the libltdl header and adds
  3.2375 +# --enable-ltdl-install to the configure arguments.  Note that LIBLTDL
  3.2376 +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
  3.2377 +# DIRECTORY is not provided and an installed libltdl is not found, it is
  3.2378 +# assumed to be `libltdl'.  LIBLTDL will be prefixed with '${top_builddir}/'
  3.2379 +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
  3.2380 +# quotes!).  If your package is not flat and you're not using automake,
  3.2381 +# define top_builddir and top_srcdir appropriately in the Makefiles.
  3.2382 +# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
  3.2383 +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
  3.2384 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  3.2385 +  AC_CHECK_LIB(ltdl, lt_dlinit,
  3.2386 +  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
  3.2387 +  [if test x"$enable_ltdl_install" = xno; then
  3.2388 +     AC_MSG_WARN([libltdl not installed, but installation disabled])
  3.2389 +   else
  3.2390 +     enable_ltdl_install=yes
  3.2391 +   fi
  3.2392 +  ])
  3.2393 +  if test x"$enable_ltdl_install" = x"yes"; then
  3.2394 +    ac_configure_args="$ac_configure_args --enable-ltdl-install"
  3.2395 +    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
  3.2396 +    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  3.2397 +  else
  3.2398 +    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
  3.2399 +    LIBLTDL="-lltdl"
  3.2400 +    LTDLINCL=
  3.2401 +  fi
  3.2402 +  # For backwards non-gettext consistent compatibility...
  3.2403 +  INCLTDL="$LTDLINCL"
  3.2404 +])# AC_LIBLTDL_INSTALLABLE
  3.2405 +
  3.2406 +
  3.2407 +# AC_LIBTOOL_CXX
  3.2408 +# --------------
  3.2409 +# enable support for C++ libraries
  3.2410 +AC_DEFUN([AC_LIBTOOL_CXX],
  3.2411 +[AC_REQUIRE([_LT_AC_LANG_CXX])
  3.2412 +])# AC_LIBTOOL_CXX
  3.2413 +
  3.2414 +
  3.2415 +# _LT_AC_LANG_CXX
  3.2416 +# ---------------
  3.2417 +AC_DEFUN([_LT_AC_LANG_CXX],
  3.2418 +[AC_REQUIRE([AC_PROG_CXX])
  3.2419 +AC_REQUIRE([AC_PROG_CXXCPP])
  3.2420 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
  3.2421 +])# _LT_AC_LANG_CXX
  3.2422 +
  3.2423 +
  3.2424 +# AC_LIBTOOL_F77
  3.2425 +# --------------
  3.2426 +# enable support for Fortran 77 libraries
  3.2427 +AC_DEFUN([AC_LIBTOOL_F77],
  3.2428 +[AC_REQUIRE([_LT_AC_LANG_F77])
  3.2429 +])# AC_LIBTOOL_F77
  3.2430 +
  3.2431 +
  3.2432 +# _LT_AC_LANG_F77
  3.2433 +# ---------------
  3.2434 +AC_DEFUN([_LT_AC_LANG_F77],
  3.2435 +[AC_REQUIRE([AC_PROG_F77])
  3.2436 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
  3.2437 +])# _LT_AC_LANG_F77
  3.2438 +
  3.2439 +
  3.2440 +# AC_LIBTOOL_GCJ
  3.2441 +# --------------
  3.2442 +# enable support for GCJ libraries
  3.2443 +AC_DEFUN([AC_LIBTOOL_GCJ],
  3.2444 +[AC_REQUIRE([_LT_AC_LANG_GCJ])
  3.2445 +])# AC_LIBTOOL_GCJ
  3.2446 +
  3.2447 +
  3.2448 +# _LT_AC_LANG_GCJ
  3.2449 +# ---------------
  3.2450 +AC_DEFUN([_LT_AC_LANG_GCJ],
  3.2451 +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
  3.2452 +  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
  3.2453 +    [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
  3.2454 +      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
  3.2455 +	 [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
  3.2456 +	   [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
  3.2457 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
  3.2458 +])# _LT_AC_LANG_GCJ
  3.2459 +
  3.2460 +
  3.2461 +# AC_LIBTOOL_RC
  3.2462 +# --------------
  3.2463 +# enable support for Windows resource files
  3.2464 +AC_DEFUN([AC_LIBTOOL_RC],
  3.2465 +[AC_REQUIRE([LT_AC_PROG_RC])
  3.2466 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
  3.2467 +])# AC_LIBTOOL_RC
  3.2468 +
  3.2469 +
  3.2470 +# AC_LIBTOOL_LANG_C_CONFIG
  3.2471 +# ------------------------
  3.2472 +# Ensure that the configuration vars for the C compiler are
  3.2473 +# suitably defined.  Those variables are subsequently used by
  3.2474 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  3.2475 +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
  3.2476 +AC_DEFUN([_LT_AC_LANG_C_CONFIG],
  3.2477 +[lt_save_CC="$CC"
  3.2478 +AC_LANG_PUSH(C)
  3.2479 +
  3.2480 +# Source file extension for C test sources.
  3.2481 +ac_ext=c
  3.2482 +
  3.2483 +# Object file extension for compiled C test sources.
  3.2484 +objext=o
  3.2485 +_LT_AC_TAGVAR(objext, $1)=$objext
  3.2486 +
  3.2487 +# Code to be used in simple compile tests
  3.2488 +lt_simple_compile_test_code="int some_variable = 0;\n"
  3.2489 +
  3.2490 +# Code to be used in simple link tests
  3.2491 +lt_simple_link_test_code='int main(){return(0);}\n'
  3.2492 +
  3.2493 +_LT_AC_SYS_COMPILER
  3.2494 +
  3.2495 +#
  3.2496 +# Check for any special shared library compilation flags.
  3.2497 +#
  3.2498 +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
  3.2499 +if test "$GCC" = no; then
  3.2500 +  case $host_os in
  3.2501 +  sco3.2v5*)
  3.2502 +    _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
  3.2503 +    ;;
  3.2504 +  esac
  3.2505 +fi
  3.2506 +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
  3.2507 +  AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
  3.2508 +  if echo "$old_CC $old_CFLAGS " | grep "[[ 	]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ 	]]" >/dev/null; then :
  3.2509 +  else
  3.2510 +    AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
  3.2511 +    _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
  3.2512 +  fi
  3.2513 +fi
  3.2514 +
  3.2515 +
  3.2516 +#
  3.2517 +# Check to make sure the static flag actually works.
  3.2518 +#
  3.2519 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
  3.2520 +  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
  3.2521 +  $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
  3.2522 +  [],
  3.2523 +  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
  3.2524 +
  3.2525 +
  3.2526 +## CAVEAT EMPTOR:
  3.2527 +## There is no encapsulation within the following macros, do not change
  3.2528 +## the running order or otherwise move them around unless you know exactly
  3.2529 +## what you are doing...
  3.2530 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
  3.2531 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
  3.2532 +AC_LIBTOOL_PROG_CC_C_O($1)
  3.2533 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  3.2534 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
  3.2535 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  3.2536 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  3.2537 +AC_LIBTOOL_SYS_LIB_STRIP
  3.2538 +AC_LIBTOOL_DLOPEN_SELF($1)
  3.2539 +
  3.2540 +# Report which librarie types wil actually be built
  3.2541 +AC_MSG_CHECKING([if libtool supports shared libraries])
  3.2542 +AC_MSG_RESULT([$can_build_shared])
  3.2543 +
  3.2544 +AC_MSG_CHECKING([whether to build shared libraries])
  3.2545 +test "$can_build_shared" = "no" && enable_shared=no
  3.2546 +
  3.2547 +# On AIX, shared libraries and static libraries use the same namespace, and
  3.2548 +# are all built from PIC.
  3.2549 +case "$host_os" in
  3.2550 +aix3*)
  3.2551 +  test "$enable_shared" = yes && enable_static=no
  3.2552 +  if test -n "$RANLIB"; then
  3.2553 +    archive_cmds="$archive_cmds~\$RANLIB \$lib"
  3.2554 +    postinstall_cmds='$RANLIB $lib'
  3.2555 +  fi
  3.2556 +  ;;
  3.2557 +
  3.2558 +aix4* | aix5*)
  3.2559 +  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  3.2560 +    test "$enable_shared" = yes && enable_static=no
  3.2561 +  fi
  3.2562 +  ;;
  3.2563 +  darwin* | rhapsody*)
  3.2564 +  if test "$GCC" = yes; then
  3.2565 +    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3.2566 +    case "$host_os" in
  3.2567 +    rhapsody* | darwin1.[[012]])
  3.2568 +      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
  3.2569 +      ;;
  3.2570 +    *) # Darwin 1.3 on
  3.2571 +      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  3.2572 +      	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
  3.2573 +      else
  3.2574 +        case ${MACOSX_DEPLOYMENT_TARGET} in
  3.2575 +          10.[[012]])
  3.2576 +            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
  3.2577 +            ;;
  3.2578 +          10.*)
  3.2579 +            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
  3.2580 +            ;;
  3.2581 +        esac
  3.2582 +      fi
  3.2583 +      ;;
  3.2584 +    esac
  3.2585 +    output_verbose_link_cmd='echo'
  3.2586 +    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
  3.2587 +    _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  3.2588 +    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
  3.2589 +    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3.2590 +    _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3.2591 +    _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3.2592 +    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
  3.2593 +    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  3.2594 +    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
  3.2595 +    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3.2596 +  else
  3.2597 +    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.2598 +  fi
  3.2599 +    ;;
  3.2600 +esac
  3.2601 +AC_MSG_RESULT([$enable_shared])
  3.2602 +
  3.2603 +AC_MSG_CHECKING([whether to build static libraries])
  3.2604 +# Make sure either enable_shared or enable_static is yes.
  3.2605 +test "$enable_shared" = yes || enable_static=yes
  3.2606 +AC_MSG_RESULT([$enable_static])
  3.2607 +
  3.2608 +AC_LIBTOOL_CONFIG($1)
  3.2609 +
  3.2610 +AC_LANG_POP
  3.2611 +CC="$lt_save_CC"
  3.2612 +])# AC_LIBTOOL_LANG_C_CONFIG
  3.2613 +
  3.2614 +
  3.2615 +# AC_LIBTOOL_LANG_CXX_CONFIG
  3.2616 +# --------------------------
  3.2617 +# Ensure that the configuration vars for the C compiler are
  3.2618 +# suitably defined.  Those variables are subsequently used by
  3.2619 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  3.2620 +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
  3.2621 +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
  3.2622 +[AC_LANG_PUSH(C++)
  3.2623 +AC_REQUIRE([AC_PROG_CXX])
  3.2624 +AC_REQUIRE([AC_PROG_CXXCPP])
  3.2625 +
  3.2626 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3.2627 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
  3.2628 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
  3.2629 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  3.2630 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  3.2631 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
  3.2632 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  3.2633 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  3.2634 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  3.2635 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  3.2636 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
  3.2637 +_LT_AC_TAGVAR(module_cmds, $1)=
  3.2638 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
  3.2639 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  3.2640 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  3.2641 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
  3.2642 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  3.2643 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  3.2644 +
  3.2645 +# Dependencies to place before and after the object being linked:
  3.2646 +_LT_AC_TAGVAR(predep_objects, $1)=
  3.2647 +_LT_AC_TAGVAR(postdep_objects, $1)=
  3.2648 +_LT_AC_TAGVAR(predeps, $1)=
  3.2649 +_LT_AC_TAGVAR(postdeps, $1)=
  3.2650 +_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
  3.2651 +
  3.2652 +# Source file extension for C++ test sources.
  3.2653 +ac_ext=cc
  3.2654 +
  3.2655 +# Object file extension for compiled C++ test sources.
  3.2656 +objext=o
  3.2657 +_LT_AC_TAGVAR(objext, $1)=$objext
  3.2658 +
  3.2659 +# Code to be used in simple compile tests
  3.2660 +lt_simple_compile_test_code="int some_variable = 0;\n"
  3.2661 +
  3.2662 +# Code to be used in simple link tests
  3.2663 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
  3.2664 +
  3.2665 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  3.2666 +_LT_AC_SYS_COMPILER
  3.2667 +
  3.2668 +# Allow CC to be a program name with arguments.
  3.2669 +lt_save_CC=$CC
  3.2670 +lt_save_LD=$LD
  3.2671 +lt_save_GCC=$GCC
  3.2672 +GCC=$GXX
  3.2673 +lt_save_with_gnu_ld=$with_gnu_ld
  3.2674 +lt_save_path_LD=$lt_cv_path_LD
  3.2675 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  3.2676 +  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  3.2677 +else
  3.2678 +  unset lt_cv_prog_gnu_ld
  3.2679 +fi
  3.2680 +if test -n "${lt_cv_path_LDCXX+set}"; then
  3.2681 +  lt_cv_path_LD=$lt_cv_path_LDCXX
  3.2682 +else
  3.2683 +  unset lt_cv_path_LD
  3.2684 +fi
  3.2685 +test -z "${LDCXX+set}" || LD=$LDCXX
  3.2686 +CC=${CXX-"c++"}
  3.2687 +compiler=$CC
  3.2688 +_LT_AC_TAGVAR(compiler, $1)=$CC
  3.2689 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
  3.2690 +
  3.2691 +# We don't want -fno-exception wen compiling C++ code, so set the
  3.2692 +# no_builtin_flag separately
  3.2693 +if test "$GXX" = yes; then
  3.2694 +  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  3.2695 +else
  3.2696 +  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  3.2697 +fi
  3.2698 +
  3.2699 +if test "$GXX" = yes; then
  3.2700 +  # Set up default GNU C++ configuration
  3.2701 +
  3.2702 +  AC_PROG_LD
  3.2703 +
  3.2704 +  # Check if GNU C++ uses GNU ld as the underlying linker, since the
  3.2705 +  # archiving commands below assume that GNU ld is being used.
  3.2706 +  if test "$with_gnu_ld" = yes; then
  3.2707 +    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3.2708 +    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  3.2709 +
  3.2710 +    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  3.2711 +    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  3.2712 +
  3.2713 +    # If archive_cmds runs LD, not CC, wlarc should be empty
  3.2714 +    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  3.2715 +    #     investigate it a little bit more. (MM)
  3.2716 +    wlarc='${wl}'
  3.2717 +
  3.2718 +    # ancient GNU ld didn't support --whole-archive et. al.
  3.2719 +    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
  3.2720 +	grep 'no-whole-archive' > /dev/null; then
  3.2721 +      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  3.2722 +    else
  3.2723 +      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  3.2724 +    fi
  3.2725 +  else
  3.2726 +    with_gnu_ld=no
  3.2727 +    wlarc=
  3.2728 +
  3.2729 +    # A generic and very simple default shared library creation
  3.2730 +    # command for GNU C++ for the case where it uses the native
  3.2731 +    # linker, instead of GNU ld.  If possible, this setting should
  3.2732 +    # overridden to take advantage of the native linker features on
  3.2733 +    # the platform it is being used on.
  3.2734 +    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  3.2735 +  fi
  3.2736 +
  3.2737 +  # Commands to make compiler produce verbose output that lists
  3.2738 +  # what "hidden" libraries, object files and flags are used when
  3.2739 +  # linking a shared library.
  3.2740 +  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  3.2741 +
  3.2742 +else
  3.2743 +  GXX=no
  3.2744 +  with_gnu_ld=no
  3.2745 +  wlarc=
  3.2746 +fi
  3.2747 +
  3.2748 +# PORTME: fill in a description of your system's C++ link characteristics
  3.2749 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  3.2750 +_LT_AC_TAGVAR(ld_shlibs, $1)=yes
  3.2751 +case $host_os in
  3.2752 +  aix3*)
  3.2753 +    # FIXME: insert proper C++ library support
  3.2754 +    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.2755 +    ;;
  3.2756 +  aix4* | aix5*)
  3.2757 +    if test "$host_cpu" = ia64; then
  3.2758 +      # On IA64, the linker does run time linking by default, so we don't
  3.2759 +      # have to do anything special.
  3.2760 +      aix_use_runtimelinking=no
  3.2761 +      exp_sym_flag='-Bexport'
  3.2762 +      no_entry_flag=""
  3.2763 +    else
  3.2764 +      aix_use_runtimelinking=no
  3.2765 +
  3.2766 +      # Test if we are trying to use run time linking or normal
  3.2767 +      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  3.2768 +      # need to do runtime linking.
  3.2769 +      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
  3.2770 +	for ld_flag in $LDFLAGS; do
  3.2771 +	  case $ld_flag in
  3.2772 +	  *-brtl*)
  3.2773 +	    aix_use_runtimelinking=yes
  3.2774 +	    break
  3.2775 +	    ;;
  3.2776 +	  esac
  3.2777 +	done
  3.2778 +      esac
  3.2779 +
  3.2780 +      exp_sym_flag='-bexport'
  3.2781 +      no_entry_flag='-bnoentry'
  3.2782 +    fi
  3.2783 +
  3.2784 +    # When large executables or shared objects are built, AIX ld can
  3.2785 +    # have problems creating the table of contents.  If linking a library
  3.2786 +    # or program results in "error TOC overflow" add -mminimal-toc to
  3.2787 +    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  3.2788 +    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  3.2789 +
  3.2790 +    _LT_AC_TAGVAR(archive_cmds, $1)=''
  3.2791 +    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.2792 +    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  3.2793 +    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3.2794 +
  3.2795 +    if test "$GXX" = yes; then
  3.2796 +      case $host_os in aix4.[012]|aix4.[012].*)
  3.2797 +      # We only want to do this on AIX 4.2 and lower, the check
  3.2798 +      # below for broken collect2 doesn't work under 4.3+
  3.2799 +	collect2name=`${CC} -print-prog-name=collect2`
  3.2800 +	if test -f "$collect2name" && \
  3.2801 +	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  3.2802 +	then
  3.2803 +	  # We have reworked collect2
  3.2804 +	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.2805 +	else
  3.2806 +	  # We have old collect2
  3.2807 +	  _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  3.2808 +	  # It fails to find uninstalled libraries when the uninstalled
  3.2809 +	  # path is not listed in the libpath.  Setting hardcode_minus_L
  3.2810 +	  # to unsupported forces relinking
  3.2811 +	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3.2812 +	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3.2813 +	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  3.2814 +	fi
  3.2815 +      esac
  3.2816 +      shared_flag='-shared'
  3.2817 +    else
  3.2818 +      # not using gcc
  3.2819 +      if test "$host_cpu" = ia64; then
  3.2820 +	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  3.2821 +	# chokes on -Wl,-G. The following line is correct:
  3.2822 +	shared_flag='-G'
  3.2823 +      else
  3.2824 +	if test "$aix_use_runtimelinking" = yes; then
  3.2825 +	  shared_flag='${wl}-G'
  3.2826 +	else
  3.2827 +	  shared_flag='${wl}-bM:SRE'
  3.2828 +	fi
  3.2829 +      fi
  3.2830 +    fi
  3.2831 +
  3.2832 +    # It seems that -bexpall does not export symbols beginning with
  3.2833 +    # underscore (_), so it is better to generate a list of symbols to export.
  3.2834 +    _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  3.2835 +    if test "$aix_use_runtimelinking" = yes; then
  3.2836 +      # Warning - without using the other runtime loading flags (-brtl),
  3.2837 +      # -berok will link without error, but may produce a broken library.
  3.2838 +      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
  3.2839 +      # Determine the default libpath from the value encoded in an empty executable.
  3.2840 +      _LT_AC_SYS_LIBPATH_AIX
  3.2841 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  3.2842 +
  3.2843 +      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  3.2844 +     else
  3.2845 +      if test "$host_cpu" = ia64; then
  3.2846 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  3.2847 +	_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  3.2848 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
  3.2849 +      else
  3.2850 +	# Determine the default libpath from the value encoded in an empty executable.
  3.2851 +	_LT_AC_SYS_LIBPATH_AIX
  3.2852 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  3.2853 +	# Warning - without using the other run time loading flags,
  3.2854 +	# -berok will link without error, but may produce a broken library.
  3.2855 +	_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  3.2856 +	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  3.2857 +	# -bexpall does not export symbols beginning with underscore (_)
  3.2858 +	_LT_AC_TAGVAR(always_export_symbols, $1)=yes
  3.2859 +	# Exported symbols can be pulled into shared objects from archives
  3.2860 +	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
  3.2861 +	_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  3.2862 +	# This is similar to how AIX traditionally builds it's shared libraries.
  3.2863 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  3.2864 +      fi
  3.2865 +    fi
  3.2866 +    ;;
  3.2867 +  chorus*)
  3.2868 +    case $cc_basename in
  3.2869 +      *)
  3.2870 +	# FIXME: insert proper C++ library support
  3.2871 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.2872 +	;;
  3.2873 +    esac
  3.2874 +    ;;
  3.2875 +
  3.2876 +  cygwin* | mingw* | pw32*)
  3.2877 +    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  3.2878 +    # as there is no search path for DLLs.
  3.2879 +    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3.2880 +    _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  3.2881 +    _LT_AC_TAGVAR(always_export_symbols, $1)=no
  3.2882 +    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  3.2883 +
  3.2884 +    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  3.2885 +      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
  3.2886 +      # If the export-symbols file already is a .def file (1st line
  3.2887 +      # is EXPORTS), use it as is; otherwise, prepend...
  3.2888 +      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  3.2889 +	cp $export_symbols $output_objdir/$soname.def;
  3.2890 +      else
  3.2891 +	echo EXPORTS > $output_objdir/$soname.def;
  3.2892 +	cat $export_symbols >> $output_objdir/$soname.def;
  3.2893 +      fi~
  3.2894 +      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
  3.2895 +    else
  3.2896 +      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.2897 +    fi
  3.2898 +  ;;
  3.2899 +
  3.2900 +  darwin* | rhapsody*)
  3.2901 +  if test "$GXX" = yes; then
  3.2902 +    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3.2903 +    case "$host_os" in
  3.2904 +    rhapsody* | darwin1.[[012]])
  3.2905 +      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
  3.2906 +      ;;
  3.2907 +    *) # Darwin 1.3 on
  3.2908 +      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  3.2909 +      	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
  3.2910 +      else
  3.2911 +        case ${MACOSX_DEPLOYMENT_TARGET} in
  3.2912 +          10.[[012]])
  3.2913 +            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
  3.2914 +            ;;
  3.2915 +          10.*)
  3.2916 +            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
  3.2917 +            ;;
  3.2918 +        esac
  3.2919 +      fi
  3.2920 +      ;;
  3.2921 +    esac
  3.2922 +    lt_int_apple_cc_single_mod=no
  3.2923 +    output_verbose_link_cmd='echo'
  3.2924 +    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
  3.2925 +      lt_int_apple_cc_single_mod=yes
  3.2926 +    fi
  3.2927 +    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
  3.2928 +      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  3.2929 +    else
  3.2930 +      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
  3.2931 +    fi
  3.2932 +    _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  3.2933 +
  3.2934 +    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
  3.2935 +    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
  3.2936 +      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3.2937 +    else
  3.2938 +      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3.2939 +    fi
  3.2940 +    _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3.2941 +    _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3.2942 +    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
  3.2943 +    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  3.2944 +    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
  3.2945 +    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3.2946 +  else
  3.2947 +    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.2948 +  fi
  3.2949 +    ;;
  3.2950 +
  3.2951 +  dgux*)
  3.2952 +    case $cc_basename in
  3.2953 +      ec++)
  3.2954 +	# FIXME: insert proper C++ library support
  3.2955 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.2956 +	;;
  3.2957 +      ghcx)
  3.2958 +	# Green Hills C++ Compiler
  3.2959 +	# FIXME: insert proper C++ library support
  3.2960 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.2961 +	;;
  3.2962 +      *)
  3.2963 +	# FIXME: insert proper C++ library support
  3.2964 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.2965 +	;;
  3.2966 +    esac
  3.2967 +    ;;
  3.2968 +  freebsd[12]*)
  3.2969 +    # C++ shared libraries reported to be fairly broken before switch to ELF
  3.2970 +    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.2971 +    ;;
  3.2972 +  freebsd-elf*)
  3.2973 +    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3.2974 +    ;;
  3.2975 +  freebsd* | kfreebsd*-gnu)
  3.2976 +    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  3.2977 +    # conventions
  3.2978 +    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  3.2979 +    ;;
  3.2980 +  gnu*)
  3.2981 +    ;;
  3.2982 +  hpux9*)
  3.2983 +    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  3.2984 +    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.2985 +    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  3.2986 +    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.2987 +    _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  3.2988 +				# but as the default
  3.2989 +				# location of the library.
  3.2990 +
  3.2991 +    case $cc_basename in
  3.2992 +    CC)
  3.2993 +      # FIXME: insert proper C++ library support
  3.2994 +      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.2995 +      ;;
  3.2996 +    aCC)
  3.2997 +      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  3.2998 +      # Commands to make compiler produce verbose output that lists
  3.2999 +      # what "hidden" libraries, object files and flags are used when
  3.3000 +      # linking a shared library.
  3.3001 +      #
  3.3002 +      # There doesn't appear to be a way to prevent this compiler from
  3.3003 +      # explicitly linking system object files so we need to strip them
  3.3004 +      # from the output so that they don't get included in the library
  3.3005 +      # dependencies.
  3.3006 +      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  3.3007 +      ;;
  3.3008 +    *)
  3.3009 +      if test "$GXX" = yes; then
  3.3010 +        _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  3.3011 +      else
  3.3012 +        # FIXME: insert proper C++ library support
  3.3013 +        _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3014 +      fi
  3.3015 +      ;;
  3.3016 +    esac
  3.3017 +    ;;
  3.3018 +  hpux10*|hpux11*)
  3.3019 +    if test $with_gnu_ld = no; then
  3.3020 +      case "$host_cpu" in
  3.3021 +      hppa*64*)
  3.3022 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  3.3023 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  3.3024 +	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.3025 +        ;;
  3.3026 +      ia64*)
  3.3027 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3.3028 +        ;;
  3.3029 +      *)
  3.3030 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  3.3031 +	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.3032 +	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  3.3033 +        ;;
  3.3034 +      esac
  3.3035 +    fi
  3.3036 +    case "$host_cpu" in
  3.3037 +    hppa*64*)
  3.3038 +      _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3.3039 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.3040 +      ;;
  3.3041 +    ia64*)
  3.3042 +      _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3.3043 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.3044 +      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  3.3045 +					      # but as the default
  3.3046 +					      # location of the library.
  3.3047 +      ;;
  3.3048 +    *)
  3.3049 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.3050 +      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  3.3051 +					      # but as the default
  3.3052 +					      # location of the library.
  3.3053 +      ;;
  3.3054 +    esac
  3.3055 +
  3.3056 +    case $cc_basename in
  3.3057 +      CC)
  3.3058 +	# FIXME: insert proper C++ library support
  3.3059 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3060 +	;;
  3.3061 +      aCC)
  3.3062 +	case "$host_cpu" in
  3.3063 +	hppa*64*|ia64*)
  3.3064 +	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
  3.3065 +	  ;;
  3.3066 +	*)
  3.3067 +	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  3.3068 +	  ;;
  3.3069 +	esac
  3.3070 +	# Commands to make compiler produce verbose output that lists
  3.3071 +	# what "hidden" libraries, object files and flags are used when
  3.3072 +	# linking a shared library.
  3.3073 +	#
  3.3074 +	# There doesn't appear to be a way to prevent this compiler from
  3.3075 +	# explicitly linking system object files so we need to strip them
  3.3076 +	# from the output so that they don't get included in the library
  3.3077 +	# dependencies.
  3.3078 +	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  3.3079 +	;;
  3.3080 +      *)
  3.3081 +	if test "$GXX" = yes; then
  3.3082 +	  if test $with_gnu_ld = no; then
  3.3083 +	    case "$host_cpu" in
  3.3084 +	    ia64*|hppa*64*)
  3.3085 +	      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
  3.3086 +	      ;;
  3.3087 +	    *)
  3.3088 +	      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  3.3089 +	      ;;
  3.3090 +	    esac
  3.3091 +	  fi
  3.3092 +	else
  3.3093 +	  # FIXME: insert proper C++ library support
  3.3094 +	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3095 +	fi
  3.3096 +	;;
  3.3097 +    esac
  3.3098 +    ;;
  3.3099 +  irix5* | irix6*)
  3.3100 +    case $cc_basename in
  3.3101 +      CC)
  3.3102 +	# SGI C++
  3.3103 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
  3.3104 +
  3.3105 +	# Archives containing C++ object files must be created using
  3.3106 +	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
  3.3107 +	# necessary to make sure instantiated templates are included
  3.3108 +	# in the archive.
  3.3109 +	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  3.3110 +	;;
  3.3111 +      *)
  3.3112 +	if test "$GXX" = yes; then
  3.3113 +	  if test "$with_gnu_ld" = no; then
  3.3114 +	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
  3.3115 +	  else
  3.3116 +	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
  3.3117 +	  fi
  3.3118 +	fi
  3.3119 +	_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3.3120 +	;;
  3.3121 +    esac
  3.3122 +    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  3.3123 +    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.3124 +    ;;
  3.3125 +  linux*)
  3.3126 +    case $cc_basename in
  3.3127 +      KCC)
  3.3128 +	# Kuck and Associates, Inc. (KAI) C++ Compiler
  3.3129 +
  3.3130 +	# KCC will only create a shared library if the output file
  3.3131 +	# ends with ".so" (or ".sl" for HP-UX), so rename the library
  3.3132 +	# to its proper name (with version) after linking.
  3.3133 +	_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  3.3134 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
  3.3135 +	# Commands to make compiler produce verbose output that lists
  3.3136 +	# what "hidden" libraries, object files and flags are used when
  3.3137 +	# linking a shared library.
  3.3138 +	#
  3.3139 +	# There doesn't appear to be a way to prevent this compiler from
  3.3140 +	# explicitly linking system object files so we need to strip them
  3.3141 +	# from the output so that they don't get included in the library
  3.3142 +	# dependencies.
  3.3143 +	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  3.3144 +
  3.3145 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
  3.3146 +	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  3.3147 +
  3.3148 +	# Archives containing C++ object files must be created using
  3.3149 +	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
  3.3150 +	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  3.3151 +	;;
  3.3152 +      icpc)
  3.3153 +	# Intel C++
  3.3154 +	with_gnu_ld=yes
  3.3155 +	_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3.3156 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3.3157 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  3.3158 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  3.3159 +	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  3.3160 +	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  3.3161 +	;;
  3.3162 +      cxx)
  3.3163 +	# Compaq C++
  3.3164 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3.3165 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  3.3166 +
  3.3167 +	runpath_var=LD_RUN_PATH
  3.3168 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  3.3169 +	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.3170 +
  3.3171 +	# Commands to make compiler produce verbose output that lists
  3.3172 +	# what "hidden" libraries, object files and flags are used when
  3.3173 +	# linking a shared library.
  3.3174 +	#
  3.3175 +	# There doesn't appear to be a way to prevent this compiler from
  3.3176 +	# explicitly linking system object files so we need to strip them
  3.3177 +	# from the output so that they don't get included in the library
  3.3178 +	# dependencies.
  3.3179 +	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  3.3180 +	;;
  3.3181 +    esac
  3.3182 +    ;;
  3.3183 +  lynxos*)
  3.3184 +    # FIXME: insert proper C++ library support
  3.3185 +    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3186 +    ;;
  3.3187 +  m88k*)
  3.3188 +    # FIXME: insert proper C++ library support
  3.3189 +    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3190 +    ;;
  3.3191 +  mvs*)
  3.3192 +    case $cc_basename in
  3.3193 +      cxx)
  3.3194 +	# FIXME: insert proper C++ library support
  3.3195 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3196 +	;;
  3.3197 +      *)
  3.3198 +	# FIXME: insert proper C++ library support
  3.3199 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3200 +	;;
  3.3201 +    esac
  3.3202 +    ;;
  3.3203 +  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
  3.3204 +    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  3.3205 +      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  3.3206 +      wlarc=
  3.3207 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  3.3208 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.3209 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.3210 +    fi
  3.3211 +    # Workaround some broken pre-1.5 toolchains
  3.3212 +    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  3.3213 +    ;;
  3.3214 +  osf3*)
  3.3215 +    case $cc_basename in
  3.3216 +      KCC)
  3.3217 +	# Kuck and Associates, Inc. (KAI) C++ Compiler
  3.3218 +
  3.3219 +	# KCC will only create a shared library if the output file
  3.3220 +	# ends with ".so" (or ".sl" for HP-UX), so rename the library
  3.3221 +	# to its proper name (with version) after linking.
  3.3222 +	_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  3.3223 +
  3.3224 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  3.3225 +	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.3226 +
  3.3227 +	# Archives containing C++ object files must be created using
  3.3228 +	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
  3.3229 +	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  3.3230 +
  3.3231 +	;;
  3.3232 +      RCC)
  3.3233 +	# Rational C++ 2.4.1
  3.3234 +	# FIXME: insert proper C++ library support
  3.3235 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3236 +	;;
  3.3237 +      cxx)
  3.3238 +	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  3.3239 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
  3.3240 +
  3.3241 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  3.3242 +	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.3243 +
  3.3244 +	# Commands to make compiler produce verbose output that lists
  3.3245 +	# what "hidden" libraries, object files and flags are used when
  3.3246 +	# linking a shared library.
  3.3247 +	#
  3.3248 +	# There doesn't appear to be a way to prevent this compiler from
  3.3249 +	# explicitly linking system object files so we need to strip them
  3.3250 +	# from the output so that they don't get included in the library
  3.3251 +	# dependencies.
  3.3252 +	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  3.3253 +	;;
  3.3254 +      *)
  3.3255 +	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  3.3256 +	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  3.3257 +	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
  3.3258 +
  3.3259 +	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  3.3260 +	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.3261 +
  3.3262 +	  # Commands to make compiler produce verbose output that lists
  3.3263 +	  # what "hidden" libraries, object files and flags are used when
  3.3264 +	  # linking a shared library.
  3.3265 +	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  3.3266 +
  3.3267 +	else
  3.3268 +	  # FIXME: insert proper C++ library support
  3.3269 +	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3270 +	fi
  3.3271 +	;;
  3.3272 +    esac
  3.3273 +    ;;
  3.3274 +  osf4* | osf5*)
  3.3275 +    case $cc_basename in
  3.3276 +      KCC)
  3.3277 +	# Kuck and Associates, Inc. (KAI) C++ Compiler
  3.3278 +
  3.3279 +	# KCC will only create a shared library if the output file
  3.3280 +	# ends with ".so" (or ".sl" for HP-UX), so rename the library
  3.3281 +	# to its proper name (with version) after linking.
  3.3282 +	_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  3.3283 +
  3.3284 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  3.3285 +	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.3286 +
  3.3287 +	# Archives containing C++ object files must be created using
  3.3288 +	# the KAI C++ compiler.
  3.3289 +	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
  3.3290 +	;;
  3.3291 +      RCC)
  3.3292 +	# Rational C++ 2.4.1
  3.3293 +	# FIXME: insert proper C++ library support
  3.3294 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3295 +	;;
  3.3296 +      cxx)
  3.3297 +	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  3.3298 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
  3.3299 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  3.3300 +	  echo "-hidden">> $lib.exp~
  3.3301 +	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry $objdir/so_locations -o $lib~
  3.3302 +	  $rm $lib.exp'
  3.3303 +
  3.3304 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  3.3305 +	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.3306 +
  3.3307 +	# Commands to make compiler produce verbose output that lists
  3.3308 +	# what "hidden" libraries, object files and flags are used when
  3.3309 +	# linking a shared library.
  3.3310 +	#
  3.3311 +	# There doesn't appear to be a way to prevent this compiler from
  3.3312 +	# explicitly linking system object files so we need to strip them
  3.3313 +	# from the output so that they don't get included in the library
  3.3314 +	# dependencies.
  3.3315 +	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  3.3316 +	;;
  3.3317 +      *)
  3.3318 +	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  3.3319 +	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  3.3320 +	 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
  3.3321 +
  3.3322 +	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  3.3323 +	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.3324 +
  3.3325 +	  # Commands to make compiler produce verbose output that lists
  3.3326 +	  # what "hidden" libraries, object files and flags are used when
  3.3327 +	  # linking a shared library.
  3.3328 +	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  3.3329 +
  3.3330 +	else
  3.3331 +	  # FIXME: insert proper C++ library support
  3.3332 +	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3333 +	fi
  3.3334 +	;;
  3.3335 +    esac
  3.3336 +    ;;
  3.3337 +  psos*)
  3.3338 +    # FIXME: insert proper C++ library support
  3.3339 +    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3340 +    ;;
  3.3341 +  sco*)
  3.3342 +    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3.3343 +    case $cc_basename in
  3.3344 +      CC)
  3.3345 +	# FIXME: insert proper C++ library support
  3.3346 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3347 +	;;
  3.3348 +      *)
  3.3349 +	# FIXME: insert proper C++ library support
  3.3350 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3351 +	;;
  3.3352 +    esac
  3.3353 +    ;;
  3.3354 +  sunos4*)
  3.3355 +    case $cc_basename in
  3.3356 +      CC)
  3.3357 +	# Sun C++ 4.x
  3.3358 +	# FIXME: insert proper C++ library support
  3.3359 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3360 +	;;
  3.3361 +      lcc)
  3.3362 +	# Lucid
  3.3363 +	# FIXME: insert proper C++ library support
  3.3364 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3365 +	;;
  3.3366 +      *)
  3.3367 +	# FIXME: insert proper C++ library support
  3.3368 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3369 +	;;
  3.3370 +    esac
  3.3371 +    ;;
  3.3372 +  solaris*)
  3.3373 +    case $cc_basename in
  3.3374 +      CC)
  3.3375 +	# Sun C++ 4.2, 5.x and Centerline C++
  3.3376 +	_LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  3.3377 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  3.3378 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  3.3379 +	$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  3.3380 +
  3.3381 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  3.3382 +	_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.3383 +	case $host_os in
  3.3384 +	  solaris2.[0-5] | solaris2.[0-5].*) ;;
  3.3385 +	  *)
  3.3386 +	    # The C++ compiler is used as linker so we must use $wl
  3.3387 +	    # flag to pass the commands to the underlying system
  3.3388 +	    # linker.
  3.3389 +	    # Supported since Solaris 2.6 (maybe 2.5.1?)
  3.3390 +	    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  3.3391 +	    ;;
  3.3392 +	esac
  3.3393 +	_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3.3394 +
  3.3395 +	# Commands to make compiler produce verbose output that lists
  3.3396 +	# what "hidden" libraries, object files and flags are used when
  3.3397 +	# linking a shared library.
  3.3398 +	#
  3.3399 +	# There doesn't appear to be a way to prevent this compiler from
  3.3400 +	# explicitly linking system object files so we need to strip them
  3.3401 +	# from the output so that they don't get included in the library
  3.3402 +	# dependencies.
  3.3403 +	output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  3.3404 +
  3.3405 +	# Archives containing C++ object files must be created using
  3.3406 +	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
  3.3407 +	# necessary to make sure instantiated templates are included
  3.3408 +	# in the archive.
  3.3409 +	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  3.3410 +	;;
  3.3411 +      gcx)
  3.3412 +	# Green Hills C++ Compiler
  3.3413 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  3.3414 +
  3.3415 +	# The C++ compiler must be used to create the archive.
  3.3416 +	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  3.3417 +	;;
  3.3418 +      *)
  3.3419 +	# GNU C++ compiler with Solaris linker
  3.3420 +	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  3.3421 +	  _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  3.3422 +	  if $CC --version | grep -v '^2\.7' > /dev/null; then
  3.3423 +	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  3.3424 +	    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  3.3425 +		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  3.3426 +
  3.3427 +	    # Commands to make compiler produce verbose output that lists
  3.3428 +	    # what "hidden" libraries, object files and flags are used when
  3.3429 +	    # linking a shared library.
  3.3430 +	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  3.3431 +	  else
  3.3432 +	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
  3.3433 +	    # platform.
  3.3434 +	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  3.3435 +	    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  3.3436 +		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  3.3437 +
  3.3438 +	    # Commands to make compiler produce verbose output that lists
  3.3439 +	    # what "hidden" libraries, object files and flags are used when
  3.3440 +	    # linking a shared library.
  3.3441 +	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  3.3442 +	  fi
  3.3443 +
  3.3444 +	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  3.3445 +	fi
  3.3446 +	;;
  3.3447 +    esac
  3.3448 +    ;;
  3.3449 +  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
  3.3450 +    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3.3451 +    ;;
  3.3452 +  tandem*)
  3.3453 +    case $cc_basename in
  3.3454 +      NCC)
  3.3455 +	# NonStop-UX NCC 3.20
  3.3456 +	# FIXME: insert proper C++ library support
  3.3457 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3458 +	;;
  3.3459 +      *)
  3.3460 +	# FIXME: insert proper C++ library support
  3.3461 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3462 +	;;
  3.3463 +    esac
  3.3464 +    ;;
  3.3465 +  vxworks*)
  3.3466 +    # FIXME: insert proper C++ library support
  3.3467 +    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3468 +    ;;
  3.3469 +  *)
  3.3470 +    # FIXME: insert proper C++ library support
  3.3471 +    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.3472 +    ;;
  3.3473 +esac
  3.3474 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
  3.3475 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  3.3476 +
  3.3477 +_LT_AC_TAGVAR(GCC, $1)="$GXX"
  3.3478 +_LT_AC_TAGVAR(LD, $1)="$LD"
  3.3479 +
  3.3480 +## CAVEAT EMPTOR:
  3.3481 +## There is no encapsulation within the following macros, do not change
  3.3482 +## the running order or otherwise move them around unless you know exactly
  3.3483 +## what you are doing...
  3.3484 +AC_LIBTOOL_POSTDEP_PREDEP($1)
  3.3485 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
  3.3486 +AC_LIBTOOL_PROG_CC_C_O($1)
  3.3487 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  3.3488 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
  3.3489 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  3.3490 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  3.3491 +AC_LIBTOOL_SYS_LIB_STRIP
  3.3492 +AC_LIBTOOL_DLOPEN_SELF($1)
  3.3493 +
  3.3494 +AC_LIBTOOL_CONFIG($1)
  3.3495 +
  3.3496 +AC_LANG_POP
  3.3497 +CC=$lt_save_CC
  3.3498 +LDCXX=$LD
  3.3499 +LD=$lt_save_LD
  3.3500 +GCC=$lt_save_GCC
  3.3501 +with_gnu_ldcxx=$with_gnu_ld
  3.3502 +with_gnu_ld=$lt_save_with_gnu_ld
  3.3503 +lt_cv_path_LDCXX=$lt_cv_path_LD
  3.3504 +lt_cv_path_LD=$lt_save_path_LD
  3.3505 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  3.3506 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  3.3507 +])# AC_LIBTOOL_LANG_CXX_CONFIG
  3.3508 +
  3.3509 +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
  3.3510 +# ------------------------
  3.3511 +# Figure out "hidden" library dependencies from verbose
  3.3512 +# compiler output when linking a shared library.
  3.3513 +# Parse the compiler output and extract the necessary
  3.3514 +# objects, libraries and library flags.
  3.3515 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
  3.3516 +dnl we can't use the lt_simple_compile_test_code here,
  3.3517 +dnl because it contains code intended for an executable,
  3.3518 +dnl not a library.  It's possible we should let each
  3.3519 +dnl tag define a new lt_????_link_test_code variable,
  3.3520 +dnl but it's only used here...
  3.3521 +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
  3.3522 +int a;
  3.3523 +void foo (void) { a = 0; }
  3.3524 +EOF
  3.3525 +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
  3.3526 +class Foo
  3.3527 +{
  3.3528 +public:
  3.3529 +  Foo (void) { a = 0; }
  3.3530 +private:
  3.3531 +  int a;
  3.3532 +};
  3.3533 +EOF
  3.3534 +],[$1],[F77],[cat > conftest.$ac_ext <<EOF
  3.3535 +      subroutine foo
  3.3536 +      implicit none
  3.3537 +      integer*4 a
  3.3538 +      a=0
  3.3539 +      return
  3.3540 +      end
  3.3541 +EOF
  3.3542 +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
  3.3543 +public class foo {
  3.3544 +  private int a;
  3.3545 +  public void bar (void) {
  3.3546 +    a = 0;
  3.3547 +  }
  3.3548 +};
  3.3549 +EOF
  3.3550 +])
  3.3551 +dnl Parse the compiler output and extract the necessary
  3.3552 +dnl objects, libraries and library flags.
  3.3553 +if AC_TRY_EVAL(ac_compile); then
  3.3554 +  # Parse the compiler output and extract the necessary
  3.3555 +  # objects, libraries and library flags.
  3.3556 +
  3.3557 +  # Sentinel used to keep track of whether or not we are before
  3.3558 +  # the conftest object file.
  3.3559 +  pre_test_object_deps_done=no
  3.3560 +
  3.3561 +  # The `*' in the case matches for architectures that use `case' in
  3.3562 +  # $output_verbose_cmd can trigger glob expansion during the loop
  3.3563 +  # eval without this substitution.
  3.3564 +  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
  3.3565 +
  3.3566 +  for p in `eval $output_verbose_link_cmd`; do
  3.3567 +    case $p in
  3.3568 +
  3.3569 +    -L* | -R* | -l*)
  3.3570 +       # Some compilers place space between "-{L,R}" and the path.
  3.3571 +       # Remove the space.
  3.3572 +       if test $p = "-L" \
  3.3573 +	  || test $p = "-R"; then
  3.3574 +	 prev=$p
  3.3575 +	 continue
  3.3576 +       else
  3.3577 +	 prev=
  3.3578 +       fi
  3.3579 +
  3.3580 +       if test "$pre_test_object_deps_done" = no; then
  3.3581 +	 case $p in
  3.3582 +	 -L* | -R*)
  3.3583 +	   # Internal compiler library paths should come after those
  3.3584 +	   # provided the user.  The postdeps already come after the
  3.3585 +	   # user supplied libs so there is no need to process them.
  3.3586 +	   if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
  3.3587 +	     _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  3.3588 +	   else
  3.3589 +	     _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  3.3590 +	   fi
  3.3591 +	   ;;
  3.3592 +	 # The "-l" case would never come before the object being
  3.3593 +	 # linked, so don't bother handling this case.
  3.3594 +	 esac
  3.3595 +       else
  3.3596 +	 if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
  3.3597 +	   _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
  3.3598 +	 else
  3.3599 +	   _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
  3.3600 +	 fi
  3.3601 +       fi
  3.3602 +       ;;
  3.3603 +
  3.3604 +    *.$objext)
  3.3605 +       # This assumes that the test object file only shows up
  3.3606 +       # once in the compiler output.
  3.3607 +       if test "$p" = "conftest.$objext"; then
  3.3608 +	 pre_test_object_deps_done=yes
  3.3609 +	 continue
  3.3610 +       fi
  3.3611 +
  3.3612 +       if test "$pre_test_object_deps_done" = no; then
  3.3613 +	 if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
  3.3614 +	   _LT_AC_TAGVAR(predep_objects, $1)="$p"
  3.3615 +	 else
  3.3616 +	   _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
  3.3617 +	 fi
  3.3618 +       else
  3.3619 +	 if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
  3.3620 +	   _LT_AC_TAGVAR(postdep_objects, $1)="$p"
  3.3621 +	 else
  3.3622 +	   _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
  3.3623 +	 fi
  3.3624 +       fi
  3.3625 +       ;;
  3.3626 +
  3.3627 +    *) ;; # Ignore the rest.
  3.3628 +
  3.3629 +    esac
  3.3630 +  done
  3.3631 +
  3.3632 +  # Clean up.
  3.3633 +  rm -f a.out a.exe
  3.3634 +else
  3.3635 +  echo "libtool.m4: error: problem compiling $1 test program"
  3.3636 +fi
  3.3637 +
  3.3638 +$rm -f confest.$objext
  3.3639 +
  3.3640 +case " $_LT_AC_TAGVAR(postdeps, $1) " in
  3.3641 +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  3.3642 +esac
  3.3643 +])# AC_LIBTOOL_POSTDEP_PREDEP
  3.3644 +
  3.3645 +# AC_LIBTOOL_LANG_F77_CONFIG
  3.3646 +# ------------------------
  3.3647 +# Ensure that the configuration vars for the C compiler are
  3.3648 +# suitably defined.  Those variables are subsequently used by
  3.3649 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  3.3650 +AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
  3.3651 +AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
  3.3652 +[AC_REQUIRE([AC_PROG_F77])
  3.3653 +AC_LANG_PUSH(Fortran 77)
  3.3654 +
  3.3655 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3.3656 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
  3.3657 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
  3.3658 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  3.3659 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  3.3660 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
  3.3661 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  3.3662 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  3.3663 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  3.3664 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  3.3665 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
  3.3666 +_LT_AC_TAGVAR(module_cmds, $1)=
  3.3667 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
  3.3668 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  3.3669 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  3.3670 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
  3.3671 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  3.3672 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  3.3673 +
  3.3674 +# Source file extension for f77 test sources.
  3.3675 +ac_ext=f
  3.3676 +
  3.3677 +# Object file extension for compiled f77 test sources.
  3.3678 +objext=o
  3.3679 +_LT_AC_TAGVAR(objext, $1)=$objext
  3.3680 +
  3.3681 +# Code to be used in simple compile tests
  3.3682 +lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
  3.3683 +
  3.3684 +# Code to be used in simple link tests
  3.3685 +lt_simple_link_test_code="      program t\n      end\n"
  3.3686 +
  3.3687 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  3.3688 +_LT_AC_SYS_COMPILER
  3.3689 +
  3.3690 +# Allow CC to be a program name with arguments.
  3.3691 +lt_save_CC="$CC"
  3.3692 +CC=${F77-"f77"}
  3.3693 +compiler=$CC
  3.3694 +_LT_AC_TAGVAR(compiler, $1)=$CC
  3.3695 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
  3.3696 +
  3.3697 +AC_MSG_CHECKING([if libtool supports shared libraries])
  3.3698 +AC_MSG_RESULT([$can_build_shared])
  3.3699 +
  3.3700 +AC_MSG_CHECKING([whether to build shared libraries])
  3.3701 +test "$can_build_shared" = "no" && enable_shared=no
  3.3702 +
  3.3703 +# On AIX, shared libraries and static libraries use the same namespace, and
  3.3704 +# are all built from PIC.
  3.3705 +case "$host_os" in
  3.3706 +aix3*)
  3.3707 +  test "$enable_shared" = yes && enable_static=no
  3.3708 +  if test -n "$RANLIB"; then
  3.3709 +    archive_cmds="$archive_cmds~\$RANLIB \$lib"
  3.3710 +    postinstall_cmds='$RANLIB $lib'
  3.3711 +  fi
  3.3712 +  ;;
  3.3713 +aix4* | aix5*)
  3.3714 +  test "$enable_shared" = yes && enable_static=no
  3.3715 +  ;;
  3.3716 +esac
  3.3717 +AC_MSG_RESULT([$enable_shared])
  3.3718 +
  3.3719 +AC_MSG_CHECKING([whether to build static libraries])
  3.3720 +# Make sure either enable_shared or enable_static is yes.
  3.3721 +test "$enable_shared" = yes || enable_static=yes
  3.3722 +AC_MSG_RESULT([$enable_static])
  3.3723 +
  3.3724 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  3.3725 +
  3.3726 +_LT_AC_TAGVAR(GCC, $1)="$G77"
  3.3727 +_LT_AC_TAGVAR(LD, $1)="$LD"
  3.3728 +
  3.3729 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
  3.3730 +AC_LIBTOOL_PROG_CC_C_O($1)
  3.3731 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  3.3732 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
  3.3733 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  3.3734 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  3.3735 +AC_LIBTOOL_SYS_LIB_STRIP
  3.3736 +
  3.3737 +
  3.3738 +AC_LIBTOOL_CONFIG($1)
  3.3739 +
  3.3740 +AC_LANG_POP
  3.3741 +CC="$lt_save_CC"
  3.3742 +])# AC_LIBTOOL_LANG_F77_CONFIG
  3.3743 +
  3.3744 +
  3.3745 +# AC_LIBTOOL_LANG_GCJ_CONFIG
  3.3746 +# --------------------------
  3.3747 +# Ensure that the configuration vars for the C compiler are
  3.3748 +# suitably defined.  Those variables are subsequently used by
  3.3749 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  3.3750 +AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
  3.3751 +AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
  3.3752 +[AC_LANG_SAVE
  3.3753 +
  3.3754 +# Source file extension for Java test sources.
  3.3755 +ac_ext=java
  3.3756 +
  3.3757 +# Object file extension for compiled Java test sources.
  3.3758 +objext=o
  3.3759 +_LT_AC_TAGVAR(objext, $1)=$objext
  3.3760 +
  3.3761 +# Code to be used in simple compile tests
  3.3762 +lt_simple_compile_test_code="class foo {}\n"
  3.3763 +
  3.3764 +# Code to be used in simple link tests
  3.3765 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
  3.3766 +
  3.3767 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  3.3768 +_LT_AC_SYS_COMPILER
  3.3769 +
  3.3770 +# Allow CC to be a program name with arguments.
  3.3771 +lt_save_CC="$CC"
  3.3772 +CC=${GCJ-"gcj"}
  3.3773 +compiler=$CC
  3.3774 +_LT_AC_TAGVAR(compiler, $1)=$CC
  3.3775 +
  3.3776 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
  3.3777 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3.3778 +
  3.3779 +## CAVEAT EMPTOR:
  3.3780 +## There is no encapsulation within the following macros, do not change
  3.3781 +## the running order or otherwise move them around unless you know exactly
  3.3782 +## what you are doing...
  3.3783 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
  3.3784 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
  3.3785 +AC_LIBTOOL_PROG_CC_C_O($1)
  3.3786 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  3.3787 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
  3.3788 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  3.3789 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  3.3790 +AC_LIBTOOL_SYS_LIB_STRIP
  3.3791 +AC_LIBTOOL_DLOPEN_SELF($1)
  3.3792 +
  3.3793 +AC_LIBTOOL_CONFIG($1)
  3.3794 +
  3.3795 +AC_LANG_RESTORE
  3.3796 +CC="$lt_save_CC"
  3.3797 +])# AC_LIBTOOL_LANG_GCJ_CONFIG
  3.3798 +
  3.3799 +
  3.3800 +# AC_LIBTOOL_LANG_RC_CONFIG
  3.3801 +# --------------------------
  3.3802 +# Ensure that the configuration vars for the Windows resource compiler are
  3.3803 +# suitably defined.  Those variables are subsequently used by
  3.3804 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  3.3805 +AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
  3.3806 +AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
  3.3807 +[AC_LANG_SAVE
  3.3808 +
  3.3809 +# Source file extension for RC test sources.
  3.3810 +ac_ext=rc
  3.3811 +
  3.3812 +# Object file extension for compiled RC test sources.
  3.3813 +objext=o
  3.3814 +_LT_AC_TAGVAR(objext, $1)=$objext
  3.3815 +
  3.3816 +# Code to be used in simple compile tests
  3.3817 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
  3.3818 +
  3.3819 +# Code to be used in simple link tests
  3.3820 +lt_simple_link_test_code="$lt_simple_compile_test_code"
  3.3821 +
  3.3822 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  3.3823 +_LT_AC_SYS_COMPILER
  3.3824 +
  3.3825 +# Allow CC to be a program name with arguments.
  3.3826 +lt_save_CC="$CC"
  3.3827 +CC=${RC-"windres"}
  3.3828 +compiler=$CC
  3.3829 +_LT_AC_TAGVAR(compiler, $1)=$CC
  3.3830 +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  3.3831 +
  3.3832 +AC_LIBTOOL_CONFIG($1)
  3.3833 +
  3.3834 +AC_LANG_RESTORE
  3.3835 +CC="$lt_save_CC"
  3.3836 +])# AC_LIBTOOL_LANG_RC_CONFIG
  3.3837 +
  3.3838 +
  3.3839 +# AC_LIBTOOL_CONFIG([TAGNAME])
  3.3840 +# ----------------------------
  3.3841 +# If TAGNAME is not passed, then create an initial libtool script
  3.3842 +# with a default configuration from the untagged config vars.  Otherwise
  3.3843 +# add code to config.status for appending the configuration named by
  3.3844 +# TAGNAME from the matching tagged config vars.
  3.3845 +AC_DEFUN([AC_LIBTOOL_CONFIG],
  3.3846 +[# The else clause should only fire when bootstrapping the
  3.3847 +# libtool distribution, otherwise you forgot to ship ltmain.sh
  3.3848 +# with your package, and you will get complaints that there are
  3.3849 +# no rules to generate ltmain.sh.
  3.3850 +if test -f "$ltmain"; then
  3.3851 +  # See if we are running on zsh, and set the options which allow our commands through
  3.3852 +  # without removal of \ escapes.
  3.3853 +  if test -n "${ZSH_VERSION+set}" ; then
  3.3854 +    setopt NO_GLOB_SUBST
  3.3855 +  fi
  3.3856 +  # Now quote all the things that may contain metacharacters while being
  3.3857 +  # careful not to overquote the AC_SUBSTed values.  We take copies of the
  3.3858 +  # variables and quote the copies for generation of the libtool script.
  3.3859 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
  3.3860 +    SED SHELL STRIP \
  3.3861 +    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  3.3862 +    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  3.3863 +    deplibs_check_method reload_flag reload_cmds need_locks \
  3.3864 +    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  3.3865 +    lt_cv_sys_global_symbol_to_c_name_address \
  3.3866 +    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  3.3867 +    old_postinstall_cmds old_postuninstall_cmds \
  3.3868 +    _LT_AC_TAGVAR(compiler, $1) \
  3.3869 +    _LT_AC_TAGVAR(CC, $1) \
  3.3870 +    _LT_AC_TAGVAR(LD, $1) \
  3.3871 +    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
  3.3872 +    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
  3.3873 +    _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
  3.3874 +    _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
  3.3875 +    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
  3.3876 +    _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
  3.3877 +    _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
  3.3878 +    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
  3.3879 +    _LT_AC_TAGVAR(old_archive_cmds, $1) \
  3.3880 +    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
  3.3881 +    _LT_AC_TAGVAR(predep_objects, $1) \
  3.3882 +    _LT_AC_TAGVAR(postdep_objects, $1) \
  3.3883 +    _LT_AC_TAGVAR(predeps, $1) \
  3.3884 +    _LT_AC_TAGVAR(postdeps, $1) \
  3.3885 +    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
  3.3886 +    _LT_AC_TAGVAR(archive_cmds, $1) \
  3.3887 +    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
  3.3888 +    _LT_AC_TAGVAR(postinstall_cmds, $1) \
  3.3889 +    _LT_AC_TAGVAR(postuninstall_cmds, $1) \
  3.3890 +    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
  3.3891 +    _LT_AC_TAGVAR(allow_undefined_flag, $1) \
  3.3892 +    _LT_AC_TAGVAR(no_undefined_flag, $1) \
  3.3893 +    _LT_AC_TAGVAR(export_symbols_cmds, $1) \
  3.3894 +    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
  3.3895 +    _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
  3.3896 +    _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
  3.3897 +    _LT_AC_TAGVAR(hardcode_automatic, $1) \
  3.3898 +    _LT_AC_TAGVAR(module_cmds, $1) \
  3.3899 +    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
  3.3900 +    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
  3.3901 +    _LT_AC_TAGVAR(exclude_expsyms, $1) \
  3.3902 +    _LT_AC_TAGVAR(include_expsyms, $1); do
  3.3903 +
  3.3904 +    case $var in
  3.3905 +    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
  3.3906 +    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
  3.3907 +    _LT_AC_TAGVAR(archive_cmds, $1) | \
  3.3908 +    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
  3.3909 +    _LT_AC_TAGVAR(module_cmds, $1) | \
  3.3910 +    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
  3.3911 +    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
  3.3912 +    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
  3.3913 +    extract_expsyms_cmds | reload_cmds | finish_cmds | \
  3.3914 +    postinstall_cmds | postuninstall_cmds | \
  3.3915 +    old_postinstall_cmds | old_postuninstall_cmds | \
  3.3916 +    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  3.3917 +      # Double-quote double-evaled strings.
  3.3918 +      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  3.3919 +      ;;
  3.3920 +    *)
  3.3921 +      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  3.3922 +      ;;
  3.3923 +    esac
  3.3924 +  done
  3.3925 +
  3.3926 +  case $lt_echo in
  3.3927 +  *'\[$]0 --fallback-echo"')
  3.3928 +    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
  3.3929 +    ;;
  3.3930 +  esac
  3.3931 +
  3.3932 +ifelse([$1], [],
  3.3933 +  [cfgfile="${ofile}T"
  3.3934 +  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
  3.3935 +  $rm -f "$cfgfile"
  3.3936 +  AC_MSG_NOTICE([creating $ofile])],
  3.3937 +  [cfgfile="$ofile"])
  3.3938 +
  3.3939 +  cat <<__EOF__ >> "$cfgfile"
  3.3940 +ifelse([$1], [],
  3.3941 +[#! $SHELL
  3.3942 +
  3.3943 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  3.3944 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  3.3945 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  3.3946 +#
  3.3947 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
  3.3948 +# Free Software Foundation, Inc.
  3.3949 +#
  3.3950 +# This file is part of GNU Libtool:
  3.3951 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  3.3952 +#
  3.3953 +# This program is free software; you can redistribute it and/or modify
  3.3954 +# it under the terms of the GNU General Public License as published by
  3.3955 +# the Free Software Foundation; either version 2 of the License, or
  3.3956 +# (at your option) any later version.
  3.3957 +#
  3.3958 +# This program is distributed in the hope that it will be useful, but
  3.3959 +# WITHOUT ANY WARRANTY; without even the implied warranty of
  3.3960 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  3.3961 +# General Public License for more details.
  3.3962 +#
  3.3963 +# You should have received a copy of the GNU General Public License
  3.3964 +# along with this program; if not, write to the Free Software
  3.3965 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  3.3966 +#
  3.3967 +# As a special exception to the GNU General Public License, if you
  3.3968 +# distribute this file as part of a program that contains a
  3.3969 +# configuration script generated by Autoconf, you may include it under
  3.3970 +# the same distribution terms that you use for the rest of that program.
  3.3971 +
  3.3972 +# A sed program that does not truncate output.
  3.3973 +SED=$lt_SED
  3.3974 +
  3.3975 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  3.3976 +Xsed="$SED -e s/^X//"
  3.3977 +
  3.3978 +# The HP-UX ksh and POSIX shell print the target directory to stdout
  3.3979 +# if CDPATH is set.
  3.3980 +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
  3.3981 +
  3.3982 +# The names of the tagged configurations supported by this script.
  3.3983 +available_tags=
  3.3984 +
  3.3985 +# ### BEGIN LIBTOOL CONFIG],
  3.3986 +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
  3.3987 +
  3.3988 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  3.3989 +
  3.3990 +# Shell to use when invoking shell scripts.
  3.3991 +SHELL=$lt_SHELL
  3.3992 +
  3.3993 +# Whether or not to build shared libraries.
  3.3994 +build_libtool_libs=$enable_shared
  3.3995 +
  3.3996 +# Whether or not to build static libraries.
  3.3997 +build_old_libs=$enable_static
  3.3998 +
  3.3999 +# Whether or not to add -lc for building shared libraries.
  3.4000 +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
  3.4001 +
  3.4002 +# Whether or not to disallow shared libs when runtime libs are static
  3.4003 +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
  3.4004 +
  3.4005 +# Whether or not to optimize for fast installation.
  3.4006 +fast_install=$enable_fast_install
  3.4007 +
  3.4008 +# The host system.
  3.4009 +host_alias=$host_alias
  3.4010 +host=$host
  3.4011 +
  3.4012 +# An echo program that does not interpret backslashes.
  3.4013 +echo=$lt_echo
  3.4014 +
  3.4015 +# The archiver.
  3.4016 +AR=$lt_AR
  3.4017 +AR_FLAGS=$lt_AR_FLAGS
  3.4018 +
  3.4019 +# A C compiler.
  3.4020 +LTCC=$lt_LTCC
  3.4021 +
  3.4022 +# A language-specific compiler.
  3.4023 +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
  3.4024 +
  3.4025 +# Is the compiler the GNU C compiler?
  3.4026 +with_gcc=$_LT_AC_TAGVAR(GCC, $1)
  3.4027 +
  3.4028 +# An ERE matcher.
  3.4029 +EGREP=$lt_EGREP
  3.4030 +
  3.4031 +# The linker used to build libraries.
  3.4032 +LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
  3.4033 +
  3.4034 +# Whether we need hard or soft links.
  3.4035 +LN_S=$lt_LN_S
  3.4036 +
  3.4037 +# A BSD-compatible nm program.
  3.4038 +NM=$lt_NM
  3.4039 +
  3.4040 +# A symbol stripping program
  3.4041 +STRIP=$lt_STRIP
  3.4042 +
  3.4043 +# Used to examine libraries when file_magic_cmd begins "file"
  3.4044 +MAGIC_CMD=$MAGIC_CMD
  3.4045 +
  3.4046 +# Used on cygwin: DLL creation program.
  3.4047 +DLLTOOL="$DLLTOOL"
  3.4048 +
  3.4049 +# Used on cygwin: object dumper.
  3.4050 +OBJDUMP="$OBJDUMP"
  3.4051 +
  3.4052 +# Used on cygwin: assembler.
  3.4053 +AS="$AS"
  3.4054 +
  3.4055 +# The name of the directory that contains temporary libtool files.
  3.4056 +objdir=$objdir
  3.4057 +
  3.4058 +# How to create reloadable object files.
  3.4059 +reload_flag=$lt_reload_flag
  3.4060 +reload_cmds=$lt_reload_cmds
  3.4061 +
  3.4062 +# How to pass a linker flag through the compiler.
  3.4063 +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
  3.4064 +
  3.4065 +# Object file suffix (normally "o").
  3.4066 +objext="$ac_objext"
  3.4067 +
  3.4068 +# Old archive suffix (normally "a").
  3.4069 +libext="$libext"
  3.4070 +
  3.4071 +# Shared library suffix (normally ".so").
  3.4072 +shrext_cmds='$shrext_cmds'
  3.4073 +
  3.4074 +# Executable file suffix (normally "").
  3.4075 +exeext="$exeext"
  3.4076 +
  3.4077 +# Additional compiler flags for building library objects.
  3.4078 +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
  3.4079 +pic_mode=$pic_mode
  3.4080 +
  3.4081 +# What is the maximum length of a command?
  3.4082 +max_cmd_len=$lt_cv_sys_max_cmd_len
  3.4083 +
  3.4084 +# Does compiler simultaneously support -c and -o options?
  3.4085 +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
  3.4086 +
  3.4087 +# Must we lock files when doing compilation ?
  3.4088 +need_locks=$lt_need_locks
  3.4089 +
  3.4090 +# Do we need the lib prefix for modules?
  3.4091 +need_lib_prefix=$need_lib_prefix
  3.4092 +
  3.4093 +# Do we need a version for libraries?
  3.4094 +need_version=$need_version
  3.4095 +
  3.4096 +# Whether dlopen is supported.
  3.4097 +dlopen_support=$enable_dlopen
  3.4098 +
  3.4099 +# Whether dlopen of programs is supported.
  3.4100 +dlopen_self=$enable_dlopen_self
  3.4101 +
  3.4102 +# Whether dlopen of statically linked programs is supported.
  3.4103 +dlopen_self_static=$enable_dlopen_self_static
  3.4104 +
  3.4105 +# Compiler flag to prevent dynamic linking.
  3.4106 +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
  3.4107 +
  3.4108 +# Compiler flag to turn off builtin functions.
  3.4109 +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
  3.4110 +
  3.4111 +# Compiler flag to allow reflexive dlopens.
  3.4112 +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
  3.4113 +
  3.4114 +# Compiler flag to generate shared objects directly from archives.
  3.4115 +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
  3.4116 +
  3.4117 +# Compiler flag to generate thread-safe objects.
  3.4118 +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
  3.4119 +
  3.4120 +# Library versioning type.
  3.4121 +version_type=$version_type
  3.4122 +
  3.4123 +# Format of library name prefix.
  3.4124 +libname_spec=$lt_libname_spec
  3.4125 +
  3.4126 +# List of archive names.  First name is the real one, the rest are links.
  3.4127 +# The last name is the one that the linker finds with -lNAME.
  3.4128 +library_names_spec=$lt_library_names_spec
  3.4129 +
  3.4130 +# The coded name of the library, if different from the real name.
  3.4131 +soname_spec=$lt_soname_spec
  3.4132 +
  3.4133 +# Commands used to build and install an old-style archive.
  3.4134 +RANLIB=$lt_RANLIB
  3.4135 +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
  3.4136 +old_postinstall_cmds=$lt_old_postinstall_cmds
  3.4137 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  3.4138 +
  3.4139 +# Create an old-style archive from a shared archive.
  3.4140 +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
  3.4141 +
  3.4142 +# Create a temporary old-style archive to link instead of a shared archive.
  3.4143 +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
  3.4144 +
  3.4145 +# Commands used to build and install a shared archive.
  3.4146 +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
  3.4147 +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
  3.4148 +postinstall_cmds=$lt_postinstall_cmds
  3.4149 +postuninstall_cmds=$lt_postuninstall_cmds
  3.4150 +
  3.4151 +# Commands used to build a loadable module (assumed same as above if empty)
  3.4152 +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
  3.4153 +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
  3.4154 +
  3.4155 +# Commands to strip libraries.
  3.4156 +old_striplib=$lt_old_striplib
  3.4157 +striplib=$lt_striplib
  3.4158 +
  3.4159 +# Dependencies to place before the objects being linked to create a
  3.4160 +# shared library.
  3.4161 +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
  3.4162 +
  3.4163 +# Dependencies to place after the objects being linked to create a
  3.4164 +# shared library.
  3.4165 +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
  3.4166 +
  3.4167 +# Dependencies to place before the objects being linked to create a
  3.4168 +# shared library.
  3.4169 +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
  3.4170 +
  3.4171 +# Dependencies to place after the objects being linked to create a
  3.4172 +# shared library.
  3.4173 +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
  3.4174 +
  3.4175 +# The library search path used internally by the compiler when linking
  3.4176 +# a shared library.
  3.4177 +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
  3.4178 +
  3.4179 +# Method to check whether dependent libraries are shared objects.
  3.4180 +deplibs_check_method=$lt_deplibs_check_method
  3.4181 +
  3.4182 +# Command to use when deplibs_check_method == file_magic.
  3.4183 +file_magic_cmd=$lt_file_magic_cmd
  3.4184 +
  3.4185 +# Flag that allows shared libraries with undefined symbols to be built.
  3.4186 +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
  3.4187 +
  3.4188 +# Flag that forces no undefined symbols.
  3.4189 +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
  3.4190 +
  3.4191 +# Commands used to finish a libtool library installation in a directory.
  3.4192 +finish_cmds=$lt_finish_cmds
  3.4193 +
  3.4194 +# Same as above, but a single script fragment to be evaled but not shown.
  3.4195 +finish_eval=$lt_finish_eval
  3.4196 +
  3.4197 +# Take the output of nm and produce a listing of raw symbols and C names.
  3.4198 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  3.4199 +
  3.4200 +# Transform the output of nm in a proper C declaration
  3.4201 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  3.4202 +
  3.4203 +# Transform the output of nm in a C name address pair
  3.4204 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  3.4205 +
  3.4206 +# This is the shared library runtime path variable.
  3.4207 +runpath_var=$runpath_var
  3.4208 +
  3.4209 +# This is the shared library path variable.
  3.4210 +shlibpath_var=$shlibpath_var
  3.4211 +
  3.4212 +# Is shlibpath searched before the hard-coded library search path?
  3.4213 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  3.4214 +
  3.4215 +# How to hardcode a shared library path into an executable.
  3.4216 +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
  3.4217 +
  3.4218 +# Whether we should hardcode library paths into libraries.
  3.4219 +hardcode_into_libs=$hardcode_into_libs
  3.4220 +
  3.4221 +# Flag to hardcode \$libdir into a binary during linking.
  3.4222 +# This must work even if \$libdir does not exist.
  3.4223 +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
  3.4224 +
  3.4225 +# If ld is used when linking, flag to hardcode \$libdir into
  3.4226 +# a binary during linking. This must work even if \$libdir does
  3.4227 +# not exist.
  3.4228 +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
  3.4229 +
  3.4230 +# Whether we need a single -rpath flag with a separated argument.
  3.4231 +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
  3.4232 +
  3.4233 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  3.4234 +# resulting binary.
  3.4235 +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
  3.4236 +
  3.4237 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  3.4238 +# resulting binary.
  3.4239 +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
  3.4240 +
  3.4241 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  3.4242 +# the resulting binary.
  3.4243 +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
  3.4244 +
  3.4245 +# Set to yes if building a shared library automatically hardcodes DIR into the library
  3.4246 +# and all subsequent libraries and executables linked against it.
  3.4247 +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
  3.4248 +
  3.4249 +# Variables whose values should be saved in libtool wrapper scripts and
  3.4250 +# restored at relink time.
  3.4251 +variables_saved_for_relink="$variables_saved_for_relink"
  3.4252 +
  3.4253 +# Whether libtool must link a program against all its dependency libraries.
  3.4254 +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
  3.4255 +
  3.4256 +# Compile-time system search path for libraries
  3.4257 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  3.4258 +
  3.4259 +# Run-time system search path for libraries
  3.4260 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  3.4261 +
  3.4262 +# Fix the shell variable \$srcfile for the compiler.
  3.4263 +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
  3.4264 +
  3.4265 +# Set to yes if exported symbols are required.
  3.4266 +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
  3.4267 +
  3.4268 +# The commands to list exported symbols.
  3.4269 +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
  3.4270 +
  3.4271 +# The commands to extract the exported symbol list from a shared archive.
  3.4272 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  3.4273 +
  3.4274 +# Symbols that should not be listed in the preloaded symbols.
  3.4275 +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
  3.4276 +
  3.4277 +# Symbols that must always be exported.
  3.4278 +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
  3.4279 +
  3.4280 +ifelse([$1],[],
  3.4281 +[# ### END LIBTOOL CONFIG],
  3.4282 +[# ### END LIBTOOL TAG CONFIG: $tagname])
  3.4283 +
  3.4284 +__EOF__
  3.4285 +
  3.4286 +ifelse([$1],[], [
  3.4287 +  case $host_os in
  3.4288 +  aix3*)
  3.4289 +    cat <<\EOF >> "$cfgfile"
  3.4290 +
  3.4291 +# AIX sometimes has problems with the GCC collect2 program.  For some
  3.4292 +# reason, if we set the COLLECT_NAMES environment variable, the problems
  3.4293 +# vanish in a puff of smoke.
  3.4294 +if test "X${COLLECT_NAMES+set}" != Xset; then
  3.4295 +  COLLECT_NAMES=
  3.4296 +  export COLLECT_NAMES
  3.4297 +fi
  3.4298 +EOF
  3.4299 +    ;;
  3.4300 +  esac
  3.4301 +
  3.4302 +  # We use sed instead of cat because bash on DJGPP gets confused if
  3.4303 +  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  3.4304 +  # text mode, it properly converts lines to CR/LF.  This bash problem
  3.4305 +  # is reportedly fixed, but why not run on old versions too?
  3.4306 +  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
  3.4307 +
  3.4308 +  mv -f "$cfgfile" "$ofile" || \
  3.4309 +    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  3.4310 +  chmod +x "$ofile"
  3.4311 +])
  3.4312 +else
  3.4313 +  # If there is no Makefile yet, we rely on a make rule to execute
  3.4314 +  # `config.status --recheck' to rerun these tests and create the
  3.4315 +  # libtool script then.
  3.4316 +  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  3.4317 +  if test -f "$ltmain_in"; then
  3.4318 +    test -f Makefile && make "$ltmain"
  3.4319 +  fi
  3.4320 +fi
  3.4321 +])# AC_LIBTOOL_CONFIG
  3.4322 +
  3.4323 +
  3.4324 +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
  3.4325 +# -------------------------------------------
  3.4326 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
  3.4327 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
  3.4328 +
  3.4329 +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  3.4330 +
  3.4331 +if test "$GCC" = yes; then
  3.4332 +  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  3.4333 +
  3.4334 +  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  3.4335 +    lt_cv_prog_compiler_rtti_exceptions,
  3.4336 +    [-fno-rtti -fno-exceptions], [],
  3.4337 +    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  3.4338 +fi
  3.4339 +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
  3.4340 +
  3.4341 +
  3.4342 +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  3.4343 +# ---------------------------------
  3.4344 +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
  3.4345 +[AC_REQUIRE([AC_CANONICAL_HOST])
  3.4346 +AC_REQUIRE([AC_PROG_NM])
  3.4347 +AC_REQUIRE([AC_OBJEXT])
  3.4348 +# Check for command to grab the raw symbol name followed by C symbol from nm.
  3.4349 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  3.4350 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  3.4351 +[
  3.4352 +# These are sane defaults that work on at least a few old systems.
  3.4353 +# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  3.4354 +
  3.4355 +# Character class describing NM global symbol codes.
  3.4356 +symcode='[[BCDEGRST]]'
  3.4357 +
  3.4358 +# Regexp to match symbols that can be accessed directly from C.
  3.4359 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  3.4360 +
  3.4361 +# Transform the above into a raw symbol and a C symbol.
  3.4362 +symxfrm='\1 \2\3 \3'
  3.4363 +
  3.4364 +# Transform an extracted symbol line into a proper C declaration
  3.4365 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
  3.4366 +
  3.4367 +# Transform an extracted symbol line into symbol name and symbol address
  3.4368 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
  3.4369 +
  3.4370 +# Define system-specific variables.
  3.4371 +case $host_os in
  3.4372 +aix*)
  3.4373 +  symcode='[[BCDT]]'
  3.4374 +  ;;
  3.4375 +cygwin* | mingw* | pw32*)
  3.4376 +  symcode='[[ABCDGISTW]]'
  3.4377 +  ;;
  3.4378 +hpux*) # Its linker distinguishes data from code symbols
  3.4379 +  if test "$host_cpu" = ia64; then
  3.4380 +    symcode='[[ABCDEGRST]]'
  3.4381 +  fi
  3.4382 +  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  3.4383 +  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
  3.4384 +  ;;
  3.4385 +irix* | nonstopux*)
  3.4386 +  symcode='[[BCDEGRST]]'
  3.4387 +  ;;
  3.4388 +osf*)
  3.4389 +  symcode='[[BCDEGQRST]]'
  3.4390 +  ;;
  3.4391 +solaris* | sysv5*)
  3.4392 +  symcode='[[BDRT]]'
  3.4393 +  ;;
  3.4394 +sysv4)
  3.4395 +  symcode='[[DFNSTU]]'
  3.4396 +  ;;
  3.4397 +esac
  3.4398 +
  3.4399 +# Handle CRLF in mingw tool chain
  3.4400 +opt_cr=
  3.4401 +case $build_os in
  3.4402 +mingw*)
  3.4403 +  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  3.4404 +  ;;
  3.4405 +esac
  3.4406 +
  3.4407 +# If we're using GNU nm, then use its standard symbol codes.
  3.4408 +case `$NM -V 2>&1` in
  3.4409 +*GNU* | *'with BFD'*)
  3.4410 +  symcode='[[ABCDGIRSTW]]' ;;
  3.4411 +esac
  3.4412 +
  3.4413 +# Try without a prefix undercore, then with it.
  3.4414 +for ac_symprfx in "" "_"; do
  3.4415 +
  3.4416 +  # Write the raw and C identifiers.
  3.4417 +  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ 	]]\($symcode$symcode*\)[[ 	]][[ 	]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
  3.4418 +
  3.4419 +  # Check to see that the pipe works correctly.
  3.4420 +  pipe_works=no
  3.4421 +
  3.4422 +  rm -f conftest*
  3.4423 +  cat > conftest.$ac_ext <<EOF
  3.4424 +#ifdef __cplusplus
  3.4425 +extern "C" {
  3.4426 +#endif
  3.4427 +char nm_test_var;
  3.4428 +void nm_test_func(){}
  3.4429 +#ifdef __cplusplus
  3.4430 +}
  3.4431 +#endif
  3.4432 +int main(){nm_test_var='a';nm_test_func();return(0);}
  3.4433 +EOF
  3.4434 +
  3.4435 +  if AC_TRY_EVAL(ac_compile); then
  3.4436 +    # Now try to grab the symbols.
  3.4437 +    nlist=conftest.nm
  3.4438 +    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  3.4439 +      # Try sorting and uniquifying the output.
  3.4440 +      if sort "$nlist" | uniq > "$nlist"T; then
  3.4441 +	mv -f "$nlist"T "$nlist"
  3.4442 +      else
  3.4443 +	rm -f "$nlist"T
  3.4444 +      fi
  3.4445 +
  3.4446 +      # Make sure that we snagged all the symbols we need.
  3.4447 +      if grep ' nm_test_var$' "$nlist" >/dev/null; then
  3.4448 +	if grep ' nm_test_func$' "$nlist" >/dev/null; then
  3.4449 +	  cat <<EOF > conftest.$ac_ext
  3.4450 +#ifdef __cplusplus
  3.4451 +extern "C" {
  3.4452 +#endif
  3.4453 +
  3.4454 +EOF
  3.4455 +	  # Now generate the symbol file.
  3.4456 +	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
  3.4457 +
  3.4458 +	  cat <<EOF >> conftest.$ac_ext
  3.4459 +#if defined (__STDC__) && __STDC__
  3.4460 +# define lt_ptr_t void *
  3.4461 +#else
  3.4462 +# define lt_ptr_t char *
  3.4463 +# define const
  3.4464 +#endif
  3.4465 +
  3.4466 +/* The mapping between symbol names and symbols. */
  3.4467 +const struct {
  3.4468 +  const char *name;
  3.4469 +  lt_ptr_t address;
  3.4470 +}
  3.4471 +lt_preloaded_symbols[[]] =
  3.4472 +{
  3.4473 +EOF
  3.4474 +	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
  3.4475 +	  cat <<\EOF >> conftest.$ac_ext
  3.4476 +  {0, (lt_ptr_t) 0}
  3.4477 +};
  3.4478 +
  3.4479 +#ifdef __cplusplus
  3.4480 +}
  3.4481 +#endif
  3.4482 +EOF
  3.4483 +	  # Now try linking the two files.
  3.4484 +	  mv conftest.$ac_objext conftstm.$ac_objext
  3.4485 +	  lt_save_LIBS="$LIBS"
  3.4486 +	  lt_save_CFLAGS="$CFLAGS"
  3.4487 +	  LIBS="conftstm.$ac_objext"
  3.4488 +	  CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  3.4489 +	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  3.4490 +	    pipe_works=yes
  3.4491 +	  fi
  3.4492 +	  LIBS="$lt_save_LIBS"
  3.4493 +	  CFLAGS="$lt_save_CFLAGS"
  3.4494 +	else
  3.4495 +	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  3.4496 +	fi
  3.4497 +      else
  3.4498 +	echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  3.4499 +      fi
  3.4500 +    else
  3.4501 +      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  3.4502 +    fi
  3.4503 +  else
  3.4504 +    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  3.4505 +    cat conftest.$ac_ext >&5
  3.4506 +  fi
  3.4507 +  rm -f conftest* conftst*
  3.4508 +
  3.4509 +  # Do not use the global_symbol_pipe unless it works.
  3.4510 +  if test "$pipe_works" = yes; then
  3.4511 +    break
  3.4512 +  else
  3.4513 +    lt_cv_sys_global_symbol_pipe=
  3.4514 +  fi
  3.4515 +done
  3.4516 +])
  3.4517 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  3.4518 +  lt_cv_sys_global_symbol_to_cdecl=
  3.4519 +fi
  3.4520 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  3.4521 +  AC_MSG_RESULT(failed)
  3.4522 +else
  3.4523 +  AC_MSG_RESULT(ok)
  3.4524 +fi
  3.4525 +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  3.4526 +
  3.4527 +
  3.4528 +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
  3.4529 +# ---------------------------------------
  3.4530 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
  3.4531 +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
  3.4532 +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  3.4533 +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
  3.4534 +
  3.4535 +AC_MSG_CHECKING([for $compiler option to produce PIC])
  3.4536 + ifelse([$1],[CXX],[
  3.4537 +  # C++ specific cases for pic, static, wl, etc.
  3.4538 +  if test "$GXX" = yes; then
  3.4539 +    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4540 +    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3.4541 +
  3.4542 +    case $host_os in
  3.4543 +    aix*)
  3.4544 +      # All AIX code is PIC.
  3.4545 +      if test "$host_cpu" = ia64; then
  3.4546 +	# AIX 5 now supports IA64 processor
  3.4547 +	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3.4548 +      fi
  3.4549 +      ;;
  3.4550 +    amigaos*)
  3.4551 +      # FIXME: we need at least 68020 code to build shared libraries, but
  3.4552 +      # adding the `-m68020' flag to GCC prevents building anything better,
  3.4553 +      # like `-m68040'.
  3.4554 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  3.4555 +      ;;
  3.4556 +    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  3.4557 +      # PIC is the default for these OSes.
  3.4558 +      ;;
  3.4559 +    mingw* | os2* | pw32*)
  3.4560 +      # This hack is so that the source file can tell whether it is being
  3.4561 +      # built for inclusion in a dll (and should export symbols for example).
  3.4562 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
  3.4563 +      ;;
  3.4564 +    darwin* | rhapsody*)
  3.4565 +      # PIC is the default on this platform
  3.4566 +      # Common symbols not allowed in MH_DYLIB files
  3.4567 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  3.4568 +      ;;
  3.4569 +    *djgpp*)
  3.4570 +      # DJGPP does not support shared libraries at all
  3.4571 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  3.4572 +      ;;
  3.4573 +    sysv4*MP*)
  3.4574 +      if test -d /usr/nec; then
  3.4575 +	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  3.4576 +      fi
  3.4577 +      ;;
  3.4578 +    hpux*)
  3.4579 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  3.4580 +      # not for PA HP-UX.
  3.4581 +      case "$host_cpu" in
  3.4582 +      hppa*64*|ia64*)
  3.4583 +	;;
  3.4584 +      *)
  3.4585 +	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3.4586 +	;;
  3.4587 +      esac
  3.4588 +      ;;
  3.4589 +    *)
  3.4590 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3.4591 +      ;;
  3.4592 +    esac
  3.4593 +  else
  3.4594 +    case $host_os in
  3.4595 +      aix4* | aix5*)
  3.4596 +	# All AIX code is PIC.
  3.4597 +	if test "$host_cpu" = ia64; then
  3.4598 +	  # AIX 5 now supports IA64 processor
  3.4599 +	  _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3.4600 +	else
  3.4601 +	  _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  3.4602 +	fi
  3.4603 +	;;
  3.4604 +      chorus*)
  3.4605 +	case $cc_basename in
  3.4606 +	cxch68)
  3.4607 +	  # Green Hills C++ Compiler
  3.4608 +	  # _LT_AC_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"
  3.4609 +	  ;;
  3.4610 +	esac
  3.4611 +	;;
  3.4612 +      dgux*)
  3.4613 +	case $cc_basename in
  3.4614 +	  ec++)
  3.4615 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3.4616 +	    ;;
  3.4617 +	  ghcx)
  3.4618 +	    # Green Hills C++ Compiler
  3.4619 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3.4620 +	    ;;
  3.4621 +	  *)
  3.4622 +	    ;;
  3.4623 +	esac
  3.4624 +	;;
  3.4625 +      freebsd* | kfreebsd*-gnu)
  3.4626 +	# FreeBSD uses GNU C++
  3.4627 +	;;
  3.4628 +      hpux9* | hpux10* | hpux11*)
  3.4629 +	case $cc_basename in
  3.4630 +	  CC)
  3.4631 +	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4632 +	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
  3.4633 +	    if test "$host_cpu" != ia64; then
  3.4634 +	      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  3.4635 +	    fi
  3.4636 +	    ;;
  3.4637 +	  aCC)
  3.4638 +	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4639 +	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
  3.4640 +	    case "$host_cpu" in
  3.4641 +	    hppa*64*|ia64*)
  3.4642 +	      # +Z the default
  3.4643 +	      ;;
  3.4644 +	    *)
  3.4645 +	      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  3.4646 +	      ;;
  3.4647 +	    esac
  3.4648 +	    ;;
  3.4649 +	  *)
  3.4650 +	    ;;
  3.4651 +	esac
  3.4652 +	;;
  3.4653 +      irix5* | irix6* | nonstopux*)
  3.4654 +	case $cc_basename in
  3.4655 +	  CC)
  3.4656 +	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4657 +	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3.4658 +	    # CC pic flag -KPIC is the default.
  3.4659 +	    ;;
  3.4660 +	  *)
  3.4661 +	    ;;
  3.4662 +	esac
  3.4663 +	;;
  3.4664 +      linux*)
  3.4665 +	case $cc_basename in
  3.4666 +	  KCC)
  3.4667 +	    # KAI C++ Compiler
  3.4668 +	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  3.4669 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3.4670 +	    ;;
  3.4671 +	  icpc)
  3.4672 +	    # Intel C++
  3.4673 +	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4674 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3.4675 +	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3.4676 +	    ;;
  3.4677 +	  cxx)
  3.4678 +	    # Compaq C++
  3.4679 +	    # Make sure the PIC flag is empty.  It appears that all Alpha
  3.4680 +	    # Linux and Compaq Tru64 Unix objects are PIC.
  3.4681 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  3.4682 +	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3.4683 +	    ;;
  3.4684 +	  *)
  3.4685 +	    ;;
  3.4686 +	esac
  3.4687 +	;;
  3.4688 +      lynxos*)
  3.4689 +	;;
  3.4690 +      m88k*)
  3.4691 +	;;
  3.4692 +      mvs*)
  3.4693 +	case $cc_basename in
  3.4694 +	  cxx)
  3.4695 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  3.4696 +	    ;;
  3.4697 +	  *)
  3.4698 +	    ;;
  3.4699 +	esac
  3.4700 +	;;
  3.4701 +      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
  3.4702 +	;;
  3.4703 +      osf3* | osf4* | osf5*)
  3.4704 +	case $cc_basename in
  3.4705 +	  KCC)
  3.4706 +	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  3.4707 +	    ;;
  3.4708 +	  RCC)
  3.4709 +	    # Rational C++ 2.4.1
  3.4710 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3.4711 +	    ;;
  3.4712 +	  cxx)
  3.4713 +	    # Digital/Compaq C++
  3.4714 +	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4715 +	    # Make sure the PIC flag is empty.  It appears that all Alpha
  3.4716 +	    # Linux and Compaq Tru64 Unix objects are PIC.
  3.4717 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  3.4718 +	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3.4719 +	    ;;
  3.4720 +	  *)
  3.4721 +	    ;;
  3.4722 +	esac
  3.4723 +	;;
  3.4724 +      psos*)
  3.4725 +	;;
  3.4726 +      sco*)
  3.4727 +	case $cc_basename in
  3.4728 +	  CC)
  3.4729 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3.4730 +	    ;;
  3.4731 +	  *)
  3.4732 +	    ;;
  3.4733 +	esac
  3.4734 +	;;
  3.4735 +      solaris*)
  3.4736 +	case $cc_basename in
  3.4737 +	  CC)
  3.4738 +	    # Sun C++ 4.2, 5.x and Centerline C++
  3.4739 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3.4740 +	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3.4741 +	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  3.4742 +	    ;;
  3.4743 +	  gcx)
  3.4744 +	    # Green Hills C++ Compiler
  3.4745 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  3.4746 +	    ;;
  3.4747 +	  *)
  3.4748 +	    ;;
  3.4749 +	esac
  3.4750 +	;;
  3.4751 +      sunos4*)
  3.4752 +	case $cc_basename in
  3.4753 +	  CC)
  3.4754 +	    # Sun C++ 4.x
  3.4755 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3.4756 +	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3.4757 +	    ;;
  3.4758 +	  lcc)
  3.4759 +	    # Lucid
  3.4760 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3.4761 +	    ;;
  3.4762 +	  *)
  3.4763 +	    ;;
  3.4764 +	esac
  3.4765 +	;;
  3.4766 +      tandem*)
  3.4767 +	case $cc_basename in
  3.4768 +	  NCC)
  3.4769 +	    # NonStop-UX NCC 3.20
  3.4770 +	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3.4771 +	    ;;
  3.4772 +	  *)
  3.4773 +	    ;;
  3.4774 +	esac
  3.4775 +	;;
  3.4776 +      unixware*)
  3.4777 +	;;
  3.4778 +      vxworks*)
  3.4779 +	;;
  3.4780 +      *)
  3.4781 +	_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  3.4782 +	;;
  3.4783 +    esac
  3.4784 +  fi
  3.4785 +],
  3.4786 +[
  3.4787 +  if test "$GCC" = yes; then
  3.4788 +    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4789 +    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3.4790 +
  3.4791 +    case $host_os in
  3.4792 +      aix*)
  3.4793 +      # All AIX code is PIC.
  3.4794 +      if test "$host_cpu" = ia64; then
  3.4795 +	# AIX 5 now supports IA64 processor
  3.4796 +	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3.4797 +      fi
  3.4798 +      ;;
  3.4799 +
  3.4800 +    amigaos*)
  3.4801 +      # FIXME: we need at least 68020 code to build shared libraries, but
  3.4802 +      # adding the `-m68020' flag to GCC prevents building anything better,
  3.4803 +      # like `-m68040'.
  3.4804 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  3.4805 +      ;;
  3.4806 +
  3.4807 +    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  3.4808 +      # PIC is the default for these OSes.
  3.4809 +      ;;
  3.4810 +
  3.4811 +    mingw* | pw32* | os2*)
  3.4812 +      # This hack is so that the source file can tell whether it is being
  3.4813 +      # built for inclusion in a dll (and should export symbols for example).
  3.4814 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
  3.4815 +      ;;
  3.4816 +
  3.4817 +    darwin* | rhapsody*)
  3.4818 +      # PIC is the default on this platform
  3.4819 +      # Common symbols not allowed in MH_DYLIB files
  3.4820 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  3.4821 +      ;;
  3.4822 +
  3.4823 +    msdosdjgpp*)
  3.4824 +      # Just because we use GCC doesn't mean we suddenly get shared libraries
  3.4825 +      # on systems that don't support them.
  3.4826 +      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  3.4827 +      enable_shared=no
  3.4828 +      ;;
  3.4829 +
  3.4830 +    sysv4*MP*)
  3.4831 +      if test -d /usr/nec; then
  3.4832 +	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  3.4833 +      fi
  3.4834 +      ;;
  3.4835 +
  3.4836 +    hpux*)
  3.4837 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  3.4838 +      # not for PA HP-UX.
  3.4839 +      case "$host_cpu" in
  3.4840 +      hppa*64*|ia64*)
  3.4841 +	# +Z the default
  3.4842 +	;;
  3.4843 +      *)
  3.4844 +	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3.4845 +	;;
  3.4846 +      esac
  3.4847 +      ;;
  3.4848 +
  3.4849 +    *)
  3.4850 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3.4851 +      ;;
  3.4852 +    esac
  3.4853 +  else
  3.4854 +    # PORTME Check for flag to pass linker flags through the system compiler.
  3.4855 +    case $host_os in
  3.4856 +    aix*)
  3.4857 +      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4858 +      if test "$host_cpu" = ia64; then
  3.4859 +	# AIX 5 now supports IA64 processor
  3.4860 +	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3.4861 +      else
  3.4862 +	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  3.4863 +      fi
  3.4864 +      ;;
  3.4865 +
  3.4866 +    mingw* | pw32* | os2*)
  3.4867 +      # This hack is so that the source file can tell whether it is being
  3.4868 +      # built for inclusion in a dll (and should export symbols for example).
  3.4869 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
  3.4870 +      ;;
  3.4871 +
  3.4872 +    hpux9* | hpux10* | hpux11*)
  3.4873 +      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4874 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  3.4875 +      # not for PA HP-UX.
  3.4876 +      case "$host_cpu" in
  3.4877 +      hppa*64*|ia64*)
  3.4878 +	# +Z the default
  3.4879 +	;;
  3.4880 +      *)
  3.4881 +	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  3.4882 +	;;
  3.4883 +      esac
  3.4884 +      # Is there a better lt_prog_compiler_static that works with the bundled CC?
  3.4885 +      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  3.4886 +      ;;
  3.4887 +
  3.4888 +    irix5* | irix6* | nonstopux*)
  3.4889 +      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4890 +      # PIC (with -KPIC) is the default.
  3.4891 +      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3.4892 +      ;;
  3.4893 +
  3.4894 +    newsos6)
  3.4895 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3.4896 +      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3.4897 +      ;;
  3.4898 +
  3.4899 +    linux*)
  3.4900 +      case $CC in
  3.4901 +      icc* | ecc*)
  3.4902 +	_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4903 +	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3.4904 +	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3.4905 +        ;;
  3.4906 +      ccc*)
  3.4907 +        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4908 +        # All Alpha code is PIC.
  3.4909 +        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3.4910 +        ;;
  3.4911 +      esac
  3.4912 +      ;;
  3.4913 +
  3.4914 +    osf3* | osf4* | osf5*)
  3.4915 +      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4916 +      # All OSF/1 code is PIC.
  3.4917 +      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3.4918 +      ;;
  3.4919 +
  3.4920 +    sco3.2v5*)
  3.4921 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
  3.4922 +      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
  3.4923 +      ;;
  3.4924 +
  3.4925 +    solaris*)
  3.4926 +      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4927 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3.4928 +      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3.4929 +      ;;
  3.4930 +
  3.4931 +    sunos4*)
  3.4932 +      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  3.4933 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  3.4934 +      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3.4935 +      ;;
  3.4936 +
  3.4937 +    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  3.4938 +      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3.4939 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3.4940 +      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3.4941 +      ;;
  3.4942 +
  3.4943 +    sysv4*MP*)
  3.4944 +      if test -d /usr/nec ;then
  3.4945 +	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  3.4946 +	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3.4947 +      fi
  3.4948 +      ;;
  3.4949 +
  3.4950 +    uts4*)
  3.4951 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3.4952 +      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3.4953 +      ;;
  3.4954 +
  3.4955 +    *)
  3.4956 +      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  3.4957 +      ;;
  3.4958 +    esac
  3.4959 +  fi
  3.4960 +])
  3.4961 +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
  3.4962 +
  3.4963 +#
  3.4964 +# Check to make sure the PIC flag actually works.
  3.4965 +#
  3.4966 +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
  3.4967 +  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
  3.4968 +    _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
  3.4969 +    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
  3.4970 +    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
  3.4971 +     "" | " "*) ;;
  3.4972 +     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  3.4973 +     esac],
  3.4974 +    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  3.4975 +     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  3.4976 +fi
  3.4977 +case "$host_os" in
  3.4978 +  # For platforms which do not support PIC, -DPIC is meaningless:
  3.4979 +  *djgpp*)
  3.4980 +    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  3.4981 +    ;;
  3.4982 +  *)
  3.4983 +    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
  3.4984 +    ;;
  3.4985 +esac
  3.4986 +])
  3.4987 +
  3.4988 +
  3.4989 +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
  3.4990 +# ------------------------------------
  3.4991 +# See if the linker supports building shared libraries.
  3.4992 +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
  3.4993 +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  3.4994 +ifelse([$1],[CXX],[
  3.4995 +  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  3.4996 +  case $host_os in
  3.4997 +  aix4* | aix5*)
  3.4998 +    # If we're using GNU nm, then we don't want the "-C" option.
  3.4999 +    # -C means demangle to AIX nm, but means don't demangle with GNU nm
  3.5000 +    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  3.5001 +      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
  3.5002 +    else
  3.5003 +      _LT_AC_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'
  3.5004 +    fi
  3.5005 +    ;;
  3.5006 +  pw32*)
  3.5007 +    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  3.5008 +  ;;
  3.5009 +  cygwin* | mingw*)
  3.5010 +    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
  3.5011 +  ;;
  3.5012 +  linux*)
  3.5013 +    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
  3.5014 +  ;;
  3.5015 +  *)
  3.5016 +    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  3.5017 +  ;;
  3.5018 +  esac
  3.5019 +],[
  3.5020 +  runpath_var=
  3.5021 +  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
  3.5022 +  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  3.5023 +  _LT_AC_TAGVAR(archive_cmds, $1)=
  3.5024 +  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  3.5025 +  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
  3.5026 +  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  3.5027 +  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  3.5028 +  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  3.5029 +  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
  3.5030 +  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  3.5031 +  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  3.5032 +  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  3.5033 +  _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3.5034 +  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  3.5035 +  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  3.5036 +  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  3.5037 +  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
  3.5038 +  _LT_AC_TAGVAR(module_cmds, $1)=
  3.5039 +  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
  3.5040 +  _LT_AC_TAGVAR(always_export_symbols, $1)=no
  3.5041 +  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  3.5042 +  # include_expsyms should be a list of space-separated symbols to be *always*
  3.5043 +  # included in the symbol list
  3.5044 +  _LT_AC_TAGVAR(include_expsyms, $1)=
  3.5045 +  # exclude_expsyms can be an extended regexp of symbols to exclude
  3.5046 +  # it will be wrapped by ` (' and `)$', so one must not match beginning or
  3.5047 +  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  3.5048 +  # as well as any symbol that contains `d'.
  3.5049 +  _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
  3.5050 +  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  3.5051 +  # platforms (ab)use it in PIC code, but their linkers get confused if
  3.5052 +  # the symbol is explicitly referenced.  Since portable code cannot
  3.5053 +  # rely on this symbol name, it's probably fine to never include it in
  3.5054 +  # preloaded symbol tables.
  3.5055 +  extract_expsyms_cmds=
  3.5056 +
  3.5057 +  case $host_os in
  3.5058 +  cygwin* | mingw* | pw32*)
  3.5059 +    # FIXME: the MSVC++ port hasn't been tested in a loooong time
  3.5060 +    # When not using gcc, we currently assume that we are using
  3.5061 +    # Microsoft Visual C++.
  3.5062 +    if test "$GCC" != yes; then
  3.5063 +      with_gnu_ld=no
  3.5064 +    fi
  3.5065 +    ;;
  3.5066 +  openbsd*)
  3.5067 +    with_gnu_ld=no
  3.5068 +    ;;
  3.5069 +  esac
  3.5070 +
  3.5071 +  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  3.5072 +  if test "$with_gnu_ld" = yes; then
  3.5073 +    # If archive_cmds runs LD, not CC, wlarc should be empty
  3.5074 +    wlarc='${wl}'
  3.5075 +
  3.5076 +    # See if GNU ld supports shared libraries.
  3.5077 +    case $host_os in
  3.5078 +    aix3* | aix4* | aix5*)
  3.5079 +      # On AIX/PPC, the GNU linker is very broken
  3.5080 +      if test "$host_cpu" != ia64; then
  3.5081 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.5082 +	cat <<EOF 1>&2
  3.5083 +
  3.5084 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  3.5085 +*** to be unable to reliably create shared libraries on AIX.
  3.5086 +*** Therefore, libtool is disabling shared libraries support.  If you
  3.5087 +*** really care for shared libraries, you may want to modify your PATH
  3.5088 +*** so that a non-GNU linker is found, and then restart.
  3.5089 +
  3.5090 +EOF
  3.5091 +      fi
  3.5092 +      ;;
  3.5093 +
  3.5094 +    amigaos*)
  3.5095 +      _LT_AC_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)'
  3.5096 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3.5097 +      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3.5098 +
  3.5099 +      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  3.5100 +      # that the semantics of dynamic libraries on AmigaOS, at least up
  3.5101 +      # to version 4, is to share data among multiple programs linked
  3.5102 +      # with the same dynamic library.  Since this doesn't match the
  3.5103 +      # behavior of shared libraries on other platforms, we can't use
  3.5104 +      # them.
  3.5105 +      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.5106 +      ;;
  3.5107 +
  3.5108 +    beos*)
  3.5109 +      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  3.5110 +	_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  3.5111 +	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  3.5112 +	# support --undefined.  This deserves some investigation.  FIXME
  3.5113 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3.5114 +      else
  3.5115 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.5116 +      fi
  3.5117 +      ;;
  3.5118 +
  3.5119 +    cygwin* | mingw* | pw32*)
  3.5120 +      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  3.5121 +      # as there is no search path for DLLs.
  3.5122 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3.5123 +      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  3.5124 +      _LT_AC_TAGVAR(always_export_symbols, $1)=no
  3.5125 +      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  3.5126 +      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
  3.5127 +
  3.5128 +      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  3.5129 +        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
  3.5130 +	# If the export-symbols file already is a .def file (1st line
  3.5131 +	# is EXPORTS), use it as is; otherwise, prepend...
  3.5132 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  3.5133 +	  cp $export_symbols $output_objdir/$soname.def;
  3.5134 +	else
  3.5135 +	  echo EXPORTS > $output_objdir/$soname.def;
  3.5136 +	  cat $export_symbols >> $output_objdir/$soname.def;
  3.5137 +	fi~
  3.5138 +	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
  3.5139 +      else
  3.5140 +	ld_shlibs=no
  3.5141 +      fi
  3.5142 +      ;;
  3.5143 +
  3.5144 +    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
  3.5145 +      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  3.5146 +	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  3.5147 +	wlarc=
  3.5148 +      else
  3.5149 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3.5150 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  3.5151 +      fi
  3.5152 +      ;;
  3.5153 +
  3.5154 +    solaris* | sysv5*)
  3.5155 +      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  3.5156 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.5157 +	cat <<EOF 1>&2
  3.5158 +
  3.5159 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  3.5160 +*** create shared libraries on Solaris systems.  Therefore, libtool
  3.5161 +*** is disabling shared libraries support.  We urge you to upgrade GNU
  3.5162 +*** binutils to release 2.9.1 or newer.  Another option is to modify
  3.5163 +*** your PATH or compiler configuration so that the native linker is
  3.5164 +*** used, and then restart.
  3.5165 +
  3.5166 +EOF
  3.5167 +      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  3.5168 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3.5169 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  3.5170 +      else
  3.5171 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.5172 +      fi
  3.5173 +      ;;
  3.5174 +
  3.5175 +    sunos4*)
  3.5176 +      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  3.5177 +      wlarc=
  3.5178 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5179 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5180 +      ;;
  3.5181 +
  3.5182 +  linux*)
  3.5183 +    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  3.5184 +        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3.5185 +	_LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
  3.5186 +      supports_anon_versioning=no
  3.5187 +      case `$LD -v 2>/dev/null` in
  3.5188 +        *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  3.5189 +        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  3.5190 +        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  3.5191 +        *\ 2.11.*) ;; # other 2.11 versions
  3.5192 +        *) supports_anon_versioning=yes ;;
  3.5193 +      esac
  3.5194 +      if test $supports_anon_versioning = yes; then
  3.5195 +        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
  3.5196 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  3.5197 +$echo "local: *; };" >> $output_objdir/$libname.ver~
  3.5198 +        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  3.5199 +      else
  3.5200 +        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
  3.5201 +      fi
  3.5202 +      _LT_AC_TAGVAR(link_all_deplibs, $1)=no
  3.5203 +    else
  3.5204 +      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.5205 +    fi
  3.5206 +    ;;
  3.5207 +
  3.5208 +    *)
  3.5209 +      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  3.5210 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3.5211 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  3.5212 +      else
  3.5213 +	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.5214 +      fi
  3.5215 +      ;;
  3.5216 +    esac
  3.5217 +
  3.5218 +    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
  3.5219 +      runpath_var=LD_RUN_PATH
  3.5220 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  3.5221 +      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  3.5222 +      # ancient GNU ld didn't support --whole-archive et. al.
  3.5223 +      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  3.5224 + 	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  3.5225 +      else
  3.5226 +  	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  3.5227 +      fi
  3.5228 +    fi
  3.5229 +  else
  3.5230 +    # PORTME fill in a description of your system's linker (not GNU ld)
  3.5231 +    case $host_os in
  3.5232 +    aix3*)
  3.5233 +      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  3.5234 +      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  3.5235 +      _LT_AC_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'
  3.5236 +      # Note: this linker hardcodes the directories in LIBPATH if there
  3.5237 +      # are no directories specified by -L.
  3.5238 +      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3.5239 +      if test "$GCC" = yes && test -z "$link_static_flag"; then
  3.5240 +	# Neither direct hardcoding nor static linking is supported with a
  3.5241 +	# broken collect2.
  3.5242 +	_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  3.5243 +      fi
  3.5244 +      ;;
  3.5245 +
  3.5246 +    aix4* | aix5*)
  3.5247 +      if test "$host_cpu" = ia64; then
  3.5248 +	# On IA64, the linker does run time linking by default, so we don't
  3.5249 +	# have to do anything special.
  3.5250 +	aix_use_runtimelinking=no
  3.5251 +	exp_sym_flag='-Bexport'
  3.5252 +	no_entry_flag=""
  3.5253 +      else
  3.5254 +	# If we're using GNU nm, then we don't want the "-C" option.
  3.5255 +	# -C means demangle to AIX nm, but means don't demangle with GNU nm
  3.5256 +	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  3.5257 +	  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
  3.5258 +	else
  3.5259 +	  _LT_AC_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'
  3.5260 +	fi
  3.5261 +	aix_use_runtimelinking=no
  3.5262 +
  3.5263 +	# Test if we are trying to use run time linking or normal
  3.5264 +	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  3.5265 +	# need to do runtime linking.
  3.5266 +	case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
  3.5267 +	  for ld_flag in $LDFLAGS; do
  3.5268 +  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  3.5269 +  	    aix_use_runtimelinking=yes
  3.5270 +  	    break
  3.5271 +  	  fi
  3.5272 +	  done
  3.5273 +	esac
  3.5274 +
  3.5275 +	exp_sym_flag='-bexport'
  3.5276 +	no_entry_flag='-bnoentry'
  3.5277 +      fi
  3.5278 +
  3.5279 +      # When large executables or shared objects are built, AIX ld can
  3.5280 +      # have problems creating the table of contents.  If linking a library
  3.5281 +      # or program results in "error TOC overflow" add -mminimal-toc to
  3.5282 +      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  3.5283 +      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  3.5284 +
  3.5285 +      _LT_AC_TAGVAR(archive_cmds, $1)=''
  3.5286 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5287 +      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  3.5288 +      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3.5289 +
  3.5290 +      if test "$GCC" = yes; then
  3.5291 +	case $host_os in aix4.[012]|aix4.[012].*)
  3.5292 +	# We only want to do this on AIX 4.2 and lower, the check
  3.5293 +	# below for broken collect2 doesn't work under 4.3+
  3.5294 +	  collect2name=`${CC} -print-prog-name=collect2`
  3.5295 +	  if test -f "$collect2name" && \
  3.5296 +  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  3.5297 +	  then
  3.5298 +  	  # We have reworked collect2
  3.5299 +  	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5300 +	  else
  3.5301 +  	  # We have old collect2
  3.5302 +  	  _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  3.5303 +  	  # It fails to find uninstalled libraries when the uninstalled
  3.5304 +  	  # path is not listed in the libpath.  Setting hardcode_minus_L
  3.5305 +  	  # to unsupported forces relinking
  3.5306 +  	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3.5307 +  	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3.5308 +  	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  3.5309 +	  fi
  3.5310 +	esac
  3.5311 +	shared_flag='-shared'
  3.5312 +      else
  3.5313 +	# not using gcc
  3.5314 +	if test "$host_cpu" = ia64; then
  3.5315 +  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  3.5316 +  	# chokes on -Wl,-G. The following line is correct:
  3.5317 +	  shared_flag='-G'
  3.5318 +	else
  3.5319 +  	if test "$aix_use_runtimelinking" = yes; then
  3.5320 +	    shared_flag='${wl}-G'
  3.5321 +	  else
  3.5322 +	    shared_flag='${wl}-bM:SRE'
  3.5323 +  	fi
  3.5324 +	fi
  3.5325 +      fi
  3.5326 +
  3.5327 +      # It seems that -bexpall does not export symbols beginning with
  3.5328 +      # underscore (_), so it is better to generate a list of symbols to export.
  3.5329 +      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  3.5330 +      if test "$aix_use_runtimelinking" = yes; then
  3.5331 +	# Warning - without using the other runtime loading flags (-brtl),
  3.5332 +	# -berok will link without error, but may produce a broken library.
  3.5333 +	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
  3.5334 +       # Determine the default libpath from the value encoded in an empty executable.
  3.5335 +       _LT_AC_SYS_LIBPATH_AIX
  3.5336 +       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  3.5337 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  3.5338 +       else
  3.5339 +	if test "$host_cpu" = ia64; then
  3.5340 +	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  3.5341 +	  _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  3.5342 +	  _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
  3.5343 +	else
  3.5344 +	 # Determine the default libpath from the value encoded in an empty executable.
  3.5345 +	 _LT_AC_SYS_LIBPATH_AIX
  3.5346 +	 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  3.5347 +	  # Warning - without using the other run time loading flags,
  3.5348 +	  # -berok will link without error, but may produce a broken library.
  3.5349 +	  _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  3.5350 +	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  3.5351 +	  # -bexpall does not export symbols beginning with underscore (_)
  3.5352 +	  _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  3.5353 +	  # Exported symbols can be pulled into shared objects from archives
  3.5354 +	  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
  3.5355 +	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  3.5356 +	  # This is similar to how AIX traditionally builds it's shared libraries.
  3.5357 +	  _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  3.5358 +	fi
  3.5359 +      fi
  3.5360 +      ;;
  3.5361 +
  3.5362 +    amigaos*)
  3.5363 +      _LT_AC_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)'
  3.5364 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3.5365 +      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3.5366 +      # see comment about different semantics on the GNU ld section
  3.5367 +      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.5368 +      ;;
  3.5369 +
  3.5370 +    bsdi4*)
  3.5371 +      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  3.5372 +      ;;
  3.5373 +
  3.5374 +    cygwin* | mingw* | pw32*)
  3.5375 +      # When not using gcc, we currently assume that we are using
  3.5376 +      # Microsoft Visual C++.
  3.5377 +      # hardcode_libdir_flag_spec is actually meaningless, as there is
  3.5378 +      # no search path for DLLs.
  3.5379 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  3.5380 +      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  3.5381 +      # Tell ltmain to make .lib files, not .a files.
  3.5382 +      libext=lib
  3.5383 +      # Tell ltmain to make .dll files, not .so files.
  3.5384 +      shrext_cmds=".dll"
  3.5385 +      # FIXME: Setting linknames here is a bad hack.
  3.5386 +      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  3.5387 +      # The linker will automatically build a .lib file if we build a DLL.
  3.5388 +      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
  3.5389 +      # FIXME: Should let the user specify the lib program.
  3.5390 +      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
  3.5391 +      fix_srcfile_path='`cygpath -w "$srcfile"`'
  3.5392 +      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  3.5393 +      ;;
  3.5394 +
  3.5395 +    darwin* | rhapsody*)
  3.5396 +    if test "$GXX" = yes ; then
  3.5397 +      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3.5398 +      case "$host_os" in
  3.5399 +      rhapsody* | darwin1.[[012]])
  3.5400 +	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
  3.5401 +	;;
  3.5402 +      *) # Darwin 1.3 on
  3.5403 +      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  3.5404 +      	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
  3.5405 +      else
  3.5406 +        case ${MACOSX_DEPLOYMENT_TARGET} in
  3.5407 +          10.[[012]])
  3.5408 +            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
  3.5409 +            ;;
  3.5410 +          10.*)
  3.5411 +            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
  3.5412 +            ;;
  3.5413 +        esac
  3.5414 +      fi
  3.5415 +	;;
  3.5416 +      esac
  3.5417 +    	lt_int_apple_cc_single_mod=no
  3.5418 +    	output_verbose_link_cmd='echo'
  3.5419 +    	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
  3.5420 +    	  lt_int_apple_cc_single_mod=yes
  3.5421 +    	fi
  3.5422 +    	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
  3.5423 +    	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  3.5424 +    	else
  3.5425 +        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
  3.5426 +      fi
  3.5427 +      _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  3.5428 +      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
  3.5429 +        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
  3.5430 +          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3.5431 +        else
  3.5432 +          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3.5433 +        fi
  3.5434 +          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3.5435 +      _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3.5436 +      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
  3.5437 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  3.5438 +      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
  3.5439 +      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3.5440 +    else
  3.5441 +      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.5442 +    fi
  3.5443 +      ;;
  3.5444 +
  3.5445 +    dgux*)
  3.5446 +      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3.5447 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3.5448 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5449 +      ;;
  3.5450 +
  3.5451 +    freebsd1*)
  3.5452 +      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.5453 +      ;;
  3.5454 +
  3.5455 +    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  3.5456 +    # support.  Future versions do this automatically, but an explicit c++rt0.o
  3.5457 +    # does not break anything, and helps significantly (at the cost of a little
  3.5458 +    # extra space).
  3.5459 +    freebsd2.2*)
  3.5460 +      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  3.5461 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  3.5462 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5463 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5464 +      ;;
  3.5465 +
  3.5466 +    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  3.5467 +    freebsd2*)
  3.5468 +      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  3.5469 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5470 +      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3.5471 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5472 +      ;;
  3.5473 +
  3.5474 +    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  3.5475 +    freebsd* | kfreebsd*-gnu)
  3.5476 +      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  3.5477 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  3.5478 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5479 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5480 +      ;;
  3.5481 +
  3.5482 +    hpux9*)
  3.5483 +      if test "$GCC" = yes; then
  3.5484 +	_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  3.5485 +      else
  3.5486 +	_LT_AC_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'
  3.5487 +      fi
  3.5488 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  3.5489 +      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.5490 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5491 +
  3.5492 +      # hardcode_minus_L: Not really in the search PATH,
  3.5493 +      # but as the default location of the library.
  3.5494 +      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3.5495 +      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  3.5496 +      ;;
  3.5497 +
  3.5498 +    hpux10* | hpux11*)
  3.5499 +      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  3.5500 +	case "$host_cpu" in
  3.5501 +	hppa*64*|ia64*)
  3.5502 +	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  3.5503 +	  ;;
  3.5504 +	*)
  3.5505 +	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  3.5506 +	  ;;
  3.5507 +	esac
  3.5508 +      else
  3.5509 +	case "$host_cpu" in
  3.5510 +	hppa*64*|ia64*)
  3.5511 +	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
  3.5512 +	  ;;
  3.5513 +	*)
  3.5514 +	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  3.5515 +	  ;;
  3.5516 +	esac
  3.5517 +      fi
  3.5518 +      if test "$with_gnu_ld" = no; then
  3.5519 +	case "$host_cpu" in
  3.5520 +	hppa*64*)
  3.5521 +	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  3.5522 +	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  3.5523 +	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.5524 +	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3.5525 +	  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5526 +	  ;;
  3.5527 +	ia64*)
  3.5528 +	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3.5529 +	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3.5530 +	  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5531 +
  3.5532 +	  # hardcode_minus_L: Not really in the search PATH,
  3.5533 +	  # but as the default location of the library.
  3.5534 +	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3.5535 +	  ;;
  3.5536 +	*)
  3.5537 +	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  3.5538 +	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.5539 +	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5540 +	  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  3.5541 +
  3.5542 +	  # hardcode_minus_L: Not really in the search PATH,
  3.5543 +	  # but as the default location of the library.
  3.5544 +	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3.5545 +	  ;;
  3.5546 +	esac
  3.5547 +      fi
  3.5548 +      ;;
  3.5549 +
  3.5550 +    irix5* | irix6* | nonstopux*)
  3.5551 +      if test "$GCC" = yes; then
  3.5552 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  3.5553 +      else
  3.5554 +	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  3.5555 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  3.5556 +      fi
  3.5557 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  3.5558 +      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.5559 +      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3.5560 +      ;;
  3.5561 +
  3.5562 +    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
  3.5563 +      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  3.5564 +	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  3.5565 +      else
  3.5566 +	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  3.5567 +      fi
  3.5568 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  3.5569 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5570 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5571 +      ;;
  3.5572 +
  3.5573 +    newsos6)
  3.5574 +      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3.5575 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5576 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  3.5577 +      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.5578 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5579 +      ;;
  3.5580 +
  3.5581 +    openbsd*)
  3.5582 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5583 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5584 +      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3.5585 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  3.5586 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  3.5587 +	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  3.5588 +      else
  3.5589 +       case $host_os in
  3.5590 +	 openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  3.5591 +	   _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  3.5592 +	   _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  3.5593 +	   ;;
  3.5594 +	 *)
  3.5595 +	   _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  3.5596 +	   _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  3.5597 +	   ;;
  3.5598 +       esac
  3.5599 +      fi
  3.5600 +      ;;
  3.5601 +
  3.5602 +    os2*)
  3.5603 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3.5604 +      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3.5605 +      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  3.5606 +      _LT_AC_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'
  3.5607 +      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  3.5608 +      ;;
  3.5609 +
  3.5610 +    osf3*)
  3.5611 +      if test "$GCC" = yes; then
  3.5612 +	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  3.5613 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  3.5614 +      else
  3.5615 +	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  3.5616 +	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  3.5617 +      fi
  3.5618 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  3.5619 +      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.5620 +      ;;
  3.5621 +
  3.5622 +    osf4* | osf5*)	# as osf3* with the addition of -msym flag
  3.5623 +      if test "$GCC" = yes; then
  3.5624 +	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  3.5625 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  3.5626 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  3.5627 +      else
  3.5628 +	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  3.5629 +	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  3.5630 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  3.5631 +	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
  3.5632 +
  3.5633 +	# Both c and cxx compiler support -rpath directly
  3.5634 +	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  3.5635 +      fi
  3.5636 +      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3.5637 +      ;;
  3.5638 +
  3.5639 +    sco3.2v5*)
  3.5640 +      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3.5641 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5642 +      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  3.5643 +      runpath_var=LD_RUN_PATH
  3.5644 +      hardcode_runpath_var=yes
  3.5645 +      ;;
  3.5646 +
  3.5647 +    solaris*)
  3.5648 +      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
  3.5649 +      if test "$GCC" = yes; then
  3.5650 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  3.5651 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  3.5652 +	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  3.5653 +      else
  3.5654 +	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3.5655 +	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  3.5656 +  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  3.5657 +      fi
  3.5658 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  3.5659 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5660 +      case $host_os in
  3.5661 +      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  3.5662 +      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
  3.5663 +	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
  3.5664 +      esac
  3.5665 +      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3.5666 +      ;;
  3.5667 +
  3.5668 +    sunos4*)
  3.5669 +      if test "x$host_vendor" = xsequent; then
  3.5670 +	# Use $CC to link under sequent, because it throws in some extra .o
  3.5671 +	# files that make .init and .fini sections work.
  3.5672 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  3.5673 +      else
  3.5674 +	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  3.5675 +      fi
  3.5676 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3.5677 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5678 +      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3.5679 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5680 +      ;;
  3.5681 +
  3.5682 +    sysv4)
  3.5683 +      case $host_vendor in
  3.5684 +	sni)
  3.5685 +	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3.5686 +	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  3.5687 +	;;
  3.5688 +	siemens)
  3.5689 +	  ## LD is ld it makes a PLAMLIB
  3.5690 +	  ## CC just makes a GrossModule.
  3.5691 +	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  3.5692 +	  _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  3.5693 +	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3.5694 +        ;;
  3.5695 +	motorola)
  3.5696 +	  _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3.5697 +	  _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  3.5698 +	;;
  3.5699 +      esac
  3.5700 +      runpath_var='LD_RUN_PATH'
  3.5701 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5702 +      ;;
  3.5703 +
  3.5704 +    sysv4.3*)
  3.5705 +      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3.5706 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5707 +      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  3.5708 +      ;;
  3.5709 +
  3.5710 +    sysv4*MP*)
  3.5711 +      if test -d /usr/nec; then
  3.5712 +	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3.5713 +	_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5714 +	runpath_var=LD_RUN_PATH
  3.5715 +	hardcode_runpath_var=yes
  3.5716 +	_LT_AC_TAGVAR(ld_shlibs, $1)=yes
  3.5717 +      fi
  3.5718 +      ;;
  3.5719 +
  3.5720 +    sysv4.2uw2*)
  3.5721 +      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  3.5722 +      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3.5723 +      _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  3.5724 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5725 +      hardcode_runpath_var=yes
  3.5726 +      runpath_var=LD_RUN_PATH
  3.5727 +      ;;
  3.5728 +
  3.5729 +   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[[78]]* | unixware7*)
  3.5730 +      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
  3.5731 +      if test "$GCC" = yes; then
  3.5732 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  3.5733 +      else
  3.5734 +	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  3.5735 +      fi
  3.5736 +      runpath_var='LD_RUN_PATH'
  3.5737 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5738 +      ;;
  3.5739 +
  3.5740 +    sysv5*)
  3.5741 +      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
  3.5742 +      # $CC -shared without GNU ld will not create a library from C++
  3.5743 +      # object files and a static libstdc++, better avoid it by now
  3.5744 +      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3.5745 +      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  3.5746 +  		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  3.5747 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  3.5748 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5749 +      runpath_var='LD_RUN_PATH'
  3.5750 +      ;;
  3.5751 +
  3.5752 +    uts4*)
  3.5753 +      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3.5754 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3.5755 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3.5756 +      ;;
  3.5757 +
  3.5758 +    *)
  3.5759 +      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3.5760 +      ;;
  3.5761 +    esac
  3.5762 +  fi
  3.5763 +])
  3.5764 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
  3.5765 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  3.5766 +
  3.5767 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  3.5768 +if test "$GCC" = yes; then
  3.5769 +  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  3.5770 +fi
  3.5771 +
  3.5772 +#
  3.5773 +# Do we need to explicitly link libc?
  3.5774 +#
  3.5775 +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
  3.5776 +x|xyes)
  3.5777 +  # Assume -lc should be added
  3.5778 +  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  3.5779 +
  3.5780 +  if test "$enable_shared" = yes && test "$GCC" = yes; then
  3.5781 +    case $_LT_AC_TAGVAR(archive_cmds, $1) in
  3.5782 +    *'~'*)
  3.5783 +      # FIXME: we may have to deal with multi-command sequences.
  3.5784 +      ;;
  3.5785 +    '$CC '*)
  3.5786 +      # Test whether the compiler implicitly links with -lc since on some
  3.5787 +      # systems, -lgcc has to come before -lc. If gcc already passes -lc
  3.5788 +      # to ld, don't add -lc before -lgcc.
  3.5789 +      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  3.5790 +      $rm conftest*
  3.5791 +      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  3.5792 +
  3.5793 +      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  3.5794 +        soname=conftest
  3.5795 +        lib=conftest
  3.5796 +        libobjs=conftest.$ac_objext
  3.5797 +        deplibs=
  3.5798 +        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
  3.5799 +        compiler_flags=-v
  3.5800 +        linker_flags=-v
  3.5801 +        verstring=
  3.5802 +        output_objdir=.
  3.5803 +        libname=conftest
  3.5804 +        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
  3.5805 +        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
  3.5806 +        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
  3.5807 +        then
  3.5808 +	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3.5809 +        else
  3.5810 +	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  3.5811 +        fi
  3.5812 +        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  3.5813 +      else
  3.5814 +        cat conftest.err 1>&5
  3.5815 +      fi
  3.5816 +      $rm conftest*
  3.5817 +      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
  3.5818 +      ;;
  3.5819 +    esac
  3.5820 +  fi
  3.5821 +  ;;
  3.5822 +esac
  3.5823 +])# AC_LIBTOOL_PROG_LD_SHLIBS
  3.5824 +
  3.5825 +
  3.5826 +# _LT_AC_FILE_LTDLL_C
  3.5827 +# -------------------
  3.5828 +# Be careful that the start marker always follows a newline.
  3.5829 +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
  3.5830 +# /* ltdll.c starts here */
  3.5831 +# #define WIN32_LEAN_AND_MEAN
  3.5832 +# #include <windows.h>
  3.5833 +# #undef WIN32_LEAN_AND_MEAN
  3.5834 +# #include <stdio.h>
  3.5835 +#
  3.5836 +# #ifndef __CYGWIN__
  3.5837 +# #  ifdef __CYGWIN32__
  3.5838 +# #    define __CYGWIN__ __CYGWIN32__
  3.5839 +# #  endif
  3.5840 +# #endif
  3.5841 +#
  3.5842 +# #ifdef __cplusplus
  3.5843 +# extern "C" {
  3.5844 +# #endif
  3.5845 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
  3.5846 +# #ifdef __cplusplus
  3.5847 +# }
  3.5848 +# #endif
  3.5849 +#
  3.5850 +# #ifdef __CYGWIN__
  3.5851 +# #include <cygwin/cygwin_dll.h>
  3.5852 +# DECLARE_CYGWIN_DLL( DllMain );
  3.5853 +# #endif
  3.5854 +# HINSTANCE __hDllInstance_base;
  3.5855 +#
  3.5856 +# BOOL APIENTRY
  3.5857 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
  3.5858 +# {
  3.5859 +#   __hDllInstance_base = hInst;
  3.5860 +#   return TRUE;
  3.5861 +# }
  3.5862 +# /* ltdll.c ends here */
  3.5863 +])# _LT_AC_FILE_LTDLL_C
  3.5864 +
  3.5865 +
  3.5866 +# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
  3.5867 +# ---------------------------------
  3.5868 +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
  3.5869 +
  3.5870 +
  3.5871 +# old names
  3.5872 +AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
  3.5873 +AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
  3.5874 +AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
  3.5875 +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  3.5876 +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  3.5877 +AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
  3.5878 +AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
  3.5879 +
  3.5880 +# This is just to silence aclocal about the macro not being used
  3.5881 +ifelse([AC_DISABLE_FAST_INSTALL])
  3.5882 +
  3.5883 +AC_DEFUN([LT_AC_PROG_GCJ],
  3.5884 +[AC_CHECK_TOOL(GCJ, gcj, no)
  3.5885 +  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  3.5886 +  AC_SUBST(GCJFLAGS)
  3.5887 +])
  3.5888 +
  3.5889 +AC_DEFUN([LT_AC_PROG_RC],
  3.5890 +[AC_CHECK_TOOL(RC, windres, no)
  3.5891 +])
  3.5892 +
  3.5893 +############################################################
  3.5894 +# NOTE: This macro has been submitted for inclusion into   #
  3.5895 +#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
  3.5896 +#  a released version of Autoconf we should remove this    #
  3.5897 +#  macro and use it instead.                               #
  3.5898 +############################################################
  3.5899 +# LT_AC_PROG_SED
  3.5900 +# --------------
  3.5901 +# Check for a fully-functional sed program, that truncates
  3.5902 +# as few characters as possible.  Prefer GNU sed if found.
  3.5903 +AC_DEFUN([LT_AC_PROG_SED],
  3.5904 +[AC_MSG_CHECKING([for a sed that does not truncate output])
  3.5905 +AC_CACHE_VAL(lt_cv_path_SED,
  3.5906 +[# Loop through the user's path and test for sed and gsed.
  3.5907 +# Then use that list of sed's as ones to test for truncation.
  3.5908 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3.5909 +for as_dir in $PATH
  3.5910 +do
  3.5911 +  IFS=$as_save_IFS
  3.5912 +  test -z "$as_dir" && as_dir=.
  3.5913 +  for lt_ac_prog in sed gsed; do
  3.5914 +    for ac_exec_ext in '' $ac_executable_extensions; do
  3.5915 +      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  3.5916 +        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  3.5917 +      fi
  3.5918 +    done
  3.5919 +  done
  3.5920 +done
  3.5921 +lt_ac_max=0
  3.5922 +lt_ac_count=0
  3.5923 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  3.5924 +# along with /bin/sed that truncates output.
  3.5925 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  3.5926 +  test ! -f $lt_ac_sed && break
  3.5927 +  cat /dev/null > conftest.in
  3.5928 +  lt_ac_count=0
  3.5929 +  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  3.5930 +  # Check for GNU sed and select it if it is found.
  3.5931 +  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  3.5932 +    lt_cv_path_SED=$lt_ac_sed
  3.5933 +    break
  3.5934 +  fi
  3.5935 +  while true; do
  3.5936 +    cat conftest.in conftest.in >conftest.tmp
  3.5937 +    mv conftest.tmp conftest.in
  3.5938 +    cp conftest.in conftest.nl
  3.5939 +    echo >>conftest.nl
  3.5940 +    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  3.5941 +    cmp -s conftest.out conftest.nl || break
  3.5942 +    # 10000 chars as input seems more than enough
  3.5943 +    test $lt_ac_count -gt 10 && break
  3.5944 +    lt_ac_count=`expr $lt_ac_count + 1`
  3.5945 +    if test $lt_ac_count -gt $lt_ac_max; then
  3.5946 +      lt_ac_max=$lt_ac_count
  3.5947 +      lt_cv_path_SED=$lt_ac_sed
  3.5948 +    fi
  3.5949 +  done
  3.5950 +done
  3.5951 +SED=$lt_cv_path_SED
  3.5952 +])
  3.5953 +AC_MSG_RESULT([$SED])
  3.5954 +])
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/gst-gmyth/m4/pkg.m4	Thu May 24 21:39:38 2007 +0100
     4.3 @@ -0,0 +1,114 @@
     4.4 +# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
     4.5 +# 
     4.6 +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
     4.7 +#
     4.8 +# This program is free software; you can redistribute it and/or modify
     4.9 +# it under the terms of the GNU General Public License as published by
    4.10 +# the Free Software Foundation; either version 2 of the License, or
    4.11 +# (at your option) any later version.
    4.12 +#
    4.13 +# This program is distributed in the hope that it will be useful, but
    4.14 +# WITHOUT ANY WARRANTY; without even the implied warranty of
    4.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    4.16 +# General Public License for more details.
    4.17 +#
    4.18 +# You should have received a copy of the GNU General Public License
    4.19 +# along with this program; if not, write to the Free Software
    4.20 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    4.21 +#
    4.22 +# As a special exception to the GNU General Public License, if you
    4.23 +# distribute this file as part of a program that contains a
    4.24 +# configuration script generated by Autoconf, you may include it under
    4.25 +# the same distribution terms that you use for the rest of that program.
    4.26 +
    4.27 +# PKG_PROG_PKG_CONFIG([MIN-VERSION])
    4.28 +# ----------------------------------
    4.29 +AC_DEFUN([PKG_PROG_PKG_CONFIG],
    4.30 +[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
    4.31 +m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
    4.32 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
    4.33 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
    4.34 +	AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
    4.35 +fi
    4.36 +if test -n "$PKG_CONFIG"; then
    4.37 +	_pkg_min_version=m4_ifval([$1], [$1], [0.9.0])
    4.38 +	AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
    4.39 +	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
    4.40 +		AC_MSG_RESULT([yes])
    4.41 +	else
    4.42 +		AC_MSG_RESULT([no])
    4.43 +		PKG_CONFIG=""
    4.44 +	fi
    4.45 +		
    4.46 +fi[]dnl
    4.47 +])# PKG_PROG_PKG_CONFIG
    4.48 +
    4.49 +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
    4.50 +# ---------------------------------------------
    4.51 +m4_define([_PKG_CONFIG],
    4.52 +[if test "x$ac_cv_env_[]$1[]_set" = "xset"; then
    4.53 +	pkg_cv_[]$1=$ac_cv_env_[]$1[]_value
    4.54 +elif test -n "$PKG_CONFIG"; then
    4.55 +	if AC_RUN_LOG([$PKG_CONFIG --exists "$3" >/dev/null 2>&1]); then
    4.56 +		pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
    4.57 +	else
    4.58 +		pkg_failed=yes
    4.59 +	fi
    4.60 +else
    4.61 +	pkg_failed=untried
    4.62 +fi[]dnl
    4.63 +])# _PKG_CONFIG
    4.64 +
    4.65 +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
    4.66 +# [ACTION-IF-NOT-FOUND])
    4.67 +#
    4.68 +#
    4.69 +# Note that if there is a possibility the first call to
    4.70 +# PKG_CHECK_MODULES might not happen, you should be sure to include an
    4.71 +# explicit call to PKG_PROG_PKG_CONFIG in your configure.in
    4.72 +#
    4.73 +#
    4.74 +# --------------------------------------------------------------
    4.75 +AC_DEFUN([PKG_CHECK_MODULES],
    4.76 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
    4.77 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
    4.78 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
    4.79 +
    4.80 +pkg_failed=no
    4.81 +AC_CACHE_CHECK([for $1][_CFLAGS], [pkg_cv_][$1][_CFLAGS],
    4.82 +	[_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])])
    4.83 +AC_CACHE_CHECK([for $1][_LIBS], [pkg_cv_][$1][_LIBS],
    4.84 +	[_PKG_CONFIG([$1][_LIBS], [libs], [$2])])
    4.85 +
    4.86 +if test $pkg_failed = yes; then
    4.87 +	$1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
    4.88 +	# Put the nasty error message in config.log where it belongs
    4.89 +	echo "$$1[]_PKG_ERRORS" 1>&AS_MESSAGE_LOG_FD
    4.90 +
    4.91 +	ifelse([$4], , [AC_MSG_ERROR(dnl
    4.92 +[Package requirements ($2) were not met.
    4.93 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
    4.94 +installed software in a non-standard prefix.
    4.95 +
    4.96 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
    4.97 +to avoid the need to call pkg-config.  See the pkg-config man page for
    4.98 +more details.])],
    4.99 +		[$4])
   4.100 +elif test $pkg_failed = untried; then
   4.101 +	ifelse([$4], , [AC_MSG_FAILURE(dnl
   4.102 +[The pkg-config script could not be found or is too old.  Make sure it
   4.103 +is in your PATH or set the PKG_CONFIG environment variable to the full
   4.104 +path to pkg-config.
   4.105 +
   4.106 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
   4.107 +to avoid the need to call pkg-config.  See the pkg-config man page for
   4.108 +more details.
   4.109 +
   4.110 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
   4.111 +		[$4])
   4.112 +else
   4.113 +	$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
   4.114 +	$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
   4.115 +	ifelse([$3], , :, [$3])
   4.116 +fi[]dnl
   4.117 +])# PKG_CHECK_MODULES