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