18810N/A--- /dev/null 2010-06-01 16:18:24.000000000 -0500
18810N/A+++ clutter-1.2.6/build/autotools/libtool.m4 2010-04-19 11:34:07.000000000 -0500
18810N/A@@ -0,0 +1,7360 @@
18810N/A+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
18810N/A+#
18810N/A+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18810N/A+# 2006, 2007, 2008 Free Software Foundation, Inc.
18810N/A+# Written by Gordon Matzigkeit, 1996
18810N/A+#
18810N/A+# This file is free software; the Free Software Foundation gives
18810N/A+# unlimited permission to copy and/or distribute it, with or without
18810N/A+# modifications, as long as this notice is preserved.
18810N/A+
18810N/A+m4_define([_LT_COPYING], [dnl
18810N/A+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18810N/A+# 2006, 2007, 2008 Free Software Foundation, Inc.
18810N/A+# Written by Gordon Matzigkeit, 1996
18810N/A+#
18810N/A+# This file is part of GNU Libtool.
18810N/A+#
18810N/A+# GNU Libtool is free software; you can redistribute it and/or
18810N/A+# modify it under the terms of the GNU General Public License as
18810N/A+# published by the Free Software Foundation; either version 2 of
18810N/A+# the License, or (at your option) any later version.
18810N/A+#
18810N/A+# As a special exception to the GNU General Public License,
18810N/A+# if you distribute this file as part of a program or library that
18810N/A+# is built using GNU Libtool, you may include this file under the
18810N/A+# same distribution terms that you use for the rest of that program.
18810N/A+#
18810N/A+# GNU Libtool is distributed in the hope that it will be useful,
18810N/A+# but WITHOUT ANY WARRANTY; without even the implied warranty of
18810N/A+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18810N/A+# GNU General Public License for more details.
18810N/A+#
18810N/A+# You should have received a copy of the GNU General Public License
18810N/A+# along with GNU Libtool; see the file COPYING. If not, a copy
18810N/A+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18810N/A+# obtained by writing to the Free Software Foundation, Inc.,
18810N/A+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18810N/A+])
18810N/A+
18810N/A+# serial 56 LT_INIT
18810N/A+
18810N/A+
18810N/A+# LT_PREREQ(VERSION)
18810N/A+# ------------------
18810N/A+# Complain and exit if this libtool version is less that VERSION.
18810N/A+m4_defun([LT_PREREQ],
18810N/A+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
18810N/A+ [m4_default([$3],
18810N/A+ [m4_fatal([Libtool version $1 or higher is required],
18810N/A+ 63)])],
18810N/A+ [$2])])
18810N/A+
18810N/A+
18810N/A+# _LT_CHECK_BUILDDIR
18810N/A+# ------------------
18810N/A+# Complain if the absolute build directory name contains unusual characters
18810N/A+m4_defun([_LT_CHECK_BUILDDIR],
18810N/A+[case `pwd` in
18810N/A+ *\ * | *\ *)
18810N/A+ AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
18810N/A+esac
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# LT_INIT([OPTIONS])
18810N/A+# ------------------
18810N/A+AC_DEFUN([LT_INIT],
18810N/A+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
18810N/A+AC_BEFORE([$0], [LT_LANG])dnl
18810N/A+AC_BEFORE([$0], [LT_OUTPUT])dnl
18810N/A+AC_BEFORE([$0], [LTDL_INIT])dnl
18810N/A+m4_require([_LT_CHECK_BUILDDIR])dnl
18810N/A+
18810N/A+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
18810N/A+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
18810N/A+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
18810N/A+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
18810N/A+dnl unless we require an AC_DEFUNed macro:
18810N/A+AC_REQUIRE([LTOPTIONS_VERSION])dnl
18810N/A+AC_REQUIRE([LTSUGAR_VERSION])dnl
18810N/A+AC_REQUIRE([LTVERSION_VERSION])dnl
18810N/A+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
18810N/A+m4_require([_LT_PROG_LTMAIN])dnl
18810N/A+
18810N/A+dnl Parse OPTIONS
18810N/A+_LT_SET_OPTIONS([$0], [$1])
18810N/A+
18810N/A+# This can be used to rebuild libtool when needed
18810N/A+LIBTOOL_DEPS="$ltmain"
18810N/A+
18810N/A+# Always use our own libtool.
18810N/A+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
18810N/A+AC_SUBST(LIBTOOL)dnl
18810N/A+
18810N/A+_LT_SETUP
18810N/A+
18810N/A+# Only expand once:
18810N/A+m4_define([LT_INIT])
18810N/A+])# LT_INIT
18810N/A+
18810N/A+# Old names:
18810N/A+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
18810N/A+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
18810N/A+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
18810N/A+
18810N/A+
18810N/A+# _LT_CC_BASENAME(CC)
18810N/A+# -------------------
18810N/A+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
18810N/A+m4_defun([_LT_CC_BASENAME],
18810N/A+[for cc_temp in $1""; do
18810N/A+ case $cc_temp in
18810N/A+ compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
18810N/A+ distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
18810N/A+ \-*) ;;
18810N/A+ *) break;;
18810N/A+ esac
18810N/A+done
18810N/A+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# _LT_FILEUTILS_DEFAULTS
18810N/A+# ----------------------
18810N/A+# It is okay to use these file commands and assume they have been set
18810N/A+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
18810N/A+m4_defun([_LT_FILEUTILS_DEFAULTS],
18810N/A+[: ${CP="cp -f"}
18810N/A+: ${MV="mv -f"}
18810N/A+: ${RM="rm -f"}
18810N/A+])# _LT_FILEUTILS_DEFAULTS
18810N/A+
18810N/A+
18810N/A+# _LT_SETUP
18810N/A+# ---------
18810N/A+m4_defun([_LT_SETUP],
18810N/A+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
18810N/A+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
18810N/A+_LT_DECL([], [host_alias], [0], [The host system])dnl
18810N/A+_LT_DECL([], [host], [0])dnl
18810N/A+_LT_DECL([], [host_os], [0])dnl
18810N/A+dnl
18810N/A+_LT_DECL([], [build_alias], [0], [The build system])dnl
18810N/A+_LT_DECL([], [build], [0])dnl
18810N/A+_LT_DECL([], [build_os], [0])dnl
18810N/A+dnl
18810N/A+AC_REQUIRE([AC_PROG_CC])dnl
18810N/A+AC_REQUIRE([LT_PATH_LD])dnl
18810N/A+AC_REQUIRE([LT_PATH_NM])dnl
18810N/A+dnl
18810N/A+AC_REQUIRE([AC_PROG_LN_S])dnl
18810N/A+test -z "$LN_S" && LN_S="ln -s"
18810N/A+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
18810N/A+dnl
18810N/A+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
18810N/A+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
18810N/A+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
18810N/A+dnl
18810N/A+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
18810N/A+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
18810N/A+m4_require([_LT_CMD_RELOAD])dnl
18810N/A+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
18810N/A+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
18810N/A+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
18810N/A+
18810N/A+_LT_CONFIG_LIBTOOL_INIT([
18810N/A+# See if we are running on zsh, and set the options which allow our
18810N/A+# commands through without removal of \ escapes INIT.
18810N/A+if test -n "\${ZSH_VERSION+set}" ; then
18810N/A+ setopt NO_GLOB_SUBST
18810N/A+fi
18810N/A+])
18810N/A+if test -n "${ZSH_VERSION+set}" ; then
18810N/A+ setopt NO_GLOB_SUBST
18810N/A+fi
18810N/A+
18810N/A+_LT_CHECK_OBJDIR
18810N/A+
18810N/A+m4_require([_LT_TAG_COMPILER])dnl
18810N/A+_LT_PROG_ECHO_BACKSLASH
18810N/A+
18810N/A+case $host_os in
18810N/A+aix3*)
18810N/A+ # AIX sometimes has problems with the GCC collect2 program. For some
18810N/A+ # reason, if we set the COLLECT_NAMES environment variable, the problems
18810N/A+ # vanish in a puff of smoke.
18810N/A+ if test "X${COLLECT_NAMES+set}" != Xset; then
18810N/A+ COLLECT_NAMES=
18810N/A+ export COLLECT_NAMES
18810N/A+ fi
18810N/A+ ;;
18810N/A+esac
18810N/A+
18810N/A+# Sed substitution that helps us do robust quoting. It backslashifies
18810N/A+# metacharacters that are still active within double-quoted strings.
18810N/A+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
18810N/A+
18810N/A+# Same as above, but do not quote variable references.
18810N/A+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
18810N/A+
18810N/A+# Sed substitution to delay expansion of an escaped shell variable in a
18810N/A+# double_quote_subst'ed string.
18810N/A+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
18810N/A+
18810N/A+# Sed substitution to delay expansion of an escaped single quote.
18810N/A+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
18810N/A+
18810N/A+# Sed substitution to avoid accidental globbing in evaled expressions
18810N/A+no_glob_subst='s/\*/\\\*/g'
18810N/A+
18810N/A+# Global variables:
18810N/A+ofile=libtool
18810N/A+can_build_shared=yes
18810N/A+
18810N/A+# All known linkers require a `.a' archive for static linking (except MSVC,
18810N/A+# which needs '.lib').
18810N/A+libext=a
18810N/A+
18810N/A+with_gnu_ld="$lt_cv_prog_gnu_ld"
18810N/A+
18810N/A+old_CC="$CC"
18810N/A+old_CFLAGS="$CFLAGS"
18810N/A+
18810N/A+# Set sane defaults for various variables
18810N/A+test -z "$CC" && CC=cc
18810N/A+test -z "$LTCC" && LTCC=$CC
18810N/A+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
18810N/A+test -z "$LD" && LD=ld
18810N/A+test -z "$ac_objext" && ac_objext=o
18810N/A+
18810N/A+_LT_CC_BASENAME([$compiler])
18810N/A+
18810N/A+# Only perform the check for file, if the check method requires it
18810N/A+test -z "$MAGIC_CMD" && MAGIC_CMD=file
18810N/A+case $deplibs_check_method in
18810N/A+file_magic*)
18810N/A+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
18810N/A+ _LT_PATH_MAGIC
18810N/A+ fi
18810N/A+ ;;
18810N/A+esac
18810N/A+
18810N/A+# Use C for the default configuration in the libtool script
18810N/A+LT_SUPPORTED_TAG([CC])
18810N/A+_LT_LANG_C_CONFIG
18810N/A+_LT_LANG_DEFAULT_CONFIG
18810N/A+_LT_CONFIG_COMMANDS
18810N/A+])# _LT_SETUP
18810N/A+
18810N/A+
18810N/A+# _LT_PROG_LTMAIN
18810N/A+# ---------------
18810N/A+# Note that this code is called both from `configure', and `config.status'
18810N/A+# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
18810N/A+# `config.status' has no value for ac_aux_dir unless we are using Automake,
18810N/A+# so we pass a copy along to make sure it has a sensible value anyway.
18810N/A+m4_defun([_LT_PROG_LTMAIN],
18810N/A+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
18810N/A+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
18810N/A+ltmain="$ac_aux_dir/ltmain.sh"
18810N/A+])# _LT_PROG_LTMAIN
18810N/A+
18810N/A+
18810N/A+## ------------------------------------- ##
18810N/A+## Accumulate code for creating libtool. ##
18810N/A+## ------------------------------------- ##
18810N/A+
18810N/A+# So that we can recreate a full libtool script including additional
18810N/A+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
18810N/A+# in macros and then make a single call at the end using the `libtool'
18810N/A+# label.
18810N/A+
18810N/A+
18810N/A+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
18810N/A+# ----------------------------------------
18810N/A+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
18810N/A+m4_define([_LT_CONFIG_LIBTOOL_INIT],
18810N/A+[m4_ifval([$1],
18810N/A+ [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
18810N/A+ [$1
18810N/A+])])])
18810N/A+
18810N/A+# Initialize.
18810N/A+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
18810N/A+
18810N/A+
18810N/A+# _LT_CONFIG_LIBTOOL([COMMANDS])
18810N/A+# ------------------------------
18810N/A+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
18810N/A+m4_define([_LT_CONFIG_LIBTOOL],
18810N/A+[m4_ifval([$1],
18810N/A+ [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
18810N/A+ [$1
18810N/A+])])])
18810N/A+
18810N/A+# Initialize.
18810N/A+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
18810N/A+
18810N/A+
18810N/A+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
18810N/A+# -----------------------------------------------------
18810N/A+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
18810N/A+[_LT_CONFIG_LIBTOOL([$1])
18810N/A+_LT_CONFIG_LIBTOOL_INIT([$2])
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# _LT_FORMAT_COMMENT([COMMENT])
18810N/A+# -----------------------------
18810N/A+# Add leading comment marks to the start of each line, and a trailing
18810N/A+# full-stop to the whole comment if one is not present already.
18810N/A+m4_define([_LT_FORMAT_COMMENT],
18810N/A+[m4_ifval([$1], [
18810N/A+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
18810N/A+ [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
18810N/A+)])
18810N/A+
18810N/A+
18810N/A+
18810N/A+## ------------------------ ##
18810N/A+## FIXME: Eliminate VARNAME ##
18810N/A+## ------------------------ ##
18810N/A+
18810N/A+
18810N/A+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
18810N/A+# -------------------------------------------------------------------
18810N/A+# CONFIGNAME is the name given to the value in the libtool script.
18810N/A+# VARNAME is the (base) name used in the configure script.
18810N/A+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
18810N/A+# VARNAME. Any other value will be used directly.
18810N/A+m4_define([_LT_DECL],
18810N/A+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
18810N/A+ [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
18810N/A+ [m4_ifval([$1], [$1], [$2])])
18810N/A+ lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
18810N/A+ m4_ifval([$4],
18810N/A+ [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
18810N/A+ lt_dict_add_subkey([lt_decl_dict], [$2],
18810N/A+ [tagged?], [m4_ifval([$5], [yes], [no])])])
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
18810N/A+# --------------------------------------------------------
18810N/A+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
18810N/A+
18810N/A+
18810N/A+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
18810N/A+# ------------------------------------------------
18810N/A+m4_define([lt_decl_tag_varnames],
18810N/A+[_lt_decl_filter([tagged?], [yes], $@)])
18810N/A+
18810N/A+
18810N/A+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
18810N/A+# ---------------------------------------------------------
18810N/A+m4_define([_lt_decl_filter],
18810N/A+[m4_case([$#],
18810N/A+ [0], [m4_fatal([$0: too few arguments: $#])],
18810N/A+ [1], [m4_fatal([$0: too few arguments: $#: $1])],
18810N/A+ [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
18810N/A+ [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
18810N/A+ [lt_dict_filter([lt_decl_dict], $@)])[]dnl
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
18810N/A+# --------------------------------------------------
18810N/A+m4_define([lt_decl_quote_varnames],
18810N/A+[_lt_decl_filter([value], [1], $@)])
18810N/A+
18810N/A+
18810N/A+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
18810N/A+# ---------------------------------------------------
18810N/A+m4_define([lt_decl_dquote_varnames],
18810N/A+[_lt_decl_filter([value], [2], $@)])
18810N/A+
18810N/A+
18810N/A+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
18810N/A+# ---------------------------------------------------
18810N/A+m4_define([lt_decl_varnames_tagged],
18810N/A+[m4_assert([$# <= 2])dnl
18810N/A+_$0(m4_quote(m4_default([$1], [[, ]])),
18810N/A+ m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
18810N/A+ m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
18810N/A+m4_define([_lt_decl_varnames_tagged],
18810N/A+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
18810N/A+
18810N/A+
18810N/A+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
18810N/A+# ------------------------------------------------
18810N/A+m4_define([lt_decl_all_varnames],
18810N/A+[_$0(m4_quote(m4_default([$1], [[, ]])),
18810N/A+ m4_if([$2], [],
18810N/A+ m4_quote(lt_decl_varnames),
18810N/A+ m4_quote(m4_shift($@))))[]dnl
18810N/A+])
18810N/A+m4_define([_lt_decl_all_varnames],
18810N/A+[lt_join($@, lt_decl_varnames_tagged([$1],
18810N/A+ lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
18810N/A+# ------------------------------------
18810N/A+# Quote a variable value, and forward it to `config.status' so that its
18810N/A+# declaration there will have the same value as in `configure'. VARNAME
18810N/A+# must have a single quote delimited value for this to work.
18810N/A+m4_define([_LT_CONFIG_STATUS_DECLARE],
18810N/A+[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
18810N/A+
18810N/A+
18810N/A+# _LT_CONFIG_STATUS_DECLARATIONS
18810N/A+# ------------------------------
18810N/A+# We delimit libtool config variables with single quotes, so when
18810N/A+# we write them to config.status, we have to be sure to quote all
18810N/A+# embedded single quotes properly. In configure, this macro expands
18810N/A+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
18810N/A+#
18810N/A+# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
18810N/A+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
18810N/A+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
18810N/A+ [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
18810N/A+
18810N/A+
18810N/A+# _LT_LIBTOOL_TAGS
18810N/A+# ----------------
18810N/A+# Output comment and list of tags supported by the script
18810N/A+m4_defun([_LT_LIBTOOL_TAGS],
18810N/A+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
18810N/A+available_tags="_LT_TAGS"dnl
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
18810N/A+# -----------------------------------
18810N/A+# Extract the dictionary values for VARNAME (optionally with TAG) and
18810N/A+# expand to a commented shell variable setting:
18810N/A+#
18810N/A+# # Some comment about what VAR is for.
18810N/A+# visible_name=$lt_internal_name
18810N/A+m4_define([_LT_LIBTOOL_DECLARE],
18810N/A+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
18810N/A+ [description])))[]dnl
18810N/A+m4_pushdef([_libtool_name],
18810N/A+ m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
18810N/A+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
18810N/A+ [0], [_libtool_name=[$]$1],
18810N/A+ [1], [_libtool_name=$lt_[]$1],
18810N/A+ [2], [_libtool_name=$lt_[]$1],
18810N/A+ [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
18810N/A+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# _LT_LIBTOOL_CONFIG_VARS
18810N/A+# -----------------------
18810N/A+# Produce commented declarations of non-tagged libtool config variables
18810N/A+# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
18810N/A+# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
18810N/A+# section) are produced by _LT_LIBTOOL_TAG_VARS.
18810N/A+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
18810N/A+[m4_foreach([_lt_var],
18810N/A+ m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
18810N/A+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
18810N/A+
18810N/A+
18810N/A+# _LT_LIBTOOL_TAG_VARS(TAG)
18810N/A+# -------------------------
18810N/A+m4_define([_LT_LIBTOOL_TAG_VARS],
18810N/A+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
18810N/A+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
18810N/A+
18810N/A+
18810N/A+# _LT_TAGVAR(VARNAME, [TAGNAME])
18810N/A+# ------------------------------
18810N/A+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
18810N/A+
18810N/A+
18810N/A+# _LT_CONFIG_COMMANDS
18810N/A+# -------------------
18810N/A+# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
18810N/A+# variables for single and double quote escaping we saved from calls
18810N/A+# to _LT_DECL, we can put quote escaped variables declarations
18810N/A+# into `config.status', and then the shell code to quote escape them in
18810N/A+# for loops in `config.status'. Finally, any additional code accumulated
18810N/A+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
18810N/A+m4_defun([_LT_CONFIG_COMMANDS],
18810N/A+[AC_PROVIDE_IFELSE([LT_OUTPUT],
18810N/A+ dnl If the libtool generation code has been placed in $CONFIG_LT,
18810N/A+ dnl instead of duplicating it all over again into config.status,
18810N/A+ dnl then we will have config.status run $CONFIG_LT later, so it
18810N/A+ dnl needs to know what name is stored there:
18810N/A+ [AC_CONFIG_COMMANDS([libtool],
18810N/A+ [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
18810N/A+ dnl If the libtool generation code is destined for config.status,
18810N/A+ dnl expand the accumulated commands and init code now:
18810N/A+ [AC_CONFIG_COMMANDS([libtool],
18810N/A+ [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
18810N/A+])#_LT_CONFIG_COMMANDS
18810N/A+
18810N/A+
18810N/A+# Initialize.
18810N/A+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
18810N/A+[
18810N/A+
18810N/A+# The HP-UX ksh and POSIX shell print the target directory to stdout
18810N/A+# if CDPATH is set.
18810N/A+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18810N/A+
18810N/A+sed_quote_subst='$sed_quote_subst'
18810N/A+double_quote_subst='$double_quote_subst'
18810N/A+delay_variable_subst='$delay_variable_subst'
18810N/A+_LT_CONFIG_STATUS_DECLARATIONS
18810N/A+LTCC='$LTCC'
18810N/A+LTCFLAGS='$LTCFLAGS'
18810N/A+compiler='$compiler_DEFAULT'
18810N/A+
18810N/A+# Quote evaled strings.
18810N/A+for var in lt_decl_all_varnames([[ \
18810N/A+]], lt_decl_quote_varnames); do
18810N/A+ case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18810N/A+ *[[\\\\\\\`\\"\\\$]]*)
18810N/A+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18810N/A+ ;;
18810N/A+ *)
18810N/A+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18810N/A+ ;;
18810N/A+ esac
18810N/A+done
18810N/A+
18810N/A+# Double-quote double-evaled strings.
18810N/A+for var in lt_decl_all_varnames([[ \
18810N/A+]], lt_decl_dquote_varnames); do
18810N/A+ case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18810N/A+ *[[\\\\\\\`\\"\\\$]]*)
18810N/A+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18810N/A+ ;;
18810N/A+ *)
18810N/A+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18810N/A+ ;;
18810N/A+ esac
18810N/A+done
18810N/A+
18810N/A+# Fix-up fallback echo if it was mangled by the above quoting rules.
18810N/A+case \$lt_ECHO in
18810N/A+*'\\\[$]0 --fallback-echo"')dnl "
18810N/A+ lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
18810N/A+ ;;
18810N/A+esac
18810N/A+
18810N/A+_LT_OUTPUT_LIBTOOL_INIT
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# LT_OUTPUT
18810N/A+# ---------
18810N/A+# This macro allows early generation of the libtool script (before
18810N/A+# AC_OUTPUT is called), incase it is used in configure for compilation
18810N/A+# tests.
18810N/A+AC_DEFUN([LT_OUTPUT],
18810N/A+[: ${CONFIG_LT=./config.lt}
18810N/A+AC_MSG_NOTICE([creating $CONFIG_LT])
18810N/A+cat >"$CONFIG_LT" <<_LTEOF
18810N/A+#! $SHELL
18810N/A+# Generated by $as_me.
18810N/A+# Run this file to recreate a libtool stub with the current configuration.
18810N/A+
18810N/A+lt_cl_silent=false
18810N/A+SHELL=\${CONFIG_SHELL-$SHELL}
18810N/A+_LTEOF
18810N/A+
18810N/A+cat >>"$CONFIG_LT" <<\_LTEOF
18810N/A+AS_SHELL_SANITIZE
18810N/A+_AS_PREPARE
18810N/A+
18810N/A+exec AS_MESSAGE_FD>&1
18810N/A+exec AS_MESSAGE_LOG_FD>>config.log
18810N/A+{
18810N/A+ echo
18810N/A+ AS_BOX([Running $as_me.])
18810N/A+} >&AS_MESSAGE_LOG_FD
18810N/A+
18810N/A+lt_cl_help="\
18810N/A+\`$as_me' creates a local libtool stub from the current configuration,
18810N/A+for use in further configure time tests before the real libtool is
18810N/A+generated.
18810N/A+
18810N/A+Usage: $[0] [[OPTIONS]]
18810N/A+
18810N/A+ -h, --help print this help, then exit
18810N/A+ -V, --version print version number, then exit
18810N/A+ -q, --quiet do not print progress messages
18810N/A+ -d, --debug don't remove temporary files
18810N/A+
18810N/A+Report bugs to <bug-libtool@gnu.org>."
18810N/A+
18810N/A+lt_cl_version="\
18810N/A+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
18810N/A+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
18810N/A+configured by $[0], generated by m4_PACKAGE_STRING.
18810N/A+
18810N/A+Copyright (C) 2008 Free Software Foundation, Inc.
18810N/A+This config.lt script is free software; the Free Software Foundation
18810N/A+gives unlimited permision to copy, distribute and modify it."
18810N/A+
18810N/A+while test $[#] != 0
18810N/A+do
18810N/A+ case $[1] in
18810N/A+ --version | --v* | -V )
18810N/A+ echo "$lt_cl_version"; exit 0 ;;
18810N/A+ --help | --h* | -h )
18810N/A+ echo "$lt_cl_help"; exit 0 ;;
18810N/A+ --debug | --d* | -d )
18810N/A+ debug=: ;;
18810N/A+ --quiet | --q* | --silent | --s* | -q )
18810N/A+ lt_cl_silent=: ;;
18810N/A+
18810N/A+ -*) AC_MSG_ERROR([unrecognized option: $[1]
18810N/A+Try \`$[0] --help' for more information.]) ;;
18810N/A+
18810N/A+ *) AC_MSG_ERROR([unrecognized argument: $[1]
18810N/A+Try \`$[0] --help' for more information.]) ;;
18810N/A+ esac
18810N/A+ shift
18810N/A+done
18810N/A+
18810N/A+if $lt_cl_silent; then
18810N/A+ exec AS_MESSAGE_FD>/dev/null
18810N/A+fi
18810N/A+_LTEOF
18810N/A+
18810N/A+cat >>"$CONFIG_LT" <<_LTEOF
18810N/A+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
18810N/A+_LTEOF
18810N/A+
18810N/A+cat >>"$CONFIG_LT" <<\_LTEOF
18810N/A+AC_MSG_NOTICE([creating $ofile])
18810N/A+_LT_OUTPUT_LIBTOOL_COMMANDS
18810N/A+AS_EXIT(0)
18810N/A+_LTEOF
18810N/A+chmod +x "$CONFIG_LT"
18810N/A+
18810N/A+# configure is writing to config.log, but config.lt does its own redirection,
18810N/A+# appending to config.log, which fails on DOS, as config.log is still kept
18810N/A+# open by configure. Here we exec the FD to /dev/null, effectively closing
18810N/A+# config.log, so it can be properly (re)opened and appended to by config.lt.
18810N/A+if test "$no_create" != yes; then
18810N/A+ lt_cl_success=:
18810N/A+ test "$silent" = yes &&
18810N/A+ lt_config_lt_args="$lt_config_lt_args --quiet"
18810N/A+ exec AS_MESSAGE_LOG_FD>/dev/null
18810N/A+ $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
18810N/A+ exec AS_MESSAGE_LOG_FD>>config.log
18810N/A+ $lt_cl_success || AS_EXIT(1)
18810N/A+fi
18810N/A+])# LT_OUTPUT
18810N/A+
18810N/A+
18810N/A+# _LT_CONFIG(TAG)
18810N/A+# ---------------
18810N/A+# If TAG is the built-in tag, create an initial libtool script with a
18810N/A+# default configuration from the untagged config vars. Otherwise add code
18810N/A+# to config.status for appending the configuration named by TAG from the
18810N/A+# matching tagged config vars.
18810N/A+m4_defun([_LT_CONFIG],
18810N/A+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
18810N/A+_LT_CONFIG_SAVE_COMMANDS([
18810N/A+ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
18810N/A+ m4_if(_LT_TAG, [C], [
18810N/A+ # See if we are running on zsh, and set the options which allow our
18810N/A+ # commands through without removal of \ escapes.
18810N/A+ if test -n "${ZSH_VERSION+set}" ; then
18810N/A+ setopt NO_GLOB_SUBST
18810N/A+ fi
18810N/A+
18810N/A+ cfgfile="${ofile}T"
18810N/A+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18810N/A+ $RM "$cfgfile"
18810N/A+
18810N/A+ cat <<_LT_EOF >> "$cfgfile"
18810N/A+#! $SHELL
18810N/A+
18810N/A+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18810N/A+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18810N/A+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18810N/A+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18810N/A+#
18810N/A+_LT_COPYING
18810N/A+_LT_LIBTOOL_TAGS
18810N/A+
18810N/A+# ### BEGIN LIBTOOL CONFIG
18810N/A+_LT_LIBTOOL_CONFIG_VARS
18810N/A+_LT_LIBTOOL_TAG_VARS
18810N/A+# ### END LIBTOOL CONFIG
18810N/A+
18810N/A+_LT_EOF
18810N/A+
18810N/A+ case $host_os in
18810N/A+ aix3*)
18810N/A+ cat <<\_LT_EOF >> "$cfgfile"
18810N/A+# AIX sometimes has problems with the GCC collect2 program. For some
18810N/A+# reason, if we set the COLLECT_NAMES environment variable, the problems
18810N/A+# vanish in a puff of smoke.
18810N/A+if test "X${COLLECT_NAMES+set}" != Xset; then
18810N/A+ COLLECT_NAMES=
18810N/A+ export COLLECT_NAMES
18810N/A+fi
18810N/A+_LT_EOF
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ _LT_PROG_LTMAIN
18810N/A+
18810N/A+ # We use sed instead of cat because bash on DJGPP gets confused if
18810N/A+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
18810N/A+ # text mode, it properly converts lines to CR/LF. This bash problem
18810N/A+ # is reportedly fixed, but why not run on old versions too?
18810N/A+ sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18810N/A+ || (rm -f "$cfgfile"; exit 1)
18810N/A+
18810N/A+ _LT_PROG_XSI_SHELLFNS
18810N/A+
18810N/A+ sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18810N/A+ || (rm -f "$cfgfile"; exit 1)
18810N/A+
18810N/A+ mv -f "$cfgfile" "$ofile" ||
18810N/A+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18810N/A+ chmod +x "$ofile"
18810N/A+],
18810N/A+[cat <<_LT_EOF >> "$ofile"
18810N/A+
18810N/A+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
18810N/A+dnl in a comment (ie after a #).
18810N/A+# ### BEGIN LIBTOOL TAG CONFIG: $1
18810N/A+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
18810N/A+# ### END LIBTOOL TAG CONFIG: $1
18810N/A+_LT_EOF
18810N/A+])dnl /m4_if
18810N/A+],
18810N/A+[m4_if([$1], [], [
18810N/A+ PACKAGE='$PACKAGE'
18810N/A+ VERSION='$VERSION'
18810N/A+ TIMESTAMP='$TIMESTAMP'
18810N/A+ RM='$RM'
18810N/A+ ofile='$ofile'], [])
18810N/A+])dnl /_LT_CONFIG_SAVE_COMMANDS
18810N/A+])# _LT_CONFIG
18810N/A+
18810N/A+
18810N/A+# LT_SUPPORTED_TAG(TAG)
18810N/A+# ---------------------
18810N/A+# Trace this macro to discover what tags are supported by the libtool
18810N/A+# --tag option, using:
18810N/A+# autoconf --trace 'LT_SUPPORTED_TAG:$1'
18810N/A+AC_DEFUN([LT_SUPPORTED_TAG], [])
18810N/A+
18810N/A+
18810N/A+# C support is built-in for now
18810N/A+m4_define([_LT_LANG_C_enabled], [])
18810N/A+m4_define([_LT_TAGS], [])
18810N/A+
18810N/A+
18810N/A+# LT_LANG(LANG)
18810N/A+# -------------
18810N/A+# Enable libtool support for the given language if not already enabled.
18810N/A+AC_DEFUN([LT_LANG],
18810N/A+[AC_BEFORE([$0], [LT_OUTPUT])dnl
18810N/A+m4_case([$1],
18810N/A+ [C], [_LT_LANG(C)],
18810N/A+ [C++], [_LT_LANG(CXX)],
18810N/A+ [Java], [_LT_LANG(GCJ)],
18810N/A+ [Fortran 77], [_LT_LANG(F77)],
18810N/A+ [Fortran], [_LT_LANG(FC)],
18810N/A+ [Windows Resource], [_LT_LANG(RC)],
18810N/A+ [m4_ifdef([_LT_LANG_]$1[_CONFIG],
18810N/A+ [_LT_LANG($1)],
18810N/A+ [m4_fatal([$0: unsupported language: "$1"])])])dnl
18810N/A+])# LT_LANG
18810N/A+
18810N/A+
18810N/A+# _LT_LANG(LANGNAME)
18810N/A+# ------------------
18810N/A+m4_defun([_LT_LANG],
18810N/A+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
18810N/A+ [LT_SUPPORTED_TAG([$1])dnl
18810N/A+ m4_append([_LT_TAGS], [$1 ])dnl
18810N/A+ m4_define([_LT_LANG_]$1[_enabled], [])dnl
18810N/A+ _LT_LANG_$1_CONFIG($1)])dnl
18810N/A+])# _LT_LANG
18810N/A+
18810N/A+
18810N/A+# _LT_LANG_DEFAULT_CONFIG
18810N/A+# -----------------------
18810N/A+m4_defun([_LT_LANG_DEFAULT_CONFIG],
18810N/A+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
18810N/A+ [LT_LANG(CXX)],
18810N/A+ [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
18810N/A+
18810N/A+AC_PROVIDE_IFELSE([AC_PROG_F77],
18810N/A+ [LT_LANG(F77)],
18810N/A+ [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
18810N/A+
18810N/A+AC_PROVIDE_IFELSE([AC_PROG_FC],
18810N/A+ [LT_LANG(FC)],
18810N/A+ [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
18810N/A+
18810N/A+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
18810N/A+dnl pulling things in needlessly.
18810N/A+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
18810N/A+ [LT_LANG(GCJ)],
18810N/A+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
18810N/A+ [LT_LANG(GCJ)],
18810N/A+ [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
18810N/A+ [LT_LANG(GCJ)],
18810N/A+ [m4_ifdef([AC_PROG_GCJ],
18810N/A+ [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
18810N/A+ m4_ifdef([A][M_PROG_GCJ],
18810N/A+ [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
18810N/A+ m4_ifdef([LT_PROG_GCJ],
18810N/A+ [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
18810N/A+
18810N/A+AC_PROVIDE_IFELSE([LT_PROG_RC],
18810N/A+ [LT_LANG(RC)],
18810N/A+ [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
18810N/A+])# _LT_LANG_DEFAULT_CONFIG
18810N/A+
18810N/A+# Obsolete macros:
18810N/A+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
18810N/A+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
18810N/A+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
18810N/A+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
18810N/A+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
18810N/A+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
18810N/A+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
18810N/A+
18810N/A+
18810N/A+# _LT_TAG_COMPILER
18810N/A+# ----------------
18810N/A+m4_defun([_LT_TAG_COMPILER],
18810N/A+[AC_REQUIRE([AC_PROG_CC])dnl
18810N/A+
18810N/A+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
18810N/A+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
18810N/A+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
18810N/A+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
18810N/A+
18810N/A+# If no C compiler was specified, use CC.
18810N/A+LTCC=${LTCC-"$CC"}
18810N/A+
18810N/A+# If no C compiler flags were specified, use CFLAGS.
18810N/A+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18810N/A+
18810N/A+# Allow CC to be a program name with arguments.
18810N/A+compiler=$CC
18810N/A+])# _LT_TAG_COMPILER
18810N/A+
18810N/A+
18810N/A+# _LT_COMPILER_BOILERPLATE
18810N/A+# ------------------------
18810N/A+# Check for compiler boilerplate output or warnings with
18810N/A+# the simple compiler test code.
18810N/A+m4_defun([_LT_COMPILER_BOILERPLATE],
18810N/A+[m4_require([_LT_DECL_SED])dnl
18810N/A+ac_outfile=conftest.$ac_objext
18810N/A+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18810N/A+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18810N/A+_lt_compiler_boilerplate=`cat conftest.err`
18810N/A+$RM conftest*
18810N/A+])# _LT_COMPILER_BOILERPLATE
18810N/A+
18810N/A+
18810N/A+# _LT_LINKER_BOILERPLATE
18810N/A+# ----------------------
18810N/A+# Check for linker boilerplate output or warnings with
18810N/A+# the simple link test code.
18810N/A+m4_defun([_LT_LINKER_BOILERPLATE],
18810N/A+[m4_require([_LT_DECL_SED])dnl
18810N/A+ac_outfile=conftest.$ac_objext
18810N/A+echo "$lt_simple_link_test_code" >conftest.$ac_ext
18810N/A+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18810N/A+_lt_linker_boilerplate=`cat conftest.err`
18810N/A+$RM -r conftest*
18810N/A+])# _LT_LINKER_BOILERPLATE
18810N/A+
18810N/A+# _LT_REQUIRED_DARWIN_CHECKS
18810N/A+# -------------------------
18810N/A+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
18810N/A+ case $host_os in
18810N/A+ rhapsody* | darwin*)
18810N/A+ AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
18810N/A+ AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
18810N/A+ AC_CHECK_TOOL([LIPO], [lipo], [:])
18810N/A+ AC_CHECK_TOOL([OTOOL], [otool], [:])
18810N/A+ AC_CHECK_TOOL([OTOOL64], [otool64], [:])
18810N/A+ _LT_DECL([], [DSYMUTIL], [1],
18810N/A+ [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
18810N/A+ _LT_DECL([], [NMEDIT], [1],
18810N/A+ [Tool to change global to local symbols on Mac OS X])
18810N/A+ _LT_DECL([], [LIPO], [1],
18810N/A+ [Tool to manipulate fat objects and archives on Mac OS X])
18810N/A+ _LT_DECL([], [OTOOL], [1],
18810N/A+ [ldd/readelf like tool for Mach-O binaries on Mac OS X])
18810N/A+ _LT_DECL([], [OTOOL64], [1],
18810N/A+ [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
18810N/A+
18810N/A+ AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
18810N/A+ [lt_cv_apple_cc_single_mod=no
18810N/A+ if test -z "${LT_MULTI_MODULE}"; then
18810N/A+ # By default we will add the -single_module flag. You can override
18810N/A+ # by either setting the environment variable LT_MULTI_MODULE
18810N/A+ # non-empty at configure time, or by adding -multi_module to the
18810N/A+ # link flags.
18810N/A+ rm -rf libconftest.dylib*
18810N/A+ echo "int foo(void){return 1;}" > conftest.c
18810N/A+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
18810N/A+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
18810N/A+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
18810N/A+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
18810N/A+ _lt_result=$?
18810N/A+ if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
18810N/A+ lt_cv_apple_cc_single_mod=yes
18810N/A+ else
18810N/A+ cat conftest.err >&AS_MESSAGE_LOG_FD
18810N/A+ fi
18810N/A+ rm -rf libconftest.dylib*
18810N/A+ rm -f conftest.*
18810N/A+ fi])
18810N/A+ AC_CACHE_CHECK([for -exported_symbols_list linker flag],
18810N/A+ [lt_cv_ld_exported_symbols_list],
18810N/A+ [lt_cv_ld_exported_symbols_list=no
18810N/A+ save_LDFLAGS=$LDFLAGS
18810N/A+ echo "_main" > conftest.sym
18810N/A+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
18810N/A+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
18810N/A+ [lt_cv_ld_exported_symbols_list=yes],
18810N/A+ [lt_cv_ld_exported_symbols_list=no])
18810N/A+ LDFLAGS="$save_LDFLAGS"
18810N/A+ ])
18810N/A+ case $host_os in
18810N/A+ rhapsody* | darwin1.[[012]])
18810N/A+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
18810N/A+ darwin1.*)
18810N/A+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
18810N/A+ darwin*) # darwin 5.x on
18810N/A+ # if running on 10.5 or later, the deployment target defaults
18810N/A+ # to the OS version, if on x86, and 10.4, the deployment
18810N/A+ # target defaults to 10.4. Don't you love it?
18810N/A+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
18810N/A+ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
18810N/A+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
18810N/A+ 10.[[012]]*)
18810N/A+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
18810N/A+ 10.*)
18810N/A+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ esac
18810N/A+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then
18810N/A+ _lt_dar_single_mod='$single_module'
18810N/A+ fi
18810N/A+ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
18810N/A+ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
18810N/A+ else
18810N/A+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
18810N/A+ fi
18810N/A+ if test "$DSYMUTIL" != ":"; then
18810N/A+ _lt_dsymutil='~$DSYMUTIL $lib || :'
18810N/A+ else
18810N/A+ _lt_dsymutil=
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# _LT_DARWIN_LINKER_FEATURES
18810N/A+# --------------------------
18810N/A+# Checks for linker and compiler features on darwin
18810N/A+m4_defun([_LT_DARWIN_LINKER_FEATURES],
18810N/A+[
18810N/A+ m4_require([_LT_REQUIRED_DARWIN_CHECKS])
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_automatic, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)=''
18810N/A+ _LT_TAGVAR(link_all_deplibs, $1)=yes
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
18810N/A+ case $cc_basename in
18810N/A+ ifort*) _lt_dar_can_shared=yes ;;
18810N/A+ *) _lt_dar_can_shared=$GCC ;;
18810N/A+ esac
18810N/A+ if test "$_lt_dar_can_shared" = "yes"; then
18810N/A+ output_verbose_link_cmd=echo
18810N/A+ _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}"
18810N/A+ _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18810N/A+ _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}"
18810N/A+ _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}"
18810N/A+ m4_if([$1], [CXX],
18810N/A+[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
18810N/A+ _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}"
18810N/A+ _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}"
18810N/A+ fi
18810N/A+],[])
18810N/A+ else
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+])
18810N/A+
18810N/A+# _LT_SYS_MODULE_PATH_AIX
18810N/A+# -----------------------
18810N/A+# Links a minimal program and checks the executable
18810N/A+# for the system default hardcoded library path. In most cases,
18810N/A+# this is /usr/lib:/lib, but when the MPI compilers are used
18810N/A+# the location of the communication and MPI libs are included too.
18810N/A+# If we don't find anything, use the default library path according
18810N/A+# to the aix ld manual.
18810N/A+m4_defun([_LT_SYS_MODULE_PATH_AIX],
18810N/A+[m4_require([_LT_DECL_SED])dnl
18810N/A+AC_LINK_IFELSE(AC_LANG_PROGRAM,[
18810N/A+lt_aix_libpath_sed='
18810N/A+ /Import File Strings/,/^$/ {
18810N/A+ /^0/ {
18810N/A+ s/^0 *\(.*\)$/\1/
18810N/A+ p
18810N/A+ }
18810N/A+ }'
18810N/A+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18810N/A+# Check for a 64-bit object if we didn't find anything.
18810N/A+if test -z "$aix_libpath"; then
18810N/A+ aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18810N/A+fi],[])
18810N/A+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18810N/A+])# _LT_SYS_MODULE_PATH_AIX
18810N/A+
18810N/A+
18810N/A+# _LT_SHELL_INIT(ARG)
18810N/A+# -------------------
18810N/A+m4_define([_LT_SHELL_INIT],
18810N/A+[ifdef([AC_DIVERSION_NOTICE],
18810N/A+ [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
18810N/A+ [AC_DIVERT_PUSH(NOTICE)])
18810N/A+$1
18810N/A+AC_DIVERT_POP
18810N/A+])# _LT_SHELL_INIT
18810N/A+
18810N/A+
18810N/A+# _LT_PROG_ECHO_BACKSLASH
18810N/A+# -----------------------
18810N/A+# Add some code to the start of the generated configure script which
18810N/A+# will find an echo command which doesn't interpret backslashes.
18810N/A+m4_defun([_LT_PROG_ECHO_BACKSLASH],
18810N/A+[_LT_SHELL_INIT([
18810N/A+# Check that we are running under the correct shell.
18810N/A+SHELL=${CONFIG_SHELL-/bin/sh}
18810N/A+
18810N/A+case X$lt_ECHO in
18810N/A+X*--fallback-echo)
18810N/A+ # Remove one level of quotation (which was required for Make).
18810N/A+ ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
18810N/A+ ;;
18810N/A+esac
18810N/A+
18810N/A+ECHO=${lt_ECHO-echo}
18810N/A+if test "X[$]1" = X--no-reexec; then
18810N/A+ # Discard the --no-reexec flag, and continue.
18810N/A+ shift
18810N/A+elif test "X[$]1" = X--fallback-echo; then
18810N/A+ # Avoid inline document here, it may be left over
18810N/A+ :
18810N/A+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
18810N/A+ # Yippee, $ECHO works!
18810N/A+ :
18810N/A+else
18810N/A+ # Restart under the correct shell.
18810N/A+ exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
18810N/A+fi
18810N/A+
18810N/A+if test "X[$]1" = X--fallback-echo; then
18810N/A+ # used as fallback echo
18810N/A+ shift
18810N/A+ cat <<_LT_EOF
18810N/A+[$]*
18810N/A+_LT_EOF
18810N/A+ exit 0
18810N/A+fi
18810N/A+
18810N/A+# The HP-UX ksh and POSIX shell print the target directory to stdout
18810N/A+# if CDPATH is set.
18810N/A+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18810N/A+
18810N/A+if test -z "$lt_ECHO"; then
18810N/A+ if test "X${echo_test_string+set}" != Xset; then
18810N/A+ # find a string as large as possible, as long as the shell can cope with it
18810N/A+ for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
18810N/A+ # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
18810N/A+ if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
18810N/A+ { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
18810N/A+ then
18810N/A+ break
18810N/A+ fi
18810N/A+ done
18810N/A+ fi
18810N/A+
18810N/A+ if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
18810N/A+ echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
18810N/A+ test "X$echo_testing_string" = "X$echo_test_string"; then
18810N/A+ :
18810N/A+ else
18810N/A+ # The Solaris, AIX, and Digital Unix default echo programs unquote
18810N/A+ # backslashes. This makes it impossible to quote backslashes using
18810N/A+ # echo "$something" | sed 's/\\/\\\\/g'
18810N/A+ #
18810N/A+ # So, first we look for a working echo in the user's PATH.
18810N/A+
18810N/A+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18810N/A+ for dir in $PATH /usr/ucb; do
18810N/A+ IFS="$lt_save_ifs"
18810N/A+ if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
18810N/A+ test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
18810N/A+ echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
18810N/A+ test "X$echo_testing_string" = "X$echo_test_string"; then
18810N/A+ ECHO="$dir/echo"
18810N/A+ break
18810N/A+ fi
18810N/A+ done
18810N/A+ IFS="$lt_save_ifs"
18810N/A+
18810N/A+ if test "X$ECHO" = Xecho; then
18810N/A+ # We didn't find a better echo, so look for alternatives.
18810N/A+ if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
18810N/A+ echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
18810N/A+ test "X$echo_testing_string" = "X$echo_test_string"; then
18810N/A+ # This shell has a builtin print -r that does the trick.
18810N/A+ ECHO='print -r'
18810N/A+ elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
18810N/A+ test "X$CONFIG_SHELL" != X/bin/ksh; then
18810N/A+ # If we have ksh, try running configure again with it.
18810N/A+ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18810N/A+ export ORIGINAL_CONFIG_SHELL
18810N/A+ CONFIG_SHELL=/bin/ksh
18810N/A+ export CONFIG_SHELL
18810N/A+ exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
18810N/A+ else
18810N/A+ # Try using printf.
18810N/A+ ECHO='printf %s\n'
18810N/A+ if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
18810N/A+ echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
18810N/A+ test "X$echo_testing_string" = "X$echo_test_string"; then
18810N/A+ # Cool, printf works
18810N/A+ :
18810N/A+ elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
18810N/A+ test "X$echo_testing_string" = 'X\t' &&
18810N/A+ echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
18810N/A+ test "X$echo_testing_string" = "X$echo_test_string"; then
18810N/A+ CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
18810N/A+ export CONFIG_SHELL
18810N/A+ SHELL="$CONFIG_SHELL"
18810N/A+ export SHELL
18810N/A+ ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
18810N/A+ elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
18810N/A+ test "X$echo_testing_string" = 'X\t' &&
18810N/A+ echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
18810N/A+ test "X$echo_testing_string" = "X$echo_test_string"; then
18810N/A+ ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
18810N/A+ else
18810N/A+ # maybe with a smaller string...
18810N/A+ prev=:
18810N/A+
18810N/A+ for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
18810N/A+ if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
18810N/A+ then
18810N/A+ break
18810N/A+ fi
18810N/A+ prev="$cmd"
18810N/A+ done
18810N/A+
18810N/A+ if test "$prev" != 'sed 50q "[$]0"'; then
18810N/A+ echo_test_string=`eval $prev`
18810N/A+ export echo_test_string
18810N/A+ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
18810N/A+ else
18810N/A+ # Oops. We lost completely, so just stick with echo.
18810N/A+ ECHO=echo
18810N/A+ fi
18810N/A+ fi
18810N/A+ fi
18810N/A+ fi
18810N/A+ fi
18810N/A+fi
18810N/A+
18810N/A+# Copy echo and quote the copy suitably for passing to libtool from
18810N/A+# the Makefile, instead of quoting the original, which is used later.
18810N/A+lt_ECHO=$ECHO
18810N/A+if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
18810N/A+ lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
18810N/A+fi
18810N/A+
18810N/A+AC_SUBST(lt_ECHO)
18810N/A+])
18810N/A+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
18810N/A+_LT_DECL([], [ECHO], [1],
18810N/A+ [An echo program that does not interpret backslashes])
18810N/A+])# _LT_PROG_ECHO_BACKSLASH
18810N/A+
18810N/A+
18810N/A+# _LT_ENABLE_LOCK
18810N/A+# ---------------
18810N/A+m4_defun([_LT_ENABLE_LOCK],
18810N/A+[AC_ARG_ENABLE([libtool-lock],
18810N/A+ [AS_HELP_STRING([--disable-libtool-lock],
18810N/A+ [avoid locking (might break parallel builds)])])
18810N/A+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
18810N/A+
18810N/A+# Some flags need to be propagated to the compiler or linker for good
18810N/A+# libtool support.
18810N/A+case $host in
18810N/A+ia64-*-hpux*)
18810N/A+ # Find out which ABI we are using.
18810N/A+ echo 'int i;' > conftest.$ac_ext
18810N/A+ if AC_TRY_EVAL(ac_compile); then
18810N/A+ case `/usr/bin/file conftest.$ac_objext` in
18810N/A+ *ELF-32*)
18810N/A+ HPUX_IA64_MODE="32"
18810N/A+ ;;
18810N/A+ *ELF-64*)
18810N/A+ HPUX_IA64_MODE="64"
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ rm -rf conftest*
18810N/A+ ;;
18810N/A+*-*-irix6*)
18810N/A+ # Find out which ABI we are using.
18810N/A+ echo '[#]line __oline__ "configure"' > conftest.$ac_ext
18810N/A+ if AC_TRY_EVAL(ac_compile); then
18810N/A+ if test "$lt_cv_prog_gnu_ld" = yes; then
18810N/A+ case `/usr/bin/file conftest.$ac_objext` in
18810N/A+ *32-bit*)
18810N/A+ LD="${LD-ld} -melf32bsmip"
18810N/A+ ;;
18810N/A+ *N32*)
18810N/A+ LD="${LD-ld} -melf32bmipn32"
18810N/A+ ;;
18810N/A+ *64-bit*)
18810N/A+ LD="${LD-ld} -melf64bmip"
18810N/A+ ;;
18810N/A+ esac
18810N/A+ else
18810N/A+ case `/usr/bin/file conftest.$ac_objext` in
18810N/A+ *32-bit*)
18810N/A+ LD="${LD-ld} -32"
18810N/A+ ;;
18810N/A+ *N32*)
18810N/A+ LD="${LD-ld} -n32"
18810N/A+ ;;
18810N/A+ *64-bit*)
18810N/A+ LD="${LD-ld} -64"
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ fi
18810N/A+ rm -rf conftest*
18810N/A+ ;;
18810N/A+
18810N/A+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
18810N/A+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
18810N/A+ # Find out which ABI we are using.
18810N/A+ echo 'int i;' > conftest.$ac_ext
18810N/A+ if AC_TRY_EVAL(ac_compile); then
18810N/A+ case `/usr/bin/file conftest.o` in
18810N/A+ *32-bit*)
18810N/A+ case $host in
18810N/A+ x86_64-*kfreebsd*-gnu)
18810N/A+ LD="${LD-ld} -m elf_i386_fbsd"
18810N/A+ ;;
18810N/A+ x86_64-*linux*)
18810N/A+ LD="${LD-ld} -m elf_i386"
18810N/A+ ;;
18810N/A+ ppc64-*linux*|powerpc64-*linux*)
18810N/A+ LD="${LD-ld} -m elf32ppclinux"
18810N/A+ ;;
18810N/A+ s390x-*linux*)
18810N/A+ LD="${LD-ld} -m elf_s390"
18810N/A+ ;;
18810N/A+ sparc64-*linux*)
18810N/A+ LD="${LD-ld} -m elf32_sparc"
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ *64-bit*)
18810N/A+ case $host in
18810N/A+ x86_64-*kfreebsd*-gnu)
18810N/A+ LD="${LD-ld} -m elf_x86_64_fbsd"
18810N/A+ ;;
18810N/A+ x86_64-*linux*)
18810N/A+ LD="${LD-ld} -m elf_x86_64"
18810N/A+ ;;
18810N/A+ ppc*-*linux*|powerpc*-*linux*)
18810N/A+ LD="${LD-ld} -m elf64ppc"
18810N/A+ ;;
18810N/A+ s390*-*linux*|s390*-*tpf*)
18810N/A+ LD="${LD-ld} -m elf64_s390"
18810N/A+ ;;
18810N/A+ sparc*-*linux*)
18810N/A+ LD="${LD-ld} -m elf64_sparc"
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ rm -rf conftest*
18810N/A+ ;;
18810N/A+
18810N/A+*-*-sco3.2v5*)
18810N/A+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
18810N/A+ SAVE_CFLAGS="$CFLAGS"
18810N/A+ CFLAGS="$CFLAGS -belf"
18810N/A+ AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
18810N/A+ [AC_LANG_PUSH(C)
18810N/A+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
18810N/A+ AC_LANG_POP])
18810N/A+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
18810N/A+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
18810N/A+ CFLAGS="$SAVE_CFLAGS"
18810N/A+ fi
18810N/A+ ;;
18810N/A+sparc*-*solaris*)
18810N/A+ # Find out which ABI we are using.
18810N/A+ echo 'int i;' > conftest.$ac_ext
18810N/A+ if AC_TRY_EVAL(ac_compile); then
18810N/A+ case `/usr/bin/file conftest.o` in
18810N/A+ *64-bit*)
18810N/A+ case $lt_cv_prog_gnu_ld in
18810N/A+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
18810N/A+ *)
18810N/A+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
18810N/A+ LD="${LD-ld} -64"
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ rm -rf conftest*
18810N/A+ ;;
18810N/A+esac
18810N/A+
18810N/A+need_locks="$enable_libtool_lock"
18810N/A+])# _LT_ENABLE_LOCK
18810N/A+
18810N/A+
18810N/A+# _LT_CMD_OLD_ARCHIVE
18810N/A+# -------------------
18810N/A+m4_defun([_LT_CMD_OLD_ARCHIVE],
18810N/A+[AC_CHECK_TOOL(AR, ar, false)
18810N/A+test -z "$AR" && AR=ar
18810N/A+test -z "$AR_FLAGS" && AR_FLAGS=cru
18810N/A+_LT_DECL([], [AR], [1], [The archiver])
18810N/A+_LT_DECL([], [AR_FLAGS], [1])
18810N/A+
18810N/A+AC_CHECK_TOOL(STRIP, strip, :)
18810N/A+test -z "$STRIP" && STRIP=:
18810N/A+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
18810N/A+
18810N/A+AC_CHECK_TOOL(RANLIB, ranlib, :)
18810N/A+test -z "$RANLIB" && RANLIB=:
18810N/A+_LT_DECL([], [RANLIB], [1],
18810N/A+ [Commands used to install an old-style archive])
18810N/A+
18810N/A+# Determine commands to create old-style static archives.
18810N/A+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
18810N/A+old_postinstall_cmds='chmod 644 $oldlib'
18810N/A+old_postuninstall_cmds=
18810N/A+
18810N/A+if test -n "$RANLIB"; then
18810N/A+ case $host_os in
18810N/A+ openbsd*)
18810N/A+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
18810N/A+ ;;
18810N/A+ *)
18810N/A+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
18810N/A+ ;;
18810N/A+ esac
18810N/A+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
18810N/A+fi
18810N/A+_LT_DECL([], [old_postinstall_cmds], [2])
18810N/A+_LT_DECL([], [old_postuninstall_cmds], [2])
18810N/A+_LT_TAGDECL([], [old_archive_cmds], [2],
18810N/A+ [Commands used to build an old-style archive])
18810N/A+])# _LT_CMD_OLD_ARCHIVE
18810N/A+
18810N/A+
18810N/A+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
18810N/A+# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
18810N/A+# ----------------------------------------------------------------
18810N/A+# Check whether the given compiler option works
18810N/A+AC_DEFUN([_LT_COMPILER_OPTION],
18810N/A+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
18810N/A+m4_require([_LT_DECL_SED])dnl
18810N/A+AC_CACHE_CHECK([$1], [$2],
18810N/A+ [$2=no
18810N/A+ m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
18810N/A+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18810N/A+ lt_compiler_flag="$3"
18810N/A+ # Insert the option either (1) after the last *FLAGS variable, or
18810N/A+ # (2) before a word containing "conftest.", or (3) at the end.
18810N/A+ # Note that $ac_compile itself does not contain backslashes and begins
18810N/A+ # with a dollar sign (not a hyphen), so the echo should work correctly.
18810N/A+ # The option is referenced via a variable to avoid confusing sed.
18810N/A+ lt_compile=`echo "$ac_compile" | $SED \
18810N/A+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18810N/A+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
18810N/A+ -e 's:$: $lt_compiler_flag:'`
18810N/A+ (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
18810N/A+ (eval "$lt_compile" 2>conftest.err)
18810N/A+ ac_status=$?
18810N/A+ cat conftest.err >&AS_MESSAGE_LOG_FD
18810N/A+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
18810N/A+ if (exit $ac_status) && test -s "$ac_outfile"; then
18810N/A+ # The compiler can only warn and ignore the option if not recognized
18810N/A+ # So say no if there are warnings other than the usual output.
18810N/A+ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18810N/A+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18810N/A+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18810N/A+ $2=yes
18810N/A+ fi
18810N/A+ fi
18810N/A+ $RM conftest*
18810N/A+])
18810N/A+
18810N/A+if test x"[$]$2" = xyes; then
18810N/A+ m4_if([$5], , :, [$5])
18810N/A+else
18810N/A+ m4_if([$6], , :, [$6])
18810N/A+fi
18810N/A+])# _LT_COMPILER_OPTION
18810N/A+
18810N/A+# Old name:
18810N/A+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
18810N/A+
18810N/A+
18810N/A+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
18810N/A+# [ACTION-SUCCESS], [ACTION-FAILURE])
18810N/A+# ----------------------------------------------------
18810N/A+# Check whether the given linker option works
18810N/A+AC_DEFUN([_LT_LINKER_OPTION],
18810N/A+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
18810N/A+m4_require([_LT_DECL_SED])dnl
18810N/A+AC_CACHE_CHECK([$1], [$2],
18810N/A+ [$2=no
18810N/A+ save_LDFLAGS="$LDFLAGS"
18810N/A+ LDFLAGS="$LDFLAGS $3"
18810N/A+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
18810N/A+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18810N/A+ # The linker can only warn and ignore the option if not recognized
18810N/A+ # So say no if there are warnings
18810N/A+ if test -s conftest.err; then
18810N/A+ # Append any errors to the config.log.
18810N/A+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
18810N/A+ $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18810N/A+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18810N/A+ if diff conftest.exp conftest.er2 >/dev/null; then
18810N/A+ $2=yes
18810N/A+ fi
18810N/A+ else
18810N/A+ $2=yes
18810N/A+ fi
18810N/A+ fi
18810N/A+ $RM -r conftest*
18810N/A+ LDFLAGS="$save_LDFLAGS"
18810N/A+])
18810N/A+
18810N/A+if test x"[$]$2" = xyes; then
18810N/A+ m4_if([$4], , :, [$4])
18810N/A+else
18810N/A+ m4_if([$5], , :, [$5])
18810N/A+fi
18810N/A+])# _LT_LINKER_OPTION
18810N/A+
18810N/A+# Old name:
18810N/A+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
18810N/A+
18810N/A+
18810N/A+# LT_CMD_MAX_LEN
18810N/A+#---------------
18810N/A+AC_DEFUN([LT_CMD_MAX_LEN],
18810N/A+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
18810N/A+# find the maximum length of command line arguments
18810N/A+AC_MSG_CHECKING([the maximum length of command line arguments])
18810N/A+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
18810N/A+ i=0
18810N/A+ teststring="ABCD"
18810N/A+
18810N/A+ case $build_os in
18810N/A+ msdosdjgpp*)
18810N/A+ # On DJGPP, this test can blow up pretty badly due to problems in libc
18810N/A+ # (any single argument exceeding 2000 bytes causes a buffer overrun
18810N/A+ # during glob expansion). Even if it were fixed, the result of this
18810N/A+ # check would be larger than it should be.
18810N/A+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
18810N/A+ ;;
18810N/A+
18810N/A+ gnu*)
18810N/A+ # Under GNU Hurd, this test is not required because there is
18810N/A+ # no limit to the length of command line arguments.
18810N/A+ # Libtool will interpret -1 as no limit whatsoever
18810N/A+ lt_cv_sys_max_cmd_len=-1;
18810N/A+ ;;
18810N/A+
18810N/A+ cygwin* | mingw* | cegcc*)
18810N/A+ # On Win9x/ME, this test blows up -- it succeeds, but takes
18810N/A+ # about 5 minutes as the teststring grows exponentially.
18810N/A+ # Worse, since 9x/ME are not pre-emptively multitasking,
18810N/A+ # you end up with a "frozen" computer, even though with patience
18810N/A+ # the test eventually succeeds (with a max line length of 256k).
18810N/A+ # Instead, let's just punt: use the minimum linelength reported by
18810N/A+ # all of the supported platforms: 8192 (on NT/2K/XP).
18810N/A+ lt_cv_sys_max_cmd_len=8192;
18810N/A+ ;;
18810N/A+
18810N/A+ amigaos*)
18810N/A+ # On AmigaOS with pdksh, this test takes hours, literally.
18810N/A+ # So we just punt and use a minimum line length of 8192.
18810N/A+ lt_cv_sys_max_cmd_len=8192;
18810N/A+ ;;
18810N/A+
18810N/A+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
18810N/A+ # This has been around since 386BSD, at least. Likely further.
18810N/A+ if test -x /sbin/sysctl; then
18810N/A+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
18810N/A+ elif test -x /usr/sbin/sysctl; then
18810N/A+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
18810N/A+ else
18810N/A+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
18810N/A+ fi
18810N/A+ # And add a safety zone
18810N/A+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
18810N/A+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
18810N/A+ ;;
18810N/A+
18810N/A+ interix*)
18810N/A+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
18810N/A+ lt_cv_sys_max_cmd_len=196608
18810N/A+ ;;
18810N/A+
18810N/A+ osf*)
18810N/A+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
18810N/A+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
18810N/A+ # nice to cause kernel panics so lets avoid the loop below.
18810N/A+ # First set a reasonable default.
18810N/A+ lt_cv_sys_max_cmd_len=16384
18810N/A+ #
18810N/A+ if test -x /sbin/sysconfig; then
18810N/A+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
18810N/A+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ ;;
18810N/A+ sco3.2v5*)
18810N/A+ lt_cv_sys_max_cmd_len=102400
18810N/A+ ;;
18810N/A+ sysv5* | sco5v6* | sysv4.2uw2*)
18810N/A+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
18810N/A+ if test -n "$kargmax"; then
18810N/A+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
18810N/A+ else
18810N/A+ lt_cv_sys_max_cmd_len=32768
18810N/A+ fi
18810N/A+ ;;
18810N/A+ *)
18810N/A+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
18810N/A+ if test -n "$lt_cv_sys_max_cmd_len"; then
18810N/A+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
18810N/A+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
18810N/A+ else
18810N/A+ # Make teststring a little bigger before we do anything with it.
18810N/A+ # a 1K string should be a reasonable start.
18810N/A+ for i in 1 2 3 4 5 6 7 8 ; do
18810N/A+ teststring=$teststring$teststring
18810N/A+ done
18810N/A+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
18810N/A+ # If test is not a shell built-in, we'll probably end up computing a
18810N/A+ # maximum length that is only half of the actual maximum length, but
18810N/A+ # we can't tell.
18810N/A+ while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
18810N/A+ = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
18810N/A+ test $i != 17 # 1/2 MB should be enough
18810N/A+ do
18810N/A+ i=`expr $i + 1`
18810N/A+ teststring=$teststring$teststring
18810N/A+ done
18810N/A+ # Only check the string length outside the loop.
18810N/A+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
18810N/A+ teststring=
18810N/A+ # Add a significant safety factor because C++ compilers can tack on
18810N/A+ # massive amounts of additional arguments before passing them to the
18810N/A+ # linker. It appears as though 1/2 is a usable value.
18810N/A+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+])
18810N/A+if test -n $lt_cv_sys_max_cmd_len ; then
18810N/A+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
18810N/A+else
18810N/A+ AC_MSG_RESULT(none)
18810N/A+fi
18810N/A+max_cmd_len=$lt_cv_sys_max_cmd_len
18810N/A+_LT_DECL([], [max_cmd_len], [0],
18810N/A+ [What is the maximum length of a command?])
18810N/A+])# LT_CMD_MAX_LEN
18810N/A+
18810N/A+# Old name:
18810N/A+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
18810N/A+
18810N/A+
18810N/A+# _LT_HEADER_DLFCN
18810N/A+# ----------------
18810N/A+m4_defun([_LT_HEADER_DLFCN],
18810N/A+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
18810N/A+])# _LT_HEADER_DLFCN
18810N/A+
18810N/A+
18810N/A+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
18810N/A+# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
18810N/A+# ----------------------------------------------------------------
18810N/A+m4_defun([_LT_TRY_DLOPEN_SELF],
18810N/A+[m4_require([_LT_HEADER_DLFCN])dnl
18810N/A+if test "$cross_compiling" = yes; then :
18810N/A+ [$4]
18810N/A+else
18810N/A+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18810N/A+ lt_status=$lt_dlunknown
18810N/A+ cat > conftest.$ac_ext <<_LT_EOF
18810N/A+[#line __oline__ "configure"
18810N/A+#include "confdefs.h"
18810N/A+
18810N/A+#if HAVE_DLFCN_H
18810N/A+#include <dlfcn.h>
18810N/A+#endif
18810N/A+
18810N/A+#include <stdio.h>
18810N/A+
18810N/A+#ifdef RTLD_GLOBAL
18810N/A+# define LT_DLGLOBAL RTLD_GLOBAL
18810N/A+#else
18810N/A+# ifdef DL_GLOBAL
18810N/A+# define LT_DLGLOBAL DL_GLOBAL
18810N/A+# else
18810N/A+# define LT_DLGLOBAL 0
18810N/A+# endif
18810N/A+#endif
18810N/A+
18810N/A+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18810N/A+ find out it does not work in some platform. */
18810N/A+#ifndef LT_DLLAZY_OR_NOW
18810N/A+# ifdef RTLD_LAZY
18810N/A+# define LT_DLLAZY_OR_NOW RTLD_LAZY
18810N/A+# else
18810N/A+# ifdef DL_LAZY
18810N/A+# define LT_DLLAZY_OR_NOW DL_LAZY
18810N/A+# else
18810N/A+# ifdef RTLD_NOW
18810N/A+# define LT_DLLAZY_OR_NOW RTLD_NOW
18810N/A+# else
18810N/A+# ifdef DL_NOW
18810N/A+# define LT_DLLAZY_OR_NOW DL_NOW
18810N/A+# else
18810N/A+# define LT_DLLAZY_OR_NOW 0
18810N/A+# endif
18810N/A+# endif
18810N/A+# endif
18810N/A+# endif
18810N/A+#endif
18810N/A+
18810N/A+void fnord() { int i=42;}
18810N/A+int main ()
18810N/A+{
18810N/A+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18810N/A+ int status = $lt_dlunknown;
18810N/A+
18810N/A+ if (self)
18810N/A+ {
18810N/A+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18810N/A+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18810N/A+ /* dlclose (self); */
18810N/A+ }
18810N/A+ else
18810N/A+ puts (dlerror ());
18810N/A+
18810N/A+ return status;
18810N/A+}]
18810N/A+_LT_EOF
18810N/A+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
18810N/A+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
18810N/A+ lt_status=$?
18810N/A+ case x$lt_status in
18810N/A+ x$lt_dlno_uscore) $1 ;;
18810N/A+ x$lt_dlneed_uscore) $2 ;;
18810N/A+ x$lt_dlunknown|x*) $3 ;;
18810N/A+ esac
18810N/A+ else :
18810N/A+ # compilation failed
18810N/A+ $3
18810N/A+ fi
18810N/A+fi
18810N/A+rm -fr conftest*
18810N/A+])# _LT_TRY_DLOPEN_SELF
18810N/A+
18810N/A+
18810N/A+# LT_SYS_DLOPEN_SELF
18810N/A+# ------------------
18810N/A+AC_DEFUN([LT_SYS_DLOPEN_SELF],
18810N/A+[m4_require([_LT_HEADER_DLFCN])dnl
18810N/A+if test "x$enable_dlopen" != xyes; then
18810N/A+ enable_dlopen=unknown
18810N/A+ enable_dlopen_self=unknown
18810N/A+ enable_dlopen_self_static=unknown
18810N/A+else
18810N/A+ lt_cv_dlopen=no
18810N/A+ lt_cv_dlopen_libs=
18810N/A+
18810N/A+ case $host_os in
18810N/A+ beos*)
18810N/A+ lt_cv_dlopen="load_add_on"
18810N/A+ lt_cv_dlopen_libs=
18810N/A+ lt_cv_dlopen_self=yes
18810N/A+ ;;
18810N/A+
18810N/A+ mingw* | pw32* | cegcc*)
18810N/A+ lt_cv_dlopen="LoadLibrary"
18810N/A+ lt_cv_dlopen_libs=
18810N/A+ ;;
18810N/A+
18810N/A+ cygwin*)
18810N/A+ lt_cv_dlopen="dlopen"
18810N/A+ lt_cv_dlopen_libs=
18810N/A+ ;;
18810N/A+
18810N/A+ darwin*)
18810N/A+ # if libdl is installed we need to link against it
18810N/A+ AC_CHECK_LIB([dl], [dlopen],
18810N/A+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
18810N/A+ lt_cv_dlopen="dyld"
18810N/A+ lt_cv_dlopen_libs=
18810N/A+ lt_cv_dlopen_self=yes
18810N/A+ ])
18810N/A+ ;;
18810N/A+
18810N/A+ *)
18810N/A+ AC_CHECK_FUNC([shl_load],
18810N/A+ [lt_cv_dlopen="shl_load"],
18810N/A+ [AC_CHECK_LIB([dld], [shl_load],
18810N/A+ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
18810N/A+ [AC_CHECK_FUNC([dlopen],
18810N/A+ [lt_cv_dlopen="dlopen"],
18810N/A+ [AC_CHECK_LIB([dl], [dlopen],
18810N/A+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
18810N/A+ [AC_CHECK_LIB([svld], [dlopen],
18810N/A+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
18810N/A+ [AC_CHECK_LIB([dld], [dld_link],
18810N/A+ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
18810N/A+ ])
18810N/A+ ])
18810N/A+ ])
18810N/A+ ])
18810N/A+ ])
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ if test "x$lt_cv_dlopen" != xno; then
18810N/A+ enable_dlopen=yes
18810N/A+ else
18810N/A+ enable_dlopen=no
18810N/A+ fi
18810N/A+
18810N/A+ case $lt_cv_dlopen in
18810N/A+ dlopen)
18810N/A+ save_CPPFLAGS="$CPPFLAGS"
18810N/A+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18810N/A+
18810N/A+ save_LDFLAGS="$LDFLAGS"
18810N/A+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18810N/A+
18810N/A+ save_LIBS="$LIBS"
18810N/A+ LIBS="$lt_cv_dlopen_libs $LIBS"
18810N/A+
18810N/A+ AC_CACHE_CHECK([whether a program can dlopen itself],
18810N/A+ lt_cv_dlopen_self, [dnl
18810N/A+ _LT_TRY_DLOPEN_SELF(
18810N/A+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
18810N/A+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
18810N/A+ ])
18810N/A+
18810N/A+ if test "x$lt_cv_dlopen_self" = xyes; then
18810N/A+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
18810N/A+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
18810N/A+ lt_cv_dlopen_self_static, [dnl
18810N/A+ _LT_TRY_DLOPEN_SELF(
18810N/A+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
18810N/A+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
18810N/A+ ])
18810N/A+ fi
18810N/A+
18810N/A+ CPPFLAGS="$save_CPPFLAGS"
18810N/A+ LDFLAGS="$save_LDFLAGS"
18810N/A+ LIBS="$save_LIBS"
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ case $lt_cv_dlopen_self in
18810N/A+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18810N/A+ *) enable_dlopen_self=unknown ;;
18810N/A+ esac
18810N/A+
18810N/A+ case $lt_cv_dlopen_self_static in
18810N/A+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18810N/A+ *) enable_dlopen_self_static=unknown ;;
18810N/A+ esac
18810N/A+fi
18810N/A+_LT_DECL([dlopen_support], [enable_dlopen], [0],
18810N/A+ [Whether dlopen is supported])
18810N/A+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
18810N/A+ [Whether dlopen of programs is supported])
18810N/A+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
18810N/A+ [Whether dlopen of statically linked programs is supported])
18810N/A+])# LT_SYS_DLOPEN_SELF
18810N/A+
18810N/A+# Old name:
18810N/A+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
18810N/A+
18810N/A+
18810N/A+# _LT_COMPILER_C_O([TAGNAME])
18810N/A+# ---------------------------
18810N/A+# Check to see if options -c and -o are simultaneously supported by compiler.
18810N/A+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
18810N/A+m4_defun([_LT_COMPILER_C_O],
18810N/A+[m4_require([_LT_DECL_SED])dnl
18810N/A+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
18810N/A+m4_require([_LT_TAG_COMPILER])dnl
18810N/A+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
18810N/A+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
18810N/A+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
18810N/A+ $RM -r conftest 2>/dev/null
18810N/A+ mkdir conftest
18810N/A+ cd conftest
18810N/A+ mkdir out
18810N/A+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18810N/A+
18810N/A+ lt_compiler_flag="-o out/conftest2.$ac_objext"
18810N/A+ # Insert the option either (1) after the last *FLAGS variable, or
18810N/A+ # (2) before a word containing "conftest.", or (3) at the end.
18810N/A+ # Note that $ac_compile itself does not contain backslashes and begins
18810N/A+ # with a dollar sign (not a hyphen), so the echo should work correctly.
18810N/A+ lt_compile=`echo "$ac_compile" | $SED \
18810N/A+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18810N/A+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
18810N/A+ -e 's:$: $lt_compiler_flag:'`
18810N/A+ (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
18810N/A+ (eval "$lt_compile" 2>out/conftest.err)
18810N/A+ ac_status=$?
18810N/A+ cat out/conftest.err >&AS_MESSAGE_LOG_FD
18810N/A+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
18810N/A+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
18810N/A+ then
18810N/A+ # The compiler can only warn and ignore the option if not recognized
18810N/A+ # So say no if there are warnings
18810N/A+ $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18810N/A+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18810N/A+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18810N/A+ _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
18810N/A+ fi
18810N/A+ fi
18810N/A+ chmod u+w . 2>&AS_MESSAGE_LOG_FD
18810N/A+ $RM conftest*
18810N/A+ # SGI C++ compiler will create directory out/ii_files/ for
18810N/A+ # template instantiation
18810N/A+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18810N/A+ $RM out/* && rmdir out
18810N/A+ cd ..
18810N/A+ $RM -r conftest
18810N/A+ $RM conftest*
18810N/A+])
18810N/A+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
18810N/A+ [Does compiler simultaneously support -c and -o options?])
18810N/A+])# _LT_COMPILER_C_O
18810N/A+
18810N/A+
18810N/A+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
18810N/A+# ----------------------------------
18810N/A+# Check to see if we can do hard links to lock some files if needed
18810N/A+m4_defun([_LT_COMPILER_FILE_LOCKS],
18810N/A+[m4_require([_LT_ENABLE_LOCK])dnl
18810N/A+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
18810N/A+_LT_COMPILER_C_O([$1])
18810N/A+
18810N/A+hard_links="nottested"
18810N/A+if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
18810N/A+ # do not overwrite the value of need_locks provided by the user
18810N/A+ AC_MSG_CHECKING([if we can lock with hard links])
18810N/A+ hard_links=yes
18810N/A+ $RM conftest*
18810N/A+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
18810N/A+ touch conftest.a
18810N/A+ ln conftest.a conftest.b 2>&5 || hard_links=no
18810N/A+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
18810N/A+ AC_MSG_RESULT([$hard_links])
18810N/A+ if test "$hard_links" = no; then
18810N/A+ AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
18810N/A+ need_locks=warn
18810N/A+ fi
18810N/A+else
18810N/A+ need_locks=no
18810N/A+fi
18810N/A+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
18810N/A+])# _LT_COMPILER_FILE_LOCKS
18810N/A+
18810N/A+
18810N/A+# _LT_CHECK_OBJDIR
18810N/A+# ----------------
18810N/A+m4_defun([_LT_CHECK_OBJDIR],
18810N/A+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
18810N/A+[rm -f .libs 2>/dev/null
18810N/A+mkdir .libs 2>/dev/null
18810N/A+if test -d .libs; then
18810N/A+ lt_cv_objdir=.libs
18810N/A+else
18810N/A+ # MS-DOS does not allow filenames that begin with a dot.
18810N/A+ lt_cv_objdir=_libs
18810N/A+fi
18810N/A+rmdir .libs 2>/dev/null])
18810N/A+objdir=$lt_cv_objdir
18810N/A+_LT_DECL([], [objdir], [0],
18810N/A+ [The name of the directory that contains temporary libtool files])dnl
18810N/A+m4_pattern_allow([LT_OBJDIR])dnl
18810N/A+AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
18810N/A+ [Define to the sub-directory in which libtool stores uninstalled libraries.])
18810N/A+])# _LT_CHECK_OBJDIR
18810N/A+
18810N/A+
18810N/A+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
18810N/A+# --------------------------------------
18810N/A+# Check hardcoding attributes.
18810N/A+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
18810N/A+[AC_MSG_CHECKING([how to hardcode library paths into programs])
18810N/A+_LT_TAGVAR(hardcode_action, $1)=
18810N/A+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
18810N/A+ test -n "$_LT_TAGVAR(runpath_var, $1)" ||
18810N/A+ test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
18810N/A+
18810N/A+ # We can hardcode non-existent directories.
18810N/A+ if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
18810N/A+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
18810N/A+ # have to relink, otherwise we might link with an installed library
18810N/A+ # when we should be linking with a yet-to-be-installed one
18810N/A+ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
18810N/A+ test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
18810N/A+ # Linking always hardcodes the temporary library directory.
18810N/A+ _LT_TAGVAR(hardcode_action, $1)=relink
18810N/A+ else
18810N/A+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
18810N/A+ _LT_TAGVAR(hardcode_action, $1)=immediate
18810N/A+ fi
18810N/A+else
18810N/A+ # We cannot hardcode anything, or else we can only hardcode existing
18810N/A+ # directories.
18810N/A+ _LT_TAGVAR(hardcode_action, $1)=unsupported
18810N/A+fi
18810N/A+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
18810N/A+
18810N/A+if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
18810N/A+ test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
18810N/A+ # Fast installation is not supported
18810N/A+ enable_fast_install=no
18810N/A+elif test "$shlibpath_overrides_runpath" = yes ||
18810N/A+ test "$enable_shared" = no; then
18810N/A+ # Fast installation is not necessary
18810N/A+ enable_fast_install=needless
18810N/A+fi
18810N/A+_LT_TAGDECL([], [hardcode_action], [0],
18810N/A+ [How to hardcode a shared library path into an executable])
18810N/A+])# _LT_LINKER_HARDCODE_LIBPATH
18810N/A+
18810N/A+
18810N/A+# _LT_CMD_STRIPLIB
18810N/A+# ----------------
18810N/A+m4_defun([_LT_CMD_STRIPLIB],
18810N/A+[m4_require([_LT_DECL_EGREP])
18810N/A+striplib=
18810N/A+old_striplib=
18810N/A+AC_MSG_CHECKING([whether stripping libraries is possible])
18810N/A+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
18810N/A+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18810N/A+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18810N/A+ AC_MSG_RESULT([yes])
18810N/A+else
18810N/A+# FIXME - insert some real tests, host_os isn't really good enough
18810N/A+ case $host_os in
18810N/A+ darwin*)
18810N/A+ if test -n "$STRIP" ; then
18810N/A+ striplib="$STRIP -x"
18810N/A+ old_striplib="$STRIP -S"
18810N/A+ AC_MSG_RESULT([yes])
18810N/A+ else
18810N/A+ AC_MSG_RESULT([no])
18810N/A+ fi
18810N/A+ ;;
18810N/A+ *)
18810N/A+ AC_MSG_RESULT([no])
18810N/A+ ;;
18810N/A+ esac
18810N/A+fi
18810N/A+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
18810N/A+_LT_DECL([], [striplib], [1])
18810N/A+])# _LT_CMD_STRIPLIB
18810N/A+
18810N/A+
18810N/A+# _LT_SYS_DYNAMIC_LINKER([TAG])
18810N/A+# -----------------------------
18810N/A+# PORTME Fill in your ld.so characteristics
18810N/A+m4_defun([_LT_SYS_DYNAMIC_LINKER],
18810N/A+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
18810N/A+m4_require([_LT_DECL_EGREP])dnl
18810N/A+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
18810N/A+m4_require([_LT_DECL_OBJDUMP])dnl
18810N/A+m4_require([_LT_DECL_SED])dnl
18810N/A+AC_MSG_CHECKING([dynamic linker characteristics])
18810N/A+m4_if([$1],
18810N/A+ [], [
18810N/A+if test "$GCC" = yes; then
18810N/A+ case $host_os in
18810N/A+ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
18810N/A+ *) lt_awk_arg="/^libraries:/" ;;
18810N/A+ esac
18810N/A+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18810N/A+ if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
18810N/A+ # if the path contains ";" then we assume it to be the separator
18810N/A+ # otherwise default to the standard path separator (i.e. ":") - it is
18810N/A+ # assumed that no part of a normal pathname contains ";" but that should
18810N/A+ # okay in the real world where ";" in dirpaths is itself problematic.
18810N/A+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
18810N/A+ else
18810N/A+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18810N/A+ fi
18810N/A+ # Ok, now we have the path, separated by spaces, we can step through it
18810N/A+ # and add multilib dir if necessary.
18810N/A+ lt_tmp_lt_search_path_spec=
18810N/A+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
18810N/A+ for lt_sys_path in $lt_search_path_spec; do
18810N/A+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
18810N/A+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
18810N/A+ else
18810N/A+ test -d "$lt_sys_path" && \
18810N/A+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
18810N/A+ fi
18810N/A+ done
18810N/A+ lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
18810N/A+BEGIN {RS=" "; FS="/|\n";} {
18810N/A+ lt_foo="";
18810N/A+ lt_count=0;
18810N/A+ for (lt_i = NF; lt_i > 0; lt_i--) {
18810N/A+ if ($lt_i != "" && $lt_i != ".") {
18810N/A+ if ($lt_i == "..") {
18810N/A+ lt_count++;
18810N/A+ } else {
18810N/A+ if (lt_count == 0) {
18810N/A+ lt_foo="/" $lt_i lt_foo;
18810N/A+ } else {
18810N/A+ lt_count--;
18810N/A+ }
18810N/A+ }
18810N/A+ }
18810N/A+ }
18810N/A+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
18810N/A+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
18810N/A+}'`
18810N/A+ sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
18810N/A+else
18810N/A+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18810N/A+fi])
18810N/A+library_names_spec=
18810N/A+libname_spec='lib$name'
18810N/A+soname_spec=
18810N/A+shrext_cmds=".so"
18810N/A+postinstall_cmds=
18810N/A+postuninstall_cmds=
18810N/A+finish_cmds=
18810N/A+finish_eval=
18810N/A+shlibpath_var=
18810N/A+shlibpath_overrides_runpath=unknown
18810N/A+version_type=none
18810N/A+dynamic_linker="$host_os ld.so"
18810N/A+sys_lib_dlsearch_path_spec="/lib /usr/lib"
18810N/A+need_lib_prefix=unknown
18810N/A+hardcode_into_libs=no
18810N/A+
18810N/A+# when you set need_version to no, make sure it does not cause -set_version
18810N/A+# flags to be left without arguments
18810N/A+need_version=unknown
18810N/A+
18810N/A+case $host_os in
18810N/A+aix3*)
18810N/A+ version_type=linux
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18810N/A+ shlibpath_var=LIBPATH
18810N/A+
18810N/A+ # AIX 3 has no versioning support, so we append a major version to the name.
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ ;;
18810N/A+
18810N/A+aix[[4-9]]*)
18810N/A+ version_type=linux
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ hardcode_into_libs=yes
18810N/A+ if test "$host_cpu" = ia64; then
18810N/A+ # AIX 5 supports IA64
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ else
18810N/A+ # With GCC up to 2.95.x, collect2 would create an import file
18810N/A+ # for dependence libraries. The import file would start with
18810N/A+ # the line `#! .'. This would cause the generated library to
18810N/A+ # depend on `.', always an invalid library. This was fixed in
18810N/A+ # development snapshots of GCC prior to 3.0.
18810N/A+ case $host_os in
18810N/A+ aix4 | aix4.[[01]] | aix4.[[01]].*)
18810N/A+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18810N/A+ echo ' yes '
18810N/A+ echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
18810N/A+ :
18810N/A+ else
18810N/A+ can_build_shared=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18810N/A+ # soname into executable. Probably we can add versioning support to
18810N/A+ # collect2, so additional links can be useful in future.
18810N/A+ if test "$aix_use_runtimelinking" = yes; then
18810N/A+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18810N/A+ # instead of lib<name>.a to let people know that these are not
18810N/A+ # typical AIX shared libraries.
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ else
18810N/A+ # We preserve .a as extension for shared libraries through AIX4.2
18810N/A+ # and later when we are not doing run time linking.
18810N/A+ library_names_spec='${libname}${release}.a $libname.a'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ fi
18810N/A+ shlibpath_var=LIBPATH
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+amigaos*)
18810N/A+ case $host_cpu in
18810N/A+ powerpc)
18810N/A+ # Since July 2007 AmigaOS4 officially supports .so libraries.
18810N/A+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ ;;
18810N/A+ m68k)
18810N/A+ library_names_spec='$libname.ixlibrary $libname.a'
18810N/A+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
18810N/A+ 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'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+beos*)
18810N/A+ library_names_spec='${libname}${shared_ext}'
18810N/A+ dynamic_linker="$host_os ld.so"
18810N/A+ shlibpath_var=LIBRARY_PATH
18810N/A+ ;;
18810N/A+
18810N/A+bsdi[[45]]*)
18810N/A+ version_type=linux
18810N/A+ need_version=no
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18810N/A+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18810N/A+ # the default ld.so.conf also contains /usr/contrib/lib and
18810N/A+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18810N/A+ # libtool to hard-code these into programs
18810N/A+ ;;
18810N/A+
18810N/A+cygwin* | mingw* | pw32* | cegcc*)
18810N/A+ version_type=windows
18810N/A+ shrext_cmds=".dll"
18810N/A+ need_version=no
18810N/A+ need_lib_prefix=no
18810N/A+
18810N/A+ case $GCC,$host_os in
18810N/A+ yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
18810N/A+ library_names_spec='$libname.dll.a'
18810N/A+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
18810N/A+ postinstall_cmds='base_file=`basename \${file}`~
18810N/A+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18810N/A+ dldir=$destdir/`dirname \$dlpath`~
18810N/A+ test -d \$dldir || mkdir -p \$dldir~
18810N/A+ $install_prog $dir/$dlname \$dldir/$dlname~
18810N/A+ chmod a+x \$dldir/$dlname~
18810N/A+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18810N/A+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18810N/A+ fi'
18810N/A+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18810N/A+ dlpath=$dir/\$dldll~
18810N/A+ $RM \$dlpath'
18810N/A+ shlibpath_overrides_runpath=yes
18810N/A+
18810N/A+ case $host_os in
18810N/A+ cygwin*)
18810N/A+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18810N/A+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
18810N/A+ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18810N/A+ ;;
18810N/A+ mingw* | cegcc*)
18810N/A+ # MinGW DLLs use traditional 'lib' prefix
18810N/A+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
18810N/A+ sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18810N/A+ if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
18810N/A+ # It is most probably a Windows format PATH printed by
18810N/A+ # mingw gcc, but we are running on Cygwin. Gcc prints its search
18810N/A+ # path with ; separators, and with drive letters. We can handle the
18810N/A+ # drive letters (cygwin fileutils understands them), so leave them,
18810N/A+ # especially as we might pass files found there to a mingw objdump,
18810N/A+ # which wouldn't understand a cygwinified path. Ahh.
18810N/A+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18810N/A+ else
18810N/A+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18810N/A+ fi
18810N/A+ ;;
18810N/A+ pw32*)
18810N/A+ # pw32 DLLs use 'pw' prefix rather than 'lib'
18810N/A+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ *)
18810N/A+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ dynamic_linker='Win32 ld.exe'
18810N/A+ # FIXME: first we should search . and the directory the executable is in
18810N/A+ shlibpath_var=PATH
18810N/A+ ;;
18810N/A+
18810N/A+darwin* | rhapsody*)
18810N/A+ dynamic_linker="$host_os dyld"
18810N/A+ version_type=darwin
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18810N/A+ soname_spec='${libname}${release}${major}$shared_ext'
18810N/A+ shlibpath_overrides_runpath=yes
18810N/A+ shlibpath_var=DYLD_LIBRARY_PATH
18810N/A+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18810N/A+m4_if([$1], [],[
18810N/A+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
18810N/A+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18810N/A+ ;;
18810N/A+
18810N/A+dgux*)
18810N/A+ version_type=linux
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ ;;
18810N/A+
18810N/A+freebsd1*)
18810N/A+ dynamic_linker=no
18810N/A+ ;;
18810N/A+
18810N/A+freebsd* | dragonfly*)
18810N/A+ # DragonFly does not have aout. When/if they implement a new
18810N/A+ # versioning mechanism, adjust this.
18810N/A+ if test -x /usr/bin/objformat; then
18810N/A+ objformat=`/usr/bin/objformat`
18810N/A+ else
18810N/A+ case $host_os in
18810N/A+ freebsd[[123]]*) objformat=aout ;;
18810N/A+ *) objformat=elf ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ version_type=freebsd-$objformat
18810N/A+ case $version_type in
18810N/A+ freebsd-elf*)
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18810N/A+ need_version=no
18810N/A+ need_lib_prefix=no
18810N/A+ ;;
18810N/A+ freebsd-*)
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18810N/A+ need_version=yes
18810N/A+ ;;
18810N/A+ esac
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ case $host_os in
18810N/A+ freebsd2*)
18810N/A+ shlibpath_overrides_runpath=yes
18810N/A+ ;;
18810N/A+ freebsd3.[[01]]* | freebsdelf3.[[01]]*)
18810N/A+ shlibpath_overrides_runpath=yes
18810N/A+ hardcode_into_libs=yes
18810N/A+ ;;
18810N/A+ freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
18810N/A+ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
18810N/A+ shlibpath_overrides_runpath=no
18810N/A+ hardcode_into_libs=yes
18810N/A+ ;;
18810N/A+ *) # from 4.6 on, and DragonFly
18810N/A+ shlibpath_overrides_runpath=yes
18810N/A+ hardcode_into_libs=yes
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+gnu*)
18810N/A+ version_type=linux
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ hardcode_into_libs=yes
18810N/A+ ;;
18810N/A+
18810N/A+hpux9* | hpux10* | hpux11*)
18810N/A+ # Give a soname corresponding to the major version so that dld.sl refuses to
18810N/A+ # link against other versions.
18810N/A+ version_type=sunos
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ case $host_cpu in
18810N/A+ ia64*)
18810N/A+ shrext_cmds='.so'
18810N/A+ hardcode_into_libs=yes
18810N/A+ dynamic_linker="$host_os dld.so"
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ if test "X$HPUX_IA64_MODE" = X32; then
18810N/A+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18810N/A+ else
18810N/A+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18810N/A+ fi
18810N/A+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18810N/A+ ;;
18810N/A+ hppa*64*)
18810N/A+ shrext_cmds='.sl'
18810N/A+ hardcode_into_libs=yes
18810N/A+ dynamic_linker="$host_os dld.sl"
18810N/A+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18810N/A+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18810N/A+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18810N/A+ ;;
18810N/A+ *)
18810N/A+ shrext_cmds='.sl'
18810N/A+ dynamic_linker="$host_os dld.sl"
18810N/A+ shlibpath_var=SHLIB_PATH
18810N/A+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
18810N/A+ postinstall_cmds='chmod 555 $lib'
18810N/A+ ;;
18810N/A+
18810N/A+interix[[3-9]]*)
18810N/A+ version_type=linux
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ shlibpath_overrides_runpath=no
18810N/A+ hardcode_into_libs=yes
18810N/A+ ;;
18810N/A+
18810N/A+irix5* | irix6* | nonstopux*)
18810N/A+ case $host_os in
18810N/A+ nonstopux*) version_type=nonstopux ;;
18810N/A+ *)
18810N/A+ if test "$lt_cv_prog_gnu_ld" = yes; then
18810N/A+ version_type=linux
18810N/A+ else
18810N/A+ version_type=irix
18810N/A+ fi ;;
18810N/A+ esac
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18810N/A+ case $host_os in
18810N/A+ irix5* | nonstopux*)
18810N/A+ libsuff= shlibsuff=
18810N/A+ ;;
18810N/A+ *)
18810N/A+ case $LD in # libtool.m4 will add one of these switches to LD
18810N/A+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18810N/A+ libsuff= shlibsuff= libmagic=32-bit;;
18810N/A+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18810N/A+ libsuff=32 shlibsuff=N32 libmagic=N32;;
18810N/A+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18810N/A+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
18810N/A+ *) libsuff= shlibsuff= libmagic=never-match;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ esac
18810N/A+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18810N/A+ shlibpath_overrides_runpath=no
18810N/A+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18810N/A+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18810N/A+ hardcode_into_libs=yes
18810N/A+ ;;
18810N/A+
18810N/A+# No shared lib support for Linux oldld, aout, or coff.
18810N/A+linux*oldld* | linux*aout* | linux*coff*)
18810N/A+ dynamic_linker=no
18810N/A+ ;;
18810N/A+
18810N/A+# This must be Linux ELF.
18810N/A+linux* | k*bsd*-gnu)
18810N/A+ version_type=linux
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ shlibpath_overrides_runpath=no
18810N/A+ # Some binutils ld are patched to set DT_RUNPATH
18810N/A+ save_LDFLAGS=$LDFLAGS
18810N/A+ save_libdir=$libdir
18810N/A+ eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
18810N/A+ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
18810N/A+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
18810N/A+ [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
18810N/A+ [shlibpath_overrides_runpath=yes])])
18810N/A+ LDFLAGS=$save_LDFLAGS
18810N/A+ libdir=$save_libdir
18810N/A+
18810N/A+ # This implies no fast_install, which is unacceptable.
18810N/A+ # Some rework will be needed to allow for fast_install
18810N/A+ # before this can be enabled.
18810N/A+ hardcode_into_libs=yes
18810N/A+
18810N/A+ # Add ABI-specific directories to the system library path.
18810N/A+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
18810N/A+
18810N/A+ # Append ld.so.conf contents to the search path
18810N/A+ if test -f /etc/ld.so.conf; then
18810N/A+ 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' ' '`
18810N/A+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18810N/A+ fi
18810N/A+
18810N/A+ # We used to test for /lib/ld.so.1 and disable shared libraries on
18810N/A+ # powerpc, because MkLinux only supported shared libraries with the
18810N/A+ # GNU dynamic linker. Since this was broken with cross compilers,
18810N/A+ # most powerpc-linux boxes support dynamic linking these days and
18810N/A+ # people can always --disable-shared, the test was removed, and we
18810N/A+ # assume the GNU/Linux dynamic linker is in use.
18810N/A+ dynamic_linker='GNU/Linux ld.so'
18810N/A+ ;;
18810N/A+
18810N/A+netbsd*)
18810N/A+ version_type=sunos
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18810N/A+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18810N/A+ dynamic_linker='NetBSD (a.out) ld.so'
18810N/A+ else
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ dynamic_linker='NetBSD ld.elf_so'
18810N/A+ fi
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ shlibpath_overrides_runpath=yes
18810N/A+ hardcode_into_libs=yes
18810N/A+ ;;
18810N/A+
18810N/A+newsos6)
18810N/A+ version_type=linux
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ shlibpath_overrides_runpath=yes
18810N/A+ ;;
18810N/A+
18810N/A+*nto* | *qnx*)
18810N/A+ version_type=qnx
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ shlibpath_overrides_runpath=no
18810N/A+ hardcode_into_libs=yes
18810N/A+ dynamic_linker='ldqnx.so'
18810N/A+ ;;
18810N/A+
18810N/A+openbsd*)
18810N/A+ version_type=sunos
18810N/A+ sys_lib_dlsearch_path_spec="/usr/lib"
18810N/A+ need_lib_prefix=no
18810N/A+ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18810N/A+ case $host_os in
18810N/A+ openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18810N/A+ *) need_version=no ;;
18810N/A+ esac
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18810N/A+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18810N/A+ case $host_os in
18810N/A+ openbsd2.[[89]] | openbsd2.[[89]].*)
18810N/A+ shlibpath_overrides_runpath=no
18810N/A+ ;;
18810N/A+ *)
18810N/A+ shlibpath_overrides_runpath=yes
18810N/A+ ;;
18810N/A+ esac
18810N/A+ else
18810N/A+ shlibpath_overrides_runpath=yes
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+os2*)
18810N/A+ libname_spec='$name'
18810N/A+ shrext_cmds=".dll"
18810N/A+ need_lib_prefix=no
18810N/A+ library_names_spec='$libname${shared_ext} $libname.a'
18810N/A+ dynamic_linker='OS/2 ld.exe'
18810N/A+ shlibpath_var=LIBPATH
18810N/A+ ;;
18810N/A+
18810N/A+osf3* | osf4* | osf5*)
18810N/A+ version_type=osf
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18810N/A+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18810N/A+ ;;
18810N/A+
18810N/A+rdos*)
18810N/A+ dynamic_linker=no
18810N/A+ ;;
18810N/A+
18810N/A+solaris*)
18810N/A+ version_type=linux
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ shlibpath_overrides_runpath=yes
18810N/A+ hardcode_into_libs=yes
18810N/A+ # ldd complains unless libraries are executable
18810N/A+ postinstall_cmds='chmod +x $lib'
18810N/A+ ;;
18810N/A+
18810N/A+sunos4*)
18810N/A+ version_type=sunos
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18810N/A+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ shlibpath_overrides_runpath=yes
18810N/A+ if test "$with_gnu_ld" = yes; then
18810N/A+ need_lib_prefix=no
18810N/A+ fi
18810N/A+ need_version=yes
18810N/A+ ;;
18810N/A+
18810N/A+sysv4 | sysv4.3*)
18810N/A+ version_type=linux
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ case $host_vendor in
18810N/A+ sni)
18810N/A+ shlibpath_overrides_runpath=no
18810N/A+ need_lib_prefix=no
18810N/A+ runpath_var=LD_RUN_PATH
18810N/A+ ;;
18810N/A+ siemens)
18810N/A+ need_lib_prefix=no
18810N/A+ ;;
18810N/A+ motorola)
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ shlibpath_overrides_runpath=no
18810N/A+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+sysv4*MP*)
18810N/A+ if test -d /usr/nec ;then
18810N/A+ version_type=linux
18810N/A+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18810N/A+ soname_spec='$libname${shared_ext}.$major'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18810N/A+ version_type=freebsd-elf
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ shlibpath_overrides_runpath=yes
18810N/A+ hardcode_into_libs=yes
18810N/A+ if test "$with_gnu_ld" = yes; then
18810N/A+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18810N/A+ else
18810N/A+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18810N/A+ case $host_os in
18810N/A+ sco3.2v5*)
18810N/A+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ sys_lib_dlsearch_path_spec='/usr/lib'
18810N/A+ ;;
18810N/A+
18810N/A+tpf*)
18810N/A+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18810N/A+ version_type=linux
18810N/A+ need_lib_prefix=no
18810N/A+ need_version=no
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ shlibpath_overrides_runpath=no
18810N/A+ hardcode_into_libs=yes
18810N/A+ ;;
18810N/A+
18810N/A+uts4*)
18810N/A+ version_type=linux
18810N/A+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18810N/A+ soname_spec='${libname}${release}${shared_ext}$major'
18810N/A+ shlibpath_var=LD_LIBRARY_PATH
18810N/A+ ;;
18810N/A+
18810N/A+*)
18810N/A+ dynamic_linker=no
18810N/A+ ;;
18810N/A+esac
18810N/A+AC_MSG_RESULT([$dynamic_linker])
18810N/A+test "$dynamic_linker" = no && can_build_shared=no
18810N/A+
18810N/A+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18810N/A+if test "$GCC" = yes; then
18810N/A+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18810N/A+fi
18810N/A+
18810N/A+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18810N/A+ sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18810N/A+fi
18810N/A+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18810N/A+ sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18810N/A+fi
18810N/A+
18810N/A+_LT_DECL([], [variables_saved_for_relink], [1],
18810N/A+ [Variables whose values should be saved in libtool wrapper scripts and
18810N/A+ restored at link time])
18810N/A+_LT_DECL([], [need_lib_prefix], [0],
18810N/A+ [Do we need the "lib" prefix for modules?])
18810N/A+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
18810N/A+_LT_DECL([], [version_type], [0], [Library versioning type])
18810N/A+_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
18810N/A+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
18810N/A+_LT_DECL([], [shlibpath_overrides_runpath], [0],
18810N/A+ [Is shlibpath searched before the hard-coded library search path?])
18810N/A+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
18810N/A+_LT_DECL([], [library_names_spec], [1],
18810N/A+ [[List of archive names. First name is the real one, the rest are links.
18810N/A+ The last name is the one that the linker finds with -lNAME]])
18810N/A+_LT_DECL([], [soname_spec], [1],
18810N/A+ [[The coded name of the library, if different from the real name]])
18810N/A+_LT_DECL([], [postinstall_cmds], [2],
18810N/A+ [Command to use after installation of a shared archive])
18810N/A+_LT_DECL([], [postuninstall_cmds], [2],
18810N/A+ [Command to use after uninstallation of a shared archive])
18810N/A+_LT_DECL([], [finish_cmds], [2],
18810N/A+ [Commands used to finish a libtool library installation in a directory])
18810N/A+_LT_DECL([], [finish_eval], [1],
18810N/A+ [[As "finish_cmds", except a single script fragment to be evaled but
18810N/A+ not shown]])
18810N/A+_LT_DECL([], [hardcode_into_libs], [0],
18810N/A+ [Whether we should hardcode library paths into libraries])
18810N/A+_LT_DECL([], [sys_lib_search_path_spec], [2],
18810N/A+ [Compile-time system search path for libraries])
18810N/A+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
18810N/A+ [Run-time system search path for libraries])
18810N/A+])# _LT_SYS_DYNAMIC_LINKER
18810N/A+
18810N/A+
18810N/A+# _LT_PATH_TOOL_PREFIX(TOOL)
18810N/A+# --------------------------
18810N/A+# find a file program which can recognize shared library
18810N/A+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
18810N/A+[m4_require([_LT_DECL_EGREP])dnl
18810N/A+AC_MSG_CHECKING([for $1])
18810N/A+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
18810N/A+[case $MAGIC_CMD in
18810N/A+[[\\/*] | ?:[\\/]*])
18810N/A+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
18810N/A+ ;;
18810N/A+*)
18810N/A+ lt_save_MAGIC_CMD="$MAGIC_CMD"
18810N/A+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18810N/A+dnl $ac_dummy forces splitting on constant user-supplied paths.
18810N/A+dnl POSIX.2 word splitting is done only on the output of word expansions,
18810N/A+dnl not every word. This closes a longstanding sh security hole.
18810N/A+ ac_dummy="m4_if([$2], , $PATH, [$2])"
18810N/A+ for ac_dir in $ac_dummy; do
18810N/A+ IFS="$lt_save_ifs"
18810N/A+ test -z "$ac_dir" && ac_dir=.
18810N/A+ if test -f $ac_dir/$1; then
18810N/A+ lt_cv_path_MAGIC_CMD="$ac_dir/$1"
18810N/A+ if test -n "$file_magic_test_file"; then
18810N/A+ case $deplibs_check_method in
18810N/A+ "file_magic "*)
18810N/A+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
18810N/A+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
18810N/A+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
18810N/A+ $EGREP "$file_magic_regex" > /dev/null; then
18810N/A+ :
18810N/A+ else
18810N/A+ cat <<_LT_EOF 1>&2
18810N/A+
18810N/A+*** Warning: the command libtool uses to detect shared libraries,
18810N/A+*** $file_magic_cmd, produces output that libtool cannot recognize.
18810N/A+*** The result is that libtool may fail to recognize shared libraries
18810N/A+*** as such. This will affect the creation of libtool libraries that
18810N/A+*** depend on shared libraries, but programs linked with such libtool
18810N/A+*** libraries will work regardless of this problem. Nevertheless, you
18810N/A+*** may want to report the problem to your system manager and/or to
18810N/A+*** bug-libtool@gnu.org
18810N/A+
18810N/A+_LT_EOF
18810N/A+ fi ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ break
18810N/A+ fi
18810N/A+ done
18810N/A+ IFS="$lt_save_ifs"
18810N/A+ MAGIC_CMD="$lt_save_MAGIC_CMD"
18810N/A+ ;;
18810N/A+esac])
18810N/A+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
18810N/A+if test -n "$MAGIC_CMD"; then
18810N/A+ AC_MSG_RESULT($MAGIC_CMD)
18810N/A+else
18810N/A+ AC_MSG_RESULT(no)
18810N/A+fi
18810N/A+_LT_DECL([], [MAGIC_CMD], [0],
18810N/A+ [Used to examine libraries when file_magic_cmd begins with "file"])dnl
18810N/A+])# _LT_PATH_TOOL_PREFIX
18810N/A+
18810N/A+# Old name:
18810N/A+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
18810N/A+
18810N/A+
18810N/A+# _LT_PATH_MAGIC
18810N/A+# --------------
18810N/A+# find a file program which can recognize a shared library
18810N/A+m4_defun([_LT_PATH_MAGIC],
18810N/A+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
18810N/A+if test -z "$lt_cv_path_MAGIC_CMD"; then
18810N/A+ if test -n "$ac_tool_prefix"; then
18810N/A+ _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
18810N/A+ else
18810N/A+ MAGIC_CMD=:
18810N/A+ fi
18810N/A+fi
18810N/A+])# _LT_PATH_MAGIC
18810N/A+
18810N/A+
18810N/A+# LT_PATH_LD
18810N/A+# ----------
18810N/A+# find the pathname to the GNU or non-GNU linker
18810N/A+AC_DEFUN([LT_PATH_LD],
18810N/A+[AC_REQUIRE([AC_PROG_CC])dnl
18810N/A+AC_REQUIRE([AC_CANONICAL_HOST])dnl
18810N/A+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
18810N/A+m4_require([_LT_DECL_SED])dnl
18810N/A+m4_require([_LT_DECL_EGREP])dnl
18810N/A+
18810N/A+AC_ARG_WITH([gnu-ld],
18810N/A+ [AS_HELP_STRING([--with-gnu-ld],
18810N/A+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
18810N/A+ [test "$withval" = no || with_gnu_ld=yes],
18810N/A+ [with_gnu_ld=no])dnl
18810N/A+
18810N/A+ac_prog=ld
18810N/A+if test "$GCC" = yes; then
18810N/A+ # Check if gcc -print-prog-name=ld gives a path.
18810N/A+ AC_MSG_CHECKING([for ld used by $CC])
18810N/A+ case $host in
18810N/A+ *-*-mingw*)
18810N/A+ # gcc leaves a trailing carriage return which upsets mingw
18810N/A+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18810N/A+ *)
18810N/A+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18810N/A+ esac
18810N/A+ case $ac_prog in
18810N/A+ # Accept absolute paths.
18810N/A+ [[\\/]]* | ?:[[\\/]]*)
18810N/A+ re_direlt='/[[^/]][[^/]]*/\.\./'
18810N/A+ # Canonicalize the pathname of ld
18810N/A+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18810N/A+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18810N/A+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18810N/A+ done
18810N/A+ test -z "$LD" && LD="$ac_prog"
18810N/A+ ;;
18810N/A+ "")
18810N/A+ # If it fails, then pretend we aren't using GCC.
18810N/A+ ac_prog=ld
18810N/A+ ;;
18810N/A+ *)
18810N/A+ # If it is relative, then search for the first ld in PATH.
18810N/A+ with_gnu_ld=unknown
18810N/A+ ;;
18810N/A+ esac
18810N/A+elif test "$with_gnu_ld" = yes; then
18810N/A+ AC_MSG_CHECKING([for GNU ld])
18810N/A+else
18810N/A+ AC_MSG_CHECKING([for non-GNU ld])
18810N/A+fi
18810N/A+AC_CACHE_VAL(lt_cv_path_LD,
18810N/A+[if test -z "$LD"; then
18810N/A+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18810N/A+ for ac_dir in $PATH; do
18810N/A+ IFS="$lt_save_ifs"
18810N/A+ test -z "$ac_dir" && ac_dir=.
18810N/A+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18810N/A+ lt_cv_path_LD="$ac_dir/$ac_prog"
18810N/A+ # Check to see if the program is GNU ld. I'd rather use --version,
18810N/A+ # but apparently some variants of GNU ld only accept -v.
18810N/A+ # Break only if it was the GNU/non-GNU ld that we prefer.
18810N/A+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18810N/A+ *GNU* | *'with BFD'*)
18810N/A+ test "$with_gnu_ld" != no && break
18810N/A+ ;;
18810N/A+ *)
18810N/A+ test "$with_gnu_ld" != yes && break
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ done
18810N/A+ IFS="$lt_save_ifs"
18810N/A+else
18810N/A+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
18810N/A+fi])
18810N/A+LD="$lt_cv_path_LD"
18810N/A+if test -n "$LD"; then
18810N/A+ AC_MSG_RESULT($LD)
18810N/A+else
18810N/A+ AC_MSG_RESULT(no)
18810N/A+fi
18810N/A+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
18810N/A+_LT_PATH_LD_GNU
18810N/A+AC_SUBST([LD])
18810N/A+
18810N/A+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
18810N/A+])# LT_PATH_LD
18810N/A+
18810N/A+# Old names:
18810N/A+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
18810N/A+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AM_PROG_LD], [])
18810N/A+dnl AC_DEFUN([AC_PROG_LD], [])
18810N/A+
18810N/A+
18810N/A+# _LT_PATH_LD_GNU
18810N/A+#- --------------
18810N/A+m4_defun([_LT_PATH_LD_GNU],
18810N/A+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
18810N/A+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
18810N/A+case `$LD -v 2>&1 </dev/null` in
18810N/A+*GNU* | *'with BFD'*)
18810N/A+ lt_cv_prog_gnu_ld=yes
18810N/A+ ;;
18810N/A+*)
18810N/A+ lt_cv_prog_gnu_ld=no
18810N/A+ ;;
18810N/A+esac])
18810N/A+with_gnu_ld=$lt_cv_prog_gnu_ld
18810N/A+])# _LT_PATH_LD_GNU
18810N/A+
18810N/A+
18810N/A+# _LT_CMD_RELOAD
18810N/A+# --------------
18810N/A+# find reload flag for linker
18810N/A+# -- PORTME Some linkers may need a different reload flag.
18810N/A+m4_defun([_LT_CMD_RELOAD],
18810N/A+[AC_CACHE_CHECK([for $LD option to reload object files],
18810N/A+ lt_cv_ld_reload_flag,
18810N/A+ [lt_cv_ld_reload_flag='-r'])
18810N/A+reload_flag=$lt_cv_ld_reload_flag
18810N/A+case $reload_flag in
18810N/A+"" | " "*) ;;
18810N/A+*) reload_flag=" $reload_flag" ;;
18810N/A+esac
18810N/A+reload_cmds='$LD$reload_flag -o $output$reload_objs'
18810N/A+case $host_os in
18810N/A+ darwin*)
18810N/A+ if test "$GCC" = yes; then
18810N/A+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
18810N/A+ else
18810N/A+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
18810N/A+ fi
18810N/A+ ;;
18810N/A+esac
18810N/A+_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
18810N/A+_LT_DECL([], [reload_cmds], [2])dnl
18810N/A+])# _LT_CMD_RELOAD
18810N/A+
18810N/A+
18810N/A+# _LT_CHECK_MAGIC_METHOD
18810N/A+# ----------------------
18810N/A+# how to check for library dependencies
18810N/A+# -- PORTME fill in with the dynamic library characteristics
18810N/A+m4_defun([_LT_CHECK_MAGIC_METHOD],
18810N/A+[m4_require([_LT_DECL_EGREP])
18810N/A+m4_require([_LT_DECL_OBJDUMP])
18810N/A+AC_CACHE_CHECK([how to recognize dependent libraries],
18810N/A+lt_cv_deplibs_check_method,
18810N/A+[lt_cv_file_magic_cmd='$MAGIC_CMD'
18810N/A+lt_cv_file_magic_test_file=
18810N/A+lt_cv_deplibs_check_method='unknown'
18810N/A+# Need to set the preceding variable on all platforms that support
18810N/A+# interlibrary dependencies.
18810N/A+# 'none' -- dependencies not supported.
18810N/A+# `unknown' -- same as none, but documents that we really don't know.
18810N/A+# 'pass_all' -- all dependencies passed with no checks.
18810N/A+# 'test_compile' -- check by making test program.
18810N/A+# 'file_magic [[regex]]' -- check by looking for files in library path
18810N/A+# which responds to the $file_magic_cmd with a given extended regex.
18810N/A+# If you have `file' or equivalent on your system and you're not sure
18810N/A+# whether `pass_all' will *always* work, you probably want this one.
18810N/A+
18810N/A+case $host_os in
18810N/A+aix[[4-9]]*)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+
18810N/A+beos*)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+
18810N/A+bsdi[[45]]*)
18810N/A+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
18810N/A+ lt_cv_file_magic_cmd='/usr/bin/file -L'
18810N/A+ lt_cv_file_magic_test_file=/shlib/libc.so
18810N/A+ ;;
18810N/A+
18810N/A+cygwin*)
18810N/A+ # func_win32_libid is a shell function defined in ltmain.sh
18810N/A+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
18810N/A+ lt_cv_file_magic_cmd='func_win32_libid'
18810N/A+ ;;
18810N/A+
18810N/A+mingw* | pw32*)
18810N/A+ # Base MSYS/MinGW do not provide the 'file' command needed by
18810N/A+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
18810N/A+ # unless we find 'file', for example because we are cross-compiling.
18810N/A+ if ( file / ) >/dev/null 2>&1; then
18810N/A+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
18810N/A+ lt_cv_file_magic_cmd='func_win32_libid'
18810N/A+ else
18810N/A+ lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
18810N/A+ lt_cv_file_magic_cmd='$OBJDUMP -f'
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+cegcc)
18810N/A+ # use the weaker test based on 'objdump'. See mingw*.
18810N/A+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
18810N/A+ lt_cv_file_magic_cmd='$OBJDUMP -f'
18810N/A+ ;;
18810N/A+
18810N/A+darwin* | rhapsody*)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+
18810N/A+freebsd* | dragonfly*)
18810N/A+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
18810N/A+ case $host_cpu in
18810N/A+ i*86 )
18810N/A+ # Not sure whether the presence of OpenBSD here was a mistake.
18810N/A+ # Let's accept both of them until this is cleared up.
18810N/A+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
18810N/A+ lt_cv_file_magic_cmd=/usr/bin/file
18810N/A+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
18810N/A+ ;;
18810N/A+ esac
18810N/A+ else
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+gnu*)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+
18810N/A+hpux10.20* | hpux11*)
18810N/A+ lt_cv_file_magic_cmd=/usr/bin/file
18810N/A+ case $host_cpu in
18810N/A+ ia64*)
18810N/A+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
18810N/A+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
18810N/A+ ;;
18810N/A+ hppa*64*)
18810N/A+ [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
18810N/A+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
18810N/A+ ;;
18810N/A+ *)
18810N/A+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
18810N/A+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+interix[[3-9]]*)
18810N/A+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
18810N/A+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
18810N/A+ ;;
18810N/A+
18810N/A+irix5* | irix6* | nonstopux*)
18810N/A+ case $LD in
18810N/A+ *-32|*"-32 ") libmagic=32-bit;;
18810N/A+ *-n32|*"-n32 ") libmagic=N32;;
18810N/A+ *-64|*"-64 ") libmagic=64-bit;;
18810N/A+ *) libmagic=never-match;;
18810N/A+ esac
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+
18810N/A+# This must be Linux ELF.
18810N/A+linux* | k*bsd*-gnu)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+
18810N/A+netbsd*)
18810N/A+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
18810N/A+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
18810N/A+ else
18810N/A+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+newos6*)
18810N/A+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
18810N/A+ lt_cv_file_magic_cmd=/usr/bin/file
18810N/A+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
18810N/A+ ;;
18810N/A+
18810N/A+*nto* | *qnx*)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+
18810N/A+openbsd*)
18810N/A+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18810N/A+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
18810N/A+ else
18810N/A+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+osf3* | osf4* | osf5*)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+
18810N/A+rdos*)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+
18810N/A+solaris*)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+
18810N/A+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+
18810N/A+sysv4 | sysv4.3*)
18810N/A+ case $host_vendor in
18810N/A+ motorola)
18810N/A+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
18810N/A+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
18810N/A+ ;;
18810N/A+ ncr)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+ sequent)
18810N/A+ lt_cv_file_magic_cmd='/bin/file'
18810N/A+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
18810N/A+ ;;
18810N/A+ sni)
18810N/A+ lt_cv_file_magic_cmd='/bin/file'
18810N/A+ lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
18810N/A+ lt_cv_file_magic_test_file=/lib/libc.so
18810N/A+ ;;
18810N/A+ siemens)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+ pc)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+tpf*)
18810N/A+ lt_cv_deplibs_check_method=pass_all
18810N/A+ ;;
18810N/A+esac
18810N/A+])
18810N/A+file_magic_cmd=$lt_cv_file_magic_cmd
18810N/A+deplibs_check_method=$lt_cv_deplibs_check_method
18810N/A+test -z "$deplibs_check_method" && deplibs_check_method=unknown
18810N/A+
18810N/A+_LT_DECL([], [deplibs_check_method], [1],
18810N/A+ [Method to check whether dependent libraries are shared objects])
18810N/A+_LT_DECL([], [file_magic_cmd], [1],
18810N/A+ [Command to use when deplibs_check_method == "file_magic"])
18810N/A+])# _LT_CHECK_MAGIC_METHOD
18810N/A+
18810N/A+
18810N/A+# LT_PATH_NM
18810N/A+# ----------
18810N/A+# find the pathname to a BSD- or MS-compatible name lister
18810N/A+AC_DEFUN([LT_PATH_NM],
18810N/A+[AC_REQUIRE([AC_PROG_CC])dnl
18810N/A+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
18810N/A+[if test -n "$NM"; then
18810N/A+ # Let the user override the test.
18810N/A+ lt_cv_path_NM="$NM"
18810N/A+else
18810N/A+ lt_nm_to_check="${ac_tool_prefix}nm"
18810N/A+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
18810N/A+ lt_nm_to_check="$lt_nm_to_check nm"
18810N/A+ fi
18810N/A+ for lt_tmp_nm in $lt_nm_to_check; do
18810N/A+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18810N/A+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
18810N/A+ IFS="$lt_save_ifs"
18810N/A+ test -z "$ac_dir" && ac_dir=.
18810N/A+ tmp_nm="$ac_dir/$lt_tmp_nm"
18810N/A+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
18810N/A+ # Check to see if the nm accepts a BSD-compat flag.
18810N/A+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
18810N/A+ # nm: unknown option "B" ignored
18810N/A+ # Tru64's nm complains that /dev/null is an invalid object file
18810N/A+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
18810N/A+ */dev/null* | *'Invalid file or object type'*)
18810N/A+ lt_cv_path_NM="$tmp_nm -B"
18810N/A+ break
18810N/A+ ;;
18810N/A+ *)
18810N/A+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
18810N/A+ */dev/null*)
18810N/A+ lt_cv_path_NM="$tmp_nm -p"
18810N/A+ break
18810N/A+ ;;
18810N/A+ *)
18810N/A+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
18810N/A+ continue # so that we can try to find one that supports BSD flags
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ done
18810N/A+ IFS="$lt_save_ifs"
18810N/A+ done
18810N/A+ : ${lt_cv_path_NM=no}
18810N/A+fi])
18810N/A+if test "$lt_cv_path_NM" != "no"; then
18810N/A+ NM="$lt_cv_path_NM"
18810N/A+else
18810N/A+ # Didn't find any BSD compatible name lister, look for dumpbin.
18810N/A+ AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
18810N/A+ AC_SUBST([DUMPBIN])
18810N/A+ if test "$DUMPBIN" != ":"; then
18810N/A+ NM="$DUMPBIN"
18810N/A+ fi
18810N/A+fi
18810N/A+test -z "$NM" && NM=nm
18810N/A+AC_SUBST([NM])
18810N/A+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
18810N/A+
18810N/A+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
18810N/A+ [lt_cv_nm_interface="BSD nm"
18810N/A+ echo "int some_variable = 0;" > conftest.$ac_ext
18810N/A+ (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
18810N/A+ (eval "$ac_compile" 2>conftest.err)
18810N/A+ cat conftest.err >&AS_MESSAGE_LOG_FD
18810N/A+ (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
18810N/A+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
18810N/A+ cat conftest.err >&AS_MESSAGE_LOG_FD
18810N/A+ (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
18810N/A+ cat conftest.out >&AS_MESSAGE_LOG_FD
18810N/A+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
18810N/A+ lt_cv_nm_interface="MS dumpbin"
18810N/A+ fi
18810N/A+ rm -f conftest*])
18810N/A+])# LT_PATH_NM
18810N/A+
18810N/A+# Old names:
18810N/A+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
18810N/A+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AM_PROG_NM], [])
18810N/A+dnl AC_DEFUN([AC_PROG_NM], [])
18810N/A+
18810N/A+
18810N/A+# LT_LIB_M
18810N/A+# --------
18810N/A+# check for math library
18810N/A+AC_DEFUN([LT_LIB_M],
18810N/A+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
18810N/A+LIBM=
18810N/A+case $host in
18810N/A+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
18810N/A+ # These system don't have libm, or don't need it
18810N/A+ ;;
18810N/A+*-ncr-sysv4.3*)
18810N/A+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
18810N/A+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
18810N/A+ ;;
18810N/A+*)
18810N/A+ AC_CHECK_LIB(m, cos, LIBM="-lm")
18810N/A+ ;;
18810N/A+esac
18810N/A+AC_SUBST([LIBM])
18810N/A+])# LT_LIB_M
18810N/A+
18810N/A+# Old name:
18810N/A+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AC_CHECK_LIBM], [])
18810N/A+
18810N/A+
18810N/A+# _LT_COMPILER_NO_RTTI([TAGNAME])
18810N/A+# -------------------------------
18810N/A+m4_defun([_LT_COMPILER_NO_RTTI],
18810N/A+[m4_require([_LT_TAG_COMPILER])dnl
18810N/A+
18810N/A+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
18810N/A+
18810N/A+if test "$GCC" = yes; then
18810N/A+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
18810N/A+
18810N/A+ _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
18810N/A+ lt_cv_prog_compiler_rtti_exceptions,
18810N/A+ [-fno-rtti -fno-exceptions], [],
18810N/A+ [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
18810N/A+fi
18810N/A+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
18810N/A+ [Compiler flag to turn off builtin functions])
18810N/A+])# _LT_COMPILER_NO_RTTI
18810N/A+
18810N/A+
18810N/A+# _LT_CMD_GLOBAL_SYMBOLS
18810N/A+# ----------------------
18810N/A+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
18810N/A+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
18810N/A+AC_REQUIRE([AC_PROG_CC])dnl
18810N/A+AC_REQUIRE([LT_PATH_NM])dnl
18810N/A+AC_REQUIRE([LT_PATH_LD])dnl
18810N/A+m4_require([_LT_DECL_SED])dnl
18810N/A+m4_require([_LT_DECL_EGREP])dnl
18810N/A+m4_require([_LT_TAG_COMPILER])dnl
18810N/A+
18810N/A+# Check for command to grab the raw symbol name followed by C symbol from nm.
18810N/A+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
18810N/A+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
18810N/A+[
18810N/A+# These are sane defaults that work on at least a few old systems.
18810N/A+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
18810N/A+
18810N/A+# Character class describing NM global symbol codes.
18810N/A+symcode='[[BCDEGRST]]'
18810N/A+
18810N/A+# Regexp to match symbols that can be accessed directly from C.
18810N/A+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
18810N/A+
18810N/A+# Define system-specific variables.
18810N/A+case $host_os in
18810N/A+aix*)
18810N/A+ symcode='[[BCDT]]'
18810N/A+ ;;
18810N/A+cygwin* | mingw* | pw32* | cegcc*)
18810N/A+ symcode='[[ABCDGISTW]]'
18810N/A+ ;;
18810N/A+hpux*)
18810N/A+ if test "$host_cpu" = ia64; then
18810N/A+ symcode='[[ABCDEGRST]]'
18810N/A+ fi
18810N/A+ ;;
18810N/A+irix* | nonstopux*)
18810N/A+ symcode='[[BCDEGRST]]'
18810N/A+ ;;
18810N/A+osf*)
18810N/A+ symcode='[[BCDEGQRST]]'
18810N/A+ ;;
18810N/A+solaris*)
18810N/A+ symcode='[[BDRT]]'
18810N/A+ ;;
18810N/A+sco3.2v5*)
18810N/A+ symcode='[[DT]]'
18810N/A+ ;;
18810N/A+sysv4.2uw2*)
18810N/A+ symcode='[[DT]]'
18810N/A+ ;;
18810N/A+sysv5* | sco5v6* | unixware* | OpenUNIX*)
18810N/A+ symcode='[[ABDT]]'
18810N/A+ ;;
18810N/A+sysv4)
18810N/A+ symcode='[[DFNSTU]]'
18810N/A+ ;;
18810N/A+esac
18810N/A+
18810N/A+# If we're using GNU nm, then use its standard symbol codes.
18810N/A+case `$NM -V 2>&1` in
18810N/A+*GNU* | *'with BFD'*)
18810N/A+ symcode='[[ABCDGIRSTW]]' ;;
18810N/A+esac
18810N/A+
18810N/A+# Transform an extracted symbol line into a proper C declaration.
18810N/A+# Some systems (esp. on ia64) link data and code symbols differently,
18810N/A+# so use this general approach.
18810N/A+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
18810N/A+
18810N/A+# Transform an extracted symbol line into symbol name and symbol address
18810N/A+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
18810N/A+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'"
18810N/A+
18810N/A+# Handle CRLF in mingw tool chain
18810N/A+opt_cr=
18810N/A+case $build_os in
18810N/A+mingw*)
18810N/A+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
18810N/A+ ;;
18810N/A+esac
18810N/A+
18810N/A+# Try without a prefix underscore, then with it.
18810N/A+for ac_symprfx in "" "_"; do
18810N/A+
18810N/A+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
18810N/A+ symxfrm="\\1 $ac_symprfx\\2 \\2"
18810N/A+
18810N/A+ # Write the raw and C identifiers.
18810N/A+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
18810N/A+ # Fake it for dumpbin and say T for any non-static function
18810N/A+ # and D for any global variable.
18810N/A+ # Also find C++ and __fastcall symbols from MSVC++,
18810N/A+ # which start with @ or ?.
18810N/A+ lt_cv_sys_global_symbol_pipe="$AWK ['"\
18810N/A+" {last_section=section; section=\$ 3};"\
18810N/A+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
18810N/A+" \$ 0!~/External *\|/{next};"\
18810N/A+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
18810N/A+" {if(hide[section]) next};"\
18810N/A+" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
18810N/A+" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
18810N/A+" s[1]~/^[@?]/{print s[1], s[1]; next};"\
18810N/A+" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
18810N/A+" ' prfx=^$ac_symprfx]"
18810N/A+ else
18810N/A+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
18810N/A+ fi
18810N/A+
18810N/A+ # Check to see that the pipe works correctly.
18810N/A+ pipe_works=no
18810N/A+
18810N/A+ rm -f conftest*
18810N/A+ cat > conftest.$ac_ext <<_LT_EOF
18810N/A+#ifdef __cplusplus
18810N/A+extern "C" {
18810N/A+#endif
18810N/A+char nm_test_var;
18810N/A+void nm_test_func(void);
18810N/A+void nm_test_func(void){}
18810N/A+#ifdef __cplusplus
18810N/A+}
18810N/A+#endif
18810N/A+int main(){nm_test_var='a';nm_test_func();return(0);}
18810N/A+_LT_EOF
18810N/A+
18810N/A+ if AC_TRY_EVAL(ac_compile); then
18810N/A+ # Now try to grab the symbols.
18810N/A+ nlist=conftest.nm
18810N/A+ if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
18810N/A+ # Try sorting and uniquifying the output.
18810N/A+ if sort "$nlist" | uniq > "$nlist"T; then
18810N/A+ mv -f "$nlist"T "$nlist"
18810N/A+ else
18810N/A+ rm -f "$nlist"T
18810N/A+ fi
18810N/A+
18810N/A+ # Make sure that we snagged all the symbols we need.
18810N/A+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
18810N/A+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
18810N/A+ cat <<_LT_EOF > conftest.$ac_ext
18810N/A+#ifdef __cplusplus
18810N/A+extern "C" {
18810N/A+#endif
18810N/A+
18810N/A+_LT_EOF
18810N/A+ # Now generate the symbol file.
18810N/A+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
18810N/A+
18810N/A+ cat <<_LT_EOF >> conftest.$ac_ext
18810N/A+
18810N/A+/* The mapping between symbol names and symbols. */
18810N/A+const struct {
18810N/A+ const char *name;
18810N/A+ void *address;
18810N/A+}
18810N/A+lt__PROGRAM__LTX_preloaded_symbols[[]] =
18810N/A+{
18810N/A+ { "@PROGRAM@", (void *) 0 },
18810N/A+_LT_EOF
18810N/A+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
18810N/A+ cat <<\_LT_EOF >> conftest.$ac_ext
18810N/A+ {0, (void *) 0}
18810N/A+};
18810N/A+
18810N/A+/* This works around a problem in FreeBSD linker */
18810N/A+#ifdef FREEBSD_WORKAROUND
18810N/A+static const void *lt_preloaded_setup() {
18810N/A+ return lt__PROGRAM__LTX_preloaded_symbols;
18810N/A+}
18810N/A+#endif
18810N/A+
18810N/A+#ifdef __cplusplus
18810N/A+}
18810N/A+#endif
18810N/A+_LT_EOF
18810N/A+ # Now try linking the two files.
18810N/A+ mv conftest.$ac_objext conftstm.$ac_objext
18810N/A+ lt_save_LIBS="$LIBS"
18810N/A+ lt_save_CFLAGS="$CFLAGS"
18810N/A+ LIBS="conftstm.$ac_objext"
18810N/A+ CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
18810N/A+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
18810N/A+ pipe_works=yes
18810N/A+ fi
18810N/A+ LIBS="$lt_save_LIBS"
18810N/A+ CFLAGS="$lt_save_CFLAGS"
18810N/A+ else
18810N/A+ echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
18810N/A+ fi
18810N/A+ else
18810N/A+ echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
18810N/A+ fi
18810N/A+ else
18810N/A+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
18810N/A+ fi
18810N/A+ else
18810N/A+ echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
18810N/A+ cat conftest.$ac_ext >&5
18810N/A+ fi
18810N/A+ rm -rf conftest* conftst*
18810N/A+
18810N/A+ # Do not use the global_symbol_pipe unless it works.
18810N/A+ if test "$pipe_works" = yes; then
18810N/A+ break
18810N/A+ else
18810N/A+ lt_cv_sys_global_symbol_pipe=
18810N/A+ fi
18810N/A+done
18810N/A+])
18810N/A+if test -z "$lt_cv_sys_global_symbol_pipe"; then
18810N/A+ lt_cv_sys_global_symbol_to_cdecl=
18810N/A+fi
18810N/A+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
18810N/A+ AC_MSG_RESULT(failed)
18810N/A+else
18810N/A+ AC_MSG_RESULT(ok)
18810N/A+fi
18810N/A+
18810N/A+_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
18810N/A+ [Take the output of nm and produce a listing of raw symbols and C names])
18810N/A+_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
18810N/A+ [Transform the output of nm in a proper C declaration])
18810N/A+_LT_DECL([global_symbol_to_c_name_address],
18810N/A+ [lt_cv_sys_global_symbol_to_c_name_address], [1],
18810N/A+ [Transform the output of nm in a C name address pair])
18810N/A+_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
18810N/A+ [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
18810N/A+ [Transform the output of nm in a C name address pair when lib prefix is needed])
18810N/A+]) # _LT_CMD_GLOBAL_SYMBOLS
18810N/A+
18810N/A+
18810N/A+# _LT_COMPILER_PIC([TAGNAME])
18810N/A+# ---------------------------
18810N/A+m4_defun([_LT_COMPILER_PIC],
18810N/A+[m4_require([_LT_TAG_COMPILER])dnl
18810N/A+_LT_TAGVAR(lt_prog_compiler_wl, $1)=
18810N/A+_LT_TAGVAR(lt_prog_compiler_pic, $1)=
18810N/A+_LT_TAGVAR(lt_prog_compiler_static, $1)=
18810N/A+
18810N/A+AC_MSG_CHECKING([for $compiler option to produce PIC])
18810N/A+m4_if([$1], [CXX], [
18810N/A+ # C++ specific cases for pic, static, wl, etc.
18810N/A+ if test "$GXX" = yes; then
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
18810N/A+
18810N/A+ case $host_os in
18810N/A+ aix*)
18810N/A+ # All AIX code is PIC.
18810N/A+ if test "$host_cpu" = ia64; then
18810N/A+ # AIX 5 now supports IA64 processor
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ amigaos*)
18810N/A+ case $host_cpu in
18810N/A+ powerpc)
18810N/A+ # see comment about AmigaOS4 .so support
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
18810N/A+ ;;
18810N/A+ m68k)
18810N/A+ # FIXME: we need at least 68020 code to build shared libraries, but
18810N/A+ # adding the `-m68020' flag to GCC prevents building anything better,
18810N/A+ # like `-m68040'.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18810N/A+ # PIC is the default for these OSes.
18810N/A+ ;;
18810N/A+ mingw* | cygwin* | os2* | pw32* | cegcc*)
18810N/A+ # This hack is so that the source file can tell whether it is being
18810N/A+ # built for inclusion in a dll (and should export symbols for example).
18810N/A+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
18810N/A+ # (--disable-auto-import) libraries
18810N/A+ m4_if([$1], [GCJ], [],
18810N/A+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
18810N/A+ ;;
18810N/A+ darwin* | rhapsody*)
18810N/A+ # PIC is the default on this platform
18810N/A+ # Common symbols not allowed in MH_DYLIB files
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
18810N/A+ ;;
18810N/A+ *djgpp*)
18810N/A+ # DJGPP does not support shared libraries at all
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
18810N/A+ ;;
18810N/A+ interix[[3-9]]*)
18810N/A+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18810N/A+ # Instead, we relocate shared libraries at runtime.
18810N/A+ ;;
18810N/A+ sysv4*MP*)
18810N/A+ if test -d /usr/nec; then
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
18810N/A+ fi
18810N/A+ ;;
18810N/A+ hpux*)
18810N/A+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18810N/A+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
18810N/A+ # sets the default TLS model and affects inlining.
18810N/A+ case $host_cpu in
18810N/A+ hppa*64*)
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ *qnx* | *nto*)
18810N/A+ # QNX uses GNU C++, but need to define -shared option too, otherwise
18810N/A+ # it will coredump.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ else
18810N/A+ case $host_os in
18810N/A+ aix[[4-9]]*)
18810N/A+ # All AIX code is PIC.
18810N/A+ if test "$host_cpu" = ia64; then
18810N/A+ # AIX 5 now supports IA64 processor
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ else
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
18810N/A+ fi
18810N/A+ ;;
18810N/A+ chorus*)
18810N/A+ case $cc_basename in
18810N/A+ cxch68*)
18810N/A+ # Green Hills C++ Compiler
18810N/A+ # _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"
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ dgux*)
18810N/A+ case $cc_basename in
18810N/A+ ec++*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ ;;
18810N/A+ ghcx*)
18810N/A+ # Green Hills C++ Compiler
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ freebsd* | dragonfly*)
18810N/A+ # FreeBSD uses GNU C++
18810N/A+ ;;
18810N/A+ hpux9* | hpux10* | hpux11*)
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
18810N/A+ if test "$host_cpu" != ia64; then
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
18810N/A+ fi
18810N/A+ ;;
18810N/A+ aCC*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
18810N/A+ case $host_cpu in
18810N/A+ hppa*64*|ia64*)
18810N/A+ # +Z the default
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ *)
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ interix*)
18810N/A+ # This is c89, which is MS Visual C++ (no shared libs)
18810N/A+ # Anyone wants to do a port?
18810N/A+ ;;
18810N/A+ irix5* | irix6* | nonstopux*)
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
18810N/A+ # CC pic flag -KPIC is the default.
18810N/A+ ;;
18810N/A+ *)
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ linux* | k*bsd*-gnu)
18810N/A+ case $cc_basename in
18810N/A+ KCC*)
18810N/A+ # KAI C++ Compiler
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
18810N/A+ ;;
18810N/A+ ecpc* )
18810N/A+ # old Intel C++ for x86_64 which still supported -KPIC.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
18810N/A+ ;;
18810N/A+ icpc* )
18810N/A+ # Intel C++, used to be incompatible with GCC.
18810N/A+ # ICC 10 doesn't accept -KPIC any more.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
18810N/A+ ;;
18810N/A+ pgCC* | pgcpp*)
18810N/A+ # Portland Group C++ compiler
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ ;;
18810N/A+ cxx*)
18810N/A+ # Compaq C++
18810N/A+ # Make sure the PIC flag is empty. It appears that all Alpha
18810N/A+ # Linux and Compaq Tru64 Unix objects are PIC.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
18810N/A+ ;;
18810N/A+ xlc* | xlC*)
18810N/A+ # IBM XL 8.0 on PPC
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ case `$CC -V 2>&1 | sed 5q` in
18810N/A+ *Sun\ C*)
18810N/A+ # Sun C++ 5.9
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ lynxos*)
18810N/A+ ;;
18810N/A+ m88k*)
18810N/A+ ;;
18810N/A+ mvs*)
18810N/A+ case $cc_basename in
18810N/A+ cxx*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ netbsd*)
18810N/A+ ;;
18810N/A+ *qnx* | *nto*)
18810N/A+ # QNX uses GNU C++, but need to define -shared option too, otherwise
18810N/A+ # it will coredump.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
18810N/A+ ;;
18810N/A+ osf3* | osf4* | osf5*)
18810N/A+ case $cc_basename in
18810N/A+ KCC*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
18810N/A+ ;;
18810N/A+ RCC*)
18810N/A+ # Rational C++ 2.4.1
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
18810N/A+ ;;
18810N/A+ cxx*)
18810N/A+ # Digital/Compaq C++
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ # Make sure the PIC flag is empty. It appears that all Alpha
18810N/A+ # Linux and Compaq Tru64 Unix objects are PIC.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ psos*)
18810N/A+ ;;
18810N/A+ solaris*)
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ # Sun C++ 4.2, 5.x and Centerline C++
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
18810N/A+ ;;
18810N/A+ gcx*)
18810N/A+ # Green Hills C++ Compiler
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ sunos4*)
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ # Sun C++ 4.x
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ ;;
18810N/A+ lcc*)
18810N/A+ # Lucid
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ tandem*)
18810N/A+ case $cc_basename in
18810N/A+ NCC*)
18810N/A+ # NonStop-UX NCC 3.20
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ vxworks*)
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+],
18810N/A+[
18810N/A+ if test "$GCC" = yes; then
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
18810N/A+
18810N/A+ case $host_os in
18810N/A+ aix*)
18810N/A+ # All AIX code is PIC.
18810N/A+ if test "$host_cpu" = ia64; then
18810N/A+ # AIX 5 now supports IA64 processor
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ amigaos*)
18810N/A+ case $host_cpu in
18810N/A+ powerpc)
18810N/A+ # see comment about AmigaOS4 .so support
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
18810N/A+ ;;
18810N/A+ m68k)
18810N/A+ # FIXME: we need at least 68020 code to build shared libraries, but
18810N/A+ # adding the `-m68020' flag to GCC prevents building anything better,
18810N/A+ # like `-m68040'.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18810N/A+ # PIC is the default for these OSes.
18810N/A+ ;;
18810N/A+
18810N/A+ mingw* | cygwin* | pw32* | os2* | cegcc*)
18810N/A+ # This hack is so that the source file can tell whether it is being
18810N/A+ # built for inclusion in a dll (and should export symbols for example).
18810N/A+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
18810N/A+ # (--disable-auto-import) libraries
18810N/A+ m4_if([$1], [GCJ], [],
18810N/A+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
18810N/A+ ;;
18810N/A+
18810N/A+ darwin* | rhapsody*)
18810N/A+ # PIC is the default on this platform
18810N/A+ # Common symbols not allowed in MH_DYLIB files
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
18810N/A+ ;;
18810N/A+
18810N/A+ hpux*)
18810N/A+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18810N/A+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
18810N/A+ # sets the default TLS model and affects inlining.
18810N/A+ case $host_cpu in
18810N/A+ hppa*64*)
18810N/A+ # +Z the default
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ interix[[3-9]]*)
18810N/A+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18810N/A+ # Instead, we relocate shared libraries at runtime.
18810N/A+ ;;
18810N/A+
18810N/A+ msdosdjgpp*)
18810N/A+ # Just because we use GCC doesn't mean we suddenly get shared libraries
18810N/A+ # on systems that don't support them.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
18810N/A+ enable_shared=no
18810N/A+ ;;
18810N/A+
18810N/A+ *nto* | *qnx*)
18810N/A+ # QNX uses GNU C++, but need to define -shared option too, otherwise
18810N/A+ # it will coredump.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
18810N/A+ ;;
18810N/A+
18810N/A+ sysv4*MP*)
18810N/A+ if test -d /usr/nec; then
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ *)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ else
18810N/A+ # PORTME Check for flag to pass linker flags through the system compiler.
18810N/A+ case $host_os in
18810N/A+ aix*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ if test "$host_cpu" = ia64; then
18810N/A+ # AIX 5 now supports IA64 processor
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ else
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ mingw* | cygwin* | pw32* | os2* | cegcc*)
18810N/A+ # This hack is so that the source file can tell whether it is being
18810N/A+ # built for inclusion in a dll (and should export symbols for example).
18810N/A+ m4_if([$1], [GCJ], [],
18810N/A+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
18810N/A+ ;;
18810N/A+
18810N/A+ hpux9* | hpux10* | hpux11*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18810N/A+ # not for PA HP-UX.
18810N/A+ case $host_cpu in
18810N/A+ hppa*64*|ia64*)
18810N/A+ # +Z the default
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
18810N/A+ ;;
18810N/A+
18810N/A+ irix5* | irix6* | nonstopux*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ # PIC (with -KPIC) is the default.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
18810N/A+ ;;
18810N/A+
18810N/A+ linux* | k*bsd*-gnu)
18810N/A+ case $cc_basename in
18810N/A+ # old Intel for x86_64 which still supported -KPIC.
18810N/A+ ecc*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
18810N/A+ ;;
18810N/A+ # icc used to be incompatible with GCC.
18810N/A+ # ICC 10 doesn't accept -KPIC any more.
18810N/A+ icc* | ifort*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
18810N/A+ ;;
18810N/A+ # Lahey Fortran 8.1.
18810N/A+ lf95*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
18810N/A+ ;;
18810N/A+ pgcc* | pgf77* | pgf90* | pgf95*)
18810N/A+ # Portland Group compilers (*not* the Pentium gcc compiler,
18810N/A+ # which looks to be a dead project)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ ;;
18810N/A+ ccc*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ # All Alpha code is PIC.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
18810N/A+ ;;
18810N/A+ xl*)
18810N/A+ # IBM XL C 8.0/Fortran 10.1 on PPC
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ case `$CC -V 2>&1 | sed 5q` in
18810N/A+ *Sun\ C*)
18810N/A+ # Sun C 5.9
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ ;;
18810N/A+ *Sun\ F*)
18810N/A+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ newsos6)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ ;;
18810N/A+
18810N/A+ *nto* | *qnx*)
18810N/A+ # QNX uses GNU C++, but need to define -shared option too, otherwise
18810N/A+ # it will coredump.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
18810N/A+ ;;
18810N/A+
18810N/A+ osf3* | osf4* | osf5*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ # All OSF/1 code is PIC.
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
18810N/A+ ;;
18810N/A+
18810N/A+ rdos*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
18810N/A+ ;;
18810N/A+
18810N/A+ solaris*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ case $cc_basename in
18810N/A+ f77* | f90* | f95*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ sunos4*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ ;;
18810N/A+
18810N/A+ sysv4 | sysv4.2uw2* | sysv4.3*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ ;;
18810N/A+
18810N/A+ sysv4*MP*)
18810N/A+ if test -d /usr/nec ;then
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ ;;
18810N/A+
18810N/A+ unicos*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ uts4*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
18810N/A+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
18810N/A+ ;;
18810N/A+
18810N/A+ *)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+])
18810N/A+case $host_os in
18810N/A+ # For platforms which do not support PIC, -DPIC is meaningless:
18810N/A+ *djgpp*)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
18810N/A+ ;;
18810N/A+esac
18810N/A+AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
18810N/A+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
18810N/A+ [How to pass a linker flag through the compiler])
18810N/A+
18810N/A+#
18810N/A+# Check to make sure the PIC flag actually works.
18810N/A+#
18810N/A+if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
18810N/A+ _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
18810N/A+ [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
18810N/A+ [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
18810N/A+ [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
18810N/A+ "" | " "*) ;;
18810N/A+ *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
18810N/A+ esac],
18810N/A+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
18810N/A+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
18810N/A+fi
18810N/A+_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
18810N/A+ [Additional compiler flags for building library objects])
18810N/A+
18810N/A+#
18810N/A+# Check to make sure the static flag actually works.
18810N/A+#
18810N/A+wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
18810N/A+_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
18810N/A+ _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
18810N/A+ $lt_tmp_static_flag,
18810N/A+ [],
18810N/A+ [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
18810N/A+_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
18810N/A+ [Compiler flag to prevent dynamic linking])
18810N/A+])# _LT_COMPILER_PIC
18810N/A+
18810N/A+
18810N/A+# _LT_LINKER_SHLIBS([TAGNAME])
18810N/A+# ----------------------------
18810N/A+# See if the linker supports building shared libraries.
18810N/A+m4_defun([_LT_LINKER_SHLIBS],
18810N/A+[AC_REQUIRE([LT_PATH_LD])dnl
18810N/A+AC_REQUIRE([LT_PATH_NM])dnl
18810N/A+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
18810N/A+m4_require([_LT_DECL_EGREP])dnl
18810N/A+m4_require([_LT_DECL_SED])dnl
18810N/A+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
18810N/A+m4_require([_LT_TAG_COMPILER])dnl
18810N/A+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
18810N/A+m4_if([$1], [CXX], [
18810N/A+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18810N/A+ case $host_os in
18810N/A+ aix[[4-9]]*)
18810N/A+ # If we're using GNU nm, then we don't want the "-C" option.
18810N/A+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
18810N/A+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
18810N/A+ _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'
18810N/A+ else
18810N/A+ _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'
18810N/A+ fi
18810N/A+ ;;
18810N/A+ pw32*)
18810N/A+ _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
18810N/A+ ;;
18810N/A+ cygwin* | mingw* | cegcc*)
18810N/A+ _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'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
18810N/A+], [
18810N/A+ runpath_var=
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=
18810N/A+ _LT_TAGVAR(always_export_symbols, $1)=no
18810N/A+ _LT_TAGVAR(archive_cmds, $1)=
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)=
18810N/A+ _LT_TAGVAR(compiler_needs_object, $1)=no
18810N/A+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
18810N/A+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18810N/A+ _LT_TAGVAR(hardcode_automatic, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_direct_absolute, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
18810N/A+ _LT_TAGVAR(inherit_rpath, $1)=no
18810N/A+ _LT_TAGVAR(link_all_deplibs, $1)=unknown
18810N/A+ _LT_TAGVAR(module_cmds, $1)=
18810N/A+ _LT_TAGVAR(module_expsym_cmds, $1)=
18810N/A+ _LT_TAGVAR(old_archive_from_new_cmds, $1)=
18810N/A+ _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
18810N/A+ _LT_TAGVAR(thread_safe_flag_spec, $1)=
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
18810N/A+ # include_expsyms should be a list of space-separated symbols to be *always*
18810N/A+ # included in the symbol list
18810N/A+ _LT_TAGVAR(include_expsyms, $1)=
18810N/A+ # exclude_expsyms can be an extended regexp of symbols to exclude
18810N/A+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
18810N/A+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18810N/A+ # as well as any symbol that contains `d'.
18810N/A+ _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
18810N/A+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18810N/A+ # platforms (ab)use it in PIC code, but their linkers get confused if
18810N/A+ # the symbol is explicitly referenced. Since portable code cannot
18810N/A+ # rely on this symbol name, it's probably fine to never include it in
18810N/A+ # preloaded symbol tables.
18810N/A+ # Exclude shared library initialization/finalization symbols.
18810N/A+dnl Note also adjust exclude_expsyms for C++ above.
18810N/A+ extract_expsyms_cmds=
18810N/A+
18810N/A+ case $host_os in
18810N/A+ cygwin* | mingw* | pw32* | cegcc*)
18810N/A+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
18810N/A+ # When not using gcc, we currently assume that we are using
18810N/A+ # Microsoft Visual C++.
18810N/A+ if test "$GCC" != yes; then
18810N/A+ with_gnu_ld=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+ interix*)
18810N/A+ # we just hope/assume this is gcc and not c89 (= MSVC++)
18810N/A+ with_gnu_ld=yes
18810N/A+ ;;
18810N/A+ openbsd*)
18810N/A+ with_gnu_ld=no
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=yes
18810N/A+ if test "$with_gnu_ld" = yes; then
18810N/A+ # If archive_cmds runs LD, not CC, wlarc should be empty
18810N/A+ wlarc='${wl}'
18810N/A+
18810N/A+ # Set some defaults for GNU ld with shared library support. These
18810N/A+ # are reset later if shared libraries are not supported. Putting them
18810N/A+ # here allows them to be overridden if necessary.
18810N/A+ runpath_var=LD_RUN_PATH
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
18810N/A+ # ancient GNU ld didn't support --whole-archive et. al.
18810N/A+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18810N/A+ else
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
18810N/A+ fi
18810N/A+ supports_anon_versioning=no
18810N/A+ case `$LD -v 2>&1` in
18810N/A+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
18810N/A+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18810N/A+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18810N/A+ *\ 2.11.*) ;; # other 2.11 versions
18810N/A+ *) supports_anon_versioning=yes ;;
18810N/A+ esac
18810N/A+
18810N/A+ # See if GNU ld supports shared libraries.
18810N/A+ case $host_os in
18810N/A+ aix[[3-9]]*)
18810N/A+ # On AIX/PPC, the GNU linker is very broken
18810N/A+ if test "$host_cpu" != ia64; then
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ cat <<_LT_EOF 1>&2
18810N/A+
18810N/A+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18810N/A+*** to be unable to reliably create shared libraries on AIX.
18810N/A+*** Therefore, libtool is disabling shared libraries support. If you
18810N/A+*** really care for shared libraries, you may want to modify your PATH
18810N/A+*** so that a non-GNU linker is found, and then restart.
18810N/A+
18810N/A+_LT_EOF
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ amigaos*)
18810N/A+ case $host_cpu in
18810N/A+ powerpc)
18810N/A+ # see comment about AmigaOS4 .so support
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)=''
18810N/A+ ;;
18810N/A+ m68k)
18810N/A+ _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)'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ beos*)
18810N/A+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
18810N/A+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18810N/A+ # support --undefined. This deserves some investigation. FIXME
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ else
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ cygwin* | mingw* | pw32* | cegcc*)
18810N/A+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
18810N/A+ # as there is no search path for DLLs.
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
18810N/A+ _LT_TAGVAR(always_export_symbols, $1)=no
18810N/A+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
18810N/A+ _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'
18810N/A+
18810N/A+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
18810N/A+ _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'
18810N/A+ # If the export-symbols file already is a .def file (1st line
18810N/A+ # is EXPORTS), use it as is; otherwise, prepend...
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18810N/A+ cp $export_symbols $output_objdir/$soname.def;
18810N/A+ else
18810N/A+ echo EXPORTS > $output_objdir/$soname.def;
18810N/A+ cat $export_symbols >> $output_objdir/$soname.def;
18810N/A+ fi~
18810N/A+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18810N/A+ else
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ interix[[3-9]]*)
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18810N/A+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18810N/A+ # Instead, shared libraries are loaded at an image base (0x10000000 by
18810N/A+ # default) and relocated if they conflict, which is a slow very memory
18810N/A+ # consuming and fragmenting process. To avoid this, we pick a random,
18810N/A+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18810N/A+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18810N/A+ _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'
18810N/A+ _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'
18810N/A+ ;;
18810N/A+
18810N/A+ gnu* | linux* | tpf* | k*bsd*-gnu)
18810N/A+ tmp_diet=no
18810N/A+ if test "$host_os" = linux-dietlibc; then
18810N/A+ case $cc_basename in
18810N/A+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
18810N/A+ esac
18810N/A+ fi
18810N/A+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
18810N/A+ && test "$tmp_diet" = no
18810N/A+ then
18810N/A+ tmp_addflag=
18810N/A+ tmp_sharedflag='-shared'
18810N/A+ case $cc_basename,$host_cpu in
18810N/A+ pgcc*) # Portland Group C compiler
18810N/A+ _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'
18810N/A+ tmp_addflag=' $pic_flag'
18810N/A+ ;;
18810N/A+ pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
18810N/A+ _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'
18810N/A+ tmp_addflag=' $pic_flag -Mnomain' ;;
18810N/A+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
18810N/A+ tmp_addflag=' -i_dynamic' ;;
18810N/A+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
18810N/A+ tmp_addflag=' -i_dynamic -nofor_main' ;;
18810N/A+ ifc* | ifort*) # Intel Fortran compiler
18810N/A+ tmp_addflag=' -nofor_main' ;;
18810N/A+ lf95*) # Lahey Fortran 8.1
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
18810N/A+ tmp_sharedflag='--shared' ;;
18810N/A+ xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
18810N/A+ tmp_sharedflag='-qmkshrobj'
18810N/A+ tmp_addflag= ;;
18810N/A+ esac
18810N/A+ case `$CC -V 2>&1 | sed 5q` in
18810N/A+ *Sun\ C*) # Sun C 5.9
18810N/A+ _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'
18810N/A+ _LT_TAGVAR(compiler_needs_object, $1)=yes
18810N/A+ tmp_sharedflag='-G' ;;
18810N/A+ *Sun\ F*) # Sun Fortran 8.3
18810N/A+ tmp_sharedflag='-G' ;;
18810N/A+ esac
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+
18810N/A+ if test "x$supports_anon_versioning" = xyes; then
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
18810N/A+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18810N/A+ echo "local: *; };" >> $output_objdir/$libname.ver~
18810N/A+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18810N/A+ fi
18810N/A+
18810N/A+ case $cc_basename in
18810N/A+ xlf*)
18810N/A+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
18810N/A+ if test "x$supports_anon_versioning" = xyes; then
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
18810N/A+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18810N/A+ echo "local: *; };" >> $output_objdir/$libname.ver~
18810N/A+ $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ else
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ netbsd*)
18810N/A+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18810N/A+ wlarc=
18810N/A+ else
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ _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'
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ solaris*)
18810N/A+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ cat <<_LT_EOF 1>&2
18810N/A+
18810N/A+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18810N/A+*** create shared libraries on Solaris systems. Therefore, libtool
18810N/A+*** is disabling shared libraries support. We urge you to upgrade GNU
18810N/A+*** binutils to release 2.9.1 or newer. Another option is to modify
18810N/A+*** your PATH or compiler configuration so that the native linker is
18810N/A+*** used, and then restart.
18810N/A+
18810N/A+_LT_EOF
18810N/A+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ _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'
18810N/A+ else
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18810N/A+ case `$LD -v 2>&1` in
18810N/A+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ cat <<_LT_EOF 1>&2
18810N/A+
18810N/A+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18810N/A+*** reliably create shared libraries on SCO systems. Therefore, libtool
18810N/A+*** is disabling shared libraries support. We urge you to upgrade GNU
18810N/A+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18810N/A+*** your PATH or compiler configuration so that the native linker is
18810N/A+*** used, and then restart.
18810N/A+
18810N/A+_LT_EOF
18810N/A+ ;;
18810N/A+ *)
18810N/A+ # For security reasons, it is highly recommended that you always
18810N/A+ # use absolute paths for naming shared libraries, and exclude the
18810N/A+ # DT_RUNPATH tag from executables and libraries. But doing so
18810N/A+ # requires that you compile everything twice, which is a pain.
18810N/A+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ _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'
18810N/A+ else
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ sunos4*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ wlarc=
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ *)
18810N/A+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ _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'
18810N/A+ else
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
18810N/A+ runpath_var=
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
18810N/A+ fi
18810N/A+ else
18810N/A+ # PORTME fill in a description of your system's linker (not GNU ld)
18810N/A+ case $host_os in
18810N/A+ aix3*)
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
18810N/A+ _LT_TAGVAR(always_export_symbols, $1)=yes
18810N/A+ _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'
18810N/A+ # Note: this linker hardcodes the directories in LIBPATH if there
18810N/A+ # are no directories specified by -L.
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
18810N/A+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18810N/A+ # Neither direct hardcoding nor static linking is supported with a
18810N/A+ # broken collect2.
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ aix[[4-9]]*)
18810N/A+ if test "$host_cpu" = ia64; then
18810N/A+ # On IA64, the linker does run time linking by default, so we don't
18810N/A+ # have to do anything special.
18810N/A+ aix_use_runtimelinking=no
18810N/A+ exp_sym_flag='-Bexport'
18810N/A+ no_entry_flag=""
18810N/A+ else
18810N/A+ # If we're using GNU nm, then we don't want the "-C" option.
18810N/A+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
18810N/A+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
18810N/A+ _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'
18810N/A+ else
18810N/A+ _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'
18810N/A+ fi
18810N/A+ aix_use_runtimelinking=no
18810N/A+
18810N/A+ # Test if we are trying to use run time linking or normal
18810N/A+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18810N/A+ # need to do runtime linking.
18810N/A+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
18810N/A+ for ld_flag in $LDFLAGS; do
18810N/A+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18810N/A+ aix_use_runtimelinking=yes
18810N/A+ break
18810N/A+ fi
18810N/A+ done
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ exp_sym_flag='-bexport'
18810N/A+ no_entry_flag='-bnoentry'
18810N/A+ fi
18810N/A+
18810N/A+ # When large executables or shared objects are built, AIX ld can
18810N/A+ # have problems creating the table of contents. If linking a library
18810N/A+ # or program results in "error TOC overflow" add -mminimal-toc to
18810N/A+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18810N/A+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18810N/A+
18810N/A+ _LT_TAGVAR(archive_cmds, $1)=''
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
18810N/A+ _LT_TAGVAR(link_all_deplibs, $1)=yes
18810N/A+ _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
18810N/A+
18810N/A+ if test "$GCC" = yes; then
18810N/A+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
18810N/A+ # We only want to do this on AIX 4.2 and lower, the check
18810N/A+ # below for broken collect2 doesn't work under 4.3+
18810N/A+ collect2name=`${CC} -print-prog-name=collect2`
18810N/A+ if test -f "$collect2name" &&
18810N/A+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
18810N/A+ then
18810N/A+ # We have reworked collect2
18810N/A+ :
18810N/A+ else
18810N/A+ # We have old collect2
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
18810N/A+ # It fails to find uninstalled libraries when the uninstalled
18810N/A+ # path is not listed in the libpath. Setting hardcode_minus_L
18810N/A+ # to unsupported forces relinking
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ shared_flag='-shared'
18810N/A+ if test "$aix_use_runtimelinking" = yes; then
18810N/A+ shared_flag="$shared_flag "'${wl}-G'
18810N/A+ fi
18810N/A+ else
18810N/A+ # not using gcc
18810N/A+ if test "$host_cpu" = ia64; then
18810N/A+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18810N/A+ # chokes on -Wl,-G. The following line is correct:
18810N/A+ shared_flag='-G'
18810N/A+ else
18810N/A+ if test "$aix_use_runtimelinking" = yes; then
18810N/A+ shared_flag='${wl}-G'
18810N/A+ else
18810N/A+ shared_flag='${wl}-bM:SRE'
18810N/A+ fi
18810N/A+ fi
18810N/A+ fi
18810N/A+
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
18810N/A+ # It seems that -bexpall does not export symbols beginning with
18810N/A+ # underscore (_), so it is better to generate a list of symbols to export.
18810N/A+ _LT_TAGVAR(always_export_symbols, $1)=yes
18810N/A+ if test "$aix_use_runtimelinking" = yes; then
18810N/A+ # Warning - without using the other runtime loading flags (-brtl),
18810N/A+ # -berok will link without error, but may produce a broken library.
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
18810N/A+ # Determine the default libpath from the value encoded in an
18810N/A+ # empty executable.
18810N/A+ _LT_SYS_MODULE_PATH_AIX
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
18810N/A+ _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"
18810N/A+ else
18810N/A+ if test "$host_cpu" = ia64; then
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
18810N/A+ _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"
18810N/A+ else
18810N/A+ # Determine the default libpath from the value encoded in an
18810N/A+ # empty executable.
18810N/A+ _LT_SYS_MODULE_PATH_AIX
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
18810N/A+ # Warning - without using the other run time loading flags,
18810N/A+ # -berok will link without error, but may produce a broken library.
18810N/A+ _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
18810N/A+ # Exported symbols can be pulled into shared objects from archives
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
18810N/A+ # This is similar to how AIX traditionally builds its shared libraries.
18810N/A+ _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'
18810N/A+ fi
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ amigaos*)
18810N/A+ case $host_cpu in
18810N/A+ powerpc)
18810N/A+ # see comment about AmigaOS4 .so support
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)=''
18810N/A+ ;;
18810N/A+ m68k)
18810N/A+ _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)'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ bsdi[[45]]*)
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
18810N/A+ ;;
18810N/A+
18810N/A+ cygwin* | mingw* | pw32* | cegcc*)
18810N/A+ # When not using gcc, we currently assume that we are using
18810N/A+ # Microsoft Visual C++.
18810N/A+ # hardcode_libdir_flag_spec is actually meaningless, as there is
18810N/A+ # no search path for DLLs.
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
18810N/A+ # Tell ltmain to make .lib files, not .a files.
18810N/A+ libext=lib
18810N/A+ # Tell ltmain to make .dll files, not .so files.
18810N/A+ shrext_cmds=".dll"
18810N/A+ # FIXME: Setting linknames here is a bad hack.
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
18810N/A+ # The linker will automatically build a .lib file if we build a DLL.
18810N/A+ _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
18810N/A+ # FIXME: Should let the user specify the lib program.
18810N/A+ _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
18810N/A+ _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
18810N/A+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
18810N/A+ ;;
18810N/A+
18810N/A+ darwin* | rhapsody*)
18810N/A+ _LT_DARWIN_LINKER_FEATURES($1)
18810N/A+ ;;
18810N/A+
18810N/A+ dgux*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ freebsd1*)
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18810N/A+ # support. Future versions do this automatically, but an explicit c++rt0.o
18810N/A+ # does not break anything, and helps significantly (at the cost of a little
18810N/A+ # extra space).
18810N/A+ freebsd2.2*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18810N/A+ freebsd2*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18810N/A+ freebsd* | dragonfly*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ hpux9*)
18810N/A+ if test "$GCC" = yes; then
18810N/A+ _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'
18810N/A+ else
18810N/A+ _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'
18810N/A+ fi
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+
18810N/A+ # hardcode_minus_L: Not really in the search PATH,
18810N/A+ # but as the default location of the library.
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18810N/A+ ;;
18810N/A+
18810N/A+ hpux10*)
18810N/A+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ else
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ fi
18810N/A+ if test "$with_gnu_ld" = no; then
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18810N/A+ # hardcode_minus_L: Not really in the search PATH,
18810N/A+ # but as the default location of the library.
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ hpux11*)
18810N/A+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18810N/A+ case $host_cpu in
18810N/A+ hppa*64*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ ;;
18810N/A+ ia64*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ else
18810N/A+ case $host_cpu in
18810N/A+ hppa*64*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ ;;
18810N/A+ ia64*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ if test "$with_gnu_ld" = no; then
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+
18810N/A+ case $host_cpu in
18810N/A+ hppa*64*|ia64*)
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18810N/A+
18810N/A+ # hardcode_minus_L: Not really in the search PATH,
18810N/A+ # but as the default location of the library.
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ irix5* | irix6* | nonstopux*)
18810N/A+ if test "$GCC" = yes; then
18810N/A+ _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'
18810N/A+ # Try to use the -exported_symbol ld option, if it does not
18810N/A+ # work, assume that -exports_file does not work either and
18810N/A+ # implicitly export all symbols.
18810N/A+ save_LDFLAGS="$LDFLAGS"
18810N/A+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
18810N/A+ AC_LINK_IFELSE(int foo(void) {},
18810N/A+ _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'
18810N/A+ )
18810N/A+ LDFLAGS="$save_LDFLAGS"
18810N/A+ else
18810N/A+ _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'
18810N/A+ _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'
18810N/A+ fi
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+ _LT_TAGVAR(inherit_rpath, $1)=yes
18810N/A+ _LT_TAGVAR(link_all_deplibs, $1)=yes
18810N/A+ ;;
18810N/A+
18810N/A+ netbsd*)
18810N/A+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18810N/A+ else
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18810N/A+ fi
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ newsos6)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ *nto* | *qnx*)
18810N/A+ ;;
18810N/A+
18810N/A+ openbsd*)
18810N/A+ if test -f /usr/libexec/ld.so; then
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
18810N/A+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18810N/A+ else
18810N/A+ case $host_os in
18810N/A+ openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ else
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ os2*)
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18810N/A+ _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18810N/A+ ;;
18810N/A+
18810N/A+ osf3*)
18810N/A+ if test "$GCC" = yes; then
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18810N/A+ else
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18810N/A+ fi
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+ ;;
18810N/A+
18810N/A+ osf4* | osf5*) # as osf3* with the addition of -msym flag
18810N/A+ if test "$GCC" = yes; then
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18810N/A+ else
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
18810N/A+ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
18810N/A+
18810N/A+ # Both c and cxx compiler support -rpath directly
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
18810N/A+ fi
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+ ;;
18810N/A+
18810N/A+ solaris*)
18810N/A+ _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
18810N/A+ if test "$GCC" = yes; then
18810N/A+ wlarc='${wl}'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18810N/A+ $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18810N/A+ else
18810N/A+ case `$CC -V 2>&1` in
18810N/A+ *"Compilers 5.0"*)
18810N/A+ wlarc=''
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18810N/A+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ wlarc='${wl}'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18810N/A+ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ case $host_os in
18810N/A+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
18810N/A+ *)
18810N/A+ # The compiler driver will combine and reorder linker options,
18810N/A+ # but understands `-z linker_flag'. GCC discards it without `$wl',
18810N/A+ # but is careful enough not to reorder.
18810N/A+ # Supported since Solaris 2.6 (maybe 2.5.1?)
18810N/A+ if test "$GCC" = yes; then
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18810N/A+ else
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ _LT_TAGVAR(link_all_deplibs, $1)=yes
18810N/A+ ;;
18810N/A+
18810N/A+ sunos4*)
18810N/A+ if test "x$host_vendor" = xsequent; then
18810N/A+ # Use $CC to link under sequent, because it throws in some extra .o
18810N/A+ # files that make .init and .fini sections work.
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ else
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ fi
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ sysv4)
18810N/A+ case $host_vendor in
18810N/A+ sni)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
18810N/A+ ;;
18810N/A+ siemens)
18810N/A+ ## LD is ld it makes a PLAMLIB
18810N/A+ ## CC just makes a GrossModule.
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=no
18810N/A+ ;;
18810N/A+ motorola)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
18810N/A+ ;;
18810N/A+ esac
18810N/A+ runpath_var='LD_RUN_PATH'
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ sysv4.3*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
18810N/A+ ;;
18810N/A+
18810N/A+ sysv4*MP*)
18810N/A+ if test -d /usr/nec; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ runpath_var=LD_RUN_PATH
18810N/A+ hardcode_runpath_var=yes
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=yes
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
18810N/A+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ runpath_var='LD_RUN_PATH'
18810N/A+
18810N/A+ if test "$GCC" = yes; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ else
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ sysv5* | sco3.2v5* | sco5v6*)
18810N/A+ # Note: We can NOT use -z defs as we might desire, because we do not
18810N/A+ # link with -lc, and that would cause any symbols used from libc to
18810N/A+ # always be unresolved, which means just about no library would
18810N/A+ # ever link correctly. If we're not using GNU ld we use -z text
18810N/A+ # though, which does catch some bad symbols but isn't as heavy-handed
18810N/A+ # as -z defs.
18810N/A+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
18810N/A+ _LT_TAGVAR(link_all_deplibs, $1)=yes
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
18810N/A+ runpath_var='LD_RUN_PATH'
18810N/A+
18810N/A+ if test "$GCC" = yes; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ else
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ uts4*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ *)
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ if test x$host_vendor = xsni; then
18810N/A+ case $host in
18810N/A+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ fi
18810N/A+])
18810N/A+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
18810N/A+test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
18810N/A+
18810N/A+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
18810N/A+
18810N/A+_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
18810N/A+_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
18810N/A+_LT_DECL([], [extract_expsyms_cmds], [2],
18810N/A+ [The commands to extract the exported symbol list from a shared archive])
18810N/A+
18810N/A+#
18810N/A+# Do we need to explicitly link libc?
18810N/A+#
18810N/A+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
18810N/A+x|xyes)
18810N/A+ # Assume -lc should be added
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
18810N/A+
18810N/A+ if test "$enable_shared" = yes && test "$GCC" = yes; then
18810N/A+ case $_LT_TAGVAR(archive_cmds, $1) in
18810N/A+ *'~'*)
18810N/A+ # FIXME: we may have to deal with multi-command sequences.
18810N/A+ ;;
18810N/A+ '$CC '*)
18810N/A+ # Test whether the compiler implicitly links with -lc since on some
18810N/A+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
18810N/A+ # to ld, don't add -lc before -lgcc.
18810N/A+ AC_MSG_CHECKING([whether -lc should be explicitly linked in])
18810N/A+ $RM conftest*
18810N/A+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18810N/A+
18810N/A+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
18810N/A+ soname=conftest
18810N/A+ lib=conftest
18810N/A+ libobjs=conftest.$ac_objext
18810N/A+ deplibs=
18810N/A+ wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
18810N/A+ pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
18810N/A+ compiler_flags=-v
18810N/A+ linker_flags=-v
18810N/A+ verstring=
18810N/A+ output_objdir=.
18810N/A+ libname=conftest
18810N/A+ lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=
18810N/A+ if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
18810N/A+ then
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
18810N/A+ else
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
18810N/A+ fi
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
18810N/A+ else
18810N/A+ cat conftest.err 1>&5
18810N/A+ fi
18810N/A+ $RM conftest*
18810N/A+ AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ ;;
18810N/A+esac
18810N/A+
18810N/A+_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
18810N/A+ [Whether or not to add -lc for building shared libraries])
18810N/A+_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
18810N/A+ [enable_shared_with_static_runtimes], [0],
18810N/A+ [Whether or not to disallow shared libs when runtime libs are static])
18810N/A+_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
18810N/A+ [Compiler flag to allow reflexive dlopens])
18810N/A+_LT_TAGDECL([], [whole_archive_flag_spec], [1],
18810N/A+ [Compiler flag to generate shared objects directly from archives])
18810N/A+_LT_TAGDECL([], [compiler_needs_object], [1],
18810N/A+ [Whether the compiler copes with passing no objects directly])
18810N/A+_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
18810N/A+ [Create an old-style archive from a shared archive])
18810N/A+_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
18810N/A+ [Create a temporary old-style archive to link instead of a shared archive])
18810N/A+_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
18810N/A+_LT_TAGDECL([], [archive_expsym_cmds], [2])
18810N/A+_LT_TAGDECL([], [module_cmds], [2],
18810N/A+ [Commands used to build a loadable module if different from building
18810N/A+ a shared archive.])
18810N/A+_LT_TAGDECL([], [module_expsym_cmds], [2])
18810N/A+_LT_TAGDECL([], [with_gnu_ld], [1],
18810N/A+ [Whether we are building with GNU ld or not])
18810N/A+_LT_TAGDECL([], [allow_undefined_flag], [1],
18810N/A+ [Flag that allows shared libraries with undefined symbols to be built])
18810N/A+_LT_TAGDECL([], [no_undefined_flag], [1],
18810N/A+ [Flag that enforces no undefined symbols])
18810N/A+_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
18810N/A+ [Flag to hardcode $libdir into a binary during linking.
18810N/A+ This must work even if $libdir does not exist])
18810N/A+_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
18810N/A+ [[If ld is used when linking, flag to hardcode $libdir into a binary
18810N/A+ during linking. This must work even if $libdir does not exist]])
18810N/A+_LT_TAGDECL([], [hardcode_libdir_separator], [1],
18810N/A+ [Whether we need a single "-rpath" flag with a separated argument])
18810N/A+_LT_TAGDECL([], [hardcode_direct], [0],
18810N/A+ [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
18810N/A+ DIR into the resulting binary])
18810N/A+_LT_TAGDECL([], [hardcode_direct_absolute], [0],
18810N/A+ [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
18810N/A+ DIR into the resulting binary and the resulting library dependency is
18810N/A+ "absolute", i.e impossible to change by setting ${shlibpath_var} if the
18810N/A+ library is relocated])
18810N/A+_LT_TAGDECL([], [hardcode_minus_L], [0],
18810N/A+ [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18810N/A+ into the resulting binary])
18810N/A+_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
18810N/A+ [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18810N/A+ into the resulting binary])
18810N/A+_LT_TAGDECL([], [hardcode_automatic], [0],
18810N/A+ [Set to "yes" if building a shared library automatically hardcodes DIR
18810N/A+ into the library and all subsequent libraries and executables linked
18810N/A+ against it])
18810N/A+_LT_TAGDECL([], [inherit_rpath], [0],
18810N/A+ [Set to yes if linker adds runtime paths of dependent libraries
18810N/A+ to runtime path list])
18810N/A+_LT_TAGDECL([], [link_all_deplibs], [0],
18810N/A+ [Whether libtool must link a program against all its dependency libraries])
18810N/A+_LT_TAGDECL([], [fix_srcfile_path], [1],
18810N/A+ [Fix the shell variable $srcfile for the compiler])
18810N/A+_LT_TAGDECL([], [always_export_symbols], [0],
18810N/A+ [Set to "yes" if exported symbols are required])
18810N/A+_LT_TAGDECL([], [export_symbols_cmds], [2],
18810N/A+ [The commands to list exported symbols])
18810N/A+_LT_TAGDECL([], [exclude_expsyms], [1],
18810N/A+ [Symbols that should not be listed in the preloaded symbols])
18810N/A+_LT_TAGDECL([], [include_expsyms], [1],
18810N/A+ [Symbols that must always be exported])
18810N/A+_LT_TAGDECL([], [prelink_cmds], [2],
18810N/A+ [Commands necessary for linking programs (against libraries) with templates])
18810N/A+_LT_TAGDECL([], [file_list_spec], [1],
18810N/A+ [Specify filename containing input files])
18810N/A+dnl FIXME: Not yet implemented
18810N/A+dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
18810N/A+dnl [Compiler flag to generate thread safe objects])
18810N/A+])# _LT_LINKER_SHLIBS
18810N/A+
18810N/A+
18810N/A+# _LT_LANG_C_CONFIG([TAG])
18810N/A+# ------------------------
18810N/A+# Ensure that the configuration variables for a C compiler are suitably
18810N/A+# defined. These variables are subsequently used by _LT_CONFIG to write
18810N/A+# the compiler configuration to `libtool'.
18810N/A+m4_defun([_LT_LANG_C_CONFIG],
18810N/A+[m4_require([_LT_DECL_EGREP])dnl
18810N/A+lt_save_CC="$CC"
18810N/A+AC_LANG_PUSH(C)
18810N/A+
18810N/A+# Source file extension for C test sources.
18810N/A+ac_ext=c
18810N/A+
18810N/A+# Object file extension for compiled C test sources.
18810N/A+objext=o
18810N/A+_LT_TAGVAR(objext, $1)=$objext
18810N/A+
18810N/A+# Code to be used in simple compile tests
18810N/A+lt_simple_compile_test_code="int some_variable = 0;"
18810N/A+
18810N/A+# Code to be used in simple link tests
18810N/A+lt_simple_link_test_code='int main(){return(0);}'
18810N/A+
18810N/A+_LT_TAG_COMPILER
18810N/A+# Save the default compiler, since it gets overwritten when the other
18810N/A+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
18810N/A+compiler_DEFAULT=$CC
18810N/A+
18810N/A+# save warnings/boilerplate of simple test code
18810N/A+_LT_COMPILER_BOILERPLATE
18810N/A+_LT_LINKER_BOILERPLATE
18810N/A+
18810N/A+## CAVEAT EMPTOR:
18810N/A+## There is no encapsulation within the following macros, do not change
18810N/A+## the running order or otherwise move them around unless you know exactly
18810N/A+## what you are doing...
18810N/A+if test -n "$compiler"; then
18810N/A+ _LT_COMPILER_NO_RTTI($1)
18810N/A+ _LT_COMPILER_PIC($1)
18810N/A+ _LT_COMPILER_C_O($1)
18810N/A+ _LT_COMPILER_FILE_LOCKS($1)
18810N/A+ _LT_LINKER_SHLIBS($1)
18810N/A+ _LT_SYS_DYNAMIC_LINKER($1)
18810N/A+ _LT_LINKER_HARDCODE_LIBPATH($1)
18810N/A+ LT_SYS_DLOPEN_SELF
18810N/A+ _LT_CMD_STRIPLIB
18810N/A+
18810N/A+ # Report which library types will actually be built
18810N/A+ AC_MSG_CHECKING([if libtool supports shared libraries])
18810N/A+ AC_MSG_RESULT([$can_build_shared])
18810N/A+
18810N/A+ AC_MSG_CHECKING([whether to build shared libraries])
18810N/A+ test "$can_build_shared" = "no" && enable_shared=no
18810N/A+
18810N/A+ # On AIX, shared libraries and static libraries use the same namespace, and
18810N/A+ # are all built from PIC.
18810N/A+ case $host_os in
18810N/A+ aix3*)
18810N/A+ test "$enable_shared" = yes && enable_static=no
18810N/A+ if test -n "$RANLIB"; then
18810N/A+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
18810N/A+ postinstall_cmds='$RANLIB $lib'
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ aix[[4-9]]*)
18810N/A+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
18810N/A+ test "$enable_shared" = yes && enable_static=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ AC_MSG_RESULT([$enable_shared])
18810N/A+
18810N/A+ AC_MSG_CHECKING([whether to build static libraries])
18810N/A+ # Make sure either enable_shared or enable_static is yes.
18810N/A+ test "$enable_shared" = yes || enable_static=yes
18810N/A+ AC_MSG_RESULT([$enable_static])
18810N/A+
18810N/A+ _LT_CONFIG($1)
18810N/A+fi
18810N/A+AC_LANG_POP
18810N/A+CC="$lt_save_CC"
18810N/A+])# _LT_LANG_C_CONFIG
18810N/A+
18810N/A+
18810N/A+# _LT_PROG_CXX
18810N/A+# ------------
18810N/A+# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
18810N/A+# compiler, we have our own version here.
18810N/A+m4_defun([_LT_PROG_CXX],
18810N/A+[
18810N/A+pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
18810N/A+AC_PROG_CXX
18810N/A+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18810N/A+ ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
18810N/A+ (test "X$CXX" != "Xg++"))) ; then
18810N/A+ AC_PROG_CXXCPP
18810N/A+else
18810N/A+ _lt_caught_CXX_error=yes
18810N/A+fi
18810N/A+popdef([AC_MSG_ERROR])
18810N/A+])# _LT_PROG_CXX
18810N/A+
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([_LT_PROG_CXX], [])
18810N/A+
18810N/A+
18810N/A+# _LT_LANG_CXX_CONFIG([TAG])
18810N/A+# --------------------------
18810N/A+# Ensure that the configuration variables for a C++ compiler are suitably
18810N/A+# defined. These variables are subsequently used by _LT_CONFIG to write
18810N/A+# the compiler configuration to `libtool'.
18810N/A+m4_defun([_LT_LANG_CXX_CONFIG],
18810N/A+[AC_REQUIRE([_LT_PROG_CXX])dnl
18810N/A+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
18810N/A+m4_require([_LT_DECL_EGREP])dnl
18810N/A+
18810N/A+AC_LANG_PUSH(C++)
18810N/A+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
18810N/A+_LT_TAGVAR(allow_undefined_flag, $1)=
18810N/A+_LT_TAGVAR(always_export_symbols, $1)=no
18810N/A+_LT_TAGVAR(archive_expsym_cmds, $1)=
18810N/A+_LT_TAGVAR(compiler_needs_object, $1)=no
18810N/A+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
18810N/A+_LT_TAGVAR(hardcode_direct, $1)=no
18810N/A+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
18810N/A+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
18810N/A+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
18810N/A+_LT_TAGVAR(hardcode_libdir_separator, $1)=
18810N/A+_LT_TAGVAR(hardcode_minus_L, $1)=no
18810N/A+_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
18810N/A+_LT_TAGVAR(hardcode_automatic, $1)=no
18810N/A+_LT_TAGVAR(inherit_rpath, $1)=no
18810N/A+_LT_TAGVAR(module_cmds, $1)=
18810N/A+_LT_TAGVAR(module_expsym_cmds, $1)=
18810N/A+_LT_TAGVAR(link_all_deplibs, $1)=unknown
18810N/A+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
18810N/A+_LT_TAGVAR(no_undefined_flag, $1)=
18810N/A+_LT_TAGVAR(whole_archive_flag_spec, $1)=
18810N/A+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
18810N/A+
18810N/A+# Source file extension for C++ test sources.
18810N/A+ac_ext=cpp
18810N/A+
18810N/A+# Object file extension for compiled C++ test sources.
18810N/A+objext=o
18810N/A+_LT_TAGVAR(objext, $1)=$objext
18810N/A+
18810N/A+# No sense in running all these tests if we already determined that
18810N/A+# the CXX compiler isn't working. Some variables (like enable_shared)
18810N/A+# are currently assumed to apply to all compilers on this platform,
18810N/A+# and will be corrupted by setting them based on a non-working compiler.
18810N/A+if test "$_lt_caught_CXX_error" != yes; then
18810N/A+ # Code to be used in simple compile tests
18810N/A+ lt_simple_compile_test_code="int some_variable = 0;"
18810N/A+
18810N/A+ # Code to be used in simple link tests
18810N/A+ lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
18810N/A+
18810N/A+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18810N/A+ _LT_TAG_COMPILER
18810N/A+
18810N/A+ # save warnings/boilerplate of simple test code
18810N/A+ _LT_COMPILER_BOILERPLATE
18810N/A+ _LT_LINKER_BOILERPLATE
18810N/A+
18810N/A+ # Allow CC to be a program name with arguments.
18810N/A+ lt_save_CC=$CC
18810N/A+ lt_save_LD=$LD
18810N/A+ lt_save_GCC=$GCC
18810N/A+ GCC=$GXX
18810N/A+ lt_save_with_gnu_ld=$with_gnu_ld
18810N/A+ lt_save_path_LD=$lt_cv_path_LD
18810N/A+ if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18810N/A+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18810N/A+ else
18810N/A+ $as_unset lt_cv_prog_gnu_ld
18810N/A+ fi
18810N/A+ if test -n "${lt_cv_path_LDCXX+set}"; then
18810N/A+ lt_cv_path_LD=$lt_cv_path_LDCXX
18810N/A+ else
18810N/A+ $as_unset lt_cv_path_LD
18810N/A+ fi
18810N/A+ test -z "${LDCXX+set}" || LD=$LDCXX
18810N/A+ CC=${CXX-"c++"}
18810N/A+ compiler=$CC
18810N/A+ _LT_TAGVAR(compiler, $1)=$CC
18810N/A+ _LT_CC_BASENAME([$compiler])
18810N/A+
18810N/A+ if test -n "$compiler"; then
18810N/A+ # We don't want -fno-exception when compiling C++ code, so set the
18810N/A+ # no_builtin_flag separately
18810N/A+ if test "$GXX" = yes; then
18810N/A+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
18810N/A+ else
18810N/A+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
18810N/A+ fi
18810N/A+
18810N/A+ if test "$GXX" = yes; then
18810N/A+ # Set up default GNU C++ configuration
18810N/A+
18810N/A+ LT_PATH_LD
18810N/A+
18810N/A+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
18810N/A+ # archiving commands below assume that GNU ld is being used.
18810N/A+ if test "$with_gnu_ld" = yes; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ _LT_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'
18810N/A+
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
18810N/A+
18810N/A+ # If archive_cmds runs LD, not CC, wlarc should be empty
18810N/A+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18810N/A+ # investigate it a little bit more. (MM)
18810N/A+ wlarc='${wl}'
18810N/A+
18810N/A+ # ancient GNU ld didn't support --whole-archive et. al.
18810N/A+ if eval "`$CC -print-prog-name=ld` --help 2>&1" |
18810N/A+ $GREP 'no-whole-archive' > /dev/null; then
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18810N/A+ else
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
18810N/A+ fi
18810N/A+ else
18810N/A+ with_gnu_ld=no
18810N/A+ wlarc=
18810N/A+
18810N/A+ # A generic and very simple default shared library creation
18810N/A+ # command for GNU C++ for the case where it uses the native
18810N/A+ # linker, instead of GNU ld. If possible, this setting should
18810N/A+ # overridden to take advantage of the native linker features on
18810N/A+ # the platform it is being used on.
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18810N/A+ fi
18810N/A+
18810N/A+ # Commands to make compiler produce verbose output that lists
18810N/A+ # what "hidden" libraries, object files and flags are used when
18810N/A+ # linking a shared library.
18810N/A+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18810N/A+
18810N/A+ else
18810N/A+ GXX=no
18810N/A+ with_gnu_ld=no
18810N/A+ wlarc=
18810N/A+ fi
18810N/A+
18810N/A+ # PORTME: fill in a description of your system's C++ link characteristics
18810N/A+ AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=yes
18810N/A+ case $host_os in
18810N/A+ aix3*)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ aix[[4-9]]*)
18810N/A+ if test "$host_cpu" = ia64; then
18810N/A+ # On IA64, the linker does run time linking by default, so we don't
18810N/A+ # have to do anything special.
18810N/A+ aix_use_runtimelinking=no
18810N/A+ exp_sym_flag='-Bexport'
18810N/A+ no_entry_flag=""
18810N/A+ else
18810N/A+ aix_use_runtimelinking=no
18810N/A+
18810N/A+ # Test if we are trying to use run time linking or normal
18810N/A+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18810N/A+ # need to do runtime linking.
18810N/A+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
18810N/A+ for ld_flag in $LDFLAGS; do
18810N/A+ case $ld_flag in
18810N/A+ *-brtl*)
18810N/A+ aix_use_runtimelinking=yes
18810N/A+ break
18810N/A+ ;;
18810N/A+ esac
18810N/A+ done
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ exp_sym_flag='-bexport'
18810N/A+ no_entry_flag='-bnoentry'
18810N/A+ fi
18810N/A+
18810N/A+ # When large executables or shared objects are built, AIX ld can
18810N/A+ # have problems creating the table of contents. If linking a library
18810N/A+ # or program results in "error TOC overflow" add -mminimal-toc to
18810N/A+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18810N/A+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18810N/A+
18810N/A+ _LT_TAGVAR(archive_cmds, $1)=''
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
18810N/A+ _LT_TAGVAR(link_all_deplibs, $1)=yes
18810N/A+ _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
18810N/A+
18810N/A+ if test "$GXX" = yes; then
18810N/A+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
18810N/A+ # We only want to do this on AIX 4.2 and lower, the check
18810N/A+ # below for broken collect2 doesn't work under 4.3+
18810N/A+ collect2name=`${CC} -print-prog-name=collect2`
18810N/A+ if test -f "$collect2name" &&
18810N/A+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
18810N/A+ then
18810N/A+ # We have reworked collect2
18810N/A+ :
18810N/A+ else
18810N/A+ # We have old collect2
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
18810N/A+ # It fails to find uninstalled libraries when the uninstalled
18810N/A+ # path is not listed in the libpath. Setting hardcode_minus_L
18810N/A+ # to unsupported forces relinking
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
18810N/A+ fi
18810N/A+ esac
18810N/A+ shared_flag='-shared'
18810N/A+ if test "$aix_use_runtimelinking" = yes; then
18810N/A+ shared_flag="$shared_flag "'${wl}-G'
18810N/A+ fi
18810N/A+ else
18810N/A+ # not using gcc
18810N/A+ if test "$host_cpu" = ia64; then
18810N/A+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18810N/A+ # chokes on -Wl,-G. The following line is correct:
18810N/A+ shared_flag='-G'
18810N/A+ else
18810N/A+ if test "$aix_use_runtimelinking" = yes; then
18810N/A+ shared_flag='${wl}-G'
18810N/A+ else
18810N/A+ shared_flag='${wl}-bM:SRE'
18810N/A+ fi
18810N/A+ fi
18810N/A+ fi
18810N/A+
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
18810N/A+ # It seems that -bexpall does not export symbols beginning with
18810N/A+ # underscore (_), so it is better to generate a list of symbols to
18810N/A+ # export.
18810N/A+ _LT_TAGVAR(always_export_symbols, $1)=yes
18810N/A+ if test "$aix_use_runtimelinking" = yes; then
18810N/A+ # Warning - without using the other runtime loading flags (-brtl),
18810N/A+ # -berok will link without error, but may produce a broken library.
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
18810N/A+ # Determine the default libpath from the value encoded in an empty
18810N/A+ # executable.
18810N/A+ _LT_SYS_MODULE_PATH_AIX
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
18810N/A+
18810N/A+ _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"
18810N/A+ else
18810N/A+ if test "$host_cpu" = ia64; then
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
18810N/A+ _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"
18810N/A+ else
18810N/A+ # Determine the default libpath from the value encoded in an
18810N/A+ # empty executable.
18810N/A+ _LT_SYS_MODULE_PATH_AIX
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
18810N/A+ # Warning - without using the other run time loading flags,
18810N/A+ # -berok will link without error, but may produce a broken library.
18810N/A+ _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
18810N/A+ # Exported symbols can be pulled into shared objects from archives
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
18810N/A+ # This is similar to how AIX traditionally builds its shared
18810N/A+ # libraries.
18810N/A+ _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'
18810N/A+ fi
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ beos*)
18810N/A+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
18810N/A+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18810N/A+ # support --undefined. This deserves some investigation. FIXME
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ else
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ chorus*)
18810N/A+ case $cc_basename in
18810N/A+ *)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ cygwin* | mingw* | pw32* | cegcc*)
18810N/A+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
18810N/A+ # as there is no search path for DLLs.
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
18810N/A+ _LT_TAGVAR(always_export_symbols, $1)=no
18810N/A+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
18810N/A+
18810N/A+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
18810N/A+ _LT_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'
18810N/A+ # If the export-symbols file already is a .def file (1st line
18810N/A+ # is EXPORTS), use it as is; otherwise, prepend...
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18810N/A+ cp $export_symbols $output_objdir/$soname.def;
18810N/A+ else
18810N/A+ echo EXPORTS > $output_objdir/$soname.def;
18810N/A+ cat $export_symbols >> $output_objdir/$soname.def;
18810N/A+ fi~
18810N/A+ $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'
18810N/A+ else
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+ darwin* | rhapsody*)
18810N/A+ _LT_DARWIN_LINKER_FEATURES($1)
18810N/A+ ;;
18810N/A+
18810N/A+ dgux*)
18810N/A+ case $cc_basename in
18810N/A+ ec++*)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ ghcx*)
18810N/A+ # Green Hills C++ Compiler
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ *)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ freebsd[[12]]*)
18810N/A+ # C++ shared libraries reported to be fairly broken before
18810N/A+ # switch to ELF
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ freebsd-elf*)
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ freebsd* | dragonfly*)
18810N/A+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18810N/A+ # conventions
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=yes
18810N/A+ ;;
18810N/A+
18810N/A+ gnu*)
18810N/A+ ;;
18810N/A+
18810N/A+ hpux9*)
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
18810N/A+ # but as the default
18810N/A+ # location of the library.
18810N/A+
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ aCC*)
18810N/A+ _LT_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'
18810N/A+ # Commands to make compiler produce verbose output that lists
18810N/A+ # what "hidden" libraries, object files and flags are used when
18810N/A+ # linking a shared library.
18810N/A+ #
18810N/A+ # There doesn't appear to be a way to prevent this compiler from
18810N/A+ # explicitly linking system object files so we need to strip them
18810N/A+ # from the output so that they don't get included in the library
18810N/A+ # dependencies.
18810N/A+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ if test "$GXX" = yes; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18810N/A+ else
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ hpux10*|hpux11*)
18810N/A+ if test $with_gnu_ld = no; then
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+
18810N/A+ case $host_cpu in
18810N/A+ hppa*64*|ia64*)
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ case $host_cpu in
18810N/A+ hppa*64*|ia64*)
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
18810N/A+ # but as the default
18810N/A+ # location of the library.
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ aCC*)
18810N/A+ case $host_cpu in
18810N/A+ hppa*64*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18810N/A+ ;;
18810N/A+ ia64*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_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'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ # Commands to make compiler produce verbose output that lists
18810N/A+ # what "hidden" libraries, object files and flags are used when
18810N/A+ # linking a shared library.
18810N/A+ #
18810N/A+ # There doesn't appear to be a way to prevent this compiler from
18810N/A+ # explicitly linking system object files so we need to strip them
18810N/A+ # from the output so that they don't get included in the library
18810N/A+ # dependencies.
18810N/A+ 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 "X$list" | $Xsed'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ if test "$GXX" = yes; then
18810N/A+ if test $with_gnu_ld = no; then
18810N/A+ case $host_cpu in
18810N/A+ hppa*64*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18810N/A+ ;;
18810N/A+ ia64*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ else
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ interix[[3-9]]*)
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18810N/A+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18810N/A+ # Instead, shared libraries are loaded at an image base (0x10000000 by
18810N/A+ # default) and relocated if they conflict, which is a slow very memory
18810N/A+ # consuming and fragmenting process. To avoid this, we pick a random,
18810N/A+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18810N/A+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18810N/A+ _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'
18810N/A+ _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'
18810N/A+ ;;
18810N/A+ irix5* | irix6*)
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ # SGI C++
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18810N/A+
18810N/A+ # Archives containing C++ object files must be created using
18810N/A+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18810N/A+ # necessary to make sure instantiated templates are included
18810N/A+ # in the archive.
18810N/A+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ if test "$GXX" = yes; then
18810N/A+ if test "$with_gnu_ld" = no; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
18810N/A+ else
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
18810N/A+ fi
18810N/A+ fi
18810N/A+ _LT_TAGVAR(link_all_deplibs, $1)=yes
18810N/A+ ;;
18810N/A+ esac
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+ _LT_TAGVAR(inherit_rpath, $1)=yes
18810N/A+ ;;
18810N/A+
18810N/A+ linux* | k*bsd*-gnu)
18810N/A+ case $cc_basename in
18810N/A+ KCC*)
18810N/A+ # Kuck and Associates, Inc. (KAI) C++ Compiler
18810N/A+
18810N/A+ # KCC will only create a shared library if the output file
18810N/A+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
18810N/A+ # to its proper name (with version) after linking.
18810N/A+ _LT_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'
18810N/A+ _LT_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'
18810N/A+ # Commands to make compiler produce verbose output that lists
18810N/A+ # what "hidden" libraries, object files and flags are used when
18810N/A+ # linking a shared library.
18810N/A+ #
18810N/A+ # There doesn't appear to be a way to prevent this compiler from
18810N/A+ # explicitly linking system object files so we need to strip them
18810N/A+ # from the output so that they don't get included in the library
18810N/A+ # dependencies.
18810N/A+ 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 "X$list" | $Xsed'
18810N/A+
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
18810N/A+
18810N/A+ # Archives containing C++ object files must be created using
18810N/A+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18810N/A+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
18810N/A+ ;;
18810N/A+ icpc* | ecpc* )
18810N/A+ # Intel C++
18810N/A+ with_gnu_ld=yes
18810N/A+ # version 8.0 and above of icpc choke on multiply defined symbols
18810N/A+ # if we add $predep_objects and $postdep_objects, however 7.1 and
18810N/A+ # earlier do not add the objects themselves.
18810N/A+ case `$CC -V 2>&1` in
18810N/A+ *"Version 7."*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ _LT_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'
18810N/A+ ;;
18810N/A+ *) # Version 8.0 or newer
18810N/A+ tmp_idyn=
18810N/A+ case $host_cpu in
18810N/A+ ia64*) tmp_idyn=' -i_dynamic';;
18810N/A+ esac
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ _LT_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'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18810N/A+ ;;
18810N/A+ pgCC* | pgcpp*)
18810N/A+ # Portland Group C++ compiler
18810N/A+ case `$CC -V` in
18810N/A+ *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
18810N/A+ _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
18810N/A+ rm -rf $tpldir~
18810N/A+ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18810N/A+ compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
18810N/A+ _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
18810N/A+ rm -rf $tpldir~
18810N/A+ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18810N/A+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
18810N/A+ $RANLIB $oldlib'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
18810N/A+ rm -rf $tpldir~
18810N/A+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18810N/A+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
18810N/A+ rm -rf $tpldir~
18810N/A+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18810N/A+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18810N/A+ ;;
18810N/A+ *) # Version 6 will use weak symbols
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18810N/A+ _LT_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'
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
18810N/A+ _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'
18810N/A+ ;;
18810N/A+ cxx*)
18810N/A+ # Compaq C++
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ _LT_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'
18810N/A+
18810N/A+ runpath_var=LD_RUN_PATH
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+
18810N/A+ # Commands to make compiler produce verbose output that lists
18810N/A+ # what "hidden" libraries, object files and flags are used when
18810N/A+ # linking a shared library.
18810N/A+ #
18810N/A+ # There doesn't appear to be a way to prevent this compiler from
18810N/A+ # explicitly linking system object files so we need to strip them
18810N/A+ # from the output so that they don't get included in the library
18810N/A+ # dependencies.
18810N/A+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
18810N/A+ ;;
18810N/A+ xl*)
18810N/A+ # IBM XL 8.0 on PPC, with GNU ld
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18810N/A+ if test "x$supports_anon_versioning" = xyes; then
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
18810N/A+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18810N/A+ echo "local: *; };" >> $output_objdir/$libname.ver~
18810N/A+ $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18810N/A+ fi
18810N/A+ ;;
18810N/A+ *)
18810N/A+ case `$CC -V 2>&1 | sed 5q` in
18810N/A+ *Sun\ C*)
18810N/A+ # Sun C++ 5.9
18810N/A+ _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18810N/A+ _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'
18810N/A+ _LT_TAGVAR(compiler_needs_object, $1)=yes
18810N/A+
18810N/A+ # Not sure whether something based on
18810N/A+ # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18810N/A+ # would be better.
18810N/A+ output_verbose_link_cmd='echo'
18810N/A+
18810N/A+ # Archives containing C++ object files must be created using
18810N/A+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
18810N/A+ # necessary to make sure instantiated templates are included
18810N/A+ # in the archive.
18810N/A+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ lynxos*)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ m88k*)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ mvs*)
18810N/A+ case $cc_basename in
18810N/A+ cxx*)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ *)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ netbsd*)
18810N/A+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18810N/A+ wlarc=
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ fi
18810N/A+ # Workaround some broken pre-1.5 toolchains
18810N/A+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18810N/A+ ;;
18810N/A+
18810N/A+ *nto* | *qnx*)
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=yes
18810N/A+ ;;
18810N/A+
18810N/A+ openbsd2*)
18810N/A+ # C++ shared libraries are fairly broken
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ openbsd*)
18810N/A+ if test -f /usr/libexec/ld.so; then
18810N/A+ _LT_TAGVAR(hardcode_direct, $1)=yes
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18810N/A+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18810N/A+ _LT_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'
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18810N/A+ fi
18810N/A+ output_verbose_link_cmd=echo
18810N/A+ else
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ osf3* | osf4* | osf5*)
18810N/A+ case $cc_basename in
18810N/A+ KCC*)
18810N/A+ # Kuck and Associates, Inc. (KAI) C++ Compiler
18810N/A+
18810N/A+ # KCC will only create a shared library if the output file
18810N/A+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
18810N/A+ # to its proper name (with version) after linking.
18810N/A+ _LT_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'
18810N/A+
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+
18810N/A+ # Archives containing C++ object files must be created using
18810N/A+ # the KAI C++ compiler.
18810N/A+ case $host in
18810N/A+ osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
18810N/A+ *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+ RCC*)
18810N/A+ # Rational C++ 2.4.1
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ cxx*)
18810N/A+ case $host in
18810N/A+ osf3*)
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18810N/A+ echo "-hidden">> $lib.exp~
18810N/A+ $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
18810N/A+ $RM $lib.exp'
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+
18810N/A+ # Commands to make compiler produce verbose output that lists
18810N/A+ # what "hidden" libraries, object files and flags are used when
18810N/A+ # linking a shared library.
18810N/A+ #
18810N/A+ # There doesn't appear to be a way to prevent this compiler from
18810N/A+ # explicitly linking system object files so we need to strip them
18810N/A+ # from the output so that they don't get included in the library
18810N/A+ # dependencies.
18810N/A+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
18810N/A+ case $host in
18810N/A+ osf3*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
18810N/A+
18810N/A+ # Commands to make compiler produce verbose output that lists
18810N/A+ # what "hidden" libraries, object files and flags are used when
18810N/A+ # linking a shared library.
18810N/A+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18810N/A+
18810N/A+ else
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ psos*)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ sunos4*)
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ # Sun C++ 4.x
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ lcc*)
18810N/A+ # Lucid
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ *)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ solaris*)
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ # Sun C++ 4.2, 5.x and Centerline C++
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
18810N/A+ _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18810N/A+ $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'
18810N/A+
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ case $host_os in
18810N/A+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
18810N/A+ *)
18810N/A+ # The compiler driver will combine and reorder linker options,
18810N/A+ # but understands `-z linker_flag'.
18810N/A+ # Supported since Solaris 2.6 (maybe 2.5.1?)
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ _LT_TAGVAR(link_all_deplibs, $1)=yes
18810N/A+
18810N/A+ output_verbose_link_cmd='echo'
18810N/A+
18810N/A+ # Archives containing C++ object files must be created using
18810N/A+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
18810N/A+ # necessary to make sure instantiated templates are included
18810N/A+ # in the archive.
18810N/A+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
18810N/A+ ;;
18810N/A+ gcx*)
18810N/A+ # Green Hills C++ Compiler
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18810N/A+
18810N/A+ # The C++ compiler must be used to create the archive.
18810N/A+ _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ # GNU C++ compiler with Solaris linker
18810N/A+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18810N/A+ _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
18810N/A+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18810N/A+ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18810N/A+
18810N/A+ # Commands to make compiler produce verbose output that lists
18810N/A+ # what "hidden" libraries, object files and flags are used when
18810N/A+ # linking a shared library.
18810N/A+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18810N/A+ else
18810N/A+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
18810N/A+ # platform.
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18810N/A+ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18810N/A+
18810N/A+ # Commands to make compiler produce verbose output that lists
18810N/A+ # what "hidden" libraries, object files and flags are used when
18810N/A+ # linking a shared library.
18810N/A+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18810N/A+ fi
18810N/A+
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
18810N/A+ case $host_os in
18810N/A+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
18810N/A+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ runpath_var='LD_RUN_PATH'
18810N/A+
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ sysv5* | sco3.2v5* | sco5v6*)
18810N/A+ # Note: We can NOT use -z defs as we might desire, because we do not
18810N/A+ # link with -lc, and that would cause any symbols used from libc to
18810N/A+ # always be unresolved, which means just about no library would
18810N/A+ # ever link correctly. If we're not using GNU ld we use -z text
18810N/A+ # though, which does catch some bad symbols but isn't as heavy-handed
18810N/A+ # as -z defs.
18810N/A+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
18810N/A+ _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
18810N/A+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
18810N/A+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
18810N/A+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
18810N/A+ _LT_TAGVAR(link_all_deplibs, $1)=yes
18810N/A+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
18810N/A+ runpath_var='LD_RUN_PATH'
18810N/A+
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ ;;
18810N/A+ *)
18810N/A+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ tandem*)
18810N/A+ case $cc_basename in
18810N/A+ NCC*)
18810N/A+ # NonStop-UX NCC 3.20
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ *)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+ vxworks*)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+
18810N/A+ *)
18810N/A+ # FIXME: insert proper C++ library support
18810N/A+ _LT_TAGVAR(ld_shlibs, $1)=no
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
18810N/A+ test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
18810N/A+
18810N/A+ _LT_TAGVAR(GCC, $1)="$GXX"
18810N/A+ _LT_TAGVAR(LD, $1)="$LD"
18810N/A+
18810N/A+ ## CAVEAT EMPTOR:
18810N/A+ ## There is no encapsulation within the following macros, do not change
18810N/A+ ## the running order or otherwise move them around unless you know exactly
18810N/A+ ## what you are doing...
18810N/A+ _LT_SYS_HIDDEN_LIBDEPS($1)
18810N/A+ _LT_COMPILER_PIC($1)
18810N/A+ _LT_COMPILER_C_O($1)
18810N/A+ _LT_COMPILER_FILE_LOCKS($1)
18810N/A+ _LT_LINKER_SHLIBS($1)
18810N/A+ _LT_SYS_DYNAMIC_LINKER($1)
18810N/A+ _LT_LINKER_HARDCODE_LIBPATH($1)
18810N/A+
18810N/A+ _LT_CONFIG($1)
18810N/A+ fi # test -n "$compiler"
18810N/A+
18810N/A+ CC=$lt_save_CC
18810N/A+ LDCXX=$LD
18810N/A+ LD=$lt_save_LD
18810N/A+ GCC=$lt_save_GCC
18810N/A+ with_gnu_ld=$lt_save_with_gnu_ld
18810N/A+ lt_cv_path_LDCXX=$lt_cv_path_LD
18810N/A+ lt_cv_path_LD=$lt_save_path_LD
18810N/A+ lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18810N/A+ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18810N/A+fi # test "$_lt_caught_CXX_error" != yes
18810N/A+
18810N/A+AC_LANG_POP
18810N/A+])# _LT_LANG_CXX_CONFIG
18810N/A+
18810N/A+
18810N/A+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
18810N/A+# ---------------------------------
18810N/A+# Figure out "hidden" library dependencies from verbose
18810N/A+# compiler output when linking a shared library.
18810N/A+# Parse the compiler output and extract the necessary
18810N/A+# objects, libraries and library flags.
18810N/A+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
18810N/A+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
18810N/A+# Dependencies to place before and after the object being linked:
18810N/A+_LT_TAGVAR(predep_objects, $1)=
18810N/A+_LT_TAGVAR(postdep_objects, $1)=
18810N/A+_LT_TAGVAR(predeps, $1)=
18810N/A+_LT_TAGVAR(postdeps, $1)=
18810N/A+_LT_TAGVAR(compiler_lib_search_path, $1)=
18810N/A+
18810N/A+dnl we can't use the lt_simple_compile_test_code here,
18810N/A+dnl because it contains code intended for an executable,
18810N/A+dnl not a library. It's possible we should let each
18810N/A+dnl tag define a new lt_????_link_test_code variable,
18810N/A+dnl but it's only used here...
18810N/A+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
18810N/A+int a;
18810N/A+void foo (void) { a = 0; }
18810N/A+_LT_EOF
18810N/A+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
18810N/A+class Foo
18810N/A+{
18810N/A+public:
18810N/A+ Foo (void) { a = 0; }
18810N/A+private:
18810N/A+ int a;
18810N/A+};
18810N/A+_LT_EOF
18810N/A+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
18810N/A+ subroutine foo
18810N/A+ implicit none
18810N/A+ integer*4 a
18810N/A+ a=0
18810N/A+ return
18810N/A+ end
18810N/A+_LT_EOF
18810N/A+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
18810N/A+ subroutine foo
18810N/A+ implicit none
18810N/A+ integer a
18810N/A+ a=0
18810N/A+ return
18810N/A+ end
18810N/A+_LT_EOF
18810N/A+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
18810N/A+public class foo {
18810N/A+ private int a;
18810N/A+ public void bar (void) {
18810N/A+ a = 0;
18810N/A+ }
18810N/A+};
18810N/A+_LT_EOF
18810N/A+])
18810N/A+dnl Parse the compiler output and extract the necessary
18810N/A+dnl objects, libraries and library flags.
18810N/A+if AC_TRY_EVAL(ac_compile); then
18810N/A+ # Parse the compiler output and extract the necessary
18810N/A+ # objects, libraries and library flags.
18810N/A+
18810N/A+ # Sentinel used to keep track of whether or not we are before
18810N/A+ # the conftest object file.
18810N/A+ pre_test_object_deps_done=no
18810N/A+
18810N/A+ for p in `eval "$output_verbose_link_cmd"`; do
18810N/A+ case $p in
18810N/A+
18810N/A+ -L* | -R* | -l*)
18810N/A+ # Some compilers place space between "-{L,R}" and the path.
18810N/A+ # Remove the space.
18810N/A+ if test $p = "-L" ||
18810N/A+ test $p = "-R"; then
18810N/A+ prev=$p
18810N/A+ continue
18810N/A+ else
18810N/A+ prev=
18810N/A+ fi
18810N/A+
18810N/A+ if test "$pre_test_object_deps_done" = no; then
18810N/A+ case $p in
18810N/A+ -L* | -R*)
18810N/A+ # Internal compiler library paths should come after those
18810N/A+ # provided the user. The postdeps already come after the
18810N/A+ # user supplied libs so there is no need to process them.
18810N/A+ if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
18810N/A+ _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
18810N/A+ else
18810N/A+ _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
18810N/A+ fi
18810N/A+ ;;
18810N/A+ # The "-l" case would never come before the object being
18810N/A+ # linked, so don't bother handling this case.
18810N/A+ esac
18810N/A+ else
18810N/A+ if test -z "$_LT_TAGVAR(postdeps, $1)"; then
18810N/A+ _LT_TAGVAR(postdeps, $1)="${prev}${p}"
18810N/A+ else
18810N/A+ _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
18810N/A+ fi
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ *.$objext)
18810N/A+ # This assumes that the test object file only shows up
18810N/A+ # once in the compiler output.
18810N/A+ if test "$p" = "conftest.$objext"; then
18810N/A+ pre_test_object_deps_done=yes
18810N/A+ continue
18810N/A+ fi
18810N/A+
18810N/A+ if test "$pre_test_object_deps_done" = no; then
18810N/A+ if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
18810N/A+ _LT_TAGVAR(predep_objects, $1)="$p"
18810N/A+ else
18810N/A+ _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
18810N/A+ fi
18810N/A+ else
18810N/A+ if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
18810N/A+ _LT_TAGVAR(postdep_objects, $1)="$p"
18810N/A+ else
18810N/A+ _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
18810N/A+ fi
18810N/A+ fi
18810N/A+ ;;
18810N/A+
18810N/A+ *) ;; # Ignore the rest.
18810N/A+
18810N/A+ esac
18810N/A+ done
18810N/A+
18810N/A+ # Clean up.
18810N/A+ rm -f a.out a.exe
18810N/A+else
18810N/A+ echo "libtool.m4: error: problem compiling $1 test program"
18810N/A+fi
18810N/A+
18810N/A+$RM -f confest.$objext
18810N/A+
18810N/A+# PORTME: override above test on systems where it is broken
18810N/A+m4_if([$1], [CXX],
18810N/A+[case $host_os in
18810N/A+interix[[3-9]]*)
18810N/A+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
18810N/A+ # hack all around it, let's just trust "g++" to DTRT.
18810N/A+ _LT_TAGVAR(predep_objects,$1)=
18810N/A+ _LT_TAGVAR(postdep_objects,$1)=
18810N/A+ _LT_TAGVAR(postdeps,$1)=
18810N/A+ ;;
18810N/A+
18810N/A+linux*)
18810N/A+ case `$CC -V 2>&1 | sed 5q` in
18810N/A+ *Sun\ C*)
18810N/A+ # Sun C++ 5.9
18810N/A+
18810N/A+ # The more standards-conforming stlport4 library is
18810N/A+ # incompatible with the Cstd library. Avoid specifying
18810N/A+ # it if it's in CXXFLAGS. Ignore libCrun as
18810N/A+ # -library=stlport4 depends on it.
18810N/A+ case " $CXX $CXXFLAGS " in
18810N/A+ *" -library=stlport4 "*)
18810N/A+ solaris_use_stlport4=yes
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ if test "$solaris_use_stlport4" != yes; then
18810N/A+ _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+
18810N/A+solaris*)
18810N/A+ case $cc_basename in
18810N/A+ CC*)
18810N/A+ # The more standards-conforming stlport4 library is
18810N/A+ # incompatible with the Cstd library. Avoid specifying
18810N/A+ # it if it's in CXXFLAGS. Ignore libCrun as
18810N/A+ # -library=stlport4 depends on it.
18810N/A+ case " $CXX $CXXFLAGS " in
18810N/A+ *" -library=stlport4 "*)
18810N/A+ solaris_use_stlport4=yes
18810N/A+ ;;
18810N/A+ esac
18810N/A+
18810N/A+ # Adding this requires a known-good setup of shared libraries for
18810N/A+ # Sun compiler versions before 5.6, else PIC objects from an old
18810N/A+ # archive will be linked into the output, leading to subtle bugs.
18810N/A+ if test "$solaris_use_stlport4" != yes; then
18810N/A+ _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ ;;
18810N/A+esac
18810N/A+])
18810N/A+
18810N/A+case " $_LT_TAGVAR(postdeps, $1) " in
18810N/A+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
18810N/A+esac
18810N/A+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=
18810N/A+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
18810N/A+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
18810N/A+fi
18810N/A+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
18810N/A+ [The directories searched by this compiler when creating a shared library])
18810N/A+_LT_TAGDECL([], [predep_objects], [1],
18810N/A+ [Dependencies to place before and after the objects being linked to
18810N/A+ create a shared library])
18810N/A+_LT_TAGDECL([], [postdep_objects], [1])
18810N/A+_LT_TAGDECL([], [predeps], [1])
18810N/A+_LT_TAGDECL([], [postdeps], [1])
18810N/A+_LT_TAGDECL([], [compiler_lib_search_path], [1],
18810N/A+ [The library search path used internally by the compiler when linking
18810N/A+ a shared library])
18810N/A+])# _LT_SYS_HIDDEN_LIBDEPS
18810N/A+
18810N/A+
18810N/A+# _LT_PROG_F77
18810N/A+# ------------
18810N/A+# Since AC_PROG_F77 is broken, in that it returns the empty string
18810N/A+# if there is no fortran compiler, we have our own version here.
18810N/A+m4_defun([_LT_PROG_F77],
18810N/A+[
18810N/A+pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
18810N/A+AC_PROG_F77
18810N/A+if test -z "$F77" || test "X$F77" = "Xno"; then
18810N/A+ _lt_disable_F77=yes
18810N/A+fi
18810N/A+popdef([AC_MSG_ERROR])
18810N/A+])# _LT_PROG_F77
18810N/A+
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([_LT_PROG_F77], [])
18810N/A+
18810N/A+
18810N/A+# _LT_LANG_F77_CONFIG([TAG])
18810N/A+# --------------------------
18810N/A+# Ensure that the configuration variables for a Fortran 77 compiler are
18810N/A+# suitably defined. These variables are subsequently used by _LT_CONFIG
18810N/A+# to write the compiler configuration to `libtool'.
18810N/A+m4_defun([_LT_LANG_F77_CONFIG],
18810N/A+[AC_REQUIRE([_LT_PROG_F77])dnl
18810N/A+AC_LANG_PUSH(Fortran 77)
18810N/A+
18810N/A+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
18810N/A+_LT_TAGVAR(allow_undefined_flag, $1)=
18810N/A+_LT_TAGVAR(always_export_symbols, $1)=no
18810N/A+_LT_TAGVAR(archive_expsym_cmds, $1)=
18810N/A+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
18810N/A+_LT_TAGVAR(hardcode_direct, $1)=no
18810N/A+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
18810N/A+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
18810N/A+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
18810N/A+_LT_TAGVAR(hardcode_libdir_separator, $1)=
18810N/A+_LT_TAGVAR(hardcode_minus_L, $1)=no
18810N/A+_LT_TAGVAR(hardcode_automatic, $1)=no
18810N/A+_LT_TAGVAR(inherit_rpath, $1)=no
18810N/A+_LT_TAGVAR(module_cmds, $1)=
18810N/A+_LT_TAGVAR(module_expsym_cmds, $1)=
18810N/A+_LT_TAGVAR(link_all_deplibs, $1)=unknown
18810N/A+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
18810N/A+_LT_TAGVAR(no_undefined_flag, $1)=
18810N/A+_LT_TAGVAR(whole_archive_flag_spec, $1)=
18810N/A+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
18810N/A+
18810N/A+# Source file extension for f77 test sources.
18810N/A+ac_ext=f
18810N/A+
18810N/A+# Object file extension for compiled f77 test sources.
18810N/A+objext=o
18810N/A+_LT_TAGVAR(objext, $1)=$objext
18810N/A+
18810N/A+# No sense in running all these tests if we already determined that
18810N/A+# the F77 compiler isn't working. Some variables (like enable_shared)
18810N/A+# are currently assumed to apply to all compilers on this platform,
18810N/A+# and will be corrupted by setting them based on a non-working compiler.
18810N/A+if test "$_lt_disable_F77" != yes; then
18810N/A+ # Code to be used in simple compile tests
18810N/A+ lt_simple_compile_test_code="\
18810N/A+ subroutine t
18810N/A+ return
18810N/A+ end
18810N/A+"
18810N/A+
18810N/A+ # Code to be used in simple link tests
18810N/A+ lt_simple_link_test_code="\
18810N/A+ program t
18810N/A+ end
18810N/A+"
18810N/A+
18810N/A+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18810N/A+ _LT_TAG_COMPILER
18810N/A+
18810N/A+ # save warnings/boilerplate of simple test code
18810N/A+ _LT_COMPILER_BOILERPLATE
18810N/A+ _LT_LINKER_BOILERPLATE
18810N/A+
18810N/A+ # Allow CC to be a program name with arguments.
18810N/A+ lt_save_CC="$CC"
18810N/A+ lt_save_GCC=$GCC
18810N/A+ CC=${F77-"f77"}
18810N/A+ compiler=$CC
18810N/A+ _LT_TAGVAR(compiler, $1)=$CC
18810N/A+ _LT_CC_BASENAME([$compiler])
18810N/A+ GCC=$G77
18810N/A+ if test -n "$compiler"; then
18810N/A+ AC_MSG_CHECKING([if libtool supports shared libraries])
18810N/A+ AC_MSG_RESULT([$can_build_shared])
18810N/A+
18810N/A+ AC_MSG_CHECKING([whether to build shared libraries])
18810N/A+ test "$can_build_shared" = "no" && enable_shared=no
18810N/A+
18810N/A+ # On AIX, shared libraries and static libraries use the same namespace, and
18810N/A+ # are all built from PIC.
18810N/A+ case $host_os in
18810N/A+ aix3*)
18810N/A+ test "$enable_shared" = yes && enable_static=no
18810N/A+ if test -n "$RANLIB"; then
18810N/A+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
18810N/A+ postinstall_cmds='$RANLIB $lib'
18810N/A+ fi
18810N/A+ ;;
18810N/A+ aix[[4-9]]*)
18810N/A+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
18810N/A+ test "$enable_shared" = yes && enable_static=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ AC_MSG_RESULT([$enable_shared])
18810N/A+
18810N/A+ AC_MSG_CHECKING([whether to build static libraries])
18810N/A+ # Make sure either enable_shared or enable_static is yes.
18810N/A+ test "$enable_shared" = yes || enable_static=yes
18810N/A+ AC_MSG_RESULT([$enable_static])
18810N/A+
18810N/A+ _LT_TAGVAR(GCC, $1)="$G77"
18810N/A+ _LT_TAGVAR(LD, $1)="$LD"
18810N/A+
18810N/A+ ## CAVEAT EMPTOR:
18810N/A+ ## There is no encapsulation within the following macros, do not change
18810N/A+ ## the running order or otherwise move them around unless you know exactly
18810N/A+ ## what you are doing...
18810N/A+ _LT_COMPILER_PIC($1)
18810N/A+ _LT_COMPILER_C_O($1)
18810N/A+ _LT_COMPILER_FILE_LOCKS($1)
18810N/A+ _LT_LINKER_SHLIBS($1)
18810N/A+ _LT_SYS_DYNAMIC_LINKER($1)
18810N/A+ _LT_LINKER_HARDCODE_LIBPATH($1)
18810N/A+
18810N/A+ _LT_CONFIG($1)
18810N/A+ fi # test -n "$compiler"
18810N/A+
18810N/A+ GCC=$lt_save_GCC
18810N/A+ CC="$lt_save_CC"
18810N/A+fi # test "$_lt_disable_F77" != yes
18810N/A+
18810N/A+AC_LANG_POP
18810N/A+])# _LT_LANG_F77_CONFIG
18810N/A+
18810N/A+
18810N/A+# _LT_PROG_FC
18810N/A+# -----------
18810N/A+# Since AC_PROG_FC is broken, in that it returns the empty string
18810N/A+# if there is no fortran compiler, we have our own version here.
18810N/A+m4_defun([_LT_PROG_FC],
18810N/A+[
18810N/A+pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
18810N/A+AC_PROG_FC
18810N/A+if test -z "$FC" || test "X$FC" = "Xno"; then
18810N/A+ _lt_disable_FC=yes
18810N/A+fi
18810N/A+popdef([AC_MSG_ERROR])
18810N/A+])# _LT_PROG_FC
18810N/A+
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([_LT_PROG_FC], [])
18810N/A+
18810N/A+
18810N/A+# _LT_LANG_FC_CONFIG([TAG])
18810N/A+# -------------------------
18810N/A+# Ensure that the configuration variables for a Fortran compiler are
18810N/A+# suitably defined. These variables are subsequently used by _LT_CONFIG
18810N/A+# to write the compiler configuration to `libtool'.
18810N/A+m4_defun([_LT_LANG_FC_CONFIG],
18810N/A+[AC_REQUIRE([_LT_PROG_FC])dnl
18810N/A+AC_LANG_PUSH(Fortran)
18810N/A+
18810N/A+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
18810N/A+_LT_TAGVAR(allow_undefined_flag, $1)=
18810N/A+_LT_TAGVAR(always_export_symbols, $1)=no
18810N/A+_LT_TAGVAR(archive_expsym_cmds, $1)=
18810N/A+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
18810N/A+_LT_TAGVAR(hardcode_direct, $1)=no
18810N/A+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
18810N/A+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
18810N/A+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
18810N/A+_LT_TAGVAR(hardcode_libdir_separator, $1)=
18810N/A+_LT_TAGVAR(hardcode_minus_L, $1)=no
18810N/A+_LT_TAGVAR(hardcode_automatic, $1)=no
18810N/A+_LT_TAGVAR(inherit_rpath, $1)=no
18810N/A+_LT_TAGVAR(module_cmds, $1)=
18810N/A+_LT_TAGVAR(module_expsym_cmds, $1)=
18810N/A+_LT_TAGVAR(link_all_deplibs, $1)=unknown
18810N/A+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
18810N/A+_LT_TAGVAR(no_undefined_flag, $1)=
18810N/A+_LT_TAGVAR(whole_archive_flag_spec, $1)=
18810N/A+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
18810N/A+
18810N/A+# Source file extension for fc test sources.
18810N/A+ac_ext=${ac_fc_srcext-f}
18810N/A+
18810N/A+# Object file extension for compiled fc test sources.
18810N/A+objext=o
18810N/A+_LT_TAGVAR(objext, $1)=$objext
18810N/A+
18810N/A+# No sense in running all these tests if we already determined that
18810N/A+# the FC compiler isn't working. Some variables (like enable_shared)
18810N/A+# are currently assumed to apply to all compilers on this platform,
18810N/A+# and will be corrupted by setting them based on a non-working compiler.
18810N/A+if test "$_lt_disable_FC" != yes; then
18810N/A+ # Code to be used in simple compile tests
18810N/A+ lt_simple_compile_test_code="\
18810N/A+ subroutine t
18810N/A+ return
18810N/A+ end
18810N/A+"
18810N/A+
18810N/A+ # Code to be used in simple link tests
18810N/A+ lt_simple_link_test_code="\
18810N/A+ program t
18810N/A+ end
18810N/A+"
18810N/A+
18810N/A+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18810N/A+ _LT_TAG_COMPILER
18810N/A+
18810N/A+ # save warnings/boilerplate of simple test code
18810N/A+ _LT_COMPILER_BOILERPLATE
18810N/A+ _LT_LINKER_BOILERPLATE
18810N/A+
18810N/A+ # Allow CC to be a program name with arguments.
18810N/A+ lt_save_CC="$CC"
18810N/A+ lt_save_GCC=$GCC
18810N/A+ CC=${FC-"f95"}
18810N/A+ compiler=$CC
18810N/A+ GCC=$ac_cv_fc_compiler_gnu
18810N/A+
18810N/A+ _LT_TAGVAR(compiler, $1)=$CC
18810N/A+ _LT_CC_BASENAME([$compiler])
18810N/A+
18810N/A+ if test -n "$compiler"; then
18810N/A+ AC_MSG_CHECKING([if libtool supports shared libraries])
18810N/A+ AC_MSG_RESULT([$can_build_shared])
18810N/A+
18810N/A+ AC_MSG_CHECKING([whether to build shared libraries])
18810N/A+ test "$can_build_shared" = "no" && enable_shared=no
18810N/A+
18810N/A+ # On AIX, shared libraries and static libraries use the same namespace, and
18810N/A+ # are all built from PIC.
18810N/A+ case $host_os in
18810N/A+ aix3*)
18810N/A+ test "$enable_shared" = yes && enable_static=no
18810N/A+ if test -n "$RANLIB"; then
18810N/A+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
18810N/A+ postinstall_cmds='$RANLIB $lib'
18810N/A+ fi
18810N/A+ ;;
18810N/A+ aix[[4-9]]*)
18810N/A+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
18810N/A+ test "$enable_shared" = yes && enable_static=no
18810N/A+ fi
18810N/A+ ;;
18810N/A+ esac
18810N/A+ AC_MSG_RESULT([$enable_shared])
18810N/A+
18810N/A+ AC_MSG_CHECKING([whether to build static libraries])
18810N/A+ # Make sure either enable_shared or enable_static is yes.
18810N/A+ test "$enable_shared" = yes || enable_static=yes
18810N/A+ AC_MSG_RESULT([$enable_static])
18810N/A+
18810N/A+ _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
18810N/A+ _LT_TAGVAR(LD, $1)="$LD"
18810N/A+
18810N/A+ ## CAVEAT EMPTOR:
18810N/A+ ## There is no encapsulation within the following macros, do not change
18810N/A+ ## the running order or otherwise move them around unless you know exactly
18810N/A+ ## what you are doing...
18810N/A+ _LT_SYS_HIDDEN_LIBDEPS($1)
18810N/A+ _LT_COMPILER_PIC($1)
18810N/A+ _LT_COMPILER_C_O($1)
18810N/A+ _LT_COMPILER_FILE_LOCKS($1)
18810N/A+ _LT_LINKER_SHLIBS($1)
18810N/A+ _LT_SYS_DYNAMIC_LINKER($1)
18810N/A+ _LT_LINKER_HARDCODE_LIBPATH($1)
18810N/A+
18810N/A+ _LT_CONFIG($1)
18810N/A+ fi # test -n "$compiler"
18810N/A+
18810N/A+ GCC=$lt_save_GCC
18810N/A+ CC="$lt_save_CC"
18810N/A+fi # test "$_lt_disable_FC" != yes
18810N/A+
18810N/A+AC_LANG_POP
18810N/A+])# _LT_LANG_FC_CONFIG
18810N/A+
18810N/A+
18810N/A+# _LT_LANG_GCJ_CONFIG([TAG])
18810N/A+# --------------------------
18810N/A+# Ensure that the configuration variables for the GNU Java Compiler compiler
18810N/A+# are suitably defined. These variables are subsequently used by _LT_CONFIG
18810N/A+# to write the compiler configuration to `libtool'.
18810N/A+m4_defun([_LT_LANG_GCJ_CONFIG],
18810N/A+[AC_REQUIRE([LT_PROG_GCJ])dnl
18810N/A+AC_LANG_SAVE
18810N/A+
18810N/A+# Source file extension for Java test sources.
18810N/A+ac_ext=java
18810N/A+
18810N/A+# Object file extension for compiled Java test sources.
18810N/A+objext=o
18810N/A+_LT_TAGVAR(objext, $1)=$objext
18810N/A+
18810N/A+# Code to be used in simple compile tests
18810N/A+lt_simple_compile_test_code="class foo {}"
18810N/A+
18810N/A+# Code to be used in simple link tests
18810N/A+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
18810N/A+
18810N/A+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18810N/A+_LT_TAG_COMPILER
18810N/A+
18810N/A+# save warnings/boilerplate of simple test code
18810N/A+_LT_COMPILER_BOILERPLATE
18810N/A+_LT_LINKER_BOILERPLATE
18810N/A+
18810N/A+# Allow CC to be a program name with arguments.
18810N/A+lt_save_CC="$CC"
18810N/A+lt_save_GCC=$GCC
18810N/A+GCC=yes
18810N/A+CC=${GCJ-"gcj"}
18810N/A+compiler=$CC
18810N/A+_LT_TAGVAR(compiler, $1)=$CC
18810N/A+_LT_TAGVAR(LD, $1)="$LD"
18810N/A+_LT_CC_BASENAME([$compiler])
18810N/A+
18810N/A+# GCJ did not exist at the time GCC didn't implicitly link libc in.
18810N/A+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
18810N/A+
18810N/A+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
18810N/A+
18810N/A+## CAVEAT EMPTOR:
18810N/A+## There is no encapsulation within the following macros, do not change
18810N/A+## the running order or otherwise move them around unless you know exactly
18810N/A+## what you are doing...
18810N/A+if test -n "$compiler"; then
18810N/A+ _LT_COMPILER_NO_RTTI($1)
18810N/A+ _LT_COMPILER_PIC($1)
18810N/A+ _LT_COMPILER_C_O($1)
18810N/A+ _LT_COMPILER_FILE_LOCKS($1)
18810N/A+ _LT_LINKER_SHLIBS($1)
18810N/A+ _LT_LINKER_HARDCODE_LIBPATH($1)
18810N/A+
18810N/A+ _LT_CONFIG($1)
18810N/A+fi
18810N/A+
18810N/A+AC_LANG_RESTORE
18810N/A+
18810N/A+GCC=$lt_save_GCC
18810N/A+CC="$lt_save_CC"
18810N/A+])# _LT_LANG_GCJ_CONFIG
18810N/A+
18810N/A+
18810N/A+# _LT_LANG_RC_CONFIG([TAG])
18810N/A+# -------------------------
18810N/A+# Ensure that the configuration variables for the Windows resource compiler
18810N/A+# are suitably defined. These variables are subsequently used by _LT_CONFIG
18810N/A+# to write the compiler configuration to `libtool'.
18810N/A+m4_defun([_LT_LANG_RC_CONFIG],
18810N/A+[AC_REQUIRE([LT_PROG_RC])dnl
18810N/A+AC_LANG_SAVE
18810N/A+
18810N/A+# Source file extension for RC test sources.
18810N/A+ac_ext=rc
18810N/A+
18810N/A+# Object file extension for compiled RC test sources.
18810N/A+objext=o
18810N/A+_LT_TAGVAR(objext, $1)=$objext
18810N/A+
18810N/A+# Code to be used in simple compile tests
18810N/A+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18810N/A+
18810N/A+# Code to be used in simple link tests
18810N/A+lt_simple_link_test_code="$lt_simple_compile_test_code"
18810N/A+
18810N/A+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18810N/A+_LT_TAG_COMPILER
18810N/A+
18810N/A+# save warnings/boilerplate of simple test code
18810N/A+_LT_COMPILER_BOILERPLATE
18810N/A+_LT_LINKER_BOILERPLATE
18810N/A+
18810N/A+# Allow CC to be a program name with arguments.
18810N/A+lt_save_CC="$CC"
18810N/A+lt_save_GCC=$GCC
18810N/A+GCC=
18810N/A+CC=${RC-"windres"}
18810N/A+compiler=$CC
18810N/A+_LT_TAGVAR(compiler, $1)=$CC
18810N/A+_LT_CC_BASENAME([$compiler])
18810N/A+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
18810N/A+
18810N/A+if test -n "$compiler"; then
18810N/A+ :
18810N/A+ _LT_CONFIG($1)
18810N/A+fi
18810N/A+
18810N/A+GCC=$lt_save_GCC
18810N/A+AC_LANG_RESTORE
18810N/A+CC="$lt_save_CC"
18810N/A+])# _LT_LANG_RC_CONFIG
18810N/A+
18810N/A+
18810N/A+# LT_PROG_GCJ
18810N/A+# -----------
18810N/A+AC_DEFUN([LT_PROG_GCJ],
18810N/A+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
18810N/A+ [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
18810N/A+ [AC_CHECK_TOOL(GCJ, gcj,)
18810N/A+ test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
18810N/A+ AC_SUBST(GCJFLAGS)])])[]dnl
18810N/A+])
18810N/A+
18810N/A+# Old name:
18810N/A+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
18810N/A+
18810N/A+
18810N/A+# LT_PROG_RC
18810N/A+# ----------
18810N/A+AC_DEFUN([LT_PROG_RC],
18810N/A+[AC_CHECK_TOOL(RC, windres,)
18810N/A+])
18810N/A+
18810N/A+# Old name:
18810N/A+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([LT_AC_PROG_RC], [])
18810N/A+
18810N/A+
18810N/A+# _LT_DECL_EGREP
18810N/A+# --------------
18810N/A+# If we don't have a new enough Autoconf to choose the best grep
18810N/A+# available, choose the one first in the user's PATH.
18810N/A+m4_defun([_LT_DECL_EGREP],
18810N/A+[AC_REQUIRE([AC_PROG_EGREP])dnl
18810N/A+AC_REQUIRE([AC_PROG_FGREP])dnl
18810N/A+test -z "$GREP" && GREP=grep
18810N/A+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
18810N/A+_LT_DECL([], [EGREP], [1], [An ERE matcher])
18810N/A+_LT_DECL([], [FGREP], [1], [A literal string matcher])
18810N/A+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
18810N/A+AC_SUBST([GREP])
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# _LT_DECL_OBJDUMP
18810N/A+# --------------
18810N/A+# If we don't have a new enough Autoconf to choose the best objdump
18810N/A+# available, choose the one first in the user's PATH.
18810N/A+m4_defun([_LT_DECL_OBJDUMP],
18810N/A+[AC_CHECK_TOOL(OBJDUMP, objdump, false)
18810N/A+test -z "$OBJDUMP" && OBJDUMP=objdump
18810N/A+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
18810N/A+AC_SUBST([OBJDUMP])
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# _LT_DECL_SED
18810N/A+# ------------
18810N/A+# Check for a fully-functional sed program, that truncates
18810N/A+# as few characters as possible. Prefer GNU sed if found.
18810N/A+m4_defun([_LT_DECL_SED],
18810N/A+[AC_PROG_SED
18810N/A+test -z "$SED" && SED=sed
18810N/A+Xsed="$SED -e 1s/^X//"
18810N/A+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
18810N/A+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
18810N/A+ [Sed that helps us avoid accidentally triggering echo(1) options like -n])
18810N/A+])# _LT_DECL_SED
18810N/A+
18810N/A+m4_ifndef([AC_PROG_SED], [
18810N/A+############################################################
18810N/A+# NOTE: This macro has been submitted for inclusion into #
18810N/A+# GNU Autoconf as AC_PROG_SED. When it is available in #
18810N/A+# a released version of Autoconf we should remove this #
18810N/A+# macro and use it instead. #
18810N/A+############################################################
18810N/A+
18810N/A+m4_defun([AC_PROG_SED],
18810N/A+[AC_MSG_CHECKING([for a sed that does not truncate output])
18810N/A+AC_CACHE_VAL(lt_cv_path_SED,
18810N/A+[# Loop through the user's path and test for sed and gsed.
18810N/A+# Then use that list of sed's as ones to test for truncation.
18810N/A+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18810N/A+for as_dir in $PATH
18810N/A+do
18810N/A+ IFS=$as_save_IFS
18810N/A+ test -z "$as_dir" && as_dir=.
18810N/A+ for lt_ac_prog in sed gsed; do
18810N/A+ for ac_exec_ext in '' $ac_executable_extensions; do
18810N/A+ if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
18810N/A+ lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
18810N/A+ fi
18810N/A+ done
18810N/A+ done
18810N/A+done
18810N/A+IFS=$as_save_IFS
18810N/A+lt_ac_max=0
18810N/A+lt_ac_count=0
18810N/A+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
18810N/A+# along with /bin/sed that truncates output.
18810N/A+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
18810N/A+ test ! -f $lt_ac_sed && continue
18810N/A+ cat /dev/null > conftest.in
18810N/A+ lt_ac_count=0
18810N/A+ echo $ECHO_N "0123456789$ECHO_C" >conftest.in
18810N/A+ # Check for GNU sed and select it if it is found.
18810N/A+ if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
18810N/A+ lt_cv_path_SED=$lt_ac_sed
18810N/A+ break
18810N/A+ fi
18810N/A+ while true; do
18810N/A+ cat conftest.in conftest.in >conftest.tmp
18810N/A+ mv conftest.tmp conftest.in
18810N/A+ cp conftest.in conftest.nl
18810N/A+ echo >>conftest.nl
18810N/A+ $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
18810N/A+ cmp -s conftest.out conftest.nl || break
18810N/A+ # 10000 chars as input seems more than enough
18810N/A+ test $lt_ac_count -gt 10 && break
18810N/A+ lt_ac_count=`expr $lt_ac_count + 1`
18810N/A+ if test $lt_ac_count -gt $lt_ac_max; then
18810N/A+ lt_ac_max=$lt_ac_count
18810N/A+ lt_cv_path_SED=$lt_ac_sed
18810N/A+ fi
18810N/A+ done
18810N/A+done
18810N/A+])
18810N/A+SED=$lt_cv_path_SED
18810N/A+AC_SUBST([SED])
18810N/A+AC_MSG_RESULT([$SED])
18810N/A+])#AC_PROG_SED
18810N/A+])#m4_ifndef
18810N/A+
18810N/A+# Old name:
18810N/A+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([LT_AC_PROG_SED], [])
18810N/A+
18810N/A+
18810N/A+# _LT_CHECK_SHELL_FEATURES
18810N/A+# ------------------------
18810N/A+# Find out whether the shell is Bourne or XSI compatible,
18810N/A+# or has some other useful features.
18810N/A+m4_defun([_LT_CHECK_SHELL_FEATURES],
18810N/A+[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
18810N/A+# Try some XSI features
18810N/A+xsi_shell=no
18810N/A+( _lt_dummy="a/b/c"
18810N/A+ test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
18810N/A+ = c,a/b,, \
18810N/A+ && eval 'test $(( 1 + 1 )) -eq 2 \
18810N/A+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
18810N/A+ && xsi_shell=yes
18810N/A+AC_MSG_RESULT([$xsi_shell])
18810N/A+_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
18810N/A+
18810N/A+AC_MSG_CHECKING([whether the shell understands "+="])
18810N/A+lt_shell_append=no
18810N/A+( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
18810N/A+ >/dev/null 2>&1 \
18810N/A+ && lt_shell_append=yes
18810N/A+AC_MSG_RESULT([$lt_shell_append])
18810N/A+_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
18810N/A+
18810N/A+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18810N/A+ lt_unset=unset
18810N/A+else
18810N/A+ lt_unset=false
18810N/A+fi
18810N/A+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
18810N/A+
18810N/A+# test EBCDIC or ASCII
18810N/A+case `echo X|tr X '\101'` in
18810N/A+ A) # ASCII based system
18810N/A+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
18810N/A+ lt_SP2NL='tr \040 \012'
18810N/A+ lt_NL2SP='tr \015\012 \040\040'
18810N/A+ ;;
18810N/A+ *) # EBCDIC based system
18810N/A+ lt_SP2NL='tr \100 \n'
18810N/A+ lt_NL2SP='tr \r\n \100\100'
18810N/A+ ;;
18810N/A+esac
18810N/A+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
18810N/A+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
18810N/A+])# _LT_CHECK_SHELL_FEATURES
18810N/A+
18810N/A+
18810N/A+# _LT_PROG_XSI_SHELLFNS
18810N/A+# ---------------------
18810N/A+# Bourne and XSI compatible variants of some useful shell functions.
18810N/A+m4_defun([_LT_PROG_XSI_SHELLFNS],
18810N/A+[case $xsi_shell in
18810N/A+ yes)
18810N/A+ cat << \_LT_EOF >> "$cfgfile"
18810N/A+
18810N/A+# func_dirname file append nondir_replacement
18810N/A+# Compute the dirname of FILE. If nonempty, add APPEND to the result,
18810N/A+# otherwise set result to NONDIR_REPLACEMENT.
18810N/A+func_dirname ()
18810N/A+{
18810N/A+ case ${1} in
18810N/A+ */*) func_dirname_result="${1%/*}${2}" ;;
18810N/A+ * ) func_dirname_result="${3}" ;;
18810N/A+ esac
18810N/A+}
18810N/A+
18810N/A+# func_basename file
18810N/A+func_basename ()
18810N/A+{
18810N/A+ func_basename_result="${1##*/}"
18810N/A+}
18810N/A+
18810N/A+# func_dirname_and_basename file append nondir_replacement
18810N/A+# perform func_basename and func_dirname in a single function
18810N/A+# call:
18810N/A+# dirname: Compute the dirname of FILE. If nonempty,
18810N/A+# add APPEND to the result, otherwise set result
18810N/A+# to NONDIR_REPLACEMENT.
18810N/A+# value returned in "$func_dirname_result"
18810N/A+# basename: Compute filename of FILE.
18810N/A+# value retuned in "$func_basename_result"
18810N/A+# Implementation must be kept synchronized with func_dirname
18810N/A+# and func_basename. For efficiency, we do not delegate to
18810N/A+# those functions but instead duplicate the functionality here.
18810N/A+func_dirname_and_basename ()
18810N/A+{
18810N/A+ case ${1} in
18810N/A+ */*) func_dirname_result="${1%/*}${2}" ;;
18810N/A+ * ) func_dirname_result="${3}" ;;
18810N/A+ esac
18810N/A+ func_basename_result="${1##*/}"
18810N/A+}
18810N/A+
18810N/A+# func_stripname prefix suffix name
18810N/A+# strip PREFIX and SUFFIX off of NAME.
18810N/A+# PREFIX and SUFFIX must not contain globbing or regex special
18810N/A+# characters, hashes, percent signs, but SUFFIX may contain a leading
18810N/A+# dot (in which case that matches only a dot).
18810N/A+func_stripname ()
18810N/A+{
18810N/A+ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18810N/A+ # positional parameters, so assign one to ordinary parameter first.
18810N/A+ func_stripname_result=${3}
18810N/A+ func_stripname_result=${func_stripname_result#"${1}"}
18810N/A+ func_stripname_result=${func_stripname_result%"${2}"}
18810N/A+}
18810N/A+
18810N/A+# func_opt_split
18810N/A+func_opt_split ()
18810N/A+{
18810N/A+ func_opt_split_opt=${1%%=*}
18810N/A+ func_opt_split_arg=${1#*=}
18810N/A+}
18810N/A+
18810N/A+# func_lo2o object
18810N/A+func_lo2o ()
18810N/A+{
18810N/A+ case ${1} in
18810N/A+ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18810N/A+ *) func_lo2o_result=${1} ;;
18810N/A+ esac
18810N/A+}
18810N/A+
18810N/A+# func_xform libobj-or-source
18810N/A+func_xform ()
18810N/A+{
18810N/A+ func_xform_result=${1%.*}.lo
18810N/A+}
18810N/A+
18810N/A+# func_arith arithmetic-term...
18810N/A+func_arith ()
18810N/A+{
18810N/A+ func_arith_result=$(( $[*] ))
18810N/A+}
18810N/A+
18810N/A+# func_len string
18810N/A+# STRING may not start with a hyphen.
18810N/A+func_len ()
18810N/A+{
18810N/A+ func_len_result=${#1}
18810N/A+}
18810N/A+
18810N/A+_LT_EOF
18810N/A+ ;;
18810N/A+ *) # Bourne compatible functions.
18810N/A+ cat << \_LT_EOF >> "$cfgfile"
18810N/A+
18810N/A+# func_dirname file append nondir_replacement
18810N/A+# Compute the dirname of FILE. If nonempty, add APPEND to the result,
18810N/A+# otherwise set result to NONDIR_REPLACEMENT.
18810N/A+func_dirname ()
18810N/A+{
18810N/A+ # Extract subdirectory from the argument.
18810N/A+ func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18810N/A+ if test "X$func_dirname_result" = "X${1}"; then
18810N/A+ func_dirname_result="${3}"
18810N/A+ else
18810N/A+ func_dirname_result="$func_dirname_result${2}"
18810N/A+ fi
18810N/A+}
18810N/A+
18810N/A+# func_basename file
18810N/A+func_basename ()
18810N/A+{
18810N/A+ func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18810N/A+}
18810N/A+
18810N/A+dnl func_dirname_and_basename
18810N/A+dnl A portable version of this function is already defined in general.m4sh
18810N/A+dnl so there is no need for it here.
18810N/A+
18810N/A+# func_stripname prefix suffix name
18810N/A+# strip PREFIX and SUFFIX off of NAME.
18810N/A+# PREFIX and SUFFIX must not contain globbing or regex special
18810N/A+# characters, hashes, percent signs, but SUFFIX may contain a leading
18810N/A+# dot (in which case that matches only a dot).
18810N/A+# func_strip_suffix prefix name
18810N/A+func_stripname ()
18810N/A+{
18810N/A+ case ${2} in
18810N/A+ .*) func_stripname_result=`$ECHO "X${3}" \
18810N/A+ | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18810N/A+ *) func_stripname_result=`$ECHO "X${3}" \
18810N/A+ | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18810N/A+ esac
18810N/A+}
18810N/A+
18810N/A+# sed scripts:
18810N/A+my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
18810N/A+my_sed_long_arg='1s/^-[[^=]]*=//'
18810N/A+
18810N/A+# func_opt_split
18810N/A+func_opt_split ()
18810N/A+{
18810N/A+ func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18810N/A+ func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18810N/A+}
18810N/A+
18810N/A+# func_lo2o object
18810N/A+func_lo2o ()
18810N/A+{
18810N/A+ func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18810N/A+}
18810N/A+
18810N/A+# func_xform libobj-or-source
18810N/A+func_xform ()
18810N/A+{
18810N/A+ func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
18810N/A+}
18810N/A+
18810N/A+# func_arith arithmetic-term...
18810N/A+func_arith ()
18810N/A+{
18810N/A+ func_arith_result=`expr "$[@]"`
18810N/A+}
18810N/A+
18810N/A+# func_len string
18810N/A+# STRING may not start with a hyphen.
18810N/A+func_len ()
18810N/A+{
18810N/A+ func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
18810N/A+}
18810N/A+
18810N/A+_LT_EOF
18810N/A+esac
18810N/A+
18810N/A+case $lt_shell_append in
18810N/A+ yes)
18810N/A+ cat << \_LT_EOF >> "$cfgfile"
18810N/A+
18810N/A+# func_append var value
18810N/A+# Append VALUE to the end of shell variable VAR.
18810N/A+func_append ()
18810N/A+{
18810N/A+ eval "$[1]+=\$[2]"
18810N/A+}
18810N/A+_LT_EOF
18810N/A+ ;;
18810N/A+ *)
18810N/A+ cat << \_LT_EOF >> "$cfgfile"
18810N/A+
18810N/A+# func_append var value
18810N/A+# Append VALUE to the end of shell variable VAR.
18810N/A+func_append ()
18810N/A+{
18810N/A+ eval "$[1]=\$$[1]\$[2]"
18810N/A+}
18810N/A+
18810N/A+_LT_EOF
18810N/A+ ;;
18810N/A+ esac
18810N/A+])
18810N/A--- /dev/null 2010-06-01 16:18:24.000000000 -0500
18810N/A+++ clutter-1.2.6/build/autotools/lt~obsolete.m4 2010-04-19 11:34:07.000000000 -0500
18810N/A@@ -0,0 +1,92 @@
18810N/A+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
18810N/A+#
18810N/A+# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
18810N/A+# Written by Scott James Remnant, 2004.
18810N/A+#
18810N/A+# This file is free software; the Free Software Foundation gives
18810N/A+# unlimited permission to copy and/or distribute it, with or without
18810N/A+# modifications, as long as this notice is preserved.
18810N/A+
18810N/A+# serial 4 lt~obsolete.m4
18810N/A+
18810N/A+# These exist entirely to fool aclocal when bootstrapping libtool.
18810N/A+#
18810N/A+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
18810N/A+# which have later been changed to m4_define as they aren't part of the
18810N/A+# exported API, or moved to Autoconf or Automake where they belong.
18810N/A+#
18810N/A+# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
18810N/A+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
18810N/A+# using a macro with the same name in our local m4/libtool.m4 it'll
18810N/A+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
18810N/A+# and doesn't know about Autoconf macros at all.)
18810N/A+#
18810N/A+# So we provide this file, which has a silly filename so it's always
18810N/A+# included after everything else. This provides aclocal with the
18810N/A+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
18810N/A+# because those macros already exist, or will be overwritten later.
18810N/A+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
18810N/A+#
18810N/A+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
18810N/A+# Yes, that means every name once taken will need to remain here until
18810N/A+# we give up compatibility with versions before 1.7, at which point
18810N/A+# we need to keep only those names which we still refer to.
18810N/A+
18810N/A+# This is to help aclocal find these macros, as it can't see m4_define.
18810N/A+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
18810N/A+
18810N/A+m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
18810N/A+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
18810N/A+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
18810N/A+m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
18810N/A+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
18810N/A+m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
18810N/A+m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
18810N/A+m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
18810N/A+m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
18810N/A+m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
18810N/A+m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
18810N/A+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
18810N/A+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
18810N/A+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
18810N/A+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
18810N/A+m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
18810N/A+m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
18810N/A+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
18810N/A+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
18810N/A+m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
18810N/A+m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
18810N/A+m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
18810N/A+m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
18810N/A+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
18810N/A+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
18810N/A+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
18810N/A+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
18810N/A+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
18810N/A+m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
18810N/A+m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
18810N/A+m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
18810N/A+m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
18810N/A+m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
18810N/A+m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
18810N/A+m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
18810N/A+m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
18810N/A+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
18810N/A+m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
18810N/A+m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
18810N/A+m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
18810N/A+m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
18810N/A+m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
18810N/A+m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
18810N/A+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
18810N/A+m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
18810N/A+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
18810N/A+m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
18810N/A+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
18810N/A+m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
18810N/A+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
18810N/A+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
18810N/A+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
18810N/A+m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
18810N/A+m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
18810N/A+m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
18810N/A--- /dev/null 2010-06-01 16:18:24.000000000 -0500
18810N/A+++ clutter-1.2.6/build/autotools/ltoptions.m4 2010-04-19 11:34:07.000000000 -0500
18810N/A@@ -0,0 +1,368 @@
18810N/A+# Helper functions for option handling. -*- Autoconf -*-
18810N/A+#
18810N/A+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
18810N/A+# Written by Gary V. Vaughan, 2004
18810N/A+#
18810N/A+# This file is free software; the Free Software Foundation gives
18810N/A+# unlimited permission to copy and/or distribute it, with or without
18810N/A+# modifications, as long as this notice is preserved.
18810N/A+
18810N/A+# serial 6 ltoptions.m4
18810N/A+
18810N/A+# This is to help aclocal find these macros, as it can't see m4_define.
18810N/A+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
18810N/A+
18810N/A+
18810N/A+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
18810N/A+# ------------------------------------------
18810N/A+m4_define([_LT_MANGLE_OPTION],
18810N/A+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
18810N/A+
18810N/A+
18810N/A+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
18810N/A+# ---------------------------------------
18810N/A+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
18810N/A+# matching handler defined, dispatch to it. Other OPTION-NAMEs are
18810N/A+# saved as a flag.
18810N/A+m4_define([_LT_SET_OPTION],
18810N/A+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
18810N/A+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
18810N/A+ _LT_MANGLE_DEFUN([$1], [$2]),
18810N/A+ [m4_warning([Unknown $1 option `$2'])])[]dnl
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
18810N/A+# ------------------------------------------------------------
18810N/A+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
18810N/A+m4_define([_LT_IF_OPTION],
18810N/A+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
18810N/A+
18810N/A+
18810N/A+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
18810N/A+# -------------------------------------------------------
18810N/A+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
18810N/A+# are set.
18810N/A+m4_define([_LT_UNLESS_OPTIONS],
18810N/A+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
18810N/A+ [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
18810N/A+ [m4_define([$0_found])])])[]dnl
18810N/A+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
18810N/A+])[]dnl
18810N/A+])
18810N/A+
18810N/A+
18810N/A+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
18810N/A+# ----------------------------------------
18810N/A+# OPTION-LIST is a space-separated list of Libtool options associated
18810N/A+# with MACRO-NAME. If any OPTION has a matching handler declared with
18810N/A+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
18810N/A+# the unknown option and exit.
18810N/A+m4_defun([_LT_SET_OPTIONS],
18810N/A+[# Set options
18810N/A+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
18810N/A+ [_LT_SET_OPTION([$1], _LT_Option)])
18810N/A+
18810N/A+m4_if([$1],[LT_INIT],[
18810N/A+ dnl
18810N/A+ dnl Simply set some default values (i.e off) if boolean options were not
18810N/A+ dnl specified:
18810N/A+ _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
18810N/A+ ])
18810N/A+ _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
18810N/A+ ])
18810N/A+ dnl
18810N/A+ dnl If no reference was made to various pairs of opposing options, then
18810N/A+ dnl we run the default mode handler for the pair. For example, if neither
18810N/A+ dnl `shared' nor `disable-shared' was passed, we enable building of shared
18810N/A+ dnl archives by default:
18810N/A+ _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
18810N/A+ _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
18810N/A+ _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
18810N/A+ _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
18810N/A+ [_LT_ENABLE_FAST_INSTALL])
18810N/A+ ])
18810N/A+])# _LT_SET_OPTIONS
18810N/A+
18810N/A+
18810N/A+## --------------------------------- ##
18810N/A+## Macros to handle LT_INIT options. ##
18810N/A+## --------------------------------- ##
18810N/A+
18810N/A+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
18810N/A+# -----------------------------------------
18810N/A+m4_define([_LT_MANGLE_DEFUN],
18810N/A+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
18810N/A+
18810N/A+
18810N/A+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
18810N/A+# -----------------------------------------------
18810N/A+m4_define([LT_OPTION_DEFINE],
18810N/A+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
18810N/A+])# LT_OPTION_DEFINE
18810N/A+
18810N/A+
18810N/A+# dlopen
18810N/A+# ------
18810N/A+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
18810N/A+])
18810N/A+
18810N/A+AU_DEFUN([AC_LIBTOOL_DLOPEN],
18810N/A+[_LT_SET_OPTION([LT_INIT], [dlopen])
18810N/A+AC_DIAGNOSE([obsolete],
18810N/A+[$0: Remove this warning and the call to _LT_SET_OPTION when you
18810N/A+put the `dlopen' option into LT_INIT's first parameter.])
18810N/A+])
18810N/A+
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
18810N/A+
18810N/A+
18810N/A+# win32-dll
18810N/A+# ---------
18810N/A+# Declare package support for building win32 dll's.
18810N/A+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
18810N/A+[enable_win32_dll=yes
18810N/A+
18810N/A+case $host in
18810N/A+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
18810N/A+ AC_CHECK_TOOL(AS, as, false)
18810N/A+ AC_CHECK_TOOL(DLLTOOL, dlltool, false)
18810N/A+ AC_CHECK_TOOL(OBJDUMP, objdump, false)
18810N/A+ ;;
18810N/A+esac
18810N/A+
18810N/A+test -z "$AS" && AS=as
18810N/A+_LT_DECL([], [AS], [0], [Assembler program])dnl
18810N/A+
18810N/A+test -z "$DLLTOOL" && DLLTOOL=dlltool
18810N/A+_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
18810N/A+
18810N/A+test -z "$OBJDUMP" && OBJDUMP=objdump
18810N/A+_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
18810N/A+])# win32-dll
18810N/A+
18810N/A+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
18810N/A+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
18810N/A+_LT_SET_OPTION([LT_INIT], [win32-dll])
18810N/A+AC_DIAGNOSE([obsolete],
18810N/A+[$0: Remove this warning and the call to _LT_SET_OPTION when you
18810N/A+put the `win32-dll' option into LT_INIT's first parameter.])
18810N/A+])
18810N/A+
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
18810N/A+
18810N/A+
18810N/A+# _LT_ENABLE_SHARED([DEFAULT])
18810N/A+# ----------------------------
18810N/A+# implement the --enable-shared flag, and supports the `shared' and
18810N/A+# `disable-shared' LT_INIT options.
18810N/A+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
18810N/A+m4_define([_LT_ENABLE_SHARED],
18810N/A+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
18810N/A+AC_ARG_ENABLE([shared],
18810N/A+ [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
18810N/A+ [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
18810N/A+ [p=${PACKAGE-default}
18810N/A+ case $enableval in
18810N/A+ yes) enable_shared=yes ;;
18810N/A+ no) enable_shared=no ;;
18810N/A+ *)
18810N/A+ enable_shared=no
18810N/A+ # Look at the argument we got. We use all the common list separators.
18810N/A+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18810N/A+ for pkg in $enableval; do
18810N/A+ IFS="$lt_save_ifs"
18810N/A+ if test "X$pkg" = "X$p"; then
18810N/A+ enable_shared=yes
18810N/A+ fi
18810N/A+ done
18810N/A+ IFS="$lt_save_ifs"
18810N/A+ ;;
18810N/A+ esac],
18810N/A+ [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
18810N/A+
18810N/A+ _LT_DECL([build_libtool_libs], [enable_shared], [0],
18810N/A+ [Whether or not to build shared libraries])
18810N/A+])# _LT_ENABLE_SHARED
18810N/A+
18810N/A+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
18810N/A+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
18810N/A+
18810N/A+# Old names:
18810N/A+AC_DEFUN([AC_ENABLE_SHARED],
18810N/A+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
18810N/A+])
18810N/A+
18810N/A+AC_DEFUN([AC_DISABLE_SHARED],
18810N/A+[_LT_SET_OPTION([LT_INIT], [disable-shared])
18810N/A+])
18810N/A+
18810N/A+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
18810N/A+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
18810N/A+
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
18810N/A+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
18810N/A+
18810N/A+
18810N/A+
18810N/A+# _LT_ENABLE_STATIC([DEFAULT])
18810N/A+# ----------------------------
18810N/A+# implement the --enable-static flag, and support the `static' and
18810N/A+# `disable-static' LT_INIT options.
18810N/A+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
18810N/A+m4_define([_LT_ENABLE_STATIC],
18810N/A+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
18810N/A+AC_ARG_ENABLE([static],
18810N/A+ [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
18810N/A+ [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
18810N/A+ [p=${PACKAGE-default}
18810N/A+ case $enableval in
18810N/A+ yes) enable_static=yes ;;
18810N/A+ no) enable_static=no ;;
18810N/A+ *)
18810N/A+ enable_static=no
18810N/A+ # Look at the argument we got. We use all the common list separators.
18810N/A+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18810N/A+ for pkg in $enableval; do
18810N/A+ IFS="$lt_save_ifs"
18810N/A+ if test "X$pkg" = "X$p"; then
18810N/A+ enable_static=yes
18810N/A+ fi
18810N/A+ done
18810N/A+ IFS="$lt_save_ifs"
18810N/A+ ;;
18810N/A+ esac],
18810N/A+ [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
18810N/A+
18810N/A+ _LT_DECL([build_old_libs], [enable_static], [0],
18810N/A+ [Whether or not to build static libraries])
18810N/A+])# _LT_ENABLE_STATIC
18810N/A+
18810N/A+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
18810N/A+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
18810N/A+
18810N/A+# Old names:
18810N/A+AC_DEFUN([AC_ENABLE_STATIC],
18810N/A+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
18810N/A+])
18810N/A+
18810N/A+AC_DEFUN([AC_DISABLE_STATIC],
18810N/A+[_LT_SET_OPTION([LT_INIT], [disable-static])
18810N/A+])
18810N/A+
18810N/A+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
18810N/A+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
18810N/A+
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
18810N/A+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
18810N/A+
18810N/A+
18810N/A+
18810N/A+# _LT_ENABLE_FAST_INSTALL([DEFAULT])
18810N/A+# ----------------------------------
18810N/A+# implement the --enable-fast-install flag, and support the `fast-install'
18810N/A+# and `disable-fast-install' LT_INIT options.
18810N/A+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
18810N/A+m4_define([_LT_ENABLE_FAST_INSTALL],
18810N/A+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
18810N/A+AC_ARG_ENABLE([fast-install],
18810N/A+ [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
18810N/A+ [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
18810N/A+ [p=${PACKAGE-default}
18810N/A+ case $enableval in
18810N/A+ yes) enable_fast_install=yes ;;
18810N/A+ no) enable_fast_install=no ;;
18810N/A+ *)
18810N/A+ enable_fast_install=no
18810N/A+ # Look at the argument we got. We use all the common list separators.
18810N/A+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18810N/A+ for pkg in $enableval; do
18810N/A+ IFS="$lt_save_ifs"
18810N/A+ if test "X$pkg" = "X$p"; then
18810N/A+ enable_fast_install=yes
18810N/A+ fi
18810N/A+ done
18810N/A+ IFS="$lt_save_ifs"
18810N/A+ ;;
18810N/A+ esac],
18810N/A+ [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
18810N/A+
18810N/A+_LT_DECL([fast_install], [enable_fast_install], [0],
18810N/A+ [Whether or not to optimize for fast installation])dnl
18810N/A+])# _LT_ENABLE_FAST_INSTALL
18810N/A+
18810N/A+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
18810N/A+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
18810N/A+
18810N/A+# Old names:
18810N/A+AU_DEFUN([AC_ENABLE_FAST_INSTALL],
18810N/A+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
18810N/A+AC_DIAGNOSE([obsolete],
18810N/A+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
18810N/A+the `fast-install' option into LT_INIT's first parameter.])
18810N/A+])
18810N/A+
18810N/A+AU_DEFUN([AC_DISABLE_FAST_INSTALL],
18810N/A+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
18810N/A+AC_DIAGNOSE([obsolete],
18810N/A+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
18810N/A+the `disable-fast-install' option into LT_INIT's first parameter.])
18810N/A+])
18810N/A+
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
18810N/A+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
18810N/A+
18810N/A+
18810N/A+# _LT_WITH_PIC([MODE])
18810N/A+# --------------------
18810N/A+# implement the --with-pic flag, and support the `pic-only' and `no-pic'
18810N/A+# LT_INIT options.
18810N/A+# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
18810N/A+m4_define([_LT_WITH_PIC],
18810N/A+[AC_ARG_WITH([pic],
18810N/A+ [AS_HELP_STRING([--with-pic],
18810N/A+ [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
18810N/A+ [pic_mode="$withval"],
18810N/A+ [pic_mode=default])
18810N/A+
18810N/A+test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
18810N/A+
18810N/A+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
18810N/A+])# _LT_WITH_PIC
18810N/A+
18810N/A+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
18810N/A+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
18810N/A+
18810N/A+# Old name:
18810N/A+AU_DEFUN([AC_LIBTOOL_PICMODE],
18810N/A+[_LT_SET_OPTION([LT_INIT], [pic-only])
18810N/A+AC_DIAGNOSE([obsolete],
18810N/A+[$0: Remove this warning and the call to _LT_SET_OPTION when you
18810N/A+put the `pic-only' option into LT_INIT's first parameter.])
18810N/A+])
18810N/A+
18810N/A+dnl aclocal-1.4 backwards compatibility:
18810N/A+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
18810N/A+
18810N/A+## ----------------- ##
18810N/A+## LTDL_INIT Options ##
18810N/A+## ----------------- ##
18810N/A+
18810N/A+m4_define([_LTDL_MODE], [])
18810N/A+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
18810N/A+ [m4_define([_LTDL_MODE], [nonrecursive])])
18810N/A+LT_OPTION_DEFINE([LTDL_INIT], [recursive],
18810N/A+ [m4_define([_LTDL_MODE], [recursive])])
18810N/A+LT_OPTION_DEFINE([LTDL_INIT], [subproject],
18810N/A+ [m4_define([_LTDL_MODE], [subproject])])
18810N/A+
18810N/A+m4_define([_LTDL_TYPE], [])
18810N/A+LT_OPTION_DEFINE([LTDL_INIT], [installable],
18810N/A+ [m4_define([_LTDL_TYPE], [installable])])
18810N/A+LT_OPTION_DEFINE([LTDL_INIT], [convenience],
18810N/A+ [m4_define([_LTDL_TYPE], [convenience])])
18810N/A--- /dev/null 2010-06-01 16:18:24.000000000 -0500
18810N/A+++ clutter-1.2.6/build/autotools/ltversion.m4 2010-04-19 11:34:07.000000000 -0500
18810N/A@@ -0,0 +1,23 @@
18810N/A+# ltversion.m4 -- version numbers -*- Autoconf -*-
18810N/A+#
18810N/A+# Copyright (C) 2004 Free Software Foundation, Inc.
18810N/A+# Written by Scott James Remnant, 2004
18810N/A+#
18810N/A+# This file is free software; the Free Software Foundation gives
18810N/A+# unlimited permission to copy and/or distribute it, with or without
18810N/A+# modifications, as long as this notice is preserved.
18810N/A+
18810N/A+# Generated from ltversion.in.
18810N/A+
18810N/A+# serial 3017 ltversion.m4
18810N/A+# This file is part of GNU Libtool
18810N/A+
18810N/A+m4_define([LT_PACKAGE_VERSION], [2.2.6b])
18810N/A+m4_define([LT_PACKAGE_REVISION], [1.3017])
18810N/A+
18810N/A+AC_DEFUN([LTVERSION_VERSION],
18810N/A+[macro_version='2.2.6b'
18810N/A+macro_revision='1.3017'
18810N/A+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
18810N/A+_LT_DECL(, macro_revision, 0)
18810N/A+])
18810N/A--- /dev/null 2010-06-01 16:18:24.000000000 -0500
18810N/A+++ clutter-1.2.6/build/autotools/ltsugar.m4 2010-04-19 11:34:07.000000000 -0500
18810N/A@@ -0,0 +1,123 @@
18810N/A+# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
18810N/A+#
18810N/A+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
18810N/A+# Written by Gary V. Vaughan, 2004
18810N/A+#
18810N/A+# This file is free software; the Free Software Foundation gives
18810N/A+# unlimited permission to copy and/or distribute it, with or without
18810N/A+# modifications, as long as this notice is preserved.
18810N/A+
18810N/A+# serial 6 ltsugar.m4
18810N/A+
18810N/A+# This is to help aclocal find these macros, as it can't see m4_define.
18810N/A+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
18810N/A+
18810N/A+
18810N/A+# lt_join(SEP, ARG1, [ARG2...])
18810N/A+# -----------------------------
18810N/A+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
18810N/A+# associated separator.
18810N/A+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
18810N/A+# versions in m4sugar had bugs.
18810N/A+m4_define([lt_join],
18810N/A+[m4_if([$#], [1], [],
18810N/A+ [$#], [2], [[$2]],
18810N/A+ [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
18810N/A+m4_define([_lt_join],
18810N/A+[m4_if([$#$2], [2], [],
18810N/A+ [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
18810N/A+
18810N/A+
18810N/A+# lt_car(LIST)
18810N/A+# lt_cdr(LIST)
18810N/A+# ------------
18810N/A+# Manipulate m4 lists.
18810N/A+# These macros are necessary as long as will still need to support
18810N/A+# Autoconf-2.59 which quotes differently.
18810N/A+m4_define([lt_car], [[$1]])
18810N/A+m4_define([lt_cdr],
18810N/A+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
18810N/A+ [$#], 1, [],
18810N/A+ [m4_dquote(m4_shift($@))])])
18810N/A+m4_define([lt_unquote], $1)
18810N/A+
18810N/A+
18810N/A+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
18810N/A+# ------------------------------------------
18810N/A+# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
18810N/A+# Note that neither SEPARATOR nor STRING are expanded; they are appended
18810N/A+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
18810N/A+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
18810N/A+# than defined and empty).
18810N/A+#
18810N/A+# This macro is needed until we can rely on Autoconf 2.62, since earlier
18810N/A+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
18810N/A+m4_define([lt_append],
18810N/A+[m4_define([$1],
18810N/A+ m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
18810N/A+
18810N/A+
18810N/A+
18810N/A+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
18810N/A+# ----------------------------------------------------------
18810N/A+# Produce a SEP delimited list of all paired combinations of elements of
18810N/A+# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
18810N/A+# has the form PREFIXmINFIXSUFFIXn.
18810N/A+# Needed until we can rely on m4_combine added in Autoconf 2.62.
18810N/A+m4_define([lt_combine],
18810N/A+[m4_if(m4_eval([$# > 3]), [1],
18810N/A+ [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
18810N/A+[[m4_foreach([_Lt_prefix], [$2],
18810N/A+ [m4_foreach([_Lt_suffix],
18810N/A+ ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
18810N/A+ [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
18810N/A+
18810N/A+
18810N/A+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
18810N/A+# -----------------------------------------------------------------------
18810N/A+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
18810N/A+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
18810N/A+m4_define([lt_if_append_uniq],
18810N/A+[m4_ifdef([$1],
18810N/A+ [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
18810N/A+ [lt_append([$1], [$2], [$3])$4],
18810N/A+ [$5])],
18810N/A+ [lt_append([$1], [$2], [$3])$4])])
18810N/A+
18810N/A+
18810N/A+# lt_dict_add(DICT, KEY, VALUE)
18810N/A+# -----------------------------
18810N/A+m4_define([lt_dict_add],
18810N/A+[m4_define([$1($2)], [$3])])
18810N/A+
18810N/A+
18810N/A+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
18810N/A+# --------------------------------------------
18810N/A+m4_define([lt_dict_add_subkey],
18810N/A+[m4_define([$1($2:$3)], [$4])])
18810N/A+
18810N/A+
18810N/A+# lt_dict_fetch(DICT, KEY, [SUBKEY])
18810N/A+# ----------------------------------
18810N/A+m4_define([lt_dict_fetch],
18810N/A+[m4_ifval([$3],
18810N/A+ m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
18810N/A+ m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
18810N/A+
18810N/A+
18810N/A+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
18810N/A+# -----------------------------------------------------------------
18810N/A+m4_define([lt_if_dict_fetch],
18810N/A+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
18810N/A+ [$5],
18810N/A+ [$6])])
18810N/A+
18810N/A+
18810N/A+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
18810N/A+# --------------------------------------------------------------
18810N/A+m4_define([lt_dict_filter],
18810N/A+[m4_if([$5], [], [],
18810N/A+ [lt_join(m4_quote(m4_default([$4], [[, ]])),
18810N/A+ lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
18810N/A+ [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
18810N/A+])