Updated libtool from version 1.5.22 to 2.2.6a, so it works on current QNX
authorSam Lantinga <slouken@libsdl.org>
Wed, 04 Mar 2009 08:57:30 +0000
changeset 30854800979de337
parent 3084 fb256fee28d8
child 3086 0102ed19c21a
Updated libtool from version 1.5.22 to 2.2.6a, so it works on current QNX
Makefile.in
acinclude.m4
build-scripts/ltmain.sh
configure.in
     1.1 --- a/Makefile.in	Tue Mar 03 09:48:00 2009 +0000
     1.2 +++ b/Makefile.in	Wed Mar 04 08:57:30 2009 +0000
     1.3 @@ -139,7 +139,7 @@
     1.4  distclean: clean
     1.5  	rm -f Makefile include/SDL_config.h sdl-config
     1.6  	rm -f SDL.qpg
     1.7 -	rm -f config.status config.cache config.log libtool $(depend)
     1.8 +	rm -f config.status config.cache config.log $(LIBTOOL) $(depend)
     1.9  	rm -rf $(srcdir)/autom4te*
    1.10  	find $(srcdir) \( \
    1.11  	    -name '*~' -o \
     2.1 --- a/acinclude.m4	Tue Mar 03 09:48:00 2009 +0000
     2.2 +++ b/acinclude.m4	Wed Mar 04 08:57:30 2009 +0000
     2.3 @@ -329,111 +329,189 @@
     2.4  ])
     2.5  
     2.6  ##############################################################################
     2.7 -# Based on libtool-1.5.22
     2.8 +# Based on libtool-2.2.6a
     2.9  # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
    2.10 -## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
    2.11 -## Free Software Foundation, Inc.
    2.12 -## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
    2.13 -##
    2.14 -## This file is free software; the Free Software Foundation gives
    2.15 -## unlimited permission to copy and/or distribute it, with or without
    2.16 -## modifications, as long as this notice is preserved.
    2.17 -
    2.18 -# serial 48 AC_PROG_LIBTOOL
    2.19 -
    2.20 -
    2.21 -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
    2.22 -# -----------------------------------------------------------
    2.23 -# If this macro is not defined by Autoconf, define it here.
    2.24 -m4_ifdef([AC_PROVIDE_IFELSE],
    2.25 -         [],
    2.26 -         [m4_define([AC_PROVIDE_IFELSE],
    2.27 -	         [m4_ifdef([AC_PROVIDE_$1],
    2.28 -		           [$2], [$3])])])
    2.29 -
    2.30 -
    2.31 -# AC_PROG_LIBTOOL
    2.32 -# ---------------
    2.33 -AC_DEFUN([AC_PROG_LIBTOOL],
    2.34 -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
    2.35 -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
    2.36 -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
    2.37 -  AC_PROVIDE_IFELSE([AC_PROG_CXX],
    2.38 -    [AC_LIBTOOL_CXX],
    2.39 -    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
    2.40 -  ])])
    2.41 -dnl And a similar setup for Fortran 77 support
    2.42 -  AC_PROVIDE_IFELSE([AC_PROG_F77],
    2.43 -    [AC_LIBTOOL_F77],
    2.44 -    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
    2.45 -])])
    2.46 -
    2.47 -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
    2.48 -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
    2.49 -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
    2.50 -  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
    2.51 -    [AC_LIBTOOL_GCJ],
    2.52 -    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
    2.53 -      [AC_LIBTOOL_GCJ],
    2.54 -      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
    2.55 -	[AC_LIBTOOL_GCJ],
    2.56 -      [ifdef([AC_PROG_GCJ],
    2.57 -	     [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
    2.58 -       ifdef([A][M_PROG_GCJ],
    2.59 -	     [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
    2.60 -       ifdef([LT_AC_PROG_GCJ],
    2.61 -	     [define([LT_AC_PROG_GCJ],
    2.62 -		defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
    2.63 -])])# AC_PROG_LIBTOOL
    2.64 -
    2.65 -
    2.66 -# _AC_PROG_LIBTOOL
    2.67 -# ----------------
    2.68 -AC_DEFUN([_AC_PROG_LIBTOOL],
    2.69 -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
    2.70 -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
    2.71 -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
    2.72 -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
    2.73 +#
    2.74 +#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    2.75 +#                 2006, 2007, 2008 Free Software Foundation, Inc.
    2.76 +#   Written by Gordon Matzigkeit, 1996
    2.77 +#
    2.78 +# This file is free software; the Free Software Foundation gives
    2.79 +# unlimited permission to copy and/or distribute it, with or without
    2.80 +# modifications, as long as this notice is preserved.
    2.81 +
    2.82 +m4_define([_LT_COPYING], [dnl
    2.83 +#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    2.84 +#                 2006, 2007, 2008 Free Software Foundation, Inc.
    2.85 +#   Written by Gordon Matzigkeit, 1996
    2.86 +#
    2.87 +#   This file is part of GNU Libtool.
    2.88 +#
    2.89 +# GNU Libtool is free software; you can redistribute it and/or
    2.90 +# modify it under the terms of the GNU General Public License as
    2.91 +# published by the Free Software Foundation; either version 2 of
    2.92 +# the License, or (at your option) any later version.
    2.93 +#
    2.94 +# As a special exception to the GNU General Public License,
    2.95 +# if you distribute this file as part of a program or library that
    2.96 +# is built using GNU Libtool, you may include this file under the
    2.97 +# same distribution terms that you use for the rest of that program.
    2.98 +#
    2.99 +# GNU Libtool is distributed in the hope that it will be useful,
   2.100 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   2.101 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   2.102 +# GNU General Public License for more details.
   2.103 +#
   2.104 +# You should have received a copy of the GNU General Public License
   2.105 +# along with GNU Libtool; see the file COPYING.  If not, a copy
   2.106 +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   2.107 +# obtained by writing to the Free Software Foundation, Inc.,
   2.108 +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   2.109 +])
   2.110 +
   2.111 +# serial 56 LT_INIT
   2.112 +
   2.113 +
   2.114 +# LT_PREREQ(VERSION)
   2.115 +# ------------------
   2.116 +# Complain and exit if this libtool version is less that VERSION.
   2.117 +m4_defun([LT_PREREQ],
   2.118 +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
   2.119 +       [m4_default([$3],
   2.120 +		   [m4_fatal([Libtool version $1 or higher is required],
   2.121 +		             63)])],
   2.122 +       [$2])])
   2.123 +
   2.124 +
   2.125 +# _LT_CHECK_BUILDDIR
   2.126 +# ------------------
   2.127 +# Complain if the absolute build directory name contains unusual characters
   2.128 +m4_defun([_LT_CHECK_BUILDDIR],
   2.129 +[case `pwd` in
   2.130 +  *\ * | *\	*)
   2.131 +    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
   2.132 +esac
   2.133 +])
   2.134 +
   2.135 +
   2.136 +# LT_INIT([OPTIONS])
   2.137 +# ------------------
   2.138 +AC_DEFUN([LT_INIT],
   2.139 +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
   2.140 +AC_BEFORE([$0], [LT_LANG])dnl
   2.141 +AC_BEFORE([$0], [LT_OUTPUT])dnl
   2.142 +AC_BEFORE([$0], [LTDL_INIT])dnl
   2.143 +m4_require([_LT_CHECK_BUILDDIR])dnl
   2.144 +
   2.145 +dnl Autoconf doesn't catch unexpanded LT_ macros by default:
   2.146 +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
   2.147 +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
   2.148 +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
   2.149 +dnl unless we require an AC_DEFUNed macro:
   2.150 +AC_REQUIRE([LTOPTIONS_VERSION])dnl
   2.151 +AC_REQUIRE([LTSUGAR_VERSION])dnl
   2.152 +AC_REQUIRE([LTVERSION_VERSION])dnl
   2.153 +AC_REQUIRE([LTOBSOLETE_VERSION])dnl
   2.154 +m4_require([_LT_PROG_LTMAIN])dnl
   2.155 +
   2.156 +dnl Parse OPTIONS
   2.157 +_LT_SET_OPTIONS([$0], [$1])
   2.158  
   2.159  # This can be used to rebuild libtool when needed
   2.160 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   2.161 +LIBTOOL_DEPS="$ltmain"
   2.162  
   2.163  # Always use our own libtool.
   2.164  LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   2.165  AC_SUBST(LIBTOOL)dnl
   2.166  
   2.167 -# Prevent multiple expansion
   2.168 -define([AC_PROG_LIBTOOL], [])
   2.169 -])# _AC_PROG_LIBTOOL
   2.170 -
   2.171 -
   2.172 -# AC_LIBTOOL_SETUP
   2.173 -# ----------------
   2.174 -AC_DEFUN([AC_LIBTOOL_SETUP],
   2.175 -[AC_PREREQ(2.50)dnl
   2.176 -AC_REQUIRE([AC_ENABLE_SHARED])dnl
   2.177 -AC_REQUIRE([AC_ENABLE_STATIC])dnl
   2.178 -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
   2.179 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
   2.180 +_LT_SETUP
   2.181 +
   2.182 +# Only expand once:
   2.183 +m4_define([LT_INIT])
   2.184 +])# LT_INIT
   2.185 +
   2.186 +# Old names:
   2.187 +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
   2.188 +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
   2.189 +dnl aclocal-1.4 backwards compatibility:
   2.190 +dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
   2.191 +dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
   2.192 +
   2.193 +
   2.194 +# _LT_CC_BASENAME(CC)
   2.195 +# -------------------
   2.196 +# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   2.197 +m4_defun([_LT_CC_BASENAME],
   2.198 +[for cc_temp in $1""; do
   2.199 +  case $cc_temp in
   2.200 +    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
   2.201 +    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
   2.202 +    \-*) ;;
   2.203 +    *) break;;
   2.204 +  esac
   2.205 +done
   2.206 +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   2.207 +])
   2.208 +
   2.209 +
   2.210 +# _LT_FILEUTILS_DEFAULTS
   2.211 +# ----------------------
   2.212 +# It is okay to use these file commands and assume they have been set
   2.213 +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
   2.214 +m4_defun([_LT_FILEUTILS_DEFAULTS],
   2.215 +[: ${CP="cp -f"}
   2.216 +: ${MV="mv -f"}
   2.217 +: ${RM="rm -f"}
   2.218 +])# _LT_FILEUTILS_DEFAULTS
   2.219 +
   2.220 +
   2.221 +# _LT_SETUP
   2.222 +# ---------
   2.223 +m4_defun([_LT_SETUP],
   2.224 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
   2.225  AC_REQUIRE([AC_CANONICAL_BUILD])dnl
   2.226 +_LT_DECL([], [host_alias], [0], [The host system])dnl
   2.227 +_LT_DECL([], [host], [0])dnl
   2.228 +_LT_DECL([], [host_os], [0])dnl
   2.229 +dnl
   2.230 +_LT_DECL([], [build_alias], [0], [The build system])dnl
   2.231 +_LT_DECL([], [build], [0])dnl
   2.232 +_LT_DECL([], [build_os], [0])dnl
   2.233 +dnl
   2.234  AC_REQUIRE([AC_PROG_CC])dnl
   2.235 -AC_REQUIRE([AC_PROG_LD])dnl
   2.236 -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
   2.237 -AC_REQUIRE([AC_PROG_NM])dnl
   2.238 -
   2.239 +AC_REQUIRE([LT_PATH_LD])dnl
   2.240 +AC_REQUIRE([LT_PATH_NM])dnl
   2.241 +dnl
   2.242  AC_REQUIRE([AC_PROG_LN_S])dnl
   2.243 -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
   2.244 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   2.245 -AC_REQUIRE([AC_OBJEXT])dnl
   2.246 -AC_REQUIRE([AC_EXEEXT])dnl
   2.247 +test -z "$LN_S" && LN_S="ln -s"
   2.248 +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
   2.249  dnl
   2.250 -
   2.251 -AC_LIBTOOL_SYS_MAX_CMD_LEN
   2.252 -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
   2.253 -AC_LIBTOOL_OBJDIR
   2.254 -
   2.255 -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
   2.256 -_LT_AC_PROG_ECHO_BACKSLASH
   2.257 +AC_REQUIRE([LT_CMD_MAX_LEN])dnl
   2.258 +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
   2.259 +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
   2.260 +dnl
   2.261 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
   2.262 +m4_require([_LT_CHECK_SHELL_FEATURES])dnl
   2.263 +m4_require([_LT_CMD_RELOAD])dnl
   2.264 +m4_require([_LT_CHECK_MAGIC_METHOD])dnl
   2.265 +m4_require([_LT_CMD_OLD_ARCHIVE])dnl
   2.266 +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
   2.267 +
   2.268 +_LT_CONFIG_LIBTOOL_INIT([
   2.269 +# See if we are running on zsh, and set the options which allow our
   2.270 +# commands through without removal of \ escapes INIT.
   2.271 +if test -n "\${ZSH_VERSION+set}" ; then
   2.272 +   setopt NO_GLOB_SUBST
   2.273 +fi
   2.274 +])
   2.275 +if test -n "${ZSH_VERSION+set}" ; then
   2.276 +   setopt NO_GLOB_SUBST
   2.277 +fi
   2.278 +
   2.279 +_LT_CHECK_OBJDIR
   2.280 +
   2.281 +m4_require([_LT_TAG_COMPILER])dnl
   2.282 +_LT_PROG_ECHO_BACKSLASH
   2.283  
   2.284  case $host_os in
   2.285  aix3*)
   2.286 @@ -449,114 +527,659 @@
   2.287  
   2.288  # Sed substitution that helps us do robust quoting.  It backslashifies
   2.289  # metacharacters that are still active within double-quoted strings.
   2.290 -Xsed='sed -e 1s/^X//'
   2.291 -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
   2.292 +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
   2.293  
   2.294  # Same as above, but do not quote variable references.
   2.295 -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
   2.296 +double_quote_subst='s/\([["`\\]]\)/\\\1/g'
   2.297  
   2.298  # Sed substitution to delay expansion of an escaped shell variable in a
   2.299  # double_quote_subst'ed string.
   2.300  delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2.301  
   2.302 +# Sed substitution to delay expansion of an escaped single quote.
   2.303 +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2.304 +
   2.305  # Sed substitution to avoid accidental globbing in evaled expressions
   2.306  no_glob_subst='s/\*/\\\*/g'
   2.307  
   2.308 -# Constants:
   2.309 -rm="rm -f"
   2.310 -
   2.311  # Global variables:
   2.312 -default_ofile=libtool
   2.313 +ofile=libtool
   2.314  can_build_shared=yes
   2.315  
   2.316  # All known linkers require a `.a' archive for static linking (except MSVC,
   2.317  # which needs '.lib').
   2.318  libext=a
   2.319 -ltmain="$ac_aux_dir/ltmain.sh"
   2.320 -ofile="$default_ofile"
   2.321 +
   2.322  with_gnu_ld="$lt_cv_prog_gnu_ld"
   2.323  
   2.324 -AC_CHECK_TOOL(AR, ar, false)
   2.325 -AC_CHECK_TOOL(RANLIB, ranlib, :)
   2.326 -AC_CHECK_TOOL(STRIP, strip, :)
   2.327 -
   2.328  old_CC="$CC"
   2.329  old_CFLAGS="$CFLAGS"
   2.330  
   2.331  # Set sane defaults for various variables
   2.332 -test -z "$AR" && AR=ar
   2.333 -test -z "$AR_FLAGS" && AR_FLAGS=cru
   2.334 -test -z "$AS" && AS=as
   2.335  test -z "$CC" && CC=cc
   2.336  test -z "$LTCC" && LTCC=$CC
   2.337  test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   2.338 -test -z "$DLLTOOL" && DLLTOOL=dlltool
   2.339  test -z "$LD" && LD=ld
   2.340 -test -z "$LN_S" && LN_S="ln -s"
   2.341 +test -z "$ac_objext" && ac_objext=o
   2.342 +
   2.343 +_LT_CC_BASENAME([$compiler])
   2.344 +
   2.345 +# Only perform the check for file, if the check method requires it
   2.346  test -z "$MAGIC_CMD" && MAGIC_CMD=file
   2.347 -test -z "$NM" && NM=nm
   2.348 -test -z "$SED" && SED=sed
   2.349 -test -z "$OBJDUMP" && OBJDUMP=objdump
   2.350 -test -z "$RANLIB" && RANLIB=:
   2.351 -test -z "$STRIP" && STRIP=:
   2.352 -test -z "$ac_objext" && ac_objext=o
   2.353 -
   2.354 -# Determine commands to create old-style static archives.
   2.355 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   2.356 -old_postinstall_cmds='chmod 644 $oldlib'
   2.357 -old_postuninstall_cmds=
   2.358 -
   2.359 -if test -n "$RANLIB"; then
   2.360 -  case $host_os in
   2.361 -  openbsd*)
   2.362 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   2.363 -    ;;
   2.364 -  *)
   2.365 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   2.366 -    ;;
   2.367 -  esac
   2.368 -  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   2.369 -fi
   2.370 -
   2.371 -_LT_CC_BASENAME([$compiler])
   2.372 -
   2.373 -# Only perform the check for file, if the check method requires it
   2.374  case $deplibs_check_method in
   2.375  file_magic*)
   2.376    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   2.377 -    AC_PATH_MAGIC
   2.378 +    _LT_PATH_MAGIC
   2.379    fi
   2.380    ;;
   2.381  esac
   2.382  
   2.383 -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
   2.384 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
   2.385 -enable_win32_dll=yes, enable_win32_dll=no)
   2.386 -
   2.387 -AC_ARG_ENABLE([libtool-lock],
   2.388 -    [AC_HELP_STRING([--disable-libtool-lock],
   2.389 -	[avoid locking (might break parallel builds)])])
   2.390 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   2.391 -
   2.392 -AC_ARG_WITH([pic],
   2.393 -    [AC_HELP_STRING([--with-pic],
   2.394 -	[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
   2.395 -    [pic_mode="$withval"],
   2.396 -    [pic_mode=default])
   2.397 -test -z "$pic_mode" && pic_mode=default
   2.398 -
   2.399  # Use C for the default configuration in the libtool script
   2.400 -tagname=
   2.401 -AC_LIBTOOL_LANG_C_CONFIG
   2.402 -_LT_AC_TAGCONFIG
   2.403 -])# AC_LIBTOOL_SETUP
   2.404 -
   2.405 -
   2.406 -# _LT_AC_SYS_COMPILER
   2.407 +LT_SUPPORTED_TAG([CC])
   2.408 +_LT_LANG_C_CONFIG
   2.409 +_LT_LANG_DEFAULT_CONFIG
   2.410 +_LT_CONFIG_COMMANDS
   2.411 +])# _LT_SETUP
   2.412 +
   2.413 +
   2.414 +# _LT_PROG_LTMAIN
   2.415 +# ---------------
   2.416 +# Note that this code is called both from `configure', and `config.status'
   2.417 +# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
   2.418 +# `config.status' has no value for ac_aux_dir unless we are using Automake,
   2.419 +# so we pass a copy along to make sure it has a sensible value anyway.
   2.420 +m4_defun([_LT_PROG_LTMAIN],
   2.421 +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
   2.422 +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
   2.423 +ltmain="$ac_aux_dir/ltmain.sh"
   2.424 +])# _LT_PROG_LTMAIN
   2.425 +
   2.426 +
   2.427 +## ------------------------------------- ##
   2.428 +## Accumulate code for creating libtool. ##
   2.429 +## ------------------------------------- ##
   2.430 +
   2.431 +# So that we can recreate a full libtool script including additional
   2.432 +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
   2.433 +# in macros and then make a single call at the end using the `libtool'
   2.434 +# label.
   2.435 +
   2.436 +
   2.437 +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
   2.438 +# ----------------------------------------
   2.439 +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
   2.440 +m4_define([_LT_CONFIG_LIBTOOL_INIT],
   2.441 +[m4_ifval([$1],
   2.442 +          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
   2.443 +                     [$1
   2.444 +])])])
   2.445 +
   2.446 +# Initialize.
   2.447 +m4_define([_LT_OUTPUT_LIBTOOL_INIT])
   2.448 +
   2.449 +
   2.450 +# _LT_CONFIG_LIBTOOL([COMMANDS])
   2.451 +# ------------------------------
   2.452 +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
   2.453 +m4_define([_LT_CONFIG_LIBTOOL],
   2.454 +[m4_ifval([$1],
   2.455 +          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
   2.456 +                     [$1
   2.457 +])])])
   2.458 +
   2.459 +# Initialize.
   2.460 +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
   2.461 +
   2.462 +
   2.463 +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
   2.464 +# -----------------------------------------------------
   2.465 +m4_defun([_LT_CONFIG_SAVE_COMMANDS],
   2.466 +[_LT_CONFIG_LIBTOOL([$1])
   2.467 +_LT_CONFIG_LIBTOOL_INIT([$2])
   2.468 +])
   2.469 +
   2.470 +
   2.471 +# _LT_FORMAT_COMMENT([COMMENT])
   2.472 +# -----------------------------
   2.473 +# Add leading comment marks to the start of each line, and a trailing
   2.474 +# full-stop to the whole comment if one is not present already.
   2.475 +m4_define([_LT_FORMAT_COMMENT],
   2.476 +[m4_ifval([$1], [
   2.477 +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
   2.478 +              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
   2.479 +)])
   2.480 +
   2.481 +
   2.482 +
   2.483 +## ------------------------ ##
   2.484 +## FIXME: Eliminate VARNAME ##
   2.485 +## ------------------------ ##
   2.486 +
   2.487 +
   2.488 +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
   2.489 +# -------------------------------------------------------------------
   2.490 +# CONFIGNAME is the name given to the value in the libtool script.
   2.491 +# VARNAME is the (base) name used in the configure script.
   2.492 +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
   2.493 +# VARNAME.  Any other value will be used directly.
   2.494 +m4_define([_LT_DECL],
   2.495 +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
   2.496 +    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
   2.497 +	[m4_ifval([$1], [$1], [$2])])
   2.498 +    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
   2.499 +    m4_ifval([$4],
   2.500 +	[lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
   2.501 +    lt_dict_add_subkey([lt_decl_dict], [$2],
   2.502 +	[tagged?], [m4_ifval([$5], [yes], [no])])])
   2.503 +])
   2.504 +
   2.505 +
   2.506 +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
   2.507 +# --------------------------------------------------------
   2.508 +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
   2.509 +
   2.510 +
   2.511 +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
   2.512 +# ------------------------------------------------
   2.513 +m4_define([lt_decl_tag_varnames],
   2.514 +[_lt_decl_filter([tagged?], [yes], $@)])
   2.515 +
   2.516 +
   2.517 +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
   2.518 +# ---------------------------------------------------------
   2.519 +m4_define([_lt_decl_filter],
   2.520 +[m4_case([$#],
   2.521 +  [0], [m4_fatal([$0: too few arguments: $#])],
   2.522 +  [1], [m4_fatal([$0: too few arguments: $#: $1])],
   2.523 +  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
   2.524 +  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
   2.525 +  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
   2.526 +])
   2.527 +
   2.528 +
   2.529 +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
   2.530 +# --------------------------------------------------
   2.531 +m4_define([lt_decl_quote_varnames],
   2.532 +[_lt_decl_filter([value], [1], $@)])
   2.533 +
   2.534 +
   2.535 +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
   2.536 +# ---------------------------------------------------
   2.537 +m4_define([lt_decl_dquote_varnames],
   2.538 +[_lt_decl_filter([value], [2], $@)])
   2.539 +
   2.540 +
   2.541 +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
   2.542 +# ---------------------------------------------------
   2.543 +m4_define([lt_decl_varnames_tagged],
   2.544 +[m4_assert([$# <= 2])dnl
   2.545 +_$0(m4_quote(m4_default([$1], [[, ]])),
   2.546 +    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
   2.547 +    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
   2.548 +m4_define([_lt_decl_varnames_tagged],
   2.549 +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
   2.550 +
   2.551 +
   2.552 +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
   2.553 +# ------------------------------------------------
   2.554 +m4_define([lt_decl_all_varnames],
   2.555 +[_$0(m4_quote(m4_default([$1], [[, ]])),
   2.556 +     m4_if([$2], [],
   2.557 +	   m4_quote(lt_decl_varnames),
   2.558 +	m4_quote(m4_shift($@))))[]dnl
   2.559 +])
   2.560 +m4_define([_lt_decl_all_varnames],
   2.561 +[lt_join($@, lt_decl_varnames_tagged([$1],
   2.562 +			lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
   2.563 +])
   2.564 +
   2.565 +
   2.566 +# _LT_CONFIG_STATUS_DECLARE([VARNAME])
   2.567 +# ------------------------------------
   2.568 +# Quote a variable value, and forward it to `config.status' so that its
   2.569 +# declaration there will have the same value as in `configure'.  VARNAME
   2.570 +# must have a single quote delimited value for this to work.
   2.571 +m4_define([_LT_CONFIG_STATUS_DECLARE],
   2.572 +[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
   2.573 +
   2.574 +
   2.575 +# _LT_CONFIG_STATUS_DECLARATIONS
   2.576 +# ------------------------------
   2.577 +# We delimit libtool config variables with single quotes, so when
   2.578 +# we write them to config.status, we have to be sure to quote all
   2.579 +# embedded single quotes properly.  In configure, this macro expands
   2.580 +# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
   2.581 +#
   2.582 +#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
   2.583 +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
   2.584 +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
   2.585 +    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
   2.586 +
   2.587 +
   2.588 +# _LT_LIBTOOL_TAGS
   2.589 +# ----------------
   2.590 +# Output comment and list of tags supported by the script
   2.591 +m4_defun([_LT_LIBTOOL_TAGS],
   2.592 +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
   2.593 +available_tags="_LT_TAGS"dnl
   2.594 +])
   2.595 +
   2.596 +
   2.597 +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
   2.598 +# -----------------------------------
   2.599 +# Extract the dictionary values for VARNAME (optionally with TAG) and
   2.600 +# expand to a commented shell variable setting:
   2.601 +#
   2.602 +#    # Some comment about what VAR is for.
   2.603 +#    visible_name=$lt_internal_name
   2.604 +m4_define([_LT_LIBTOOL_DECLARE],
   2.605 +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
   2.606 +					   [description])))[]dnl
   2.607 +m4_pushdef([_libtool_name],
   2.608 +    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
   2.609 +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
   2.610 +    [0], [_libtool_name=[$]$1],
   2.611 +    [1], [_libtool_name=$lt_[]$1],
   2.612 +    [2], [_libtool_name=$lt_[]$1],
   2.613 +    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
   2.614 +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
   2.615 +])
   2.616 +
   2.617 +
   2.618 +# _LT_LIBTOOL_CONFIG_VARS
   2.619 +# -----------------------
   2.620 +# Produce commented declarations of non-tagged libtool config variables
   2.621 +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
   2.622 +# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
   2.623 +# section) are produced by _LT_LIBTOOL_TAG_VARS.
   2.624 +m4_defun([_LT_LIBTOOL_CONFIG_VARS],
   2.625 +[m4_foreach([_lt_var],
   2.626 +    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
   2.627 +    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
   2.628 +
   2.629 +
   2.630 +# _LT_LIBTOOL_TAG_VARS(TAG)
   2.631 +# -------------------------
   2.632 +m4_define([_LT_LIBTOOL_TAG_VARS],
   2.633 +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
   2.634 +    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
   2.635 +
   2.636 +
   2.637 +# _LT_TAGVAR(VARNAME, [TAGNAME])
   2.638 +# ------------------------------
   2.639 +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
   2.640 +
   2.641 +
   2.642 +# _LT_CONFIG_COMMANDS
   2.643  # -------------------
   2.644 -AC_DEFUN([_LT_AC_SYS_COMPILER],
   2.645 +# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
   2.646 +# variables for single and double quote escaping we saved from calls
   2.647 +# to _LT_DECL, we can put quote escaped variables declarations
   2.648 +# into `config.status', and then the shell code to quote escape them in
   2.649 +# for loops in `config.status'.  Finally, any additional code accumulated
   2.650 +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
   2.651 +m4_defun([_LT_CONFIG_COMMANDS],
   2.652 +[AC_PROVIDE_IFELSE([LT_OUTPUT],
   2.653 +	dnl If the libtool generation code has been placed in $CONFIG_LT,
   2.654 +	dnl instead of duplicating it all over again into config.status,
   2.655 +	dnl then we will have config.status run $CONFIG_LT later, so it
   2.656 +	dnl needs to know what name is stored there:
   2.657 +        [AC_CONFIG_COMMANDS([libtool],
   2.658 +            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
   2.659 +    dnl If the libtool generation code is destined for config.status,
   2.660 +    dnl expand the accumulated commands and init code now:
   2.661 +    [AC_CONFIG_COMMANDS([libtool],
   2.662 +        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
   2.663 +])#_LT_CONFIG_COMMANDS
   2.664 +
   2.665 +
   2.666 +# Initialize.
   2.667 +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
   2.668 +[
   2.669 +
   2.670 +# The HP-UX ksh and POSIX shell print the target directory to stdout
   2.671 +# if CDPATH is set.
   2.672 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   2.673 +
   2.674 +sed_quote_subst='$sed_quote_subst'
   2.675 +double_quote_subst='$double_quote_subst'
   2.676 +delay_variable_subst='$delay_variable_subst'
   2.677 +_LT_CONFIG_STATUS_DECLARATIONS
   2.678 +LTCC='$LTCC'
   2.679 +LTCFLAGS='$LTCFLAGS'
   2.680 +compiler='$compiler_DEFAULT'
   2.681 +
   2.682 +# Quote evaled strings.
   2.683 +for var in lt_decl_all_varnames([[ \
   2.684 +]], lt_decl_quote_varnames); do
   2.685 +    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   2.686 +    *[[\\\\\\\`\\"\\\$]]*)
   2.687 +      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   2.688 +      ;;
   2.689 +    *)
   2.690 +      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   2.691 +      ;;
   2.692 +    esac
   2.693 +done
   2.694 +
   2.695 +# Double-quote double-evaled strings.
   2.696 +for var in lt_decl_all_varnames([[ \
   2.697 +]], lt_decl_dquote_varnames); do
   2.698 +    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   2.699 +    *[[\\\\\\\`\\"\\\$]]*)
   2.700 +      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   2.701 +      ;;
   2.702 +    *)
   2.703 +      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   2.704 +      ;;
   2.705 +    esac
   2.706 +done
   2.707 +
   2.708 +# Fix-up fallback echo if it was mangled by the above quoting rules.
   2.709 +case \$lt_ECHO in
   2.710 +*'\\\[$]0 --fallback-echo"')dnl "
   2.711 +  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
   2.712 +  ;;
   2.713 +esac
   2.714 +
   2.715 +_LT_OUTPUT_LIBTOOL_INIT
   2.716 +])
   2.717 +
   2.718 +
   2.719 +# LT_OUTPUT
   2.720 +# ---------
   2.721 +# This macro allows early generation of the libtool script (before
   2.722 +# AC_OUTPUT is called), incase it is used in configure for compilation
   2.723 +# tests.
   2.724 +AC_DEFUN([LT_OUTPUT],
   2.725 +[: ${CONFIG_LT=./config.lt}
   2.726 +AC_MSG_NOTICE([creating $CONFIG_LT])
   2.727 +cat >"$CONFIG_LT" <<_LTEOF
   2.728 +#! $SHELL
   2.729 +# Generated by $as_me.
   2.730 +# Run this file to recreate a libtool stub with the current configuration.
   2.731 +
   2.732 +lt_cl_silent=false
   2.733 +SHELL=\${CONFIG_SHELL-$SHELL}
   2.734 +_LTEOF
   2.735 +
   2.736 +cat >>"$CONFIG_LT" <<\_LTEOF
   2.737 +AS_SHELL_SANITIZE
   2.738 +_AS_PREPARE
   2.739 +
   2.740 +exec AS_MESSAGE_FD>&1
   2.741 +exec AS_MESSAGE_LOG_FD>>config.log
   2.742 +{
   2.743 +  echo
   2.744 +  AS_BOX([Running $as_me.])
   2.745 +} >&AS_MESSAGE_LOG_FD
   2.746 +
   2.747 +lt_cl_help="\
   2.748 +\`$as_me' creates a local libtool stub from the current configuration,
   2.749 +for use in further configure time tests before the real libtool is
   2.750 +generated.
   2.751 +
   2.752 +Usage: $[0] [[OPTIONS]]
   2.753 +
   2.754 +  -h, --help      print this help, then exit
   2.755 +  -V, --version   print version number, then exit
   2.756 +  -q, --quiet     do not print progress messages
   2.757 +  -d, --debug     don't remove temporary files
   2.758 +
   2.759 +Report bugs to <bug-libtool@gnu.org>."
   2.760 +
   2.761 +lt_cl_version="\
   2.762 +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
   2.763 +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
   2.764 +configured by $[0], generated by m4_PACKAGE_STRING.
   2.765 +
   2.766 +Copyright (C) 2008 Free Software Foundation, Inc.
   2.767 +This config.lt script is free software; the Free Software Foundation
   2.768 +gives unlimited permision to copy, distribute and modify it."
   2.769 +
   2.770 +while test $[#] != 0
   2.771 +do
   2.772 +  case $[1] in
   2.773 +    --version | --v* | -V )
   2.774 +      echo "$lt_cl_version"; exit 0 ;;
   2.775 +    --help | --h* | -h )
   2.776 +      echo "$lt_cl_help"; exit 0 ;;
   2.777 +    --debug | --d* | -d )
   2.778 +      debug=: ;;
   2.779 +    --quiet | --q* | --silent | --s* | -q )
   2.780 +      lt_cl_silent=: ;;
   2.781 +
   2.782 +    -*) AC_MSG_ERROR([unrecognized option: $[1]
   2.783 +Try \`$[0] --help' for more information.]) ;;
   2.784 +
   2.785 +    *) AC_MSG_ERROR([unrecognized argument: $[1]
   2.786 +Try \`$[0] --help' for more information.]) ;;
   2.787 +  esac
   2.788 +  shift
   2.789 +done
   2.790 +
   2.791 +if $lt_cl_silent; then
   2.792 +  exec AS_MESSAGE_FD>/dev/null
   2.793 +fi
   2.794 +_LTEOF
   2.795 +
   2.796 +cat >>"$CONFIG_LT" <<_LTEOF
   2.797 +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
   2.798 +_LTEOF
   2.799 +
   2.800 +cat >>"$CONFIG_LT" <<\_LTEOF
   2.801 +AC_MSG_NOTICE([creating $ofile])
   2.802 +_LT_OUTPUT_LIBTOOL_COMMANDS
   2.803 +AS_EXIT(0)
   2.804 +_LTEOF
   2.805 +chmod +x "$CONFIG_LT"
   2.806 +
   2.807 +# configure is writing to config.log, but config.lt does its own redirection,
   2.808 +# appending to config.log, which fails on DOS, as config.log is still kept
   2.809 +# open by configure.  Here we exec the FD to /dev/null, effectively closing
   2.810 +# config.log, so it can be properly (re)opened and appended to by config.lt.
   2.811 +if test "$no_create" != yes; then
   2.812 +  lt_cl_success=:
   2.813 +  test "$silent" = yes &&
   2.814 +    lt_config_lt_args="$lt_config_lt_args --quiet"
   2.815 +  exec AS_MESSAGE_LOG_FD>/dev/null
   2.816 +  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
   2.817 +  exec AS_MESSAGE_LOG_FD>>config.log
   2.818 +  $lt_cl_success || AS_EXIT(1)
   2.819 +fi
   2.820 +])# LT_OUTPUT
   2.821 +
   2.822 +
   2.823 +# _LT_CONFIG(TAG)
   2.824 +# ---------------
   2.825 +# If TAG is the built-in tag, create an initial libtool script with a
   2.826 +# default configuration from the untagged config vars.  Otherwise add code
   2.827 +# to config.status for appending the configuration named by TAG from the
   2.828 +# matching tagged config vars.
   2.829 +m4_defun([_LT_CONFIG],
   2.830 +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
   2.831 +_LT_CONFIG_SAVE_COMMANDS([
   2.832 +  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
   2.833 +  m4_if(_LT_TAG, [C], [
   2.834 +    # See if we are running on zsh, and set the options which allow our
   2.835 +    # commands through without removal of \ escapes.
   2.836 +    if test -n "${ZSH_VERSION+set}" ; then
   2.837 +      setopt NO_GLOB_SUBST
   2.838 +    fi
   2.839 +
   2.840 +    cfgfile="${ofile}T"
   2.841 +    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   2.842 +    $RM "$cfgfile"
   2.843 +
   2.844 +    cat <<_LT_EOF >> "$cfgfile"
   2.845 +#! $SHELL
   2.846 +
   2.847 +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   2.848 +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   2.849 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   2.850 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
   2.851 +#
   2.852 +_LT_COPYING
   2.853 +_LT_LIBTOOL_TAGS
   2.854 +
   2.855 +# ### BEGIN LIBTOOL CONFIG
   2.856 +_LT_LIBTOOL_CONFIG_VARS
   2.857 +_LT_LIBTOOL_TAG_VARS
   2.858 +# ### END LIBTOOL CONFIG
   2.859 +
   2.860 +_LT_EOF
   2.861 +
   2.862 +  case $host_os in
   2.863 +  aix3*)
   2.864 +    cat <<\_LT_EOF >> "$cfgfile"
   2.865 +# AIX sometimes has problems with the GCC collect2 program.  For some
   2.866 +# reason, if we set the COLLECT_NAMES environment variable, the problems
   2.867 +# vanish in a puff of smoke.
   2.868 +if test "X${COLLECT_NAMES+set}" != Xset; then
   2.869 +  COLLECT_NAMES=
   2.870 +  export COLLECT_NAMES
   2.871 +fi
   2.872 +_LT_EOF
   2.873 +    ;;
   2.874 +  esac
   2.875 +
   2.876 +  _LT_PROG_LTMAIN
   2.877 +
   2.878 +  # We use sed instead of cat because bash on DJGPP gets confused if
   2.879 +  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   2.880 +  # text mode, it properly converts lines to CR/LF.  This bash problem
   2.881 +  # is reportedly fixed, but why not run on old versions too?
   2.882 +  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   2.883 +    || (rm -f "$cfgfile"; exit 1)
   2.884 +
   2.885 +  _LT_PROG_XSI_SHELLFNS
   2.886 +
   2.887 +  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   2.888 +    || (rm -f "$cfgfile"; exit 1)
   2.889 +
   2.890 +  mv -f "$cfgfile" "$ofile" ||
   2.891 +    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   2.892 +  chmod +x "$ofile"
   2.893 +],
   2.894 +[cat <<_LT_EOF >> "$ofile"
   2.895 +
   2.896 +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
   2.897 +dnl in a comment (ie after a #).
   2.898 +# ### BEGIN LIBTOOL TAG CONFIG: $1
   2.899 +_LT_LIBTOOL_TAG_VARS(_LT_TAG)
   2.900 +# ### END LIBTOOL TAG CONFIG: $1
   2.901 +_LT_EOF
   2.902 +])dnl /m4_if
   2.903 +],
   2.904 +[m4_if([$1], [], [
   2.905 +    PACKAGE='$PACKAGE'
   2.906 +    VERSION='$VERSION'
   2.907 +    TIMESTAMP='$TIMESTAMP'
   2.908 +    RM='$RM'
   2.909 +    ofile='$ofile'], [])
   2.910 +])dnl /_LT_CONFIG_SAVE_COMMANDS
   2.911 +])# _LT_CONFIG
   2.912 +
   2.913 +
   2.914 +# LT_SUPPORTED_TAG(TAG)
   2.915 +# ---------------------
   2.916 +# Trace this macro to discover what tags are supported by the libtool
   2.917 +# --tag option, using:
   2.918 +#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
   2.919 +AC_DEFUN([LT_SUPPORTED_TAG], [])
   2.920 +
   2.921 +
   2.922 +# C support is built-in for now
   2.923 +m4_define([_LT_LANG_C_enabled], [])
   2.924 +m4_define([_LT_TAGS], [])
   2.925 +
   2.926 +
   2.927 +# LT_LANG(LANG)
   2.928 +# -------------
   2.929 +# Enable libtool support for the given language if not already enabled.
   2.930 +AC_DEFUN([LT_LANG],
   2.931 +[AC_BEFORE([$0], [LT_OUTPUT])dnl
   2.932 +m4_case([$1],
   2.933 +  [C],			[_LT_LANG(C)],
   2.934 +  [C++],		[_LT_LANG(CXX)],
   2.935 +  [Java],		[_LT_LANG(GCJ)],
   2.936 +  [Fortran 77],		[_LT_LANG(F77)],
   2.937 +  [Fortran],		[_LT_LANG(FC)],
   2.938 +  [Windows Resource],	[_LT_LANG(RC)],
   2.939 +  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
   2.940 +    [_LT_LANG($1)],
   2.941 +    [m4_fatal([$0: unsupported language: "$1"])])])dnl
   2.942 +])# LT_LANG
   2.943 +
   2.944 +
   2.945 +# _LT_LANG(LANGNAME)
   2.946 +# ------------------
   2.947 +m4_defun([_LT_LANG],
   2.948 +[m4_ifdef([_LT_LANG_]$1[_enabled], [],
   2.949 +  [LT_SUPPORTED_TAG([$1])dnl
   2.950 +  m4_append([_LT_TAGS], [$1 ])dnl
   2.951 +  m4_define([_LT_LANG_]$1[_enabled], [])dnl
   2.952 +  _LT_LANG_$1_CONFIG($1)])dnl
   2.953 +])# _LT_LANG
   2.954 +
   2.955 +
   2.956 +# _LT_LANG_DEFAULT_CONFIG
   2.957 +# -----------------------
   2.958 +m4_defun([_LT_LANG_DEFAULT_CONFIG],
   2.959 +[AC_PROVIDE_IFELSE([AC_PROG_CXX],
   2.960 +  [LT_LANG(CXX)],
   2.961 +  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
   2.962 +
   2.963 +AC_PROVIDE_IFELSE([AC_PROG_F77],
   2.964 +  [LT_LANG(F77)],
   2.965 +  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
   2.966 +
   2.967 +AC_PROVIDE_IFELSE([AC_PROG_FC],
   2.968 +  [LT_LANG(FC)],
   2.969 +  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
   2.970 +
   2.971 +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
   2.972 +dnl pulling things in needlessly.
   2.973 +AC_PROVIDE_IFELSE([AC_PROG_GCJ],
   2.974 +  [LT_LANG(GCJ)],
   2.975 +  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
   2.976 +    [LT_LANG(GCJ)],
   2.977 +    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
   2.978 +      [LT_LANG(GCJ)],
   2.979 +      [m4_ifdef([AC_PROG_GCJ],
   2.980 +	[m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
   2.981 +       m4_ifdef([A][M_PROG_GCJ],
   2.982 +	[m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
   2.983 +       m4_ifdef([LT_PROG_GCJ],
   2.984 +	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
   2.985 +
   2.986 +AC_PROVIDE_IFELSE([LT_PROG_RC],
   2.987 +  [LT_LANG(RC)],
   2.988 +  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
   2.989 +])# _LT_LANG_DEFAULT_CONFIG
   2.990 +
   2.991 +# Obsolete macros:
   2.992 +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
   2.993 +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
   2.994 +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
   2.995 +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
   2.996 +dnl aclocal-1.4 backwards compatibility:
   2.997 +dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
   2.998 +dnl AC_DEFUN([AC_LIBTOOL_F77], [])
   2.999 +dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  2.1000 +dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  2.1001 +
  2.1002 +
  2.1003 +# _LT_TAG_COMPILER
  2.1004 +# ----------------
  2.1005 +m4_defun([_LT_TAG_COMPILER],
  2.1006  [AC_REQUIRE([AC_PROG_CC])dnl
  2.1007  
  2.1008 +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
  2.1009 +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
  2.1010 +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
  2.1011 +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
  2.1012 +
  2.1013  # If no C compiler was specified, use CC.
  2.1014  LTCC=${LTCC-"$CC"}
  2.1015  
  2.1016 @@ -565,35 +1188,20 @@
  2.1017  
  2.1018  # Allow CC to be a program name with arguments.
  2.1019  compiler=$CC
  2.1020 -])# _LT_AC_SYS_COMPILER
  2.1021 -
  2.1022 -
  2.1023 -# _LT_CC_BASENAME(CC)
  2.1024 -# -------------------
  2.1025 -# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
  2.1026 -AC_DEFUN([_LT_CC_BASENAME],
  2.1027 -[for cc_temp in $1""; do
  2.1028 -  case $cc_temp in
  2.1029 -    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  2.1030 -    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  2.1031 -    \-*) ;;
  2.1032 -    *) break;;
  2.1033 -  esac
  2.1034 -done
  2.1035 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  2.1036 -])
  2.1037 +])# _LT_TAG_COMPILER
  2.1038  
  2.1039  
  2.1040  # _LT_COMPILER_BOILERPLATE
  2.1041  # ------------------------
  2.1042  # Check for compiler boilerplate output or warnings with
  2.1043  # the simple compiler test code.
  2.1044 -AC_DEFUN([_LT_COMPILER_BOILERPLATE],
  2.1045 -[ac_outfile=conftest.$ac_objext
  2.1046 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  2.1047 +m4_defun([_LT_COMPILER_BOILERPLATE],
  2.1048 +[m4_require([_LT_DECL_SED])dnl
  2.1049 +ac_outfile=conftest.$ac_objext
  2.1050 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  2.1051  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  2.1052  _lt_compiler_boilerplate=`cat conftest.err`
  2.1053 -$rm conftest*
  2.1054 +$RM conftest*
  2.1055  ])# _LT_COMPILER_BOILERPLATE
  2.1056  
  2.1057  
  2.1058 @@ -601,70 +1209,203 @@
  2.1059  # ----------------------
  2.1060  # Check for linker boilerplate output or warnings with
  2.1061  # the simple link test code.
  2.1062 -AC_DEFUN([_LT_LINKER_BOILERPLATE],
  2.1063 -[ac_outfile=conftest.$ac_objext
  2.1064 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
  2.1065 +m4_defun([_LT_LINKER_BOILERPLATE],
  2.1066 +[m4_require([_LT_DECL_SED])dnl
  2.1067 +ac_outfile=conftest.$ac_objext
  2.1068 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  2.1069  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  2.1070  _lt_linker_boilerplate=`cat conftest.err`
  2.1071 -$rm conftest*
  2.1072 +$RM -r conftest*
  2.1073  ])# _LT_LINKER_BOILERPLATE
  2.1074  
  2.1075 -
  2.1076 -# _LT_AC_SYS_LIBPATH_AIX
  2.1077 -# ----------------------
  2.1078 +# _LT_REQUIRED_DARWIN_CHECKS
  2.1079 +# -------------------------
  2.1080 +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
  2.1081 +  case $host_os in
  2.1082 +    rhapsody* | darwin*)
  2.1083 +    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
  2.1084 +    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
  2.1085 +    AC_CHECK_TOOL([LIPO], [lipo], [:])
  2.1086 +    AC_CHECK_TOOL([OTOOL], [otool], [:])
  2.1087 +    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
  2.1088 +    _LT_DECL([], [DSYMUTIL], [1],
  2.1089 +      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
  2.1090 +    _LT_DECL([], [NMEDIT], [1],
  2.1091 +      [Tool to change global to local symbols on Mac OS X])
  2.1092 +    _LT_DECL([], [LIPO], [1],
  2.1093 +      [Tool to manipulate fat objects and archives on Mac OS X])
  2.1094 +    _LT_DECL([], [OTOOL], [1],
  2.1095 +      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
  2.1096 +    _LT_DECL([], [OTOOL64], [1],
  2.1097 +      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
  2.1098 +
  2.1099 +    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
  2.1100 +      [lt_cv_apple_cc_single_mod=no
  2.1101 +      if test -z "${LT_MULTI_MODULE}"; then
  2.1102 +	# By default we will add the -single_module flag. You can override
  2.1103 +	# by either setting the environment variable LT_MULTI_MODULE
  2.1104 +	# non-empty at configure time, or by adding -multi_module to the
  2.1105 +	# link flags.
  2.1106 +	rm -rf libconftest.dylib*
  2.1107 +	echo "int foo(void){return 1;}" > conftest.c
  2.1108 +	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  2.1109 +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
  2.1110 +	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  2.1111 +	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  2.1112 +        _lt_result=$?
  2.1113 +	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  2.1114 +	  lt_cv_apple_cc_single_mod=yes
  2.1115 +	else
  2.1116 +	  cat conftest.err >&AS_MESSAGE_LOG_FD
  2.1117 +	fi
  2.1118 +	rm -rf libconftest.dylib*
  2.1119 +	rm -f conftest.*
  2.1120 +      fi])
  2.1121 +    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
  2.1122 +      [lt_cv_ld_exported_symbols_list],
  2.1123 +      [lt_cv_ld_exported_symbols_list=no
  2.1124 +      save_LDFLAGS=$LDFLAGS
  2.1125 +      echo "_main" > conftest.sym
  2.1126 +      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  2.1127 +      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  2.1128 +	[lt_cv_ld_exported_symbols_list=yes],
  2.1129 +	[lt_cv_ld_exported_symbols_list=no])
  2.1130 +	LDFLAGS="$save_LDFLAGS"
  2.1131 +    ])
  2.1132 +    case $host_os in
  2.1133 +    rhapsody* | darwin1.[[012]])
  2.1134 +      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  2.1135 +    darwin1.*)
  2.1136 +      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  2.1137 +    darwin*) # darwin 5.x on
  2.1138 +      # if running on 10.5 or later, the deployment target defaults
  2.1139 +      # to the OS version, if on x86, and 10.4, the deployment
  2.1140 +      # target defaults to 10.4. Don't you love it?
  2.1141 +      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  2.1142 +	10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  2.1143 +	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  2.1144 +	10.[[012]]*)
  2.1145 +	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  2.1146 +	10.*)
  2.1147 +	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  2.1148 +      esac
  2.1149 +    ;;
  2.1150 +  esac
  2.1151 +    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  2.1152 +      _lt_dar_single_mod='$single_module'
  2.1153 +    fi
  2.1154 +    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  2.1155 +      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  2.1156 +    else
  2.1157 +      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  2.1158 +    fi
  2.1159 +    if test "$DSYMUTIL" != ":"; then
  2.1160 +      _lt_dsymutil='~$DSYMUTIL $lib || :'
  2.1161 +    else
  2.1162 +      _lt_dsymutil=
  2.1163 +    fi
  2.1164 +    ;;
  2.1165 +  esac
  2.1166 +])
  2.1167 +
  2.1168 +
  2.1169 +# _LT_DARWIN_LINKER_FEATURES
  2.1170 +# --------------------------
  2.1171 +# Checks for linker and compiler features on darwin
  2.1172 +m4_defun([_LT_DARWIN_LINKER_FEATURES],
  2.1173 +[
  2.1174 +  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
  2.1175 +  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  2.1176 +  _LT_TAGVAR(hardcode_direct, $1)=no
  2.1177 +  _LT_TAGVAR(hardcode_automatic, $1)=yes
  2.1178 +  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  2.1179 +  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  2.1180 +  _LT_TAGVAR(link_all_deplibs, $1)=yes
  2.1181 +  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  2.1182 +  case $cc_basename in
  2.1183 +     ifort*) _lt_dar_can_shared=yes ;;
  2.1184 +     *) _lt_dar_can_shared=$GCC ;;
  2.1185 +  esac
  2.1186 +  if test "$_lt_dar_can_shared" = "yes"; then
  2.1187 +    output_verbose_link_cmd=echo
  2.1188 +    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  2.1189 +    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  2.1190 +    _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  2.1191 +    _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  2.1192 +    m4_if([$1], [CXX],
  2.1193 +[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  2.1194 +      _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
  2.1195 +      _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
  2.1196 +    fi
  2.1197 +],[])
  2.1198 +  else
  2.1199 +  _LT_TAGVAR(ld_shlibs, $1)=no
  2.1200 +  fi
  2.1201 +])
  2.1202 +
  2.1203 +# _LT_SYS_MODULE_PATH_AIX
  2.1204 +# -----------------------
  2.1205  # Links a minimal program and checks the executable
  2.1206  # for the system default hardcoded library path. In most cases,
  2.1207  # this is /usr/lib:/lib, but when the MPI compilers are used
  2.1208  # the location of the communication and MPI libs are included too.
  2.1209  # If we don't find anything, use the default library path according
  2.1210  # to the aix ld manual.
  2.1211 -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
  2.1212 -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  2.1213 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  2.1214 -}'`
  2.1215 +m4_defun([_LT_SYS_MODULE_PATH_AIX],
  2.1216 +[m4_require([_LT_DECL_SED])dnl
  2.1217 +AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  2.1218 +lt_aix_libpath_sed='
  2.1219 +    /Import File Strings/,/^$/ {
  2.1220 +	/^0/ {
  2.1221 +	    s/^0  *\(.*\)$/\1/
  2.1222 +	    p
  2.1223 +	}
  2.1224 +    }'
  2.1225 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  2.1226  # Check for a 64-bit object if we didn't find anything.
  2.1227 -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; }
  2.1228 -}'`; fi],[])
  2.1229 +if test -z "$aix_libpath"; then
  2.1230 +  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  2.1231 +fi],[])
  2.1232  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  2.1233 -])# _LT_AC_SYS_LIBPATH_AIX
  2.1234 -
  2.1235 -
  2.1236 -# _LT_AC_SHELL_INIT(ARG)
  2.1237 -# ----------------------
  2.1238 -AC_DEFUN([_LT_AC_SHELL_INIT],
  2.1239 +])# _LT_SYS_MODULE_PATH_AIX
  2.1240 +
  2.1241 +
  2.1242 +# _LT_SHELL_INIT(ARG)
  2.1243 +# -------------------
  2.1244 +m4_define([_LT_SHELL_INIT],
  2.1245  [ifdef([AC_DIVERSION_NOTICE],
  2.1246  	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  2.1247  	 [AC_DIVERT_PUSH(NOTICE)])
  2.1248  $1
  2.1249  AC_DIVERT_POP
  2.1250 -])# _LT_AC_SHELL_INIT
  2.1251 -
  2.1252 -
  2.1253 -# _LT_AC_PROG_ECHO_BACKSLASH
  2.1254 -# --------------------------
  2.1255 +])# _LT_SHELL_INIT
  2.1256 +
  2.1257 +
  2.1258 +# _LT_PROG_ECHO_BACKSLASH
  2.1259 +# -----------------------
  2.1260  # Add some code to the start of the generated configure script which
  2.1261  # will find an echo command which doesn't interpret backslashes.
  2.1262 -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
  2.1263 -[_LT_AC_SHELL_INIT([
  2.1264 +m4_defun([_LT_PROG_ECHO_BACKSLASH],
  2.1265 +[_LT_SHELL_INIT([
  2.1266  # Check that we are running under the correct shell.
  2.1267  SHELL=${CONFIG_SHELL-/bin/sh}
  2.1268  
  2.1269 -case X$ECHO in
  2.1270 +case X$lt_ECHO in
  2.1271  X*--fallback-echo)
  2.1272    # Remove one level of quotation (which was required for Make).
  2.1273 -  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  2.1274 +  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  2.1275    ;;
  2.1276  esac
  2.1277  
  2.1278 -echo=${ECHO-echo}
  2.1279 +ECHO=${lt_ECHO-echo}
  2.1280  if test "X[$]1" = X--no-reexec; then
  2.1281    # Discard the --no-reexec flag, and continue.
  2.1282    shift
  2.1283  elif test "X[$]1" = X--fallback-echo; then
  2.1284    # Avoid inline document here, it may be left over
  2.1285    :
  2.1286 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  2.1287 -  # Yippee, $echo works!
  2.1288 +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  2.1289 +  # Yippee, $ECHO works!
  2.1290    :
  2.1291  else
  2.1292    # Restart under the correct shell.
  2.1293 @@ -674,9 +1415,9 @@
  2.1294  if test "X[$]1" = X--fallback-echo; then
  2.1295    # used as fallback echo
  2.1296    shift
  2.1297 -  cat <<EOF
  2.1298 +  cat <<_LT_EOF
  2.1299  [$]*
  2.1300 -EOF
  2.1301 +_LT_EOF
  2.1302    exit 0
  2.1303  fi
  2.1304  
  2.1305 @@ -684,124 +1425,127 @@
  2.1306  # if CDPATH is set.
  2.1307  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  2.1308  
  2.1309 -if test -z "$ECHO"; then
  2.1310 -if test "X${echo_test_string+set}" != Xset; then
  2.1311 -# find a string as large as possible, as long as the shell can cope with it
  2.1312 -  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  2.1313 -    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  2.1314 -    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  2.1315 -       echo_test_string=`eval $cmd` &&
  2.1316 -       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  2.1317 -    then
  2.1318 -      break
  2.1319 -    fi
  2.1320 -  done
  2.1321 -fi
  2.1322 -
  2.1323 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  2.1324 -   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  2.1325 -   test "X$echo_testing_string" = "X$echo_test_string"; then
  2.1326 -  :
  2.1327 -else
  2.1328 -  # The Solaris, AIX, and Digital Unix default echo programs unquote
  2.1329 -  # backslashes.  This makes it impossible to quote backslashes using
  2.1330 -  #   echo "$something" | sed 's/\\/\\\\/g'
  2.1331 -  #
  2.1332 -  # So, first we look for a working echo in the user's PATH.
  2.1333 -
  2.1334 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2.1335 -  for dir in $PATH /usr/ucb; do
  2.1336 +if test -z "$lt_ECHO"; then
  2.1337 +  if test "X${echo_test_string+set}" != Xset; then
  2.1338 +    # find a string as large as possible, as long as the shell can cope with it
  2.1339 +    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  2.1340 +      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  2.1341 +      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  2.1342 +	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  2.1343 +      then
  2.1344 +        break
  2.1345 +      fi
  2.1346 +    done
  2.1347 +  fi
  2.1348 +
  2.1349 +  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  2.1350 +     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  2.1351 +     test "X$echo_testing_string" = "X$echo_test_string"; then
  2.1352 +    :
  2.1353 +  else
  2.1354 +    # The Solaris, AIX, and Digital Unix default echo programs unquote
  2.1355 +    # backslashes.  This makes it impossible to quote backslashes using
  2.1356 +    #   echo "$something" | sed 's/\\/\\\\/g'
  2.1357 +    #
  2.1358 +    # So, first we look for a working echo in the user's PATH.
  2.1359 +
  2.1360 +    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2.1361 +    for dir in $PATH /usr/ucb; do
  2.1362 +      IFS="$lt_save_ifs"
  2.1363 +      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  2.1364 +         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  2.1365 +         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  2.1366 +         test "X$echo_testing_string" = "X$echo_test_string"; then
  2.1367 +        ECHO="$dir/echo"
  2.1368 +        break
  2.1369 +      fi
  2.1370 +    done
  2.1371      IFS="$lt_save_ifs"
  2.1372 -    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  2.1373 -       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  2.1374 -       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  2.1375 -       test "X$echo_testing_string" = "X$echo_test_string"; then
  2.1376 -      echo="$dir/echo"
  2.1377 -      break
  2.1378 -    fi
  2.1379 -  done
  2.1380 -  IFS="$lt_save_ifs"
  2.1381 -
  2.1382 -  if test "X$echo" = Xecho; then
  2.1383 -    # We didn't find a better echo, so look for alternatives.
  2.1384 -    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  2.1385 -       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  2.1386 -       test "X$echo_testing_string" = "X$echo_test_string"; then
  2.1387 -      # This shell has a builtin print -r that does the trick.
  2.1388 -      echo='print -r'
  2.1389 -    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  2.1390 -	 test "X$CONFIG_SHELL" != X/bin/ksh; then
  2.1391 -      # If we have ksh, try running configure again with it.
  2.1392 -      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  2.1393 -      export ORIGINAL_CONFIG_SHELL
  2.1394 -      CONFIG_SHELL=/bin/ksh
  2.1395 -      export CONFIG_SHELL
  2.1396 -      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  2.1397 -    else
  2.1398 -      # Try using printf.
  2.1399 -      echo='printf %s\n'
  2.1400 -      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  2.1401 -	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  2.1402 -	 test "X$echo_testing_string" = "X$echo_test_string"; then
  2.1403 -	# Cool, printf works
  2.1404 -	:
  2.1405 -      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  2.1406 -	   test "X$echo_testing_string" = 'X\t' &&
  2.1407 -	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  2.1408 +
  2.1409 +    if test "X$ECHO" = Xecho; then
  2.1410 +      # We didn't find a better echo, so look for alternatives.
  2.1411 +      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  2.1412 +         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  2.1413 +         test "X$echo_testing_string" = "X$echo_test_string"; then
  2.1414 +        # This shell has a builtin print -r that does the trick.
  2.1415 +        ECHO='print -r'
  2.1416 +      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  2.1417 +	   test "X$CONFIG_SHELL" != X/bin/ksh; then
  2.1418 +        # If we have ksh, try running configure again with it.
  2.1419 +        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  2.1420 +        export ORIGINAL_CONFIG_SHELL
  2.1421 +        CONFIG_SHELL=/bin/ksh
  2.1422 +        export CONFIG_SHELL
  2.1423 +        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  2.1424 +      else
  2.1425 +        # Try using printf.
  2.1426 +        ECHO='printf %s\n'
  2.1427 +        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  2.1428 +	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  2.1429  	   test "X$echo_testing_string" = "X$echo_test_string"; then
  2.1430 -	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  2.1431 -	export CONFIG_SHELL
  2.1432 -	SHELL="$CONFIG_SHELL"
  2.1433 -	export SHELL
  2.1434 -	echo="$CONFIG_SHELL [$]0 --fallback-echo"
  2.1435 -      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  2.1436 -	   test "X$echo_testing_string" = 'X\t' &&
  2.1437 -	   echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  2.1438 -	   test "X$echo_testing_string" = "X$echo_test_string"; then
  2.1439 -	echo="$CONFIG_SHELL [$]0 --fallback-echo"
  2.1440 -      else
  2.1441 -	# maybe with a smaller string...
  2.1442 -	prev=:
  2.1443 -
  2.1444 -	for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  2.1445 -	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  2.1446 -	  then
  2.1447 -	    break
  2.1448 +	  # Cool, printf works
  2.1449 +	  :
  2.1450 +        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  2.1451 +	     test "X$echo_testing_string" = 'X\t' &&
  2.1452 +	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  2.1453 +	     test "X$echo_testing_string" = "X$echo_test_string"; then
  2.1454 +	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  2.1455 +	  export CONFIG_SHELL
  2.1456 +	  SHELL="$CONFIG_SHELL"
  2.1457 +	  export SHELL
  2.1458 +	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  2.1459 +        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  2.1460 +	     test "X$echo_testing_string" = 'X\t' &&
  2.1461 +	     echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  2.1462 +	     test "X$echo_testing_string" = "X$echo_test_string"; then
  2.1463 +	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  2.1464 +        else
  2.1465 +	  # maybe with a smaller string...
  2.1466 +	  prev=:
  2.1467 +
  2.1468 +	  for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  2.1469 +	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  2.1470 +	    then
  2.1471 +	      break
  2.1472 +	    fi
  2.1473 +	    prev="$cmd"
  2.1474 +	  done
  2.1475 +
  2.1476 +	  if test "$prev" != 'sed 50q "[$]0"'; then
  2.1477 +	    echo_test_string=`eval $prev`
  2.1478 +	    export echo_test_string
  2.1479 +	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  2.1480 +	  else
  2.1481 +	    # Oops.  We lost completely, so just stick with echo.
  2.1482 +	    ECHO=echo
  2.1483  	  fi
  2.1484 -	  prev="$cmd"
  2.1485 -	done
  2.1486 -
  2.1487 -	if test "$prev" != 'sed 50q "[$]0"'; then
  2.1488 -	  echo_test_string=`eval $prev`
  2.1489 -	  export echo_test_string
  2.1490 -	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  2.1491 -	else
  2.1492 -	  # Oops.  We lost completely, so just stick with echo.
  2.1493 -	  echo=echo
  2.1494 -	fi
  2.1495 +        fi
  2.1496        fi
  2.1497      fi
  2.1498    fi
  2.1499  fi
  2.1500 -fi
  2.1501  
  2.1502  # Copy echo and quote the copy suitably for passing to libtool from
  2.1503  # the Makefile, instead of quoting the original, which is used later.
  2.1504 -ECHO=$echo
  2.1505 -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  2.1506 -   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  2.1507 +lt_ECHO=$ECHO
  2.1508 +if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  2.1509 +   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  2.1510  fi
  2.1511  
  2.1512 -AC_SUBST(ECHO)
  2.1513 -])])# _LT_AC_PROG_ECHO_BACKSLASH
  2.1514 -
  2.1515 -
  2.1516 -# _LT_AC_LOCK
  2.1517 -# -----------
  2.1518 -AC_DEFUN([_LT_AC_LOCK],
  2.1519 +AC_SUBST(lt_ECHO)
  2.1520 +])
  2.1521 +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
  2.1522 +_LT_DECL([], [ECHO], [1],
  2.1523 +    [An echo program that does not interpret backslashes])
  2.1524 +])# _LT_PROG_ECHO_BACKSLASH
  2.1525 +
  2.1526 +
  2.1527 +# _LT_ENABLE_LOCK
  2.1528 +# ---------------
  2.1529 +m4_defun([_LT_ENABLE_LOCK],
  2.1530  [AC_ARG_ENABLE([libtool-lock],
  2.1531 -    [AC_HELP_STRING([--disable-libtool-lock],
  2.1532 -	[avoid locking (might break parallel builds)])])
  2.1533 +  [AS_HELP_STRING([--disable-libtool-lock],
  2.1534 +    [avoid locking (might break parallel builds)])])
  2.1535  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  2.1536  
  2.1537  # Some flags need to be propagated to the compiler or linker for good
  2.1538 @@ -812,12 +1556,12 @@
  2.1539    echo 'int i;' > conftest.$ac_ext
  2.1540    if AC_TRY_EVAL(ac_compile); then
  2.1541      case `/usr/bin/file conftest.$ac_objext` in
  2.1542 -    *ELF-32*)
  2.1543 -      HPUX_IA64_MODE="32"
  2.1544 -      ;;
  2.1545 -    *ELF-64*)
  2.1546 -      HPUX_IA64_MODE="64"
  2.1547 -      ;;
  2.1548 +      *ELF-32*)
  2.1549 +	HPUX_IA64_MODE="32"
  2.1550 +	;;
  2.1551 +      *ELF-64*)
  2.1552 +	HPUX_IA64_MODE="64"
  2.1553 +	;;
  2.1554      esac
  2.1555    fi
  2.1556    rm -rf conftest*
  2.1557 @@ -826,72 +1570,79 @@
  2.1558    # Find out which ABI we are using.
  2.1559    echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  2.1560    if AC_TRY_EVAL(ac_compile); then
  2.1561 -   if test "$lt_cv_prog_gnu_ld" = yes; then
  2.1562 -    case `/usr/bin/file conftest.$ac_objext` in
  2.1563 -    *32-bit*)
  2.1564 -      LD="${LD-ld} -melf32bsmip"
  2.1565 -      ;;
  2.1566 -    *N32*)
  2.1567 -      LD="${LD-ld} -melf32bmipn32"
  2.1568 -      ;;
  2.1569 -    *64-bit*)
  2.1570 -      LD="${LD-ld} -melf64bmip"
  2.1571 -      ;;
  2.1572 -    esac
  2.1573 -   else
  2.1574 -    case `/usr/bin/file conftest.$ac_objext` in
  2.1575 -    *32-bit*)
  2.1576 -      LD="${LD-ld} -32"
  2.1577 -      ;;
  2.1578 -    *N32*)
  2.1579 -      LD="${LD-ld} -n32"
  2.1580 -      ;;
  2.1581 -    *64-bit*)
  2.1582 -      LD="${LD-ld} -64"
  2.1583 -      ;;
  2.1584 -    esac
  2.1585 -   fi
  2.1586 +    if test "$lt_cv_prog_gnu_ld" = yes; then
  2.1587 +      case `/usr/bin/file conftest.$ac_objext` in
  2.1588 +	*32-bit*)
  2.1589 +	  LD="${LD-ld} -melf32bsmip"
  2.1590 +	  ;;
  2.1591 +	*N32*)
  2.1592 +	  LD="${LD-ld} -melf32bmipn32"
  2.1593 +	  ;;
  2.1594 +	*64-bit*)
  2.1595 +	  LD="${LD-ld} -melf64bmip"
  2.1596 +	;;
  2.1597 +      esac
  2.1598 +    else
  2.1599 +      case `/usr/bin/file conftest.$ac_objext` in
  2.1600 +	*32-bit*)
  2.1601 +	  LD="${LD-ld} -32"
  2.1602 +	  ;;
  2.1603 +	*N32*)
  2.1604 +	  LD="${LD-ld} -n32"
  2.1605 +	  ;;
  2.1606 +	*64-bit*)
  2.1607 +	  LD="${LD-ld} -64"
  2.1608 +	  ;;
  2.1609 +      esac
  2.1610 +    fi
  2.1611    fi
  2.1612    rm -rf conftest*
  2.1613    ;;
  2.1614  
  2.1615 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
  2.1616 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  2.1617 +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  2.1618    # Find out which ABI we are using.
  2.1619    echo 'int i;' > conftest.$ac_ext
  2.1620    if AC_TRY_EVAL(ac_compile); then
  2.1621      case `/usr/bin/file conftest.o` in
  2.1622 -    *32-bit*)
  2.1623 -      case $host in
  2.1624 -        x86_64-*linux*)
  2.1625 -          LD="${LD-ld} -m elf_i386"
  2.1626 -          ;;
  2.1627 -        ppc64-*linux*|powerpc64-*linux*)
  2.1628 -          LD="${LD-ld} -m elf32ppclinux"
  2.1629 -          ;;
  2.1630 -        s390x-*linux*)
  2.1631 -          LD="${LD-ld} -m elf_s390"
  2.1632 -          ;;
  2.1633 -        sparc64-*linux*)
  2.1634 -          LD="${LD-ld} -m elf32_sparc"
  2.1635 -          ;;
  2.1636 -      esac
  2.1637 -      ;;
  2.1638 -    *64-bit*)
  2.1639 -      case $host in
  2.1640 -        x86_64-*linux*)
  2.1641 -          LD="${LD-ld} -m elf_x86_64"
  2.1642 -          ;;
  2.1643 -        ppc*-*linux*|powerpc*-*linux*)
  2.1644 -          LD="${LD-ld} -m elf64ppc"
  2.1645 -          ;;
  2.1646 -        s390*-*linux*)
  2.1647 -          LD="${LD-ld} -m elf64_s390"
  2.1648 -          ;;
  2.1649 -        sparc*-*linux*)
  2.1650 -          LD="${LD-ld} -m elf64_sparc"
  2.1651 -          ;;
  2.1652 -      esac
  2.1653 -      ;;
  2.1654 +      *32-bit*)
  2.1655 +	case $host in
  2.1656 +	  x86_64-*kfreebsd*-gnu)
  2.1657 +	    LD="${LD-ld} -m elf_i386_fbsd"
  2.1658 +	    ;;
  2.1659 +	  x86_64-*linux*)
  2.1660 +	    LD="${LD-ld} -m elf_i386"
  2.1661 +	    ;;
  2.1662 +	  ppc64-*linux*|powerpc64-*linux*)
  2.1663 +	    LD="${LD-ld} -m elf32ppclinux"
  2.1664 +	    ;;
  2.1665 +	  s390x-*linux*)
  2.1666 +	    LD="${LD-ld} -m elf_s390"
  2.1667 +	    ;;
  2.1668 +	  sparc64-*linux*)
  2.1669 +	    LD="${LD-ld} -m elf32_sparc"
  2.1670 +	    ;;
  2.1671 +	esac
  2.1672 +	;;
  2.1673 +      *64-bit*)
  2.1674 +	case $host in
  2.1675 +	  x86_64-*kfreebsd*-gnu)
  2.1676 +	    LD="${LD-ld} -m elf_x86_64_fbsd"
  2.1677 +	    ;;
  2.1678 +	  x86_64-*linux*)
  2.1679 +	    LD="${LD-ld} -m elf_x86_64"
  2.1680 +	    ;;
  2.1681 +	  ppc*-*linux*|powerpc*-*linux*)
  2.1682 +	    LD="${LD-ld} -m elf64ppc"
  2.1683 +	    ;;
  2.1684 +	  s390*-*linux*|s390*-*tpf*)
  2.1685 +	    LD="${LD-ld} -m elf64_s390"
  2.1686 +	    ;;
  2.1687 +	  sparc*-*linux*)
  2.1688 +	    LD="${LD-ld} -m elf64_sparc"
  2.1689 +	    ;;
  2.1690 +	esac
  2.1691 +	;;
  2.1692      esac
  2.1693    fi
  2.1694    rm -rf conftest*
  2.1695 @@ -903,7 +1654,7 @@
  2.1696    CFLAGS="$CFLAGS -belf"
  2.1697    AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  2.1698      [AC_LANG_PUSH(C)
  2.1699 -     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  2.1700 +     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  2.1701       AC_LANG_POP])
  2.1702    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  2.1703      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  2.1704 @@ -918,38 +1669,75 @@
  2.1705      *64-bit*)
  2.1706        case $lt_cv_prog_gnu_ld in
  2.1707        yes*) LD="${LD-ld} -m elf64_sparc" ;;
  2.1708 -      *)    LD="${LD-ld} -64" ;;
  2.1709 +      *)
  2.1710 +	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  2.1711 +	  LD="${LD-ld} -64"
  2.1712 +	fi
  2.1713 +	;;
  2.1714        esac
  2.1715        ;;
  2.1716      esac
  2.1717    fi
  2.1718    rm -rf conftest*
  2.1719    ;;
  2.1720 -
  2.1721 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
  2.1722 -[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
  2.1723 -  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  2.1724 -  AC_CHECK_TOOL(AS, as, false)
  2.1725 -  AC_CHECK_TOOL(OBJDUMP, objdump, false)
  2.1726 -  ;;
  2.1727 -  ])
  2.1728  esac
  2.1729  
  2.1730  need_locks="$enable_libtool_lock"
  2.1731 -
  2.1732 -])# _LT_AC_LOCK
  2.1733 -
  2.1734 -
  2.1735 -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  2.1736 +])# _LT_ENABLE_LOCK
  2.1737 +
  2.1738 +
  2.1739 +# _LT_CMD_OLD_ARCHIVE
  2.1740 +# -------------------
  2.1741 +m4_defun([_LT_CMD_OLD_ARCHIVE],
  2.1742 +[AC_CHECK_TOOL(AR, ar, false)
  2.1743 +test -z "$AR" && AR=ar
  2.1744 +test -z "$AR_FLAGS" && AR_FLAGS=cru
  2.1745 +_LT_DECL([], [AR], [1], [The archiver])
  2.1746 +_LT_DECL([], [AR_FLAGS], [1])
  2.1747 +
  2.1748 +AC_CHECK_TOOL(STRIP, strip, :)
  2.1749 +test -z "$STRIP" && STRIP=:
  2.1750 +_LT_DECL([], [STRIP], [1], [A symbol stripping program])
  2.1751 +
  2.1752 +AC_CHECK_TOOL(RANLIB, ranlib, :)
  2.1753 +test -z "$RANLIB" && RANLIB=:
  2.1754 +_LT_DECL([], [RANLIB], [1],
  2.1755 +    [Commands used to install an old-style archive])
  2.1756 +
  2.1757 +# Determine commands to create old-style static archives.
  2.1758 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  2.1759 +old_postinstall_cmds='chmod 644 $oldlib'
  2.1760 +old_postuninstall_cmds=
  2.1761 +
  2.1762 +if test -n "$RANLIB"; then
  2.1763 +  case $host_os in
  2.1764 +  openbsd*)
  2.1765 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  2.1766 +    ;;
  2.1767 +  *)
  2.1768 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  2.1769 +    ;;
  2.1770 +  esac
  2.1771 +  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  2.1772 +fi
  2.1773 +_LT_DECL([], [old_postinstall_cmds], [2])
  2.1774 +_LT_DECL([], [old_postuninstall_cmds], [2])
  2.1775 +_LT_TAGDECL([], [old_archive_cmds], [2],
  2.1776 +    [Commands used to build an old-style archive])
  2.1777 +])# _LT_CMD_OLD_ARCHIVE
  2.1778 +
  2.1779 +
  2.1780 +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  2.1781  #		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
  2.1782  # ----------------------------------------------------------------
  2.1783  # Check whether the given compiler option works
  2.1784 -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
  2.1785 -[AC_REQUIRE([LT_AC_PROG_SED])
  2.1786 +AC_DEFUN([_LT_COMPILER_OPTION],
  2.1787 +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2.1788 +m4_require([_LT_DECL_SED])dnl
  2.1789  AC_CACHE_CHECK([$1], [$2],
  2.1790    [$2=no
  2.1791 -  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  2.1792 -   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  2.1793 +   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  2.1794 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  2.1795     lt_compiler_flag="$3"
  2.1796     # Insert the option either (1) after the last *FLAGS variable, or
  2.1797     # (2) before a word containing "conftest.", or (3) at the end.
  2.1798 @@ -968,40 +1756,47 @@
  2.1799     if (exit $ac_status) && test -s "$ac_outfile"; then
  2.1800       # The compiler can only warn and ignore the option if not recognized
  2.1801       # So say no if there are warnings other than the usual output.
  2.1802 -     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  2.1803 +     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  2.1804       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  2.1805       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  2.1806         $2=yes
  2.1807       fi
  2.1808     fi
  2.1809 -   $rm conftest*
  2.1810 +   $RM conftest*
  2.1811  ])
  2.1812  
  2.1813  if test x"[$]$2" = xyes; then
  2.1814 -    ifelse([$5], , :, [$5])
  2.1815 +    m4_if([$5], , :, [$5])
  2.1816  else
  2.1817 -    ifelse([$6], , :, [$6])
  2.1818 +    m4_if([$6], , :, [$6])
  2.1819  fi
  2.1820 -])# AC_LIBTOOL_COMPILER_OPTION
  2.1821 -
  2.1822 -
  2.1823 -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  2.1824 -#                          [ACTION-SUCCESS], [ACTION-FAILURE])
  2.1825 -# ------------------------------------------------------------
  2.1826 -# Check whether the given compiler option works
  2.1827 -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
  2.1828 -[AC_CACHE_CHECK([$1], [$2],
  2.1829 +])# _LT_COMPILER_OPTION
  2.1830 +
  2.1831 +# Old name:
  2.1832 +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
  2.1833 +dnl aclocal-1.4 backwards compatibility:
  2.1834 +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
  2.1835 +
  2.1836 +
  2.1837 +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  2.1838 +#                  [ACTION-SUCCESS], [ACTION-FAILURE])
  2.1839 +# ----------------------------------------------------
  2.1840 +# Check whether the given linker option works
  2.1841 +AC_DEFUN([_LT_LINKER_OPTION],
  2.1842 +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2.1843 +m4_require([_LT_DECL_SED])dnl
  2.1844 +AC_CACHE_CHECK([$1], [$2],
  2.1845    [$2=no
  2.1846     save_LDFLAGS="$LDFLAGS"
  2.1847     LDFLAGS="$LDFLAGS $3"
  2.1848 -   printf "$lt_simple_link_test_code" > conftest.$ac_ext
  2.1849 +   echo "$lt_simple_link_test_code" > conftest.$ac_ext
  2.1850     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  2.1851       # The linker can only warn and ignore the option if not recognized
  2.1852       # So say no if there are warnings
  2.1853       if test -s conftest.err; then
  2.1854         # Append any errors to the config.log.
  2.1855         cat conftest.err 1>&AS_MESSAGE_LOG_FD
  2.1856 -       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  2.1857 +       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  2.1858         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  2.1859         if diff conftest.exp conftest.er2 >/dev/null; then
  2.1860           $2=yes
  2.1861 @@ -1010,22 +1805,28 @@
  2.1862         $2=yes
  2.1863       fi
  2.1864     fi
  2.1865 -   $rm conftest*
  2.1866 +   $RM -r conftest*
  2.1867     LDFLAGS="$save_LDFLAGS"
  2.1868  ])
  2.1869  
  2.1870  if test x"[$]$2" = xyes; then
  2.1871 -    ifelse([$4], , :, [$4])
  2.1872 +    m4_if([$4], , :, [$4])
  2.1873  else
  2.1874 -    ifelse([$5], , :, [$5])
  2.1875 +    m4_if([$5], , :, [$5])
  2.1876  fi
  2.1877 -])# AC_LIBTOOL_LINKER_OPTION
  2.1878 -
  2.1879 -
  2.1880 -# AC_LIBTOOL_SYS_MAX_CMD_LEN
  2.1881 -# --------------------------
  2.1882 -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
  2.1883 -[# find the maximum length of command line arguments
  2.1884 +])# _LT_LINKER_OPTION
  2.1885 +
  2.1886 +# Old name:
  2.1887 +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
  2.1888 +dnl aclocal-1.4 backwards compatibility:
  2.1889 +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
  2.1890 +
  2.1891 +
  2.1892 +# LT_CMD_MAX_LEN
  2.1893 +#---------------
  2.1894 +AC_DEFUN([LT_CMD_MAX_LEN],
  2.1895 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2.1896 +# find the maximum length of command line arguments
  2.1897  AC_MSG_CHECKING([the maximum length of command line arguments])
  2.1898  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  2.1899    i=0
  2.1900 @@ -1047,7 +1848,7 @@
  2.1901      lt_cv_sys_max_cmd_len=-1;
  2.1902      ;;
  2.1903  
  2.1904 -  cygwin* | mingw*)
  2.1905 +  cygwin* | mingw* | cegcc*)
  2.1906      # On Win9x/ME, this test blows up -- it succeeds, but takes
  2.1907      # about 5 minutes as the teststring grows exponentially.
  2.1908      # Worse, since 9x/ME are not pre-emptively multitasking,
  2.1909 @@ -1108,30 +1909,41 @@
  2.1910    sysv5* | sco5v6* | sysv4.2uw2*)
  2.1911      kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  2.1912      if test -n "$kargmax"; then
  2.1913 -      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ 	]]//'`
  2.1914 +      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[	 ]]//'`
  2.1915      else
  2.1916        lt_cv_sys_max_cmd_len=32768
  2.1917      fi
  2.1918      ;;
  2.1919    *)
  2.1920 -    # If test is not a shell built-in, we'll probably end up computing a
  2.1921 -    # maximum length that is only half of the actual maximum length, but
  2.1922 -    # we can't tell.
  2.1923 -    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  2.1924 -    while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
  2.1925 -	       = "XX$teststring") >/dev/null 2>&1 &&
  2.1926 -	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
  2.1927 -	    lt_cv_sys_max_cmd_len=$new_result &&
  2.1928 -	    test $i != 17 # 1/2 MB should be enough
  2.1929 -    do
  2.1930 -      i=`expr $i + 1`
  2.1931 -      teststring=$teststring$teststring
  2.1932 -    done
  2.1933 -    teststring=
  2.1934 -    # Add a significant safety factor because C++ compilers can tack on massive
  2.1935 -    # amounts of additional arguments before passing them to the linker.
  2.1936 -    # It appears as though 1/2 is a usable value.
  2.1937 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  2.1938 +    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  2.1939 +    if test -n "$lt_cv_sys_max_cmd_len"; then
  2.1940 +      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  2.1941 +      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  2.1942 +    else
  2.1943 +      # Make teststring a little bigger before we do anything with it.
  2.1944 +      # a 1K string should be a reasonable start.
  2.1945 +      for i in 1 2 3 4 5 6 7 8 ; do
  2.1946 +        teststring=$teststring$teststring
  2.1947 +      done
  2.1948 +      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  2.1949 +      # If test is not a shell built-in, we'll probably end up computing a
  2.1950 +      # maximum length that is only half of the actual maximum length, but
  2.1951 +      # we can't tell.
  2.1952 +      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  2.1953 +	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  2.1954 +	      test $i != 17 # 1/2 MB should be enough
  2.1955 +      do
  2.1956 +        i=`expr $i + 1`
  2.1957 +        teststring=$teststring$teststring
  2.1958 +      done
  2.1959 +      # Only check the string length outside the loop.
  2.1960 +      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  2.1961 +      teststring=
  2.1962 +      # Add a significant safety factor because C++ compilers can tack on
  2.1963 +      # massive amounts of additional arguments before passing them to the
  2.1964 +      # linker.  It appears as though 1/2 is a usable value.
  2.1965 +      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  2.1966 +    fi
  2.1967      ;;
  2.1968    esac
  2.1969  ])
  2.1970 @@ -1140,27 +1952,35 @@
  2.1971  else
  2.1972    AC_MSG_RESULT(none)
  2.1973  fi
  2.1974 -])# AC_LIBTOOL_SYS_MAX_CMD_LEN
  2.1975 -
  2.1976 -
  2.1977 -# _LT_AC_CHECK_DLFCN
  2.1978 -# ------------------
  2.1979 -AC_DEFUN([_LT_AC_CHECK_DLFCN],
  2.1980 -[AC_CHECK_HEADERS(dlfcn.h)dnl
  2.1981 -])# _LT_AC_CHECK_DLFCN
  2.1982 -
  2.1983 -
  2.1984 -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  2.1985 -#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  2.1986 -# ---------------------------------------------------------------------
  2.1987 -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
  2.1988 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  2.1989 +max_cmd_len=$lt_cv_sys_max_cmd_len
  2.1990 +_LT_DECL([], [max_cmd_len], [0],
  2.1991 +    [What is the maximum length of a command?])
  2.1992 +])# LT_CMD_MAX_LEN
  2.1993 +
  2.1994 +# Old name:
  2.1995 +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
  2.1996 +dnl aclocal-1.4 backwards compatibility:
  2.1997 +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
  2.1998 +
  2.1999 +
  2.2000 +# _LT_HEADER_DLFCN
  2.2001 +# ----------------
  2.2002 +m4_defun([_LT_HEADER_DLFCN],
  2.2003 +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
  2.2004 +])# _LT_HEADER_DLFCN
  2.2005 +
  2.2006 +
  2.2007 +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  2.2008 +#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  2.2009 +# ----------------------------------------------------------------
  2.2010 +m4_defun([_LT_TRY_DLOPEN_SELF],
  2.2011 +[m4_require([_LT_HEADER_DLFCN])dnl
  2.2012  if test "$cross_compiling" = yes; then :
  2.2013    [$4]
  2.2014  else
  2.2015    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  2.2016    lt_status=$lt_dlunknown
  2.2017 -  cat > conftest.$ac_ext <<EOF
  2.2018 +  cat > conftest.$ac_ext <<_LT_EOF
  2.2019  [#line __oline__ "configure"
  2.2020  #include "confdefs.h"
  2.2021  
  2.2022 @@ -1202,10 +2022,6 @@
  2.2023  #  endif
  2.2024  #endif
  2.2025  
  2.2026 -#ifdef __cplusplus
  2.2027 -extern "C" void exit (int);
  2.2028 -#endif
  2.2029 -
  2.2030  void fnord() { int i=42;}
  2.2031  int main ()
  2.2032  {
  2.2033 @@ -1221,9 +2037,9 @@
  2.2034    else
  2.2035      puts (dlerror ());
  2.2036  
  2.2037 -    exit (status);
  2.2038 +  return status;
  2.2039  }]
  2.2040 -EOF
  2.2041 +_LT_EOF
  2.2042    if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  2.2043      (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  2.2044      lt_status=$?
  2.2045 @@ -1238,13 +2054,13 @@
  2.2046    fi
  2.2047  fi
  2.2048  rm -fr conftest*
  2.2049 -])# _LT_AC_TRY_DLOPEN_SELF
  2.2050 -
  2.2051 -
  2.2052 -# AC_LIBTOOL_DLOPEN_SELF
  2.2053 -# ----------------------
  2.2054 -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
  2.2055 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  2.2056 +])# _LT_TRY_DLOPEN_SELF
  2.2057 +
  2.2058 +
  2.2059 +# LT_SYS_DLOPEN_SELF
  2.2060 +# ------------------
  2.2061 +AC_DEFUN([LT_SYS_DLOPEN_SELF],
  2.2062 +[m4_require([_LT_HEADER_DLFCN])dnl
  2.2063  if test "x$enable_dlopen" != xyes; then
  2.2064    enable_dlopen=unknown
  2.2065    enable_dlopen_self=unknown
  2.2066 @@ -1260,15 +2076,15 @@
  2.2067      lt_cv_dlopen_self=yes
  2.2068      ;;
  2.2069  
  2.2070 -  mingw* | pw32*)
  2.2071 +  mingw* | pw32* | cegcc*)
  2.2072      lt_cv_dlopen="LoadLibrary"
  2.2073      lt_cv_dlopen_libs=
  2.2074 -   ;;
  2.2075 +    ;;
  2.2076  
  2.2077    cygwin*)
  2.2078      lt_cv_dlopen="dlopen"
  2.2079      lt_cv_dlopen_libs=
  2.2080 -   ;;
  2.2081 +    ;;
  2.2082  
  2.2083    darwin*)
  2.2084    # if libdl is installed we need to link against it
  2.2085 @@ -1278,13 +2094,13 @@
  2.2086      lt_cv_dlopen_libs=
  2.2087      lt_cv_dlopen_self=yes
  2.2088      ])
  2.2089 -   ;;
  2.2090 +    ;;
  2.2091  
  2.2092    *)
  2.2093      AC_CHECK_FUNC([shl_load],
  2.2094  	  [lt_cv_dlopen="shl_load"],
  2.2095        [AC_CHECK_LIB([dld], [shl_load],
  2.2096 -	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
  2.2097 +	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
  2.2098  	[AC_CHECK_FUNC([dlopen],
  2.2099  	      [lt_cv_dlopen="dlopen"],
  2.2100  	  [AC_CHECK_LIB([dl], [dlopen],
  2.2101 @@ -1292,7 +2108,7 @@
  2.2102  	    [AC_CHECK_LIB([svld], [dlopen],
  2.2103  		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  2.2104  	      [AC_CHECK_LIB([dld], [dld_link],
  2.2105 -		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
  2.2106 +		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
  2.2107  	      ])
  2.2108  	    ])
  2.2109  	  ])
  2.2110 @@ -1320,7 +2136,7 @@
  2.2111  
  2.2112      AC_CACHE_CHECK([whether a program can dlopen itself],
  2.2113  	  lt_cv_dlopen_self, [dnl
  2.2114 -	  _LT_AC_TRY_DLOPEN_SELF(
  2.2115 +	  _LT_TRY_DLOPEN_SELF(
  2.2116  	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  2.2117  	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  2.2118      ])
  2.2119 @@ -1328,8 +2144,8 @@
  2.2120      if test "x$lt_cv_dlopen_self" = xyes; then
  2.2121        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  2.2122        AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  2.2123 -    	  lt_cv_dlopen_self_static, [dnl
  2.2124 -	  _LT_AC_TRY_DLOPEN_SELF(
  2.2125 +	  lt_cv_dlopen_self_static, [dnl
  2.2126 +	  _LT_TRY_DLOPEN_SELF(
  2.2127  	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  2.2128  	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
  2.2129        ])
  2.2130 @@ -1351,22 +2167,36 @@
  2.2131    *) enable_dlopen_self_static=unknown ;;
  2.2132    esac
  2.2133  fi
  2.2134 -])# AC_LIBTOOL_DLOPEN_SELF
  2.2135 -
  2.2136 -
  2.2137 -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
  2.2138 -# ---------------------------------
  2.2139 -# Check to see if options -c and -o are simultaneously supported by compiler
  2.2140 -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
  2.2141 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
  2.2142 +_LT_DECL([dlopen_support], [enable_dlopen], [0],
  2.2143 +	 [Whether dlopen is supported])
  2.2144 +_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  2.2145 +	 [Whether dlopen of programs is supported])
  2.2146 +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  2.2147 +	 [Whether dlopen of statically linked programs is supported])
  2.2148 +])# LT_SYS_DLOPEN_SELF
  2.2149 +
  2.2150 +# Old name:
  2.2151 +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
  2.2152 +dnl aclocal-1.4 backwards compatibility:
  2.2153 +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
  2.2154 +
  2.2155 +
  2.2156 +# _LT_COMPILER_C_O([TAGNAME])
  2.2157 +# ---------------------------
  2.2158 +# Check to see if options -c and -o are simultaneously supported by compiler.
  2.2159 +# This macro does not hard code the compiler like AC_PROG_CC_C_O.
  2.2160 +m4_defun([_LT_COMPILER_C_O],
  2.2161 +[m4_require([_LT_DECL_SED])dnl
  2.2162 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2.2163 +m4_require([_LT_TAG_COMPILER])dnl
  2.2164  AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
  2.2165 -  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  2.2166 -  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  2.2167 -   $rm -r conftest 2>/dev/null
  2.2168 +  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  2.2169 +  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  2.2170 +   $RM -r conftest 2>/dev/null
  2.2171     mkdir conftest
  2.2172     cd conftest
  2.2173     mkdir out
  2.2174 -   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  2.2175 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  2.2176  
  2.2177     lt_compiler_flag="-o out/conftest2.$ac_objext"
  2.2178     # Insert the option either (1) after the last *FLAGS variable, or
  2.2179 @@ -1386,37 +2216,41 @@
  2.2180     then
  2.2181       # The compiler can only warn and ignore the option if not recognized
  2.2182       # So say no if there are warnings
  2.2183 -     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  2.2184 +     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  2.2185       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  2.2186       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  2.2187 -       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  2.2188 +       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  2.2189       fi
  2.2190     fi
  2.2191     chmod u+w . 2>&AS_MESSAGE_LOG_FD
  2.2192 -   $rm conftest*
  2.2193 +   $RM conftest*
  2.2194     # SGI C++ compiler will create directory out/ii_files/ for
  2.2195     # template instantiation
  2.2196 -   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  2.2197 -   $rm out/* && rmdir out
  2.2198 +   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  2.2199 +   $RM out/* && rmdir out
  2.2200     cd ..
  2.2201 -   rmdir conftest
  2.2202 -   $rm conftest*
  2.2203 +   $RM -r conftest
  2.2204 +   $RM conftest*
  2.2205  ])
  2.2206 -])# AC_LIBTOOL_PROG_CC_C_O
  2.2207 -
  2.2208 -
  2.2209 -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
  2.2210 -# -----------------------------------------
  2.2211 +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
  2.2212 +	[Does compiler simultaneously support -c and -o options?])
  2.2213 +])# _LT_COMPILER_C_O
  2.2214 +
  2.2215 +
  2.2216 +# _LT_COMPILER_FILE_LOCKS([TAGNAME])
  2.2217 +# ----------------------------------
  2.2218  # Check to see if we can do hard links to lock some files if needed
  2.2219 -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
  2.2220 -[AC_REQUIRE([_LT_AC_LOCK])dnl
  2.2221 +m4_defun([_LT_COMPILER_FILE_LOCKS],
  2.2222 +[m4_require([_LT_ENABLE_LOCK])dnl
  2.2223 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2.2224 +_LT_COMPILER_C_O([$1])
  2.2225  
  2.2226  hard_links="nottested"
  2.2227 -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  2.2228 +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  2.2229    # do not overwrite the value of need_locks provided by the user
  2.2230    AC_MSG_CHECKING([if we can lock with hard links])
  2.2231    hard_links=yes
  2.2232 -  $rm conftest*
  2.2233 +  $RM conftest*
  2.2234    ln conftest.a conftest.b 2>/dev/null && hard_links=no
  2.2235    touch conftest.a
  2.2236    ln conftest.a conftest.b 2>&5 || hard_links=no
  2.2237 @@ -1429,12 +2263,13 @@
  2.2238  else
  2.2239    need_locks=no
  2.2240  fi
  2.2241 -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
  2.2242 -
  2.2243 -
  2.2244 -# AC_LIBTOOL_OBJDIR
  2.2245 -# -----------------
  2.2246 -AC_DEFUN([AC_LIBTOOL_OBJDIR],
  2.2247 +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
  2.2248 +])# _LT_COMPILER_FILE_LOCKS
  2.2249 +
  2.2250 +
  2.2251 +# _LT_CHECK_OBJDIR
  2.2252 +# ----------------
  2.2253 +m4_defun([_LT_CHECK_OBJDIR],
  2.2254  [AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
  2.2255  [rm -f .libs 2>/dev/null
  2.2256  mkdir .libs 2>/dev/null
  2.2257 @@ -1446,40 +2281,46 @@
  2.2258  fi
  2.2259  rmdir .libs 2>/dev/null])
  2.2260  objdir=$lt_cv_objdir
  2.2261 -])# AC_LIBTOOL_OBJDIR
  2.2262 -
  2.2263 -
  2.2264 -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
  2.2265 -# ----------------------------------------------
  2.2266 +_LT_DECL([], [objdir], [0],
  2.2267 +         [The name of the directory that contains temporary libtool files])dnl
  2.2268 +m4_pattern_allow([LT_OBJDIR])dnl
  2.2269 +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
  2.2270 +  [Define to the sub-directory in which libtool stores uninstalled libraries.])
  2.2271 +])# _LT_CHECK_OBJDIR
  2.2272 +
  2.2273 +
  2.2274 +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
  2.2275 +# --------------------------------------
  2.2276  # Check hardcoding attributes.
  2.2277 -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
  2.2278 +m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
  2.2279  [AC_MSG_CHECKING([how to hardcode library paths into programs])
  2.2280 -_LT_AC_TAGVAR(hardcode_action, $1)=
  2.2281 -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
  2.2282 -   test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
  2.2283 -   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  2.2284 -
  2.2285 -  # We can hardcode non-existant directories.
  2.2286 -  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
  2.2287 +_LT_TAGVAR(hardcode_action, $1)=
  2.2288 +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
  2.2289 +   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
  2.2290 +   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  2.2291 +
  2.2292 +  # We can hardcode non-existent directories.
  2.2293 +  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
  2.2294       # If the only mechanism to avoid hardcoding is shlibpath_var, we
  2.2295       # have to relink, otherwise we might link with an installed library
  2.2296       # when we should be linking with a yet-to-be-installed one
  2.2297 -     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  2.2298 -     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
  2.2299 +     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  2.2300 +     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
  2.2301      # Linking always hardcodes the temporary library directory.
  2.2302 -    _LT_AC_TAGVAR(hardcode_action, $1)=relink
  2.2303 +    _LT_TAGVAR(hardcode_action, $1)=relink
  2.2304    else
  2.2305      # We can link without hardcoding, and we can hardcode nonexisting dirs.
  2.2306 -    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
  2.2307 +    _LT_TAGVAR(hardcode_action, $1)=immediate
  2.2308    fi
  2.2309  else
  2.2310    # We cannot hardcode anything, or else we can only hardcode existing
  2.2311    # directories.
  2.2312 -  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
  2.2313 +  _LT_TAGVAR(hardcode_action, $1)=unsupported
  2.2314  fi
  2.2315 -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
  2.2316 -
  2.2317 -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
  2.2318 +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
  2.2319 +
  2.2320 +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
  2.2321 +   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
  2.2322    # Fast installation is not supported
  2.2323    enable_fast_install=no
  2.2324  elif test "$shlibpath_overrides_runpath" = yes ||
  2.2325 @@ -1487,43 +2328,107 @@
  2.2326    # Fast installation is not necessary
  2.2327    enable_fast_install=needless
  2.2328  fi
  2.2329 -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
  2.2330 -
  2.2331 -
  2.2332 -# AC_LIBTOOL_SYS_LIB_STRIP
  2.2333 -# ------------------------
  2.2334 -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
  2.2335 -[striplib=
  2.2336 +_LT_TAGDECL([], [hardcode_action], [0],
  2.2337 +    [How to hardcode a shared library path into an executable])
  2.2338 +])# _LT_LINKER_HARDCODE_LIBPATH
  2.2339 +
  2.2340 +
  2.2341 +# _LT_CMD_STRIPLIB
  2.2342 +# ----------------
  2.2343 +m4_defun([_LT_CMD_STRIPLIB],
  2.2344 +[m4_require([_LT_DECL_EGREP])
  2.2345 +striplib=
  2.2346  old_striplib=
  2.2347  AC_MSG_CHECKING([whether stripping libraries is possible])
  2.2348 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  2.2349 +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  2.2350    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  2.2351    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  2.2352    AC_MSG_RESULT([yes])
  2.2353  else
  2.2354  # FIXME - insert some real tests, host_os isn't really good enough
  2.2355    case $host_os in
  2.2356 -   darwin*)
  2.2357 -       if test -n "$STRIP" ; then
  2.2358 -         striplib="$STRIP -x"
  2.2359 -         AC_MSG_RESULT([yes])
  2.2360 -       else
  2.2361 -  AC_MSG_RESULT([no])
  2.2362 -fi
  2.2363 -       ;;
  2.2364 -   *)
  2.2365 -  AC_MSG_RESULT([no])
  2.2366 +  darwin*)
  2.2367 +    if test -n "$STRIP" ; then
  2.2368 +      striplib="$STRIP -x"
  2.2369 +      old_striplib="$STRIP -S"
  2.2370 +      AC_MSG_RESULT([yes])
  2.2371 +    else
  2.2372 +      AC_MSG_RESULT([no])
  2.2373 +    fi
  2.2374 +    ;;
  2.2375 +  *)
  2.2376 +    AC_MSG_RESULT([no])
  2.2377      ;;
  2.2378    esac
  2.2379  fi
  2.2380 -])# AC_LIBTOOL_SYS_LIB_STRIP
  2.2381 -
  2.2382 -
  2.2383 -# AC_LIBTOOL_SYS_DYNAMIC_LINKER
  2.2384 +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
  2.2385 +_LT_DECL([], [striplib], [1])
  2.2386 +])# _LT_CMD_STRIPLIB
  2.2387 +
  2.2388 +
  2.2389 +# _LT_SYS_DYNAMIC_LINKER([TAG])
  2.2390  # -----------------------------
  2.2391  # PORTME Fill in your ld.so characteristics
  2.2392 -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
  2.2393 -[AC_MSG_CHECKING([dynamic linker characteristics])
  2.2394 +m4_defun([_LT_SYS_DYNAMIC_LINKER],
  2.2395 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2.2396 +m4_require([_LT_DECL_EGREP])dnl
  2.2397 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2.2398 +m4_require([_LT_DECL_OBJDUMP])dnl
  2.2399 +m4_require([_LT_DECL_SED])dnl
  2.2400 +AC_MSG_CHECKING([dynamic linker characteristics])
  2.2401 +m4_if([$1],
  2.2402 +	[], [
  2.2403 +if test "$GCC" = yes; then
  2.2404 +  case $host_os in
  2.2405 +    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  2.2406 +    *) lt_awk_arg="/^libraries:/" ;;
  2.2407 +  esac
  2.2408 +  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2.2409 +  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  2.2410 +    # if the path contains ";" then we assume it to be the separator
  2.2411 +    # otherwise default to the standard path separator (i.e. ":") - it is
  2.2412 +    # assumed that no part of a normal pathname contains ";" but that should
  2.2413 +    # okay in the real world where ";" in dirpaths is itself problematic.
  2.2414 +    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  2.2415 +  else
  2.2416 +    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  2.2417 +  fi
  2.2418 +  # Ok, now we have the path, separated by spaces, we can step through it
  2.2419 +  # and add multilib dir if necessary.
  2.2420 +  lt_tmp_lt_search_path_spec=
  2.2421 +  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  2.2422 +  for lt_sys_path in $lt_search_path_spec; do
  2.2423 +    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  2.2424 +      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  2.2425 +    else
  2.2426 +      test -d "$lt_sys_path" && \
  2.2427 +	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  2.2428 +    fi
  2.2429 +  done
  2.2430 +  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  2.2431 +BEGIN {RS=" "; FS="/|\n";} {
  2.2432 +  lt_foo="";
  2.2433 +  lt_count=0;
  2.2434 +  for (lt_i = NF; lt_i > 0; lt_i--) {
  2.2435 +    if ($lt_i != "" && $lt_i != ".") {
  2.2436 +      if ($lt_i == "..") {
  2.2437 +        lt_count++;
  2.2438 +      } else {
  2.2439 +        if (lt_count == 0) {
  2.2440 +          lt_foo="/" $lt_i lt_foo;
  2.2441 +        } else {
  2.2442 +          lt_count--;
  2.2443 +        }
  2.2444 +      }
  2.2445 +    }
  2.2446 +  }
  2.2447 +  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
  2.2448 +  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
  2.2449 +}'`
  2.2450 +  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  2.2451 +else
  2.2452 +  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  2.2453 +fi])
  2.2454  library_names_spec=
  2.2455  libname_spec='lib$name'
  2.2456  soname_spec=
  2.2457 @@ -1537,20 +2442,6 @@
  2.2458  version_type=none
  2.2459  dynamic_linker="$host_os ld.so"
  2.2460  sys_lib_dlsearch_path_spec="/lib /usr/lib"
  2.2461 -if test "$GCC" = yes; then
  2.2462 -  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2.2463 -  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
  2.2464 -    # if the path contains ";" then we assume it to be the separator
  2.2465 -    # otherwise default to the standard path separator (i.e. ":") - it is
  2.2466 -    # assumed that no part of a normal pathname contains ";" but that should
  2.2467 -    # okay in the real world where ";" in dirpaths is itself problematic.
  2.2468 -    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  2.2469 -  else
  2.2470 -    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  2.2471 -  fi
  2.2472 -else
  2.2473 -  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  2.2474 -fi
  2.2475  need_lib_prefix=unknown
  2.2476  hardcode_into_libs=no
  2.2477  
  2.2478 @@ -1568,7 +2459,7 @@
  2.2479    soname_spec='${libname}${release}${shared_ext}$major'
  2.2480    ;;
  2.2481  
  2.2482 -aix4* | aix5*)
  2.2483 +aix[[4-9]]*)
  2.2484    version_type=linux
  2.2485    need_lib_prefix=no
  2.2486    need_version=no
  2.2487 @@ -1587,7 +2478,7 @@
  2.2488        aix4 | aix4.[[01]] | aix4.[[01]].*)
  2.2489        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  2.2490  	   echo ' yes '
  2.2491 -	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  2.2492 +	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  2.2493  	:
  2.2494        else
  2.2495  	can_build_shared=no
  2.2496 @@ -1613,9 +2504,18 @@
  2.2497    ;;
  2.2498  
  2.2499  amigaos*)
  2.2500 -  library_names_spec='$libname.ixlibrary $libname.a'
  2.2501 -  # Create ${libname}_ixlibrary.a entries in /sys/libs.
  2.2502 -  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'
  2.2503 +  case $host_cpu in
  2.2504 +  powerpc)
  2.2505 +    # Since July 2007 AmigaOS4 officially supports .so libraries.
  2.2506 +    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  2.2507 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2.2508 +    ;;
  2.2509 +  m68k)
  2.2510 +    library_names_spec='$libname.ixlibrary $libname.a'
  2.2511 +    # Create ${libname}_ixlibrary.a entries in /sys/libs.
  2.2512 +    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'
  2.2513 +    ;;
  2.2514 +  esac
  2.2515    ;;
  2.2516  
  2.2517  beos*)
  2.2518 @@ -1638,25 +2538,28 @@
  2.2519    # libtool to hard-code these into programs
  2.2520    ;;
  2.2521  
  2.2522 -cygwin* | mingw* | pw32*)
  2.2523 +cygwin* | mingw* | pw32* | cegcc*)
  2.2524    version_type=windows
  2.2525    shrext_cmds=".dll"
  2.2526    need_version=no
  2.2527    need_lib_prefix=no
  2.2528  
  2.2529    case $GCC,$host_os in
  2.2530 -  yes,cygwin* | yes,mingw* | yes,pw32*)
  2.2531 +  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  2.2532      library_names_spec='$libname.dll.a'
  2.2533      # DLL is installed to $(libdir)/../bin by postinstall_cmds
  2.2534      postinstall_cmds='base_file=`basename \${file}`~
  2.2535 -      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  2.2536 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  2.2537        dldir=$destdir/`dirname \$dlpath`~
  2.2538        test -d \$dldir || mkdir -p \$dldir~
  2.2539        $install_prog $dir/$dlname \$dldir/$dlname~
  2.2540 -      chmod a+x \$dldir/$dlname'
  2.2541 +      chmod a+x \$dldir/$dlname~
  2.2542 +      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  2.2543 +        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  2.2544 +      fi'
  2.2545      postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  2.2546        dlpath=$dir/\$dldll~
  2.2547 -       $rm \$dlpath'
  2.2548 +       $RM \$dlpath'
  2.2549      shlibpath_overrides_runpath=yes
  2.2550  
  2.2551      case $host_os in
  2.2552 @@ -1666,21 +2569,21 @@
  2.2553        soname_spec='`echo ${libname} | sed -e 's/^lib//'`${shared_ext}'
  2.2554        sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  2.2555        ;;
  2.2556 -    mingw*)
  2.2557 +    mingw* | cegcc*)
  2.2558        # MinGW DLLs use traditional 'lib' prefix
  2.2559        #soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2.2560 -      soname_spec='`echo ${libname} | sed -e 's/^lib//'`${shared_ext}'
  2.2561 -      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2.2562 -      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
  2.2563 +      soname_spec='`echo ${libname} | $SED -e 's/^lib//'`${shared_ext}'
  2.2564 +      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2.2565 +      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  2.2566          # It is most probably a Windows format PATH printed by
  2.2567          # mingw gcc, but we are running on Cygwin. Gcc prints its search
  2.2568          # path with ; separators, and with drive letters. We can handle the
  2.2569          # drive letters (cygwin fileutils understands them), so leave them,
  2.2570          # especially as we might pass files found there to a mingw objdump,
  2.2571          # which wouldn't understand a cygwinified path. Ahh.
  2.2572 -        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  2.2573 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  2.2574        else
  2.2575 -        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  2.2576 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  2.2577        fi
  2.2578        ;;
  2.2579      pw32*)
  2.2580 @@ -1704,17 +2607,13 @@
  2.2581    version_type=darwin
  2.2582    need_lib_prefix=no
  2.2583    need_version=no
  2.2584 -  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  2.2585 +  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  2.2586    soname_spec='${libname}${release}${major}$shared_ext'
  2.2587    shlibpath_overrides_runpath=yes
  2.2588    shlibpath_var=DYLD_LIBRARY_PATH
  2.2589    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  2.2590 -  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  2.2591 -  if test "$GCC" = yes; then
  2.2592 -    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"`
  2.2593 -  else
  2.2594 -    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
  2.2595 -  fi
  2.2596 +m4_if([$1], [],[
  2.2597 +  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
  2.2598    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  2.2599    ;;
  2.2600  
  2.2601 @@ -1731,18 +2630,6 @@
  2.2602    dynamic_linker=no
  2.2603    ;;
  2.2604  
  2.2605 -kfreebsd*-gnu)
  2.2606 -  version_type=linux
  2.2607 -  need_lib_prefix=no
  2.2608 -  need_version=no
  2.2609 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  2.2610 -  soname_spec='${libname}${release}${shared_ext}$major'
  2.2611 -  shlibpath_var=LD_LIBRARY_PATH
  2.2612 -  shlibpath_overrides_runpath=no
  2.2613 -  hardcode_into_libs=yes
  2.2614 -  dynamic_linker='GNU ld.so'
  2.2615 -  ;;
  2.2616 -
  2.2617  freebsd* | dragonfly*)
  2.2618    # DragonFly does not have aout.  When/if they implement a new
  2.2619    # versioning mechanism, adjust this.
  2.2620 @@ -1780,7 +2667,7 @@
  2.2621      shlibpath_overrides_runpath=no
  2.2622      hardcode_into_libs=yes
  2.2623      ;;
  2.2624 -  freebsd*) # from 4.6 on
  2.2625 +  *) # from 4.6 on, and DragonFly
  2.2626      shlibpath_overrides_runpath=yes
  2.2627      hardcode_into_libs=yes
  2.2628      ;;
  2.2629 @@ -1819,18 +2706,18 @@
  2.2630      fi
  2.2631      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2.2632      ;;
  2.2633 -   hppa*64*)
  2.2634 -     shrext_cmds='.sl'
  2.2635 -     hardcode_into_libs=yes
  2.2636 -     dynamic_linker="$host_os dld.sl"
  2.2637 -     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  2.2638 -     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  2.2639 -     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2.2640 -     soname_spec='${libname}${release}${shared_ext}$major'
  2.2641 -     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  2.2642 -     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2.2643 -     ;;
  2.2644 -   *)
  2.2645 +  hppa*64*)
  2.2646 +    shrext_cmds='.sl'
  2.2647 +    hardcode_into_libs=yes
  2.2648 +    dynamic_linker="$host_os dld.sl"
  2.2649 +    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  2.2650 +    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  2.2651 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2.2652 +    soname_spec='${libname}${release}${shared_ext}$major'
  2.2653 +    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  2.2654 +    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2.2655 +    ;;
  2.2656 +  *)
  2.2657      shrext_cmds='.sl'
  2.2658      dynamic_linker="$host_os dld.sl"
  2.2659      shlibpath_var=SHLIB_PATH
  2.2660 @@ -1843,7 +2730,7 @@
  2.2661    postinstall_cmds='chmod 555 $lib'
  2.2662    ;;
  2.2663  
  2.2664 -interix3*)
  2.2665 +interix[[3-9]]*)
  2.2666    version_type=linux
  2.2667    need_lib_prefix=no
  2.2668    need_version=no
  2.2669 @@ -1898,7 +2785,7 @@
  2.2670    ;;
  2.2671  
  2.2672  # This must be Linux ELF.
  2.2673 -linux*)
  2.2674 +linux* | k*bsd*-gnu)
  2.2675    version_type=linux
  2.2676    need_lib_prefix=no
  2.2677    need_version=no
  2.2678 @@ -1907,6 +2794,17 @@
  2.2679    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  2.2680    shlibpath_var=LD_LIBRARY_PATH
  2.2681    shlibpath_overrides_runpath=no
  2.2682 +  # Some binutils ld are patched to set DT_RUNPATH
  2.2683 +  save_LDFLAGS=$LDFLAGS
  2.2684 +  save_libdir=$libdir
  2.2685 +  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  2.2686 +       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  2.2687 +  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  2.2688 +    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  2.2689 +       [shlibpath_overrides_runpath=yes])])
  2.2690 +  LDFLAGS=$save_LDFLAGS
  2.2691 +  libdir=$save_libdir
  2.2692 +
  2.2693    # This implies no fast_install, which is unacceptable.
  2.2694    # Some rework will be needed to allow for fast_install
  2.2695    # before this can be enabled.
  2.2696 @@ -1914,7 +2812,7 @@
  2.2697  
  2.2698    # Append ld.so.conf contents to the search path
  2.2699    if test -f /etc/ld.so.conf; then
  2.2700 -    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  2.2701 +    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  2.2702      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  2.2703    fi
  2.2704  
  2.2705 @@ -1927,23 +2825,11 @@
  2.2706    dynamic_linker='GNU/Linux ld.so'
  2.2707    ;;
  2.2708  
  2.2709 -knetbsd*-gnu)
  2.2710 -  version_type=linux
  2.2711 -  need_lib_prefix=no
  2.2712 -  need_version=no
  2.2713 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  2.2714 -  soname_spec='${libname}${release}${shared_ext}$major'
  2.2715 -  shlibpath_var=LD_LIBRARY_PATH
  2.2716 -  shlibpath_overrides_runpath=no
  2.2717 -  hardcode_into_libs=yes
  2.2718 -  dynamic_linker='GNU ld.so'
  2.2719 -  ;;
  2.2720 -
  2.2721  netbsd*)
  2.2722    version_type=sunos
  2.2723    need_lib_prefix=no
  2.2724    need_version=no
  2.2725 -  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  2.2726 +  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  2.2727      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2.2728      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  2.2729      dynamic_linker='NetBSD (a.out) ld.so'
  2.2730 @@ -1964,14 +2850,16 @@
  2.2731    shlibpath_overrides_runpath=yes
  2.2732    ;;
  2.2733  
  2.2734 -nto-qnx*)
  2.2735 -  version_type=linux
  2.2736 +*nto* | *qnx*)
  2.2737 +  version_type=qnx
  2.2738    need_lib_prefix=no
  2.2739    need_version=no
  2.2740    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2.2741    soname_spec='${libname}${release}${shared_ext}$major'
  2.2742    shlibpath_var=LD_LIBRARY_PATH
  2.2743 -  shlibpath_overrides_runpath=yes
  2.2744 +  shlibpath_overrides_runpath=no
  2.2745 +  hardcode_into_libs=yes
  2.2746 +  dynamic_linker='ldqnx.so'
  2.2747    ;;
  2.2748  
  2.2749  openbsd*)
  2.2750 @@ -1980,13 +2868,13 @@
  2.2751    need_lib_prefix=no
  2.2752    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  2.2753    case $host_os in
  2.2754 -    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  2.2755 -    *)                         need_version=no  ;;
  2.2756 +    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
  2.2757 +    *)				need_version=no  ;;
  2.2758    esac
  2.2759    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2.2760    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  2.2761    shlibpath_var=LD_LIBRARY_PATH
  2.2762 -  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2.2763 +  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2.2764      case $host_os in
  2.2765        openbsd2.[[89]] | openbsd2.[[89]].*)
  2.2766  	shlibpath_overrides_runpath=no
  2.2767 @@ -2020,6 +2908,10 @@
  2.2768    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  2.2769    ;;
  2.2770  
  2.2771 +rdos*)
  2.2772 +  dynamic_linker=no
  2.2773 +  ;;
  2.2774 +
  2.2775  solaris*)
  2.2776    version_type=linux
  2.2777    need_lib_prefix=no
  2.2778 @@ -2054,7 +2946,6 @@
  2.2779      sni)
  2.2780        shlibpath_overrides_runpath=no
  2.2781        need_lib_prefix=no
  2.2782 -      export_dynamic_flag_spec='${wl}-Blargedynsym'
  2.2783        runpath_var=LD_RUN_PATH
  2.2784        ;;
  2.2785      siemens)
  2.2786 @@ -2085,13 +2976,12 @@
  2.2787    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  2.2788    soname_spec='${libname}${release}${shared_ext}$major'
  2.2789    shlibpath_var=LD_LIBRARY_PATH
  2.2790 +  shlibpath_overrides_runpath=yes
  2.2791    hardcode_into_libs=yes
  2.2792    if test "$with_gnu_ld" = yes; then
  2.2793      sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  2.2794 -    shlibpath_overrides_runpath=no
  2.2795    else
  2.2796      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  2.2797 -    shlibpath_overrides_runpath=yes
  2.2798      case $host_os in
  2.2799        sco3.2v5*)
  2.2800          sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  2.2801 @@ -2101,6 +2991,17 @@
  2.2802    sys_lib_dlsearch_path_spec='/usr/lib'
  2.2803    ;;
  2.2804  
  2.2805 +tpf*)
  2.2806 +  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
  2.2807 +  version_type=linux
  2.2808 +  need_lib_prefix=no
  2.2809 +  need_version=no
  2.2810 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2.2811 +  shlibpath_var=LD_LIBRARY_PATH
  2.2812 +  shlibpath_overrides_runpath=no
  2.2813 +  hardcode_into_libs=yes
  2.2814 +  ;;
  2.2815 +
  2.2816  uts4*)
  2.2817    version_type=linux
  2.2818    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2.2819 @@ -2119,276 +3020,54 @@
  2.2820  if test "$GCC" = yes; then
  2.2821    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  2.2822  fi
  2.2823 -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
  2.2824 -
  2.2825 -
  2.2826 -# _LT_AC_TAGCONFIG
  2.2827 -# ----------------
  2.2828 -AC_DEFUN([_LT_AC_TAGCONFIG],
  2.2829 -[AC_ARG_WITH([tags],
  2.2830 -    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
  2.2831 -        [include additional configurations @<:@automatic@:>@])],
  2.2832 -    [tagnames="$withval"])
  2.2833 -
  2.2834 -if test -f "$ltmain" && test -n "$tagnames"; then
  2.2835 -  if test ! -f "${ofile}"; then
  2.2836 -    AC_MSG_WARN([output file `$ofile' does not exist])
  2.2837 -  fi
  2.2838 -
  2.2839 -  if test -z "$LTCC"; then
  2.2840 -    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
  2.2841 -    if test -z "$LTCC"; then
  2.2842 -      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
  2.2843 -    else
  2.2844 -      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
  2.2845 -    fi
  2.2846 -  fi
  2.2847 -  if test -z "$LTCFLAGS"; then
  2.2848 -    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
  2.2849 -  fi
  2.2850 -
  2.2851 -  # Extract list of available tagged configurations in $ofile.
  2.2852 -  # Note that this assumes the entire list is on one line.
  2.2853 -  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
  2.2854 -
  2.2855 -  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2.2856 -  for tagname in $tagnames; do
  2.2857 -    IFS="$lt_save_ifs"
  2.2858 -    # Check whether tagname contains only valid characters
  2.2859 -    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
  2.2860 -    "") ;;
  2.2861 -    *)  AC_MSG_ERROR([invalid tag name: $tagname])
  2.2862 -	;;
  2.2863 -    esac
  2.2864 -
  2.2865 -    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
  2.2866 -    then
  2.2867 -      AC_MSG_ERROR([tag name \"$tagname\" already exists])
  2.2868 -    fi
  2.2869 -
  2.2870 -    # Update the list of available tags.
  2.2871 -    if test -n "$tagname"; then
  2.2872 -      echo appending configuration tag \"$tagname\" to $ofile
  2.2873 -
  2.2874 -      case $tagname in
  2.2875 -      CXX)
  2.2876 -	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  2.2877 -	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  2.2878 -	    (test "X$CXX" != "Xg++"))) ; then
  2.2879 -	  AC_LIBTOOL_LANG_CXX_CONFIG
  2.2880 -	else
  2.2881 -	  tagname=""
  2.2882 -	fi
  2.2883 -	;;
  2.2884 -
  2.2885 -      F77)
  2.2886 -	if test -n "$F77" && test "X$F77" != "Xno"; then
  2.2887 -	  AC_LIBTOOL_LANG_F77_CONFIG
  2.2888 -	else
  2.2889 -	  tagname=""
  2.2890 -	fi
  2.2891 -	;;
  2.2892 -
  2.2893 -      GCJ)
  2.2894 -	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
  2.2895 -	  AC_LIBTOOL_LANG_GCJ_CONFIG
  2.2896 -	else
  2.2897 -	  tagname=""
  2.2898 -	fi
  2.2899 -	;;
  2.2900 -
  2.2901 -      RC)
  2.2902 -	AC_LIBTOOL_LANG_RC_CONFIG
  2.2903 -	;;
  2.2904 -
  2.2905 -      *)
  2.2906 -	AC_MSG_ERROR([Unsupported tag name: $tagname])
  2.2907 -	;;
  2.2908 -      esac
  2.2909 -
  2.2910 -      # Append the new tag name to the list of available tags.
  2.2911 -      if test -n "$tagname" ; then
  2.2912 -      available_tags="$available_tags $tagname"
  2.2913 -    fi
  2.2914 -    fi
  2.2915 -  done
  2.2916 -  IFS="$lt_save_ifs"
  2.2917 -
  2.2918 -  # Now substitute the updated list of available tags.
  2.2919 -  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
  2.2920 -    mv "${ofile}T" "$ofile"
  2.2921 -    chmod +x "$ofile"
  2.2922 -  else
  2.2923 -    rm -f "${ofile}T"
  2.2924 -    AC_MSG_ERROR([unable to update list of available tagged configurations.])
  2.2925 -  fi
  2.2926 +
  2.2927 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  2.2928 +  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  2.2929  fi
  2.2930 -])# _LT_AC_TAGCONFIG
  2.2931 -
  2.2932 -
  2.2933 -# AC_LIBTOOL_DLOPEN
  2.2934 -# -----------------
  2.2935 -# enable checks for dlopen support
  2.2936 -AC_DEFUN([AC_LIBTOOL_DLOPEN],
  2.2937 - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
  2.2938 -])# AC_LIBTOOL_DLOPEN
  2.2939 -
  2.2940 -
  2.2941 -# AC_LIBTOOL_WIN32_DLL
  2.2942 -# --------------------
  2.2943 -# declare package support for building win32 DLLs
  2.2944 -AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
  2.2945 -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
  2.2946 -])# AC_LIBTOOL_WIN32_DLL
  2.2947 -
  2.2948 -
  2.2949 -# AC_ENABLE_SHARED([DEFAULT])
  2.2950 -# ---------------------------
  2.2951 -# implement the --enable-shared flag
  2.2952 -# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
  2.2953 -AC_DEFUN([AC_ENABLE_SHARED],
  2.2954 -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
  2.2955 -AC_ARG_ENABLE([shared],
  2.2956 -    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  2.2957 -	[build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
  2.2958 -    [p=${PACKAGE-default}
  2.2959 -    case $enableval in
  2.2960 -    yes) enable_shared=yes ;;
  2.2961 -    no) enable_shared=no ;;
  2.2962 -    *)
  2.2963 -      enable_shared=no
  2.2964 -      # Look at the argument we got.  We use all the common list separators.
  2.2965 -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2.2966 -      for pkg in $enableval; do
  2.2967 -	IFS="$lt_save_ifs"
  2.2968 -	if test "X$pkg" = "X$p"; then
  2.2969 -	  enable_shared=yes
  2.2970 -	fi
  2.2971 -      done
  2.2972 -      IFS="$lt_save_ifs"
  2.2973 -      ;;
  2.2974 -    esac],
  2.2975 -    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
  2.2976 -])# AC_ENABLE_SHARED
  2.2977 -
  2.2978 -
  2.2979 -# AC_DISABLE_SHARED
  2.2980 -# -----------------
  2.2981 -# set the default shared flag to --disable-shared
  2.2982 -AC_DEFUN([AC_DISABLE_SHARED],
  2.2983 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2.2984 -AC_ENABLE_SHARED(no)
  2.2985 -])# AC_DISABLE_SHARED
  2.2986 -
  2.2987 -
  2.2988 -# AC_ENABLE_STATIC([DEFAULT])
  2.2989 -# ---------------------------
  2.2990 -# implement the --enable-static flag
  2.2991 -# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
  2.2992 -AC_DEFUN([AC_ENABLE_STATIC],
  2.2993 -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
  2.2994 -AC_ARG_ENABLE([static],
  2.2995 -    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  2.2996 -	[build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
  2.2997 -    [p=${PACKAGE-default}
  2.2998 -    case $enableval in
  2.2999 -    yes) enable_static=yes ;;
  2.3000 -    no) enable_static=no ;;
  2.3001 -    *)
  2.3002 -     enable_static=no
  2.3003 -      # Look at the argument we got.  We use all the common list separators.
  2.3004 -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2.3005 -      for pkg in $enableval; do
  2.3006 -	IFS="$lt_save_ifs"
  2.3007 -	if test "X$pkg" = "X$p"; then
  2.3008 -	  enable_static=yes
  2.3009 -	fi
  2.3010 -      done
  2.3011 -      IFS="$lt_save_ifs"
  2.3012 -      ;;
  2.3013 -    esac],
  2.3014 -    [enable_static=]AC_ENABLE_STATIC_DEFAULT)
  2.3015 -])# AC_ENABLE_STATIC
  2.3016 -
  2.3017 -
  2.3018 -# AC_DISABLE_STATIC
  2.3019 -# -----------------
  2.3020 -# set the default static flag to --disable-static
  2.3021 -AC_DEFUN([AC_DISABLE_STATIC],
  2.3022 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2.3023 -AC_ENABLE_STATIC(no)
  2.3024 -])# AC_DISABLE_STATIC
  2.3025 -
  2.3026 -
  2.3027 -# AC_ENABLE_FAST_INSTALL([DEFAULT])
  2.3028 -# ---------------------------------
  2.3029 -# implement the --enable-fast-install flag
  2.3030 -# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
  2.3031 -AC_DEFUN([AC_ENABLE_FAST_INSTALL],
  2.3032 -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
  2.3033 -AC_ARG_ENABLE([fast-install],
  2.3034 -    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  2.3035 -    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  2.3036 -    [p=${PACKAGE-default}
  2.3037 -    case $enableval in
  2.3038 -    yes) enable_fast_install=yes ;;
  2.3039 -    no) enable_fast_install=no ;;
  2.3040 -    *)
  2.3041 -      enable_fast_install=no
  2.3042 -      # Look at the argument we got.  We use all the common list separators.
  2.3043 -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2.3044 -      for pkg in $enableval; do
  2.3045 -	IFS="$lt_save_ifs"
  2.3046 -	if test "X$pkg" = "X$p"; then
  2.3047 -	  enable_fast_install=yes
  2.3048 -	fi
  2.3049 -      done
  2.3050 -      IFS="$lt_save_ifs"
  2.3051 -      ;;
  2.3052 -    esac],
  2.3053 -    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
  2.3054 -])# AC_ENABLE_FAST_INSTALL
  2.3055 -
  2.3056 -
  2.3057 -# AC_DISABLE_FAST_INSTALL
  2.3058 -# -----------------------
  2.3059 -# set the default to --disable-fast-install
  2.3060 -AC_DEFUN([AC_DISABLE_FAST_INSTALL],
  2.3061 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2.3062 -AC_ENABLE_FAST_INSTALL(no)
  2.3063 -])# AC_DISABLE_FAST_INSTALL
  2.3064 -
  2.3065 -
  2.3066 -# AC_LIBTOOL_PICMODE([MODE])
  2.3067 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  2.3068 +  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  2.3069 +fi
  2.3070 +
  2.3071 +_LT_DECL([], [variables_saved_for_relink], [1],
  2.3072 +    [Variables whose values should be saved in libtool wrapper scripts and
  2.3073 +    restored at link time])
  2.3074 +_LT_DECL([], [need_lib_prefix], [0],
  2.3075 +    [Do we need the "lib" prefix for modules?])
  2.3076 +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
  2.3077 +_LT_DECL([], [version_type], [0], [Library versioning type])
  2.3078 +_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
  2.3079 +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
  2.3080 +_LT_DECL([], [shlibpath_overrides_runpath], [0],
  2.3081 +    [Is shlibpath searched before the hard-coded library search path?])
  2.3082 +_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
  2.3083 +_LT_DECL([], [library_names_spec], [1],
  2.3084 +    [[List of archive names.  First name is the real one, the rest are links.
  2.3085 +    The last name is the one that the linker finds with -lNAME]])
  2.3086 +_LT_DECL([], [soname_spec], [1],
  2.3087 +    [[The coded name of the library, if different from the real name]])
  2.3088 +_LT_DECL([], [postinstall_cmds], [2],
  2.3089 +    [Command to use after installation of a shared archive])
  2.3090 +_LT_DECL([], [postuninstall_cmds], [2],
  2.3091 +    [Command to use after uninstallation of a shared archive])
  2.3092 +_LT_DECL([], [finish_cmds], [2],
  2.3093 +    [Commands used to finish a libtool library installation in a directory])
  2.3094 +_LT_DECL([], [finish_eval], [1],
  2.3095 +    [[As "finish_cmds", except a single script fragment to be evaled but
  2.3096 +    not shown]])
  2.3097 +_LT_DECL([], [hardcode_into_libs], [0],
  2.3098 +    [Whether we should hardcode library paths into libraries])
  2.3099 +_LT_DECL([], [sys_lib_search_path_spec], [2],
  2.3100 +    [Compile-time system search path for libraries])
  2.3101 +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
  2.3102 +    [Run-time system search path for libraries])
  2.3103 +])# _LT_SYS_DYNAMIC_LINKER
  2.3104 +
  2.3105 +
  2.3106 +# _LT_PATH_TOOL_PREFIX(TOOL)
  2.3107  # --------------------------
  2.3108 -# implement the --with-pic flag
  2.3109 -# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
  2.3110 -AC_DEFUN([AC_LIBTOOL_PICMODE],
  2.3111 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2.3112 -pic_mode=ifelse($#,1,$1,default)
  2.3113 -])# AC_LIBTOOL_PICMODE
  2.3114 -
  2.3115 -
  2.3116 -# AC_PROG_EGREP
  2.3117 -# -------------
  2.3118 -# This is predefined starting with Autoconf 2.54, so this conditional
  2.3119 -# definition can be removed once we require Autoconf 2.54 or later.
  2.3120 -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
  2.3121 -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
  2.3122 -   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  2.3123 -    then ac_cv_prog_egrep='grep -E'
  2.3124 -    else ac_cv_prog_egrep='egrep'
  2.3125 -    fi])
  2.3126 - EGREP=$ac_cv_prog_egrep
  2.3127 - AC_SUBST([EGREP])
  2.3128 -])])
  2.3129 -
  2.3130 -
  2.3131 -# AC_PATH_TOOL_PREFIX
  2.3132 -# -------------------
  2.3133 -# find a file program which can recognise shared library
  2.3134 -AC_DEFUN([AC_PATH_TOOL_PREFIX],
  2.3135 -[AC_REQUIRE([AC_PROG_EGREP])dnl
  2.3136 +# find a file program which can recognize shared library
  2.3137 +AC_DEFUN([_LT_PATH_TOOL_PREFIX],
  2.3138 +[m4_require([_LT_DECL_EGREP])dnl
  2.3139  AC_MSG_CHECKING([for $1])
  2.3140  AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  2.3141  [case $MAGIC_CMD in
  2.3142 @@ -2401,7 +3080,7 @@
  2.3143  dnl $ac_dummy forces splitting on constant user-supplied paths.
  2.3144  dnl POSIX.2 word splitting is done only on the output of word expansions,
  2.3145  dnl not every word.  This closes a longstanding sh security hole.
  2.3146 -  ac_dummy="ifelse([$2], , $PATH, [$2])"
  2.3147 +  ac_dummy="m4_if([$2], , $PATH, [$2])"
  2.3148    for ac_dir in $ac_dummy; do
  2.3149      IFS="$lt_save_ifs"
  2.3150      test -z "$ac_dir" && ac_dir=.
  2.3151 @@ -2416,7 +3095,7 @@
  2.3152  	    $EGREP "$file_magic_regex" > /dev/null; then
  2.3153  	    :
  2.3154  	  else
  2.3155 -	    cat <<EOF 1>&2
  2.3156 +	    cat <<_LT_EOF 1>&2
  2.3157  
  2.3158  *** Warning: the command libtool uses to detect shared libraries,
  2.3159  *** $file_magic_cmd, produces output that libtool cannot recognize.
  2.3160 @@ -2427,7 +3106,7 @@
  2.3161  *** may want to report the problem to your system manager and/or to
  2.3162  *** bug-libtool@gnu.org
  2.3163  
  2.3164 -EOF
  2.3165 +_LT_EOF
  2.3166  	  fi ;;
  2.3167  	esac
  2.3168        fi
  2.3169 @@ -2444,37 +3123,47 @@
  2.3170  else
  2.3171    AC_MSG_RESULT(no)
  2.3172  fi
  2.3173 -])# AC_PATH_TOOL_PREFIX
  2.3174 -
  2.3175 -
  2.3176 -# AC_PATH_MAGIC
  2.3177 -# -------------
  2.3178 -# find a file program which can recognise a shared library
  2.3179 -AC_DEFUN([AC_PATH_MAGIC],
  2.3180 -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  2.3181 +_LT_DECL([], [MAGIC_CMD], [0],
  2.3182 +	 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  2.3183 +])# _LT_PATH_TOOL_PREFIX
  2.3184 +
  2.3185 +# Old name:
  2.3186 +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
  2.3187 +dnl aclocal-1.4 backwards compatibility:
  2.3188 +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
  2.3189 +
  2.3190 +
  2.3191 +# _LT_PATH_MAGIC
  2.3192 +# --------------
  2.3193 +# find a file program which can recognize a shared library
  2.3194 +m4_defun([_LT_PATH_MAGIC],
  2.3195 +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  2.3196  if test -z "$lt_cv_path_MAGIC_CMD"; then
  2.3197    if test -n "$ac_tool_prefix"; then
  2.3198 -    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  2.3199 +    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  2.3200    else
  2.3201      MAGIC_CMD=:
  2.3202    fi
  2.3203  fi
  2.3204 -])# AC_PATH_MAGIC
  2.3205 -
  2.3206 -
  2.3207 -# AC_PROG_LD
  2.3208 +])# _LT_PATH_MAGIC
  2.3209 +
  2.3210 +
  2.3211 +# LT_PATH_LD
  2.3212  # ----------
  2.3213  # find the pathname to the GNU or non-GNU linker
  2.3214 -AC_DEFUN([AC_PROG_LD],
  2.3215 -[AC_ARG_WITH([gnu-ld],
  2.3216 -    [AC_HELP_STRING([--with-gnu-ld],
  2.3217 +AC_DEFUN([LT_PATH_LD],
  2.3218 +[AC_REQUIRE([AC_PROG_CC])dnl
  2.3219 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2.3220 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  2.3221 +m4_require([_LT_DECL_SED])dnl
  2.3222 +m4_require([_LT_DECL_EGREP])dnl
  2.3223 +
  2.3224 +AC_ARG_WITH([gnu-ld],
  2.3225 +    [AS_HELP_STRING([--with-gnu-ld],
  2.3226  	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
  2.3227      [test "$withval" = no || with_gnu_ld=yes],
  2.3228 -    [with_gnu_ld=no])
  2.3229 -AC_REQUIRE([LT_AC_PROG_SED])dnl
  2.3230 -AC_REQUIRE([AC_PROG_CC])dnl
  2.3231 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2.3232 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  2.3233 +    [with_gnu_ld=no])dnl
  2.3234 +
  2.3235  ac_prog=ld
  2.3236  if test "$GCC" = yes; then
  2.3237    # Check if gcc -print-prog-name=ld gives a path.
  2.3238 @@ -2491,9 +3180,9 @@
  2.3239      [[\\/]]* | ?:[[\\/]]*)
  2.3240        re_direlt='/[[^/]][[^/]]*/\.\./'
  2.3241        # Canonicalize the pathname of ld
  2.3242 -      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  2.3243 -      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  2.3244 -	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  2.3245 +      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  2.3246 +      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  2.3247 +	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  2.3248        done
  2.3249        test -z "$LD" && LD="$ac_prog"
  2.3250        ;;
  2.3251 @@ -2543,15 +3232,24 @@
  2.3252    AC_MSG_RESULT(no)
  2.3253  fi
  2.3254  test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  2.3255 -AC_PROG_LD_GNU
  2.3256 -])# AC_PROG_LD
  2.3257 -
  2.3258 -
  2.3259 -# AC_PROG_LD_GNU
  2.3260 -# --------------
  2.3261 -AC_DEFUN([AC_PROG_LD_GNU],
  2.3262 -[AC_REQUIRE([AC_PROG_EGREP])dnl
  2.3263 -AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  2.3264 +_LT_PATH_LD_GNU
  2.3265 +AC_SUBST([LD])
  2.3266 +
  2.3267 +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  2.3268 +])# LT_PATH_LD
  2.3269 +
  2.3270 +# Old names:
  2.3271 +AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
  2.3272 +AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
  2.3273 +dnl aclocal-1.4 backwards compatibility:
  2.3274 +dnl AC_DEFUN([AM_PROG_LD], [])
  2.3275 +dnl AC_DEFUN([AC_PROG_LD], [])
  2.3276 +
  2.3277 +
  2.3278 +# _LT_PATH_LD_GNU
  2.3279 +#- --------------
  2.3280 +m4_defun([_LT_PATH_LD_GNU],
  2.3281 +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  2.3282  [# I'd rather use --version here, but apparently some GNU lds only accept -v.
  2.3283  case `$LD -v 2>&1 </dev/null` in
  2.3284  *GNU* | *'with BFD'*)
  2.3285 @@ -2562,14 +3260,14 @@
  2.3286    ;;
  2.3287  esac])
  2.3288  with_gnu_ld=$lt_cv_prog_gnu_ld
  2.3289 -])# AC_PROG_LD_GNU
  2.3290 -
  2.3291 -
  2.3292 -# AC_PROG_LD_RELOAD_FLAG
  2.3293 -# ----------------------
  2.3294 +])# _LT_PATH_LD_GNU
  2.3295 +
  2.3296 +
  2.3297 +# _LT_CMD_RELOAD
  2.3298 +# --------------
  2.3299  # find reload flag for linker
  2.3300  #   -- PORTME Some linkers may need a different reload flag.
  2.3301 -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
  2.3302 +m4_defun([_LT_CMD_RELOAD],
  2.3303  [AC_CACHE_CHECK([for $LD option to reload object files],
  2.3304    lt_cv_ld_reload_flag,
  2.3305    [lt_cv_ld_reload_flag='-r'])
  2.3306 @@ -2588,15 +3286,19 @@
  2.3307      fi
  2.3308      ;;
  2.3309  esac
  2.3310 -])# AC_PROG_LD_RELOAD_FLAG
  2.3311 -
  2.3312 -
  2.3313 -# AC_DEPLIBS_CHECK_METHOD
  2.3314 -# -----------------------
  2.3315 +_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  2.3316 +_LT_DECL([], [reload_cmds], [2])dnl
  2.3317 +])# _LT_CMD_RELOAD
  2.3318 +
  2.3319 +
  2.3320 +# _LT_CHECK_MAGIC_METHOD
  2.3321 +# ----------------------
  2.3322  # how to check for library dependencies
  2.3323  #  -- PORTME fill in with the dynamic library characteristics
  2.3324 -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
  2.3325 -[AC_CACHE_CHECK([how to recognise dependent libraries],
  2.3326 +m4_defun([_LT_CHECK_MAGIC_METHOD],
  2.3327 +[m4_require([_LT_DECL_EGREP])
  2.3328 +m4_require([_LT_DECL_OBJDUMP])
  2.3329 +AC_CACHE_CHECK([how to recognize dependent libraries],
  2.3330  lt_cv_deplibs_check_method,
  2.3331  [lt_cv_file_magic_cmd='$MAGIC_CMD'
  2.3332  lt_cv_file_magic_test_file=
  2.3333 @@ -2613,7 +3315,7 @@
  2.3334  # whether `pass_all' will *always* work, you probably want this one.
  2.3335  
  2.3336  case $host_os in
  2.3337 -aix4* | aix5*)
  2.3338 +aix[[4-9]]*)
  2.3339    lt_cv_deplibs_check_method=pass_all
  2.3340    ;;
  2.3341  
  2.3342 @@ -2629,16 +3331,28 @@
  2.3343  
  2.3344  cygwin*)
  2.3345    # func_win32_libid is a shell function defined in ltmain.sh
  2.3346 -  #lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  2.3347 +  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  2.3348    lt_cv_deplibs_check_method=pass_all
  2.3349    lt_cv_file_magic_cmd='func_win32_libid'
  2.3350    ;;
  2.3351  
  2.3352  mingw* | pw32*)
  2.3353    # Base MSYS/MinGW do not provide the 'file' command needed by
  2.3354 -  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
  2.3355 -  #lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  2.3356 +  # func_win32_libid shell function, so use a weaker test based on 'objdump',
  2.3357 +  # unless we find 'file', for example because we are cross-compiling.
  2.3358 +  if ( file / ) >/dev/null 2>&1; then
  2.3359 +    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  2.3360 +    lt_cv_file_magic_cmd='func_win32_libid'
  2.3361 +  else
  2.3362 +    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  2.3363 +    lt_cv_file_magic_cmd='$OBJDUMP -f'
  2.3364 +  fi
  2.3365    lt_cv_deplibs_check_method=pass_all
  2.3366 +  ;;
  2.3367 +
  2.3368 +cegcc)
  2.3369 +  # use the weaker test based on 'objdump'. See mingw*.
  2.3370 +  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  2.3371    lt_cv_file_magic_cmd='$OBJDUMP -f'
  2.3372    ;;
  2.3373  
  2.3374 @@ -2646,8 +3360,8 @@
  2.3375    lt_cv_deplibs_check_method=pass_all
  2.3376    ;;
  2.3377  
  2.3378 -freebsd* | kfreebsd*-gnu | dragonfly*)
  2.3379 -  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  2.3380 +freebsd* | dragonfly*)
  2.3381 +  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  2.3382      case $host_cpu in
  2.3383      i*86 )
  2.3384        # Not sure whether the presence of OpenBSD here was a mistake.
  2.3385 @@ -2684,7 +3398,7 @@
  2.3386    esac
  2.3387    ;;
  2.3388  
  2.3389 -interix3*)
  2.3390 +interix[[3-9]]*)
  2.3391    # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  2.3392    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
  2.3393    ;;
  2.3394 @@ -2700,12 +3414,12 @@
  2.3395    ;;
  2.3396  
  2.3397  # This must be Linux ELF.
  2.3398 -linux*)
  2.3399 +linux* | k*bsd*-gnu)
  2.3400    lt_cv_deplibs_check_method=pass_all
  2.3401    ;;
  2.3402  
  2.3403  netbsd*)
  2.3404 -  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  2.3405 +  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  2.3406      lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  2.3407    else
  2.3408      lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  2.3409 @@ -2718,12 +3432,12 @@
  2.3410    lt_cv_file_magic_test_file=/usr/lib/libnls.so
  2.3411    ;;
  2.3412  
  2.3413 -nto-qnx*)
  2.3414 -  lt_cv_deplibs_check_method=unknown
  2.3415 +*nto* | *qnx*)
  2.3416 +  lt_cv_deplibs_check_method=pass_all
  2.3417    ;;
  2.3418  
  2.3419  openbsd*)
  2.3420 -  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2.3421 +  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2.3422      lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  2.3423    else
  2.3424      lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  2.3425 @@ -2734,10 +3448,18 @@
  2.3426    lt_cv_deplibs_check_method=pass_all
  2.3427    ;;
  2.3428  
  2.3429 +rdos*)
  2.3430 +  lt_cv_deplibs_check_method=pass_all
  2.3431 +  ;;
  2.3432 +
  2.3433  solaris*)
  2.3434    lt_cv_deplibs_check_method=pass_all
  2.3435    ;;
  2.3436  
  2.3437 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  2.3438 +  lt_cv_deplibs_check_method=pass_all
  2.3439 +  ;;
  2.3440 +
  2.3441  sysv4 | sysv4.3*)
  2.3442    case $host_vendor in
  2.3443    motorola)
  2.3444 @@ -2765,7 +3487,7 @@
  2.3445    esac
  2.3446    ;;
  2.3447  
  2.3448 -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  2.3449 +tpf*)
  2.3450    lt_cv_deplibs_check_method=pass_all
  2.3451    ;;
  2.3452  esac
  2.3453 @@ -2773,20 +3495,26 @@
  2.3454  file_magic_cmd=$lt_cv_file_magic_cmd
  2.3455  deplibs_check_method=$lt_cv_deplibs_check_method
  2.3456  test -z "$deplibs_check_method" && deplibs_check_method=unknown
  2.3457 -])# AC_DEPLIBS_CHECK_METHOD
  2.3458 -
  2.3459 -
  2.3460 -# AC_PROG_NM
  2.3461 +
  2.3462 +_LT_DECL([], [deplibs_check_method], [1],
  2.3463 +    [Method to check whether dependent libraries are shared objects])
  2.3464 +_LT_DECL([], [file_magic_cmd], [1],
  2.3465 +    [Command to use when deplibs_check_method == "file_magic"])
  2.3466 +])# _LT_CHECK_MAGIC_METHOD
  2.3467 +
  2.3468 +
  2.3469 +# LT_PATH_NM
  2.3470  # ----------
  2.3471 -# find the pathname to a BSD-compatible name lister
  2.3472 -AC_DEFUN([AC_PROG_NM],
  2.3473 -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
  2.3474 +# find the pathname to a BSD- or MS-compatible name lister
  2.3475 +AC_DEFUN([LT_PATH_NM],
  2.3476 +[AC_REQUIRE([AC_PROG_CC])dnl
  2.3477 +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  2.3478  [if test -n "$NM"; then
  2.3479    # Let the user override the test.
  2.3480    lt_cv_path_NM="$NM"
  2.3481  else
  2.3482    lt_nm_to_check="${ac_tool_prefix}nm"
  2.3483 -  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
  2.3484 +  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  2.3485      lt_nm_to_check="$lt_nm_to_check nm"
  2.3486    fi
  2.3487    for lt_tmp_nm in $lt_nm_to_check; do
  2.3488 @@ -2822,16 +3550,51 @@
  2.3489      done
  2.3490      IFS="$lt_save_ifs"
  2.3491    done
  2.3492 -  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  2.3493 +  : ${lt_cv_path_NM=no}
  2.3494  fi])
  2.3495 -NM="$lt_cv_path_NM"
  2.3496 -])# AC_PROG_NM
  2.3497 -
  2.3498 -
  2.3499 -# AC_CHECK_LIBM
  2.3500 -# -------------
  2.3501 +if test "$lt_cv_path_NM" != "no"; then
  2.3502 +  NM="$lt_cv_path_NM"
  2.3503 +else
  2.3504 +  # Didn't find any BSD compatible name lister, look for dumpbin.
  2.3505 +  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  2.3506 +  AC_SUBST([DUMPBIN])
  2.3507 +  if test "$DUMPBIN" != ":"; then
  2.3508 +    NM="$DUMPBIN"
  2.3509 +  fi
  2.3510 +fi
  2.3511 +test -z "$NM" && NM=nm
  2.3512 +AC_SUBST([NM])
  2.3513 +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  2.3514 +
  2.3515 +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  2.3516 +  [lt_cv_nm_interface="BSD nm"
  2.3517 +  echo "int some_variable = 0;" > conftest.$ac_ext
  2.3518 +  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  2.3519 +  (eval "$ac_compile" 2>conftest.err)
  2.3520 +  cat conftest.err >&AS_MESSAGE_LOG_FD
  2.3521 +  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  2.3522 +  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  2.3523 +  cat conftest.err >&AS_MESSAGE_LOG_FD
  2.3524 +  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  2.3525 +  cat conftest.out >&AS_MESSAGE_LOG_FD
  2.3526 +  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  2.3527 +    lt_cv_nm_interface="MS dumpbin"
  2.3528 +  fi
  2.3529 +  rm -f conftest*])
  2.3530 +])# LT_PATH_NM
  2.3531 +
  2.3532 +# Old names:
  2.3533 +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
  2.3534 +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
  2.3535 +dnl aclocal-1.4 backwards compatibility:
  2.3536 +dnl AC_DEFUN([AM_PROG_NM], [])
  2.3537 +dnl AC_DEFUN([AC_PROG_NM], [])
  2.3538 +
  2.3539 +
  2.3540 +# LT_LIB_M
  2.3541 +# --------
  2.3542  # check for math library
  2.3543 -AC_DEFUN([AC_CHECK_LIBM],
  2.3544 +AC_DEFUN([LT_LIB_M],
  2.3545  [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2.3546  LIBM=
  2.3547  case $host in
  2.3548 @@ -2846,2116 +3609,46 @@
  2.3549    AC_CHECK_LIB(m, cos, LIBM="-lm")
  2.3550    ;;
  2.3551  esac
  2.3552 -])# AC_CHECK_LIBM
  2.3553 -
  2.3554 -
  2.3555 -# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
  2.3556 -# -----------------------------------
  2.3557 -# sets LIBLTDL to the link flags for the libltdl convenience library and
  2.3558 -# LTDLINCL to the include flags for the libltdl header and adds
  2.3559 -# --enable-ltdl-convenience to the configure arguments.  Note that
  2.3560 -# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
  2.3561 -# it is assumed to be `libltdl'.  LIBLTDL will be prefixed with
  2.3562 -# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
  2.3563 -# (note the single quotes!).  If your package is not flat and you're not
  2.3564 -# using automake, define top_builddir and top_srcdir appropriately in
  2.3565 -# the Makefiles.
  2.3566 -AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
  2.3567 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2.3568 -  case $enable_ltdl_convenience in
  2.3569 -  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
  2.3570 -  "") enable_ltdl_convenience=yes
  2.3571 -      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
  2.3572 -  esac
  2.3573 -  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
  2.3574 -  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  2.3575 -  # For backwards non-gettext consistent compatibility...
  2.3576 -  INCLTDL="$LTDLINCL"
  2.3577 -])# AC_LIBLTDL_CONVENIENCE
  2.3578 -
  2.3579 -
  2.3580 -# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
  2.3581 -# -----------------------------------
  2.3582 -# sets LIBLTDL to the link flags for the libltdl installable library and
  2.3583 -# LTDLINCL to the include flags for the libltdl header and adds
  2.3584 -# --enable-ltdl-install to the configure arguments.  Note that
  2.3585 -# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
  2.3586 -# and an installed libltdl is not found, it is assumed to be `libltdl'.
  2.3587 -# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
  2.3588 -# '${top_srcdir}/' (note the single quotes!).  If your package is not
  2.3589 -# flat and you're not using automake, define top_builddir and top_srcdir
  2.3590 -# appropriately in the Makefiles.
  2.3591 -# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
  2.3592 -AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
  2.3593 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2.3594 -  AC_CHECK_LIB(ltdl, lt_dlinit,
  2.3595 -  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
  2.3596 -  [if test x"$enable_ltdl_install" = xno; then
  2.3597 -     AC_MSG_WARN([libltdl not installed, but installation disabled])
  2.3598 -   else
  2.3599 -     enable_ltdl_install=yes
  2.3600 -   fi
  2.3601 -  ])
  2.3602 -  if test x"$enable_ltdl_install" = x"yes"; then
  2.3603 -    ac_configure_args="$ac_configure_args --enable-ltdl-install"
  2.3604 -    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
  2.3605 -    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  2.3606 -  else
  2.3607 -    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
  2.3608 -    LIBLTDL="-lltdl"
  2.3609 -    LTDLINCL=
  2.3610 -  fi
  2.3611 -  # For backwards non-gettext consistent compatibility...
  2.3612 -  INCLTDL="$LTDLINCL"
  2.3613 -])# AC_LIBLTDL_INSTALLABLE
  2.3614 -
  2.3615 -
  2.3616 -# AC_LIBTOOL_CXX
  2.3617 -# --------------
  2.3618 -# enable support for C++ libraries
  2.3619 -AC_DEFUN([AC_LIBTOOL_CXX],
  2.3620 -[AC_REQUIRE([_LT_AC_LANG_CXX])
  2.3621 -])# AC_LIBTOOL_CXX
  2.3622 -
  2.3623 -
  2.3624 -# _LT_AC_LANG_CXX
  2.3625 -# ---------------
  2.3626 -AC_DEFUN([_LT_AC_LANG_CXX],
  2.3627 -[AC_REQUIRE([AC_PROG_CXX])
  2.3628 -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
  2.3629 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
  2.3630 -])# _LT_AC_LANG_CXX
  2.3631 -
  2.3632 -# _LT_AC_PROG_CXXCPP
  2.3633 -# ------------------
  2.3634 -AC_DEFUN([_LT_AC_PROG_CXXCPP],
  2.3635 -[
  2.3636 -AC_REQUIRE([AC_PROG_CXX])
  2.3637 -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  2.3638 -    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  2.3639 -    (test "X$CXX" != "Xg++"))) ; then
  2.3640 -  AC_PROG_CXXCPP
  2.3641 -fi
  2.3642 -])# _LT_AC_PROG_CXXCPP
  2.3643 -
  2.3644 -# AC_LIBTOOL_F77
  2.3645 -# --------------
  2.3646 -# enable support for Fortran 77 libraries
  2.3647 -AC_DEFUN([AC_LIBTOOL_F77],
  2.3648 -[AC_REQUIRE([_LT_AC_LANG_F77])
  2.3649 -])# AC_LIBTOOL_F77
  2.3650 -
  2.3651 -
  2.3652 -# _LT_AC_LANG_F77
  2.3653 -# ---------------
  2.3654 -AC_DEFUN([_LT_AC_LANG_F77],
  2.3655 -[AC_REQUIRE([AC_PROG_F77])
  2.3656 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
  2.3657 -])# _LT_AC_LANG_F77
  2.3658 -
  2.3659 -
  2.3660 -# AC_LIBTOOL_GCJ
  2.3661 -# --------------
  2.3662 -# enable support for GCJ libraries
  2.3663 -AC_DEFUN([AC_LIBTOOL_GCJ],
  2.3664 -[AC_REQUIRE([_LT_AC_LANG_GCJ])
  2.3665 -])# AC_LIBTOOL_GCJ
  2.3666 -
  2.3667 -
  2.3668 -# _LT_AC_LANG_GCJ
  2.3669 -# ---------------
  2.3670 -AC_DEFUN([_LT_AC_LANG_GCJ],
  2.3671 -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
  2.3672 -  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
  2.3673 -    [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
  2.3674 -      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
  2.3675 -	 [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
  2.3676 -	   [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
  2.3677 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
  2.3678 -])# _LT_AC_LANG_GCJ
  2.3679 -
  2.3680 -
  2.3681 -# AC_LIBTOOL_RC
  2.3682 -# -------------
  2.3683 -# enable support for Windows resource files
  2.3684 -AC_DEFUN([AC_LIBTOOL_RC],
  2.3685 -[AC_REQUIRE([LT_AC_PROG_RC])
  2.3686 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
  2.3687 -])# AC_LIBTOOL_RC
  2.3688 -
  2.3689 -
  2.3690 -# AC_LIBTOOL_LANG_C_CONFIG
  2.3691 -# ------------------------
  2.3692 -# Ensure that the configuration vars for the C compiler are
  2.3693 -# suitably defined.  Those variables are subsequently used by
  2.3694 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  2.3695 -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
  2.3696 -AC_DEFUN([_LT_AC_LANG_C_CONFIG],
  2.3697 -[lt_save_CC="$CC"
  2.3698 -AC_LANG_PUSH(C)
  2.3699 -
  2.3700 -# Source file extension for C test sources.
  2.3701 -ac_ext=c
  2.3702 -
  2.3703 -# Object file extension for compiled C test sources.
  2.3704 -objext=o
  2.3705 -_LT_AC_TAGVAR(objext, $1)=$objext
  2.3706 -
  2.3707 -# Code to be used in simple compile tests
  2.3708 -lt_simple_compile_test_code="int some_variable = 0;\n"
  2.3709 -
  2.3710 -# Code to be used in simple link tests
  2.3711 -lt_simple_link_test_code='int main(){return(0);}\n'
  2.3712 -
  2.3713 -_LT_AC_SYS_COMPILER
  2.3714 -
  2.3715 -# save warnings/boilerplate of simple test code
  2.3716 -_LT_COMPILER_BOILERPLATE
  2.3717 -_LT_LINKER_BOILERPLATE
  2.3718 -
  2.3719 -## CAVEAT EMPTOR:
  2.3720 -## There is no encapsulation within the following macros, do not change
  2.3721 -## the running order or otherwise move them around unless you know exactly
  2.3722 -## what you are doing...
  2.3723 -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
  2.3724 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  2.3725 -AC_LIBTOOL_PROG_CC_C_O($1)
  2.3726 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  2.3727 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  2.3728 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  2.3729 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  2.3730 -AC_LIBTOOL_SYS_LIB_STRIP
  2.3731 -AC_LIBTOOL_DLOPEN_SELF
  2.3732 -
  2.3733 -# Report which library types will actually be built
  2.3734 -AC_MSG_CHECKING([if libtool supports shared libraries])
  2.3735 -AC_MSG_RESULT([$can_build_shared])
  2.3736 -
  2.3737 -AC_MSG_CHECKING([whether to build shared libraries])
  2.3738 -test "$can_build_shared" = "no" && enable_shared=no
  2.3739 -
  2.3740 -# On AIX, shared libraries and static libraries use the same namespace, and
  2.3741 -# are all built from PIC.
  2.3742 -case $host_os in
  2.3743 -aix3*)
  2.3744 -  test "$enable_shared" = yes && enable_static=no
  2.3745 -  if test -n "$RANLIB"; then
  2.3746 -    archive_cmds="$archive_cmds~\$RANLIB \$lib"
  2.3747 -    postinstall_cmds='$RANLIB $lib'
  2.3748 -  fi
  2.3749 -  ;;
  2.3750 -
  2.3751 -aix4* | aix5*)
  2.3752 -  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  2.3753 -    test "$enable_shared" = yes && enable_static=no
  2.3754 -  fi
  2.3755 -    ;;
  2.3756 -esac
  2.3757 -AC_MSG_RESULT([$enable_shared])
  2.3758 -
  2.3759 -AC_MSG_CHECKING([whether to build static libraries])
  2.3760 -# Make sure either enable_shared or enable_static is yes.
  2.3761 -test "$enable_shared" = yes || enable_static=yes
  2.3762 -AC_MSG_RESULT([$enable_static])
  2.3763 -
  2.3764 -AC_LIBTOOL_CONFIG($1)
  2.3765 -
  2.3766 -AC_LANG_POP
  2.3767 -CC="$lt_save_CC"
  2.3768 -])# AC_LIBTOOL_LANG_C_CONFIG
  2.3769 -
  2.3770 -
  2.3771 -# AC_LIBTOOL_LANG_CXX_CONFIG
  2.3772 -# --------------------------
  2.3773 -# Ensure that the configuration vars for the C compiler are
  2.3774 -# suitably defined.  Those variables are subsequently used by
  2.3775 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  2.3776 -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
  2.3777 -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
  2.3778 -[AC_LANG_PUSH(C++)
  2.3779 -AC_REQUIRE([AC_PROG_CXX])
  2.3780 -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
  2.3781 -
  2.3782 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  2.3783 -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
  2.3784 -_LT_AC_TAGVAR(always_export_symbols, $1)=no
  2.3785 -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  2.3786 -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  2.3787 -_LT_AC_TAGVAR(hardcode_direct, $1)=no
  2.3788 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  2.3789 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  2.3790 -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  2.3791 -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  2.3792 -_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  2.3793 -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
  2.3794 -_LT_AC_TAGVAR(module_cmds, $1)=
  2.3795 -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
  2.3796 -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  2.3797 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  2.3798 -_LT_AC_TAGVAR(no_undefined_flag, $1)=
  2.3799 -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  2.3800 -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  2.3801 -
  2.3802 -# Dependencies to place before and after the object being linked:
  2.3803 -_LT_AC_TAGVAR(predep_objects, $1)=
  2.3804 -_LT_AC_TAGVAR(postdep_objects, $1)=
  2.3805 -_LT_AC_TAGVAR(predeps, $1)=
  2.3806 -_LT_AC_TAGVAR(postdeps, $1)=
  2.3807 -_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
  2.3808 -
  2.3809 -# Source file extension for C++ test sources.
  2.3810 -ac_ext=cpp
  2.3811 -
  2.3812 -# Object file extension for compiled C++ test sources.
  2.3813 -objext=o
  2.3814 -_LT_AC_TAGVAR(objext, $1)=$objext
  2.3815 -
  2.3816 -# Code to be used in simple compile tests
  2.3817 -lt_simple_compile_test_code="int some_variable = 0;\n"
  2.3818 -
  2.3819 -# Code to be used in simple link tests
  2.3820 -lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
  2.3821 -
  2.3822 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  2.3823 -_LT_AC_SYS_COMPILER
  2.3824 -
  2.3825 -# save warnings/boilerplate of simple test code
  2.3826 -_LT_COMPILER_BOILERPLATE
  2.3827 -_LT_LINKER_BOILERPLATE
  2.3828 -
  2.3829 -# Allow CC to be a program name with arguments.
  2.3830 -lt_save_CC=$CC
  2.3831 -lt_save_LD=$LD
  2.3832 -lt_save_GCC=$GCC
  2.3833 -GCC=$GXX
  2.3834 -lt_save_with_gnu_ld=$with_gnu_ld
  2.3835 -lt_save_path_LD=$lt_cv_path_LD
  2.3836 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  2.3837 -  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  2.3838 -else
  2.3839 -  $as_unset lt_cv_prog_gnu_ld
  2.3840 -fi
  2.3841 -if test -n "${lt_cv_path_LDCXX+set}"; then
  2.3842 -  lt_cv_path_LD=$lt_cv_path_LDCXX
  2.3843 -else
  2.3844 -  $as_unset lt_cv_path_LD
  2.3845 -fi
  2.3846 -test -z "${LDCXX+set}" || LD=$LDCXX
  2.3847 -CC=${CXX-"c++"}
  2.3848 -compiler=$CC
  2.3849 -_LT_AC_TAGVAR(compiler, $1)=$CC
  2.3850 -_LT_CC_BASENAME([$compiler])
  2.3851 -
  2.3852 -# We don't want -fno-exception wen compiling C++ code, so set the
  2.3853 -# no_builtin_flag separately
  2.3854 -if test "$GXX" = yes; then
  2.3855 -  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  2.3856 -else
  2.3857 -  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  2.3858 -fi
  2.3859 -
  2.3860 -if test "$GXX" = yes; then
  2.3861 -  # Set up default GNU C++ configuration
  2.3862 -
  2.3863 -  AC_PROG_LD
  2.3864 -
  2.3865 -  # Check if GNU C++ uses GNU ld as the underlying linker, since the
  2.3866 -  # archiving commands below assume that GNU ld is being used.
  2.3867 -  if test "$with_gnu_ld" = yes; then
  2.3868 -    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.3869 -    _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'
  2.3870 -
  2.3871 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  2.3872 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  2.3873 -
  2.3874 -    # If archive_cmds runs LD, not CC, wlarc should be empty
  2.3875 -    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  2.3876 -    #     investigate it a little bit more. (MM)
  2.3877 -    wlarc='${wl}'
  2.3878 -
  2.3879 -    # ancient GNU ld didn't support --whole-archive et. al.
  2.3880 -    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
  2.3881 -	grep 'no-whole-archive' > /dev/null; then
  2.3882 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  2.3883 -    else
  2.3884 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  2.3885 -    fi
  2.3886 -  else
  2.3887 -    with_gnu_ld=no
  2.3888 -    wlarc=
  2.3889 -
  2.3890 -    # A generic and very simple default shared library creation
  2.3891 -    # command for GNU C++ for the case where it uses the native
  2.3892 -    # linker, instead of GNU ld.  If possible, this setting should
  2.3893 -    # overridden to take advantage of the native linker features on
  2.3894 -    # the platform it is being used on.
  2.3895 -    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  2.3896 -  fi
  2.3897 -
  2.3898 -  # Commands to make compiler produce verbose output that lists
  2.3899 -  # what "hidden" libraries, object files and flags are used when
  2.3900 -  # linking a shared library.
  2.3901 -  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  2.3902 -
  2.3903 -else
  2.3904 -  GXX=no
  2.3905 -  with_gnu_ld=no
  2.3906 -  wlarc=
  2.3907 -fi
  2.3908 -
  2.3909 -# PORTME: fill in a description of your system's C++ link characteristics
  2.3910 -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  2.3911 -_LT_AC_TAGVAR(ld_shlibs, $1)=yes
  2.3912 -case $host_os in
  2.3913 -  aix3*)
  2.3914 -    # FIXME: insert proper C++ library support
  2.3915 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.3916 -    ;;
  2.3917 -  aix4* | aix5*)
  2.3918 -    if test "$host_cpu" = ia64; then
  2.3919 -      # On IA64, the linker does run time linking by default, so we don't
  2.3920 -      # have to do anything special.
  2.3921 -      aix_use_runtimelinking=no
  2.3922 -      exp_sym_flag='-Bexport'
  2.3923 -      no_entry_flag=""
  2.3924 -    else
  2.3925 -      aix_use_runtimelinking=no
  2.3926 -
  2.3927 -      # Test if we are trying to use run time linking or normal
  2.3928 -      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  2.3929 -      # need to do runtime linking.
  2.3930 -      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
  2.3931 -	for ld_flag in $LDFLAGS; do
  2.3932 -	  case $ld_flag in
  2.3933 -	  *-brtl*)
  2.3934 -	    aix_use_runtimelinking=yes
  2.3935 -	    break
  2.3936 -	    ;;
  2.3937 -	  esac
  2.3938 -	done
  2.3939 -	;;
  2.3940 -      esac
  2.3941 -
  2.3942 -      exp_sym_flag='-bexport'
  2.3943 -      no_entry_flag='-bnoentry'
  2.3944 -    fi
  2.3945 -
  2.3946 -    # When large executables or shared objects are built, AIX ld can
  2.3947 -    # have problems creating the table of contents.  If linking a library
  2.3948 -    # or program results in "error TOC overflow" add -mminimal-toc to
  2.3949 -    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  2.3950 -    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  2.3951 -
  2.3952 -    _LT_AC_TAGVAR(archive_cmds, $1)=''
  2.3953 -    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.3954 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  2.3955 -    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  2.3956 -
  2.3957 -    if test "$GXX" = yes; then
  2.3958 -      case $host_os in aix4.[[012]]|aix4.[[012]].*)
  2.3959 -      # We only want to do this on AIX 4.2 and lower, the check
  2.3960 -      # below for broken collect2 doesn't work under 4.3+
  2.3961 -	collect2name=`${CC} -print-prog-name=collect2`
  2.3962 -	if test -f "$collect2name" && \
  2.3963 -	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  2.3964 -	then
  2.3965 -	  # We have reworked collect2
  2.3966 -	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.3967 -	else
  2.3968 -	  # We have old collect2
  2.3969 -	  _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  2.3970 -	  # It fails to find uninstalled libraries when the uninstalled
  2.3971 -	  # path is not listed in the libpath.  Setting hardcode_minus_L
  2.3972 -	  # to unsupported forces relinking
  2.3973 -	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  2.3974 -	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.3975 -	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  2.3976 -	fi
  2.3977 -	;;
  2.3978 -      esac
  2.3979 -      shared_flag='-shared'
  2.3980 -      if test "$aix_use_runtimelinking" = yes; then
  2.3981 -	shared_flag="$shared_flag "'${wl}-G'
  2.3982 -      fi
  2.3983 -    else
  2.3984 -      # not using gcc
  2.3985 -      if test "$host_cpu" = ia64; then
  2.3986 -	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  2.3987 -	# chokes on -Wl,-G. The following line is correct:
  2.3988 -	shared_flag='-G'
  2.3989 -      else
  2.3990 -	if test "$aix_use_runtimelinking" = yes; then
  2.3991 -	  shared_flag='${wl}-G'
  2.3992 -	else
  2.3993 -	  shared_flag='${wl}-bM:SRE'
  2.3994 -	fi
  2.3995 -      fi
  2.3996 -    fi
  2.3997 -
  2.3998 -    # It seems that -bexpall does not export symbols beginning with
  2.3999 -    # underscore (_), so it is better to generate a list of symbols to export.
  2.4000 -    _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  2.4001 -    if test "$aix_use_runtimelinking" = yes; then
  2.4002 -      # Warning - without using the other runtime loading flags (-brtl),
  2.4003 -      # -berok will link without error, but may produce a broken library.
  2.4004 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
  2.4005 -      # Determine the default libpath from the value encoded in an empty executable.
  2.4006 -      _LT_AC_SYS_LIBPATH_AIX
  2.4007 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  2.4008 -
  2.4009 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  2.4010 -     else
  2.4011 -      if test "$host_cpu" = ia64; then
  2.4012 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  2.4013 -	_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  2.4014 -	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  2.4015 -      else
  2.4016 -	# Determine the default libpath from the value encoded in an empty executable.
  2.4017 -	_LT_AC_SYS_LIBPATH_AIX
  2.4018 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  2.4019 -	# Warning - without using the other run time loading flags,
  2.4020 -	# -berok will link without error, but may produce a broken library.
  2.4021 -	_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  2.4022 -	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  2.4023 -	# Exported symbols can be pulled into shared objects from archives
  2.4024 -	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  2.4025 -	_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  2.4026 -	# This is similar to how AIX traditionally builds its shared libraries.
  2.4027 -	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  2.4028 -      fi
  2.4029 -    fi
  2.4030 -    ;;
  2.4031 -
  2.4032 -  beos*)
  2.4033 -    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  2.4034 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  2.4035 -      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  2.4036 -      # support --undefined.  This deserves some investigation.  FIXME
  2.4037 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.4038 -    else
  2.4039 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4040 -    fi
  2.4041 -    ;;
  2.4042 -
  2.4043 -  chorus*)
  2.4044 -    case $cc_basename in
  2.4045 -      *)
  2.4046 -	# FIXME: insert proper C++ library support
  2.4047 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4048 -	;;
  2.4049 -    esac
  2.4050 -    ;;
  2.4051 -
  2.4052 -  cygwin* | mingw* | pw32*)
  2.4053 -    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  2.4054 -    # as there is no search path for DLLs.
  2.4055 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.4056 -    _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  2.4057 -    _LT_AC_TAGVAR(always_export_symbols, $1)=no
  2.4058 -    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  2.4059 -
  2.4060 -    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  2.4061 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  2.4062 -      # If the export-symbols file already is a .def file (1st line
  2.4063 -      # is EXPORTS), use it as is; otherwise, prepend...
  2.4064 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  2.4065 -	cp $export_symbols $output_objdir/$soname.def;
  2.4066 -      else
  2.4067 -	echo EXPORTS > $output_objdir/$soname.def;
  2.4068 -	cat $export_symbols >> $output_objdir/$soname.def;
  2.4069 -      fi~
  2.4070 -      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  2.4071 -    else
  2.4072 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4073 -    fi
  2.4074 -  ;;
  2.4075 -      darwin* | rhapsody*)
  2.4076 -        case $host_os in
  2.4077 -        rhapsody* | darwin1.[[012]])
  2.4078 -         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
  2.4079 -         ;;
  2.4080 -       *) # Darwin 1.3 on
  2.4081 -         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  2.4082 -           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  2.4083 -         else
  2.4084 -           case ${MACOSX_DEPLOYMENT_TARGET} in
  2.4085 -             10.[[012]])
  2.4086 -               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  2.4087 -               ;;
  2.4088 -             10.*)
  2.4089 -               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
  2.4090 -               ;;
  2.4091 -           esac
  2.4092 -         fi
  2.4093 -         ;;
  2.4094 -        esac
  2.4095 -      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  2.4096 -      _LT_AC_TAGVAR(hardcode_direct, $1)=no
  2.4097 -      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
  2.4098 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  2.4099 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
  2.4100 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  2.4101 -
  2.4102 -    if test "$GXX" = yes ; then
  2.4103 -      lt_int_apple_cc_single_mod=no
  2.4104 -      output_verbose_link_cmd='echo'
  2.4105 -      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
  2.4106 -       lt_int_apple_cc_single_mod=yes
  2.4107 -      fi
  2.4108 -      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
  2.4109 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  2.4110 -      else
  2.4111 -          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  2.4112 -        fi
  2.4113 -        _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  2.4114 -        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  2.4115 -          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
  2.4116 -            _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}'
  2.4117 -          else
  2.4118 -            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  2.4119 -          fi
  2.4120 -            _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}'
  2.4121 -      else
  2.4122 -      case $cc_basename in
  2.4123 -        xlc*)
  2.4124 -         output_verbose_link_cmd='echo'
  2.4125 -          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
  2.4126 -          _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  2.4127 -          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  2.4128 -          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  2.4129 -          _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}'
  2.4130 -          ;;
  2.4131 -       *)
  2.4132 -         _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4133 -          ;;
  2.4134 -      esac
  2.4135 -      fi
  2.4136 -        ;;
  2.4137 -
  2.4138 -  dgux*)
  2.4139 -    case $cc_basename in
  2.4140 -      ec++*)
  2.4141 -	# FIXME: insert proper C++ library support
  2.4142 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4143 -	;;
  2.4144 -      ghcx*)
  2.4145 -	# Green Hills C++ Compiler
  2.4146 -	# FIXME: insert proper C++ library support
  2.4147 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4148 -	;;
  2.4149 -      *)
  2.4150 -	# FIXME: insert proper C++ library support
  2.4151 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4152 -	;;
  2.4153 -    esac
  2.4154 -    ;;
  2.4155 -  freebsd[[12]]*)
  2.4156 -    # C++ shared libraries reported to be fairly broken before switch to ELF
  2.4157 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4158 -    ;;
  2.4159 -  freebsd-elf*)
  2.4160 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  2.4161 -    ;;
  2.4162 -  freebsd* | kfreebsd*-gnu | dragonfly*)
  2.4163 -    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  2.4164 -    # conventions
  2.4165 -    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  2.4166 -    ;;
  2.4167 -  gnu*)
  2.4168 -    ;;
  2.4169 -  hpux9*)
  2.4170 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  2.4171 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.4172 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.4173 -    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.4174 -    _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  2.4175 -				# but as the default
  2.4176 -				# location of the library.
  2.4177 -
  2.4178 -    case $cc_basename in
  2.4179 -    CC*)
  2.4180 -      # FIXME: insert proper C++ library support
  2.4181 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4182 -      ;;
  2.4183 -    aCC*)
  2.4184 -      _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'
  2.4185 -      # Commands to make compiler produce verbose output that lists
  2.4186 -      # what "hidden" libraries, object files and flags are used when
  2.4187 -      # linking a shared library.
  2.4188 -      #
  2.4189 -      # There doesn't appear to be a way to prevent this compiler from
  2.4190 -      # explicitly linking system object files so we need to strip them
  2.4191 -      # from the output so that they don't get included in the library
  2.4192 -      # dependencies.
  2.4193 -      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'
  2.4194 -      ;;
  2.4195 -    *)
  2.4196 -      if test "$GXX" = yes; then
  2.4197 -        _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'
  2.4198 -      else
  2.4199 -        # FIXME: insert proper C++ library support
  2.4200 -        _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4201 -      fi
  2.4202 -      ;;
  2.4203 -    esac
  2.4204 -    ;;
  2.4205 -  hpux10*|hpux11*)
  2.4206 -    if test $with_gnu_ld = no; then
  2.4207 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  2.4208 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.4209 -
  2.4210 -      case $host_cpu in
  2.4211 -      hppa*64*|ia64*)
  2.4212 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  2.4213 -        ;;
  2.4214 -      *)
  2.4215 -	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.4216 -        ;;
  2.4217 -      esac
  2.4218 -    fi
  2.4219 -    case $host_cpu in
  2.4220 -    hppa*64*|ia64*)
  2.4221 -      _LT_AC_TAGVAR(hardcode_direct, $1)=no
  2.4222 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.4223 -      ;;
  2.4224 -    *)
  2.4225 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.4226 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  2.4227 -					      # but as the default
  2.4228 -					      # location of the library.
  2.4229 -      ;;
  2.4230 -    esac
  2.4231 -
  2.4232 -    case $cc_basename in
  2.4233 -      CC*)
  2.4234 -	# FIXME: insert proper C++ library support
  2.4235 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4236 -	;;
  2.4237 -      aCC*)
  2.4238 -	case $host_cpu in
  2.4239 -	hppa*64*)
  2.4240 -	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  2.4241 -	  ;;
  2.4242 -	ia64*)
  2.4243 -	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  2.4244 -	  ;;
  2.4245 -	*)
  2.4246 -	  _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'
  2.4247 -	  ;;
  2.4248 -	esac
  2.4249 -	# Commands to make compiler produce verbose output that lists
  2.4250 -	# what "hidden" libraries, object files and flags are used when
  2.4251 -	# linking a shared library.
  2.4252 -	#
  2.4253 -	# There doesn't appear to be a way to prevent this compiler from
  2.4254 -	# explicitly linking system object files so we need to strip them
  2.4255 -	# from the output so that they don't get included in the library
  2.4256 -	# dependencies.
  2.4257 -	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'
  2.4258 -	;;
  2.4259 -      *)
  2.4260 -	if test "$GXX" = yes; then
  2.4261 -	  if test $with_gnu_ld = no; then
  2.4262 -	    case $host_cpu in
  2.4263 -	    hppa*64*)
  2.4264 -	      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  2.4265 -	      ;;
  2.4266 -	    ia64*)
  2.4267 -	      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  2.4268 -	      ;;
  2.4269 -	    *)
  2.4270 -	      _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'
  2.4271 -	      ;;
  2.4272 -	    esac
  2.4273 -	  fi
  2.4274 -	else
  2.4275 -	  # FIXME: insert proper C++ library support
  2.4276 -	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4277 -	fi
  2.4278 -	;;
  2.4279 -    esac
  2.4280 -    ;;
  2.4281 -  interix3*)
  2.4282 -    _LT_AC_TAGVAR(hardcode_direct, $1)=no
  2.4283 -    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.4284 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  2.4285 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.4286 -    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  2.4287 -    # Instead, shared libraries are loaded at an image base (0x10000000 by
  2.4288 -    # default) and relocated if they conflict, which is a slow very memory
  2.4289 -    # consuming and fragmenting process.  To avoid this, we pick a random,
  2.4290 -    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  2.4291 -    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  2.4292 -    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  2.4293 -    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  2.4294 -    ;;
  2.4295 -  irix5* | irix6*)
  2.4296 -    case $cc_basename in
  2.4297 -      CC*)
  2.4298 -	# SGI C++
  2.4299 -	_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 ${output_objdir}/so_locations -o $lib'
  2.4300 -
  2.4301 -	# Archives containing C++ object files must be created using
  2.4302 -	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
  2.4303 -	# necessary to make sure instantiated templates are included
  2.4304 -	# in the archive.
  2.4305 -	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  2.4306 -	;;
  2.4307 -      *)
  2.4308 -	if test "$GXX" = yes; then
  2.4309 -	  if test "$with_gnu_ld" = no; then
  2.4310 -	    _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}${output_objdir}/so_locations -o $lib'
  2.4311 -	  else
  2.4312 -	    _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'
  2.4313 -	  fi
  2.4314 -	fi
  2.4315 -	_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  2.4316 -	;;
  2.4317 -    esac
  2.4318 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.4319 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.4320 -    ;;
  2.4321 -  linux*)
  2.4322 -    case $cc_basename in
  2.4323 -      KCC*)
  2.4324 -	# Kuck and Associates, Inc. (KAI) C++ Compiler
  2.4325 -
  2.4326 -	# KCC will only create a shared library if the output file
  2.4327 -	# ends with ".so" (or ".sl" for HP-UX), so rename the library
  2.4328 -	# to its proper name (with version) after linking.
  2.4329 -	_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'
  2.4330 -	_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'
  2.4331 -	# Commands to make compiler produce verbose output that lists
  2.4332 -	# what "hidden" libraries, object files and flags are used when
  2.4333 -	# linking a shared library.
  2.4334 -	#
  2.4335 -	# There doesn't appear to be a way to prevent this compiler from
  2.4336 -	# explicitly linking system object files so we need to strip them
  2.4337 -	# from the output so that they don't get included in the library
  2.4338 -	# dependencies.
  2.4339 -	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'
  2.4340 -
  2.4341 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
  2.4342 -	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  2.4343 -
  2.4344 -	# Archives containing C++ object files must be created using
  2.4345 -	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
  2.4346 -	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  2.4347 -	;;
  2.4348 -      icpc*)
  2.4349 -	# Intel C++
  2.4350 -	with_gnu_ld=yes
  2.4351 -	# version 8.0 and above of icpc choke on multiply defined symbols
  2.4352 -	# if we add $predep_objects and $postdep_objects, however 7.1 and
  2.4353 -	# earlier do not add the objects themselves.
  2.4354 -	case `$CC -V 2>&1` in
  2.4355 -	*"Version 7."*)
  2.4356 -  	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.4357 -  	  _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'
  2.4358 -	  ;;
  2.4359 -	*)  # Version 8.0 or newer
  2.4360 -	  tmp_idyn=
  2.4361 -	  case $host_cpu in
  2.4362 -	    ia64*) tmp_idyn=' -i_dynamic';;
  2.4363 -	  esac
  2.4364 -  	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.4365 -	  _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  2.4366 -	  ;;
  2.4367 -	esac
  2.4368 -	_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  2.4369 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  2.4370 -	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  2.4371 -	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  2.4372 -	;;
  2.4373 -      pgCC*)
  2.4374 -        # Portland Group C++ compiler
  2.4375 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  2.4376 -  	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  2.4377 -
  2.4378 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  2.4379 -	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  2.4380 -	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  2.4381 -        ;;
  2.4382 -      cxx*)
  2.4383 -	# Compaq C++
  2.4384 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.4385 -	_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'
  2.4386 -
  2.4387 -	runpath_var=LD_RUN_PATH
  2.4388 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  2.4389 -	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.4390 -
  2.4391 -	# Commands to make compiler produce verbose output that lists
  2.4392 -	# what "hidden" libraries, object files and flags are used when
  2.4393 -	# linking a shared library.
  2.4394 -	#
  2.4395 -	# There doesn't appear to be a way to prevent this compiler from
  2.4396 -	# explicitly linking system object files so we need to strip them
  2.4397 -	# from the output so that they don't get included in the library
  2.4398 -	# dependencies.
  2.4399 -	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'
  2.4400 -	;;
  2.4401 -    esac
  2.4402 -    ;;
  2.4403 -  lynxos*)
  2.4404 -    # FIXME: insert proper C++ library support
  2.4405 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4406 -    ;;
  2.4407 -  m88k*)
  2.4408 -    # FIXME: insert proper C++ library support
  2.4409 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4410 -    ;;
  2.4411 -  mvs*)
  2.4412 -    case $cc_basename in
  2.4413 -      cxx*)
  2.4414 -	# FIXME: insert proper C++ library support
  2.4415 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4416 -	;;
  2.4417 -      *)
  2.4418 -	# FIXME: insert proper C++ library support
  2.4419 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4420 -	;;
  2.4421 -    esac
  2.4422 -    ;;
  2.4423 -  netbsd*)
  2.4424 -    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  2.4425 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  2.4426 -      wlarc=
  2.4427 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  2.4428 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.4429 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.4430 -    fi
  2.4431 -    # Workaround some broken pre-1.5 toolchains
  2.4432 -    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  2.4433 -    ;;
  2.4434 -  openbsd2*)
  2.4435 -    # C++ shared libraries are fairly broken
  2.4436 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4437 -    ;;
  2.4438 -  openbsd*)
  2.4439 -    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.4440 -    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.4441 -    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  2.4442 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  2.4443 -    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2.4444 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  2.4445 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.4446 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  2.4447 -    fi
  2.4448 -    output_verbose_link_cmd='echo'
  2.4449 -    ;;
  2.4450 -  osf3*)
  2.4451 -    case $cc_basename in
  2.4452 -      KCC*)
  2.4453 -	# Kuck and Associates, Inc. (KAI) C++ Compiler
  2.4454 -
  2.4455 -	# KCC will only create a shared library if the output file
  2.4456 -	# ends with ".so" (or ".sl" for HP-UX), so rename the library
  2.4457 -	# to its proper name (with version) after linking.
  2.4458 -	_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'
  2.4459 -
  2.4460 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  2.4461 -	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.4462 -
  2.4463 -	# Archives containing C++ object files must be created using
  2.4464 -	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
  2.4465 -	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  2.4466 -
  2.4467 -	;;
  2.4468 -      RCC*)
  2.4469 -	# Rational C++ 2.4.1
  2.4470 -	# FIXME: insert proper C++ library support
  2.4471 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4472 -	;;
  2.4473 -      cxx*)
  2.4474 -	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  2.4475 -	_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 ${output_objdir}/so_locations -o $lib'
  2.4476 -
  2.4477 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.4478 -	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.4479 -
  2.4480 -	# Commands to make compiler produce verbose output that lists
  2.4481 -	# what "hidden" libraries, object files and flags are used when
  2.4482 -	# linking a shared library.
  2.4483 -	#
  2.4484 -	# There doesn't appear to be a way to prevent this compiler from
  2.4485 -	# explicitly linking system object files so we need to strip them
  2.4486 -	# from the output so that they don't get included in the library
  2.4487 -	# dependencies.
  2.4488 -	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'
  2.4489 -	;;
  2.4490 -      *)
  2.4491 -	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  2.4492 -	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  2.4493 -	  _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}${output_objdir}/so_locations -o $lib'
  2.4494 -
  2.4495 -	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.4496 -	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.4497 -
  2.4498 -	  # Commands to make compiler produce verbose output that lists
  2.4499 -	  # what "hidden" libraries, object files and flags are used when
  2.4500 -	  # linking a shared library.
  2.4501 -	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  2.4502 -
  2.4503 -	else
  2.4504 -	  # FIXME: insert proper C++ library support
  2.4505 -	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4506 -	fi
  2.4507 -	;;
  2.4508 -    esac
  2.4509 -    ;;
  2.4510 -  osf4* | osf5*)
  2.4511 -    case $cc_basename in
  2.4512 -      KCC*)
  2.4513 -	# Kuck and Associates, Inc. (KAI) C++ Compiler
  2.4514 -
  2.4515 -	# KCC will only create a shared library if the output file
  2.4516 -	# ends with ".so" (or ".sl" for HP-UX), so rename the library
  2.4517 -	# to its proper name (with version) after linking.
  2.4518 -	_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'
  2.4519 -
  2.4520 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  2.4521 -	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.4522 -
  2.4523 -	# Archives containing C++ object files must be created using
  2.4524 -	# the KAI C++ compiler.
  2.4525 -	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
  2.4526 -	;;
  2.4527 -      RCC*)
  2.4528 -	# Rational C++ 2.4.1
  2.4529 -	# FIXME: insert proper C++ library support
  2.4530 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4531 -	;;
  2.4532 -      cxx*)
  2.4533 -	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  2.4534 -	_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 ${output_objdir}/so_locations -o $lib'
  2.4535 -	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  2.4536 -	  echo "-hidden">> $lib.exp~
  2.4537 -	  $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 ${output_objdir}/so_locations -o $lib~
  2.4538 -	  $rm $lib.exp'
  2.4539 -
  2.4540 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  2.4541 -	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.4542 -
  2.4543 -	# Commands to make compiler produce verbose output that lists
  2.4544 -	# what "hidden" libraries, object files and flags are used when
  2.4545 -	# linking a shared library.
  2.4546 -	#
  2.4547 -	# There doesn't appear to be a way to prevent this compiler from
  2.4548 -	# explicitly linking system object files so we need to strip them
  2.4549 -	# from the output so that they don't get included in the library
  2.4550 -	# dependencies.
  2.4551 -	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'
  2.4552 -	;;
  2.4553 -      *)
  2.4554 -	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  2.4555 -	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  2.4556 -	 _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}${output_objdir}/so_locations -o $lib'
  2.4557 -
  2.4558 -	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.4559 -	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.4560 -
  2.4561 -	  # Commands to make compiler produce verbose output that lists
  2.4562 -	  # what "hidden" libraries, object files and flags are used when
  2.4563 -	  # linking a shared library.
  2.4564 -	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  2.4565 -
  2.4566 -	else
  2.4567 -	  # FIXME: insert proper C++ library support
  2.4568 -	  _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4569 -	fi
  2.4570 -	;;
  2.4571 -    esac
  2.4572 -    ;;
  2.4573 -  psos*)
  2.4574 -    # FIXME: insert proper C++ library support
  2.4575 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4576 -    ;;
  2.4577 -  sunos4*)
  2.4578 -    case $cc_basename in
  2.4579 -      CC*)
  2.4580 -	# Sun C++ 4.x
  2.4581 -	# FIXME: insert proper C++ library support
  2.4582 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4583 -	;;
  2.4584 -      lcc*)
  2.4585 -	# Lucid
  2.4586 -	# FIXME: insert proper C++ library support
  2.4587 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4588 -	;;
  2.4589 -      *)
  2.4590 -	# FIXME: insert proper C++ library support
  2.4591 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4592 -	;;
  2.4593 -    esac
  2.4594 -    ;;
  2.4595 -  solaris*)
  2.4596 -    case $cc_basename in
  2.4597 -      CC*)
  2.4598 -	# Sun C++ 4.2, 5.x and Centerline C++
  2.4599 -        _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
  2.4600 -	_LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  2.4601 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  2.4602 -	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  2.4603 -	$CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  2.4604 -
  2.4605 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  2.4606 -	_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.4607 -	case $host_os in
  2.4608 -	  solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  2.4609 -	  *)
  2.4610 -	    # The C++ compiler is used as linker so we must use $wl
  2.4611 -	    # flag to pass the commands to the underlying system
  2.4612 -	    # linker. We must also pass each convience library through
  2.4613 -	    # to the system linker between allextract/defaultextract.
  2.4614 -	    # The C++ compiler will combine linker options so we
  2.4615 -	    # cannot just pass the convience library names through
  2.4616 -	    # without $wl.
  2.4617 -	    # Supported since Solaris 2.6 (maybe 2.5.1?)
  2.4618 -	    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
  2.4619 -	    ;;
  2.4620 -	esac
  2.4621 -	_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  2.4622 -
  2.4623 -	output_verbose_link_cmd='echo'
  2.4624 -
  2.4625 -	# Archives containing C++ object files must be created using
  2.4626 -	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
  2.4627 -	# necessary to make sure instantiated templates are included
  2.4628 -	# in the archive.
  2.4629 -	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  2.4630 -	;;
  2.4631 -      gcx*)
  2.4632 -	# Green Hills C++ Compiler
  2.4633 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  2.4634 -
  2.4635 -	# The C++ compiler must be used to create the archive.
  2.4636 -	_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  2.4637 -	;;
  2.4638 -      *)
  2.4639 -	# GNU C++ compiler with Solaris linker
  2.4640 -	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  2.4641 -	  _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  2.4642 -	  if $CC --version | grep -v '^2\.7' > /dev/null; then
  2.4643 -	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  2.4644 -	    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  2.4645 -		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  2.4646 -
  2.4647 -	    # Commands to make compiler produce verbose output that lists
  2.4648 -	    # what "hidden" libraries, object files and flags are used when
  2.4649 -	    # linking a shared library.
  2.4650 -	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  2.4651 -	  else
  2.4652 -	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
  2.4653 -	    # platform.
  2.4654 -	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  2.4655 -	    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  2.4656 -		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  2.4657 -
  2.4658 -	    # Commands to make compiler produce verbose output that lists
  2.4659 -	    # what "hidden" libraries, object files and flags are used when
  2.4660 -	    # linking a shared library.
  2.4661 -	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  2.4662 -	  fi
  2.4663 -
  2.4664 -	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  2.4665 -	fi
  2.4666 -	;;
  2.4667 -    esac
  2.4668 -    ;;
  2.4669 -  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  2.4670 -    _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  2.4671 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  2.4672 -    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.4673 -    runpath_var='LD_RUN_PATH'
  2.4674 -
  2.4675 -    case $cc_basename in
  2.4676 -      CC*)
  2.4677 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  2.4678 -	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  2.4679 -	;;
  2.4680 -      *)
  2.4681 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  2.4682 -	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  2.4683 -	;;
  2.4684 -    esac
  2.4685 -    ;;
  2.4686 -  sysv5* | sco3.2v5* | sco5v6*)
  2.4687 -    # Note: We can NOT use -z defs as we might desire, because we do not
  2.4688 -    # link with -lc, and that would cause any symbols used from libc to
  2.4689 -    # always be unresolved, which means just about no library would
  2.4690 -    # ever link correctly.  If we're not using GNU ld we use -z text
  2.4691 -    # though, which does catch some bad symbols but isn't as heavy-handed
  2.4692 -    # as -z defs.
  2.4693 -    # For security reasons, it is highly recommended that you always
  2.4694 -    # use absolute paths for naming shared libraries, and exclude the
  2.4695 -    # DT_RUNPATH tag from executables and libraries.  But doing so
  2.4696 -    # requires that you compile everything twice, which is a pain.
  2.4697 -    # So that behaviour is only enabled if SCOABSPATH is set to a
  2.4698 -    # non-empty value in the environment.  Most likely only useful for
  2.4699 -    # creating official distributions of packages.
  2.4700 -    # This is a hack until libtool officially supports absolute path
  2.4701 -    # names for shared libraries.
  2.4702 -    _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  2.4703 -    _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  2.4704 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  2.4705 -    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.4706 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  2.4707 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  2.4708 -    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  2.4709 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  2.4710 -    runpath_var='LD_RUN_PATH'
  2.4711 -
  2.4712 -    case $cc_basename in
  2.4713 -      CC*)
  2.4714 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  2.4715 -	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  2.4716 -	;;
  2.4717 -      *)
  2.4718 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  2.4719 -	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  2.4720 -	;;
  2.4721 -    esac
  2.4722 -    ;;
  2.4723 -  tandem*)
  2.4724 -    case $cc_basename in
  2.4725 -      NCC*)
  2.4726 -	# NonStop-UX NCC 3.20
  2.4727 -	# FIXME: insert proper C++ library support
  2.4728 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4729 -	;;
  2.4730 -      *)
  2.4731 -	# FIXME: insert proper C++ library support
  2.4732 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4733 -	;;
  2.4734 -    esac
  2.4735 -    ;;
  2.4736 -  vxworks*)
  2.4737 -    # FIXME: insert proper C++ library support
  2.4738 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4739 -    ;;
  2.4740 -  *)
  2.4741 -    # FIXME: insert proper C++ library support
  2.4742 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.4743 -    ;;
  2.4744 -esac
  2.4745 -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
  2.4746 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  2.4747 -
  2.4748 -_LT_AC_TAGVAR(GCC, $1)="$GXX"
  2.4749 -_LT_AC_TAGVAR(LD, $1)="$LD"
  2.4750 -
  2.4751 -## CAVEAT EMPTOR:
  2.4752 -## There is no encapsulation within the following macros, do not change
  2.4753 -## the running order or otherwise move them around unless you know exactly
  2.4754 -## what you are doing...
  2.4755 -AC_LIBTOOL_POSTDEP_PREDEP($1)
  2.4756 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  2.4757 -AC_LIBTOOL_PROG_CC_C_O($1)
  2.4758 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  2.4759 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  2.4760 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  2.4761 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  2.4762 -
  2.4763 -AC_LIBTOOL_CONFIG($1)
  2.4764 -
  2.4765 -AC_LANG_POP
  2.4766 -CC=$lt_save_CC
  2.4767 -LDCXX=$LD
  2.4768 -LD=$lt_save_LD
  2.4769 -GCC=$lt_save_GCC
  2.4770 -with_gnu_ldcxx=$with_gnu_ld
  2.4771 -with_gnu_ld=$lt_save_with_gnu_ld
  2.4772 -lt_cv_path_LDCXX=$lt_cv_path_LD
  2.4773 -lt_cv_path_LD=$lt_save_path_LD
  2.4774 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  2.4775 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  2.4776 -])# AC_LIBTOOL_LANG_CXX_CONFIG
  2.4777 -
  2.4778 -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
  2.4779 -# ------------------------------------
  2.4780 -# Figure out "hidden" library dependencies from verbose
  2.4781 -# compiler output when linking a shared library.
  2.4782 -# Parse the compiler output and extract the necessary
  2.4783 -# objects, libraries and library flags.
  2.4784 -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
  2.4785 -dnl we can't use the lt_simple_compile_test_code here,
  2.4786 -dnl because it contains code intended for an executable,
  2.4787 -dnl not a library.  It's possible we should let each
  2.4788 -dnl tag define a new lt_????_link_test_code variable,
  2.4789 -dnl but it's only used here...
  2.4790 -ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
  2.4791 -int a;
  2.4792 -void foo (void) { a = 0; }
  2.4793 -EOF
  2.4794 -],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
  2.4795 -class Foo
  2.4796 -{
  2.4797 -public:
  2.4798 -  Foo (void) { a = 0; }
  2.4799 -private:
  2.4800 -  int a;
  2.4801 -};
  2.4802 -EOF
  2.4803 -],[$1],[F77],[cat > conftest.$ac_ext <<EOF
  2.4804 -      subroutine foo
  2.4805 -      implicit none
  2.4806 -      integer*4 a
  2.4807 -      a=0
  2.4808 -      return
  2.4809 -      end
  2.4810 -EOF
  2.4811 -],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
  2.4812 -public class foo {
  2.4813 -  private int a;
  2.4814 -  public void bar (void) {
  2.4815 -    a = 0;
  2.4816 -  }
  2.4817 -};
  2.4818 -EOF
  2.4819 -])
  2.4820 -dnl Parse the compiler output and extract the necessary
  2.4821 -dnl objects, libraries and library flags.
  2.4822 -if AC_TRY_EVAL(ac_compile); then
  2.4823 -  # Parse the compiler output and extract the necessary
  2.4824 -  # objects, libraries and library flags.
  2.4825 -
  2.4826 -  # Sentinel used to keep track of whether or not we are before
  2.4827 -  # the conftest object file.
  2.4828 -  pre_test_object_deps_done=no
  2.4829 -
  2.4830 -  # The `*' in the case matches for architectures that use `case' in
  2.4831 -  # $output_verbose_cmd can trigger glob expansion during the loop
  2.4832 -  # eval without this substitution.
  2.4833 -  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
  2.4834 -
  2.4835 -  for p in `eval $output_verbose_link_cmd`; do
  2.4836 -    case $p in
  2.4837 -
  2.4838 -    -L* | -R* | -l*)
  2.4839 -       # Some compilers place space between "-{L,R}" and the path.
  2.4840 -       # Remove the space.
  2.4841 -       if test $p = "-L" \
  2.4842 -	  || test $p = "-R"; then
  2.4843 -	 prev=$p
  2.4844 -	 continue
  2.4845 -       else
  2.4846 -	 prev=
  2.4847 -       fi
  2.4848 -
  2.4849 -       if test "$pre_test_object_deps_done" = no; then
  2.4850 -	 case $p in
  2.4851 -	 -L* | -R*)
  2.4852 -	   # Internal compiler library paths should come after those
  2.4853 -	   # provided the user.  The postdeps already come after the
  2.4854 -	   # user supplied libs so there is no need to process them.
  2.4855 -	   if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
  2.4856 -	     _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  2.4857 -	   else
  2.4858 -	     _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  2.4859 -	   fi
  2.4860 -	   ;;
  2.4861 -	 # The "-l" case would never come before the object being
  2.4862 -	 # linked, so don't bother handling this case.
  2.4863 -	 esac
  2.4864 -       else
  2.4865 -	 if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
  2.4866 -	   _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
  2.4867 -	 else
  2.4868 -	   _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
  2.4869 -	 fi
  2.4870 -       fi
  2.4871 -       ;;
  2.4872 -
  2.4873 -    *.$objext)
  2.4874 -       # This assumes that the test object file only shows up
  2.4875 -       # once in the compiler output.
  2.4876 -       if test "$p" = "conftest.$objext"; then
  2.4877 -	 pre_test_object_deps_done=yes
  2.4878 -	 continue
  2.4879 -       fi
  2.4880 -
  2.4881 -       if test "$pre_test_object_deps_done" = no; then
  2.4882 -	 if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
  2.4883 -	   _LT_AC_TAGVAR(predep_objects, $1)="$p"
  2.4884 -	 else
  2.4885 -	   _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
  2.4886 -	 fi
  2.4887 -       else
  2.4888 -	 if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
  2.4889 -	   _LT_AC_TAGVAR(postdep_objects, $1)="$p"
  2.4890 -	 else
  2.4891 -	   _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
  2.4892 -	 fi
  2.4893 -       fi
  2.4894 -       ;;
  2.4895 -
  2.4896 -    *) ;; # Ignore the rest.
  2.4897 -
  2.4898 -    esac
  2.4899 -  done
  2.4900 -
  2.4901 -  # Clean up.
  2.4902 -  rm -f a.out a.exe
  2.4903 -else
  2.4904 -  echo "libtool.m4: error: problem compiling $1 test program"
  2.4905 -fi
  2.4906 -
  2.4907 -$rm -f confest.$objext
  2.4908 -
  2.4909 -# PORTME: override above test on systems where it is broken
  2.4910 -ifelse([$1],[CXX],
  2.4911 -[case $host_os in
  2.4912 -interix3*)
  2.4913 -  # Interix 3.5 installs completely hosed .la files for C++, so rather than
  2.4914 -  # hack all around it, let's just trust "g++" to DTRT.
  2.4915 -  _LT_AC_TAGVAR(predep_objects,$1)=
  2.4916 -  _LT_AC_TAGVAR(postdep_objects,$1)=
  2.4917 -  _LT_AC_TAGVAR(postdeps,$1)=
  2.4918 -  ;;
  2.4919 -
  2.4920 -solaris*)
  2.4921 -  case $cc_basename in
  2.4922 -  CC*)
  2.4923 -    # Adding this requires a known-good setup of shared libraries for
  2.4924 -    # Sun compiler versions before 5.6, else PIC objects from an old
  2.4925 -    # archive will be linked into the output, leading to subtle bugs.
  2.4926 -    _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
  2.4927 -    ;;
  2.4928 -  esac
  2.4929 -  ;;
  2.4930 -esac
  2.4931 -])
  2.4932 -
  2.4933 -case " $_LT_AC_TAGVAR(postdeps, $1) " in
  2.4934 -*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  2.4935 -esac
  2.4936 -])# AC_LIBTOOL_POSTDEP_PREDEP
  2.4937 -
  2.4938 -# AC_LIBTOOL_LANG_F77_CONFIG
  2.4939 -# --------------------------
  2.4940 -# Ensure that the configuration vars for the C compiler are
  2.4941 -# suitably defined.  Those variables are subsequently used by
  2.4942 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  2.4943 -AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
  2.4944 -AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
  2.4945 -[AC_REQUIRE([AC_PROG_F77])
  2.4946 -AC_LANG_PUSH(Fortran 77)
  2.4947 -
  2.4948 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  2.4949 -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
  2.4950 -_LT_AC_TAGVAR(always_export_symbols, $1)=no
  2.4951 -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  2.4952 -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  2.4953 -_LT_AC_TAGVAR(hardcode_direct, $1)=no
  2.4954 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  2.4955 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  2.4956 -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  2.4957 -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  2.4958 -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
  2.4959 -_LT_AC_TAGVAR(module_cmds, $1)=
  2.4960 -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
  2.4961 -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  2.4962 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  2.4963 -_LT_AC_TAGVAR(no_undefined_flag, $1)=
  2.4964 -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  2.4965 -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  2.4966 -
  2.4967 -# Source file extension for f77 test sources.
  2.4968 -ac_ext=f
  2.4969 -
  2.4970 -# Object file extension for compiled f77 test sources.
  2.4971 -objext=o
  2.4972 -_LT_AC_TAGVAR(objext, $1)=$objext
  2.4973 -
  2.4974 -# Code to be used in simple compile tests
  2.4975 -lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
  2.4976 -
  2.4977 -# Code to be used in simple link tests
  2.4978 -lt_simple_link_test_code="      program t\n      end\n"
  2.4979 -
  2.4980 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  2.4981 -_LT_AC_SYS_COMPILER
  2.4982 -
  2.4983 -# save warnings/boilerplate of simple test code
  2.4984 -_LT_COMPILER_BOILERPLATE
  2.4985 -_LT_LINKER_BOILERPLATE
  2.4986 -
  2.4987 -# Allow CC to be a program name with arguments.
  2.4988 -lt_save_CC="$CC"
  2.4989 -CC=${F77-"f77"}
  2.4990 -compiler=$CC
  2.4991 -_LT_AC_TAGVAR(compiler, $1)=$CC
  2.4992 -_LT_CC_BASENAME([$compiler])
  2.4993 -
  2.4994 -AC_MSG_CHECKING([if libtool supports shared libraries])
  2.4995 -AC_MSG_RESULT([$can_build_shared])
  2.4996 -
  2.4997 -AC_MSG_CHECKING([whether to build shared libraries])
  2.4998 -test "$can_build_shared" = "no" && enable_shared=no
  2.4999 -
  2.5000 -# On AIX, shared libraries and static libraries use the same namespace, and
  2.5001 -# are all built from PIC.
  2.5002 -case $host_os in
  2.5003 -aix3*)
  2.5004 -  test "$enable_shared" = yes && enable_static=no
  2.5005 -  if test -n "$RANLIB"; then
  2.5006 -    archive_cmds="$archive_cmds~\$RANLIB \$lib"
  2.5007 -    postinstall_cmds='$RANLIB $lib'
  2.5008 -  fi
  2.5009 -  ;;
  2.5010 -aix4* | aix5*)
  2.5011 -  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  2.5012 -    test "$enable_shared" = yes && enable_static=no
  2.5013 -  fi
  2.5014 -  ;;
  2.5015 -esac
  2.5016 -AC_MSG_RESULT([$enable_shared])
  2.5017 -
  2.5018 -AC_MSG_CHECKING([whether to build static libraries])
  2.5019 -# Make sure either enable_shared or enable_static is yes.
  2.5020 -test "$enable_shared" = yes || enable_static=yes
  2.5021 -AC_MSG_RESULT([$enable_static])
  2.5022 -
  2.5023 -_LT_AC_TAGVAR(GCC, $1)="$G77"
  2.5024 -_LT_AC_TAGVAR(LD, $1)="$LD"
  2.5025 -
  2.5026 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  2.5027 -AC_LIBTOOL_PROG_CC_C_O($1)
  2.5028 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  2.5029 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  2.5030 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  2.5031 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  2.5032 -
  2.5033 -AC_LIBTOOL_CONFIG($1)
  2.5034 -
  2.5035 -AC_LANG_POP
  2.5036 -CC="$lt_save_CC"
  2.5037 -])# AC_LIBTOOL_LANG_F77_CONFIG
  2.5038 -
  2.5039 -
  2.5040 -# AC_LIBTOOL_LANG_GCJ_CONFIG
  2.5041 -# --------------------------
  2.5042 -# Ensure that the configuration vars for the C compiler are
  2.5043 -# suitably defined.  Those variables are subsequently used by
  2.5044 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  2.5045 -AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
  2.5046 -AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
  2.5047 -[AC_LANG_SAVE
  2.5048 -
  2.5049 -# Source file extension for Java test sources.
  2.5050 -ac_ext=java
  2.5051 -
  2.5052 -# Object file extension for compiled Java test sources.
  2.5053 -objext=o
  2.5054 -_LT_AC_TAGVAR(objext, $1)=$objext
  2.5055 -
  2.5056 -# Code to be used in simple compile tests
  2.5057 -lt_simple_compile_test_code="class foo {}\n"
  2.5058 -
  2.5059 -# Code to be used in simple link tests
  2.5060 -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
  2.5061 -
  2.5062 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  2.5063 -_LT_AC_SYS_COMPILER
  2.5064 -
  2.5065 -# save warnings/boilerplate of simple test code
  2.5066 -_LT_COMPILER_BOILERPLATE
  2.5067 -_LT_LINKER_BOILERPLATE
  2.5068 -
  2.5069 -# Allow CC to be a program name with arguments.
  2.5070 -lt_save_CC="$CC"
  2.5071 -CC=${GCJ-"gcj"}
  2.5072 -compiler=$CC
  2.5073 -_LT_AC_TAGVAR(compiler, $1)=$CC
  2.5074 -_LT_CC_BASENAME([$compiler])
  2.5075 -
  2.5076 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
  2.5077 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  2.5078 -
  2.5079 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  2.5080 -
  2.5081 -## CAVEAT EMPTOR:
  2.5082 -## There is no encapsulation within the following macros, do not change
  2.5083 -## the running order or otherwise move them around unless you know exactly
  2.5084 -## what you are doing...
  2.5085 -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
  2.5086 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  2.5087 -AC_LIBTOOL_PROG_CC_C_O($1)
  2.5088 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  2.5089 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  2.5090 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  2.5091 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  2.5092 -
  2.5093 -AC_LIBTOOL_CONFIG($1)
  2.5094 -
  2.5095 -AC_LANG_RESTORE
  2.5096 -CC="$lt_save_CC"
  2.5097 -])# AC_LIBTOOL_LANG_GCJ_CONFIG
  2.5098 -
  2.5099 -
  2.5100 -# AC_LIBTOOL_LANG_RC_CONFIG
  2.5101 -# -------------------------
  2.5102 -# Ensure that the configuration vars for the Windows resource compiler are
  2.5103 -# suitably defined.  Those variables are subsequently used by
  2.5104 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  2.5105 -AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
  2.5106 -AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
  2.5107 -[AC_LANG_SAVE
  2.5108 -
  2.5109 -# Source file extension for RC test sources.
  2.5110 -ac_ext=rc
  2.5111 -
  2.5112 -# Object file extension for compiled RC test sources.
  2.5113 -objext=o
  2.5114 -_LT_AC_TAGVAR(objext, $1)=$objext
  2.5115 -
  2.5116 -# Code to be used in simple compile tests
  2.5117 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
  2.5118 -
  2.5119 -# Code to be used in simple link tests
  2.5120 -lt_simple_link_test_code="$lt_simple_compile_test_code"
  2.5121 -
  2.5122 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  2.5123 -_LT_AC_SYS_COMPILER
  2.5124 -
  2.5125 -# save warnings/boilerplate of simple test code
  2.5126 -_LT_COMPILER_BOILERPLATE
  2.5127 -_LT_LINKER_BOILERPLATE
  2.5128 -
  2.5129 -# Allow CC to be a program name with arguments.
  2.5130 -lt_save_CC="$CC"
  2.5131 -CC=${RC-"windres"}
  2.5132 -compiler=$CC
  2.5133 -_LT_AC_TAGVAR(compiler, $1)=$CC
  2.5134 -_LT_CC_BASENAME([$compiler])
  2.5135 -_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  2.5136 -
  2.5137 -AC_LIBTOOL_CONFIG($1)
  2.5138 -
  2.5139 -AC_LANG_RESTORE
  2.5140 -CC="$lt_save_CC"
  2.5141 -])# AC_LIBTOOL_LANG_RC_CONFIG
  2.5142 -
  2.5143 -
  2.5144 -# AC_LIBTOOL_CONFIG([TAGNAME])
  2.5145 -# ----------------------------
  2.5146 -# If TAGNAME is not passed, then create an initial libtool script
  2.5147 -# with a default configuration from the untagged config vars.  Otherwise
  2.5148 -# add code to config.status for appending the configuration named by
  2.5149 -# TAGNAME from the matching tagged config vars.
  2.5150 -AC_DEFUN([AC_LIBTOOL_CONFIG],
  2.5151 -[# The else clause should only fire when bootstrapping the
  2.5152 -# libtool distribution, otherwise you forgot to ship ltmain.sh
  2.5153 -# with your package, and you will get complaints that there are
  2.5154 -# no rules to generate ltmain.sh.
  2.5155 -if test -f "$ltmain"; then
  2.5156 -  # See if we are running on zsh, and set the options which allow our commands through
  2.5157 -  # without removal of \ escapes.
  2.5158 -  if test -n "${ZSH_VERSION+set}" ; then
  2.5159 -    setopt NO_GLOB_SUBST
  2.5160 -  fi
  2.5161 -  # Now quote all the things that may contain metacharacters while being
  2.5162 -  # careful not to overquote the AC_SUBSTed values.  We take copies of the
  2.5163 -  # variables and quote the copies for generation of the libtool script.
  2.5164 -  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  2.5165 -    SED SHELL STRIP \
  2.5166 -    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  2.5167 -    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  2.5168 -    deplibs_check_method reload_flag reload_cmds need_locks \
  2.5169 -    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  2.5170 -    lt_cv_sys_global_symbol_to_c_name_address \
  2.5171 -    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  2.5172 -    old_postinstall_cmds old_postuninstall_cmds \
  2.5173 -    _LT_AC_TAGVAR(compiler, $1) \
  2.5174 -    _LT_AC_TAGVAR(CC, $1) \
  2.5175 -    _LT_AC_TAGVAR(LD, $1) \
  2.5176 -    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
  2.5177 -    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
  2.5178 -    _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
  2.5179 -    _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
  2.5180 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
  2.5181 -    _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
  2.5182 -    _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
  2.5183 -    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
  2.5184 -    _LT_AC_TAGVAR(old_archive_cmds, $1) \
  2.5185 -    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
  2.5186 -    _LT_AC_TAGVAR(predep_objects, $1) \
  2.5187 -    _LT_AC_TAGVAR(postdep_objects, $1) \
  2.5188 -    _LT_AC_TAGVAR(predeps, $1) \
  2.5189 -    _LT_AC_TAGVAR(postdeps, $1) \
  2.5190 -    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
  2.5191 -    _LT_AC_TAGVAR(archive_cmds, $1) \
  2.5192 -    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
  2.5193 -    _LT_AC_TAGVAR(postinstall_cmds, $1) \
  2.5194 -    _LT_AC_TAGVAR(postuninstall_cmds, $1) \
  2.5195 -    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
  2.5196 -    _LT_AC_TAGVAR(allow_undefined_flag, $1) \
  2.5197 -    _LT_AC_TAGVAR(no_undefined_flag, $1) \
  2.5198 -    _LT_AC_TAGVAR(export_symbols_cmds, $1) \
  2.5199 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
  2.5200 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
  2.5201 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
  2.5202 -    _LT_AC_TAGVAR(hardcode_automatic, $1) \
  2.5203 -    _LT_AC_TAGVAR(module_cmds, $1) \
  2.5204 -    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
  2.5205 -    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
  2.5206 -    _LT_AC_TAGVAR(exclude_expsyms, $1) \
  2.5207 -    _LT_AC_TAGVAR(include_expsyms, $1); do
  2.5208 -
  2.5209 -    case $var in
  2.5210 -    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
  2.5211 -    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
  2.5212 -    _LT_AC_TAGVAR(archive_cmds, $1) | \
  2.5213 -    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
  2.5214 -    _LT_AC_TAGVAR(module_cmds, $1) | \
  2.5215 -    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
  2.5216 -    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
  2.5217 -    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
  2.5218 -    extract_expsyms_cmds | reload_cmds | finish_cmds | \
  2.5219 -    postinstall_cmds | postuninstall_cmds | \
  2.5220 -    old_postinstall_cmds | old_postuninstall_cmds | \
  2.5221 -    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  2.5222 -      # Double-quote double-evaled strings.
  2.5223 -      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  2.5224 -      ;;
  2.5225 -    *)
  2.5226 -      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  2.5227 -      ;;
  2.5228 -    esac
  2.5229 -  done
  2.5230 -
  2.5231 -  case $lt_echo in
  2.5232 -  *'\[$]0 --fallback-echo"')
  2.5233 -    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
  2.5234 -    ;;
  2.5235 -  esac
  2.5236 -
  2.5237 -ifelse([$1], [],
  2.5238 -  [cfgfile="${ofile}T"
  2.5239 -  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
  2.5240 -  $rm -f "$cfgfile"
  2.5241 -  AC_MSG_NOTICE([creating $ofile])],
  2.5242 -  [cfgfile="$ofile"])
  2.5243 -
  2.5244 -  cat <<__EOF__ >> "$cfgfile"
  2.5245 -ifelse([$1], [],
  2.5246 -[#! $SHELL
  2.5247 -
  2.5248 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  2.5249 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  2.5250 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  2.5251 -#
  2.5252 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
  2.5253 -# Free Software Foundation, Inc.
  2.5254 -#
  2.5255 -# This file is part of GNU Libtool:
  2.5256 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  2.5257 -#
  2.5258 -# This program is free software; you can redistribute it and/or modify
  2.5259 -# it under the terms of the GNU General Public License as published by
  2.5260 -# the Free Software Foundation; either version 2 of the License, or
  2.5261 -# (at your option) any later version.
  2.5262 -#
  2.5263 -# This program is distributed in the hope that it will be useful, but
  2.5264 -# WITHOUT ANY WARRANTY; without even the implied warranty of
  2.5265 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2.5266 -# General Public License for more details.
  2.5267 -#
  2.5268 -# You should have received a copy of the GNU General Public License
  2.5269 -# along with this program; if not, write to the Free Software
  2.5270 -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  2.5271 -#
  2.5272 -# As a special exception to the GNU General Public License, if you
  2.5273 -# distribute this file as part of a program that contains a
  2.5274 -# configuration script generated by Autoconf, you may include it under
  2.5275 -# the same distribution terms that you use for the rest of that program.
  2.5276 -
  2.5277 -# A sed program that does not truncate output.
  2.5278 -SED=$lt_SED
  2.5279 -
  2.5280 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  2.5281 -Xsed="$SED -e 1s/^X//"
  2.5282 -
  2.5283 -# The HP-UX ksh and POSIX shell print the target directory to stdout
  2.5284 -# if CDPATH is set.
  2.5285 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  2.5286 -
  2.5287 -# The names of the tagged configurations supported by this script.
  2.5288 -available_tags=
  2.5289 -
  2.5290 -# ### BEGIN LIBTOOL CONFIG],
  2.5291 -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
  2.5292 -
  2.5293 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  2.5294 -
  2.5295 -# Shell to use when invoking shell scripts.
  2.5296 -SHELL=$lt_SHELL
  2.5297 -
  2.5298 -# Whether or not to build shared libraries.
  2.5299 -build_libtool_libs=$enable_shared
  2.5300 -
  2.5301 -# Whether or not to build static libraries.
  2.5302 -build_old_libs=$enable_static
  2.5303 -
  2.5304 -# Whether or not to add -lc for building shared libraries.
  2.5305 -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
  2.5306 -
  2.5307 -# Whether or not to disallow shared libs when runtime libs are static
  2.5308 -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
  2.5309 -
  2.5310 -# Whether or not to optimize for fast installation.
  2.5311 -fast_install=$enable_fast_install
  2.5312 -
  2.5313 -# The host system.
  2.5314 -host_alias=$host_alias
  2.5315 -host=$host
  2.5316 -host_os=$host_os
  2.5317 -
  2.5318 -# The build system.
  2.5319 -build_alias=$build_alias
  2.5320 -build=$build
  2.5321 -build_os=$build_os
  2.5322 -
  2.5323 -# An echo program that does not interpret backslashes.
  2.5324 -echo=$lt_echo
  2.5325 -
  2.5326 -# The archiver.
  2.5327 -AR=$lt_AR
  2.5328 -AR_FLAGS=$lt_AR_FLAGS
  2.5329 -
  2.5330 -# A C compiler.
  2.5331 -LTCC=$lt_LTCC
  2.5332 -
  2.5333 -# LTCC compiler flags.
  2.5334 -LTCFLAGS=$lt_LTCFLAGS
  2.5335 -
  2.5336 -# A language-specific compiler.
  2.5337 -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
  2.5338 -
  2.5339 -# Is the compiler the GNU C compiler?
  2.5340 -with_gcc=$_LT_AC_TAGVAR(GCC, $1)
  2.5341 -
  2.5342 -# An ERE matcher.
  2.5343 -EGREP=$lt_EGREP
  2.5344 -
  2.5345 -# The linker used to build libraries.
  2.5346 -LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
  2.5347 -
  2.5348 -# Whether we need hard or soft links.
  2.5349 -LN_S=$lt_LN_S
  2.5350 -
  2.5351 -# A BSD-compatible nm program.
  2.5352 -NM=$lt_NM
  2.5353 -
  2.5354 -# A symbol stripping program
  2.5355 -STRIP=$lt_STRIP
  2.5356 -
  2.5357 -# Used to examine libraries when file_magic_cmd begins "file"
  2.5358 -MAGIC_CMD=$MAGIC_CMD
  2.5359 -
  2.5360 -# Used on cygwin: DLL creation program.
  2.5361 -DLLTOOL="$DLLTOOL"
  2.5362 -
  2.5363 -# Used on cygwin: object dumper.
  2.5364 -OBJDUMP="$OBJDUMP"
  2.5365 -
  2.5366 -# Used on cygwin: assembler.
  2.5367 -AS="$AS"
  2.5368 -
  2.5369 -# The name of the directory that contains temporary libtool files.
  2.5370 -objdir=$objdir
  2.5371 -
  2.5372 -# How to create reloadable object files.
  2.5373 -reload_flag=$lt_reload_flag
  2.5374 -reload_cmds=$lt_reload_cmds
  2.5375 -
  2.5376 -# How to pass a linker flag through the compiler.
  2.5377 -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
  2.5378 -
  2.5379 -# Object file suffix (normally "o").
  2.5380 -objext="$ac_objext"
  2.5381 -
  2.5382 -# Old archive suffix (normally "a").
  2.5383 -libext="$libext"
  2.5384 -
  2.5385 -# Shared library suffix (normally ".so").
  2.5386 -shrext_cmds='$shrext_cmds'
  2.5387 -
  2.5388 -# Executable file suffix (normally "").
  2.5389 -exeext="$exeext"
  2.5390 -
  2.5391 -# Additional compiler flags for building library objects.
  2.5392 -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
  2.5393 -pic_mode=$pic_mode
  2.5394 -
  2.5395 -# What is the maximum length of a command?
  2.5396 -max_cmd_len=$lt_cv_sys_max_cmd_len
  2.5397 -
  2.5398 -# Does compiler simultaneously support -c and -o options?
  2.5399 -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
  2.5400 -
  2.5401 -# Must we lock files when doing compilation?
  2.5402 -need_locks=$lt_need_locks
  2.5403 -
  2.5404 -# Do we need the lib prefix for modules?
  2.5405 -need_lib_prefix=$need_lib_prefix
  2.5406 -
  2.5407 -# Do we need a version for libraries?
  2.5408 -need_version=$need_version
  2.5409 -
  2.5410 -# Whether dlopen is supported.
  2.5411 -dlopen_support=$enable_dlopen
  2.5412 -
  2.5413 -# Whether dlopen of programs is supported.
  2.5414 -dlopen_self=$enable_dlopen_self
  2.5415 -
  2.5416 -# Whether dlopen of statically linked programs is supported.
  2.5417 -dlopen_self_static=$enable_dlopen_self_static
  2.5418 -
  2.5419 -# Compiler flag to prevent dynamic linking.
  2.5420 -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
  2.5421 -
  2.5422 -# Compiler flag to turn off builtin functions.
  2.5423 -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
  2.5424 -
  2.5425 -# Compiler flag to allow reflexive dlopens.
  2.5426 -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
  2.5427 -
  2.5428 -# Compiler flag to generate shared objects directly from archives.
  2.5429 -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
  2.5430 -
  2.5431 -# Compiler flag to generate thread-safe objects.
  2.5432 -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
  2.5433 -
  2.5434 -# Library versioning type.
  2.5435 -version_type=$version_type
  2.5436 -
  2.5437 -# Format of library name prefix.
  2.5438 -libname_spec=$lt_libname_spec
  2.5439 -
  2.5440 -# List of archive names.  First name is the real one, the rest are links.
  2.5441 -# The last name is the one that the linker finds with -lNAME.
  2.5442 -library_names_spec=$lt_library_names_spec
  2.5443 -
  2.5444 -# The coded name of the library, if different from the real name.
  2.5445 -soname_spec=$lt_soname_spec
  2.5446 -
  2.5447 -# Commands used to build and install an old-style archive.
  2.5448 -RANLIB=$lt_RANLIB
  2.5449 -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
  2.5450 -old_postinstall_cmds=$lt_old_postinstall_cmds
  2.5451 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  2.5452 -
  2.5453 -# Create an old-style archive from a shared archive.
  2.5454 -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
  2.5455 -
  2.5456 -# Create a temporary old-style archive to link instead of a shared archive.
  2.5457 -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
  2.5458 -
  2.5459 -# Commands used to build and install a shared archive.
  2.5460 -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
  2.5461 -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
  2.5462 -postinstall_cmds=$lt_postinstall_cmds
  2.5463 -postuninstall_cmds=$lt_postuninstall_cmds
  2.5464 -
  2.5465 -# Commands used to build a loadable module (assumed same as above if empty)
  2.5466 -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
  2.5467 -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
  2.5468 -
  2.5469 -# Commands to strip libraries.
  2.5470 -old_striplib=$lt_old_striplib
  2.5471 -striplib=$lt_striplib
  2.5472 -
  2.5473 -# Dependencies to place before the objects being linked to create a
  2.5474 -# shared library.
  2.5475 -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
  2.5476 -
  2.5477 -# Dependencies to place after the objects being linked to create a
  2.5478 -# shared library.
  2.5479 -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
  2.5480 -
  2.5481 -# Dependencies to place before the objects being linked to create a
  2.5482 -# shared library.
  2.5483 -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
  2.5484 -
  2.5485 -# Dependencies to place after the objects being linked to create a
  2.5486 -# shared library.
  2.5487 -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
  2.5488 -
  2.5489 -# The library search path used internally by the compiler when linking
  2.5490 -# a shared library.
  2.5491 -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
  2.5492 -
  2.5493 -# Method to check whether dependent libraries are shared objects.
  2.5494 -deplibs_check_method=$lt_deplibs_check_method
  2.5495 -
  2.5496 -# Command to use when deplibs_check_method == file_magic.
  2.5497 -file_magic_cmd=$lt_file_magic_cmd
  2.5498 -
  2.5499 -# Flag that allows shared libraries with undefined symbols to be built.
  2.5500 -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
  2.5501 -
  2.5502 -# Flag that forces no undefined symbols.
  2.5503 -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
  2.5504 -
  2.5505 -# Commands used to finish a libtool library installation in a directory.
  2.5506 -finish_cmds=$lt_finish_cmds
  2.5507 -
  2.5508 -# Same as above, but a single script fragment to be evaled but not shown.
  2.5509 -finish_eval=$lt_finish_eval
  2.5510 -
  2.5511 -# Take the output of nm and produce a listing of raw symbols and C names.
  2.5512 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  2.5513 -
  2.5514 -# Transform the output of nm in a proper C declaration
  2.5515 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  2.5516 -
  2.5517 -# Transform the output of nm in a C name address pair
  2.5518 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  2.5519 -
  2.5520 -# This is the shared library runtime path variable.
  2.5521 -runpath_var=$runpath_var
  2.5522 -
  2.5523 -# This is the shared library path variable.
  2.5524 -shlibpath_var=$shlibpath_var
  2.5525 -
  2.5526 -# Is shlibpath searched before the hard-coded library search path?
  2.5527 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  2.5528 -
  2.5529 -# How to hardcode a shared library path into an executable.
  2.5530 -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
  2.5531 -
  2.5532 -# Whether we should hardcode library paths into libraries.
  2.5533 -hardcode_into_libs=$hardcode_into_libs
  2.5534 -
  2.5535 -# Flag to hardcode \$libdir into a binary during linking.
  2.5536 -# This must work even if \$libdir does not exist.
  2.5537 -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
  2.5538 -
  2.5539 -# If ld is used when linking, flag to hardcode \$libdir into
  2.5540 -# a binary during linking. This must work even if \$libdir does
  2.5541 -# not exist.
  2.5542 -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
  2.5543 -
  2.5544 -# Whether we need a single -rpath flag with a separated argument.
  2.5545 -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
  2.5546 -
  2.5547 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  2.5548 -# resulting binary.
  2.5549 -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
  2.5550 -
  2.5551 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  2.5552 -# resulting binary.
  2.5553 -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
  2.5554 -
  2.5555 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  2.5556 -# the resulting binary.
  2.5557 -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
  2.5558 -
  2.5559 -# Set to yes if building a shared library automatically hardcodes DIR into the library
  2.5560 -# and all subsequent libraries and executables linked against it.
  2.5561 -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
  2.5562 -
  2.5563 -# Variables whose values should be saved in libtool wrapper scripts and
  2.5564 -# restored at relink time.
  2.5565 -variables_saved_for_relink="$variables_saved_for_relink"
  2.5566 -
  2.5567 -# Whether libtool must link a program against all its dependency libraries.
  2.5568 -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
  2.5569 -
  2.5570 -# Compile-time system search path for libraries
  2.5571 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  2.5572 -
  2.5573 -# Run-time system search path for libraries
  2.5574 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  2.5575 -
  2.5576 -# Fix the shell variable \$srcfile for the compiler.
  2.5577 -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
  2.5578 -
  2.5579 -# Set to yes if exported symbols are required.
  2.5580 -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
  2.5581 -
  2.5582 -# The commands to list exported symbols.
  2.5583 -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
  2.5584 -
  2.5585 -# The commands to extract the exported symbol list from a shared archive.
  2.5586 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  2.5587 -
  2.5588 -# Symbols that should not be listed in the preloaded symbols.
  2.5589 -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
  2.5590 -
  2.5591 -# Symbols that must always be exported.
  2.5592 -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
  2.5593 -
  2.5594 -ifelse([$1],[],
  2.5595 -[# ### END LIBTOOL CONFIG],
  2.5596 -[# ### END LIBTOOL TAG CONFIG: $tagname])
  2.5597 -
  2.5598 -__EOF__
  2.5599 -
  2.5600 -ifelse([$1],[], [
  2.5601 -  case $host_os in
  2.5602 -  aix3*)
  2.5603 -    cat <<\EOF >> "$cfgfile"
  2.5604 -
  2.5605 -# AIX sometimes has problems with the GCC collect2 program.  For some
  2.5606 -# reason, if we set the COLLECT_NAMES environment variable, the problems
  2.5607 -# vanish in a puff of smoke.
  2.5608 -if test "X${COLLECT_NAMES+set}" != Xset; then
  2.5609 -  COLLECT_NAMES=
  2.5610 -  export COLLECT_NAMES
  2.5611 -fi
  2.5612 -EOF
  2.5613 -    ;;
  2.5614 -  esac
  2.5615 -
  2.5616 -  # We use sed instead of cat because bash on DJGPP gets confused if
  2.5617 -  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  2.5618 -  # text mode, it properly converts lines to CR/LF.  This bash problem
  2.5619 -  # is reportedly fixed, but why not run on old versions too?
  2.5620 -  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
  2.5621 -
  2.5622 -  mv -f "$cfgfile" "$ofile" || \
  2.5623 -    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  2.5624 -  chmod +x "$ofile"
  2.5625 -])
  2.5626 -else
  2.5627 -  # If there is no Makefile yet, we rely on a make rule to execute
  2.5628 -  # `config.status --recheck' to rerun these tests and create the
  2.5629 -  # libtool script then.
  2.5630 -  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  2.5631 -  if test -f "$ltmain_in"; then
  2.5632 -    test -f Makefile && make "$ltmain"
  2.5633 -  fi
  2.5634 -fi
  2.5635 -])# AC_LIBTOOL_CONFIG
  2.5636 -
  2.5637 -
  2.5638 -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
  2.5639 -# -------------------------------------------
  2.5640 -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
  2.5641 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
  2.5642 -
  2.5643 -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  2.5644 +AC_SUBST([LIBM])
  2.5645 +])# LT_LIB_M
  2.5646 +
  2.5647 +# Old name:
  2.5648 +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
  2.5649 +dnl aclocal-1.4 backwards compatibility:
  2.5650 +dnl AC_DEFUN([AC_CHECK_LIBM], [])
  2.5651 +
  2.5652 +
  2.5653 +# _LT_COMPILER_NO_RTTI([TAGNAME])
  2.5654 +# -------------------------------
  2.5655 +m4_defun([_LT_COMPILER_NO_RTTI],
  2.5656 +[m4_require([_LT_TAG_COMPILER])dnl
  2.5657 +
  2.5658 +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  2.5659  
  2.5660  if test "$GCC" = yes; then
  2.5661 -  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  2.5662 -
  2.5663 -  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  2.5664 +  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  2.5665 +
  2.5666 +  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  2.5667      lt_cv_prog_compiler_rtti_exceptions,
  2.5668      [-fno-rtti -fno-exceptions], [],
  2.5669 -    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  2.5670 +    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  2.5671  fi
  2.5672 -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
  2.5673 -
  2.5674 -
  2.5675 -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  2.5676 -# ---------------------------------
  2.5677 -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
  2.5678 -[AC_REQUIRE([AC_CANONICAL_HOST])
  2.5679 -AC_REQUIRE([AC_PROG_NM])
  2.5680 -AC_REQUIRE([AC_OBJEXT])
  2.5681 +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
  2.5682 +	[Compiler flag to turn off builtin functions])
  2.5683 +])# _LT_COMPILER_NO_RTTI
  2.5684 +
  2.5685 +
  2.5686 +# _LT_CMD_GLOBAL_SYMBOLS
  2.5687 +# ----------------------
  2.5688 +m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  2.5689 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2.5690 +AC_REQUIRE([AC_PROG_CC])dnl
  2.5691 +AC_REQUIRE([LT_PATH_NM])dnl
  2.5692 +AC_REQUIRE([LT_PATH_LD])dnl
  2.5693 +m4_require([_LT_DECL_SED])dnl
  2.5694 +m4_require([_LT_DECL_EGREP])dnl
  2.5695 +m4_require([_LT_TAG_COMPILER])dnl
  2.5696 +
  2.5697  # Check for command to grab the raw symbol name followed by C symbol from nm.
  2.5698  AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  2.5699  AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  2.5700 @@ -4969,33 +3662,18 @@
  2.5701  # Regexp to match symbols that can be accessed directly from C.
  2.5702  sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  2.5703  
  2.5704 -# Transform an extracted symbol line into a proper C declaration
  2.5705 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
  2.5706 -
  2.5707 -# Transform an extracted symbol line into symbol name and symbol address
  2.5708 -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'"
  2.5709 -
  2.5710  # Define system-specific variables.
  2.5711  case $host_os in
  2.5712  aix*)
  2.5713    symcode='[[BCDT]]'
  2.5714    ;;
  2.5715 -cygwin* | mingw* | pw32*)
  2.5716 +cygwin* | mingw* | pw32* | cegcc*)
  2.5717    symcode='[[ABCDGISTW]]'
  2.5718    ;;
  2.5719 -hpux*) # Its linker distinguishes data from code symbols
  2.5720 +hpux*)
  2.5721    if test "$host_cpu" = ia64; then
  2.5722      symcode='[[ABCDEGRST]]'
  2.5723    fi
  2.5724 -  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  2.5725 -  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'"
  2.5726 -  ;;
  2.5727 -linux*)
  2.5728 -  if test "$host_cpu" = ia64; then
  2.5729 -    symcode='[[ABCDGIRSTW]]'
  2.5730 -    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  2.5731 -    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'"
  2.5732 -  fi
  2.5733    ;;
  2.5734  irix* | nonstopux*)
  2.5735    symcode='[[BCDEGRST]]'
  2.5736 @@ -5020,44 +3698,72 @@
  2.5737    ;;
  2.5738  esac
  2.5739  
  2.5740 -# Handle CRLF in mingw tool chain
  2.5741 -opt_cr=
  2.5742 -case $build_os in
  2.5743 -mingw*)
  2.5744 -  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  2.5745 -  ;;
  2.5746 -esac
  2.5747 -
  2.5748  # If we're using GNU nm, then use its standard symbol codes.
  2.5749  case `$NM -V 2>&1` in
  2.5750  *GNU* | *'with BFD'*)
  2.5751    symcode='[[ABCDGIRSTW]]' ;;
  2.5752  esac
  2.5753  
  2.5754 -# Try without a prefix undercore, then with it.
  2.5755 +# Transform an extracted symbol line into a proper C declaration.
  2.5756 +# Some systems (esp. on ia64) link data and code symbols differently,
  2.5757 +# so use this general approach.
  2.5758 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  2.5759 +
  2.5760 +# Transform an extracted symbol line into symbol name and symbol address
  2.5761 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
  2.5762 +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
  2.5763 +
  2.5764 +# Handle CRLF in mingw tool chain
  2.5765 +opt_cr=
  2.5766 +case $build_os in
  2.5767 +mingw*)
  2.5768 +  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  2.5769 +  ;;
  2.5770 +esac
  2.5771 +
  2.5772 +# Try without a prefix underscore, then with it.
  2.5773  for ac_symprfx in "" "_"; do
  2.5774  
  2.5775    # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  2.5776    symxfrm="\\1 $ac_symprfx\\2 \\2"
  2.5777  
  2.5778    # Write the raw and C identifiers.
  2.5779 -  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ 	]]\($symcode$symcode*\)[[ 	]][[ 	]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  2.5780 +  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  2.5781 +    # Fake it for dumpbin and say T for any non-static function
  2.5782 +    # and D for any global variable.
  2.5783 +    # Also find C++ and __fastcall symbols from MSVC++,
  2.5784 +    # which start with @ or ?.
  2.5785 +    lt_cv_sys_global_symbol_pipe="$AWK ['"\
  2.5786 +"     {last_section=section; section=\$ 3};"\
  2.5787 +"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  2.5788 +"     \$ 0!~/External *\|/{next};"\
  2.5789 +"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  2.5790 +"     {if(hide[section]) next};"\
  2.5791 +"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  2.5792 +"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  2.5793 +"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  2.5794 +"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  2.5795 +"     ' prfx=^$ac_symprfx]"
  2.5796 +  else
  2.5797 +    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[	 ]]\($symcode$symcode*\)[[	 ]][[	 ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  2.5798 +  fi
  2.5799  
  2.5800    # Check to see that the pipe works correctly.
  2.5801    pipe_works=no
  2.5802  
  2.5803    rm -f conftest*
  2.5804 -  cat > conftest.$ac_ext <<EOF
  2.5805 +  cat > conftest.$ac_ext <<_LT_EOF
  2.5806  #ifdef __cplusplus
  2.5807  extern "C" {
  2.5808  #endif
  2.5809  char nm_test_var;
  2.5810 -void nm_test_func(){}
  2.5811 +void nm_test_func(void);
  2.5812 +void nm_test_func(void){}
  2.5813  #ifdef __cplusplus
  2.5814  }
  2.5815  #endif
  2.5816  int main(){nm_test_var='a';nm_test_func();return(0);}
  2.5817 -EOF
  2.5818 +_LT_EOF
  2.5819  
  2.5820    if AC_TRY_EVAL(ac_compile); then
  2.5821      # Now try to grab the symbols.
  2.5822 @@ -5071,48 +3777,50 @@
  2.5823        fi
  2.5824  
  2.5825        # Make sure that we snagged all the symbols we need.
  2.5826 -      if grep ' nm_test_var$' "$nlist" >/dev/null; then
  2.5827 -	if grep ' nm_test_func$' "$nlist" >/dev/null; then
  2.5828 -	  cat <<EOF > conftest.$ac_ext
  2.5829 +      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  2.5830 +	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  2.5831 +	  cat <<_LT_EOF > conftest.$ac_ext
  2.5832  #ifdef __cplusplus
  2.5833  extern "C" {
  2.5834  #endif
  2.5835  
  2.5836 -EOF
  2.5837 +_LT_EOF
  2.5838  	  # Now generate the symbol file.
  2.5839 -	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
  2.5840 -
  2.5841 -	  cat <<EOF >> conftest.$ac_ext
  2.5842 -#if defined (__STDC__) && __STDC__
  2.5843 -# define lt_ptr_t void *
  2.5844 -#else
  2.5845 -# define lt_ptr_t char *
  2.5846 -# define const
  2.5847 -#endif
  2.5848 -
  2.5849 -/* The mapping between symbol names and symbols. */
  2.5850 +	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  2.5851 +
  2.5852 +	  cat <<_LT_EOF >> conftest.$ac_ext
  2.5853 +
  2.5854 +/* The mapping between symbol names and symbols.  */
  2.5855  const struct {
  2.5856    const char *name;
  2.5857 -  lt_ptr_t address;
  2.5858 +  void       *address;
  2.5859  }
  2.5860 -lt_preloaded_symbols[[]] =
  2.5861 +lt__PROGRAM__LTX_preloaded_symbols[[]] =
  2.5862  {
  2.5863 -EOF
  2.5864 -	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
  2.5865 -	  cat <<\EOF >> conftest.$ac_ext
  2.5866 -  {0, (lt_ptr_t) 0}
  2.5867 +  { "@PROGRAM@", (void *) 0 },
  2.5868 +_LT_EOF
  2.5869 +	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  2.5870 +	  cat <<\_LT_EOF >> conftest.$ac_ext
  2.5871 +  {0, (void *) 0}
  2.5872  };
  2.5873  
  2.5874 +/* This works around a problem in FreeBSD linker */
  2.5875 +#ifdef FREEBSD_WORKAROUND
  2.5876 +static const void *lt_preloaded_setup() {
  2.5877 +  return lt__PROGRAM__LTX_preloaded_symbols;
  2.5878 +}
  2.5879 +#endif
  2.5880 +
  2.5881  #ifdef __cplusplus
  2.5882  }
  2.5883  #endif
  2.5884 -EOF
  2.5885 +_LT_EOF
  2.5886  	  # Now try linking the two files.
  2.5887  	  mv conftest.$ac_objext conftstm.$ac_objext
  2.5888  	  lt_save_LIBS="$LIBS"
  2.5889  	  lt_save_CFLAGS="$CFLAGS"
  2.5890  	  LIBS="conftstm.$ac_objext"
  2.5891 -	  CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  2.5892 +	  CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  2.5893  	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  2.5894  	    pipe_works=yes
  2.5895  	  fi
  2.5896 @@ -5131,7 +3839,7 @@
  2.5897      echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  2.5898      cat conftest.$ac_ext >&5
  2.5899    fi
  2.5900 -  rm -f conftest* conftst*
  2.5901 +  rm -rf conftest* conftst*
  2.5902  
  2.5903    # Do not use the global_symbol_pipe unless it works.
  2.5904    if test "$pipe_works" = yes; then
  2.5905 @@ -5149,141 +3857,162 @@
  2.5906  else
  2.5907    AC_MSG_RESULT(ok)
  2.5908  fi
  2.5909 -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  2.5910 -
  2.5911 -
  2.5912 -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
  2.5913 -# ---------------------------------------
  2.5914 -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
  2.5915 -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
  2.5916 -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  2.5917 -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
  2.5918 +
  2.5919 +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  2.5920 +    [Take the output of nm and produce a listing of raw symbols and C names])
  2.5921 +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  2.5922 +    [Transform the output of nm in a proper C declaration])
  2.5923 +_LT_DECL([global_symbol_to_c_name_address],
  2.5924 +    [lt_cv_sys_global_symbol_to_c_name_address], [1],
  2.5925 +    [Transform the output of nm in a C name address pair])
  2.5926 +_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  2.5927 +    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  2.5928 +    [Transform the output of nm in a C name address pair when lib prefix is needed])
  2.5929 +]) # _LT_CMD_GLOBAL_SYMBOLS
  2.5930 +
  2.5931 +
  2.5932 +# _LT_COMPILER_PIC([TAGNAME])
  2.5933 +# ---------------------------
  2.5934 +m4_defun([_LT_COMPILER_PIC],
  2.5935 +[m4_require([_LT_TAG_COMPILER])dnl
  2.5936 +_LT_TAGVAR(lt_prog_compiler_wl, $1)=
  2.5937 +_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  2.5938 +_LT_TAGVAR(lt_prog_compiler_static, $1)=
  2.5939  
  2.5940  AC_MSG_CHECKING([for $compiler option to produce PIC])
  2.5941 - ifelse([$1],[CXX],[
  2.5942 +m4_if([$1], [CXX], [
  2.5943    # C++ specific cases for pic, static, wl, etc.
  2.5944    if test "$GXX" = yes; then
  2.5945 -    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.5946 -    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  2.5947 +    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.5948 +    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  2.5949  
  2.5950      case $host_os in
  2.5951      aix*)
  2.5952        # All AIX code is PIC.
  2.5953        if test "$host_cpu" = ia64; then
  2.5954  	# AIX 5 now supports IA64 processor
  2.5955 -	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.5956 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.5957        fi
  2.5958        ;;
  2.5959 +
  2.5960      amigaos*)
  2.5961 -      # FIXME: we need at least 68020 code to build shared libraries, but
  2.5962 -      # adding the `-m68020' flag to GCC prevents building anything better,
  2.5963 -      # like `-m68040'.
  2.5964 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  2.5965 +      case $host_cpu in
  2.5966 +      powerpc)
  2.5967 +            # see comment about AmigaOS4 .so support
  2.5968 +            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.5969 +        ;;
  2.5970 +      m68k)
  2.5971 +            # FIXME: we need at least 68020 code to build shared libraries, but
  2.5972 +            # adding the `-m68020' flag to GCC prevents building anything better,
  2.5973 +            # like `-m68040'.
  2.5974 +            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  2.5975 +        ;;
  2.5976 +      esac
  2.5977        ;;
  2.5978 -    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  2.5979 +
  2.5980 +    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  2.5981        # PIC is the default for these OSes.
  2.5982        ;;
  2.5983 -    mingw* | os2* | pw32*)
  2.5984 +    mingw* | cygwin* | os2* | pw32* | cegcc*)
  2.5985        # This hack is so that the source file can tell whether it is being
  2.5986        # built for inclusion in a dll (and should export symbols for example).
  2.5987 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
  2.5988 +      # Although the cygwin gcc ignores -fPIC, still need this for old-style
  2.5989 +      # (--disable-auto-import) libraries
  2.5990 +      m4_if([$1], [GCJ], [],
  2.5991 +	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  2.5992        ;;
  2.5993      darwin* | rhapsody*)
  2.5994        # PIC is the default on this platform
  2.5995        # Common symbols not allowed in MH_DYLIB files
  2.5996 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  2.5997 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  2.5998        ;;
  2.5999      *djgpp*)
  2.6000        # DJGPP does not support shared libraries at all
  2.6001 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  2.6002 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  2.6003        ;;
  2.6004 -    interix3*)
  2.6005 +    interix[[3-9]]*)
  2.6006        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  2.6007        # Instead, we relocate shared libraries at runtime.
  2.6008        ;;
  2.6009      sysv4*MP*)
  2.6010        if test -d /usr/nec; then
  2.6011 -	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  2.6012 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  2.6013        fi
  2.6014        ;;
  2.6015      hpux*)
  2.6016 -      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  2.6017 -      # not for PA HP-UX.
  2.6018 +      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  2.6019 +      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  2.6020 +      # sets the default TLS model and affects inlining.
  2.6021        case $host_cpu in
  2.6022 -      hppa*64*|ia64*)
  2.6023 +      hppa*64*)
  2.6024  	;;
  2.6025        *)
  2.6026 -	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6027 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6028  	;;
  2.6029        esac
  2.6030        ;;
  2.6031 +    *qnx* | *nto*)
  2.6032 +      # QNX uses GNU C++, but need to define -shared option too, otherwise
  2.6033 +      # it will coredump.
  2.6034 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  2.6035 +      ;;
  2.6036      *)
  2.6037 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6038 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6039        ;;
  2.6040      esac
  2.6041    else
  2.6042      case $host_os in
  2.6043 -      aix4* | aix5*)
  2.6044 +      aix[[4-9]]*)
  2.6045  	# All AIX code is PIC.
  2.6046  	if test "$host_cpu" = ia64; then
  2.6047  	  # AIX 5 now supports IA64 processor
  2.6048 -	  _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6049 +	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6050  	else
  2.6051 -	  _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  2.6052 +	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  2.6053  	fi
  2.6054  	;;
  2.6055        chorus*)
  2.6056  	case $cc_basename in
  2.6057  	cxch68*)
  2.6058  	  # Green Hills C++ Compiler
  2.6059 -	  # _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"
  2.6060 +	  # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
  2.6061  	  ;;
  2.6062  	esac
  2.6063  	;;
  2.6064 -       darwin*)
  2.6065 -         # PIC is the default on this platform
  2.6066 -         # Common symbols not allowed in MH_DYLIB files
  2.6067 -         case $cc_basename in
  2.6068 -           xlc*)
  2.6069 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
  2.6070 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6071 -           ;;
  2.6072 -         esac
  2.6073 -       ;;
  2.6074        dgux*)
  2.6075  	case $cc_basename in
  2.6076  	  ec++*)
  2.6077 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6078 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6079  	    ;;
  2.6080  	  ghcx*)
  2.6081  	    # Green Hills C++ Compiler
  2.6082 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  2.6083 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  2.6084  	    ;;
  2.6085  	  *)
  2.6086  	    ;;
  2.6087  	esac
  2.6088  	;;
  2.6089 -      freebsd* | kfreebsd*-gnu | dragonfly*)
  2.6090 +      freebsd* | dragonfly*)
  2.6091  	# FreeBSD uses GNU C++
  2.6092  	;;
  2.6093        hpux9* | hpux10* | hpux11*)
  2.6094  	case $cc_basename in
  2.6095  	  CC*)
  2.6096 -	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6097 -	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  2.6098 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6099 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  2.6100  	    if test "$host_cpu" != ia64; then
  2.6101 -	      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  2.6102 +	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  2.6103  	    fi
  2.6104  	    ;;
  2.6105  	  aCC*)
  2.6106 -	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6107 -	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  2.6108 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6109 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  2.6110  	    case $host_cpu in
  2.6111  	    hppa*64*|ia64*)
  2.6112  	      # +Z the default
  2.6113  	      ;;
  2.6114  	    *)
  2.6115 -	      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  2.6116 +	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  2.6117  	      ;;
  2.6118  	    esac
  2.6119  	    ;;
  2.6120 @@ -5298,41 +4027,62 @@
  2.6121        irix5* | irix6* | nonstopux*)
  2.6122  	case $cc_basename in
  2.6123  	  CC*)
  2.6124 -	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6125 -	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6126 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6127 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6128  	    # CC pic flag -KPIC is the default.
  2.6129  	    ;;
  2.6130  	  *)
  2.6131  	    ;;
  2.6132  	esac
  2.6133  	;;
  2.6134 -      linux*)
  2.6135 +      linux* | k*bsd*-gnu)
  2.6136  	case $cc_basename in
  2.6137  	  KCC*)
  2.6138  	    # KAI C++ Compiler
  2.6139 -	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  2.6140 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6141 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  2.6142 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6143  	    ;;
  2.6144 -	  icpc* | ecpc*)
  2.6145 -	    # Intel C++
  2.6146 -	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6147 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6148 -	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  2.6149 +	  ecpc* )
  2.6150 +	    # old Intel C++ for x86_64 which still supported -KPIC.
  2.6151 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6152 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6153 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  2.6154  	    ;;
  2.6155 -	  pgCC*)
  2.6156 -	    # Portland Group C++ compiler.
  2.6157 -	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6158 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  2.6159 -	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6160 +	  icpc* )
  2.6161 +	    # Intel C++, used to be incompatible with GCC.
  2.6162 +	    # ICC 10 doesn't accept -KPIC any more.
  2.6163 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6164 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6165 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  2.6166 +	    ;;
  2.6167 +	  pgCC* | pgcpp*)
  2.6168 +	    # Portland Group C++ compiler
  2.6169 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6170 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  2.6171 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6172  	    ;;
  2.6173  	  cxx*)
  2.6174  	    # Compaq C++
  2.6175  	    # Make sure the PIC flag is empty.  It appears that all Alpha
  2.6176  	    # Linux and Compaq Tru64 Unix objects are PIC.
  2.6177 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  2.6178 -	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6179 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  2.6180 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6181 +	    ;;
  2.6182 +	  xlc* | xlC*)
  2.6183 +	    # IBM XL 8.0 on PPC
  2.6184 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6185 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  2.6186 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  2.6187  	    ;;
  2.6188  	  *)
  2.6189 +	    case `$CC -V 2>&1 | sed 5q` in
  2.6190 +	    *Sun\ C*)
  2.6191 +	      # Sun C++ 5.9
  2.6192 +	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6193 +	      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6194 +	      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  2.6195 +	      ;;
  2.6196 +	    esac
  2.6197  	    ;;
  2.6198  	esac
  2.6199  	;;
  2.6200 @@ -5343,7 +4093,7 @@
  2.6201        mvs*)
  2.6202  	case $cc_basename in
  2.6203  	  cxx*)
  2.6204 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  2.6205 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  2.6206  	    ;;
  2.6207  	  *)
  2.6208  	    ;;
  2.6209 @@ -5351,22 +4101,27 @@
  2.6210  	;;
  2.6211        netbsd*)
  2.6212  	;;
  2.6213 +      *qnx* | *nto*)
  2.6214 +        # QNX uses GNU C++, but need to define -shared option too, otherwise
  2.6215 +        # it will coredump.
  2.6216 +        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  2.6217 +        ;;
  2.6218        osf3* | osf4* | osf5*)
  2.6219  	case $cc_basename in
  2.6220  	  KCC*)
  2.6221 -	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  2.6222 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  2.6223  	    ;;
  2.6224  	  RCC*)
  2.6225  	    # Rational C++ 2.4.1
  2.6226 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  2.6227 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  2.6228  	    ;;
  2.6229  	  cxx*)
  2.6230  	    # Digital/Compaq C++
  2.6231 -	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6232 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6233  	    # Make sure the PIC flag is empty.  It appears that all Alpha
  2.6234  	    # Linux and Compaq Tru64 Unix objects are PIC.
  2.6235 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  2.6236 -	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6237 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  2.6238 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6239  	    ;;
  2.6240  	  *)
  2.6241  	    ;;
  2.6242 @@ -5378,13 +4133,13 @@
  2.6243  	case $cc_basename in
  2.6244  	  CC*)
  2.6245  	    # Sun C++ 4.2, 5.x and Centerline C++
  2.6246 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6247 -	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6248 -	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  2.6249 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6250 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6251 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  2.6252  	    ;;
  2.6253  	  gcx*)
  2.6254  	    # Green Hills C++ Compiler
  2.6255 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  2.6256 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  2.6257  	    ;;
  2.6258  	  *)
  2.6259  	    ;;
  2.6260 @@ -5394,22 +4149,12 @@
  2.6261  	case $cc_basename in
  2.6262  	  CC*)
  2.6263  	    # Sun C++ 4.x
  2.6264 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  2.6265 -	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6266 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  2.6267 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6268  	    ;;
  2.6269  	  lcc*)
  2.6270  	    # Lucid
  2.6271 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  2.6272 -	    ;;
  2.6273 -	  *)
  2.6274 -	    ;;
  2.6275 -	esac
  2.6276 -	;;
  2.6277 -      tandem*)
  2.6278 -	case $cc_basename in
  2.6279 -	  NCC*)
  2.6280 -	    # NonStop-UX NCC 3.20
  2.6281 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6282 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  2.6283  	    ;;
  2.6284  	  *)
  2.6285  	    ;;
  2.6286 @@ -5418,58 +4163,93 @@
  2.6287        sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  2.6288  	case $cc_basename in
  2.6289  	  CC*)
  2.6290 -	    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6291 -	    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6292 -	    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6293 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6294 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6295 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6296 +	    ;;
  2.6297 +	esac
  2.6298 +	;;
  2.6299 +      tandem*)
  2.6300 +	case $cc_basename in
  2.6301 +	  NCC*)
  2.6302 +	    # NonStop-UX NCC 3.20
  2.6303 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6304 +	    ;;
  2.6305 +	  *)
  2.6306  	    ;;
  2.6307  	esac
  2.6308  	;;
  2.6309        vxworks*)
  2.6310  	;;
  2.6311        *)
  2.6312 -	_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  2.6313 +	_LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  2.6314  	;;
  2.6315      esac
  2.6316    fi
  2.6317  ],
  2.6318  [
  2.6319    if test "$GCC" = yes; then
  2.6320 -    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6321 -    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  2.6322 +    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6323 +    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  2.6324  
  2.6325      case $host_os in
  2.6326        aix*)
  2.6327        # All AIX code is PIC.
  2.6328        if test "$host_cpu" = ia64; then
  2.6329  	# AIX 5 now supports IA64 processor
  2.6330 -	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6331 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6332        fi
  2.6333        ;;
  2.6334  
  2.6335      amigaos*)
  2.6336 -      # FIXME: we need at least 68020 code to build shared libraries, but
  2.6337 -      # adding the `-m68020' flag to GCC prevents building anything better,
  2.6338 -      # like `-m68040'.
  2.6339 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  2.6340 +      case $host_cpu in
  2.6341 +      powerpc)
  2.6342 +            # see comment about AmigaOS4 .so support
  2.6343 +            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6344 +        ;;
  2.6345 +      m68k)
  2.6346 +            # FIXME: we need at least 68020 code to build shared libraries, but
  2.6347 +            # adding the `-m68020' flag to GCC prevents building anything better,
  2.6348 +            # like `-m68040'.
  2.6349 +            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  2.6350 +        ;;
  2.6351 +      esac
  2.6352        ;;
  2.6353  
  2.6354 -    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  2.6355 +    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  2.6356        # PIC is the default for these OSes.
  2.6357        ;;
  2.6358  
  2.6359 -    mingw* | pw32* | os2*)
  2.6360 +    mingw* | cygwin* | pw32* | os2* | cegcc*)
  2.6361        # This hack is so that the source file can tell whether it is being
  2.6362        # built for inclusion in a dll (and should export symbols for example).
  2.6363 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
  2.6364 +      # Although the cygwin gcc ignores -fPIC, still need this for old-style
  2.6365 +      # (--disable-auto-import) libraries
  2.6366 +      m4_if([$1], [GCJ], [],
  2.6367 +	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  2.6368        ;;
  2.6369  
  2.6370      darwin* | rhapsody*)
  2.6371        # PIC is the default on this platform
  2.6372        # Common symbols not allowed in MH_DYLIB files
  2.6373 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  2.6374 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  2.6375        ;;
  2.6376  
  2.6377 -    interix3*)
  2.6378 +    hpux*)
  2.6379 +      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  2.6380 +      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  2.6381 +      # sets the default TLS model and affects inlining.
  2.6382 +      case $host_cpu in
  2.6383 +      hppa*64*)
  2.6384 +	# +Z the default
  2.6385 +	;;
  2.6386 +      *)
  2.6387 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6388 +	;;
  2.6389 +      esac
  2.6390 +      ;;
  2.6391 +
  2.6392 +    interix[[3-9]]*)
  2.6393        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  2.6394        # Instead, we relocate shared libraries at runtime.
  2.6395        ;;
  2.6396 @@ -5477,17 +4257,48 @@
  2.6397      msdosdjgpp*)
  2.6398        # Just because we use GCC doesn't mean we suddenly get shared libraries
  2.6399        # on systems that don't support them.
  2.6400 -      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  2.6401 +      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  2.6402        enable_shared=no
  2.6403        ;;
  2.6404  
  2.6405 +    *nto* | *qnx*)
  2.6406 +      # QNX uses GNU C++, but need to define -shared option too, otherwise
  2.6407 +      # it will coredump.
  2.6408 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  2.6409 +      ;;
  2.6410 +
  2.6411      sysv4*MP*)
  2.6412        if test -d /usr/nec; then
  2.6413 -	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  2.6414 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  2.6415        fi
  2.6416        ;;
  2.6417  
  2.6418 -    hpux*)
  2.6419 +    *)
  2.6420 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6421 +      ;;
  2.6422 +    esac
  2.6423 +  else
  2.6424 +    # PORTME Check for flag to pass linker flags through the system compiler.
  2.6425 +    case $host_os in
  2.6426 +    aix*)
  2.6427 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6428 +      if test "$host_cpu" = ia64; then
  2.6429 +	# AIX 5 now supports IA64 processor
  2.6430 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6431 +      else
  2.6432 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  2.6433 +      fi
  2.6434 +      ;;
  2.6435 +
  2.6436 +    mingw* | cygwin* | pw32* | os2* | cegcc*)
  2.6437 +      # This hack is so that the source file can tell whether it is being
  2.6438 +      # built for inclusion in a dll (and should export symbols for example).
  2.6439 +      m4_if([$1], [GCJ], [],
  2.6440 +	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  2.6441 +      ;;
  2.6442 +
  2.6443 +    hpux9* | hpux10* | hpux11*)
  2.6444 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6445        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  2.6446        # not for PA HP-UX.
  2.6447        case $host_cpu in
  2.6448 @@ -5495,257 +4306,274 @@
  2.6449  	# +Z the default
  2.6450  	;;
  2.6451        *)
  2.6452 -	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6453 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  2.6454 +	;;
  2.6455 +      esac
  2.6456 +      # Is there a better lt_prog_compiler_static that works with the bundled CC?
  2.6457 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  2.6458 +      ;;
  2.6459 +
  2.6460 +    irix5* | irix6* | nonstopux*)
  2.6461 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6462 +      # PIC (with -KPIC) is the default.
  2.6463 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6464 +      ;;
  2.6465 +
  2.6466 +    linux* | k*bsd*-gnu)
  2.6467 +      case $cc_basename in
  2.6468 +      # old Intel for x86_64 which still supported -KPIC.
  2.6469 +      ecc*)
  2.6470 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6471 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6472 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  2.6473 +        ;;
  2.6474 +      # icc used to be incompatible with GCC.
  2.6475 +      # ICC 10 doesn't accept -KPIC any more.
  2.6476 +      icc* | ifort*)
  2.6477 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6478 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6479 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  2.6480 +        ;;
  2.6481 +      # Lahey Fortran 8.1.
  2.6482 +      lf95*)
  2.6483 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6484 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  2.6485 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  2.6486 +	;;
  2.6487 +      pgcc* | pgf77* | pgf90* | pgf95*)
  2.6488 +        # Portland Group compilers (*not* the Pentium gcc compiler,
  2.6489 +	# which looks to be a dead project)
  2.6490 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6491 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  2.6492 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6493 +        ;;
  2.6494 +      ccc*)
  2.6495 +        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6496 +        # All Alpha code is PIC.
  2.6497 +        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6498 +        ;;
  2.6499 +      xl*)
  2.6500 +	# IBM XL C 8.0/Fortran 10.1 on PPC
  2.6501 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6502 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  2.6503 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  2.6504 +	;;
  2.6505 +      *)
  2.6506 +	case `$CC -V 2>&1 | sed 5q` in
  2.6507 +	*Sun\ C*)
  2.6508 +	  # Sun C 5.9
  2.6509 +	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6510 +	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6511 +	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6512 +	  ;;
  2.6513 +	*Sun\ F*)
  2.6514 +	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
  2.6515 +	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6516 +	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6517 +	  _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  2.6518 +	  ;;
  2.6519 +	esac
  2.6520  	;;
  2.6521        esac
  2.6522        ;;
  2.6523  
  2.6524 -    *)
  2.6525 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  2.6526 +    newsos6)
  2.6527 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6528 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6529        ;;
  2.6530 -    esac
  2.6531 -  else
  2.6532 -    # PORTME Check for flag to pass linker flags through the system compiler.
  2.6533 -    case $host_os in
  2.6534 -    aix*)
  2.6535 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6536 -      if test "$host_cpu" = ia64; then
  2.6537 -	# AIX 5 now supports IA64 processor
  2.6538 -	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6539 -      else
  2.6540 -	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  2.6541 +
  2.6542 +    *nto* | *qnx*)
  2.6543 +      # QNX uses GNU C++, but need to define -shared option too, otherwise
  2.6544 +      # it will coredump.
  2.6545 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  2.6546 +      ;;
  2.6547 +
  2.6548 +    osf3* | osf4* | osf5*)
  2.6549 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6550 +      # All OSF/1 code is PIC.
  2.6551 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6552 +      ;;
  2.6553 +
  2.6554 +    rdos*)
  2.6555 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6556 +      ;;
  2.6557 +
  2.6558 +    solaris*)
  2.6559 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6560 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6561 +      case $cc_basename in
  2.6562 +      f77* | f90* | f95*)
  2.6563 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  2.6564 +      *)
  2.6565 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  2.6566 +      esac
  2.6567 +      ;;
  2.6568 +
  2.6569 +    sunos4*)
  2.6570 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  2.6571 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  2.6572 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6573 +      ;;
  2.6574 +
  2.6575 +    sysv4 | sysv4.2uw2* | sysv4.3*)
  2.6576 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6577 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6578 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6579 +      ;;
  2.6580 +
  2.6581 +    sysv4*MP*)
  2.6582 +      if test -d /usr/nec ;then
  2.6583 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  2.6584 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6585        fi
  2.6586        ;;
  2.6587 -      darwin*)
  2.6588 -        # PIC is the default on this platform
  2.6589 -        # Common symbols not allowed in MH_DYLIB files
  2.6590 -       case $cc_basename in
  2.6591 -         xlc*)
  2.6592 -         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
  2.6593 -         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6594 -         ;;
  2.6595 -       esac
  2.6596 -       ;;
  2.6597 -
  2.6598 -    mingw* | pw32* | os2*)
  2.6599 -      # This hack is so that the source file can tell whether it is being
  2.6600 -      # built for inclusion in a dll (and should export symbols for example).
  2.6601 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
  2.6602 +
  2.6603 +    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  2.6604 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6605 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6606 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6607        ;;
  2.6608  
  2.6609 -    hpux9* | hpux10* | hpux11*)
  2.6610 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6611 -      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  2.6612 -      # not for PA HP-UX.
  2.6613 -      case $host_cpu in
  2.6614 -      hppa*64*|ia64*)
  2.6615 -	# +Z the default
  2.6616 -	;;
  2.6617 -      *)
  2.6618 -	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  2.6619 -	;;
  2.6620 -      esac
  2.6621 -      # Is there a better lt_prog_compiler_static that works with the bundled CC?
  2.6622 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  2.6623 +    unicos*)
  2.6624 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6625 +      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  2.6626        ;;
  2.6627  
  2.6628 -    irix5* | irix6* | nonstopux*)
  2.6629 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6630 -      # PIC (with -KPIC) is the default.
  2.6631 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6632 +    uts4*)
  2.6633 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  2.6634 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6635        ;;
  2.6636  
  2.6637 -    newsos6)
  2.6638 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6639 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6640 -      ;;
  2.6641 -
  2.6642 -    linux*)
  2.6643 -      case $cc_basename in
  2.6644 -      icc* | ecc*)
  2.6645 -	_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6646 -	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6647 -	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  2.6648 -        ;;
  2.6649 -      pgcc* | pgf77* | pgf90* | pgf95*)
  2.6650 -        # Portland Group compilers (*not* the Pentium gcc compiler,
  2.6651 -	# which looks to be a dead project)
  2.6652 -	_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6653 -	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  2.6654 -	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6655 -        ;;
  2.6656 -      ccc*)
  2.6657 -        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6658 -        # All Alpha code is PIC.
  2.6659 -        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6660 -        ;;
  2.6661 -      esac
  2.6662 -      ;;
  2.6663 -
  2.6664 -    osf3* | osf4* | osf5*)
  2.6665 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6666 -      # All OSF/1 code is PIC.
  2.6667 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  2.6668 -      ;;
  2.6669 -
  2.6670 -    solaris*)
  2.6671 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6672 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6673 -      case $cc_basename in
  2.6674 -      f77* | f90* | f95*)
  2.6675 -	_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  2.6676 -      *)
  2.6677 -	_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  2.6678 -      esac
  2.6679 -      ;;
  2.6680 -
  2.6681 -    sunos4*)
  2.6682 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  2.6683 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  2.6684 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6685 -      ;;
  2.6686 -
  2.6687 -    sysv4 | sysv4.2uw2* | sysv4.3*)
  2.6688 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6689 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6690 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6691 -      ;;
  2.6692 -
  2.6693 -    sysv4*MP*)
  2.6694 -      if test -d /usr/nec ;then
  2.6695 -	_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  2.6696 -	_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6697 -      fi
  2.6698 -      ;;
  2.6699 -
  2.6700 -    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  2.6701 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6702 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  2.6703 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6704 -      ;;
  2.6705 -
  2.6706 -    unicos*)
  2.6707 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  2.6708 -      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  2.6709 -      ;;
  2.6710 -
  2.6711 -    uts4*)
  2.6712 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  2.6713 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  2.6714 -      ;;
  2.6715 -
  2.6716      *)
  2.6717 -      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  2.6718 +      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  2.6719        ;;
  2.6720      esac
  2.6721    fi
  2.6722  ])
  2.6723 -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
  2.6724 +case $host_os in
  2.6725 +  # For platforms which do not support PIC, -DPIC is meaningless:
  2.6726 +  *djgpp*)
  2.6727 +    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  2.6728 +    ;;
  2.6729 +  *)
  2.6730 +    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  2.6731 +    ;;
  2.6732 +esac
  2.6733 +AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  2.6734 +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  2.6735 +	[How to pass a linker flag through the compiler])
  2.6736  
  2.6737  #
  2.6738  # Check to make sure the PIC flag actually works.
  2.6739  #
  2.6740 -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
  2.6741 -  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
  2.6742 -    _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
  2.6743 -    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
  2.6744 -    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
  2.6745 +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
  2.6746 +  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
  2.6747 +    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
  2.6748 +    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
  2.6749 +    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
  2.6750       "" | " "*) ;;
  2.6751 -     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  2.6752 +     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  2.6753       esac],
  2.6754 -    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  2.6755 -     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  2.6756 +    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  2.6757 +     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  2.6758  fi
  2.6759 -case $host_os in
  2.6760 -  # For platforms which do not support PIC, -DPIC is meaningless:
  2.6761 -  *djgpp*)
  2.6762 -    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  2.6763 -    ;;
  2.6764 -  *)
  2.6765 -    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
  2.6766 -    ;;
  2.6767 -esac
  2.6768 +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  2.6769 +	[Additional compiler flags for building library objects])
  2.6770  
  2.6771  #
  2.6772  # Check to make sure the static flag actually works.
  2.6773  #
  2.6774 -wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
  2.6775 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  2.6776 -  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
  2.6777 +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
  2.6778 +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  2.6779 +  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
  2.6780    $lt_tmp_static_flag,
  2.6781    [],
  2.6782 -  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
  2.6783 -])
  2.6784 -
  2.6785 -
  2.6786 -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
  2.6787 -# ------------------------------------
  2.6788 +  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
  2.6789 +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
  2.6790 +	[Compiler flag to prevent dynamic linking])
  2.6791 +])# _LT_COMPILER_PIC
  2.6792 +
  2.6793 +
  2.6794 +# _LT_LINKER_SHLIBS([TAGNAME])
  2.6795 +# ----------------------------
  2.6796  # See if the linker supports building shared libraries.
  2.6797 -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
  2.6798 -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  2.6799 -ifelse([$1],[CXX],[
  2.6800 -  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  2.6801 +m4_defun([_LT_LINKER_SHLIBS],
  2.6802 +[AC_REQUIRE([LT_PATH_LD])dnl
  2.6803 +AC_REQUIRE([LT_PATH_NM])dnl
  2.6804 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2.6805 +m4_require([_LT_DECL_EGREP])dnl
  2.6806 +m4_require([_LT_DECL_SED])dnl
  2.6807 +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  2.6808 +m4_require([_LT_TAG_COMPILER])dnl
  2.6809 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  2.6810 +m4_if([$1], [CXX], [
  2.6811 +  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  2.6812    case $host_os in
  2.6813 -  aix4* | aix5*)
  2.6814 +  aix[[4-9]]*)
  2.6815      # If we're using GNU nm, then we don't want the "-C" option.
  2.6816      # -C means demangle to AIX nm, but means don't demangle with GNU nm
  2.6817 -    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  2.6818 -      _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'
  2.6819 +    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  2.6820 +      _LT_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'
  2.6821      else
  2.6822 -      _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'
  2.6823 +      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  2.6824      fi
  2.6825      ;;
  2.6826    pw32*)
  2.6827 -    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  2.6828 +    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  2.6829    ;;
  2.6830 -  cygwin* | mingw*)
  2.6831 -    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
  2.6832 +  cygwin* | mingw* | cegcc*)
  2.6833 +    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  2.6834    ;;
  2.6835    *)
  2.6836 -    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  2.6837 +    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  2.6838    ;;
  2.6839    esac
  2.6840 -],[
  2.6841 +  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  2.6842 +], [
  2.6843    runpath_var=
  2.6844 -  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
  2.6845 -  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  2.6846 -  _LT_AC_TAGVAR(archive_cmds, $1)=
  2.6847 -  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  2.6848 -  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
  2.6849 -  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  2.6850 -  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  2.6851 -  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  2.6852 -  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
  2.6853 -  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  2.6854 -  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  2.6855 -  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  2.6856 -  _LT_AC_TAGVAR(hardcode_direct, $1)=no
  2.6857 -  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  2.6858 -  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  2.6859 -  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  2.6860 -  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
  2.6861 -  _LT_AC_TAGVAR(module_cmds, $1)=
  2.6862 -  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
  2.6863 -  _LT_AC_TAGVAR(always_export_symbols, $1)=no
  2.6864 -  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  2.6865 +  _LT_TAGVAR(allow_undefined_flag, $1)=
  2.6866 +  _LT_TAGVAR(always_export_symbols, $1)=no
  2.6867 +  _LT_TAGVAR(archive_cmds, $1)=
  2.6868 +  _LT_TAGVAR(archive_expsym_cmds, $1)=
  2.6869 +  _LT_TAGVAR(compiler_needs_object, $1)=no
  2.6870 +  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  2.6871 +  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  2.6872 +  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  2.6873 +  _LT_TAGVAR(hardcode_automatic, $1)=no
  2.6874 +  _LT_TAGVAR(hardcode_direct, $1)=no
  2.6875 +  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  2.6876 +  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  2.6877 +  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  2.6878 +  _LT_TAGVAR(hardcode_libdir_separator, $1)=
  2.6879 +  _LT_TAGVAR(hardcode_minus_L, $1)=no
  2.6880 +  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  2.6881 +  _LT_TAGVAR(inherit_rpath, $1)=no
  2.6882 +  _LT_TAGVAR(link_all_deplibs, $1)=unknown
  2.6883 +  _LT_TAGVAR(module_cmds, $1)=
  2.6884 +  _LT_TAGVAR(module_expsym_cmds, $1)=
  2.6885 +  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
  2.6886 +  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  2.6887 +  _LT_TAGVAR(thread_safe_flag_spec, $1)=
  2.6888 +  _LT_TAGVAR(whole_archive_flag_spec, $1)=
  2.6889    # include_expsyms should be a list of space-separated symbols to be *always*
  2.6890    # included in the symbol list
  2.6891 -  _LT_AC_TAGVAR(include_expsyms, $1)=
  2.6892 +  _LT_TAGVAR(include_expsyms, $1)=
  2.6893    # exclude_expsyms can be an extended regexp of symbols to exclude
  2.6894    # it will be wrapped by ` (' and `)$', so one must not match beginning or
  2.6895    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  2.6896    # as well as any symbol that contains `d'.
  2.6897 -  _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
  2.6898 +  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  2.6899    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  2.6900    # platforms (ab)use it in PIC code, but their linkers get confused if
  2.6901    # the symbol is explicitly referenced.  Since portable code cannot
  2.6902    # rely on this symbol name, it's probably fine to never include it in
  2.6903    # preloaded symbol tables.
  2.6904 +  # Exclude shared library initialization/finalization symbols.
  2.6905 +dnl Note also adjust exclude_expsyms for C++ above.
  2.6906    extract_expsyms_cmds=
  2.6907 -  # Just being paranoid about ensuring that cc_basename is set.
  2.6908 -  _LT_CC_BASENAME([$compiler])
  2.6909 +
  2.6910    case $host_os in
  2.6911 -  cygwin* | mingw* | pw32*)
  2.6912 +  cygwin* | mingw* | pw32* | cegcc*)
  2.6913      # FIXME: the MSVC++ port hasn't been tested in a loooong time
  2.6914      # When not using gcc, we currently assume that we are using
  2.6915      # Microsoft Visual C++.
  2.6916 @@ -5762,7 +4590,7 @@
  2.6917      ;;
  2.6918    esac
  2.6919  
  2.6920 -  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  2.6921 +  _LT_TAGVAR(ld_shlibs, $1)=yes
  2.6922    if test "$with_gnu_ld" = yes; then
  2.6923      # If archive_cmds runs LD, not CC, wlarc should be empty
  2.6924      wlarc='${wl}'
  2.6925 @@ -5771,16 +4599,16 @@
  2.6926      # are reset later if shared libraries are not supported. Putting them
  2.6927      # here allows them to be overridden if necessary.
  2.6928      runpath_var=LD_RUN_PATH
  2.6929 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  2.6930 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  2.6931 +    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.6932 +    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  2.6933      # ancient GNU ld didn't support --whole-archive et. al.
  2.6934 -    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  2.6935 -	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  2.6936 -      else
  2.6937 -  	_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  2.6938 +    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  2.6939 +      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  2.6940 +    else
  2.6941 +      _LT_TAGVAR(whole_archive_flag_spec, $1)=
  2.6942      fi
  2.6943      supports_anon_versioning=no
  2.6944 -    case `$LD -v 2>/dev/null` in
  2.6945 +    case `$LD -v 2>&1` in
  2.6946        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  2.6947        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  2.6948        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  2.6949 @@ -5790,11 +4618,11 @@
  2.6950  
  2.6951      # See if GNU ld supports shared libraries.
  2.6952      case $host_os in
  2.6953 -    aix3* | aix4* | aix5*)
  2.6954 +    aix[[3-9]]*)
  2.6955        # On AIX/PPC, the GNU linker is very broken
  2.6956        if test "$host_cpu" != ia64; then
  2.6957 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.6958 -	cat <<EOF 1>&2
  2.6959 +	_LT_TAGVAR(ld_shlibs, $1)=no
  2.6960 +	cat <<_LT_EOF 1>&2
  2.6961  
  2.6962  *** Warning: the GNU linker, at least up to release 2.9.1, is reported
  2.6963  *** to be unable to reliably create shared libraries on AIX.
  2.6964 @@ -5802,49 +4630,50 @@
  2.6965  *** really care for shared libraries, you may want to modify your PATH
  2.6966  *** so that a non-GNU linker is found, and then restart.
  2.6967  
  2.6968 -EOF
  2.6969 +_LT_EOF
  2.6970        fi
  2.6971        ;;
  2.6972  
  2.6973      amigaos*)
  2.6974 -      _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)'
  2.6975 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.6976 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  2.6977 -
  2.6978 -      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  2.6979 -      # that the semantics of dynamic libraries on AmigaOS, at least up
  2.6980 -      # to version 4, is to share data among multiple programs linked
  2.6981 -      # with the same dynamic library.  Since this doesn't match the
  2.6982 -      # behavior of shared libraries on other platforms, we can't use
  2.6983 -      # them.
  2.6984 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.6985 +      case $host_cpu in
  2.6986 +      powerpc)
  2.6987 +            # see comment about AmigaOS4 .so support
  2.6988 +            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.6989 +            _LT_TAGVAR(archive_expsym_cmds, $1)=''
  2.6990 +        ;;
  2.6991 +      m68k)
  2.6992 +            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  2.6993 +            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.6994 +            _LT_TAGVAR(hardcode_minus_L, $1)=yes
  2.6995 +        ;;
  2.6996 +      esac
  2.6997        ;;
  2.6998  
  2.6999      beos*)
  2.7000 -      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  2.7001 -	_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  2.7002 +      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  2.7003 +	_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  2.7004  	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  2.7005  	# support --undefined.  This deserves some investigation.  FIXME
  2.7006 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.7007 +	_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.7008        else
  2.7009 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.7010 +	_LT_TAGVAR(ld_shlibs, $1)=no
  2.7011        fi
  2.7012        ;;
  2.7013  
  2.7014 -    cygwin* | mingw* | pw32*)
  2.7015 -      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  2.7016 +    cygwin* | mingw* | pw32* | cegcc*)
  2.7017 +      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  2.7018        # as there is no search path for DLLs.
  2.7019 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.7020 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  2.7021 -      _LT_AC_TAGVAR(always_export_symbols, $1)=no
  2.7022 -      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  2.7023 -      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
  2.7024 -
  2.7025 -      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  2.7026 -        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  2.7027 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.7028 +      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  2.7029 +      _LT_TAGVAR(always_export_symbols, $1)=no
  2.7030 +      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  2.7031 +      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
  2.7032 +
  2.7033 +      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  2.7034 +        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  2.7035  	# If the export-symbols file already is a .def file (1st line
  2.7036  	# is EXPORTS), use it as is; otherwise, prepend...
  2.7037 -	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  2.7038 +	_LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  2.7039  	  cp $export_symbols $output_objdir/$soname.def;
  2.7040  	else
  2.7041  	  echo EXPORTS > $output_objdir/$soname.def;
  2.7042 @@ -5852,70 +4681,109 @@
  2.7043  	fi~
  2.7044  	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  2.7045        else
  2.7046 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.7047 +	_LT_TAGVAR(ld_shlibs, $1)=no
  2.7048        fi
  2.7049        ;;
  2.7050  
  2.7051 -    interix3*)
  2.7052 -      _LT_AC_TAGVAR(hardcode_direct, $1)=no
  2.7053 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7054 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  2.7055 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.7056 +    interix[[3-9]]*)
  2.7057 +      _LT_TAGVAR(hardcode_direct, $1)=no
  2.7058 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7059 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  2.7060 +      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.7061        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  2.7062        # Instead, shared libraries are loaded at an image base (0x10000000 by
  2.7063        # default) and relocated if they conflict, which is a slow very memory
  2.7064        # consuming and fragmenting process.  To avoid this, we pick a random,
  2.7065        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  2.7066        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  2.7067 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  2.7068 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  2.7069 +      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  2.7070 +      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  2.7071        ;;
  2.7072  
  2.7073 -    linux*)
  2.7074 -      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  2.7075 +    gnu* | linux* | tpf* | k*bsd*-gnu)
  2.7076 +      tmp_diet=no
  2.7077 +      if test "$host_os" = linux-dietlibc; then
  2.7078 +	case $cc_basename in
  2.7079 +	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
  2.7080 +	esac
  2.7081 +      fi
  2.7082 +      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  2.7083 +	 && test "$tmp_diet" = no
  2.7084 +      then
  2.7085  	tmp_addflag=
  2.7086 +	tmp_sharedflag='-shared'
  2.7087  	case $cc_basename,$host_cpu in
  2.7088 -	pgcc*)				# Portland Group C compiler
  2.7089 -	  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  2.7090 +        pgcc*)				# Portland Group C compiler
  2.7091 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  2.7092  	  tmp_addflag=' $pic_flag'
  2.7093  	  ;;
  2.7094  	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
  2.7095 -	  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  2.7096 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  2.7097  	  tmp_addflag=' $pic_flag -Mnomain' ;;
  2.7098 -	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
  2.7099 +	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
  2.7100  	  tmp_addflag=' -i_dynamic' ;;
  2.7101  	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  2.7102  	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  2.7103  	ifc* | ifort*)			# Intel Fortran compiler
  2.7104  	  tmp_addflag=' -nofor_main' ;;
  2.7105 +	lf95*)				# Lahey Fortran 8.1
  2.7106 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)=
  2.7107 +	  tmp_sharedflag='--shared' ;;
  2.7108 +	xl[[cC]]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
  2.7109 +	  tmp_sharedflag='-qmkshrobj'
  2.7110 +	  tmp_addflag= ;;
  2.7111  	esac
  2.7112 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.7113 -
  2.7114 -	if test $supports_anon_versioning = yes; then
  2.7115 -	  _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
  2.7116 -  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  2.7117 -  $echo "local: *; };" >> $output_objdir/$libname.ver~
  2.7118 -	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  2.7119 -	fi
  2.7120 +	case `$CC -V 2>&1 | sed 5q` in
  2.7121 +	*Sun\ C*)			# Sun C 5.9
  2.7122 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  2.7123 +	  _LT_TAGVAR(compiler_needs_object, $1)=yes
  2.7124 +	  tmp_sharedflag='-G' ;;
  2.7125 +	*Sun\ F*)			# Sun Fortran 8.3
  2.7126 +	  tmp_sharedflag='-G' ;;
  2.7127 +	esac
  2.7128 +	_LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.7129 +
  2.7130 +        if test "x$supports_anon_versioning" = xyes; then
  2.7131 +          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  2.7132 +	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  2.7133 +	    echo "local: *; };" >> $output_objdir/$libname.ver~
  2.7134 +	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  2.7135 +        fi
  2.7136 +
  2.7137 +	case $cc_basename in
  2.7138 +	xlf*)
  2.7139 +	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  2.7140 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  2.7141 +	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  2.7142 +	  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  2.7143 +	  _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  2.7144 +	  if test "x$supports_anon_versioning" = xyes; then
  2.7145 +	    _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  2.7146 +	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  2.7147 +	      echo "local: *; };" >> $output_objdir/$libname.ver~
  2.7148 +	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  2.7149 +	  fi
  2.7150 +	  ;;
  2.7151 +	esac
  2.7152        else
  2.7153 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.7154 +        _LT_TAGVAR(ld_shlibs, $1)=no
  2.7155        fi
  2.7156        ;;
  2.7157  
  2.7158      netbsd*)
  2.7159 -      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  2.7160 -	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  2.7161 +      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  2.7162 +	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  2.7163  	wlarc=
  2.7164        else
  2.7165 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.7166 -	_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'
  2.7167 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.7168 +	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  2.7169        fi
  2.7170        ;;
  2.7171  
  2.7172      solaris*)
  2.7173 -      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  2.7174 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.7175 -	cat <<EOF 1>&2
  2.7176 +      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  2.7177 +	_LT_TAGVAR(ld_shlibs, $1)=no
  2.7178 +	cat <<_LT_EOF 1>&2
  2.7179  
  2.7180  *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  2.7181  *** create shared libraries on Solaris systems.  Therefore, libtool
  2.7182 @@ -5924,19 +4792,19 @@
  2.7183  *** your PATH or compiler configuration so that the native linker is
  2.7184  *** used, and then restart.
  2.7185  
  2.7186 -EOF
  2.7187 -      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  2.7188 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.7189 -	_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'
  2.7190 +_LT_EOF
  2.7191 +      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  2.7192 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.7193 +	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  2.7194        else
  2.7195 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.7196 +	_LT_TAGVAR(ld_shlibs, $1)=no
  2.7197        fi
  2.7198        ;;
  2.7199  
  2.7200      sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  2.7201        case `$LD -v 2>&1` in
  2.7202 -        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) 
  2.7203 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.7204 +        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  2.7205 +	_LT_TAGVAR(ld_shlibs, $1)=no
  2.7206  	cat <<_LT_EOF 1>&2
  2.7207  
  2.7208  *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  2.7209 @@ -5949,58 +4817,62 @@
  2.7210  _LT_EOF
  2.7211  	;;
  2.7212  	*)
  2.7213 -	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  2.7214 -	    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  2.7215 -	    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  2.7216 -	    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  2.7217 +	  # For security reasons, it is highly recommended that you always
  2.7218 +	  # use absolute paths for naming shared libraries, and exclude the
  2.7219 +	  # DT_RUNPATH tag from executables and libraries.  But doing so
  2.7220 +	  # requires that you compile everything twice, which is a pain.
  2.7221 +	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  2.7222 +	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.7223 +	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.7224 +	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  2.7225  	  else
  2.7226 -	    _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.7227 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  2.7228  	  fi
  2.7229  	;;
  2.7230        esac
  2.7231        ;;
  2.7232  
  2.7233      sunos4*)
  2.7234 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  2.7235 +      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  2.7236        wlarc=
  2.7237 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.7238 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7239 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  2.7240 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7241        ;;
  2.7242  
  2.7243      *)
  2.7244 -      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  2.7245 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.7246 -	_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'
  2.7247 +      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  2.7248 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.7249 +	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  2.7250        else
  2.7251 -	_LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.7252 +	_LT_TAGVAR(ld_shlibs, $1)=no
  2.7253        fi
  2.7254        ;;
  2.7255      esac
  2.7256  
  2.7257 -    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
  2.7258 +    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
  2.7259        runpath_var=
  2.7260 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  2.7261 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  2.7262 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  2.7263 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  2.7264 +      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  2.7265 +      _LT_TAGVAR(whole_archive_flag_spec, $1)=
  2.7266      fi
  2.7267    else
  2.7268      # PORTME fill in a description of your system's linker (not GNU ld)
  2.7269      case $host_os in
  2.7270      aix3*)
  2.7271 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  2.7272 -      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  2.7273 -      _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'
  2.7274 +      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  2.7275 +      _LT_TAGVAR(always_export_symbols, $1)=yes
  2.7276 +      _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  2.7277        # Note: this linker hardcodes the directories in LIBPATH if there
  2.7278        # are no directories specified by -L.
  2.7279 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  2.7280 +      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  2.7281        if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  2.7282  	# Neither direct hardcoding nor static linking is supported with a
  2.7283  	# broken collect2.
  2.7284 -	_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  2.7285 +	_LT_TAGVAR(hardcode_direct, $1)=unsupported
  2.7286        fi
  2.7287        ;;
  2.7288  
  2.7289 -    aix4* | aix5*)
  2.7290 +    aix[[4-9]]*)
  2.7291        if test "$host_cpu" = ia64; then
  2.7292  	# On IA64, the linker does run time linking by default, so we don't
  2.7293  	# have to do anything special.
  2.7294 @@ -6010,22 +4882,22 @@
  2.7295        else
  2.7296  	# If we're using GNU nm, then we don't want the "-C" option.
  2.7297  	# -C means demangle to AIX nm, but means don't demangle with GNU nm
  2.7298 -	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  2.7299 -	  _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'
  2.7300 +	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  2.7301 +	  _LT_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'
  2.7302  	else
  2.7303 -	  _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'
  2.7304 +	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  2.7305  	fi
  2.7306  	aix_use_runtimelinking=no
  2.7307  
  2.7308  	# Test if we are trying to use run time linking or normal
  2.7309  	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  2.7310  	# need to do runtime linking.
  2.7311 -	case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
  2.7312 +	case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  2.7313  	  for ld_flag in $LDFLAGS; do
  2.7314 -  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  2.7315 -  	    aix_use_runtimelinking=yes
  2.7316 -  	    break
  2.7317 -  	  fi
  2.7318 +	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  2.7319 +	    aix_use_runtimelinking=yes
  2.7320 +	    break
  2.7321 +	  fi
  2.7322  	  done
  2.7323  	  ;;
  2.7324  	esac
  2.7325 @@ -6040,30 +4912,32 @@
  2.7326        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  2.7327        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  2.7328  
  2.7329 -      _LT_AC_TAGVAR(archive_cmds, $1)=''
  2.7330 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.7331 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  2.7332 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  2.7333 +      _LT_TAGVAR(archive_cmds, $1)=''
  2.7334 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  2.7335 +      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  2.7336 +      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  2.7337 +      _LT_TAGVAR(link_all_deplibs, $1)=yes
  2.7338 +      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  2.7339  
  2.7340        if test "$GCC" = yes; then
  2.7341  	case $host_os in aix4.[[012]]|aix4.[[012]].*)
  2.7342  	# We only want to do this on AIX 4.2 and lower, the check
  2.7343  	# below for broken collect2 doesn't work under 4.3+
  2.7344  	  collect2name=`${CC} -print-prog-name=collect2`
  2.7345 -	  if test -f "$collect2name" && \
  2.7346 -  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  2.7347 +	  if test -f "$collect2name" &&
  2.7348 +	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  2.7349  	  then
  2.7350 -  	  # We have reworked collect2
  2.7351 -  	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.7352 +	  # We have reworked collect2
  2.7353 +	  :
  2.7354  	  else
  2.7355 -  	  # We have old collect2
  2.7356 -  	  _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  2.7357 -  	  # It fails to find uninstalled libraries when the uninstalled
  2.7358 -  	  # path is not listed in the libpath.  Setting hardcode_minus_L
  2.7359 -  	  # to unsupported forces relinking
  2.7360 -  	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  2.7361 -  	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.7362 -  	  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  2.7363 +	  # We have old collect2
  2.7364 +	  _LT_TAGVAR(hardcode_direct, $1)=unsupported
  2.7365 +	  # It fails to find uninstalled libraries when the uninstalled
  2.7366 +	  # path is not listed in the libpath.  Setting hardcode_minus_L
  2.7367 +	  # to unsupported forces relinking
  2.7368 +	  _LT_TAGVAR(hardcode_minus_L, $1)=yes
  2.7369 +	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.7370 +	  _LT_TAGVAR(hardcode_libdir_separator, $1)=
  2.7371  	  fi
  2.7372  	  ;;
  2.7373  	esac
  2.7374 @@ -6074,8 +4948,8 @@
  2.7375        else
  2.7376  	# not using gcc
  2.7377  	if test "$host_cpu" = ia64; then
  2.7378 -  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  2.7379 -  	# chokes on -Wl,-G. The following line is correct:
  2.7380 +	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  2.7381 +	# chokes on -Wl,-G. The following line is correct:
  2.7382  	  shared_flag='-G'
  2.7383  	else
  2.7384  	  if test "$aix_use_runtimelinking" = yes; then
  2.7385 @@ -6086,130 +4960,94 @@
  2.7386  	fi
  2.7387        fi
  2.7388  
  2.7389 +      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  2.7390        # It seems that -bexpall does not export symbols beginning with
  2.7391        # underscore (_), so it is better to generate a list of symbols to export.
  2.7392 -      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  2.7393 +      _LT_TAGVAR(always_export_symbols, $1)=yes
  2.7394        if test "$aix_use_runtimelinking" = yes; then
  2.7395  	# Warning - without using the other runtime loading flags (-brtl),
  2.7396  	# -berok will link without error, but may produce a broken library.
  2.7397 -	_LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
  2.7398 -       # Determine the default libpath from the value encoded in an empty executable.
  2.7399 -       _LT_AC_SYS_LIBPATH_AIX
  2.7400 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  2.7401 -	_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  2.7402 -       else
  2.7403 +	_LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  2.7404 +        # Determine the default libpath from the value encoded in an
  2.7405 +        # empty executable.
  2.7406 +        _LT_SYS_MODULE_PATH_AIX
  2.7407 +        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  2.7408 +        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  2.7409 +      else
  2.7410  	if test "$host_cpu" = ia64; then
  2.7411 -	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  2.7412 -	  _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  2.7413 -	  _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  2.7414 +	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  2.7415 +	  _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  2.7416 +	  _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  2.7417  	else
  2.7418 -	 # Determine the default libpath from the value encoded in an empty executable.
  2.7419 -	 _LT_AC_SYS_LIBPATH_AIX
  2.7420 -	 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  2.7421 +	 # Determine the default libpath from the value encoded in an
  2.7422 +	 # empty executable.
  2.7423 +	 _LT_SYS_MODULE_PATH_AIX
  2.7424 +	 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  2.7425  	  # Warning - without using the other run time loading flags,
  2.7426  	  # -berok will link without error, but may produce a broken library.
  2.7427 -	  _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  2.7428 -	  _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  2.7429 +	  _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  2.7430 +	  _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  2.7431  	  # Exported symbols can be pulled into shared objects from archives
  2.7432 -	  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  2.7433 -	  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  2.7434 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  2.7435 +	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  2.7436  	  # This is similar to how AIX traditionally builds its shared libraries.
  2.7437 -	  _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  2.7438 +	  _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  2.7439  	fi
  2.7440        fi
  2.7441        ;;
  2.7442  
  2.7443      amigaos*)
  2.7444 -      _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)'
  2.7445 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.7446 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  2.7447 -      # see comment about different semantics on the GNU ld section
  2.7448 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.7449 +      case $host_cpu in
  2.7450 +      powerpc)
  2.7451 +            # see comment about AmigaOS4 .so support
  2.7452 +            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2.7453 +            _LT_TAGVAR(archive_expsym_cmds, $1)=''
  2.7454 +        ;;
  2.7455 +      m68k)
  2.7456 +            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  2.7457 +            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.7458 +            _LT_TAGVAR(hardcode_minus_L, $1)=yes
  2.7459 +        ;;
  2.7460 +      esac
  2.7461        ;;
  2.7462  
  2.7463      bsdi[[45]]*)
  2.7464 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  2.7465 +      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  2.7466        ;;
  2.7467  
  2.7468 -    cygwin* | mingw* | pw32*)
  2.7469 +    cygwin* | mingw* | pw32* | cegcc*)
  2.7470        # When not using gcc, we currently assume that we are using
  2.7471        # Microsoft Visual C++.
  2.7472        # hardcode_libdir_flag_spec is actually meaningless, as there is
  2.7473        # no search path for DLLs.
  2.7474 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  2.7475 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  2.7476 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  2.7477 +      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  2.7478        # Tell ltmain to make .lib files, not .a files.
  2.7479        libext=lib
  2.7480        # Tell ltmain to make .dll files, not .so files.
  2.7481        shrext_cmds=".dll"
  2.7482        # FIXME: Setting linknames here is a bad hack.
  2.7483 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  2.7484 +      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  2.7485        # The linker will automatically build a .lib file if we build a DLL.
  2.7486 -      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
  2.7487 +      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  2.7488        # FIXME: Should let the user specify the lib program.
  2.7489 -      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
  2.7490 -      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  2.7491 -      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  2.7492 +      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  2.7493 +      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  2.7494 +      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  2.7495        ;;
  2.7496  
  2.7497      darwin* | rhapsody*)
  2.7498 -      case $host_os in
  2.7499 -        rhapsody* | darwin1.[[012]])
  2.7500 -         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
  2.7501 -         ;;
  2.7502 -       *) # Darwin 1.3 on
  2.7503 -         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  2.7504 -           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  2.7505 -         else
  2.7506 -           case ${MACOSX_DEPLOYMENT_TARGET} in
  2.7507 -             10.[[012]])
  2.7508 -               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  2.7509 -               ;;
  2.7510 -             10.*)
  2.7511 -               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
  2.7512 -               ;;
  2.7513 -           esac
  2.7514 -         fi
  2.7515 -         ;;
  2.7516 -      esac
  2.7517 -      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  2.7518 -      _LT_AC_TAGVAR(hardcode_direct, $1)=no
  2.7519 -      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
  2.7520 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  2.7521 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
  2.7522 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  2.7523 -    if test "$GCC" = yes ; then
  2.7524 -    	output_verbose_link_cmd='echo'
  2.7525 -        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  2.7526 -      _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  2.7527 -      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  2.7528 -      _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}'
  2.7529 -      _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}'
  2.7530 -    else
  2.7531 -      case $cc_basename in
  2.7532 -        xlc*)
  2.7533 -         output_verbose_link_cmd='echo'
  2.7534 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
  2.7535 -         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  2.7536 -          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  2.7537 -         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  2.7538 -          _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}'
  2.7539 -          ;;
  2.7540 -       *)
  2.7541 -         _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.7542 -          ;;
  2.7543 -      esac
  2.7544 -    fi
  2.7545 +      _LT_DARWIN_LINKER_FEATURES($1)
  2.7546        ;;
  2.7547  
  2.7548      dgux*)
  2.7549 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  2.7550 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.7551 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7552 +      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  2.7553 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.7554 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7555        ;;
  2.7556  
  2.7557      freebsd1*)
  2.7558 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2.7559 +      _LT_TAGVAR(ld_shlibs, $1)=no
  2.7560        ;;
  2.7561  
  2.7562      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  2.7563 @@ -6217,60 +5055,60 @@
  2.7564      # does not break anything, and helps significantly (at the cost of a little
  2.7565      # extra space).
  2.7566      freebsd2.2*)
  2.7567 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  2.7568 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  2.7569 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.7570 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7571 +      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  2.7572 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  2.7573 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  2.7574 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7575        ;;
  2.7576  
  2.7577      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  2.7578      freebsd2*)
  2.7579 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  2.7580 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.7581 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  2.7582 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7583 +      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  2.7584 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  2.7585 +      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  2.7586 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7587        ;;
  2.7588  
  2.7589      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  2.7590 -    freebsd* | kfreebsd*-gnu | dragonfly*)
  2.7591 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  2.7592 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  2.7593 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.7594 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7595 +    freebsd* | dragonfly*)
  2.7596 +      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  2.7597 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  2.7598 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  2.7599 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7600        ;;
  2.7601  
  2.7602      hpux9*)
  2.7603        if test "$GCC" = yes; then
  2.7604 -	_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'
  2.7605 +	_LT_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'
  2.7606        else
  2.7607 -	_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'
  2.7608 +	_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  2.7609        fi
  2.7610 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  2.7611 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.7612 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.7613 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  2.7614 +      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  2.7615 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  2.7616  
  2.7617        # hardcode_minus_L: Not really in the search PATH,
  2.7618        # but as the default location of the library.
  2.7619 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  2.7620 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.7621 +      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  2.7622 +      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.7623        ;;
  2.7624  
  2.7625      hpux10*)
  2.7626        if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  2.7627 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  2.7628 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  2.7629        else
  2.7630 -	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  2.7631 +	_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  2.7632        fi
  2.7633        if test "$with_gnu_ld" = no; then
  2.7634 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  2.7635 -	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.7636 -
  2.7637 -	_LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.7638 -	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.7639 -
  2.7640 +	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  2.7641 +	_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  2.7642 +	_LT_TAGVAR(hardcode_libdir_separator, $1)=:
  2.7643 +	_LT_TAGVAR(hardcode_direct, $1)=yes
  2.7644 +	_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  2.7645 +	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.7646  	# hardcode_minus_L: Not really in the search PATH,
  2.7647  	# but as the default location of the library.
  2.7648 -	_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  2.7649 +	_LT_TAGVAR(hardcode_minus_L, $1)=yes
  2.7650        fi
  2.7651        ;;
  2.7652  
  2.7653 @@ -6278,45 +5116,45 @@
  2.7654        if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  2.7655  	case $host_cpu in
  2.7656  	hppa*64*)
  2.7657 -	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  2.7658 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  2.7659  	  ;;
  2.7660  	ia64*)
  2.7661 -	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  2.7662 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  2.7663  	  ;;
  2.7664  	*)
  2.7665 -	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  2.7666 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  2.7667  	  ;;
  2.7668  	esac
  2.7669        else
  2.7670  	case $host_cpu in
  2.7671  	hppa*64*)
  2.7672 -	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  2.7673 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  2.7674  	  ;;
  2.7675  	ia64*)
  2.7676 -	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  2.7677 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  2.7678  	  ;;
  2.7679  	*)
  2.7680 -	  _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  2.7681 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  2.7682  	  ;;
  2.7683  	esac
  2.7684        fi
  2.7685        if test "$with_gnu_ld" = no; then
  2.7686 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  2.7687 -	_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.7688 +	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  2.7689 +	_LT_TAGVAR(hardcode_libdir_separator, $1)=:
  2.7690  
  2.7691  	case $host_cpu in
  2.7692  	hppa*64*|ia64*)
  2.7693 -	  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  2.7694 -	  _LT_AC_TAGVAR(hardcode_direct, $1)=no
  2.7695 -	  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7696 +	  _LT_TAGVAR(hardcode_direct, $1)=no
  2.7697 +	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7698  	  ;;
  2.7699  	*)
  2.7700 -	  _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.7701 -	  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.7702 +	  _LT_TAGVAR(hardcode_direct, $1)=yes
  2.7703 +	  _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  2.7704 +	  _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.7705  
  2.7706  	  # hardcode_minus_L: Not really in the search PATH,
  2.7707  	  # but as the default location of the library.
  2.7708 -	  _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  2.7709 +	  _LT_TAGVAR(hardcode_minus_L, $1)=yes
  2.7710  	  ;;
  2.7711  	esac
  2.7712        fi
  2.7713 @@ -6324,191 +5162,221 @@
  2.7714  
  2.7715      irix5* | irix6* | nonstopux*)
  2.7716        if test "$GCC" = yes; then
  2.7717 -	_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'
  2.7718 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  2.7719 +	# Try to use the -exported_symbol ld option, if it does not
  2.7720 +	# work, assume that -exports_file does not work either and
  2.7721 +	# implicitly export all symbols.
  2.7722 +        save_LDFLAGS="$LDFLAGS"
  2.7723 +        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  2.7724 +        AC_LINK_IFELSE(int foo(void) {},
  2.7725 +          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  2.7726 +        )
  2.7727 +        LDFLAGS="$save_LDFLAGS"
  2.7728        else
  2.7729 -	_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'
  2.7730 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  2.7731 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  2.7732 +	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  2.7733        fi
  2.7734 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.7735 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.7736 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  2.7737 +      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  2.7738 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.7739 +      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  2.7740 +      _LT_TAGVAR(inherit_rpath, $1)=yes
  2.7741 +      _LT_TAGVAR(link_all_deplibs, $1)=yes
  2.7742        ;;
  2.7743  
  2.7744      netbsd*)
  2.7745 -      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  2.7746 -	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  2.7747 +      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  2.7748 +	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  2.7749        else
  2.7750 -	_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  2.7751 +	_LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  2.7752        fi
  2.7753 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  2.7754 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.7755 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7756 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  2.7757 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  2.7758 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7759        ;;
  2.7760  
  2.7761      newsos6)
  2.7762 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  2.7763 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.7764 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.7765 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.7766 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7767 +      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  2.7768 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  2.7769 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.7770 +      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  2.7771 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7772        ;;
  2.7773  
  2.7774 +    *nto* | *qnx*)
  2.7775 +      ;;
  2.7776 +
  2.7777      openbsd*)
  2.7778 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2.7779 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7780 -      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2.7781 -	_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  2.7782 -	_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  2.7783 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  2.7784 -	_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.7785 +      if test -f /usr/libexec/ld.so; then
  2.7786 +	_LT_TAGVAR(hardcode_direct, $1)=yes
  2.7787 +	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  2.7788 +	_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  2.7789 +	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2.7790 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  2.7791 +	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  2.7792 +	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  2.7793 +	  _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  2.7794 +	else
  2.7795 +	  case $host_os in
  2.7796 +	   openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  2.7797 +	     _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  2.7798 +	     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  2.7799 +	     ;;
  2.7800 +	   *)
  2.7801 +	     _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  2.7802 +	     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  2.7803 +	     ;;
  2.7804 +	  esac
  2.7805 +	fi
  2.7806        else
  2.7807 -       case $host_os in
  2.7808 -	 openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  2.7809 -	   _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  2.7810 -	   _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  2.7811 -	   ;;
  2.7812 -	 *)
  2.7813 -	   _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  2.7814 -	   _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  2.7815 -	   ;;
  2.7816 -       esac
  2.7817 +	_LT_TAGVAR(ld_shlibs, $1)=no
  2.7818        fi
  2.7819        ;;
  2.7820  
  2.7821      os2*)
  2.7822 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.7823 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  2.7824 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  2.7825 -      _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'
  2.7826 -      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  2.7827 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2.7828 +      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  2.7829 +      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  2.7830 +      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  2.7831 +      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  2.7832        ;;
  2.7833  
  2.7834      osf3*)
  2.7835        if test "$GCC" = yes; then
  2.7836 -	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  2.7837 -	_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'
  2.7838 +	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  2.7839 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  2.7840        else
  2.7841 -	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  2.7842 -	_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'
  2.7843 +	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  2.7844 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  2.7845        fi
  2.7846 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.7847 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  2.7848 +      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  2.7849 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.7850 +      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  2.7851        ;;
  2.7852  
  2.7853      osf4* | osf5*)	# as osf3* with the addition of -msym flag
  2.7854        if test "$GCC" = yes; then
  2.7855 -	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  2.7856 -	_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'
  2.7857 -	_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.7858 +	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  2.7859 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  2.7860 +	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  2.7861        else
  2.7862 -	_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  2.7863 -	_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'
  2.7864 -	_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~
  2.7865 -	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
  2.7866 +	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  2.7867 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  2.7868 +	_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  2.7869 +	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  2.7870  
  2.7871