Attempting to clean up the project.
authorwittend99 <wittend99@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 26 May 2012 13:30:03 +0000 (13:30 +0000)
committerwittend99 <wittend99@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 26 May 2012 13:30:03 +0000 (13:30 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@498 01035d8c-6547-0410-b346-abe4f91aad63

fdmdv2/portaudio-asio-static/testcvs/changeme.txt [new file with mode: 0644]
fdmdv2/portaudio-msdx-dll/aclocal.m4 [new file with mode: 0644]
fdmdv2/portaudio-msdx-dll/bin-stamp [new file with mode: 0644]
fdmdv2/portaudio-msdx-dll/bin/.gitignore [deleted file]
fdmdv2/portaudio-msdx-dll/bin/pa_devs.exe [new file with mode: 0644]
fdmdv2/portaudio-msdx-dll/bin/pa_fuzz.exe [new file with mode: 0644]
fdmdv2/portaudio-msdx-dll/bin/paqa_devs.exe [new file with mode: 0644]
fdmdv2/portaudio-msdx-dll/bindings/cpp/SConscript [new file with mode: 0644]
fdmdv2/portaudio-msdx-dll/pablio/test_w_saw8.c [new file with mode: 0644]

diff --git a/fdmdv2/portaudio-asio-static/testcvs/changeme.txt b/fdmdv2/portaudio-asio-static/testcvs/changeme.txt
new file mode 100644 (file)
index 0000000..8c36683
--- /dev/null
@@ -0,0 +1,18 @@
+This is just a dopy little file used to test the CVS repository.
+Feel free to trash this file.
+Minor change.
+Another tweak.
+philburk tweak
+stephane test
+Phil changed this again on 2/21/02. Yawn...
+Bjorn test3!
+Phil tried to change this on 5/13/08
+Now we are using SVN instead of CVS. PB 2/10/10
+Test from builder-pc
+
+make a change using SVN on Ubuntu
+tweak
+testing
+
+PLB changing it to see if SVN broken
+
diff --git a/fdmdv2/portaudio-msdx-dll/aclocal.m4 b/fdmdv2/portaudio-msdx-dll/aclocal.m4
new file mode 100644 (file)
index 0000000..ba12ed4
--- /dev/null
@@ -0,0 +1,8620 @@
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-\r
+\r
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,\r
+# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.\r
+# This file is free software; the Free Software Foundation\r
+# gives unlimited permission to copy and/or distribute it,\r
+# with or without modifications, as long as this notice is preserved.\r
+\r
+# This program is distributed in the hope that it will be useful,\r
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without\r
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A\r
+# PARTICULAR PURPOSE.\r
+\r
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-\r
+#\r
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,\r
+#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,\r
+#                 Inc.\r
+#   Written by Gordon Matzigkeit, 1996\r
+#\r
+# This file is free software; the Free Software Foundation gives\r
+# unlimited permission to copy and/or distribute it, with or without\r
+# modifications, as long as this notice is preserved.\r
+\r
+m4_define([_LT_COPYING], [dnl\r
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,\r
+#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,\r
+#                 Inc.\r
+#   Written by Gordon Matzigkeit, 1996\r
+#\r
+#   This file is part of GNU Libtool.\r
+#\r
+# GNU Libtool is free software; you can redistribute it and/or\r
+# modify it under the terms of the GNU General Public License as\r
+# published by the Free Software Foundation; either version 2 of\r
+# the License, or (at your option) any later version.\r
+#\r
+# As a special exception to the GNU General Public License,\r
+# if you distribute this file as part of a program or library that\r
+# is built using GNU Libtool, you may include this file under the\r
+# same distribution terms that you use for the rest of that program.\r
+#\r
+# GNU Libtool is distributed in the hope that it will be useful,\r
+# but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+# GNU General Public License for more details.\r
+#\r
+# You should have received a copy of the GNU General Public License\r
+# along with GNU Libtool; see the file COPYING.  If not, a copy\r
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or\r
+# obtained by writing to the Free Software Foundation, Inc.,\r
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\r
+])\r
+\r
+# serial 57 LT_INIT\r
+\r
+\r
+# LT_PREREQ(VERSION)\r
+# ------------------\r
+# Complain and exit if this libtool version is less that VERSION.\r
+m4_defun([LT_PREREQ],\r
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,\r
+       [m4_default([$3],\r
+                  [m4_fatal([Libtool version $1 or higher is required],\r
+                            63)])],\r
+       [$2])])\r
+\r
+\r
+# _LT_CHECK_BUILDDIR\r
+# ------------------\r
+# Complain if the absolute build directory name contains unusual characters\r
+m4_defun([_LT_CHECK_BUILDDIR],\r
+[case `pwd` in\r
+  *\ * | *\    *)\r
+    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;\r
+esac\r
+])\r
+\r
+\r
+# LT_INIT([OPTIONS])\r
+# ------------------\r
+AC_DEFUN([LT_INIT],\r
+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT\r
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl\r
+AC_BEFORE([$0], [LT_LANG])dnl\r
+AC_BEFORE([$0], [LT_OUTPUT])dnl\r
+AC_BEFORE([$0], [LTDL_INIT])dnl\r
+m4_require([_LT_CHECK_BUILDDIR])dnl\r
+\r
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:\r
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl\r
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl\r
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4\r
+dnl unless we require an AC_DEFUNed macro:\r
+AC_REQUIRE([LTOPTIONS_VERSION])dnl\r
+AC_REQUIRE([LTSUGAR_VERSION])dnl\r
+AC_REQUIRE([LTVERSION_VERSION])dnl\r
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl\r
+m4_require([_LT_PROG_LTMAIN])dnl\r
+\r
+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])\r
+\r
+dnl Parse OPTIONS\r
+_LT_SET_OPTIONS([$0], [$1])\r
+\r
+# This can be used to rebuild libtool when needed\r
+LIBTOOL_DEPS="$ltmain"\r
+\r
+# Always use our own libtool.\r
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'\r
+AC_SUBST(LIBTOOL)dnl\r
+\r
+_LT_SETUP\r
+\r
+# Only expand once:\r
+m4_define([LT_INIT])\r
+])# LT_INIT\r
+\r
+# Old names:\r
+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])\r
+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])\r
+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])\r
+\r
+\r
+# _LT_CC_BASENAME(CC)\r
+# -------------------\r
+# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.\r
+m4_defun([_LT_CC_BASENAME],\r
+[for cc_temp in $1""; do\r
+  case $cc_temp in\r
+    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;\r
+    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;\r
+    \-*) ;;\r
+    *) break;;\r
+  esac\r
+done\r
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`\r
+])\r
+\r
+\r
+# _LT_FILEUTILS_DEFAULTS\r
+# ----------------------\r
+# It is okay to use these file commands and assume they have been set\r
+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.\r
+m4_defun([_LT_FILEUTILS_DEFAULTS],\r
+[: ${CP="cp -f"}\r
+: ${MV="mv -f"}\r
+: ${RM="rm -f"}\r
+])# _LT_FILEUTILS_DEFAULTS\r
+\r
+\r
+# _LT_SETUP\r
+# ---------\r
+m4_defun([_LT_SETUP],\r
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl\r
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl\r
+AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl\r
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl\r
+\r
+_LT_DECL([], [host_alias], [0], [The host system])dnl\r
+_LT_DECL([], [host], [0])dnl\r
+_LT_DECL([], [host_os], [0])dnl\r
+dnl\r
+_LT_DECL([], [build_alias], [0], [The build system])dnl\r
+_LT_DECL([], [build], [0])dnl\r
+_LT_DECL([], [build_os], [0])dnl\r
+dnl\r
+AC_REQUIRE([AC_PROG_CC])dnl\r
+AC_REQUIRE([LT_PATH_LD])dnl\r
+AC_REQUIRE([LT_PATH_NM])dnl\r
+dnl\r
+AC_REQUIRE([AC_PROG_LN_S])dnl\r
+test -z "$LN_S" && LN_S="ln -s"\r
+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl\r
+dnl\r
+AC_REQUIRE([LT_CMD_MAX_LEN])dnl\r
+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl\r
+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl\r
+dnl\r
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl\r
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl\r
+m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl\r
+m4_require([_LT_CMD_RELOAD])dnl\r
+m4_require([_LT_CHECK_MAGIC_METHOD])dnl\r
+m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl\r
+m4_require([_LT_CMD_OLD_ARCHIVE])dnl\r
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl\r
+m4_require([_LT_WITH_SYSROOT])dnl\r
+\r
+_LT_CONFIG_LIBTOOL_INIT([\r
+# See if we are running on zsh, and set the options which allow our\r
+# commands through without removal of \ escapes INIT.\r
+if test -n "\${ZSH_VERSION+set}" ; then\r
+   setopt NO_GLOB_SUBST\r
+fi\r
+])\r
+if test -n "${ZSH_VERSION+set}" ; then\r
+   setopt NO_GLOB_SUBST\r
+fi\r
+\r
+_LT_CHECK_OBJDIR\r
+\r
+m4_require([_LT_TAG_COMPILER])dnl\r
+\r
+case $host_os in\r
+aix3*)\r
+  # AIX sometimes has problems with the GCC collect2 program.  For some\r
+  # reason, if we set the COLLECT_NAMES environment variable, the problems\r
+  # vanish in a puff of smoke.\r
+  if test "X${COLLECT_NAMES+set}" != Xset; then\r
+    COLLECT_NAMES=\r
+    export COLLECT_NAMES\r
+  fi\r
+  ;;\r
+esac\r
+\r
+# Global variables:\r
+ofile=libtool\r
+can_build_shared=yes\r
+\r
+# All known linkers require a `.a' archive for static linking (except MSVC,\r
+# which needs '.lib').\r
+libext=a\r
+\r
+with_gnu_ld="$lt_cv_prog_gnu_ld"\r
+\r
+old_CC="$CC"\r
+old_CFLAGS="$CFLAGS"\r
+\r
+# Set sane defaults for various variables\r
+test -z "$CC" && CC=cc\r
+test -z "$LTCC" && LTCC=$CC\r
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS\r
+test -z "$LD" && LD=ld\r
+test -z "$ac_objext" && ac_objext=o\r
+\r
+_LT_CC_BASENAME([$compiler])\r
+\r
+# Only perform the check for file, if the check method requires it\r
+test -z "$MAGIC_CMD" && MAGIC_CMD=file\r
+case $deplibs_check_method in\r
+file_magic*)\r
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then\r
+    _LT_PATH_MAGIC\r
+  fi\r
+  ;;\r
+esac\r
+\r
+# Use C for the default configuration in the libtool script\r
+LT_SUPPORTED_TAG([CC])\r
+_LT_LANG_C_CONFIG\r
+_LT_LANG_DEFAULT_CONFIG\r
+_LT_CONFIG_COMMANDS\r
+])# _LT_SETUP\r
+\r
+\r
+# _LT_PREPARE_SED_QUOTE_VARS\r
+# --------------------------\r
+# Define a few sed substitution that help us do robust quoting.\r
+m4_defun([_LT_PREPARE_SED_QUOTE_VARS],\r
+[# Backslashify metacharacters that are still active within\r
+# double-quoted strings.\r
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'\r
+\r
+# Same as above, but do not quote variable references.\r
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'\r
+\r
+# Sed substitution to delay expansion of an escaped shell variable in a\r
+# double_quote_subst'ed string.\r
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'\r
+\r
+# Sed substitution to delay expansion of an escaped single quote.\r
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'\r
+\r
+# Sed substitution to avoid accidental globbing in evaled expressions\r
+no_glob_subst='s/\*/\\\*/g'\r
+])\r
+\r
+# _LT_PROG_LTMAIN\r
+# ---------------\r
+# Note that this code is called both from `configure', and `config.status'\r
+# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,\r
+# `config.status' has no value for ac_aux_dir unless we are using Automake,\r
+# so we pass a copy along to make sure it has a sensible value anyway.\r
+m4_defun([_LT_PROG_LTMAIN],\r
+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl\r
+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])\r
+ltmain="$ac_aux_dir/ltmain.sh"\r
+])# _LT_PROG_LTMAIN\r
+\r
+\r
+\r
+# So that we can recreate a full libtool script including additional\r
+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS\r
+# in macros and then make a single call at the end using the `libtool'\r
+# label.\r
+\r
+\r
+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])\r
+# ----------------------------------------\r
+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.\r
+m4_define([_LT_CONFIG_LIBTOOL_INIT],\r
+[m4_ifval([$1],\r
+          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],\r
+                     [$1\r
+])])])\r
+\r
+# Initialize.\r
+m4_define([_LT_OUTPUT_LIBTOOL_INIT])\r
+\r
+\r
+# _LT_CONFIG_LIBTOOL([COMMANDS])\r
+# ------------------------------\r
+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.\r
+m4_define([_LT_CONFIG_LIBTOOL],\r
+[m4_ifval([$1],\r
+          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],\r
+                     [$1\r
+])])])\r
+\r
+# Initialize.\r
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])\r
+\r
+\r
+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])\r
+# -----------------------------------------------------\r
+m4_defun([_LT_CONFIG_SAVE_COMMANDS],\r
+[_LT_CONFIG_LIBTOOL([$1])\r
+_LT_CONFIG_LIBTOOL_INIT([$2])\r
+])\r
+\r
+\r
+# _LT_FORMAT_COMMENT([COMMENT])\r
+# -----------------------------\r
+# Add leading comment marks to the start of each line, and a trailing\r
+# full-stop to the whole comment if one is not present already.\r
+m4_define([_LT_FORMAT_COMMENT],\r
+[m4_ifval([$1], [\r
+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],\r
+              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])\r
+)])\r
+\r
+\r
+\r
+\r
+\r
+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])\r
+# -------------------------------------------------------------------\r
+# CONFIGNAME is the name given to the value in the libtool script.\r
+# VARNAME is the (base) name used in the configure script.\r
+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on\r
+# VARNAME.  Any other value will be used directly.\r
+m4_define([_LT_DECL],\r
+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],\r
+    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],\r
+       [m4_ifval([$1], [$1], [$2])])\r
+    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])\r
+    m4_ifval([$4],\r
+       [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])\r
+    lt_dict_add_subkey([lt_decl_dict], [$2],\r
+       [tagged?], [m4_ifval([$5], [yes], [no])])])\r
+])\r
+\r
+\r
+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])\r
+# --------------------------------------------------------\r
+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])\r
+\r
+\r
+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])\r
+# ------------------------------------------------\r
+m4_define([lt_decl_tag_varnames],\r
+[_lt_decl_filter([tagged?], [yes], $@)])\r
+\r
+\r
+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])\r
+# ---------------------------------------------------------\r
+m4_define([_lt_decl_filter],\r
+[m4_case([$#],\r
+  [0], [m4_fatal([$0: too few arguments: $#])],\r
+  [1], [m4_fatal([$0: too few arguments: $#: $1])],\r
+  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],\r
+  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],\r
+  [lt_dict_filter([lt_decl_dict], $@)])[]dnl\r
+])\r
+\r
+\r
+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])\r
+# --------------------------------------------------\r
+m4_define([lt_decl_quote_varnames],\r
+[_lt_decl_filter([value], [1], $@)])\r
+\r
+\r
+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])\r
+# ---------------------------------------------------\r
+m4_define([lt_decl_dquote_varnames],\r
+[_lt_decl_filter([value], [2], $@)])\r
+\r
+\r
+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])\r
+# ---------------------------------------------------\r
+m4_define([lt_decl_varnames_tagged],\r
+[m4_assert([$# <= 2])dnl\r
+_$0(m4_quote(m4_default([$1], [[, ]])),\r
+    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),\r
+    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])\r
+m4_define([_lt_decl_varnames_tagged],\r
+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])\r
+\r
+\r
+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])\r
+# ------------------------------------------------\r
+m4_define([lt_decl_all_varnames],\r
+[_$0(m4_quote(m4_default([$1], [[, ]])),\r
+     m4_if([$2], [],\r
+          m4_quote(lt_decl_varnames),\r
+       m4_quote(m4_shift($@))))[]dnl\r
+])\r
+m4_define([_lt_decl_all_varnames],\r
+[lt_join($@, lt_decl_varnames_tagged([$1],\r
+                       lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl\r
+])\r
+\r
+\r
+# _LT_CONFIG_STATUS_DECLARE([VARNAME])\r
+# ------------------------------------\r
+# Quote a variable value, and forward it to `config.status' so that its\r
+# declaration there will have the same value as in `configure'.  VARNAME\r
+# must have a single quote delimited value for this to work.\r
+m4_define([_LT_CONFIG_STATUS_DECLARE],\r
+[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])\r
+\r
+\r
+# _LT_CONFIG_STATUS_DECLARATIONS\r
+# ------------------------------\r
+# We delimit libtool config variables with single quotes, so when\r
+# we write them to config.status, we have to be sure to quote all\r
+# embedded single quotes properly.  In configure, this macro expands\r
+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:\r
+#\r
+#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'\r
+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],\r
+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),\r
+    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])\r
+\r
+\r
+# _LT_LIBTOOL_TAGS\r
+# ----------------\r
+# Output comment and list of tags supported by the script\r
+m4_defun([_LT_LIBTOOL_TAGS],\r
+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl\r
+available_tags="_LT_TAGS"dnl\r
+])\r
+\r
+\r
+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])\r
+# -----------------------------------\r
+# Extract the dictionary values for VARNAME (optionally with TAG) and\r
+# expand to a commented shell variable setting:\r
+#\r
+#    # Some comment about what VAR is for.\r
+#    visible_name=$lt_internal_name\r
+m4_define([_LT_LIBTOOL_DECLARE],\r
+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],\r
+                                          [description])))[]dnl\r
+m4_pushdef([_libtool_name],\r
+    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl\r
+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),\r
+    [0], [_libtool_name=[$]$1],\r
+    [1], [_libtool_name=$lt_[]$1],\r
+    [2], [_libtool_name=$lt_[]$1],\r
+    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl\r
+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl\r
+])\r
+\r
+\r
+# _LT_LIBTOOL_CONFIG_VARS\r
+# -----------------------\r
+# Produce commented declarations of non-tagged libtool config variables\r
+# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'\r
+# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG\r
+# section) are produced by _LT_LIBTOOL_TAG_VARS.\r
+m4_defun([_LT_LIBTOOL_CONFIG_VARS],\r
+[m4_foreach([_lt_var],\r
+    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),\r
+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])\r
+\r
+\r
+# _LT_LIBTOOL_TAG_VARS(TAG)\r
+# -------------------------\r
+m4_define([_LT_LIBTOOL_TAG_VARS],\r
+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),\r
+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])\r
+\r
+\r
+# _LT_TAGVAR(VARNAME, [TAGNAME])\r
+# ------------------------------\r
+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])\r
+\r
+\r
+# _LT_CONFIG_COMMANDS\r
+# -------------------\r
+# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of\r
+# variables for single and double quote escaping we saved from calls\r
+# to _LT_DECL, we can put quote escaped variables declarations\r
+# into `config.status', and then the shell code to quote escape them in\r
+# for loops in `config.status'.  Finally, any additional code accumulated\r
+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.\r
+m4_defun([_LT_CONFIG_COMMANDS],\r
+[AC_PROVIDE_IFELSE([LT_OUTPUT],\r
+       dnl If the libtool generation code has been placed in $CONFIG_LT,\r
+       dnl instead of duplicating it all over again into config.status,\r
+       dnl then we will have config.status run $CONFIG_LT later, so it\r
+       dnl needs to know what name is stored there:\r
+        [AC_CONFIG_COMMANDS([libtool],\r
+            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],\r
+    dnl If the libtool generation code is destined for config.status,\r
+    dnl expand the accumulated commands and init code now:\r
+    [AC_CONFIG_COMMANDS([libtool],\r
+        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])\r
+])#_LT_CONFIG_COMMANDS\r
+\r
+\r
+# Initialize.\r
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],\r
+[\r
+\r
+# The HP-UX ksh and POSIX shell print the target directory to stdout\r
+# if CDPATH is set.\r
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH\r
+\r
+sed_quote_subst='$sed_quote_subst'\r
+double_quote_subst='$double_quote_subst'\r
+delay_variable_subst='$delay_variable_subst'\r
+_LT_CONFIG_STATUS_DECLARATIONS\r
+LTCC='$LTCC'\r
+LTCFLAGS='$LTCFLAGS'\r
+compiler='$compiler_DEFAULT'\r
+\r
+# A function that is used when there is no print builtin or printf.\r
+func_fallback_echo ()\r
+{\r
+  eval 'cat <<_LTECHO_EOF\r
+\$[]1\r
+_LTECHO_EOF'\r
+}\r
+\r
+# Quote evaled strings.\r
+for var in lt_decl_all_varnames([[ \\r
+]], lt_decl_quote_varnames); do\r
+    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in\r
+    *[[\\\\\\\`\\"\\\$]]*)\r
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""\r
+      ;;\r
+    *)\r
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""\r
+      ;;\r
+    esac\r
+done\r
+\r
+# Double-quote double-evaled strings.\r
+for var in lt_decl_all_varnames([[ \\r
+]], lt_decl_dquote_varnames); do\r
+    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in\r
+    *[[\\\\\\\`\\"\\\$]]*)\r
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""\r
+      ;;\r
+    *)\r
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""\r
+      ;;\r
+    esac\r
+done\r
+\r
+_LT_OUTPUT_LIBTOOL_INIT\r
+])\r
+\r
+# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])\r
+# ------------------------------------\r
+# Generate a child script FILE with all initialization necessary to\r
+# reuse the environment learned by the parent script, and make the\r
+# file executable.  If COMMENT is supplied, it is inserted after the\r
+# `#!' sequence but before initialization text begins.  After this\r
+# macro, additional text can be appended to FILE to form the body of\r
+# the child script.  The macro ends with non-zero status if the\r
+# file could not be fully written (such as if the disk is full).\r
+m4_ifdef([AS_INIT_GENERATED],\r
+[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],\r
+[m4_defun([_LT_GENERATED_FILE_INIT],\r
+[m4_require([AS_PREPARE])]dnl\r
+[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl\r
+[lt_write_fail=0\r
+cat >$1 <<_ASEOF || lt_write_fail=1\r
+#! $SHELL\r
+# Generated by $as_me.\r
+$2\r
+SHELL=\${CONFIG_SHELL-$SHELL}\r
+export SHELL\r
+_ASEOF\r
+cat >>$1 <<\_ASEOF || lt_write_fail=1\r
+AS_SHELL_SANITIZE\r
+_AS_PREPARE\r
+exec AS_MESSAGE_FD>&1\r
+_ASEOF\r
+test $lt_write_fail = 0 && chmod +x $1[]dnl\r
+m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT\r
+\r
+# LT_OUTPUT\r
+# ---------\r
+# This macro allows early generation of the libtool script (before\r
+# AC_OUTPUT is called), incase it is used in configure for compilation\r
+# tests.\r
+AC_DEFUN([LT_OUTPUT],\r
+[: ${CONFIG_LT=./config.lt}\r
+AC_MSG_NOTICE([creating $CONFIG_LT])\r
+_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],\r
+[# Run this file to recreate a libtool stub with the current configuration.])\r
+\r
+cat >>"$CONFIG_LT" <<\_LTEOF\r
+lt_cl_silent=false\r
+exec AS_MESSAGE_LOG_FD>>config.log\r
+{\r
+  echo\r
+  AS_BOX([Running $as_me.])\r
+} >&AS_MESSAGE_LOG_FD\r
+\r
+lt_cl_help="\\r
+\`$as_me' creates a local libtool stub from the current configuration,\r
+for use in further configure time tests before the real libtool is\r
+generated.\r
+\r
+Usage: $[0] [[OPTIONS]]\r
+\r
+  -h, --help      print this help, then exit\r
+  -V, --version   print version number, then exit\r
+  -q, --quiet     do not print progress messages\r
+  -d, --debug     don't remove temporary files\r
+\r
+Report bugs to <bug-libtool@gnu.org>."\r
+\r
+lt_cl_version="\\r
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl\r
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])\r
+configured by $[0], generated by m4_PACKAGE_STRING.\r
+\r
+Copyright (C) 2010 Free Software Foundation, Inc.\r
+This config.lt script is free software; the Free Software Foundation\r
+gives unlimited permision to copy, distribute and modify it."\r
+\r
+while test $[#] != 0\r
+do\r
+  case $[1] in\r
+    --version | --v* | -V )\r
+      echo "$lt_cl_version"; exit 0 ;;\r
+    --help | --h* | -h )\r
+      echo "$lt_cl_help"; exit 0 ;;\r
+    --debug | --d* | -d )\r
+      debug=: ;;\r
+    --quiet | --q* | --silent | --s* | -q )\r
+      lt_cl_silent=: ;;\r
+\r
+    -*) AC_MSG_ERROR([unrecognized option: $[1]\r
+Try \`$[0] --help' for more information.]) ;;\r
+\r
+    *) AC_MSG_ERROR([unrecognized argument: $[1]\r
+Try \`$[0] --help' for more information.]) ;;\r
+  esac\r
+  shift\r
+done\r
+\r
+if $lt_cl_silent; then\r
+  exec AS_MESSAGE_FD>/dev/null\r
+fi\r
+_LTEOF\r
+\r
+cat >>"$CONFIG_LT" <<_LTEOF\r
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT\r
+_LTEOF\r
+\r
+cat >>"$CONFIG_LT" <<\_LTEOF\r
+AC_MSG_NOTICE([creating $ofile])\r
+_LT_OUTPUT_LIBTOOL_COMMANDS\r
+AS_EXIT(0)\r
+_LTEOF\r
+chmod +x "$CONFIG_LT"\r
+\r
+# configure is writing to config.log, but config.lt does its own redirection,\r
+# appending to config.log, which fails on DOS, as config.log is still kept\r
+# open by configure.  Here we exec the FD to /dev/null, effectively closing\r
+# config.log, so it can be properly (re)opened and appended to by config.lt.\r
+lt_cl_success=:\r
+test "$silent" = yes &&\r
+  lt_config_lt_args="$lt_config_lt_args --quiet"\r
+exec AS_MESSAGE_LOG_FD>/dev/null\r
+$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false\r
+exec AS_MESSAGE_LOG_FD>>config.log\r
+$lt_cl_success || AS_EXIT(1)\r
+])# LT_OUTPUT\r
+\r
+\r
+# _LT_CONFIG(TAG)\r
+# ---------------\r
+# If TAG is the built-in tag, create an initial libtool script with a\r
+# default configuration from the untagged config vars.  Otherwise add code\r
+# to config.status for appending the configuration named by TAG from the\r
+# matching tagged config vars.\r
+m4_defun([_LT_CONFIG],\r
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl\r
+_LT_CONFIG_SAVE_COMMANDS([\r
+  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl\r
+  m4_if(_LT_TAG, [C], [\r
+    # See if we are running on zsh, and set the options which allow our\r
+    # commands through without removal of \ escapes.\r
+    if test -n "${ZSH_VERSION+set}" ; then\r
+      setopt NO_GLOB_SUBST\r
+    fi\r
+\r
+    cfgfile="${ofile}T"\r
+    trap "$RM \"$cfgfile\"; exit 1" 1 2 15\r
+    $RM "$cfgfile"\r
+\r
+    cat <<_LT_EOF >> "$cfgfile"\r
+#! $SHELL\r
+\r
+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.\r
+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION\r
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:\r
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.\r
+#\r
+_LT_COPYING\r
+_LT_LIBTOOL_TAGS\r
+\r
+# ### BEGIN LIBTOOL CONFIG\r
+_LT_LIBTOOL_CONFIG_VARS\r
+_LT_LIBTOOL_TAG_VARS\r
+# ### END LIBTOOL CONFIG\r
+\r
+_LT_EOF\r
+\r
+  case $host_os in\r
+  aix3*)\r
+    cat <<\_LT_EOF >> "$cfgfile"\r
+# AIX sometimes has problems with the GCC collect2 program.  For some\r
+# reason, if we set the COLLECT_NAMES environment variable, the problems\r
+# vanish in a puff of smoke.\r
+if test "X${COLLECT_NAMES+set}" != Xset; then\r
+  COLLECT_NAMES=\r
+  export COLLECT_NAMES\r
+fi\r
+_LT_EOF\r
+    ;;\r
+  esac\r
+\r
+  _LT_PROG_LTMAIN\r
+\r
+  # We use sed instead of cat because bash on DJGPP gets confused if\r
+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in\r
+  # text mode, it properly converts lines to CR/LF.  This bash problem\r
+  # is reportedly fixed, but why not run on old versions too?\r
+  sed '$q' "$ltmain" >> "$cfgfile" \\r
+     || (rm -f "$cfgfile"; exit 1)\r
+\r
+  _LT_PROG_REPLACE_SHELLFNS\r
+\r
+   mv -f "$cfgfile" "$ofile" ||\r
+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")\r
+  chmod +x "$ofile"\r
+],\r
+[cat <<_LT_EOF >> "$ofile"\r
+\r
+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded\r
+dnl in a comment (ie after a #).\r
+# ### BEGIN LIBTOOL TAG CONFIG: $1\r
+_LT_LIBTOOL_TAG_VARS(_LT_TAG)\r
+# ### END LIBTOOL TAG CONFIG: $1\r
+_LT_EOF\r
+])dnl /m4_if\r
+],\r
+[m4_if([$1], [], [\r
+    PACKAGE='$PACKAGE'\r
+    VERSION='$VERSION'\r
+    TIMESTAMP='$TIMESTAMP'\r
+    RM='$RM'\r
+    ofile='$ofile'], [])\r
+])dnl /_LT_CONFIG_SAVE_COMMANDS\r
+])# _LT_CONFIG\r
+\r
+\r
+# LT_SUPPORTED_TAG(TAG)\r
+# ---------------------\r
+# Trace this macro to discover what tags are supported by the libtool\r
+# --tag option, using:\r
+#    autoconf --trace 'LT_SUPPORTED_TAG:$1'\r
+AC_DEFUN([LT_SUPPORTED_TAG], [])\r
+\r
+\r
+# C support is built-in for now\r
+m4_define([_LT_LANG_C_enabled], [])\r
+m4_define([_LT_TAGS], [])\r
+\r
+\r
+# LT_LANG(LANG)\r
+# -------------\r
+# Enable libtool support for the given language if not already enabled.\r
+AC_DEFUN([LT_LANG],\r
+[AC_BEFORE([$0], [LT_OUTPUT])dnl\r
+m4_case([$1],\r
+  [C],                 [_LT_LANG(C)],\r
+  [C++],               [_LT_LANG(CXX)],\r
+  [Java],              [_LT_LANG(GCJ)],\r
+  [Fortran 77],                [_LT_LANG(F77)],\r
+  [Fortran],           [_LT_LANG(FC)],\r
+  [Windows Resource],  [_LT_LANG(RC)],\r
+  [m4_ifdef([_LT_LANG_]$1[_CONFIG],\r
+    [_LT_LANG($1)],\r
+    [m4_fatal([$0: unsupported language: "$1"])])])dnl\r
+])# LT_LANG\r
+\r
+\r
+# _LT_LANG(LANGNAME)\r
+# ------------------\r
+m4_defun([_LT_LANG],\r
+[m4_ifdef([_LT_LANG_]$1[_enabled], [],\r
+  [LT_SUPPORTED_TAG([$1])dnl\r
+  m4_append([_LT_TAGS], [$1 ])dnl\r
+  m4_define([_LT_LANG_]$1[_enabled], [])dnl\r
+  _LT_LANG_$1_CONFIG($1)])dnl\r
+])# _LT_LANG\r
+\r
+\r
+# _LT_LANG_DEFAULT_CONFIG\r
+# -----------------------\r
+m4_defun([_LT_LANG_DEFAULT_CONFIG],\r
+[AC_PROVIDE_IFELSE([AC_PROG_CXX],\r
+  [LT_LANG(CXX)],\r
+  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])\r
+\r
+AC_PROVIDE_IFELSE([AC_PROG_F77],\r
+  [LT_LANG(F77)],\r
+  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])\r
+\r
+AC_PROVIDE_IFELSE([AC_PROG_FC],\r
+  [LT_LANG(FC)],\r
+  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])\r
+\r
+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal\r
+dnl pulling things in needlessly.\r
+AC_PROVIDE_IFELSE([AC_PROG_GCJ],\r
+  [LT_LANG(GCJ)],\r
+  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],\r
+    [LT_LANG(GCJ)],\r
+    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],\r
+      [LT_LANG(GCJ)],\r
+      [m4_ifdef([AC_PROG_GCJ],\r
+       [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])\r
+       m4_ifdef([A][M_PROG_GCJ],\r
+       [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])\r
+       m4_ifdef([LT_PROG_GCJ],\r
+       [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])\r
+\r
+AC_PROVIDE_IFELSE([LT_PROG_RC],\r
+  [LT_LANG(RC)],\r
+  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])\r
+])# _LT_LANG_DEFAULT_CONFIG\r
+\r
+# Obsolete macros:\r
+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])\r
+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])\r
+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])\r
+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])\r
+AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])\r
+dnl AC_DEFUN([AC_LIBTOOL_F77], [])\r
+dnl AC_DEFUN([AC_LIBTOOL_FC], [])\r
+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])\r
+dnl AC_DEFUN([AC_LIBTOOL_RC], [])\r
+\r
+\r
+# _LT_TAG_COMPILER\r
+# ----------------\r
+m4_defun([_LT_TAG_COMPILER],\r
+[AC_REQUIRE([AC_PROG_CC])dnl\r
+\r
+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl\r
+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl\r
+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl\r
+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl\r
+\r
+# If no C compiler was specified, use CC.\r
+LTCC=${LTCC-"$CC"}\r
+\r
+# If no C compiler flags were specified, use CFLAGS.\r
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}\r
+\r
+# Allow CC to be a program name with arguments.\r
+compiler=$CC\r
+])# _LT_TAG_COMPILER\r
+\r
+\r
+# _LT_COMPILER_BOILERPLATE\r
+# ------------------------\r
+# Check for compiler boilerplate output or warnings with\r
+# the simple compiler test code.\r
+m4_defun([_LT_COMPILER_BOILERPLATE],\r
+[m4_require([_LT_DECL_SED])dnl\r
+ac_outfile=conftest.$ac_objext\r
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext\r
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err\r
+_lt_compiler_boilerplate=`cat conftest.err`\r
+$RM conftest*\r
+])# _LT_COMPILER_BOILERPLATE\r
+\r
+\r
+# _LT_LINKER_BOILERPLATE\r
+# ----------------------\r
+# Check for linker boilerplate output or warnings with\r
+# the simple link test code.\r
+m4_defun([_LT_LINKER_BOILERPLATE],\r
+[m4_require([_LT_DECL_SED])dnl\r
+ac_outfile=conftest.$ac_objext\r
+echo "$lt_simple_link_test_code" >conftest.$ac_ext\r
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err\r
+_lt_linker_boilerplate=`cat conftest.err`\r
+$RM -r conftest*\r
+])# _LT_LINKER_BOILERPLATE\r
+\r
+# _LT_REQUIRED_DARWIN_CHECKS\r
+# -------------------------\r
+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[\r
+  case $host_os in\r
+    rhapsody* | darwin*)\r
+    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])\r
+    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])\r
+    AC_CHECK_TOOL([LIPO], [lipo], [:])\r
+    AC_CHECK_TOOL([OTOOL], [otool], [:])\r
+    AC_CHECK_TOOL([OTOOL64], [otool64], [:])\r
+    _LT_DECL([], [DSYMUTIL], [1],\r
+      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])\r
+    _LT_DECL([], [NMEDIT], [1],\r
+      [Tool to change global to local symbols on Mac OS X])\r
+    _LT_DECL([], [LIPO], [1],\r
+      [Tool to manipulate fat objects and archives on Mac OS X])\r
+    _LT_DECL([], [OTOOL], [1],\r
+      [ldd/readelf like tool for Mach-O binaries on Mac OS X])\r
+    _LT_DECL([], [OTOOL64], [1],\r
+      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])\r
+\r
+    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],\r
+      [lt_cv_apple_cc_single_mod=no\r
+      if test -z "${LT_MULTI_MODULE}"; then\r
+       # By default we will add the -single_module flag. You can override\r
+       # by either setting the environment variable LT_MULTI_MODULE\r
+       # non-empty at configure time, or by adding -multi_module to the\r
+       # link flags.\r
+       rm -rf libconftest.dylib*\r
+       echo "int foo(void){return 1;}" > conftest.c\r
+       echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \\r
+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD\r
+       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \\r
+         -dynamiclib -Wl,-single_module conftest.c 2>conftest.err\r
+        _lt_result=$?\r
+       if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then\r
+         lt_cv_apple_cc_single_mod=yes\r
+       else\r
+         cat conftest.err >&AS_MESSAGE_LOG_FD\r
+       fi\r
+       rm -rf libconftest.dylib*\r
+       rm -f conftest.*\r
+      fi])\r
+    AC_CACHE_CHECK([for -exported_symbols_list linker flag],\r
+      [lt_cv_ld_exported_symbols_list],\r
+      [lt_cv_ld_exported_symbols_list=no\r
+      save_LDFLAGS=$LDFLAGS\r
+      echo "_main" > conftest.sym\r
+      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"\r
+      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],\r
+       [lt_cv_ld_exported_symbols_list=yes],\r
+       [lt_cv_ld_exported_symbols_list=no])\r
+       LDFLAGS="$save_LDFLAGS"\r
+    ])\r
+    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],\r
+      [lt_cv_ld_force_load=no\r
+      cat > conftest.c << _LT_EOF\r
+int forced_loaded() { return 2;}\r
+_LT_EOF\r
+      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD\r
+      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD\r
+      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD\r
+      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD\r
+      echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD\r
+      $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD\r
+      cat > conftest.c << _LT_EOF\r
+int main() { return 0;}\r
+_LT_EOF\r
+      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD\r
+      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err\r
+      _lt_result=$?\r
+      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then\r
+       lt_cv_ld_force_load=yes\r
+      else\r
+       cat conftest.err >&AS_MESSAGE_LOG_FD\r
+      fi\r
+        rm -f conftest.err libconftest.a conftest conftest.c\r
+        rm -rf conftest.dSYM\r
+    ])\r
+    case $host_os in\r
+    rhapsody* | darwin1.[[012]])\r
+      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;\r
+    darwin1.*)\r
+      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;\r
+    darwin*) # darwin 5.x on\r
+      # if running on 10.5 or later, the deployment target defaults\r
+      # to the OS version, if on x86, and 10.4, the deployment\r
+      # target defaults to 10.4. Don't you love it?\r
+      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in\r
+       10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)\r
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;\r
+       10.[[012]]*)\r
+         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;\r
+       10.*)\r
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;\r
+      esac\r
+    ;;\r
+  esac\r
+    if test "$lt_cv_apple_cc_single_mod" = "yes"; then\r
+      _lt_dar_single_mod='$single_module'\r
+    fi\r
+    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then\r
+      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'\r
+    else\r
+      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
+    fi\r
+    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then\r
+      _lt_dsymutil='~$DSYMUTIL $lib || :'\r
+    else\r
+      _lt_dsymutil=\r
+    fi\r
+    ;;\r
+  esac\r
+])\r
+\r
+\r
+# _LT_DARWIN_LINKER_FEATURES\r
+# --------------------------\r
+# Checks for linker and compiler features on darwin\r
+m4_defun([_LT_DARWIN_LINKER_FEATURES],\r
+[\r
+  m4_require([_LT_REQUIRED_DARWIN_CHECKS])\r
+  _LT_TAGVAR(archive_cmds_need_lc, $1)=no\r
+  _LT_TAGVAR(hardcode_direct, $1)=no\r
+  _LT_TAGVAR(hardcode_automatic, $1)=yes\r
+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported\r
+  if test "$lt_cv_ld_force_load" = "yes"; then\r
+    _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'\r
+  else\r
+    _LT_TAGVAR(whole_archive_flag_spec, $1)=''\r
+  fi\r
+  _LT_TAGVAR(link_all_deplibs, $1)=yes\r
+  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"\r
+  case $cc_basename in\r
+     ifort*) _lt_dar_can_shared=yes ;;\r
+     *) _lt_dar_can_shared=$GCC ;;\r
+  esac\r
+  if test "$_lt_dar_can_shared" = "yes"; then\r
+    output_verbose_link_cmd=func_echo_all\r
+    _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}"\r
+    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"\r
+    _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}"\r
+    _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}"\r
+    m4_if([$1], [CXX],\r
+[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then\r
+      _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}"\r
+      _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}"\r
+    fi\r
+],[])\r
+  else\r
+  _LT_TAGVAR(ld_shlibs, $1)=no\r
+  fi\r
+])\r
+\r
+# _LT_SYS_MODULE_PATH_AIX([TAGNAME])\r
+# ----------------------------------\r
+# Links a minimal program and checks the executable\r
+# for the system default hardcoded library path. In most cases,\r
+# this is /usr/lib:/lib, but when the MPI compilers are used\r
+# the location of the communication and MPI libs are included too.\r
+# If we don't find anything, use the default library path according\r
+# to the aix ld manual.\r
+# Store the results from the different compilers for each TAGNAME.\r
+# Allow to override them for all tags through lt_cv_aix_libpath.\r
+m4_defun([_LT_SYS_MODULE_PATH_AIX],\r
+[m4_require([_LT_DECL_SED])dnl\r
+if test "${lt_cv_aix_libpath+set}" = set; then\r
+  aix_libpath=$lt_cv_aix_libpath\r
+else\r
+  AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],\r
+  [AC_LINK_IFELSE([AC_LANG_PROGRAM],[\r
+  lt_aix_libpath_sed='[\r
+      /Import File Strings/,/^$/ {\r
+         /^0/ {\r
+             s/^0  *\([^ ]*\) *$/\1/\r
+             p\r
+         }\r
+      }]'\r
+  _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`\r
+  # Check for a 64-bit object if we didn't find anything.\r
+  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then\r
+    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`\r
+  fi],[])\r
+  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then\r
+    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"\r
+  fi\r
+  ])\r
+  aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])\r
+fi\r
+])# _LT_SYS_MODULE_PATH_AIX\r
+\r
+\r
+# _LT_SHELL_INIT(ARG)\r
+# -------------------\r
+m4_define([_LT_SHELL_INIT],\r
+[m4_divert_text([M4SH-INIT], [$1\r
+])])# _LT_SHELL_INIT\r
+\r
+\r
+\r
+# _LT_PROG_ECHO_BACKSLASH\r
+# -----------------------\r
+# Find how we can fake an echo command that does not interpret backslash.\r
+# In particular, with Autoconf 2.60 or later we add some code to the start\r
+# of the generated configure script which will find a shell with a builtin\r
+# printf (which we can use as an echo command).\r
+m4_defun([_LT_PROG_ECHO_BACKSLASH],\r
+[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'\r
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO\r
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO\r
+\r
+AC_MSG_CHECKING([how to print strings])\r
+# Test print first, because it will be a builtin if present.\r
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \\r
+   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then\r
+  ECHO='print -r --'\r
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then\r
+  ECHO='printf %s\n'\r
+else\r
+  # Use this function as a fallback that always works.\r
+  func_fallback_echo ()\r
+  {\r
+    eval 'cat <<_LTECHO_EOF\r
+$[]1\r
+_LTECHO_EOF'\r
+  }\r
+  ECHO='func_fallback_echo'\r
+fi\r
+\r
+# func_echo_all arg...\r
+# Invoke $ECHO with all args, space-separated.\r
+func_echo_all ()\r
+{\r
+    $ECHO "$*" \r
+}\r
+\r
+case "$ECHO" in\r
+  printf*) AC_MSG_RESULT([printf]) ;;\r
+  print*) AC_MSG_RESULT([print -r]) ;;\r
+  *) AC_MSG_RESULT([cat]) ;;\r
+esac\r
+\r
+m4_ifdef([_AS_DETECT_SUGGESTED],\r
+[_AS_DETECT_SUGGESTED([\r
+  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (\r
+    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'\r
+    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO\r
+    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO\r
+    PATH=/empty FPATH=/empty; export PATH FPATH\r
+    test "X`printf %s $ECHO`" = "X$ECHO" \\r
+      || test "X`print -r -- $ECHO`" = "X$ECHO" )])])\r
+\r
+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])\r
+_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])\r
+])# _LT_PROG_ECHO_BACKSLASH\r
+\r
+\r
+# _LT_WITH_SYSROOT\r
+# ----------------\r
+AC_DEFUN([_LT_WITH_SYSROOT],\r
+[AC_MSG_CHECKING([for sysroot])\r
+AC_ARG_WITH([sysroot],\r
+[  --with-sysroot[=DIR] Search for dependent libraries within DIR\r
+                        (or the compiler's sysroot if not specified).],\r
+[], [with_sysroot=no])\r
+\r
+dnl lt_sysroot will always be passed unquoted.  We quote it here\r
+dnl in case the user passed a directory name.\r
+lt_sysroot=\r
+case ${with_sysroot} in #(\r
+ yes)\r
+   if test "$GCC" = yes; then\r
+     lt_sysroot=`$CC --print-sysroot 2>/dev/null`\r
+   fi\r
+   ;; #(\r
+ /*)\r
+   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`\r
+   ;; #(\r
+ no|'')\r
+   ;; #(\r
+ *)\r
+   AC_MSG_RESULT([${with_sysroot}])\r
+   AC_MSG_ERROR([The sysroot must be an absolute path.])\r
+   ;;\r
+esac\r
+\r
+ AC_MSG_RESULT([${lt_sysroot:-no}])\r
+_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl\r
+[dependent libraries, and in which our libraries should be installed.])])\r
+\r
+# _LT_ENABLE_LOCK\r
+# ---------------\r
+m4_defun([_LT_ENABLE_LOCK],\r
+[AC_ARG_ENABLE([libtool-lock],\r
+  [AS_HELP_STRING([--disable-libtool-lock],\r
+    [avoid locking (might break parallel builds)])])\r
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes\r
+\r
+# Some flags need to be propagated to the compiler or linker for good\r
+# libtool support.\r
+case $host in\r
+ia64-*-hpux*)\r
+  # Find out which ABI we are using.\r
+  echo 'int i;' > conftest.$ac_ext\r
+  if AC_TRY_EVAL(ac_compile); then\r
+    case `/usr/bin/file conftest.$ac_objext` in\r
+      *ELF-32*)\r
+       HPUX_IA64_MODE="32"\r
+       ;;\r
+      *ELF-64*)\r
+       HPUX_IA64_MODE="64"\r
+       ;;\r
+    esac\r
+  fi\r
+  rm -rf conftest*\r
+  ;;\r
+*-*-irix6*)\r
+  # Find out which ABI we are using.\r
+  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext\r
+  if AC_TRY_EVAL(ac_compile); then\r
+    if test "$lt_cv_prog_gnu_ld" = yes; then\r
+      case `/usr/bin/file conftest.$ac_objext` in\r
+       *32-bit*)\r
+         LD="${LD-ld} -melf32bsmip"\r
+         ;;\r
+       *N32*)\r
+         LD="${LD-ld} -melf32bmipn32"\r
+         ;;\r
+       *64-bit*)\r
+         LD="${LD-ld} -melf64bmip"\r
+       ;;\r
+      esac\r
+    else\r
+      case `/usr/bin/file conftest.$ac_objext` in\r
+       *32-bit*)\r
+         LD="${LD-ld} -32"\r
+         ;;\r
+       *N32*)\r
+         LD="${LD-ld} -n32"\r
+         ;;\r
+       *64-bit*)\r
+         LD="${LD-ld} -64"\r
+         ;;\r
+      esac\r
+    fi\r
+  fi\r
+  rm -rf conftest*\r
+  ;;\r
+\r
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \\r
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)\r
+  # Find out which ABI we are using.\r
+  echo 'int i;' > conftest.$ac_ext\r
+  if AC_TRY_EVAL(ac_compile); then\r
+    case `/usr/bin/file conftest.o` in\r
+      *32-bit*)\r
+       case $host in\r
+         x86_64-*kfreebsd*-gnu)\r
+           LD="${LD-ld} -m elf_i386_fbsd"\r
+           ;;\r
+         x86_64-*linux*)\r
+           LD="${LD-ld} -m elf_i386"\r
+           ;;\r
+         ppc64-*linux*|powerpc64-*linux*)\r
+           LD="${LD-ld} -m elf32ppclinux"\r
+           ;;\r
+         s390x-*linux*)\r
+           LD="${LD-ld} -m elf_s390"\r
+           ;;\r
+         sparc64-*linux*)\r
+           LD="${LD-ld} -m elf32_sparc"\r
+           ;;\r
+       esac\r
+       ;;\r
+      *64-bit*)\r
+       case $host in\r
+         x86_64-*kfreebsd*-gnu)\r
+           LD="${LD-ld} -m elf_x86_64_fbsd"\r
+           ;;\r
+         x86_64-*linux*)\r
+           LD="${LD-ld} -m elf_x86_64"\r
+           ;;\r
+         ppc*-*linux*|powerpc*-*linux*)\r
+           LD="${LD-ld} -m elf64ppc"\r
+           ;;\r
+         s390*-*linux*|s390*-*tpf*)\r
+           LD="${LD-ld} -m elf64_s390"\r
+           ;;\r
+         sparc*-*linux*)\r
+           LD="${LD-ld} -m elf64_sparc"\r
+           ;;\r
+       esac\r
+       ;;\r
+    esac\r
+  fi\r
+  rm -rf conftest*\r
+  ;;\r
+\r
+*-*-sco3.2v5*)\r
+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.\r
+  SAVE_CFLAGS="$CFLAGS"\r
+  CFLAGS="$CFLAGS -belf"\r
+  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,\r
+    [AC_LANG_PUSH(C)\r
+     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])\r
+     AC_LANG_POP])\r
+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then\r
+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf\r
+    CFLAGS="$SAVE_CFLAGS"\r
+  fi\r
+  ;;\r
+sparc*-*solaris*)\r
+  # Find out which ABI we are using.\r
+  echo 'int i;' > conftest.$ac_ext\r
+  if AC_TRY_EVAL(ac_compile); then\r
+    case `/usr/bin/file conftest.o` in\r
+    *64-bit*)\r
+      case $lt_cv_prog_gnu_ld in\r
+      yes*) LD="${LD-ld} -m elf64_sparc" ;;\r
+      *)\r
+       if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then\r
+         LD="${LD-ld} -64"\r
+       fi\r
+       ;;\r
+      esac\r
+      ;;\r
+    esac\r
+  fi\r
+  rm -rf conftest*\r
+  ;;\r
+esac\r
+\r
+need_locks="$enable_libtool_lock"\r
+])# _LT_ENABLE_LOCK\r
+\r
+\r
+# _LT_PROG_AR\r
+# -----------\r
+m4_defun([_LT_PROG_AR],\r
+[AC_CHECK_TOOLS(AR, [ar], false)\r
+: ${AR=ar}\r
+: ${AR_FLAGS=cru}\r
+_LT_DECL([], [AR], [1], [The archiver])\r
+_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])\r
+\r
+AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],\r
+  [lt_cv_ar_at_file=no\r
+   AC_COMPILE_IFELSE([AC_LANG_PROGRAM],\r
+     [echo conftest.$ac_objext > conftest.lst\r
+      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'\r
+      AC_TRY_EVAL([lt_ar_try])\r
+      if test "$ac_status" -eq 0; then\r
+       # Ensure the archiver fails upon bogus file names.\r
+       rm -f conftest.$ac_objext libconftest.a\r
+       AC_TRY_EVAL([lt_ar_try])\r
+       if test "$ac_status" -ne 0; then\r
+          lt_cv_ar_at_file=@\r
+        fi\r
+      fi\r
+      rm -f conftest.* libconftest.a\r
+     ])\r
+  ])\r
+\r
+if test "x$lt_cv_ar_at_file" = xno; then\r
+  archiver_list_spec=\r
+else\r
+  archiver_list_spec=$lt_cv_ar_at_file\r
+fi\r
+_LT_DECL([], [archiver_list_spec], [1],\r
+  [How to feed a file listing to the archiver])\r
+])# _LT_PROG_AR\r
+\r
+\r
+# _LT_CMD_OLD_ARCHIVE\r
+# -------------------\r
+m4_defun([_LT_CMD_OLD_ARCHIVE],\r
+[_LT_PROG_AR\r
+\r
+AC_CHECK_TOOL(STRIP, strip, :)\r
+test -z "$STRIP" && STRIP=:\r
+_LT_DECL([], [STRIP], [1], [A symbol stripping program])\r
+\r
+AC_CHECK_TOOL(RANLIB, ranlib, :)\r
+test -z "$RANLIB" && RANLIB=:\r
+_LT_DECL([], [RANLIB], [1],\r
+    [Commands used to install an old-style archive])\r
+\r
+# Determine commands to create old-style static archives.\r
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'\r
+old_postinstall_cmds='chmod 644 $oldlib'\r
+old_postuninstall_cmds=\r
+\r
+if test -n "$RANLIB"; then\r
+  case $host_os in\r
+  openbsd*)\r
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"\r
+    ;;\r
+  *)\r
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"\r
+    ;;\r
+  esac\r
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"\r
+fi\r
+\r
+case $host_os in\r
+  darwin*)\r
+    lock_old_archive_extraction=yes ;;\r
+  *)\r
+    lock_old_archive_extraction=no ;;\r
+esac\r
+_LT_DECL([], [old_postinstall_cmds], [2])\r
+_LT_DECL([], [old_postuninstall_cmds], [2])\r
+_LT_TAGDECL([], [old_archive_cmds], [2],\r
+    [Commands used to build an old-style archive])\r
+_LT_DECL([], [lock_old_archive_extraction], [0],\r
+    [Whether to use a lock for old archive extraction])\r
+])# _LT_CMD_OLD_ARCHIVE\r
+\r
+\r
+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,\r
+#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])\r
+# ----------------------------------------------------------------\r
+# Check whether the given compiler option works\r
+AC_DEFUN([_LT_COMPILER_OPTION],\r
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl\r
+m4_require([_LT_DECL_SED])dnl\r
+AC_CACHE_CHECK([$1], [$2],\r
+  [$2=no\r
+   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])\r
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext\r
+   lt_compiler_flag="$3"\r
+   # Insert the option either (1) after the last *FLAGS variable, or\r
+   # (2) before a word containing "conftest.", or (3) at the end.\r
+   # Note that $ac_compile itself does not contain backslashes and begins\r
+   # with a dollar sign (not a hyphen), so the echo should work correctly.\r
+   # The option is referenced via a variable to avoid confusing sed.\r
+   lt_compile=`echo "$ac_compile" | $SED \\r
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \\r
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \\r
+   -e 's:$: $lt_compiler_flag:'`\r
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)\r
+   (eval "$lt_compile" 2>conftest.err)\r
+   ac_status=$?\r
+   cat conftest.err >&AS_MESSAGE_LOG_FD\r
+   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD\r
+   if (exit $ac_status) && test -s "$ac_outfile"; then\r
+     # The compiler can only warn and ignore the option if not recognized\r
+     # So say no if there are warnings other than the usual output.\r
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp\r
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2\r
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then\r
+       $2=yes\r
+     fi\r
+   fi\r
+   $RM conftest*\r
+])\r
+\r
+if test x"[$]$2" = xyes; then\r
+    m4_if([$5], , :, [$5])\r
+else\r
+    m4_if([$6], , :, [$6])\r
+fi\r
+])# _LT_COMPILER_OPTION\r
+\r
+# Old name:\r
+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])\r
+\r
+\r
+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,\r
+#                  [ACTION-SUCCESS], [ACTION-FAILURE])\r
+# ----------------------------------------------------\r
+# Check whether the given linker option works\r
+AC_DEFUN([_LT_LINKER_OPTION],\r
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl\r
+m4_require([_LT_DECL_SED])dnl\r
+AC_CACHE_CHECK([$1], [$2],\r
+  [$2=no\r
+   save_LDFLAGS="$LDFLAGS"\r
+   LDFLAGS="$LDFLAGS $3"\r
+   echo "$lt_simple_link_test_code" > conftest.$ac_ext\r
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then\r
+     # The linker can only warn and ignore the option if not recognized\r
+     # So say no if there are warnings\r
+     if test -s conftest.err; then\r
+       # Append any errors to the config.log.\r
+       cat conftest.err 1>&AS_MESSAGE_LOG_FD\r
+       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp\r
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2\r
+       if diff conftest.exp conftest.er2 >/dev/null; then\r
+         $2=yes\r
+       fi\r
+     else\r
+       $2=yes\r
+     fi\r
+   fi\r
+   $RM -r conftest*\r
+   LDFLAGS="$save_LDFLAGS"\r
+])\r
+\r
+if test x"[$]$2" = xyes; then\r
+    m4_if([$4], , :, [$4])\r
+else\r
+    m4_if([$5], , :, [$5])\r
+fi\r
+])# _LT_LINKER_OPTION\r
+\r
+# Old name:\r
+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])\r
+\r
+\r
+# LT_CMD_MAX_LEN\r
+#---------------\r
+AC_DEFUN([LT_CMD_MAX_LEN],\r
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl\r
+# find the maximum length of command line arguments\r
+AC_MSG_CHECKING([the maximum length of command line arguments])\r
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl\r
+  i=0\r
+  teststring="ABCD"\r
+\r
+  case $build_os in\r
+  msdosdjgpp*)\r
+    # On DJGPP, this test can blow up pretty badly due to problems in libc\r
+    # (any single argument exceeding 2000 bytes causes a buffer overrun\r
+    # during glob expansion).  Even if it were fixed, the result of this\r
+    # check would be larger than it should be.\r
+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right\r
+    ;;\r
+\r
+  gnu*)\r
+    # Under GNU Hurd, this test is not required because there is\r
+    # no limit to the length of command line arguments.\r
+    # Libtool will interpret -1 as no limit whatsoever\r
+    lt_cv_sys_max_cmd_len=-1;\r
+    ;;\r
+\r
+  cygwin* | mingw* | cegcc*)\r
+    # On Win9x/ME, this test blows up -- it succeeds, but takes\r
+    # about 5 minutes as the teststring grows exponentially.\r
+    # Worse, since 9x/ME are not pre-emptively multitasking,\r
+    # you end up with a "frozen" computer, even though with patience\r
+    # the test eventually succeeds (with a max line length of 256k).\r
+    # Instead, let's just punt: use the minimum linelength reported by\r
+    # all of the supported platforms: 8192 (on NT/2K/XP).\r
+    lt_cv_sys_max_cmd_len=8192;\r
+    ;;\r
+\r
+  mint*)\r
+    # On MiNT this can take a long time and run out of memory.\r
+    lt_cv_sys_max_cmd_len=8192;\r
+    ;;\r
+\r
+  amigaos*)\r
+    # On AmigaOS with pdksh, this test takes hours, literally.\r
+    # So we just punt and use a minimum line length of 8192.\r
+    lt_cv_sys_max_cmd_len=8192;\r
+    ;;\r
+\r
+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)\r
+    # This has been around since 386BSD, at least.  Likely further.\r
+    if test -x /sbin/sysctl; then\r
+      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`\r
+    elif test -x /usr/sbin/sysctl; then\r
+      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`\r
+    else\r
+      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs\r
+    fi\r
+    # And add a safety zone\r
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`\r
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`\r
+    ;;\r
+\r
+  interix*)\r
+    # We know the value 262144 and hardcode it with a safety zone (like BSD)\r
+    lt_cv_sys_max_cmd_len=196608\r
+    ;;\r
+\r
+  osf*)\r
+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure\r
+    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not\r
+    # nice to cause kernel panics so lets avoid the loop below.\r
+    # First set a reasonable default.\r
+    lt_cv_sys_max_cmd_len=16384\r
+    #\r
+    if test -x /sbin/sysconfig; then\r
+      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in\r
+        *1*) lt_cv_sys_max_cmd_len=-1 ;;\r
+      esac\r
+    fi\r
+    ;;\r
+  sco3.2v5*)\r
+    lt_cv_sys_max_cmd_len=102400\r
+    ;;\r
+  sysv5* | sco5v6* | sysv4.2uw2*)\r
+    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`\r
+    if test -n "$kargmax"; then\r
+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[        ]]//'`\r
+    else\r
+      lt_cv_sys_max_cmd_len=32768\r
+    fi\r
+    ;;\r
+  *)\r
+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`\r
+    if test -n "$lt_cv_sys_max_cmd_len"; then\r
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`\r
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`\r
+    else\r
+      # Make teststring a little bigger before we do anything with it.\r
+      # a 1K string should be a reasonable start.\r
+      for i in 1 2 3 4 5 6 7 8 ; do\r
+        teststring=$teststring$teststring\r
+      done\r
+      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}\r
+      # If test is not a shell built-in, we'll probably end up computing a\r
+      # maximum length that is only half of the actual maximum length, but\r
+      # we can't tell.\r
+      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \\r
+                = "X$teststring$teststring"; } >/dev/null 2>&1 &&\r
+             test $i != 17 # 1/2 MB should be enough\r
+      do\r
+        i=`expr $i + 1`\r
+        teststring=$teststring$teststring\r
+      done\r
+      # Only check the string length outside the loop.\r
+      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`\r
+      teststring=\r
+      # Add a significant safety factor because C++ compilers can tack on\r
+      # massive amounts of additional arguments before passing them to the\r
+      # linker.  It appears as though 1/2 is a usable value.\r
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`\r
+    fi\r
+    ;;\r
+  esac\r
+])\r
+if test -n $lt_cv_sys_max_cmd_len ; then\r
+  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)\r
+else\r
+  AC_MSG_RESULT(none)\r
+fi\r
+max_cmd_len=$lt_cv_sys_max_cmd_len\r
+_LT_DECL([], [max_cmd_len], [0],\r
+    [What is the maximum length of a command?])\r
+])# LT_CMD_MAX_LEN\r
+\r
+# Old name:\r
+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])\r
+\r
+\r
+# _LT_HEADER_DLFCN\r
+# ----------------\r
+m4_defun([_LT_HEADER_DLFCN],\r
+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl\r
+])# _LT_HEADER_DLFCN\r
+\r
+\r
+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,\r
+#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)\r
+# ----------------------------------------------------------------\r
+m4_defun([_LT_TRY_DLOPEN_SELF],\r
+[m4_require([_LT_HEADER_DLFCN])dnl\r
+if test "$cross_compiling" = yes; then :\r
+  [$4]\r
+else\r
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2\r
+  lt_status=$lt_dlunknown\r
+  cat > conftest.$ac_ext <<_LT_EOF\r
+[#line $LINENO "configure"\r
+#include "confdefs.h"\r
+\r
+#if HAVE_DLFCN_H\r
+#include <dlfcn.h>\r
+#endif\r
+\r
+#include <stdio.h>\r
+\r
+#ifdef RTLD_GLOBAL\r
+#  define LT_DLGLOBAL          RTLD_GLOBAL\r
+#else\r
+#  ifdef DL_GLOBAL\r
+#    define LT_DLGLOBAL                DL_GLOBAL\r
+#  else\r
+#    define LT_DLGLOBAL                0\r
+#  endif\r
+#endif\r
+\r
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we\r
+   find out it does not work in some platform. */\r
+#ifndef LT_DLLAZY_OR_NOW\r
+#  ifdef RTLD_LAZY\r
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY\r
+#  else\r
+#    ifdef DL_LAZY\r
+#      define LT_DLLAZY_OR_NOW         DL_LAZY\r
+#    else\r
+#      ifdef RTLD_NOW\r
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW\r
+#      else\r
+#        ifdef DL_NOW\r
+#          define LT_DLLAZY_OR_NOW     DL_NOW\r
+#        else\r
+#          define LT_DLLAZY_OR_NOW     0\r
+#        endif\r
+#      endif\r
+#    endif\r
+#  endif\r
+#endif\r
+\r
+/* When -fvisbility=hidden is used, assume the code has been annotated\r
+   correspondingly for the symbols needed.  */\r
+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))\r
+int fnord () __attribute__((visibility("default")));\r
+#endif\r
+\r
+int fnord () { return 42; }\r
+int main ()\r
+{\r
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);\r
+  int status = $lt_dlunknown;\r
+\r
+  if (self)\r
+    {\r
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;\r
+      else\r
+        {\r
+         if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;\r
+          else puts (dlerror ());\r
+       }\r
+      /* dlclose (self); */\r
+    }\r
+  else\r
+    puts (dlerror ());\r
+\r
+  return status;\r
+}]\r
+_LT_EOF\r
+  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then\r
+    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null\r
+    lt_status=$?\r
+    case x$lt_status in\r
+      x$lt_dlno_uscore) $1 ;;\r
+      x$lt_dlneed_uscore) $2 ;;\r
+      x$lt_dlunknown|x*) $3 ;;\r
+    esac\r
+  else :\r
+    # compilation failed\r
+    $3\r
+  fi\r
+fi\r
+rm -fr conftest*\r
+])# _LT_TRY_DLOPEN_SELF\r
+\r
+\r
+# LT_SYS_DLOPEN_SELF\r
+# ------------------\r
+AC_DEFUN([LT_SYS_DLOPEN_SELF],\r
+[m4_require([_LT_HEADER_DLFCN])dnl\r
+if test "x$enable_dlopen" != xyes; then\r
+  enable_dlopen=unknown\r
+  enable_dlopen_self=unknown\r
+  enable_dlopen_self_static=unknown\r
+else\r
+  lt_cv_dlopen=no\r
+  lt_cv_dlopen_libs=\r
+\r
+  case $host_os in\r
+  beos*)\r
+    lt_cv_dlopen="load_add_on"\r
+    lt_cv_dlopen_libs=\r
+    lt_cv_dlopen_self=yes\r
+    ;;\r
+\r
+  mingw* | pw32* | cegcc*)\r
+    lt_cv_dlopen="LoadLibrary"\r
+    lt_cv_dlopen_libs=\r
+    ;;\r
+\r
+  cygwin*)\r
+    lt_cv_dlopen="dlopen"\r
+    lt_cv_dlopen_libs=\r
+    ;;\r
+\r
+  darwin*)\r
+  # if libdl is installed we need to link against it\r
+    AC_CHECK_LIB([dl], [dlopen],\r
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[\r
+    lt_cv_dlopen="dyld"\r
+    lt_cv_dlopen_libs=\r
+    lt_cv_dlopen_self=yes\r
+    ])\r
+    ;;\r
+\r
+  *)\r
+    AC_CHECK_FUNC([shl_load],\r
+         [lt_cv_dlopen="shl_load"],\r
+      [AC_CHECK_LIB([dld], [shl_load],\r
+           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],\r
+       [AC_CHECK_FUNC([dlopen],\r
+             [lt_cv_dlopen="dlopen"],\r
+         [AC_CHECK_LIB([dl], [dlopen],\r
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],\r
+           [AC_CHECK_LIB([svld], [dlopen],\r
+                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],\r
+             [AC_CHECK_LIB([dld], [dld_link],\r
+                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])\r
+             ])\r
+           ])\r
+         ])\r
+       ])\r
+      ])\r
+    ;;\r
+  esac\r
+\r
+  if test "x$lt_cv_dlopen" != xno; then\r
+    enable_dlopen=yes\r
+  else\r
+    enable_dlopen=no\r
+  fi\r
+\r
+  case $lt_cv_dlopen in\r
+  dlopen)\r
+    save_CPPFLAGS="$CPPFLAGS"\r
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"\r
+\r
+    save_LDFLAGS="$LDFLAGS"\r
+    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"\r
+\r
+    save_LIBS="$LIBS"\r
+    LIBS="$lt_cv_dlopen_libs $LIBS"\r
+\r
+    AC_CACHE_CHECK([whether a program can dlopen itself],\r
+         lt_cv_dlopen_self, [dnl\r
+         _LT_TRY_DLOPEN_SELF(\r
+           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,\r
+           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)\r
+    ])\r
+\r
+    if test "x$lt_cv_dlopen_self" = xyes; then\r
+      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"\r
+      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],\r
+         lt_cv_dlopen_self_static, [dnl\r
+         _LT_TRY_DLOPEN_SELF(\r
+           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,\r
+           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)\r
+      ])\r
+    fi\r
+\r
+    CPPFLAGS="$save_CPPFLAGS"\r
+    LDFLAGS="$save_LDFLAGS"\r
+    LIBS="$save_LIBS"\r
+    ;;\r
+  esac\r
+\r
+  case $lt_cv_dlopen_self in\r
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;\r
+  *) enable_dlopen_self=unknown ;;\r
+  esac\r
+\r
+  case $lt_cv_dlopen_self_static in\r
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;\r
+  *) enable_dlopen_self_static=unknown ;;\r
+  esac\r
+fi\r
+_LT_DECL([dlopen_support], [enable_dlopen], [0],\r
+        [Whether dlopen is supported])\r
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],\r
+        [Whether dlopen of programs is supported])\r
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],\r
+        [Whether dlopen of statically linked programs is supported])\r
+])# LT_SYS_DLOPEN_SELF\r
+\r
+# Old name:\r
+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])\r
+\r
+\r
+# _LT_COMPILER_C_O([TAGNAME])\r
+# ---------------------------\r
+# Check to see if options -c and -o are simultaneously supported by compiler.\r
+# This macro does not hard code the compiler like AC_PROG_CC_C_O.\r
+m4_defun([_LT_COMPILER_C_O],\r
+[m4_require([_LT_DECL_SED])dnl\r
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl\r
+m4_require([_LT_TAG_COMPILER])dnl\r
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],\r
+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],\r
+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no\r
+   $RM -r conftest 2>/dev/null\r
+   mkdir conftest\r
+   cd conftest\r
+   mkdir out\r
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext\r
+\r
+   lt_compiler_flag="-o out/conftest2.$ac_objext"\r
+   # Insert the option either (1) after the last *FLAGS variable, or\r
+   # (2) before a word containing "conftest.", or (3) at the end.\r
+   # Note that $ac_compile itself does not contain backslashes and begins\r
+   # with a dollar sign (not a hyphen), so the echo should work correctly.\r
+   lt_compile=`echo "$ac_compile" | $SED \\r
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \\r
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \\r
+   -e 's:$: $lt_compiler_flag:'`\r
+   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)\r
+   (eval "$lt_compile" 2>out/conftest.err)\r
+   ac_status=$?\r
+   cat out/conftest.err >&AS_MESSAGE_LOG_FD\r
+   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD\r
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext\r
+   then\r
+     # The compiler can only warn and ignore the option if not recognized\r
+     # So say no if there are warnings\r
+     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp\r
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2\r
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then\r
+       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes\r
+     fi\r
+   fi\r
+   chmod u+w . 2>&AS_MESSAGE_LOG_FD\r
+   $RM conftest*\r
+   # SGI C++ compiler will create directory out/ii_files/ for\r
+   # template instantiation\r
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files\r
+   $RM out/* && rmdir out\r
+   cd ..\r
+   $RM -r conftest\r
+   $RM conftest*\r
+])\r
+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],\r
+       [Does compiler simultaneously support -c and -o options?])\r
+])# _LT_COMPILER_C_O\r
+\r
+\r
+# _LT_COMPILER_FILE_LOCKS([TAGNAME])\r
+# ----------------------------------\r
+# Check to see if we can do hard links to lock some files if needed\r
+m4_defun([_LT_COMPILER_FILE_LOCKS],\r
+[m4_require([_LT_ENABLE_LOCK])dnl\r
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl\r
+_LT_COMPILER_C_O([$1])\r
+\r
+hard_links="nottested"\r
+if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then\r
+  # do not overwrite the value of need_locks provided by the user\r
+  AC_MSG_CHECKING([if we can lock with hard links])\r
+  hard_links=yes\r
+  $RM conftest*\r
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no\r
+  touch conftest.a\r
+  ln conftest.a conftest.b 2>&5 || hard_links=no\r
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no\r
+  AC_MSG_RESULT([$hard_links])\r
+  if test "$hard_links" = no; then\r
+    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])\r
+    need_locks=warn\r
+  fi\r
+else\r
+  need_locks=no\r
+fi\r
+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])\r
+])# _LT_COMPILER_FILE_LOCKS\r
+\r
+\r
+# _LT_CHECK_OBJDIR\r
+# ----------------\r
+m4_defun([_LT_CHECK_OBJDIR],\r
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],\r
+[rm -f .libs 2>/dev/null\r
+mkdir .libs 2>/dev/null\r
+if test -d .libs; then\r
+  lt_cv_objdir=.libs\r
+else\r
+  # MS-DOS does not allow filenames that begin with a dot.\r
+  lt_cv_objdir=_libs\r
+fi\r
+rmdir .libs 2>/dev/null])\r
+objdir=$lt_cv_objdir\r
+_LT_DECL([], [objdir], [0],\r
+         [The name of the directory that contains temporary libtool files])dnl\r
+m4_pattern_allow([LT_OBJDIR])dnl\r
+AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",\r
+  [Define to the sub-directory in which libtool stores uninstalled libraries.])\r
+])# _LT_CHECK_OBJDIR\r
+\r
+\r
+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])\r
+# --------------------------------------\r
+# Check hardcoding attributes.\r
+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],\r
+[AC_MSG_CHECKING([how to hardcode library paths into programs])\r
+_LT_TAGVAR(hardcode_action, $1)=\r
+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||\r
+   test -n "$_LT_TAGVAR(runpath_var, $1)" ||\r
+   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then\r
+\r
+  # We can hardcode non-existent directories.\r
+  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&\r
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we\r
+     # have to relink, otherwise we might link with an installed library\r
+     # when we should be linking with a yet-to-be-installed one\r
+     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&\r
+     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then\r
+    # Linking always hardcodes the temporary library directory.\r
+    _LT_TAGVAR(hardcode_action, $1)=relink\r
+  else\r
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.\r
+    _LT_TAGVAR(hardcode_action, $1)=immediate\r
+  fi\r
+else\r
+  # We cannot hardcode anything, or else we can only hardcode existing\r
+  # directories.\r
+  _LT_TAGVAR(hardcode_action, $1)=unsupported\r
+fi\r
+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])\r
+\r
+if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||\r
+   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then\r
+  # Fast installation is not supported\r
+  enable_fast_install=no\r
+elif test "$shlibpath_overrides_runpath" = yes ||\r
+     test "$enable_shared" = no; then\r
+  # Fast installation is not necessary\r
+  enable_fast_install=needless\r
+fi\r
+_LT_TAGDECL([], [hardcode_action], [0],\r
+    [How to hardcode a shared library path into an executable])\r
+])# _LT_LINKER_HARDCODE_LIBPATH\r
+\r
+\r
+# _LT_CMD_STRIPLIB\r
+# ----------------\r
+m4_defun([_LT_CMD_STRIPLIB],\r
+[m4_require([_LT_DECL_EGREP])\r
+striplib=\r
+old_striplib=\r
+AC_MSG_CHECKING([whether stripping libraries is possible])\r
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then\r
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"\r
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"\r
+  AC_MSG_RESULT([yes])\r
+else\r
+# FIXME - insert some real tests, host_os isn't really good enough\r
+  case $host_os in\r
+  darwin*)\r
+    if test -n "$STRIP" ; then\r
+      striplib="$STRIP -x"\r
+      old_striplib="$STRIP -S"\r
+      AC_MSG_RESULT([yes])\r
+    else\r
+      AC_MSG_RESULT([no])\r
+    fi\r
+    ;;\r
+  *)\r
+    AC_MSG_RESULT([no])\r
+    ;;\r
+  esac\r
+fi\r
+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])\r
+_LT_DECL([], [striplib], [1])\r
+])# _LT_CMD_STRIPLIB\r
+\r
+\r
+# _LT_SYS_DYNAMIC_LINKER([TAG])\r
+# -----------------------------\r
+# PORTME Fill in your ld.so characteristics\r
+m4_defun([_LT_SYS_DYNAMIC_LINKER],\r
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl\r
+m4_require([_LT_DECL_EGREP])dnl\r
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl\r
+m4_require([_LT_DECL_OBJDUMP])dnl\r
+m4_require([_LT_DECL_SED])dnl\r
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl\r
+AC_MSG_CHECKING([dynamic linker characteristics])\r
+m4_if([$1],\r
+       [], [\r
+if test "$GCC" = yes; then\r
+  case $host_os in\r
+    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;\r
+    *) lt_awk_arg="/^libraries:/" ;;\r
+  esac\r
+  case $host_os in\r
+    mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;\r
+    *) lt_sed_strip_eq="s,=/,/,g" ;;\r
+  esac\r
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`\r
+  case $lt_search_path_spec in\r
+  *\;*)\r
+    # if the path contains ";" then we assume it to be the separator\r
+    # otherwise default to the standard path separator (i.e. ":") - it is\r
+    # assumed that no part of a normal pathname contains ";" but that should\r
+    # okay in the real world where ";" in dirpaths is itself problematic.\r
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`\r
+    ;;\r
+  *)\r
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`\r
+    ;;\r
+  esac\r
+  # Ok, now we have the path, separated by spaces, we can step through it\r
+  # and add multilib dir if necessary.\r
+  lt_tmp_lt_search_path_spec=\r
+  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`\r
+  for lt_sys_path in $lt_search_path_spec; do\r
+    if test -d "$lt_sys_path/$lt_multi_os_dir"; then\r
+      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"\r
+    else\r
+      test -d "$lt_sys_path" && \\r
+       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"\r
+    fi\r
+  done\r
+  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '\r
+BEGIN {RS=" "; FS="/|\n";} {\r
+  lt_foo="";\r
+  lt_count=0;\r
+  for (lt_i = NF; lt_i > 0; lt_i--) {\r
+    if ($lt_i != "" && $lt_i != ".") {\r
+      if ($lt_i == "..") {\r
+        lt_count++;\r
+      } else {\r
+        if (lt_count == 0) {\r
+          lt_foo="/" $lt_i lt_foo;\r
+        } else {\r
+          lt_count--;\r
+        }\r
+      }\r
+    }\r
+  }\r
+  if (lt_foo != "") { lt_freq[[lt_foo]]++; }\r
+  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }\r
+}'`\r
+  # AWK program above erroneously prepends '/' to C:/dos/paths\r
+  # for these hosts.\r
+  case $host_os in\r
+    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\\r
+      $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;\r
+  esac\r
+  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`\r
+else\r
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"\r
+fi])\r
+library_names_spec=\r
+libname_spec='lib$name'\r
+soname_spec=\r
+shrext_cmds=".so"\r
+postinstall_cmds=\r
+postuninstall_cmds=\r
+finish_cmds=\r
+finish_eval=\r
+shlibpath_var=\r
+shlibpath_overrides_runpath=unknown\r
+version_type=none\r
+dynamic_linker="$host_os ld.so"\r
+sys_lib_dlsearch_path_spec="/lib /usr/lib"\r
+need_lib_prefix=unknown\r
+hardcode_into_libs=no\r
+\r
+# when you set need_version to no, make sure it does not cause -set_version\r
+# flags to be left without arguments\r
+need_version=unknown\r
+\r
+case $host_os in\r
+aix3*)\r
+  version_type=linux\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'\r
+  shlibpath_var=LIBPATH\r
+\r
+  # AIX 3 has no versioning support, so we append a major version to the name.\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  ;;\r
+\r
+aix[[4-9]]*)\r
+  version_type=linux\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  hardcode_into_libs=yes\r
+  if test "$host_cpu" = ia64; then\r
+    # AIX 5 supports IA64\r
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'\r
+    shlibpath_var=LD_LIBRARY_PATH\r
+  else\r
+    # With GCC up to 2.95.x, collect2 would create an import file\r
+    # for dependence libraries.  The import file would start with\r
+    # the line `#! .'.  This would cause the generated library to\r
+    # depend on `.', always an invalid library.  This was fixed in\r
+    # development snapshots of GCC prior to 3.0.\r
+    case $host_os in\r
+      aix4 | aix4.[[01]] | aix4.[[01]].*)\r
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'\r
+          echo ' yes '\r
+          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then\r
+       :\r
+      else\r
+       can_build_shared=no\r
+      fi\r
+      ;;\r
+    esac\r
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct\r
+    # soname into executable. Probably we can add versioning support to\r
+    # collect2, so additional links can be useful in future.\r
+    if test "$aix_use_runtimelinking" = yes; then\r
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so\r
+      # instead of lib<name>.a to let people know that these are not\r
+      # typical AIX shared libraries.\r
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+    else\r
+      # We preserve .a as extension for shared libraries through AIX4.2\r
+      # and later when we are not doing run time linking.\r
+      library_names_spec='${libname}${release}.a $libname.a'\r
+      soname_spec='${libname}${release}${shared_ext}$major'\r
+    fi\r
+    shlibpath_var=LIBPATH\r
+  fi\r
+  ;;\r
+\r
+amigaos*)\r
+  case $host_cpu in\r
+  powerpc)\r
+    # Since July 2007 AmigaOS4 officially supports .so libraries.\r
+    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.\r
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+    ;;\r
+  m68k)\r
+    library_names_spec='$libname.ixlibrary $libname.a'\r
+    # Create ${libname}_ixlibrary.a entries in /sys/libs.\r
+    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'\r
+    ;;\r
+  esac\r
+  ;;\r
+\r
+beos*)\r
+  library_names_spec='${libname}${shared_ext}'\r
+  dynamic_linker="$host_os ld.so"\r
+  shlibpath_var=LIBRARY_PATH\r
+  ;;\r
+\r
+bsdi[[45]]*)\r
+  version_type=linux\r
+  need_version=no\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"\r
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"\r
+  # the default ld.so.conf also contains /usr/contrib/lib and\r
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow\r
+  # libtool to hard-code these into programs\r
+  ;;\r
+\r
+cygwin* | mingw* | pw32* | cegcc*)\r
+  version_type=windows\r
+  shrext_cmds=".dll"\r
+  need_version=no\r
+  need_lib_prefix=no\r
+\r
+  case $GCC,$cc_basename in\r
+  yes,*)\r
+    # gcc\r
+    library_names_spec='$libname.dll.a'\r
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds\r
+    postinstall_cmds='base_file=`basename \${file}`~\r
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~\r
+      dldir=$destdir/`dirname \$dlpath`~\r
+      test -d \$dldir || mkdir -p \$dldir~\r
+      $install_prog $dir/$dlname \$dldir/$dlname~\r
+      chmod a+x \$dldir/$dlname~\r
+      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then\r
+        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;\r
+      fi'\r
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~\r
+      dlpath=$dir/\$dldll~\r
+       $RM \$dlpath'\r
+    shlibpath_overrides_runpath=yes\r
+\r
+    case $host_os in\r
+    cygwin*)\r
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'\r
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'\r
+m4_if([$1], [],[\r
+      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])\r
+      ;;\r
+    mingw* | cegcc*)\r
+      # MinGW DLLs use traditional 'lib' prefix\r
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'\r
+      ;;\r
+    pw32*)\r
+      # pw32 DLLs use 'pw' prefix rather than 'lib'\r
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'\r
+      ;;\r
+    esac\r
+    dynamic_linker='Win32 ld.exe'\r
+    ;;\r
+\r
+  *,cl*)\r
+    # Native MSVC\r
+    libname_spec='$name'\r
+    soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'\r
+    library_names_spec='${libname}.dll.lib'\r
+\r
+    case $build_os in\r
+    mingw*)\r
+      sys_lib_search_path_spec=\r
+      lt_save_ifs=$IFS\r
+      IFS=';'\r
+      for lt_path in $LIB\r
+      do\r
+        IFS=$lt_save_ifs\r
+        # Let DOS variable expansion print the short 8.3 style file name.\r
+        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`\r
+        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"\r
+      done\r
+      IFS=$lt_save_ifs\r
+      # Convert to MSYS style.\r
+      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`\r
+      ;;\r
+    cygwin*)\r
+      # Convert to unix form, then to dos form, then back to unix form\r
+      # but this time dos style (no spaces!) so that the unix form looks\r
+      # like /cygdrive/c/PROGRA~1:/cygdr...\r
+      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`\r
+      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`\r
+      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`\r
+      ;;\r
+    *)\r
+      sys_lib_search_path_spec="$LIB"\r
+      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then\r
+        # It is most probably a Windows format PATH.\r
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`\r
+      else\r
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`\r
+      fi\r
+      # FIXME: find the short name or the path components, as spaces are\r
+      # common. (e.g. "Program Files" -> "PROGRA~1")\r
+      ;;\r
+    esac\r
+\r
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds\r
+    postinstall_cmds='base_file=`basename \${file}`~\r
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~\r
+      dldir=$destdir/`dirname \$dlpath`~\r
+      test -d \$dldir || mkdir -p \$dldir~\r
+      $install_prog $dir/$dlname \$dldir/$dlname'\r
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~\r
+      dlpath=$dir/\$dldll~\r
+       $RM \$dlpath'\r
+    shlibpath_overrides_runpath=yes\r
+    dynamic_linker='Win32 link.exe'\r
+    ;;\r
+\r
+  *)\r
+    # Assume MSVC wrapper\r
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'\r
+    dynamic_linker='Win32 ld.exe'\r
+    ;;\r
+  esac\r
+  # FIXME: first we should search . and the directory the executable is in\r
+  shlibpath_var=PATH\r
+  ;;\r
+\r
+darwin* | rhapsody*)\r
+  dynamic_linker="$host_os dyld"\r
+  version_type=darwin\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'\r
+  soname_spec='${libname}${release}${major}$shared_ext'\r
+  shlibpath_overrides_runpath=yes\r
+  shlibpath_var=DYLD_LIBRARY_PATH\r
+  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'\r
+m4_if([$1], [],[\r
+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])\r
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'\r
+  ;;\r
+\r
+dgux*)\r
+  version_type=linux\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  ;;\r
+\r
+freebsd1*)\r
+  dynamic_linker=no\r
+  ;;\r
+\r
+freebsd* | dragonfly*)\r
+  # DragonFly does not have aout.  When/if they implement a new\r
+  # versioning mechanism, adjust this.\r
+  if test -x /usr/bin/objformat; then\r
+    objformat=`/usr/bin/objformat`\r
+  else\r
+    case $host_os in\r
+    freebsd[[123]]*) objformat=aout ;;\r
+    *) objformat=elf ;;\r
+    esac\r
+  fi\r
+  version_type=freebsd-$objformat\r
+  case $version_type in\r
+    freebsd-elf*)\r
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'\r
+      need_version=no\r
+      need_lib_prefix=no\r
+      ;;\r
+    freebsd-*)\r
+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'\r
+      need_version=yes\r
+      ;;\r
+  esac\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  case $host_os in\r
+  freebsd2*)\r
+    shlibpath_overrides_runpath=yes\r
+    ;;\r
+  freebsd3.[[01]]* | freebsdelf3.[[01]]*)\r
+    shlibpath_overrides_runpath=yes\r
+    hardcode_into_libs=yes\r
+    ;;\r
+  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \\r
+  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)\r
+    shlibpath_overrides_runpath=no\r
+    hardcode_into_libs=yes\r
+    ;;\r
+  *) # from 4.6 on, and DragonFly\r
+    shlibpath_overrides_runpath=yes\r
+    hardcode_into_libs=yes\r
+    ;;\r
+  esac\r
+  ;;\r
+\r
+gnu*)\r
+  version_type=linux\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  shlibpath_overrides_runpath=no\r
+  hardcode_into_libs=yes\r
+  ;;\r
+\r
+haiku*)\r
+  version_type=linux\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  dynamic_linker="$host_os runtime_loader"\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  shlibpath_var=LIBRARY_PATH\r
+  shlibpath_overrides_runpath=yes\r
+  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'\r
+  hardcode_into_libs=yes\r
+  ;;\r
+\r
+hpux9* | hpux10* | hpux11*)\r
+  # Give a soname corresponding to the major version so that dld.sl refuses to\r
+  # link against other versions.\r
+  version_type=sunos\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  case $host_cpu in\r
+  ia64*)\r
+    shrext_cmds='.so'\r
+    hardcode_into_libs=yes\r
+    dynamic_linker="$host_os dld.so"\r
+    shlibpath_var=LD_LIBRARY_PATH\r
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.\r
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+    soname_spec='${libname}${release}${shared_ext}$major'\r
+    if test "X$HPUX_IA64_MODE" = X32; then\r
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"\r
+    else\r
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"\r
+    fi\r
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec\r
+    ;;\r
+  hppa*64*)\r
+    shrext_cmds='.sl'\r
+    hardcode_into_libs=yes\r
+    dynamic_linker="$host_os dld.sl"\r
+    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH\r
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.\r
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+    soname_spec='${libname}${release}${shared_ext}$major'\r
+    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"\r
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec\r
+    ;;\r
+  *)\r
+    shrext_cmds='.sl'\r
+    dynamic_linker="$host_os dld.sl"\r
+    shlibpath_var=SHLIB_PATH\r
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH\r
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+    soname_spec='${libname}${release}${shared_ext}$major'\r
+    ;;\r
+  esac\r
+  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...\r
+  postinstall_cmds='chmod 555 $lib'\r
+  # or fails outright, so override atomically:\r
+  install_override_mode=555\r
+  ;;\r
+\r
+interix[[3-9]]*)\r
+  version_type=linux\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  shlibpath_overrides_runpath=no\r
+  hardcode_into_libs=yes\r
+  ;;\r
+\r
+irix5* | irix6* | nonstopux*)\r
+  case $host_os in\r
+    nonstopux*) version_type=nonstopux ;;\r
+    *)\r
+       if test "$lt_cv_prog_gnu_ld" = yes; then\r
+               version_type=linux\r
+       else\r
+               version_type=irix\r
+       fi ;;\r
+  esac\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'\r
+  case $host_os in\r
+  irix5* | nonstopux*)\r
+    libsuff= shlibsuff=\r
+    ;;\r
+  *)\r
+    case $LD in # libtool.m4 will add one of these switches to LD\r
+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")\r
+      libsuff= shlibsuff= libmagic=32-bit;;\r
+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")\r
+      libsuff=32 shlibsuff=N32 libmagic=N32;;\r
+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")\r
+      libsuff=64 shlibsuff=64 libmagic=64-bit;;\r
+    *) libsuff= shlibsuff= libmagic=never-match;;\r
+    esac\r
+    ;;\r
+  esac\r
+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH\r
+  shlibpath_overrides_runpath=no\r
+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"\r
+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"\r
+  hardcode_into_libs=yes\r
+  ;;\r
+\r
+# No shared lib support for Linux oldld, aout, or coff.\r
+linux*oldld* | linux*aout* | linux*coff*)\r
+  dynamic_linker=no\r
+  ;;\r
+\r
+# This must be Linux ELF.\r
+linux* | k*bsd*-gnu | kopensolaris*-gnu)\r
+  version_type=linux\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  shlibpath_overrides_runpath=no\r
+\r
+  # Some binutils ld are patched to set DT_RUNPATH\r
+  AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],\r
+    [lt_cv_shlibpath_overrides_runpath=no\r
+    save_LDFLAGS=$LDFLAGS\r
+    save_libdir=$libdir\r
+    eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \\r
+        LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""\r
+    AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],\r
+      [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],\r
+        [lt_cv_shlibpath_overrides_runpath=yes])])\r
+    LDFLAGS=$save_LDFLAGS\r
+    libdir=$save_libdir\r
+    ])\r
+  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath\r
+\r
+  # This implies no fast_install, which is unacceptable.\r
+  # Some rework will be needed to allow for fast_install\r
+  # before this can be enabled.\r
+  hardcode_into_libs=yes\r
+\r
+  # Append ld.so.conf contents to the search path\r
+  if test -f /etc/ld.so.conf; then\r
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[  ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`\r
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"\r
+  fi\r
+\r
+  # We used to test for /lib/ld.so.1 and disable shared libraries on\r
+  # powerpc, because MkLinux only supported shared libraries with the\r
+  # GNU dynamic linker.  Since this was broken with cross compilers,\r
+  # most powerpc-linux boxes support dynamic linking these days and\r
+  # people can always --disable-shared, the test was removed, and we\r
+  # assume the GNU/Linux dynamic linker is in use.\r
+  dynamic_linker='GNU/Linux ld.so'\r
+  ;;\r
+\r
+netbsdelf*-gnu)\r
+  version_type=linux\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  shlibpath_overrides_runpath=no\r
+  hardcode_into_libs=yes\r
+  dynamic_linker='NetBSD ld.elf_so'\r
+  ;;\r
+\r
+netbsd*)\r
+  version_type=sunos\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then\r
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'\r
+    dynamic_linker='NetBSD (a.out) ld.so'\r
+  else\r
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
+    soname_spec='${libname}${release}${shared_ext}$major'\r
+    dynamic_linker='NetBSD ld.elf_so'\r
+  fi\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  shlibpath_overrides_runpath=yes\r
+  hardcode_into_libs=yes\r
+  ;;\r
+\r
+newsos6)\r
+  version_type=linux\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  shlibpath_overrides_runpath=yes\r
+  ;;\r
+\r
+*nto* | *qnx*)\r
+  version_type=qnx\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  shlibpath_overrides_runpath=no\r
+  hardcode_into_libs=yes\r
+  dynamic_linker='ldqnx.so'\r
+  ;;\r
+\r
+openbsd*)\r
+  version_type=sunos\r
+  sys_lib_dlsearch_path_spec="/usr/lib"\r
+  need_lib_prefix=no\r
+  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.\r
+  case $host_os in\r
+    openbsd3.3 | openbsd3.3.*) need_version=yes ;;\r
+    *)                         need_version=no  ;;\r
+  esac\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
+    case $host_os in\r
+      openbsd2.[[89]] | openbsd2.[[89]].*)\r
+       shlibpath_overrides_runpath=no\r
+       ;;\r
+      *)\r
+       shlibpath_overrides_runpath=yes\r
+       ;;\r
+      esac\r
+  else\r
+    shlibpath_overrides_runpath=yes\r
+  fi\r
+  ;;\r
+\r
+os2*)\r
+  libname_spec='$name'\r
+  shrext_cmds=".dll"\r
+  need_lib_prefix=no\r
+  library_names_spec='$libname${shared_ext} $libname.a'\r
+  dynamic_linker='OS/2 ld.exe'\r
+  shlibpath_var=LIBPATH\r
+  ;;\r
+\r
+osf3* | osf4* | osf5*)\r
+  version_type=osf\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"\r
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"\r
+  ;;\r
+\r
+rdos*)\r
+  dynamic_linker=no\r
+  ;;\r
+\r
+solaris*)\r
+  version_type=linux\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  shlibpath_overrides_runpath=yes\r
+  hardcode_into_libs=yes\r
+  # ldd complains unless libraries are executable\r
+  postinstall_cmds='chmod +x $lib'\r
+  ;;\r
+\r
+sunos4*)\r
+  version_type=sunos\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  shlibpath_overrides_runpath=yes\r
+  if test "$with_gnu_ld" = yes; then\r
+    need_lib_prefix=no\r
+  fi\r
+  need_version=yes\r
+  ;;\r
+\r
+sysv4 | sysv4.3*)\r
+  version_type=linux\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  case $host_vendor in\r
+    sni)\r
+      shlibpath_overrides_runpath=no\r
+      need_lib_prefix=no\r
+      runpath_var=LD_RUN_PATH\r
+      ;;\r
+    siemens)\r
+      need_lib_prefix=no\r
+      ;;\r
+    motorola)\r
+      need_lib_prefix=no\r
+      need_version=no\r
+      shlibpath_overrides_runpath=no\r
+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'\r
+      ;;\r
+  esac\r
+  ;;\r
+\r
+sysv4*MP*)\r
+  if test -d /usr/nec ;then\r
+    version_type=linux\r
+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'\r
+    soname_spec='$libname${shared_ext}.$major'\r
+    shlibpath_var=LD_LIBRARY_PATH\r
+  fi\r
+  ;;\r
+\r
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)\r
+  version_type=freebsd-elf\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  shlibpath_overrides_runpath=yes\r
+  hardcode_into_libs=yes\r
+  if test "$with_gnu_ld" = yes; then\r
+    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'\r
+  else\r
+    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'\r
+    case $host_os in\r
+      sco3.2v5*)\r
+        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"\r
+       ;;\r
+    esac\r
+  fi\r
+  sys_lib_dlsearch_path_spec='/usr/lib'\r
+  ;;\r
+\r
+tpf*)\r
+  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.\r
+  version_type=linux\r
+  need_lib_prefix=no\r
+  need_version=no\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  shlibpath_overrides_runpath=no\r
+  hardcode_into_libs=yes\r
+  ;;\r
+\r
+uts4*)\r
+  version_type=linux\r
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
+  soname_spec='${libname}${release}${shared_ext}$major'\r
+  shlibpath_var=LD_LIBRARY_PATH\r
+  ;;\r
+\r
+*)\r
+  dynamic_linker=no\r
+  ;;\r
+esac\r
+AC_MSG_RESULT([$dynamic_linker])\r
+test "$dynamic_linker" = no && can_build_shared=no\r
+\r
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"\r
+if test "$GCC" = yes; then\r
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"\r
+fi\r
+\r
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then\r
+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"\r
+fi\r
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then\r
+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"\r
+fi\r
+\r
+_LT_DECL([], [variables_saved_for_relink], [1],\r
+    [Variables whose values should be saved in libtool wrapper scripts and\r
+    restored at link time])\r
+_LT_DECL([], [need_lib_prefix], [0],\r
+    [Do we need the "lib" prefix for modules?])\r
+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])\r
+_LT_DECL([], [version_type], [0], [Library versioning type])\r
+_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])\r
+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])\r
+_LT_DECL([], [shlibpath_overrides_runpath], [0],\r
+    [Is shlibpath searched before the hard-coded library search path?])\r
+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])\r
+_LT_DECL([], [library_names_spec], [1],\r
+    [[List of archive names.  First name is the real one, the rest are links.\r
+    The last name is the one that the linker finds with -lNAME]])\r
+_LT_DECL([], [soname_spec], [1],\r
+    [[The coded name of the library, if different from the real name]])\r
+_LT_DECL([], [install_override_mode], [1],\r
+    [Permission mode override for installation of shared libraries])\r
+_LT_DECL([], [postinstall_cmds], [2],\r
+    [Command to use after installation of a shared archive])\r
+_LT_DECL([], [postuninstall_cmds], [2],\r
+    [Command to use after uninstallation of a shared archive])\r
+_LT_DECL([], [finish_cmds], [2],\r
+    [Commands used to finish a libtool library installation in a directory])\r
+_LT_DECL([], [finish_eval], [1],\r
+    [[As "finish_cmds", except a single script fragment to be evaled but\r
+    not shown]])\r
+_LT_DECL([], [hardcode_into_libs], [0],\r
+    [Whether we should hardcode library paths into libraries])\r
+_LT_DECL([], [sys_lib_search_path_spec], [2],\r
+    [Compile-time system search path for libraries])\r
+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],\r
+    [Run-time system search path for libraries])\r
+])# _LT_SYS_DYNAMIC_LINKER\r
+\r
+\r
+# _LT_PATH_TOOL_PREFIX(TOOL)\r
+# --------------------------\r
+# find a file program which can recognize shared library\r
+AC_DEFUN([_LT_PATH_TOOL_PREFIX],\r
+[m4_require([_LT_DECL_EGREP])dnl\r
+AC_MSG_CHECKING([for $1])\r
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,\r
+[case $MAGIC_CMD in\r
+[[\\/*] |  ?:[\\/]*])\r
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.\r
+  ;;\r
+*)\r
+  lt_save_MAGIC_CMD="$MAGIC_CMD"\r
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR\r
+dnl $ac_dummy forces splitting on constant user-supplied paths.\r
+dnl POSIX.2 word splitting is done only on the output of word expansions,\r
+dnl not every word.  This closes a longstanding sh security hole.\r
+  ac_dummy="m4_if([$2], , $PATH, [$2])"\r
+  for ac_dir in $ac_dummy; do\r
+    IFS="$lt_save_ifs"\r
+    test -z "$ac_dir" && ac_dir=.\r
+    if test -f $ac_dir/$1; then\r
+      lt_cv_path_MAGIC_CMD="$ac_dir/$1"\r
+      if test -n "$file_magic_test_file"; then\r
+       case $deplibs_check_method in\r
+       "file_magic "*)\r
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`\r
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"\r
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |\r
+           $EGREP "$file_magic_regex" > /dev/null; then\r
+           :\r
+         else\r
+           cat <<_LT_EOF 1>&2\r
+\r
+*** Warning: the command libtool uses to detect shared libraries,\r
+*** $file_magic_cmd, produces output that libtool cannot recognize.\r
+*** The result is that libtool may fail to recognize shared libraries\r
+*** as such.  This will affect the creation of libtool libraries that\r
+*** depend on shared libraries, but programs linked with such libtool\r
+*** libraries will work regardless of this problem.  Nevertheless, you\r
+*** may want to report the problem to your system manager and/or to\r
+*** bug-libtool@gnu.org\r
+\r
+_LT_EOF\r
+         fi ;;\r
+       esac\r
+      fi\r
+      break\r
+    fi\r
+  done\r
+  IFS="$lt_save_ifs"\r
+  MAGIC_CMD="$lt_save_MAGIC_CMD"\r
+  ;;\r
+esac])\r
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"\r
+if test -n "$MAGIC_CMD"; then\r
+  AC_MSG_RESULT($MAGIC_CMD)\r
+else\r
+  AC_MSG_RESULT(no)\r
+fi\r
+_LT_DECL([], [MAGIC_CMD], [0],\r
+        [Used to examine libraries when file_magic_cmd begins with "file"])dnl\r
+])# _LT_PATH_TOOL_PREFIX\r
+\r
+# Old name:\r
+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])\r
+\r
+\r
+# _LT_PATH_MAGIC\r
+# --------------\r
+# find a file program which can recognize a shared library\r
+m4_defun([_LT_PATH_MAGIC],\r
+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)\r
+if test -z "$lt_cv_path_MAGIC_CMD"; then\r
+  if test -n "$ac_tool_prefix"; then\r
+    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)\r
+  else\r
+    MAGIC_CMD=:\r
+  fi\r
+fi\r
+])# _LT_PATH_MAGIC\r
+\r
+\r
+# LT_PATH_LD\r
+# ----------\r
+# find the pathname to the GNU or non-GNU linker\r
+AC_DEFUN([LT_PATH_LD],\r
+[AC_REQUIRE([AC_PROG_CC])dnl\r
+AC_REQUIRE([AC_CANONICAL_HOST])dnl\r
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl\r
+m4_require([_LT_DECL_SED])dnl\r
+m4_require([_LT_DECL_EGREP])dnl\r
+m4_require([_LT_PROG_ECHO_BACKSLASH])dnl\r
+\r
+AC_ARG_WITH([gnu-ld],\r
+    [AS_HELP_STRING([--with-gnu-ld],\r
+       [assume the C compiler uses GNU ld @<:@default=no@:>@])],\r
+    [test "$withval" = no || with_gnu_ld=yes],\r
+    [with_gnu_ld=no])dnl\r
+\r
+ac_prog=ld\r
+if test "$GCC" = yes; then\r
+  # Check if gcc -print-prog-name=ld gives a path.\r
+  AC_MSG_CHECKING([for ld used by $CC])\r
+  case $host in\r
+  *-*-mingw*)\r
+    # gcc leaves a trailing carriage return which upsets mingw\r
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;\r
+  *)\r
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;\r
+  esac\r
+  case $ac_prog in\r
+    # Accept absolute paths.\r
+    [[\\/]]* | ?:[[\\/]]*)\r
+      re_direlt='/[[^/]][[^/]]*/\.\./'\r
+      # Canonicalize the pathname of ld\r
+      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`\r
+      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do\r
+       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`\r
+      done\r
+      test -z "$LD" && LD="$ac_prog"\r
+      ;;\r
+  "")\r
+    # If it fails, then pretend we aren't using GCC.\r
+    ac_prog=ld\r
+    ;;\r
+  *)\r
+    # If it is relative, then search for the first ld in PATH.\r
+    with_gnu_ld=unknown\r
+    ;;\r
+  esac\r
+elif test "$with_gnu_ld" = yes; then\r
+  AC_MSG_CHECKING([for GNU ld])\r
+else\r
+  AC_MSG_CHECKING([for non-GNU ld])\r
+fi\r
+AC_CACHE_VAL(lt_cv_path_LD,\r
+[if test -z "$LD"; then\r
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR\r
+  for ac_dir in $PATH; do\r
+    IFS="$lt_save_ifs"\r
+    test -z "$ac_dir" && ac_dir=.\r
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then\r
+      lt_cv_path_LD="$ac_dir/$ac_prog"\r
+      # Check to see if the program is GNU ld.  I'd rather use --version,\r
+      # but apparently some variants of GNU ld only accept -v.\r
+      # Break only if it was the GNU/non-GNU ld that we prefer.\r
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in\r
+      *GNU* | *'with BFD'*)\r
+       test "$with_gnu_ld" != no && break\r
+       ;;\r
+      *)\r
+       test "$with_gnu_ld" != yes && break\r
+       ;;\r
+      esac\r
+    fi\r
+  done\r
+  IFS="$lt_save_ifs"\r
+else\r
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.\r
+fi])\r
+LD="$lt_cv_path_LD"\r
+if test -n "$LD"; then\r
+  AC_MSG_RESULT($LD)\r
+else\r
+  AC_MSG_RESULT(no)\r
+fi\r
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])\r
+_LT_PATH_LD_GNU\r
+AC_SUBST([LD])\r
+\r
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])\r
+])# LT_PATH_LD\r
+\r
+# Old names:\r
+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])\r
+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AM_PROG_LD], [])\r
+dnl AC_DEFUN([AC_PROG_LD], [])\r
+\r
+\r
+# _LT_PATH_LD_GNU\r
+#- --------------\r
+m4_defun([_LT_PATH_LD_GNU],\r
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,\r
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.\r
+case `$LD -v 2>&1 </dev/null` in\r
+*GNU* | *'with BFD'*)\r
+  lt_cv_prog_gnu_ld=yes\r
+  ;;\r
+*)\r
+  lt_cv_prog_gnu_ld=no\r
+  ;;\r
+esac])\r
+with_gnu_ld=$lt_cv_prog_gnu_ld\r
+])# _LT_PATH_LD_GNU\r
+\r
+\r
+# _LT_CMD_RELOAD\r
+# --------------\r
+# find reload flag for linker\r
+#   -- PORTME Some linkers may need a different reload flag.\r
+m4_defun([_LT_CMD_RELOAD],\r
+[AC_CACHE_CHECK([for $LD option to reload object files],\r
+  lt_cv_ld_reload_flag,\r
+  [lt_cv_ld_reload_flag='-r'])\r
+reload_flag=$lt_cv_ld_reload_flag\r
+case $reload_flag in\r
+"" | " "*) ;;\r
+*) reload_flag=" $reload_flag" ;;\r
+esac\r
+reload_cmds='$LD$reload_flag -o $output$reload_objs'\r
+case $host_os in\r
+  cygwin* | mingw* | pw32* | cegcc*)\r
+    if test "$GCC" != yes; then\r
+      reload_cmds=false\r
+    fi\r
+    ;;\r
+  darwin*)\r
+    if test "$GCC" = yes; then\r
+      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'\r
+    else\r
+      reload_cmds='$LD$reload_flag -o $output$reload_objs'\r
+    fi\r
+    ;;\r
+esac\r
+_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl\r
+_LT_TAGDECL([], [reload_cmds], [2])dnl\r
+])# _LT_CMD_RELOAD\r
+\r
+\r
+# _LT_CHECK_MAGIC_METHOD\r
+# ----------------------\r
+# how to check for library dependencies\r
+#  -- PORTME fill in with the dynamic library characteristics\r
+m4_defun([_LT_CHECK_MAGIC_METHOD],\r
+[m4_require([_LT_DECL_EGREP])\r
+m4_require([_LT_DECL_OBJDUMP])\r
+AC_CACHE_CHECK([how to recognize dependent libraries],\r
+lt_cv_deplibs_check_method,\r
+[lt_cv_file_magic_cmd='$MAGIC_CMD'\r
+lt_cv_file_magic_test_file=\r
+lt_cv_deplibs_check_method='unknown'\r
+# Need to set the preceding variable on all platforms that support\r
+# interlibrary dependencies.\r
+# 'none' -- dependencies not supported.\r
+# `unknown' -- same as none, but documents that we really don't know.\r
+# 'pass_all' -- all dependencies passed with no checks.\r
+# 'test_compile' -- check by making test program.\r
+# 'file_magic [[regex]]' -- check by looking for files in library path\r
+# which responds to the $file_magic_cmd with a given extended regex.\r
+# If you have `file' or equivalent on your system and you're not sure\r
+# whether `pass_all' will *always* work, you probably want this one.\r
+\r
+case $host_os in\r
+aix[[4-9]]*)\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+\r
+beos*)\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+\r
+bsdi[[45]]*)\r
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'\r
+  lt_cv_file_magic_cmd='/usr/bin/file -L'\r
+  lt_cv_file_magic_test_file=/shlib/libc.so\r
+  ;;\r
+\r
+cygwin*)\r
+  # func_win32_libid is a shell function defined in ltmain.sh\r
+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'\r
+  lt_cv_file_magic_cmd='func_win32_libid'\r
+  ;;\r
+\r
+mingw* | pw32*)\r
+  # Base MSYS/MinGW do not provide the 'file' command needed by\r
+  # func_win32_libid shell function, so use a weaker test based on 'objdump',\r
+  # unless we find 'file', for example because we are cross-compiling.\r
+  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.\r
+  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then\r
+    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'\r
+    lt_cv_file_magic_cmd='func_win32_libid'\r
+  else\r
+    # Keep this pattern in sync with the one in func_win32_libid.\r
+    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'\r
+    lt_cv_file_magic_cmd='$OBJDUMP -f'\r
+  fi\r
+  ;;\r
+\r
+cegcc*)\r
+  # use the weaker test based on 'objdump'. See mingw*.\r
+  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'\r
+  lt_cv_file_magic_cmd='$OBJDUMP -f'\r
+  ;;\r
+\r
+darwin* | rhapsody*)\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+\r
+freebsd* | dragonfly*)\r
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then\r
+    case $host_cpu in\r
+    i*86 )\r
+      # Not sure whether the presence of OpenBSD here was a mistake.\r
+      # Let's accept both of them until this is cleared up.\r
+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'\r
+      lt_cv_file_magic_cmd=/usr/bin/file\r
+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`\r
+      ;;\r
+    esac\r
+  else\r
+    lt_cv_deplibs_check_method=pass_all\r
+  fi\r
+  ;;\r
+\r
+gnu*)\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+\r
+haiku*)\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+\r
+hpux10.20* | hpux11*)\r
+  lt_cv_file_magic_cmd=/usr/bin/file\r
+  case $host_cpu in\r
+  ia64*)\r
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'\r
+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so\r
+    ;;\r
+  hppa*64*)\r
+    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']\r
+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl\r
+    ;;\r
+  *)\r
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'\r
+    lt_cv_file_magic_test_file=/usr/lib/libc.sl\r
+    ;;\r
+  esac\r
+  ;;\r
+\r
+interix[[3-9]]*)\r
+  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here\r
+  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'\r
+  ;;\r
+\r
+irix5* | irix6* | nonstopux*)\r
+  case $LD in\r
+  *-32|*"-32 ") libmagic=32-bit;;\r
+  *-n32|*"-n32 ") libmagic=N32;;\r
+  *-64|*"-64 ") libmagic=64-bit;;\r
+  *) libmagic=never-match;;\r
+  esac\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+\r
+# This must be Linux ELF.\r
+linux* | k*bsd*-gnu | kopensolaris*-gnu)\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+\r
+netbsd* | netbsdelf*-gnu)\r
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then\r
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'\r
+  else\r
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'\r
+  fi\r
+  ;;\r
+\r
+newos6*)\r
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'\r
+  lt_cv_file_magic_cmd=/usr/bin/file\r
+  lt_cv_file_magic_test_file=/usr/lib/libnls.so\r
+  ;;\r
+\r
+*nto* | *qnx*)\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+\r
+openbsd*)\r
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'\r
+  else\r
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'\r
+  fi\r
+  ;;\r
+\r
+osf3* | osf4* | osf5*)\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+\r
+rdos*)\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+\r
+solaris*)\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+\r
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+\r
+sysv4 | sysv4.3*)\r
+  case $host_vendor in\r
+  motorola)\r
+    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]]'\r
+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`\r
+    ;;\r
+  ncr)\r
+    lt_cv_deplibs_check_method=pass_all\r
+    ;;\r
+  sequent)\r
+    lt_cv_file_magic_cmd='/bin/file'\r
+    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'\r
+    ;;\r
+  sni)\r
+    lt_cv_file_magic_cmd='/bin/file'\r
+    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"\r
+    lt_cv_file_magic_test_file=/lib/libc.so\r
+    ;;\r
+  siemens)\r
+    lt_cv_deplibs_check_method=pass_all\r
+    ;;\r
+  pc)\r
+    lt_cv_deplibs_check_method=pass_all\r
+    ;;\r
+  esac\r
+  ;;\r
+\r
+tpf*)\r
+  lt_cv_deplibs_check_method=pass_all\r
+  ;;\r
+esac\r
+])\r
+\r
+file_magic_glob=\r
+want_nocaseglob=no\r
+if test "$build" = "$host"; then\r
+  case $host_os in\r
+  mingw* | pw32*)\r
+    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then\r
+      want_nocaseglob=yes\r
+    else\r
+      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`\r
+    fi\r
+    ;;\r
+  esac\r
+fi\r
+\r
+file_magic_cmd=$lt_cv_file_magic_cmd\r
+deplibs_check_method=$lt_cv_deplibs_check_method\r
+test -z "$deplibs_check_method" && deplibs_check_method=unknown\r
+\r
+_LT_DECL([], [deplibs_check_method], [1],\r
+    [Method to check whether dependent libraries are shared objects])\r
+_LT_DECL([], [file_magic_cmd], [1],\r
+    [Command to use when deplibs_check_method = "file_magic"])\r
+_LT_DECL([], [file_magic_glob], [1],\r
+    [How to find potential files when deplibs_check_method = "file_magic"])\r
+_LT_DECL([], [want_nocaseglob], [1],\r
+    [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])\r
+])# _LT_CHECK_MAGIC_METHOD\r
+\r
+\r
+# LT_PATH_NM\r
+# ----------\r
+# find the pathname to a BSD- or MS-compatible name lister\r
+AC_DEFUN([LT_PATH_NM],\r
+[AC_REQUIRE([AC_PROG_CC])dnl\r
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,\r
+[if test -n "$NM"; then\r
+  # Let the user override the test.\r
+  lt_cv_path_NM="$NM"\r
+else\r
+  lt_nm_to_check="${ac_tool_prefix}nm"\r
+  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then\r
+    lt_nm_to_check="$lt_nm_to_check nm"\r
+  fi\r
+  for lt_tmp_nm in $lt_nm_to_check; do\r
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR\r
+    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do\r
+      IFS="$lt_save_ifs"\r
+      test -z "$ac_dir" && ac_dir=.\r
+      tmp_nm="$ac_dir/$lt_tmp_nm"\r
+      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then\r
+       # Check to see if the nm accepts a BSD-compat flag.\r
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:\r
+       #   nm: unknown option "B" ignored\r
+       # Tru64's nm complains that /dev/null is an invalid object file\r
+       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in\r
+       */dev/null* | *'Invalid file or object type'*)\r
+         lt_cv_path_NM="$tmp_nm -B"\r
+         break\r
+         ;;\r
+       *)\r
+         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in\r
+         */dev/null*)\r
+           lt_cv_path_NM="$tmp_nm -p"\r
+           break\r
+           ;;\r
+         *)\r
+           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but\r
+           continue # so that we can try to find one that supports BSD flags\r
+           ;;\r
+         esac\r
+         ;;\r
+       esac\r
+      fi\r
+    done\r
+    IFS="$lt_save_ifs"\r
+  done\r
+  : ${lt_cv_path_NM=no}\r
+fi])\r
+if test "$lt_cv_path_NM" != "no"; then\r
+  NM="$lt_cv_path_NM"\r
+else\r
+  # Didn't find any BSD compatible name lister, look for dumpbin.\r
+  if test -n "$DUMPBIN"; then :\r
+    # Let the user override the test.\r
+  else\r
+    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)\r
+    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in\r
+    *COFF*)\r
+      DUMPBIN="$DUMPBIN -symbols"\r
+      ;;\r
+    *)\r
+      DUMPBIN=:\r
+      ;;\r
+    esac\r
+  fi\r
+  AC_SUBST([DUMPBIN])\r
+  if test "$DUMPBIN" != ":"; then\r
+    NM="$DUMPBIN"\r
+  fi\r
+fi\r
+test -z "$NM" && NM=nm\r
+AC_SUBST([NM])\r
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl\r
+\r
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],\r
+  [lt_cv_nm_interface="BSD nm"\r
+  echo "int some_variable = 0;" > conftest.$ac_ext\r
+  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)\r
+  (eval "$ac_compile" 2>conftest.err)\r
+  cat conftest.err >&AS_MESSAGE_LOG_FD\r
+  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)\r
+  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)\r
+  cat conftest.err >&AS_MESSAGE_LOG_FD\r
+  (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)\r
+  cat conftest.out >&AS_MESSAGE_LOG_FD\r
+  if $GREP 'External.*some_variable' conftest.out > /dev/null; then\r
+    lt_cv_nm_interface="MS dumpbin"\r
+  fi\r
+  rm -f conftest*])\r
+])# LT_PATH_NM\r
+\r
+# Old names:\r
+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])\r
+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AM_PROG_NM], [])\r
+dnl AC_DEFUN([AC_PROG_NM], [])\r
+\r
+# _LT_CHECK_SHAREDLIB_FROM_LINKLIB\r
+# --------------------------------\r
+# how to determine the name of the shared library\r
+# associated with a specific link library.\r
+#  -- PORTME fill in with the dynamic library characteristics\r
+m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],\r
+[m4_require([_LT_DECL_EGREP])\r
+m4_require([_LT_DECL_OBJDUMP])\r
+m4_require([_LT_DECL_DLLTOOL])\r
+AC_CACHE_CHECK([how to associate runtime and link libraries],\r
+lt_cv_sharedlib_from_linklib_cmd,\r
+[lt_cv_sharedlib_from_linklib_cmd='unknown'\r
+\r
+case $host_os in\r
+cygwin* | mingw* | pw32* | cegcc*)\r
+  # two different shell functions defined in ltmain.sh\r
+  # decide which to use based on capabilities of $DLLTOOL\r
+  case `$DLLTOOL --help 2>&1` in\r
+  *--identify-strict*)\r
+    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib\r
+    ;;\r
+  *)\r
+    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback\r
+    ;;\r
+  esac\r
+  ;;\r
+*)\r
+  # fallback: assume linklib IS sharedlib\r
+  lt_cv_sharedlib_from_linklib_cmd="$ECHO"\r
+  ;;\r
+esac\r
+])\r
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd\r
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO\r
+\r
+_LT_DECL([], [sharedlib_from_linklib_cmd], [1],\r
+    [Command to associate shared and link libraries])\r
+])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB\r
+\r
+\r
+# _LT_PATH_MANIFEST_TOOL\r
+# ----------------------\r
+# locate the manifest tool\r
+m4_defun([_LT_PATH_MANIFEST_TOOL],\r
+[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)\r
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt\r
+AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],\r
+  [lt_cv_path_mainfest_tool=no\r
+  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD\r
+  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out\r
+  cat conftest.err >&AS_MESSAGE_LOG_FD\r
+  if $GREP 'Manifest Tool' conftest.out > /dev/null; then\r
+    lt_cv_path_mainfest_tool=yes\r
+  fi\r
+  rm -f conftest*])\r
+if test "x$lt_cv_path_mainfest_tool" != xyes; then\r
+  MANIFEST_TOOL=:\r
+fi\r
+_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl\r
+])# _LT_PATH_MANIFEST_TOOL\r
+\r
+\r
+# LT_LIB_M\r
+# --------\r
+# check for math library\r
+AC_DEFUN([LT_LIB_M],\r
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl\r
+LIBM=\r
+case $host in\r
+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)\r
+  # These system don't have libm, or don't need it\r
+  ;;\r
+*-ncr-sysv4.3*)\r
+  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")\r
+  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")\r
+  ;;\r
+*)\r
+  AC_CHECK_LIB(m, cos, LIBM="-lm")\r
+  ;;\r
+esac\r
+AC_SUBST([LIBM])\r
+])# LT_LIB_M\r
+\r
+# Old name:\r
+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AC_CHECK_LIBM], [])\r
+\r
+\r
+# _LT_COMPILER_NO_RTTI([TAGNAME])\r
+# -------------------------------\r
+m4_defun([_LT_COMPILER_NO_RTTI],\r
+[m4_require([_LT_TAG_COMPILER])dnl\r
+\r
+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=\r
+\r
+if test "$GCC" = yes; then\r
+  case $cc_basename in\r
+  nvcc*)\r
+    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;\r
+  *)\r
+    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;\r
+  esac\r
+\r
+  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],\r
+    lt_cv_prog_compiler_rtti_exceptions,\r
+    [-fno-rtti -fno-exceptions], [],\r
+    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])\r
+fi\r
+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],\r
+       [Compiler flag to turn off builtin functions])\r
+])# _LT_COMPILER_NO_RTTI\r
+\r
+\r
+# _LT_CMD_GLOBAL_SYMBOLS\r
+# ----------------------\r
+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],\r
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl\r
+AC_REQUIRE([AC_PROG_CC])dnl\r
+AC_REQUIRE([AC_PROG_AWK])dnl\r
+AC_REQUIRE([LT_PATH_NM])dnl\r
+AC_REQUIRE([LT_PATH_LD])dnl\r
+m4_require([_LT_DECL_SED])dnl\r
+m4_require([_LT_DECL_EGREP])dnl\r
+m4_require([_LT_TAG_COMPILER])dnl\r
+\r
+# Check for command to grab the raw symbol name followed by C symbol from nm.\r
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])\r
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],\r
+[\r
+# These are sane defaults that work on at least a few old systems.\r
+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]\r
+\r
+# Character class describing NM global symbol codes.\r
+symcode='[[BCDEGRST]]'\r
+\r
+# Regexp to match symbols that can be accessed directly from C.\r
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'\r
+\r
+# Define system-specific variables.\r
+case $host_os in\r
+aix*)\r
+  symcode='[[BCDT]]'\r
+  ;;\r
+cygwin* | mingw* | pw32* | cegcc*)\r
+  symcode='[[ABCDGISTW]]'\r
+  ;;\r
+hpux*)\r
+  if test "$host_cpu" = ia64; then\r
+    symcode='[[ABCDEGRST]]'\r
+  fi\r
+  ;;\r
+irix* | nonstopux*)\r
+  symcode='[[BCDEGRST]]'\r
+  ;;\r
+osf*)\r
+  symcode='[[BCDEGQRST]]'\r
+  ;;\r
+solaris*)\r
+  symcode='[[BDRT]]'\r
+  ;;\r
+sco3.2v5*)\r
+  symcode='[[DT]]'\r
+  ;;\r
+sysv4.2uw2*)\r
+  symcode='[[DT]]'\r
+  ;;\r
+sysv5* | sco5v6* | unixware* | OpenUNIX*)\r
+  symcode='[[ABDT]]'\r
+  ;;\r
+sysv4)\r
+  symcode='[[DFNSTU]]'\r
+  ;;\r
+esac\r
+\r
+# If we're using GNU nm, then use its standard symbol codes.\r
+case `$NM -V 2>&1` in\r
+*GNU* | *'with BFD'*)\r
+  symcode='[[ABCDGIRSTW]]' ;;\r
+esac\r
+\r
+# Transform an extracted symbol line into a proper C declaration.\r
+# Some systems (esp. on ia64) link data and code symbols differently,\r
+# so use this general approach.\r
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"\r
+\r
+# Transform an extracted symbol line into symbol name and symbol address\r
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"\r
+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'"\r
+\r
+# Handle CRLF in mingw tool chain\r
+opt_cr=\r
+case $build_os in\r
+mingw*)\r
+  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp\r
+  ;;\r
+esac\r
+\r
+# Try without a prefix underscore, then with it.\r
+for ac_symprfx in "" "_"; do\r
+\r
+  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.\r
+  symxfrm="\\1 $ac_symprfx\\2 \\2"\r
+\r
+  # Write the raw and C identifiers.\r
+  if test "$lt_cv_nm_interface" = "MS dumpbin"; then\r
+    # Fake it for dumpbin and say T for any non-static function\r
+    # and D for any global variable.\r
+    # Also find C++ and __fastcall symbols from MSVC++,\r
+    # which start with @ or ?.\r
+    lt_cv_sys_global_symbol_pipe="$AWK ['"\\r
+"     {last_section=section; section=\$ 3};"\\r
+"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\\r
+"     \$ 0!~/External *\|/{next};"\\r
+"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\\r
+"     {if(hide[section]) next};"\\r
+"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\\r
+"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\\r
+"     s[1]~/^[@?]/{print s[1], s[1]; next};"\\r
+"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\\r
+"     ' prfx=^$ac_symprfx]"\r
+  else\r
+    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[    ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"\r
+  fi\r
+  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"\r
+\r
+  # Check to see that the pipe works correctly.\r
+  pipe_works=no\r
+\r
+  rm -f conftest*\r
+  cat > conftest.$ac_ext <<_LT_EOF\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+char nm_test_var;\r
+void nm_test_func(void);\r
+void nm_test_func(void){}\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+int main(){nm_test_var='a';nm_test_func();return(0);}\r
+_LT_EOF\r
+\r
+  if AC_TRY_EVAL(ac_compile); then\r
+    # Now try to grab the symbols.\r
+    nlist=conftest.nm\r
+    if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then\r
+      # Try sorting and uniquifying the output.\r
+      if sort "$nlist" | uniq > "$nlist"T; then\r
+       mv -f "$nlist"T "$nlist"\r
+      else\r
+       rm -f "$nlist"T\r
+      fi\r
+\r
+      # Make sure that we snagged all the symbols we need.\r
+      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then\r
+       if $GREP ' nm_test_func$' "$nlist" >/dev/null; then\r
+         cat <<_LT_EOF > conftest.$ac_ext\r
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */\r
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)\r
+/* DATA imports from DLLs on WIN32 con't be const, because runtime\r
+   relocations are performed -- see ld's documentation on pseudo-relocs.  */\r
+# define LT@&t@_DLSYM_CONST\r
+#elif defined(__osf__)\r
+/* This system does not cope well with relocations in const data.  */\r
+# define LT@&t@_DLSYM_CONST\r
+#else\r
+# define LT@&t@_DLSYM_CONST const\r
+#endif\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+_LT_EOF\r
+         # Now generate the symbol file.\r
+         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'\r
+\r
+         cat <<_LT_EOF >> conftest.$ac_ext\r
+\r
+/* The mapping between symbol names and symbols.  */\r
+LT@&t@_DLSYM_CONST struct {\r
+  const char *name;\r
+  void       *address;\r
+}\r
+lt__PROGRAM__LTX_preloaded_symbols[[]] =\r
+{\r
+  { "@PROGRAM@", (void *) 0 },\r
+_LT_EOF\r
+         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext\r
+         cat <<\_LT_EOF >> conftest.$ac_ext\r
+  {0, (void *) 0}\r
+};\r
+\r
+/* This works around a problem in FreeBSD linker */\r
+#ifdef FREEBSD_WORKAROUND\r
+static const void *lt_preloaded_setup() {\r
+  return lt__PROGRAM__LTX_preloaded_symbols;\r
+}\r
+#endif\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+_LT_EOF\r
+         # Now try linking the two files.\r
+         mv conftest.$ac_objext conftstm.$ac_objext\r
+         lt_globsym_save_LIBS=$LIBS\r
+         lt_globsym_save_CFLAGS=$CFLAGS\r
+         LIBS="conftstm.$ac_objext"\r
+         CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"\r
+         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then\r
+           pipe_works=yes\r
+         fi\r
+         LIBS=$lt_globsym_save_LIBS\r
+         CFLAGS=$lt_globsym_save_CFLAGS\r
+       else\r
+         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD\r
+       fi\r
+      else\r
+       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD\r
+      fi\r
+    else\r
+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD\r
+    fi\r
+  else\r
+    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD\r
+    cat conftest.$ac_ext >&5\r
+  fi\r
+  rm -rf conftest* conftst*\r
+\r
+  # Do not use the global_symbol_pipe unless it works.\r
+  if test "$pipe_works" = yes; then\r
+    break\r
+  else\r
+    lt_cv_sys_global_symbol_pipe=\r
+  fi\r
+done\r
+])\r
+if test -z "$lt_cv_sys_global_symbol_pipe"; then\r
+  lt_cv_sys_global_symbol_to_cdecl=\r
+fi\r
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then\r
+  AC_MSG_RESULT(failed)\r
+else\r
+  AC_MSG_RESULT(ok)\r
+fi\r
+\r
+# Response file support.\r
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then\r
+  nm_file_list_spec='@'\r
+elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then\r
+  nm_file_list_spec='@'\r
+fi\r
+\r
+_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],\r
+    [Take the output of nm and produce a listing of raw symbols and C names])\r
+_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],\r
+    [Transform the output of nm in a proper C declaration])\r
+_LT_DECL([global_symbol_to_c_name_address],\r
+    [lt_cv_sys_global_symbol_to_c_name_address], [1],\r
+    [Transform the output of nm in a C name address pair])\r
+_LT_DECL([global_symbol_to_c_name_address_lib_prefix],\r
+    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],\r
+    [Transform the output of nm in a C name address pair when lib prefix is needed])\r
+_LT_DECL([], [nm_file_list_spec], [1],\r
+    [Specify filename containing input files for $NM])\r
+]) # _LT_CMD_GLOBAL_SYMBOLS\r
+\r
+\r
+# _LT_COMPILER_PIC([TAGNAME])\r
+# ---------------------------\r
+m4_defun([_LT_COMPILER_PIC],\r
+[m4_require([_LT_TAG_COMPILER])dnl\r
+_LT_TAGVAR(lt_prog_compiler_wl, $1)=\r
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=\r
+_LT_TAGVAR(lt_prog_compiler_static, $1)=\r
+\r
+m4_if([$1], [CXX], [\r
+  # C++ specific cases for pic, static, wl, etc.\r
+  if test "$GXX" = yes; then\r
+    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'\r
+\r
+    case $host_os in\r
+    aix*)\r
+      # All AIX code is PIC.\r
+      if test "$host_cpu" = ia64; then\r
+       # AIX 5 now supports IA64 processor\r
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+      fi\r
+      ;;\r
+\r
+    amigaos*)\r
+      case $host_cpu in\r
+      powerpc)\r
+            # see comment about AmigaOS4 .so support\r
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'\r
+        ;;\r
+      m68k)\r
+            # FIXME: we need at least 68020 code to build shared libraries, but\r
+            # adding the `-m68020' flag to GCC prevents building anything better,\r
+            # like `-m68040'.\r
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'\r
+        ;;\r
+      esac\r
+      ;;\r
+\r
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)\r
+      # PIC is the default for these OSes.\r
+      ;;\r
+    mingw* | cygwin* | os2* | pw32* | cegcc*)\r
+      # This hack is so that the source file can tell whether it is being\r
+      # built for inclusion in a dll (and should export symbols for example).\r
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style\r
+      # (--disable-auto-import) libraries\r
+      m4_if([$1], [GCJ], [],\r
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])\r
+      ;;\r
+    darwin* | rhapsody*)\r
+      # PIC is the default on this platform\r
+      # Common symbols not allowed in MH_DYLIB files\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'\r
+      ;;\r
+    *djgpp*)\r
+      # DJGPP does not support shared libraries at all\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)=\r
+      ;;\r
+    haiku*)\r
+      # PIC is the default for Haiku.\r
+      # The "-static" flag exists, but is broken.\r
+      _LT_TAGVAR(lt_prog_compiler_static, $1)=\r
+      ;;\r
+    interix[[3-9]]*)\r
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.\r
+      # Instead, we relocate shared libraries at runtime.\r
+      ;;\r
+    sysv4*MP*)\r
+      if test -d /usr/nec; then\r
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic\r
+      fi\r
+      ;;\r
+    hpux*)\r
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit\r
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag\r
+      # sets the default TLS model and affects inlining.\r
+      case $host_cpu in\r
+      hppa*64*)\r
+       ;;\r
+      *)\r
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'\r
+       ;;\r
+      esac\r
+      ;;\r
+    *qnx* | *nto*)\r
+      # QNX uses GNU C++, but need to define -shared option too, otherwise\r
+      # it will coredump.\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'\r
+      ;;\r
+    *)\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'\r
+      ;;\r
+    esac\r
+  else\r
+    case $host_os in\r
+      aix[[4-9]]*)\r
+       # All AIX code is PIC.\r
+       if test "$host_cpu" = ia64; then\r
+         # AIX 5 now supports IA64 processor\r
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+       else\r
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'\r
+       fi\r
+       ;;\r
+      chorus*)\r
+       case $cc_basename in\r
+       cxch68*)\r
+         # Green Hills C++ Compiler\r
+         # _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"\r
+         ;;\r
+       esac\r
+       ;;\r
+      mingw* | cygwin* | os2* | pw32* | cegcc*)\r
+       # This hack is so that the source file can tell whether it is being\r
+       # built for inclusion in a dll (and should export symbols for example).\r
+       m4_if([$1], [GCJ], [],\r
+         [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])\r
+       ;;\r
+      dgux*)\r
+       case $cc_basename in\r
+         ec++*)\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+           ;;\r
+         ghcx*)\r
+           # Green Hills C++ Compiler\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'\r
+           ;;\r
+         *)\r
+           ;;\r
+       esac\r
+       ;;\r
+      freebsd* | dragonfly*)\r
+       # FreeBSD uses GNU C++\r
+       ;;\r
+      hpux9* | hpux10* | hpux11*)\r
+       case $cc_basename in\r
+         CC*)\r
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'\r
+           if test "$host_cpu" != ia64; then\r
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'\r
+           fi\r
+           ;;\r
+         aCC*)\r
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'\r
+           case $host_cpu in\r
+           hppa*64*|ia64*)\r
+             # +Z the default\r
+             ;;\r
+           *)\r
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'\r
+             ;;\r
+           esac\r
+           ;;\r
+         *)\r
+           ;;\r
+       esac\r
+       ;;\r
+      interix*)\r
+       # This is c89, which is MS Visual C++ (no shared libs)\r
+       # Anyone wants to do a port?\r
+       ;;\r
+      irix5* | irix6* | nonstopux*)\r
+       case $cc_basename in\r
+         CC*)\r
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'\r
+           # CC pic flag -KPIC is the default.\r
+           ;;\r
+         *)\r
+           ;;\r
+       esac\r
+       ;;\r
+      linux* | k*bsd*-gnu | kopensolaris*-gnu)\r
+       case $cc_basename in\r
+         KCC*)\r
+           # KAI C++ Compiler\r
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'\r
+           ;;\r
+         ecpc* )\r
+           # old Intel C++ for x86_64 which still supported -KPIC.\r
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'\r
+           ;;\r
+         icpc* )\r
+           # Intel C++, used to be incompatible with GCC.\r
+           # ICC 10 doesn't accept -KPIC any more.\r
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'\r
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'\r
+           ;;\r
+         pgCC* | pgcpp*)\r
+           # Portland Group C++ compiler\r
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'\r
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+           ;;\r
+         cxx*)\r
+           # Compaq C++\r
+           # Make sure the PIC flag is empty.  It appears that all Alpha\r
+           # Linux and Compaq Tru64 Unix objects are PIC.\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)=\r
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'\r
+           ;;\r
+         xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)\r
+           # IBM XL 8.0, 9.0 on PPC and BlueGene\r
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'\r
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'\r
+           ;;\r
+         *)\r
+           case `$CC -V 2>&1 | sed 5q` in\r
+           *Sun\ C*)\r
+             # Sun C++ 5.9\r
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '\r
+             ;;\r
+           esac\r
+           ;;\r
+       esac\r
+       ;;\r
+      lynxos*)\r
+       ;;\r
+      m88k*)\r
+       ;;\r
+      mvs*)\r
+       case $cc_basename in\r
+         cxx*)\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'\r
+           ;;\r
+         *)\r
+           ;;\r
+       esac\r
+       ;;\r
+      netbsd* | netbsdelf*-gnu)\r
+       ;;\r
+      *qnx* | *nto*)\r
+        # QNX uses GNU C++, but need to define -shared option too, otherwise\r
+        # it will coredump.\r
+        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'\r
+        ;;\r
+      osf3* | osf4* | osf5*)\r
+       case $cc_basename in\r
+         KCC*)\r
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'\r
+           ;;\r
+         RCC*)\r
+           # Rational C++ 2.4.1\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'\r
+           ;;\r
+         cxx*)\r
+           # Digital/Compaq C++\r
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+           # Make sure the PIC flag is empty.  It appears that all Alpha\r
+           # Linux and Compaq Tru64 Unix objects are PIC.\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)=\r
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'\r
+           ;;\r
+         *)\r
+           ;;\r
+       esac\r
+       ;;\r
+      psos*)\r
+       ;;\r
+      solaris*)\r
+       case $cc_basename in\r
+         CC* | sunCC*)\r
+           # Sun C++ 4.2, 5.x and Centerline C++\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '\r
+           ;;\r
+         gcx*)\r
+           # Green Hills C++ Compiler\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'\r
+           ;;\r
+         *)\r
+           ;;\r
+       esac\r
+       ;;\r
+      sunos4*)\r
+       case $cc_basename in\r
+         CC*)\r
+           # Sun C++ 4.x\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'\r
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+           ;;\r
+         lcc*)\r
+           # Lucid\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'\r
+           ;;\r
+         *)\r
+           ;;\r
+       esac\r
+       ;;\r
+      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)\r
+       case $cc_basename in\r
+         CC*)\r
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+           ;;\r
+       esac\r
+       ;;\r
+      tandem*)\r
+       case $cc_basename in\r
+         NCC*)\r
+           # NonStop-UX NCC 3.20\r
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+           ;;\r
+         *)\r
+           ;;\r
+       esac\r
+       ;;\r
+      vxworks*)\r
+       ;;\r
+      *)\r
+       _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no\r
+       ;;\r
+    esac\r
+  fi\r
+],\r
+[\r
+  if test "$GCC" = yes; then\r
+    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'\r
+\r
+    case $host_os in\r
+      aix*)\r
+      # All AIX code is PIC.\r
+      if test "$host_cpu" = ia64; then\r
+       # AIX 5 now supports IA64 processor\r
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+      fi\r
+      ;;\r
+\r
+    amigaos*)\r
+      case $host_cpu in\r
+      powerpc)\r
+            # see comment about AmigaOS4 .so support\r
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'\r
+        ;;\r
+      m68k)\r
+            # FIXME: we need at least 68020 code to build shared libraries, but\r
+            # adding the `-m68020' flag to GCC prevents building anything better,\r
+            # like `-m68040'.\r
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'\r
+        ;;\r
+      esac\r
+      ;;\r
+\r
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)\r
+      # PIC is the default for these OSes.\r
+      ;;\r
+\r
+    mingw* | cygwin* | pw32* | os2* | cegcc*)\r
+      # This hack is so that the source file can tell whether it is being\r
+      # built for inclusion in a dll (and should export symbols for example).\r
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style\r
+      # (--disable-auto-import) libraries\r
+      m4_if([$1], [GCJ], [],\r
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])\r
+      ;;\r
+\r
+    darwin* | rhapsody*)\r
+      # PIC is the default on this platform\r
+      # Common symbols not allowed in MH_DYLIB files\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'\r
+      ;;\r
+\r
+    haiku*)\r
+      # PIC is the default for Haiku.\r
+      # The "-static" flag exists, but is broken.\r
+      _LT_TAGVAR(lt_prog_compiler_static, $1)=\r
+      ;;\r
+\r
+    hpux*)\r
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit\r
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag\r
+      # sets the default TLS model and affects inlining.\r
+      case $host_cpu in\r
+      hppa*64*)\r
+       # +Z the default\r
+       ;;\r
+      *)\r
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'\r
+       ;;\r
+      esac\r
+      ;;\r
+\r
+    interix[[3-9]]*)\r
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.\r
+      # Instead, we relocate shared libraries at runtime.\r
+      ;;\r
+\r
+    msdosdjgpp*)\r
+      # Just because we use GCC doesn't mean we suddenly get shared libraries\r
+      # on systems that don't support them.\r
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no\r
+      enable_shared=no\r
+      ;;\r
+\r
+    *nto* | *qnx*)\r
+      # QNX uses GNU C++, but need to define -shared option too, otherwise\r
+      # it will coredump.\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'\r
+      ;;\r
+\r
+    sysv4*MP*)\r
+      if test -d /usr/nec; then\r
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic\r
+      fi\r
+      ;;\r
+\r
+    *)\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'\r
+      ;;\r
+    esac\r
+\r
+    case $cc_basename in\r
+    nvcc*) # Cuda Compiler Driver 2.2\r
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'\r
+      ;;\r
+    esac\r
+  else\r
+    # PORTME Check for flag to pass linker flags through the system compiler.\r
+    case $host_os in\r
+    aix*)\r
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+      if test "$host_cpu" = ia64; then\r
+       # AIX 5 now supports IA64 processor\r
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+      else\r
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'\r
+      fi\r
+      ;;\r
+\r
+    mingw* | cygwin* | pw32* | os2* | cegcc*)\r
+      # This hack is so that the source file can tell whether it is being\r
+      # built for inclusion in a dll (and should export symbols for example).\r
+      m4_if([$1], [GCJ], [],\r
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])\r
+      ;;\r
+\r
+    hpux9* | hpux10* | hpux11*)\r
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but\r
+      # not for PA HP-UX.\r
+      case $host_cpu in\r
+      hppa*64*|ia64*)\r
+       # +Z the default\r
+       ;;\r
+      *)\r
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'\r
+       ;;\r
+      esac\r
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?\r
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'\r
+      ;;\r
+\r
+    irix5* | irix6* | nonstopux*)\r
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+      # PIC (with -KPIC) is the default.\r
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'\r
+      ;;\r
+\r
+    linux* | k*bsd*-gnu | kopensolaris*-gnu)\r
+      case $cc_basename in\r
+      # old Intel for x86_64 which still supported -KPIC.\r
+      ecc*)\r
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'\r
+        ;;\r
+      # icc used to be incompatible with GCC.\r
+      # ICC 10 doesn't accept -KPIC any more.\r
+      icc* | ifort*)\r
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'\r
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'\r
+        ;;\r
+      # Lahey Fortran 8.1.\r
+      lf95*)\r
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'\r
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'\r
+       ;;\r
+      nagfor*)\r
+       # NAG Fortran compiler\r
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'\r
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'\r
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+       ;;\r
+      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)\r
+        # Portland Group compilers (*not* the Pentium gcc compiler,\r
+       # which looks to be a dead project)\r
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'\r
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+        ;;\r
+      ccc*)\r
+        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+        # All Alpha code is PIC.\r
+        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'\r
+        ;;\r
+      xl* | bgxl* | bgf* | mpixl*)\r
+       # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene\r
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'\r
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'\r
+       ;;\r
+      *)\r
+       case `$CC -V 2>&1 | sed 5q` in\r
+       *Sun\ F* | *Sun*Fortran*)\r
+         # Sun Fortran 8.3 passes all unrecognized flags to the linker\r
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)=''\r
+         ;;\r
+       *Sun\ C*)\r
+         # Sun C 5.9\r
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+         ;;\r
+       esac\r
+       ;;\r
+      esac\r
+      ;;\r
+\r
+    newsos6)\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+      ;;\r
+\r
+    *nto* | *qnx*)\r
+      # QNX uses GNU C++, but need to define -shared option too, otherwise\r
+      # it will coredump.\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'\r
+      ;;\r
+\r
+    osf3* | osf4* | osf5*)\r
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+      # All OSF/1 code is PIC.\r
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'\r
+      ;;\r
+\r
+    rdos*)\r
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'\r
+      ;;\r
+\r
+    solaris*)\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+      case $cc_basename in\r
+      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)\r
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;\r
+      *)\r
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;\r
+      esac\r
+      ;;\r
+\r
+    sunos4*)\r
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'\r
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+      ;;\r
+\r
+    sysv4 | sysv4.2uw2* | sysv4.3*)\r
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+      ;;\r
+\r
+    sysv4*MP*)\r
+      if test -d /usr/nec ;then\r
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'\r
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+      fi\r
+      ;;\r
+\r
+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)\r
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'\r
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+      ;;\r
+\r
+    unicos*)\r
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'\r
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no\r
+      ;;\r
+\r
+    uts4*)\r
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'\r
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'\r
+      ;;\r
+\r
+    *)\r
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no\r
+      ;;\r
+    esac\r
+  fi\r
+])\r
+case $host_os in\r
+  # For platforms which do not support PIC, -DPIC is meaningless:\r
+  *djgpp*)\r
+    _LT_TAGVAR(lt_prog_compiler_pic, $1)=\r
+    ;;\r
+  *)\r
+    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"\r
+    ;;\r
+esac\r
+\r
+AC_CACHE_CHECK([for $compiler option to produce PIC],\r
+  [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],\r
+  [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])\r
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)\r
+\r
+#\r
+# Check to make sure the PIC flag actually works.\r
+#\r
+if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then\r
+  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],\r
+    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],\r
+    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],\r
+    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in\r
+     "" | " "*) ;;\r
+     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;\r
+     esac],\r
+    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=\r
+     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])\r
+fi\r
+_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],\r
+       [Additional compiler flags for building library objects])\r
+\r
+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],\r
+       [How to pass a linker flag through the compiler])\r
+#\r
+# Check to make sure the static flag actually works.\r
+#\r
+wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"\r
+_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],\r
+  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),\r
+  $lt_tmp_static_flag,\r
+  [],\r
+  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])\r
+_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],\r
+       [Compiler flag to prevent dynamic linking])\r
+])# _LT_COMPILER_PIC\r
+\r
+\r
+# _LT_LINKER_SHLIBS([TAGNAME])\r
+# ----------------------------\r
+# See if the linker supports building shared libraries.\r
+m4_defun([_LT_LINKER_SHLIBS],\r
+[AC_REQUIRE([LT_PATH_LD])dnl\r
+AC_REQUIRE([LT_PATH_NM])dnl\r
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl\r
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl\r
+m4_require([_LT_DECL_EGREP])dnl\r
+m4_require([_LT_DECL_SED])dnl\r
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl\r
+m4_require([_LT_TAG_COMPILER])dnl\r
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])\r
+m4_if([$1], [CXX], [\r
+  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'\r
+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']\r
+  case $host_os in\r
+  aix[[4-9]]*)\r
+    # If we're using GNU nm, then we don't want the "-C" option.\r
+    # -C means demangle to AIX nm, but means don't demangle with GNU nm\r
+    # Also, AIX nm treats weak defined symbols like other global defined\r
+    # symbols, whereas GNU nm marks them as "W".\r
+    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then\r
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'\r
+    else\r
+      _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'\r
+    fi\r
+    ;;\r
+  pw32*)\r
+    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"\r
+    ;;\r
+  cygwin* | mingw* | cegcc*)\r
+    case $cc_basename in\r
+    cl*) ;;\r
+    *)\r
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'\r
+      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']\r
+      ;;\r
+    esac\r
+    ;;\r
+  linux* | k*bsd*-gnu | gnu*)\r
+    _LT_TAGVAR(link_all_deplibs, $1)=no\r
+    ;;\r
+  *)\r
+    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'\r
+    ;;\r
+  esac\r
+], [\r
+  runpath_var=\r
+  _LT_TAGVAR(allow_undefined_flag, $1)=\r
+  _LT_TAGVAR(always_export_symbols, $1)=no\r
+  _LT_TAGVAR(archive_cmds, $1)=\r
+  _LT_TAGVAR(archive_expsym_cmds, $1)=\r
+  _LT_TAGVAR(compiler_needs_object, $1)=no\r
+  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no\r
+  _LT_TAGVAR(export_dynamic_flag_spec, $1)=\r
+  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'\r
+  _LT_TAGVAR(hardcode_automatic, $1)=no\r
+  _LT_TAGVAR(hardcode_direct, $1)=no\r
+  _LT_TAGVAR(hardcode_direct_absolute, $1)=no\r
+  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=\r
+  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=\r
+  _LT_TAGVAR(hardcode_libdir_separator, $1)=\r
+  _LT_TAGVAR(hardcode_minus_L, $1)=no\r
+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported\r
+  _LT_TAGVAR(inherit_rpath, $1)=no\r
+  _LT_TAGVAR(link_all_deplibs, $1)=unknown\r
+  _LT_TAGVAR(module_cmds, $1)=\r
+  _LT_TAGVAR(module_expsym_cmds, $1)=\r
+  _LT_TAGVAR(old_archive_from_new_cmds, $1)=\r
+  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=\r
+  _LT_TAGVAR(thread_safe_flag_spec, $1)=\r
+  _LT_TAGVAR(whole_archive_flag_spec, $1)=\r
+  # include_expsyms should be a list of space-separated symbols to be *always*\r
+  # included in the symbol list\r
+  _LT_TAGVAR(include_expsyms, $1)=\r
+  # exclude_expsyms can be an extended regexp of symbols to exclude\r
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or\r
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',\r
+  # as well as any symbol that contains `d'.\r
+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']\r
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out\r
+  # platforms (ab)use it in PIC code, but their linkers get confused if\r
+  # the symbol is explicitly referenced.  Since portable code cannot\r
+  # rely on this symbol name, it's probably fine to never include it in\r
+  # preloaded symbol tables.\r
+  # Exclude shared library initialization/finalization symbols.\r
+dnl Note also adjust exclude_expsyms for C++ above.\r
+  extract_expsyms_cmds=\r
+\r
+  case $host_os in\r
+  cygwin* | mingw* | pw32* | cegcc*)\r
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time\r
+    # When not using gcc, we currently assume that we are using\r
+    # Microsoft Visual C++.\r
+    if test "$GCC" != yes; then\r
+      with_gnu_ld=no\r
+    fi\r
+    ;;\r
+  interix*)\r
+    # we just hope/assume this is gcc and not c89 (= MSVC++)\r
+    with_gnu_ld=yes\r
+    ;;\r
+  openbsd*)\r
+    with_gnu_ld=no\r
+    ;;\r
+  linux* | k*bsd*-gnu | gnu*)\r
+    _LT_TAGVAR(link_all_deplibs, $1)=no\r
+    ;;\r
+  esac\r
+\r
+  _LT_TAGVAR(ld_shlibs, $1)=yes\r
+\r
+  # On some targets, GNU ld is compatible enough with the native linker\r
+  # that we're better off using the native interface for both.\r
+  lt_use_gnu_ld_interface=no\r
+  if test "$with_gnu_ld" = yes; then\r
+    case $host_os in\r
+      aix*)\r
+       # The AIX port of GNU ld has always aspired to compatibility\r
+       # with the native linker.  However, as the warning in the GNU ld\r
+       # block says, versions before 2.19.5* couldn't really create working\r
+       # shared libraries, regardless of the interface used.\r
+       case `$LD -v 2>&1` in\r
+         *\ \(GNU\ Binutils\)\ 2.19.5*) ;;\r
+         *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;\r
+         *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;\r
+         *)\r
+           lt_use_gnu_ld_interface=yes\r
+           ;;\r
+       esac\r
+       ;;\r
+      *)\r
+       lt_use_gnu_ld_interface=yes\r
+       ;;\r
+    esac\r
+  fi\r
+\r
+  if test "$lt_use_gnu_ld_interface" = yes; then\r
+    # If archive_cmds runs LD, not CC, wlarc should be empty\r
+    wlarc='${wl}'\r
+\r
+    # Set some defaults for GNU ld with shared library support. These\r
+    # are reset later if shared libraries are not supported. Putting them\r
+    # here allows them to be overridden if necessary.\r
+    runpath_var=LD_RUN_PATH\r
+    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'\r
+    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'\r
+    # ancient GNU ld didn't support --whole-archive et. al.\r
+    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then\r
+      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'\r
+    else\r
+      _LT_TAGVAR(whole_archive_flag_spec, $1)=\r
+    fi\r
+    supports_anon_versioning=no\r
+    case `$LD -v 2>&1` in\r
+      *GNU\ gold*) supports_anon_versioning=yes ;;\r
+      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11\r
+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...\r
+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...\r
+      *\ 2.11.*) ;; # other 2.11 versions\r
+      *) supports_anon_versioning=yes ;;\r
+    esac\r
+\r
+    # See if GNU ld supports shared libraries.\r
+    case $host_os in\r
+    aix[[3-9]]*)\r
+      # On AIX/PPC, the GNU linker is very broken\r
+      if test "$host_cpu" != ia64; then\r
+       _LT_TAGVAR(ld_shlibs, $1)=no\r
+       cat <<_LT_EOF 1>&2\r
+\r
+*** Warning: the GNU linker, at least up to release 2.19, is reported\r
+*** to be unable to reliably create shared libraries on AIX.\r
+*** Therefore, libtool is disabling shared libraries support.  If you\r
+*** really care for shared libraries, you may want to install binutils\r
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.\r
+*** You will then need to restart the configuration process.\r
+\r
+_LT_EOF\r
+      fi\r
+      ;;\r
+\r
+    amigaos*)\r
+      case $host_cpu in\r
+      powerpc)\r
+            # see comment about AmigaOS4 .so support\r
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+            _LT_TAGVAR(archive_expsym_cmds, $1)=''\r
+        ;;\r
+      m68k)\r
+            _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)'\r
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'\r
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes\r
+        ;;\r
+      esac\r
+      ;;\r
+\r
+    beos*)\r
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then\r
+       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported\r
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc\r
+       # support --undefined.  This deserves some investigation.  FIXME\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+      else\r
+       _LT_TAGVAR(ld_shlibs, $1)=no\r
+      fi\r
+      ;;\r
+\r
+    cygwin* | mingw* | pw32* | cegcc*)\r
+      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,\r
+      # as there is no search path for DLLs.\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'\r
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'\r
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported\r
+      _LT_TAGVAR(always_export_symbols, $1)=no\r
+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes\r
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'\r
+      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']\r
+\r
+      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then\r
+        _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'\r
+       # If the export-symbols file already is a .def file (1st line\r
+       # is EXPORTS), use it as is; otherwise, prepend...\r
+       _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then\r
+         cp $export_symbols $output_objdir/$soname.def;\r
+       else\r
+         echo EXPORTS > $output_objdir/$soname.def;\r
+         cat $export_symbols >> $output_objdir/$soname.def;\r
+       fi~\r
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'\r
+      else\r
+       _LT_TAGVAR(ld_shlibs, $1)=no\r
+      fi\r
+      ;;\r
+\r
+    haiku*)\r
+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+      _LT_TAGVAR(link_all_deplibs, $1)=yes\r
+      ;;\r
+\r
+    interix[[3-9]]*)\r
+      _LT_TAGVAR(hardcode_direct, $1)=no\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'\r
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'\r
+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.\r
+      # Instead, shared libraries are loaded at an image base (0x10000000 by\r
+      # default) and relocated if they conflict, which is a slow very memory\r
+      # consuming and fragmenting process.  To avoid this, we pick a random,\r
+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link\r
+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.\r
+      _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'\r
+      _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'\r
+      ;;\r
+\r
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)\r
+      tmp_diet=no\r
+      if test "$host_os" = linux-dietlibc; then\r
+       case $cc_basename in\r
+         diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)\r
+       esac\r
+      fi\r
+      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \\r
+        && test "$tmp_diet" = no\r
+      then\r
+       tmp_addflag=' $pic_flag'\r
+       tmp_sharedflag='-shared'\r
+       case $cc_basename,$host_cpu in\r
+        pgcc*)                         # Portland Group C compiler\r
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'\r
+         tmp_addflag=' $pic_flag'\r
+         ;;\r
+       pgf77* | pgf90* | pgf95* | pgfortran*)\r
+                                       # Portland Group f77 and f90 compilers\r
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'\r
+         tmp_addflag=' $pic_flag -Mnomain' ;;\r
+       ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64\r
+         tmp_addflag=' -i_dynamic' ;;\r
+       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64\r
+         tmp_addflag=' -i_dynamic -nofor_main' ;;\r
+       ifc* | ifort*)                  # Intel Fortran compiler\r
+         tmp_addflag=' -nofor_main' ;;\r
+       lf95*)                          # Lahey Fortran 8.1\r
+         _LT_TAGVAR(whole_archive_flag_spec, $1)=\r
+         tmp_sharedflag='--shared' ;;\r
+       xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)\r
+         tmp_sharedflag='-qmkshrobj'\r
+         tmp_addflag= ;;\r
+       nvcc*)  # Cuda Compiler Driver 2.2\r
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'\r
+         _LT_TAGVAR(compiler_needs_object, $1)=yes\r
+         ;;\r
+       esac\r
+       case `$CC -V 2>&1 | sed 5q` in\r
+       *Sun\ C*)                       # Sun C 5.9\r
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'\r
+         _LT_TAGVAR(compiler_needs_object, $1)=yes\r
+         tmp_sharedflag='-G' ;;\r
+       *Sun\ F*)                       # Sun Fortran 8.3\r
+         tmp_sharedflag='-G' ;;\r
+       esac\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+\r
+        if test "x$supports_anon_versioning" = xyes; then\r
+          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~\r
+           cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~\r
+           echo "local: *; };" >> $output_objdir/$libname.ver~\r
+           $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'\r
+        fi\r
+\r
+       case $cc_basename in\r
+       xlf* | bgf* | bgxlf* | mpixlf*)\r
+         # IBM XL Fortran 10.1 on PPC cannot create shared libs itself\r
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'\r
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=\r
+         _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'\r
+         _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'\r
+         if test "x$supports_anon_versioning" = xyes; then\r
+           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~\r
+             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~\r
+             echo "local: *; };" >> $output_objdir/$libname.ver~\r
+             $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'\r
+         fi\r
+         ;;\r
+       esac\r
+      else\r
+        _LT_TAGVAR(ld_shlibs, $1)=no\r
+      fi\r
+      ;;\r
+\r
+    netbsd* | netbsdelf*-gnu)\r
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then\r
+       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'\r
+       wlarc=\r
+      else\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
+      fi\r
+      ;;\r
+\r
+    solaris*)\r
+      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then\r
+       _LT_TAGVAR(ld_shlibs, $1)=no\r
+       cat <<_LT_EOF 1>&2\r
+\r
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably\r
+*** create shared libraries on Solaris systems.  Therefore, libtool\r
+*** is disabling shared libraries support.  We urge you to upgrade GNU\r
+*** binutils to release 2.9.1 or newer.  Another option is to modify\r
+*** your PATH or compiler configuration so that the native linker is\r
+*** used, and then restart.\r
+\r
+_LT_EOF\r
+      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
+      else\r
+       _LT_TAGVAR(ld_shlibs, $1)=no\r
+      fi\r
+      ;;\r
+\r
+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)\r
+      case `$LD -v 2>&1` in\r
+        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)\r
+       _LT_TAGVAR(ld_shlibs, $1)=no\r
+       cat <<_LT_EOF 1>&2\r
+\r
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not\r
+*** reliably create shared libraries on SCO systems.  Therefore, libtool\r
+*** is disabling shared libraries support.  We urge you to upgrade GNU\r
+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify\r
+*** your PATH or compiler configuration so that the native linker is\r
+*** used, and then restart.\r
+\r
+_LT_EOF\r
+       ;;\r
+       *)\r
+         # For security reasons, it is highly recommended that you always\r
+         # use absolute paths for naming shared libraries, and exclude the\r
+         # DT_RUNPATH tag from executables and libraries.  But doing so\r
+         # requires that you compile everything twice, which is a pain.\r
+         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then\r
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'\r
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+           _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'\r
+         else\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+         fi\r
+       ;;\r
+      esac\r
+      ;;\r
+\r
+    sunos4*)\r
+      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'\r
+      wlarc=\r
+      _LT_TAGVAR(hardcode_direct, $1)=yes\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      ;;\r
+\r
+    *)\r
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
+      else\r
+       _LT_TAGVAR(ld_shlibs, $1)=no\r
+      fi\r
+      ;;\r
+    esac\r
+\r
+    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then\r
+      runpath_var=\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=\r
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)=\r
+      _LT_TAGVAR(whole_archive_flag_spec, $1)=\r
+    fi\r
+  else\r
+    # PORTME fill in a description of your system's linker (not GNU ld)\r
+    case $host_os in\r
+    aix3*)\r
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported\r
+      _LT_TAGVAR(always_export_symbols, $1)=yes\r
+      _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'\r
+      # Note: this linker hardcodes the directories in LIBPATH if there\r
+      # are no directories specified by -L.\r
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes\r
+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then\r
+       # Neither direct hardcoding nor static linking is supported with a\r
+       # broken collect2.\r
+       _LT_TAGVAR(hardcode_direct, $1)=unsupported\r
+      fi\r
+      ;;\r
+\r
+    aix[[4-9]]*)\r
+      if test "$host_cpu" = ia64; then\r
+       # On IA64, the linker does run time linking by default, so we don't\r
+       # have to do anything special.\r
+       aix_use_runtimelinking=no\r
+       exp_sym_flag='-Bexport'\r
+       no_entry_flag=""\r
+      else\r
+       # If we're using GNU nm, then we don't want the "-C" option.\r
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm\r
+       # Also, AIX nm treats weak defined symbols like other global\r
+       # defined symbols, whereas GNU nm marks them as "W".\r
+       if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then\r
+         _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'\r
+       else\r
+         _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'\r
+       fi\r
+       aix_use_runtimelinking=no\r
+\r
+       # Test if we are trying to use run time linking or normal\r
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we\r
+       # need to do runtime linking.\r
+       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)\r
+         for ld_flag in $LDFLAGS; do\r
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then\r
+           aix_use_runtimelinking=yes\r
+           break\r
+         fi\r
+         done\r
+         ;;\r
+       esac\r
+\r
+       exp_sym_flag='-bexport'\r
+       no_entry_flag='-bnoentry'\r
+      fi\r
+\r
+      # When large executables or shared objects are built, AIX ld can\r
+      # have problems creating the table of contents.  If linking a library\r
+      # or program results in "error TOC overflow" add -mminimal-toc to\r
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not\r
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.\r
+\r
+      _LT_TAGVAR(archive_cmds, $1)=''\r
+      _LT_TAGVAR(hardcode_direct, $1)=yes\r
+      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes\r
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'\r
+      _LT_TAGVAR(link_all_deplibs, $1)=yes\r
+      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'\r
+\r
+      if test "$GCC" = yes; then\r
+       case $host_os in aix4.[[012]]|aix4.[[012]].*)\r
+       # We only want to do this on AIX 4.2 and lower, the check\r
+       # below for broken collect2 doesn't work under 4.3+\r
+         collect2name=`${CC} -print-prog-name=collect2`\r
+         if test -f "$collect2name" &&\r
+          strings "$collect2name" | $GREP resolve_lib_name >/dev/null\r
+         then\r
+         # We have reworked collect2\r
+         :\r
+         else\r
+         # We have old collect2\r
+         _LT_TAGVAR(hardcode_direct, $1)=unsupported\r
+         # It fails to find uninstalled libraries when the uninstalled\r
+         # path is not listed in the libpath.  Setting hardcode_minus_L\r
+         # to unsupported forces relinking\r
+         _LT_TAGVAR(hardcode_minus_L, $1)=yes\r
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'\r
+         _LT_TAGVAR(hardcode_libdir_separator, $1)=\r
+         fi\r
+         ;;\r
+       esac\r
+       shared_flag='-shared'\r
+       if test "$aix_use_runtimelinking" = yes; then\r
+         shared_flag="$shared_flag "'${wl}-G'\r
+       fi\r
+       _LT_TAGVAR(link_all_deplibs, $1)=no\r
+      else\r
+       # not using gcc\r
+       if test "$host_cpu" = ia64; then\r
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release\r
+       # chokes on -Wl,-G. The following line is correct:\r
+         shared_flag='-G'\r
+       else\r
+         if test "$aix_use_runtimelinking" = yes; then\r
+           shared_flag='${wl}-G'\r
+         else\r
+           shared_flag='${wl}-bM:SRE'\r
+         fi\r
+       fi\r
+      fi\r
+\r
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'\r
+      # It seems that -bexpall does not export symbols beginning with\r
+      # underscore (_), so it is better to generate a list of symbols to export.\r
+      _LT_TAGVAR(always_export_symbols, $1)=yes\r
+      if test "$aix_use_runtimelinking" = yes; then\r
+       # Warning - without using the other runtime loading flags (-brtl),\r
+       # -berok will link without error, but may produce a broken library.\r
+       _LT_TAGVAR(allow_undefined_flag, $1)='-berok'\r
+        # Determine the default libpath from the value encoded in an\r
+        # empty executable.\r
+        _LT_SYS_MODULE_PATH_AIX([$1])\r
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"\r
+        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"\r
+      else\r
+       if test "$host_cpu" = ia64; then\r
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'\r
+         _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"\r
+         _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"\r
+       else\r
+        # Determine the default libpath from the value encoded in an\r
+        # empty executable.\r
+        _LT_SYS_MODULE_PATH_AIX([$1])\r
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"\r
+         # Warning - without using the other run time loading flags,\r
+         # -berok will link without error, but may produce a broken library.\r
+         _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'\r
+         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'\r
+         if test "$with_gnu_ld" = yes; then\r
+           # We only use this code for GNU lds that support --whole-archive.\r
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'\r
+         else\r
+           # Exported symbols can be pulled into shared objects from archives\r
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'\r
+         fi\r
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes\r
+         # This is similar to how AIX traditionally builds its shared libraries.\r
+         _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'\r
+       fi\r
+      fi\r
+      ;;\r
+\r
+    amigaos*)\r
+      case $host_cpu in\r
+      powerpc)\r
+            # see comment about AmigaOS4 .so support\r
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+            _LT_TAGVAR(archive_expsym_cmds, $1)=''\r
+        ;;\r
+      m68k)\r
+            _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)'\r
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'\r
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes\r
+        ;;\r
+      esac\r
+      ;;\r
+\r
+    bsdi[[45]]*)\r
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic\r
+      ;;\r
+\r
+    cygwin* | mingw* | pw32* | cegcc*)\r
+      # When not using gcc, we currently assume that we are using\r
+      # Microsoft Visual C++.\r
+      # hardcode_libdir_flag_spec is actually meaningless, as there is\r
+      # no search path for DLLs.\r
+      case $cc_basename in\r
+      cl*)\r
+       # Native MSVC\r
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '\r
+       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported\r
+       _LT_TAGVAR(always_export_symbols, $1)=yes\r
+       _LT_TAGVAR(file_list_spec, $1)='@'\r
+       # Tell ltmain to make .lib files, not .a files.\r
+       libext=lib\r
+       # Tell ltmain to make .dll files, not .so files.\r
+       shrext_cmds=".dll"\r
+       # FIXME: Setting linknames here is a bad hack.\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='\r
+       _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then\r
+           sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;\r
+         else\r
+           sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;\r
+         fi~\r
+         $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~\r
+         linknames='\r
+       # The linker will not automatically build a static lib if we build a DLL.\r
+       # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'\r
+       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes\r
+       _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'\r
+       # Don't use ranlib\r
+       _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'\r
+       _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~\r
+         lt_tool_outputfile="@TOOL_OUTPUT@"~\r
+         case $lt_outputfile in\r
+           *.exe|*.EXE) ;;\r
+           *)\r
+             lt_outputfile="$lt_outputfile.exe"\r
+             lt_tool_outputfile="$lt_tool_outputfile.exe"\r
+             ;;\r
+         esac~\r
+         if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then\r
+           $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;\r
+           $RM "$lt_outputfile.manifest";\r
+         fi'\r
+       ;;\r
+      *)\r
+       # Assume MSVC wrapper\r
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '\r
+       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported\r
+       # Tell ltmain to make .lib files, not .a files.\r
+       libext=lib\r
+       # Tell ltmain to make .dll files, not .so files.\r
+       shrext_cmds=".dll"\r
+       # FIXME: Setting linknames here is a bad hack.\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='\r
+       # The linker will automatically build a .lib file if we build a DLL.\r
+       _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'\r
+       # FIXME: Should let the user specify the lib program.\r
+       _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'\r
+       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes\r
+       ;;\r
+      esac\r
+      ;;\r
+\r
+    darwin* | rhapsody*)\r
+      _LT_DARWIN_LINKER_FEATURES($1)\r
+      ;;\r
+\r
+    dgux*)\r
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      ;;\r
+\r
+    freebsd1*)\r
+      _LT_TAGVAR(ld_shlibs, $1)=no\r
+      ;;\r
+\r
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor\r
+    # support.  Future versions do this automatically, but an explicit c++rt0.o\r
+    # does not break anything, and helps significantly (at the cost of a little\r
+    # extra space).\r
+    freebsd2.2*)\r
+      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'\r
+      _LT_TAGVAR(hardcode_direct, $1)=yes\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      ;;\r
+\r
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.\r
+    freebsd2*)\r
+      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'\r
+      _LT_TAGVAR(hardcode_direct, $1)=yes\r
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      ;;\r
+\r
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.\r
+    freebsd* | dragonfly*)\r
+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'\r
+      _LT_TAGVAR(hardcode_direct, $1)=yes\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      ;;\r
+\r
+    hpux9*)\r
+      if test "$GCC" = yes; then\r
+       _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'\r
+      else\r
+       _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'\r
+      fi\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'\r
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+      _LT_TAGVAR(hardcode_direct, $1)=yes\r
+\r
+      # hardcode_minus_L: Not really in the search PATH,\r
+      # but as the default location of the library.\r
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes\r
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'\r
+      ;;\r
+\r
+    hpux10*)\r
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'\r
+      else\r
+       _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'\r
+      fi\r
+      if test "$with_gnu_ld" = no; then\r
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'\r
+       _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'\r
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+       _LT_TAGVAR(hardcode_direct, $1)=yes\r
+       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes\r
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'\r
+       # hardcode_minus_L: Not really in the search PATH,\r
+       # but as the default location of the library.\r
+       _LT_TAGVAR(hardcode_minus_L, $1)=yes\r
+      fi\r
+      ;;\r
+\r
+    hpux11*)\r
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then\r
+       case $host_cpu in\r
+       hppa*64*)\r
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+         ;;\r
+       ia64*)\r
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'\r
+         ;;\r
+       *)\r
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'\r
+         ;;\r
+       esac\r
+      else\r
+       case $host_cpu in\r
+       hppa*64*)\r
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+         ;;\r
+       ia64*)\r
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'\r
+         ;;\r
+       *)\r
+       m4_if($1, [], [\r
+         # Older versions of the 11.00 compiler do not understand -b yet\r
+         # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)\r
+         _LT_LINKER_OPTION([if $CC understands -b],\r
+           _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],\r
+           [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],\r
+           [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],\r
+         [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])\r
+         ;;\r
+       esac\r
+      fi\r
+      if test "$with_gnu_ld" = no; then\r
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'\r
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+\r
+       case $host_cpu in\r
+       hppa*64*|ia64*)\r
+         _LT_TAGVAR(hardcode_direct, $1)=no\r
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+         ;;\r
+       *)\r
+         _LT_TAGVAR(hardcode_direct, $1)=yes\r
+         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes\r
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'\r
+\r
+         # hardcode_minus_L: Not really in the search PATH,\r
+         # but as the default location of the library.\r
+         _LT_TAGVAR(hardcode_minus_L, $1)=yes\r
+         ;;\r
+       esac\r
+      fi\r
+      ;;\r
+\r
+    irix5* | irix6* | nonstopux*)\r
+      if test "$GCC" = yes; then\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
+       # Try to use the -exported_symbol ld option, if it does not\r
+       # work, assume that -exports_file does not work either and\r
+       # implicitly export all symbols.\r
+       # This should be the same for all languages, so no per-tag cache variable.\r
+       AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],\r
+         [lt_cv_irix_exported_symbol],\r
+         [save_LDFLAGS="$LDFLAGS"\r
+          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"\r
+          AC_LINK_IFELSE(\r
+            [AC_LANG_SOURCE(\r
+               [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],\r
+                             [C++], [[int foo (void) { return 0; }]],\r
+                             [Fortran 77], [[\r
+      subroutine foo\r
+      end]],\r
+                             [Fortran], [[\r
+      subroutine foo\r
+      end]])])],\r
+             [lt_cv_irix_exported_symbol=yes],\r
+             [lt_cv_irix_exported_symbol=no])\r
+           LDFLAGS="$save_LDFLAGS"])\r
+       if test "$lt_cv_irix_exported_symbol" = yes; then\r
+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'\r
+       fi\r
+      else\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'\r
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'\r
+      fi\r
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'\r
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+      _LT_TAGVAR(inherit_rpath, $1)=yes\r
+      _LT_TAGVAR(link_all_deplibs, $1)=yes\r
+      ;;\r
+\r
+    netbsd* | netbsdelf*-gnu)\r
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then\r
+       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out\r
+      else\r
+       _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF\r
+      fi\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'\r
+      _LT_TAGVAR(hardcode_direct, $1)=yes\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      ;;\r
+\r
+    newsos6)\r
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
+      _LT_TAGVAR(hardcode_direct, $1)=yes\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'\r
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      ;;\r
+\r
+    *nto* | *qnx*)\r
+      ;;\r
+\r
+    openbsd*)\r
+      if test -f /usr/libexec/ld.so; then\r
+       _LT_TAGVAR(hardcode_direct, $1)=yes\r
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes\r
+       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'\r
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'\r
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'\r
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'\r
+       else\r
+         case $host_os in\r
+          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)\r
+            _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'\r
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'\r
+            ;;\r
+          *)\r
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'\r
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'\r
+            ;;\r
+         esac\r
+       fi\r
+      else\r
+       _LT_TAGVAR(ld_shlibs, $1)=no\r
+      fi\r
+      ;;\r
+\r
+    os2*)\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'\r
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes\r
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported\r
+      _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'\r
+      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'\r
+      ;;\r
+\r
+    osf3*)\r
+      if test "$GCC" = yes; then\r
+       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
+      else\r
+       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'\r
+      fi\r
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'\r
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+      ;;\r
+\r
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag\r
+      if test "$GCC" = yes; then\r
+       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'\r
+      else\r
+       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'\r
+       _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~\r
+       $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'\r
+\r
+       # Both c and cxx compiler support -rpath directly\r
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'\r
+      fi\r
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'\r
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+      ;;\r
+\r
+    solaris*)\r
+      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'\r
+      if test "$GCC" = yes; then\r
+       wlarc='${wl}'\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+       _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~\r
+         $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'\r
+      else\r
+       case `$CC -V 2>&1` in\r
+       *"Compilers 5.0"*)\r
+         wlarc=''\r
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
+         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~\r
+         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'\r
+         ;;\r
+       *)\r
+         wlarc='${wl}'\r
+         _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'\r
+         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~\r
+         $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'\r
+         ;;\r
+       esac\r
+      fi\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      case $host_os in\r
+      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;\r
+      *)\r
+       # The compiler driver will combine and reorder linker options,\r
+       # but understands `-z linker_flag'.  GCC discards it without `$wl',\r
+       # but is careful enough not to reorder.\r
+       # Supported since Solaris 2.6 (maybe 2.5.1?)\r
+       if test "$GCC" = yes; then\r
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'\r
+       else\r
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'\r
+       fi\r
+       ;;\r
+      esac\r
+      _LT_TAGVAR(link_all_deplibs, $1)=yes\r
+      ;;\r
+\r
+    sunos4*)\r
+      if test "x$host_vendor" = xsequent; then\r
+       # Use $CC to link under sequent, because it throws in some extra .o\r
+       # files that make .init and .fini sections work.\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'\r
+      else\r
+       _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'\r
+      fi\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'\r
+      _LT_TAGVAR(hardcode_direct, $1)=yes\r
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      ;;\r
+\r
+    sysv4)\r
+      case $host_vendor in\r
+       sni)\r
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
+         _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???\r
+       ;;\r
+       siemens)\r
+         ## LD is ld it makes a PLAMLIB\r
+         ## CC just makes a GrossModule.\r
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'\r
+         _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'\r
+         _LT_TAGVAR(hardcode_direct, $1)=no\r
+        ;;\r
+       motorola)\r
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
+         _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie\r
+       ;;\r
+      esac\r
+      runpath_var='LD_RUN_PATH'\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      ;;\r
+\r
+    sysv4.3*)\r
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'\r
+      ;;\r
+\r
+    sysv4*MP*)\r
+      if test -d /usr/nec; then\r
+       _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+       runpath_var=LD_RUN_PATH\r
+       hardcode_runpath_var=yes\r
+       _LT_TAGVAR(ld_shlibs, $1)=yes\r
+      fi\r
+      ;;\r
+\r
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)\r
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'\r
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      runpath_var='LD_RUN_PATH'\r
+\r
+      if test "$GCC" = yes; then\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+      else\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+      fi\r
+      ;;\r
+\r
+    sysv5* | sco3.2v5* | sco5v6*)\r
+      # Note: We can NOT use -z defs as we might desire, because we do not\r
+      # link with -lc, and that would cause any symbols used from libc to\r
+      # always be unresolved, which means just about no library would\r
+      # ever link correctly.  If we're not using GNU ld we use -z text\r
+      # though, which does catch some bad symbols but isn't as heavy-handed\r
+      # as -z defs.\r
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'\r
+      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'\r
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'\r
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'\r
+      _LT_TAGVAR(link_all_deplibs, $1)=yes\r
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'\r
+      runpath_var='LD_RUN_PATH'\r
+\r
+      if test "$GCC" = yes; then\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+      else\r
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+      fi\r
+      ;;\r
+\r
+    uts4*)\r
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      ;;\r
+\r
+    *)\r
+      _LT_TAGVAR(ld_shlibs, $1)=no\r
+      ;;\r
+    esac\r
+\r
+    if test x$host_vendor = xsni; then\r
+      case $host in\r
+      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)\r
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'\r
+       ;;\r
+      esac\r
+    fi\r
+  fi\r
+])\r
+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])\r
+test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no\r
+\r
+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld\r
+\r
+_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl\r
+_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl\r
+_LT_DECL([], [extract_expsyms_cmds], [2],\r
+    [The commands to extract the exported symbol list from a shared archive])\r
+\r
+#\r
+# Do we need to explicitly link libc?\r
+#\r
+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in\r
+x|xyes)\r
+  # Assume -lc should be added\r
+  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes\r
+\r
+  if test "$enable_shared" = yes && test "$GCC" = yes; then\r
+    case $_LT_TAGVAR(archive_cmds, $1) in\r
+    *'~'*)\r
+      # FIXME: we may have to deal with multi-command sequences.\r
+      ;;\r
+    '$CC '*)\r
+      # Test whether the compiler implicitly links with -lc since on some\r
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc\r
+      # to ld, don't add -lc before -lgcc.\r
+      AC_CACHE_CHECK([whether -lc should be explicitly linked in],\r
+       [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),\r
+       [$RM conftest*\r
+       echo "$lt_simple_compile_test_code" > conftest.$ac_ext\r
+\r
+       if AC_TRY_EVAL(ac_compile) 2>conftest.err; then\r
+         soname=conftest\r
+         lib=conftest\r
+         libobjs=conftest.$ac_objext\r
+         deplibs=\r
+         wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)\r
+         pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)\r
+         compiler_flags=-v\r
+         linker_flags=-v\r
+         verstring=\r
+         output_objdir=.\r
+         libname=conftest\r
+         lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)\r
+         _LT_TAGVAR(allow_undefined_flag, $1)=\r
+         if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)\r
+         then\r
+           lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no\r
+         else\r
+           lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes\r
+         fi\r
+         _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag\r
+       else\r
+         cat conftest.err 1>&5\r
+       fi\r
+       $RM conftest*\r
+       ])\r
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)\r
+      ;;\r
+    esac\r
+  fi\r
+  ;;\r
+esac\r
+\r
+_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],\r
+    [Whether or not to add -lc for building shared libraries])\r
+_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],\r
+    [enable_shared_with_static_runtimes], [0],\r
+    [Whether or not to disallow shared libs when runtime libs are static])\r
+_LT_TAGDECL([], [export_dynamic_flag_spec], [1],\r
+    [Compiler flag to allow reflexive dlopens])\r
+_LT_TAGDECL([], [whole_archive_flag_spec], [1],\r
+    [Compiler flag to generate shared objects directly from archives])\r
+_LT_TAGDECL([], [compiler_needs_object], [1],\r
+    [Whether the compiler copes with passing no objects directly])\r
+_LT_TAGDECL([], [old_archive_from_new_cmds], [2],\r
+    [Create an old-style archive from a shared archive])\r
+_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],\r
+    [Create a temporary old-style archive to link instead of a shared archive])\r
+_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])\r
+_LT_TAGDECL([], [archive_expsym_cmds], [2])\r
+_LT_TAGDECL([], [module_cmds], [2],\r
+    [Commands used to build a loadable module if different from building\r
+    a shared archive.])\r
+_LT_TAGDECL([], [module_expsym_cmds], [2])\r
+_LT_TAGDECL([], [with_gnu_ld], [1],\r
+    [Whether we are building with GNU ld or not])\r
+_LT_TAGDECL([], [allow_undefined_flag], [1],\r
+    [Flag that allows shared libraries with undefined symbols to be built])\r
+_LT_TAGDECL([], [no_undefined_flag], [1],\r
+    [Flag that enforces no undefined symbols])\r
+_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],\r
+    [Flag to hardcode $libdir into a binary during linking.\r
+    This must work even if $libdir does not exist])\r
+_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],\r
+    [[If ld is used when linking, flag to hardcode $libdir into a binary\r
+    during linking.  This must work even if $libdir does not exist]])\r
+_LT_TAGDECL([], [hardcode_libdir_separator], [1],\r
+    [Whether we need a single "-rpath" flag with a separated argument])\r
+_LT_TAGDECL([], [hardcode_direct], [0],\r
+    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes\r
+    DIR into the resulting binary])\r
+_LT_TAGDECL([], [hardcode_direct_absolute], [0],\r
+    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes\r
+    DIR into the resulting binary and the resulting library dependency is\r
+    "absolute", i.e impossible to change by setting ${shlibpath_var} if the\r
+    library is relocated])\r
+_LT_TAGDECL([], [hardcode_minus_L], [0],\r
+    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR\r
+    into the resulting binary])\r
+_LT_TAGDECL([], [hardcode_shlibpath_var], [0],\r
+    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR\r
+    into the resulting binary])\r
+_LT_TAGDECL([], [hardcode_automatic], [0],\r
+    [Set to "yes" if building a shared library automatically hardcodes DIR\r
+    into the library and all subsequent libraries and executables linked\r
+    against it])\r
+_LT_TAGDECL([], [inherit_rpath], [0],\r
+    [Set to yes if linker adds runtime paths of dependent libraries\r
+    to runtime path list])\r
+_LT_TAGDECL([], [link_all_deplibs], [0],\r
+    [Whether libtool must link a program against all its dependency libraries])\r
+_LT_TAGDECL([], [always_export_symbols], [0],\r
+    [Set to "yes" if exported symbols are required])\r
+_LT_TAGDECL([], [export_symbols_cmds], [2],\r
+    [The commands to list exported symbols])\r
+_LT_TAGDECL([], [exclude_expsyms], [1],\r
+    [Symbols that should not be listed in the preloaded symbols])\r
+_LT_TAGDECL([], [include_expsyms], [1],\r
+    [Symbols that must always be exported])\r
+_LT_TAGDECL([], [prelink_cmds], [2],\r
+    [Commands necessary for linking programs (against libraries) with templates])\r
+_LT_TAGDECL([], [postlink_cmds], [2],\r
+    [Commands necessary for finishing linking programs])\r
+_LT_TAGDECL([], [file_list_spec], [1],\r
+    [Specify filename containing input files])\r
+dnl FIXME: Not yet implemented\r
+dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],\r
+dnl    [Compiler flag to generate thread safe objects])\r
+])# _LT_LINKER_SHLIBS\r
+\r
+\r
+# _LT_LANG_C_CONFIG([TAG])\r
+# ------------------------\r
+# Ensure that the configuration variables for a C compiler are suitably\r
+# defined.  These variables are subsequently used by _LT_CONFIG to write\r
+# the compiler configuration to `libtool'.\r
+m4_defun([_LT_LANG_C_CONFIG],\r
+[m4_require([_LT_DECL_EGREP])dnl\r
+lt_save_CC="$CC"\r
+AC_LANG_PUSH(C)\r
+\r
+# Source file extension for C test sources.\r
+ac_ext=c\r
+\r
+# Object file extension for compiled C test sources.\r
+objext=o\r
+_LT_TAGVAR(objext, $1)=$objext\r
+\r
+# Code to be used in simple compile tests\r
+lt_simple_compile_test_code="int some_variable = 0;"\r
+\r
+# Code to be used in simple link tests\r
+lt_simple_link_test_code='int main(){return(0);}'\r
+\r
+_LT_TAG_COMPILER\r
+# Save the default compiler, since it gets overwritten when the other\r
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.\r
+compiler_DEFAULT=$CC\r
+\r
+# save warnings/boilerplate of simple test code\r
+_LT_COMPILER_BOILERPLATE\r
+_LT_LINKER_BOILERPLATE\r
+\r
+if test -n "$compiler"; then\r
+  _LT_COMPILER_NO_RTTI($1)\r
+  _LT_COMPILER_PIC($1)\r
+  _LT_COMPILER_C_O($1)\r
+  _LT_COMPILER_FILE_LOCKS($1)\r
+  _LT_LINKER_SHLIBS($1)\r
+  _LT_SYS_DYNAMIC_LINKER($1)\r
+  _LT_LINKER_HARDCODE_LIBPATH($1)\r
+  LT_SYS_DLOPEN_SELF\r
+  _LT_CMD_STRIPLIB\r
+\r
+  # Report which library types will actually be built\r
+  AC_MSG_CHECKING([if libtool supports shared libraries])\r
+  AC_MSG_RESULT([$can_build_shared])\r
+\r
+  AC_MSG_CHECKING([whether to build shared libraries])\r
+  test "$can_build_shared" = "no" && enable_shared=no\r
+\r
+  # On AIX, shared libraries and static libraries use the same namespace, and\r
+  # are all built from PIC.\r
+  case $host_os in\r
+  aix3*)\r
+    test "$enable_shared" = yes && enable_static=no\r
+    if test -n "$RANLIB"; then\r
+      archive_cmds="$archive_cmds~\$RANLIB \$lib"\r
+      postinstall_cmds='$RANLIB $lib'\r
+    fi\r
+    ;;\r
+\r
+  aix[[4-9]]*)\r
+    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then\r
+      test "$enable_shared" = yes && enable_static=no\r
+    fi\r
+    ;;\r
+  esac\r
+  AC_MSG_RESULT([$enable_shared])\r
+\r
+  AC_MSG_CHECKING([whether to build static libraries])\r
+  # Make sure either enable_shared or enable_static is yes.\r
+  test "$enable_shared" = yes || enable_static=yes\r
+  AC_MSG_RESULT([$enable_static])\r
+\r
+  _LT_CONFIG($1)\r
+fi\r
+AC_LANG_POP\r
+CC="$lt_save_CC"\r
+])# _LT_LANG_C_CONFIG\r
+\r
+\r
+# _LT_LANG_CXX_CONFIG([TAG])\r
+# --------------------------\r
+# Ensure that the configuration variables for a C++ compiler are suitably\r
+# defined.  These variables are subsequently used by _LT_CONFIG to write\r
+# the compiler configuration to `libtool'.\r
+m4_defun([_LT_LANG_CXX_CONFIG],\r
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl\r
+m4_require([_LT_DECL_EGREP])dnl\r
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl\r
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&\r
+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||\r
+    (test "X$CXX" != "Xg++"))) ; then\r
+  AC_PROG_CXXCPP\r
+else\r
+  _lt_caught_CXX_error=yes\r
+fi\r
+\r
+AC_LANG_PUSH(C++)\r
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no\r
+_LT_TAGVAR(allow_undefined_flag, $1)=\r
+_LT_TAGVAR(always_export_symbols, $1)=no\r
+_LT_TAGVAR(archive_expsym_cmds, $1)=\r
+_LT_TAGVAR(compiler_needs_object, $1)=no\r
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=\r
+_LT_TAGVAR(hardcode_direct, $1)=no\r
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no\r
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=\r
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=\r
+_LT_TAGVAR(hardcode_libdir_separator, $1)=\r
+_LT_TAGVAR(hardcode_minus_L, $1)=no\r
+_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported\r
+_LT_TAGVAR(hardcode_automatic, $1)=no\r
+_LT_TAGVAR(inherit_rpath, $1)=no\r
+_LT_TAGVAR(module_cmds, $1)=\r
+_LT_TAGVAR(module_expsym_cmds, $1)=\r
+_LT_TAGVAR(link_all_deplibs, $1)=unknown\r
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds\r
+_LT_TAGVAR(reload_flag, $1)=$reload_flag\r
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds\r
+_LT_TAGVAR(no_undefined_flag, $1)=\r
+_LT_TAGVAR(whole_archive_flag_spec, $1)=\r
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no\r
+\r
+# Source file extension for C++ test sources.\r
+ac_ext=cpp\r
+\r
+# Object file extension for compiled C++ test sources.\r
+objext=o\r
+_LT_TAGVAR(objext, $1)=$objext\r
+\r
+# No sense in running all these tests if we already determined that\r
+# the CXX compiler isn't working.  Some variables (like enable_shared)\r
+# are currently assumed to apply to all compilers on this platform,\r
+# and will be corrupted by setting them based on a non-working compiler.\r
+if test "$_lt_caught_CXX_error" != yes; then\r
+  # Code to be used in simple compile tests\r
+  lt_simple_compile_test_code="int some_variable = 0;"\r
+\r
+  # Code to be used in simple link tests\r
+  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'\r
+\r
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.\r
+  _LT_TAG_COMPILER\r
+\r
+  # save warnings/boilerplate of simple test code\r
+  _LT_COMPILER_BOILERPLATE\r
+  _LT_LINKER_BOILERPLATE\r
+\r
+  # Allow CC to be a program name with arguments.\r
+  lt_save_CC=$CC\r
+  lt_save_CFLAGS=$CFLAGS\r
+  lt_save_LD=$LD\r
+  lt_save_GCC=$GCC\r
+  GCC=$GXX\r
+  lt_save_with_gnu_ld=$with_gnu_ld\r
+  lt_save_path_LD=$lt_cv_path_LD\r
+  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then\r
+    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx\r
+  else\r
+    $as_unset lt_cv_prog_gnu_ld\r
+  fi\r
+  if test -n "${lt_cv_path_LDCXX+set}"; then\r
+    lt_cv_path_LD=$lt_cv_path_LDCXX\r
+  else\r
+    $as_unset lt_cv_path_LD\r
+  fi\r
+  test -z "${LDCXX+set}" || LD=$LDCXX\r
+  CC=${CXX-"c++"}\r
+  CFLAGS=$CXXFLAGS\r
+  compiler=$CC\r
+  _LT_TAGVAR(compiler, $1)=$CC\r
+  _LT_CC_BASENAME([$compiler])\r
+\r
+  if test -n "$compiler"; then\r
+    # We don't want -fno-exception when compiling C++ code, so set the\r
+    # no_builtin_flag separately\r
+    if test "$GXX" = yes; then\r
+      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'\r
+    else\r
+      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=\r
+    fi\r
+\r
+    if test "$GXX" = yes; then\r
+      # Set up default GNU C++ configuration\r
+\r
+      LT_PATH_LD\r
+\r
+      # Check if GNU C++ uses GNU ld as the underlying linker, since the\r
+      # archiving commands below assume that GNU ld is being used.\r
+      if test "$with_gnu_ld" = yes; then\r
+        _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
+\r
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'\r
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'\r
+\r
+        # If archive_cmds runs LD, not CC, wlarc should be empty\r
+        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to\r
+        #     investigate it a little bit more. (MM)\r
+        wlarc='${wl}'\r
+\r
+        # ancient GNU ld didn't support --whole-archive et. al.\r
+        if eval "`$CC -print-prog-name=ld` --help 2>&1" |\r
+         $GREP 'no-whole-archive' > /dev/null; then\r
+          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'\r
+        else\r
+          _LT_TAGVAR(whole_archive_flag_spec, $1)=\r
+        fi\r
+      else\r
+        with_gnu_ld=no\r
+        wlarc=\r
+\r
+        # A generic and very simple default shared library creation\r
+        # command for GNU C++ for the case where it uses the native\r
+        # linker, instead of GNU ld.  If possible, this setting should\r
+        # overridden to take advantage of the native linker features on\r
+        # the platform it is being used on.\r
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'\r
+      fi\r
+\r
+      # Commands to make compiler produce verbose output that lists\r
+      # what "hidden" libraries, object files and flags are used when\r
+      # linking a shared library.\r
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'\r
+\r
+    else\r
+      GXX=no\r
+      with_gnu_ld=no\r
+      wlarc=\r
+    fi\r
+\r
+    # PORTME: fill in a description of your system's C++ link characteristics\r
+    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])\r
+    _LT_TAGVAR(ld_shlibs, $1)=yes\r
+    case $host_os in\r
+      aix3*)\r
+        # FIXME: insert proper C++ library support\r
+        _LT_TAGVAR(ld_shlibs, $1)=no\r
+        ;;\r
+      aix[[4-9]]*)\r
+        if test "$host_cpu" = ia64; then\r
+          # On IA64, the linker does run time linking by default, so we don't\r
+          # have to do anything special.\r
+          aix_use_runtimelinking=no\r
+          exp_sym_flag='-Bexport'\r
+          no_entry_flag=""\r
+        else\r
+          aix_use_runtimelinking=no\r
+\r
+          # Test if we are trying to use run time linking or normal\r
+          # AIX style linking. If -brtl is somewhere in LDFLAGS, we\r
+          # need to do runtime linking.\r
+          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)\r
+           for ld_flag in $LDFLAGS; do\r
+             case $ld_flag in\r
+             *-brtl*)\r
+               aix_use_runtimelinking=yes\r
+               break\r
+               ;;\r
+             esac\r
+           done\r
+           ;;\r
+          esac\r
+\r
+          exp_sym_flag='-bexport'\r
+          no_entry_flag='-bnoentry'\r
+        fi\r
+\r
+        # When large executables or shared objects are built, AIX ld can\r
+        # have problems creating the table of contents.  If linking a library\r
+        # or program results in "error TOC overflow" add -mminimal-toc to\r
+        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not\r
+        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.\r
+\r
+        _LT_TAGVAR(archive_cmds, $1)=''\r
+        _LT_TAGVAR(hardcode_direct, $1)=yes\r
+        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes\r
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'\r
+        _LT_TAGVAR(link_all_deplibs, $1)=yes\r
+        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'\r
+\r
+        if test "$GXX" = yes; then\r
+          case $host_os in aix4.[[012]]|aix4.[[012]].*)\r
+          # We only want to do this on AIX 4.2 and lower, the check\r
+          # below for broken collect2 doesn't work under 4.3+\r
+         collect2name=`${CC} -print-prog-name=collect2`\r
+         if test -f "$collect2name" &&\r
+            strings "$collect2name" | $GREP resolve_lib_name >/dev/null\r
+         then\r
+           # We have reworked collect2\r
+           :\r
+         else\r
+           # We have old collect2\r
+           _LT_TAGVAR(hardcode_direct, $1)=unsupported\r
+           # It fails to find uninstalled libraries when the uninstalled\r
+           # path is not listed in the libpath.  Setting hardcode_minus_L\r
+           # to unsupported forces relinking\r
+           _LT_TAGVAR(hardcode_minus_L, $1)=yes\r
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'\r
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=\r
+         fi\r
+          esac\r
+          shared_flag='-shared'\r
+         if test "$aix_use_runtimelinking" = yes; then\r
+           shared_flag="$shared_flag "'${wl}-G'\r
+         fi\r
+        else\r
+          # not using gcc\r
+          if test "$host_cpu" = ia64; then\r
+         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release\r
+         # chokes on -Wl,-G. The following line is correct:\r
+         shared_flag='-G'\r
+          else\r
+           if test "$aix_use_runtimelinking" = yes; then\r
+             shared_flag='${wl}-G'\r
+           else\r
+             shared_flag='${wl}-bM:SRE'\r
+           fi\r
+          fi\r
+        fi\r
+\r
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'\r
+        # It seems that -bexpall does not export symbols beginning with\r
+        # underscore (_), so it is better to generate a list of symbols to\r
+       # export.\r
+        _LT_TAGVAR(always_export_symbols, $1)=yes\r
+        if test "$aix_use_runtimelinking" = yes; then\r
+          # Warning - without using the other runtime loading flags (-brtl),\r
+          # -berok will link without error, but may produce a broken library.\r
+          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'\r
+          # Determine the default libpath from the value encoded in an empty\r
+          # executable.\r
+          _LT_SYS_MODULE_PATH_AIX([$1])\r
+          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"\r
+\r
+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"\r
+        else\r
+          if test "$host_cpu" = ia64; then\r
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'\r
+           _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"\r
+           _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"\r
+          else\r
+           # Determine the default libpath from the value encoded in an\r
+           # empty executable.\r
+           _LT_SYS_MODULE_PATH_AIX([$1])\r
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"\r
+           # Warning - without using the other run time loading flags,\r
+           # -berok will link without error, but may produce a broken library.\r
+           _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'\r
+           _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'\r
+           if test "$with_gnu_ld" = yes; then\r
+             # We only use this code for GNU lds that support --whole-archive.\r
+             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'\r
+           else\r
+             # Exported symbols can be pulled into shared objects from archives\r
+             _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'\r
+           fi\r
+           _LT_TAGVAR(archive_cmds_need_lc, $1)=yes\r
+           # This is similar to how AIX traditionally builds its shared\r
+           # libraries.\r
+           _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'\r
+          fi\r
+        fi\r
+        ;;\r
+\r
+      beos*)\r
+       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then\r
+         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported\r
+         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc\r
+         # support --undefined.  This deserves some investigation.  FIXME\r
+         _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+       else\r
+         _LT_TAGVAR(ld_shlibs, $1)=no\r
+       fi\r
+       ;;\r
+\r
+      chorus*)\r
+        case $cc_basename in\r
+          *)\r
+         # FIXME: insert proper C++ library support\r
+         _LT_TAGVAR(ld_shlibs, $1)=no\r
+         ;;\r
+        esac\r
+        ;;\r
+\r
+      cygwin* | mingw* | pw32* | cegcc*)\r
+       case $GXX,$cc_basename in\r
+       ,cl* | no,cl*)\r
+         # Native MSVC\r
+         # hardcode_libdir_flag_spec is actually meaningless, as there is\r
+         # no search path for DLLs.\r
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '\r
+         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported\r
+         _LT_TAGVAR(always_export_symbols, $1)=yes\r
+         _LT_TAGVAR(file_list_spec, $1)='@'\r
+         # Tell ltmain to make .lib files, not .a files.\r
+         libext=lib\r
+         # Tell ltmain to make .dll files, not .so files.\r
+         shrext_cmds=".dll"\r
+         # FIXME: Setting linknames here is a bad hack.\r
+         _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='\r
+         _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then\r
+             $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;\r
+           else\r
+             $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;\r
+           fi~\r
+           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~\r
+           linknames='\r
+         # The linker will not automatically build a static lib if we build a DLL.\r
+         # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'\r
+         _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes\r
+         # Don't use ranlib\r
+         _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'\r
+         _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~\r
+           lt_tool_outputfile="@TOOL_OUTPUT@"~\r
+           case $lt_outputfile in\r
+             *.exe|*.EXE) ;;\r
+             *)\r
+               lt_outputfile="$lt_outputfile.exe"\r
+               lt_tool_outputfile="$lt_tool_outputfile.exe"\r
+               ;;\r
+           esac~\r
+           func_to_tool_file "$lt_outputfile"~\r
+           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then\r
+             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;\r
+             $RM "$lt_outputfile.manifest";\r
+           fi'\r
+         ;;\r
+       *)\r
+         # g++\r
+         # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,\r
+         # as there is no search path for DLLs.\r
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'\r
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'\r
+         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported\r
+         _LT_TAGVAR(always_export_symbols, $1)=no\r
+         _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes\r
+\r
+         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then\r
+           _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'\r
+           # If the export-symbols file already is a .def file (1st line\r
+           # is EXPORTS), use it as is; otherwise, prepend...\r
+           _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then\r
+             cp $export_symbols $output_objdir/$soname.def;\r
+           else\r
+             echo EXPORTS > $output_objdir/$soname.def;\r
+             cat $export_symbols >> $output_objdir/$soname.def;\r
+           fi~\r
+           $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'\r
+         else\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+         fi\r
+         ;;\r
+       esac\r
+       ;;\r
+      darwin* | rhapsody*)\r
+        _LT_DARWIN_LINKER_FEATURES($1)\r
+       ;;\r
+\r
+      dgux*)\r
+        case $cc_basename in\r
+          ec++*)\r
+           # FIXME: insert proper C++ library support\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+           ;;\r
+          ghcx*)\r
+           # Green Hills C++ Compiler\r
+           # FIXME: insert proper C++ library support\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+           ;;\r
+          *)\r
+           # FIXME: insert proper C++ library support\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+           ;;\r
+        esac\r
+        ;;\r
+\r
+      freebsd[[12]]*)\r
+        # C++ shared libraries reported to be fairly broken before\r
+       # switch to ELF\r
+        _LT_TAGVAR(ld_shlibs, $1)=no\r
+        ;;\r
+\r
+      freebsd-elf*)\r
+        _LT_TAGVAR(archive_cmds_need_lc, $1)=no\r
+        ;;\r
+\r
+      freebsd* | dragonfly*)\r
+        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF\r
+        # conventions\r
+        _LT_TAGVAR(ld_shlibs, $1)=yes\r
+        ;;\r
+\r
+      gnu*)\r
+        ;;\r
+\r
+      haiku*)\r
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+        _LT_TAGVAR(link_all_deplibs, $1)=yes\r
+        ;;\r
+\r
+      hpux9*)\r
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'\r
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'\r
+        _LT_TAGVAR(hardcode_direct, $1)=yes\r
+        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,\r
+                                            # but as the default\r
+                                            # location of the library.\r
+\r
+        case $cc_basename in\r
+          CC*)\r
+            # FIXME: insert proper C++ library support\r
+            _LT_TAGVAR(ld_shlibs, $1)=no\r
+            ;;\r
+          aCC*)\r
+            _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'\r
+            # Commands to make compiler produce verbose output that lists\r
+            # what "hidden" libraries, object files and flags are used when\r
+            # linking a shared library.\r
+            #\r
+            # There doesn't appear to be a way to prevent this compiler from\r
+            # explicitly linking system object files so we need to strip them\r
+            # from the output so that they don't get included in the library\r
+            # dependencies.\r
+            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; func_echo_all "$list"'\r
+            ;;\r
+          *)\r
+            if test "$GXX" = yes; then\r
+              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'\r
+            else\r
+              # FIXME: insert proper C++ library support\r
+              _LT_TAGVAR(ld_shlibs, $1)=no\r
+            fi\r
+            ;;\r
+        esac\r
+        ;;\r
+\r
+      hpux10*|hpux11*)\r
+        if test $with_gnu_ld = no; then\r
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'\r
+         _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+\r
+          case $host_cpu in\r
+            hppa*64*|ia64*)\r
+              ;;\r
+            *)\r
+             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'\r
+              ;;\r
+          esac\r
+        fi\r
+        case $host_cpu in\r
+          hppa*64*|ia64*)\r
+            _LT_TAGVAR(hardcode_direct, $1)=no\r
+            _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+            ;;\r
+          *)\r
+            _LT_TAGVAR(hardcode_direct, $1)=yes\r
+            _LT_TAGVAR(hardcode_direct_absolute, $1)=yes\r
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,\r
+                                                # but as the default\r
+                                                # location of the library.\r
+            ;;\r
+        esac\r
+\r
+        case $cc_basename in\r
+          CC*)\r
+           # FIXME: insert proper C++ library support\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+           ;;\r
+          aCC*)\r
+           case $host_cpu in\r
+             hppa*64*)\r
+               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
+               ;;\r
+             ia64*)\r
+               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
+               ;;\r
+             *)\r
+               _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'\r
+               ;;\r
+           esac\r
+           # Commands to make compiler produce verbose output that lists\r
+           # what "hidden" libraries, object files and flags are used when\r
+           # linking a shared library.\r
+           #\r
+           # There doesn't appear to be a way to prevent this compiler from\r
+           # explicitly linking system object files so we need to strip them\r
+           # from the output so that they don't get included in the library\r
+           # dependencies.\r
+           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; func_echo_all "$list"'\r
+           ;;\r
+          *)\r
+           if test "$GXX" = yes; then\r
+             if test $with_gnu_ld = no; then\r
+               case $host_cpu in\r
+                 hppa*64*)\r
+                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
+                   ;;\r
+                 ia64*)\r
+                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
+                   ;;\r
+                 *)\r
+                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
+                   ;;\r
+               esac\r
+             fi\r
+           else\r
+             # FIXME: insert proper C++ library support\r
+             _LT_TAGVAR(ld_shlibs, $1)=no\r
+           fi\r
+           ;;\r
+        esac\r
+        ;;\r
+\r
+      interix[[3-9]]*)\r
+       _LT_TAGVAR(hardcode_direct, $1)=no\r
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'\r
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'\r
+       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.\r
+       # Instead, shared libraries are loaded at an image base (0x10000000 by\r
+       # default) and relocated if they conflict, which is a slow very memory\r
+       # consuming and fragmenting process.  To avoid this, we pick a random,\r
+       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link\r
+       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.\r
+       _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'\r
+       _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'\r
+       ;;\r
+      irix5* | irix6*)\r
+        case $cc_basename in\r
+          CC*)\r
+           # SGI C++\r
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'\r
+\r
+           # Archives containing C++ object files must be created using\r
+           # "CC -ar", where "CC" is the IRIX C++ compiler.  This is\r
+           # necessary to make sure instantiated templates are included\r
+           # in the archive.\r
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'\r
+           ;;\r
+          *)\r
+           if test "$GXX" = yes; then\r
+             if test "$with_gnu_ld" = no; then\r
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
+             else\r
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'\r
+             fi\r
+           fi\r
+           _LT_TAGVAR(link_all_deplibs, $1)=yes\r
+           ;;\r
+        esac\r
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'\r
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+        _LT_TAGVAR(inherit_rpath, $1)=yes\r
+        ;;\r
+\r
+      linux* | k*bsd*-gnu | kopensolaris*-gnu)\r
+        case $cc_basename in\r
+          KCC*)\r
+           # Kuck and Associates, Inc. (KAI) C++ Compiler\r
+\r
+           # KCC will only create a shared library if the output file\r
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library\r
+           # to its proper name (with version) after linking.\r
+           _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'\r
+           _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'\r
+           # Commands to make compiler produce verbose output that lists\r
+           # what "hidden" libraries, object files and flags are used when\r
+           # linking a shared library.\r
+           #\r
+           # There doesn't appear to be a way to prevent this compiler from\r
+           # explicitly linking system object files so we need to strip them\r
+           # from the output so that they don't get included in the library\r
+           # dependencies.\r
+           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; func_echo_all "$list"'\r
+\r
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'\r
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'\r
+\r
+           # Archives containing C++ object files must be created using\r
+           # "CC -Bstatic", where "CC" is the KAI C++ compiler.\r
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'\r
+           ;;\r
+         icpc* | ecpc* )\r
+           # Intel C++\r
+           with_gnu_ld=yes\r
+           # version 8.0 and above of icpc choke on multiply defined symbols\r
+           # if we add $predep_objects and $postdep_objects, however 7.1 and\r
+           # earlier do not add the objects themselves.\r
+           case `$CC -V 2>&1` in\r
+             *"Version 7."*)\r
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+               _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'\r
+               ;;\r
+             *)  # Version 8.0 or newer\r
+               tmp_idyn=\r
+               case $host_cpu in\r
+                 ia64*) tmp_idyn=' -i_dynamic';;\r
+               esac\r
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+               _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'\r
+               ;;\r
+           esac\r
+           _LT_TAGVAR(archive_cmds_need_lc, $1)=no\r
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'\r
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'\r
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'\r
+           ;;\r
+          pgCC* | pgcpp*)\r
+            # Portland Group C++ compiler\r
+           case `$CC -V` in\r
+           *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)\r
+             _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~\r
+               rm -rf $tpldir~\r
+               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~\r
+               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'\r
+             _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~\r
+               rm -rf $tpldir~\r
+               $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~\r
+               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~\r
+               $RANLIB $oldlib'\r
+             _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~\r
+               rm -rf $tpldir~\r
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~\r
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'\r
+             _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~\r
+               rm -rf $tpldir~\r
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~\r
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'\r
+             ;;\r
+           *) # Version 6 and above use weak symbols\r
+             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'\r
+             _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'\r
+             ;;\r
+           esac\r
+\r
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'\r
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'\r
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'\r
+            ;;\r
+         cxx*)\r
+           # Compaq C++\r
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+           _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'\r
+\r
+           runpath_var=LD_RUN_PATH\r
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'\r
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+\r
+           # Commands to make compiler produce verbose output that lists\r
+           # what "hidden" libraries, object files and flags are used when\r
+           # linking a shared library.\r
+           #\r
+           # There doesn't appear to be a way to prevent this compiler from\r
+           # explicitly linking system object files so we need to strip them\r
+           # from the output so that they don't get included in the library\r
+           # dependencies.\r
+           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'\r
+           ;;\r
+         xl* | mpixl* | bgxl*)\r
+           # IBM XL 8.0 on PPC, with GNU ld\r
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'\r
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'\r
+           _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
+           if test "x$supports_anon_versioning" = xyes; then\r
+             _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~\r
+               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~\r
+               echo "local: *; };" >> $output_objdir/$libname.ver~\r
+               $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'\r
+           fi\r
+           ;;\r
+         *)\r
+           case `$CC -V 2>&1 | sed 5q` in\r
+           *Sun\ C*)\r
+             # Sun C++ 5.9\r
+             _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'\r
+             _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
+             _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'\r
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'\r
+             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'\r
+             _LT_TAGVAR(compiler_needs_object, $1)=yes\r
+\r
+             # Not sure whether something based on\r
+             # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1\r
+             # would be better.\r
+             output_verbose_link_cmd='func_echo_all'\r
+\r
+             # Archives containing C++ object files must be created using\r
+             # "CC -xar", where "CC" is the Sun C++ compiler.  This is\r
+             # necessary to make sure instantiated templates are included\r
+             # in the archive.\r
+             _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'\r
+             ;;\r
+           esac\r
+           ;;\r
+       esac\r
+       ;;\r
+\r
+      lynxos*)\r
+        # FIXME: insert proper C++ library support\r
+       _LT_TAGVAR(ld_shlibs, $1)=no\r
+       ;;\r
+\r
+      m88k*)\r
+        # FIXME: insert proper C++ library support\r
+        _LT_TAGVAR(ld_shlibs, $1)=no\r
+       ;;\r
+\r
+      mvs*)\r
+        case $cc_basename in\r
+          cxx*)\r
+           # FIXME: insert proper C++ library support\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+           ;;\r
+         *)\r
+           # FIXME: insert proper C++ library support\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+           ;;\r
+       esac\r
+       ;;\r
+\r
+      netbsd*)\r
+        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then\r
+         _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'\r
+         wlarc=\r
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'\r
+         _LT_TAGVAR(hardcode_direct, $1)=yes\r
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+       fi\r
+       # Workaround some broken pre-1.5 toolchains\r
+       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'\r
+       ;;\r
+\r
+      *nto* | *qnx*)\r
+        _LT_TAGVAR(ld_shlibs, $1)=yes\r
+       ;;\r
+\r
+      openbsd2*)\r
+        # C++ shared libraries are fairly broken\r
+       _LT_TAGVAR(ld_shlibs, $1)=no\r
+       ;;\r
+\r
+      openbsd*)\r
+       if test -f /usr/libexec/ld.so; then\r
+         _LT_TAGVAR(hardcode_direct, $1)=yes\r
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes\r
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'\r
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'\r
+         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
+           _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'\r
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'\r
+           _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'\r
+         fi\r
+         output_verbose_link_cmd=func_echo_all\r
+       else\r
+         _LT_TAGVAR(ld_shlibs, $1)=no\r
+       fi\r
+       ;;\r
+\r
+      osf3* | osf4* | osf5*)\r
+        case $cc_basename in\r
+          KCC*)\r
+           # Kuck and Associates, Inc. (KAI) C++ Compiler\r
+\r
+           # KCC will only create a shared library if the output file\r
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library\r
+           # to its proper name (with version) after linking.\r
+           _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'\r
+\r
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'\r
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+\r
+           # Archives containing C++ object files must be created using\r
+           # the KAI C++ compiler.\r
+           case $host in\r
+             osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;\r
+             *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;\r
+           esac\r
+           ;;\r
+          RCC*)\r
+           # Rational C++ 2.4.1\r
+           # FIXME: insert proper C++ library support\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+           ;;\r
+          cxx*)\r
+           case $host in\r
+             osf3*)\r
+               _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'\r
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'\r
+               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'\r
+               ;;\r
+             *)\r
+               _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'\r
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'\r
+               _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~\r
+                 echo "-hidden">> $lib.exp~\r
+                 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~\r
+                 $RM $lib.exp'\r
+               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'\r
+               ;;\r
+           esac\r
+\r
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+\r
+           # Commands to make compiler produce verbose output that lists\r
+           # what "hidden" libraries, object files and flags are used when\r
+           # linking a shared library.\r
+           #\r
+           # There doesn't appear to be a way to prevent this compiler from\r
+           # explicitly linking system object files so we need to strip them\r
+           # from the output so that they don't get included in the library\r
+           # dependencies.\r
+           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'\r
+           ;;\r
+         *)\r
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then\r
+             _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'\r
+             case $host in\r
+               osf3*)\r
+                 _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" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
+                 ;;\r
+               *)\r
+                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
+                 ;;\r
+             esac\r
+\r
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'\r
+             _LT_TAGVAR(hardcode_libdir_separator, $1)=:\r
+\r
+             # Commands to make compiler produce verbose output that lists\r
+             # what "hidden" libraries, object files and flags are used when\r
+             # linking a shared library.\r
+             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'\r
+\r
+           else\r
+             # FIXME: insert proper C++ library support\r
+             _LT_TAGVAR(ld_shlibs, $1)=no\r
+           fi\r
+           ;;\r
+        esac\r
+        ;;\r
+\r
+      psos*)\r
+        # FIXME: insert proper C++ library support\r
+        _LT_TAGVAR(ld_shlibs, $1)=no\r
+        ;;\r
+\r
+      sunos4*)\r
+        case $cc_basename in\r
+          CC*)\r
+           # Sun C++ 4.x\r
+           # FIXME: insert proper C++ library support\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+           ;;\r
+          lcc*)\r
+           # Lucid\r
+           # FIXME: insert proper C++ library support\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+           ;;\r
+          *)\r
+           # FIXME: insert proper C++ library support\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+           ;;\r
+        esac\r
+        ;;\r
+\r
+      solaris*)\r
+        case $cc_basename in\r
+          CC* | sunCC*)\r
+           # Sun C++ 4.2, 5.x and Centerline C++\r
+            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes\r
+           _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'\r
+           _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
+           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~\r
+             $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'\r
+\r
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'\r
+           _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+           case $host_os in\r
+             solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;\r
+             *)\r
+               # The compiler driver will combine and reorder linker options,\r
+               # but understands `-z linker_flag'.\r
+               # Supported since Solaris 2.6 (maybe 2.5.1?)\r
+               _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'\r
+               ;;\r
+           esac\r
+           _LT_TAGVAR(link_all_deplibs, $1)=yes\r
+\r
+           output_verbose_link_cmd='func_echo_all'\r
+\r
+           # Archives containing C++ object files must be created using\r
+           # "CC -xar", where "CC" is the Sun C++ compiler.  This is\r
+           # necessary to make sure instantiated templates are included\r
+           # in the archive.\r
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'\r
+           ;;\r
+          gcx*)\r
+           # Green Hills C++ Compiler\r
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'\r
+\r
+           # The C++ compiler must be used to create the archive.\r
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'\r
+           ;;\r
+          *)\r
+           # GNU C++ compiler with Solaris linker\r
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then\r
+             _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'\r
+             if $CC --version | $GREP -v '^2\.7' > /dev/null; then\r
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'\r
+               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~\r
+                 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'\r
+\r
+               # Commands to make compiler produce verbose output that lists\r
+               # what "hidden" libraries, object files and flags are used when\r
+               # linking a shared library.\r
+               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'\r
+             else\r
+               # g++ 2.7 appears to require `-G' NOT `-shared' on this\r
+               # platform.\r
+               _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'\r
+               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~\r
+                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'\r
+\r
+               # Commands to make compiler produce verbose output that lists\r
+               # what "hidden" libraries, object files and flags are used when\r
+               # linking a shared library.\r
+               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'\r
+             fi\r
+\r
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'\r
+             case $host_os in\r
+               solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;\r
+               *)\r
+                 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'\r
+                 ;;\r
+             esac\r
+           fi\r
+           ;;\r
+        esac\r
+        ;;\r
+\r
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)\r
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'\r
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no\r
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+      runpath_var='LD_RUN_PATH'\r
+\r
+      case $cc_basename in\r
+        CC*)\r
+         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+         ;;\r
+       *)\r
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+         ;;\r
+      esac\r
+      ;;\r
+\r
+      sysv5* | sco3.2v5* | sco5v6*)\r
+       # Note: We can NOT use -z defs as we might desire, because we do not\r
+       # link with -lc, and that would cause any symbols used from libc to\r
+       # always be unresolved, which means just about no library would\r
+       # ever link correctly.  If we're not using GNU ld we use -z text\r
+       # though, which does catch some bad symbols but isn't as heavy-handed\r
+       # as -z defs.\r
+       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'\r
+       _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'\r
+       _LT_TAGVAR(archive_cmds_need_lc, $1)=no\r
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no\r
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'\r
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=':'\r
+       _LT_TAGVAR(link_all_deplibs, $1)=yes\r
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'\r
+       runpath_var='LD_RUN_PATH'\r
+\r
+       case $cc_basename in\r
+          CC*)\r
+           _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~\r
+             '"$_LT_TAGVAR(old_archive_cmds, $1)"\r
+           _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~\r
+             '"$_LT_TAGVAR(reload_cmds, $1)"\r
+           ;;\r
+         *)\r
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
+           ;;\r
+       esac\r
+      ;;\r
+\r
+      tandem*)\r
+        case $cc_basename in\r
+          NCC*)\r
+           # NonStop-UX NCC 3.20\r
+           # FIXME: insert proper C++ library support\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+           ;;\r
+          *)\r
+           # FIXME: insert proper C++ library support\r
+           _LT_TAGVAR(ld_shlibs, $1)=no\r
+           ;;\r
+        esac\r
+        ;;\r
+\r
+      vxworks*)\r
+        # FIXME: insert proper C++ library support\r
+        _LT_TAGVAR(ld_shlibs, $1)=no\r
+        ;;\r
+\r
+      *)\r
+        # FIXME: insert proper C++ library support\r
+        _LT_TAGVAR(ld_shlibs, $1)=no\r
+        ;;\r
+    esac\r
+\r
+    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])\r
+    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no\r
+\r
+    _LT_TAGVAR(GCC, $1)="$GXX"\r
+    _LT_TAGVAR(LD, $1)="$LD"\r
+\r
+    ## CAVEAT EMPTOR:\r
+    ## There is no encapsulation within the following macros, do not change\r
+    ## the running order or otherwise move them around unless you know exactly\r
+    ## what you are doing...\r
+    _LT_SYS_HIDDEN_LIBDEPS($1)\r
+    _LT_COMPILER_PIC($1)\r
+    _LT_COMPILER_C_O($1)\r
+    _LT_COMPILER_FILE_LOCKS($1)\r
+    _LT_LINKER_SHLIBS($1)\r
+    _LT_SYS_DYNAMIC_LINKER($1)\r
+    _LT_LINKER_HARDCODE_LIBPATH($1)\r
+\r
+    _LT_CONFIG($1)\r
+  fi # test -n "$compiler"\r
+\r
+  CC=$lt_save_CC\r
+  CFLAGS=$lt_save_CFLAGS\r
+  LDCXX=$LD\r
+  LD=$lt_save_LD\r
+  GCC=$lt_save_GCC\r
+  with_gnu_ld=$lt_save_with_gnu_ld\r
+  lt_cv_path_LDCXX=$lt_cv_path_LD\r
+  lt_cv_path_LD=$lt_save_path_LD\r
+  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld\r
+  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld\r
+fi # test "$_lt_caught_CXX_error" != yes\r
+\r
+AC_LANG_POP\r
+])# _LT_LANG_CXX_CONFIG\r
+\r
+\r
+# _LT_FUNC_STRIPNAME_CNF\r
+# ----------------------\r
+# func_stripname_cnf prefix suffix name\r
+# strip PREFIX and SUFFIX off of NAME.\r
+# PREFIX and SUFFIX must not contain globbing or regex special\r
+# characters, hashes, percent signs, but SUFFIX may contain a leading\r
+# dot (in which case that matches only a dot).\r
+#\r
+# This function is identical to the (non-XSI) version of func_stripname,\r
+# except this one can be used by m4 code that may be executed by configure,\r
+# rather than the libtool script.\r
+m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl\r
+AC_REQUIRE([_LT_DECL_SED])\r
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])\r
+func_stripname_cnf ()\r
+{\r
+  case ${2} in\r
+  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;\r
+  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;\r
+  esac\r
+} # func_stripname_cnf\r
+])# _LT_FUNC_STRIPNAME_CNF\r
+\r
+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])\r
+# ---------------------------------\r
+# Figure out "hidden" library dependencies from verbose\r
+# compiler output when linking a shared library.\r
+# Parse the compiler output and extract the necessary\r
+# objects, libraries and library flags.\r
+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],\r
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl\r
+AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl\r
+# Dependencies to place before and after the object being linked:\r
+_LT_TAGVAR(predep_objects, $1)=\r
+_LT_TAGVAR(postdep_objects, $1)=\r
+_LT_TAGVAR(predeps, $1)=\r
+_LT_TAGVAR(postdeps, $1)=\r
+_LT_TAGVAR(compiler_lib_search_path, $1)=\r
+\r
+dnl we can't use the lt_simple_compile_test_code here,\r
+dnl because it contains code intended for an executable,\r
+dnl not a library.  It's possible we should let each\r
+dnl tag define a new lt_????_link_test_code variable,\r
+dnl but it's only used here...\r
+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF\r
+int a;\r
+void foo (void) { a = 0; }\r
+_LT_EOF\r
+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF\r
+class Foo\r
+{\r
+public:\r
+  Foo (void) { a = 0; }\r
+private:\r
+  int a;\r
+};\r
+_LT_EOF\r
+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF\r
+      subroutine foo\r
+      implicit none\r
+      integer*4 a\r
+      a=0\r
+      return\r
+      end\r
+_LT_EOF\r
+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF\r
+      subroutine foo\r
+      implicit none\r
+      integer a\r
+      a=0\r
+      return\r
+      end\r
+_LT_EOF\r
+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF\r
+public class foo {\r
+  private int a;\r
+  public void bar (void) {\r
+    a = 0;\r
+  }\r
+};\r
+_LT_EOF\r
+])\r
+\r
+_lt_libdeps_save_CFLAGS=$CFLAGS\r
+case "$CC $CFLAGS " in #(\r
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;\r
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;\r
+esac\r
+\r
+dnl Parse the compiler output and extract the necessary\r
+dnl objects, libraries and library flags.\r
+if AC_TRY_EVAL(ac_compile); then\r
+  # Parse the compiler output and extract the necessary\r
+  # objects, libraries and library flags.\r
+\r
+  # Sentinel used to keep track of whether or not we are before\r
+  # the conftest object file.\r
+  pre_test_object_deps_done=no\r
+\r
+  for p in `eval "$output_verbose_link_cmd"`; do\r
+    case ${prev}${p} in\r
+\r
+    -L* | -R* | -l*)\r
+       # Some compilers place space between "-{L,R}" and the path.\r
+       # Remove the space.\r
+       if test $p = "-L" ||\r
+          test $p = "-R"; then\r
+        prev=$p\r
+        continue\r
+       fi\r
+\r
+       # Expand the sysroot to ease extracting the directories later.\r
+       if test -z "$prev"; then\r
+         case $p in\r
+         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;\r
+         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;\r
+         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;\r
+         esac\r
+       fi\r
+       case $p in\r
+       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;\r
+       esac\r
+       if test "$pre_test_object_deps_done" = no; then\r
+        case ${prev} in\r
+        -L | -R)\r
+          # Internal compiler library paths should come after those\r
+          # provided the user.  The postdeps already come after the\r
+          # user supplied libs so there is no need to process them.\r
+          if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then\r
+            _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"\r
+          else\r
+            _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"\r
+          fi\r
+          ;;\r
+        # The "-l" case would never come before the object being\r
+        # linked, so don't bother handling this case.\r
+        esac\r
+       else\r
+        if test -z "$_LT_TAGVAR(postdeps, $1)"; then\r
+          _LT_TAGVAR(postdeps, $1)="${prev}${p}"\r
+        else\r
+          _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"\r
+        fi\r
+       fi\r
+       prev=\r
+       ;;\r
+\r
+    *.lto.$objext) ;; # Ignore GCC LTO objects\r
+    *.$objext)\r
+       # This assumes that the test object file only shows up\r
+       # once in the compiler output.\r
+       if test "$p" = "conftest.$objext"; then\r
+        pre_test_object_deps_done=yes\r
+        continue\r
+       fi\r
+\r
+       if test "$pre_test_object_deps_done" = no; then\r
+        if test -z "$_LT_TAGVAR(predep_objects, $1)"; then\r
+          _LT_TAGVAR(predep_objects, $1)="$p"\r
+        else\r
+          _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"\r
+        fi\r
+       else\r
+        if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then\r
+          _LT_TAGVAR(postdep_objects, $1)="$p"\r
+        else\r
+          _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"\r
+        fi\r
+       fi\r
+       ;;\r
+\r
+    *) ;; # Ignore the rest.\r
+\r
+    esac\r
+  done\r
+\r
+  # Clean up.\r
+  rm -f a.out a.exe\r
+else\r
+  echo "libtool.m4: error: problem compiling $1 test program"\r
+fi\r
+\r
+$RM -f confest.$objext\r
+CFLAGS=$_lt_libdeps_save_CFLAGS\r
+\r
+# PORTME: override above test on systems where it is broken\r
+m4_if([$1], [CXX],\r
+[case $host_os in\r
+interix[[3-9]]*)\r
+  # Interix 3.5 installs completely hosed .la files for C++, so rather than\r
+  # hack all around it, let's just trust "g++" to DTRT.\r
+  _LT_TAGVAR(predep_objects,$1)=\r
+  _LT_TAGVAR(postdep_objects,$1)=\r
+  _LT_TAGVAR(postdeps,$1)=\r
+  ;;\r
+\r
+linux*)\r
+  case `$CC -V 2>&1 | sed 5q` in\r
+  *Sun\ C*)\r
+    # Sun C++ 5.9\r
+\r
+    # The more standards-conforming stlport4 library is\r
+    # incompatible with the Cstd library. Avoid specifying\r
+    # it if it's in CXXFLAGS. Ignore libCrun as\r
+    # -library=stlport4 depends on it.\r
+    case " $CXX $CXXFLAGS " in\r
+    *" -library=stlport4 "*)\r
+      solaris_use_stlport4=yes\r
+      ;;\r
+    esac\r
+\r
+    if test "$solaris_use_stlport4" != yes; then\r
+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'\r
+    fi\r
+    ;;\r
+  esac\r
+  ;;\r
+\r
+solaris*)\r
+  case $cc_basename in\r
+  CC* | sunCC*)\r
+    # The more standards-conforming stlport4 library is\r
+    # incompatible with the Cstd library. Avoid specifying\r
+    # it if it's in CXXFLAGS. Ignore libCrun as\r
+    # -library=stlport4 depends on it.\r
+    case " $CXX $CXXFLAGS " in\r
+    *" -library=stlport4 "*)\r
+      solaris_use_stlport4=yes\r
+      ;;\r
+    esac\r
+\r
+    # Adding this requires a known-good setup of shared libraries for\r
+    # Sun compiler versions before 5.6, else PIC objects from an old\r
+    # archive will be linked into the output, leading to subtle bugs.\r
+    if test "$solaris_use_stlport4" != yes; then\r
+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'\r
+    fi\r
+    ;;\r
+  esac\r
+  ;;\r
+esac\r
+])\r
+\r
+case " $_LT_TAGVAR(postdeps, $1) " in\r
+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;\r
+esac\r
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=\r
+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then\r
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`\r
+fi\r
+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],\r
+    [The directories searched by this compiler when creating a shared library])\r
+_LT_TAGDECL([], [predep_objects], [1],\r
+    [Dependencies to place before and after the objects being linked to\r
+    create a shared library])\r
+_LT_TAGDECL([], [postdep_objects], [1])\r
+_LT_TAGDECL([], [predeps], [1])\r
+_LT_TAGDECL([], [postdeps], [1])\r
+_LT_TAGDECL([], [compiler_lib_search_path], [1],\r
+    [The library search path used internally by the compiler when linking\r
+    a shared library])\r
+])# _LT_SYS_HIDDEN_LIBDEPS\r
+\r
+\r
+# _LT_LANG_F77_CONFIG([TAG])\r
+# --------------------------\r
+# Ensure that the configuration variables for a Fortran 77 compiler are\r
+# suitably defined.  These variables are subsequently used by _LT_CONFIG\r
+# to write the compiler configuration to `libtool'.\r
+m4_defun([_LT_LANG_F77_CONFIG],\r
+[AC_LANG_PUSH(Fortran 77)\r
+if test -z "$F77" || test "X$F77" = "Xno"; then\r
+  _lt_disable_F77=yes\r
+fi\r
+\r
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no\r
+_LT_TAGVAR(allow_undefined_flag, $1)=\r
+_LT_TAGVAR(always_export_symbols, $1)=no\r
+_LT_TAGVAR(archive_expsym_cmds, $1)=\r
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=\r
+_LT_TAGVAR(hardcode_direct, $1)=no\r
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no\r
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=\r
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=\r
+_LT_TAGVAR(hardcode_libdir_separator, $1)=\r
+_LT_TAGVAR(hardcode_minus_L, $1)=no\r
+_LT_TAGVAR(hardcode_automatic, $1)=no\r
+_LT_TAGVAR(inherit_rpath, $1)=no\r
+_LT_TAGVAR(module_cmds, $1)=\r
+_LT_TAGVAR(module_expsym_cmds, $1)=\r
+_LT_TAGVAR(link_all_deplibs, $1)=unknown\r
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds\r
+_LT_TAGVAR(reload_flag, $1)=$reload_flag\r
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds\r
+_LT_TAGVAR(no_undefined_flag, $1)=\r
+_LT_TAGVAR(whole_archive_flag_spec, $1)=\r
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no\r
+\r
+# Source file extension for f77 test sources.\r
+ac_ext=f\r
+\r
+# Object file extension for compiled f77 test sources.\r
+objext=o\r
+_LT_TAGVAR(objext, $1)=$objext\r
+\r
+# No sense in running all these tests if we already determined that\r
+# the F77 compiler isn't working.  Some variables (like enable_shared)\r
+# are currently assumed to apply to all compilers on this platform,\r
+# and will be corrupted by setting them based on a non-working compiler.\r
+if test "$_lt_disable_F77" != yes; then\r
+  # Code to be used in simple compile tests\r
+  lt_simple_compile_test_code="\\r
+      subroutine t\r
+      return\r
+      end\r
+"\r
+\r
+  # Code to be used in simple link tests\r
+  lt_simple_link_test_code="\\r
+      program t\r
+      end\r
+"\r
+\r
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.\r
+  _LT_TAG_COMPILER\r
+\r
+  # save warnings/boilerplate of simple test code\r
+  _LT_COMPILER_BOILERPLATE\r
+  _LT_LINKER_BOILERPLATE\r
+\r
+  # Allow CC to be a program name with arguments.\r
+  lt_save_CC="$CC"\r
+  lt_save_GCC=$GCC\r
+  lt_save_CFLAGS=$CFLAGS\r
+  CC=${F77-"f77"}\r
+  CFLAGS=$FFLAGS\r
+  compiler=$CC\r
+  _LT_TAGVAR(compiler, $1)=$CC\r
+  _LT_CC_BASENAME([$compiler])\r
+  GCC=$G77\r
+  if test -n "$compiler"; then\r
+    AC_MSG_CHECKING([if libtool supports shared libraries])\r
+    AC_MSG_RESULT([$can_build_shared])\r
+\r
+    AC_MSG_CHECKING([whether to build shared libraries])\r
+    test "$can_build_shared" = "no" && enable_shared=no\r
+\r
+    # On AIX, shared libraries and static libraries use the same namespace, and\r
+    # are all built from PIC.\r
+    case $host_os in\r
+      aix3*)\r
+        test "$enable_shared" = yes && enable_static=no\r
+        if test -n "$RANLIB"; then\r
+          archive_cmds="$archive_cmds~\$RANLIB \$lib"\r
+          postinstall_cmds='$RANLIB $lib'\r
+        fi\r
+        ;;\r
+      aix[[4-9]]*)\r
+       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then\r
+         test "$enable_shared" = yes && enable_static=no\r
+       fi\r
+        ;;\r
+    esac\r
+    AC_MSG_RESULT([$enable_shared])\r
+\r
+    AC_MSG_CHECKING([whether to build static libraries])\r
+    # Make sure either enable_shared or enable_static is yes.\r
+    test "$enable_shared" = yes || enable_static=yes\r
+    AC_MSG_RESULT([$enable_static])\r
+\r
+    _LT_TAGVAR(GCC, $1)="$G77"\r
+    _LT_TAGVAR(LD, $1)="$LD"\r
+\r
+    ## CAVEAT EMPTOR:\r
+    ## There is no encapsulation within the following macros, do not change\r
+    ## the running order or otherwise move them around unless you know exactly\r
+    ## what you are doing...\r
+    _LT_COMPILER_PIC($1)\r
+    _LT_COMPILER_C_O($1)\r
+    _LT_COMPILER_FILE_LOCKS($1)\r
+    _LT_LINKER_SHLIBS($1)\r
+    _LT_SYS_DYNAMIC_LINKER($1)\r
+    _LT_LINKER_HARDCODE_LIBPATH($1)\r
+\r
+    _LT_CONFIG($1)\r
+  fi # test -n "$compiler"\r
+\r
+  GCC=$lt_save_GCC\r
+  CC="$lt_save_CC"\r
+  CFLAGS="$lt_save_CFLAGS"\r
+fi # test "$_lt_disable_F77" != yes\r
+\r
+AC_LANG_POP\r
+])# _LT_LANG_F77_CONFIG\r
+\r
+\r
+# _LT_LANG_FC_CONFIG([TAG])\r
+# -------------------------\r
+# Ensure that the configuration variables for a Fortran compiler are\r
+# suitably defined.  These variables are subsequently used by _LT_CONFIG\r
+# to write the compiler configuration to `libtool'.\r
+m4_defun([_LT_LANG_FC_CONFIG],\r
+[AC_LANG_PUSH(Fortran)\r
+\r
+if test -z "$FC" || test "X$FC" = "Xno"; then\r
+  _lt_disable_FC=yes\r
+fi\r
+\r
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no\r
+_LT_TAGVAR(allow_undefined_flag, $1)=\r
+_LT_TAGVAR(always_export_symbols, $1)=no\r
+_LT_TAGVAR(archive_expsym_cmds, $1)=\r
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=\r
+_LT_TAGVAR(hardcode_direct, $1)=no\r
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no\r
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=\r
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=\r
+_LT_TAGVAR(hardcode_libdir_separator, $1)=\r
+_LT_TAGVAR(hardcode_minus_L, $1)=no\r
+_LT_TAGVAR(hardcode_automatic, $1)=no\r
+_LT_TAGVAR(inherit_rpath, $1)=no\r
+_LT_TAGVAR(module_cmds, $1)=\r
+_LT_TAGVAR(module_expsym_cmds, $1)=\r
+_LT_TAGVAR(link_all_deplibs, $1)=unknown\r
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds\r
+_LT_TAGVAR(reload_flag, $1)=$reload_flag\r
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds\r
+_LT_TAGVAR(no_undefined_flag, $1)=\r
+_LT_TAGVAR(whole_archive_flag_spec, $1)=\r
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no\r
+\r
+# Source file extension for fc test sources.\r
+ac_ext=${ac_fc_srcext-f}\r
+\r
+# Object file extension for compiled fc test sources.\r
+objext=o\r
+_LT_TAGVAR(objext, $1)=$objext\r
+\r
+# No sense in running all these tests if we already determined that\r
+# the FC compiler isn't working.  Some variables (like enable_shared)\r
+# are currently assumed to apply to all compilers on this platform,\r
+# and will be corrupted by setting them based on a non-working compiler.\r
+if test "$_lt_disable_FC" != yes; then\r
+  # Code to be used in simple compile tests\r
+  lt_simple_compile_test_code="\\r
+      subroutine t\r
+      return\r
+      end\r
+"\r
+\r
+  # Code to be used in simple link tests\r
+  lt_simple_link_test_code="\\r
+      program t\r
+      end\r
+"\r
+\r
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.\r
+  _LT_TAG_COMPILER\r
+\r
+  # save warnings/boilerplate of simple test code\r
+  _LT_COMPILER_BOILERPLATE\r
+  _LT_LINKER_BOILERPLATE\r
+\r
+  # Allow CC to be a program name with arguments.\r
+  lt_save_CC="$CC"\r
+  lt_save_GCC=$GCC\r
+  lt_save_CFLAGS=$CFLAGS\r
+  CC=${FC-"f95"}\r
+  CFLAGS=$FCFLAGS\r
+  compiler=$CC\r
+  GCC=$ac_cv_fc_compiler_gnu\r
+\r
+  _LT_TAGVAR(compiler, $1)=$CC\r
+  _LT_CC_BASENAME([$compiler])\r
+\r
+  if test -n "$compiler"; then\r
+    AC_MSG_CHECKING([if libtool supports shared libraries])\r
+    AC_MSG_RESULT([$can_build_shared])\r
+\r
+    AC_MSG_CHECKING([whether to build shared libraries])\r
+    test "$can_build_shared" = "no" && enable_shared=no\r
+\r
+    # On AIX, shared libraries and static libraries use the same namespace, and\r
+    # are all built from PIC.\r
+    case $host_os in\r
+      aix3*)\r
+        test "$enable_shared" = yes && enable_static=no\r
+        if test -n "$RANLIB"; then\r
+          archive_cmds="$archive_cmds~\$RANLIB \$lib"\r
+          postinstall_cmds='$RANLIB $lib'\r
+        fi\r
+        ;;\r
+      aix[[4-9]]*)\r
+       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then\r
+         test "$enable_shared" = yes && enable_static=no\r
+       fi\r
+        ;;\r
+    esac\r
+    AC_MSG_RESULT([$enable_shared])\r
+\r
+    AC_MSG_CHECKING([whether to build static libraries])\r
+    # Make sure either enable_shared or enable_static is yes.\r
+    test "$enable_shared" = yes || enable_static=yes\r
+    AC_MSG_RESULT([$enable_static])\r
+\r
+    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"\r
+    _LT_TAGVAR(LD, $1)="$LD"\r
+\r
+    ## CAVEAT EMPTOR:\r
+    ## There is no encapsulation within the following macros, do not change\r
+    ## the running order or otherwise move them around unless you know exactly\r
+    ## what you are doing...\r
+    _LT_SYS_HIDDEN_LIBDEPS($1)\r
+    _LT_COMPILER_PIC($1)\r
+    _LT_COMPILER_C_O($1)\r
+    _LT_COMPILER_FILE_LOCKS($1)\r
+    _LT_LINKER_SHLIBS($1)\r
+    _LT_SYS_DYNAMIC_LINKER($1)\r
+    _LT_LINKER_HARDCODE_LIBPATH($1)\r
+\r
+    _LT_CONFIG($1)\r
+  fi # test -n "$compiler"\r
+\r
+  GCC=$lt_save_GCC\r
+  CC=$lt_save_CC\r
+  CFLAGS=$lt_save_CFLAGS\r
+fi # test "$_lt_disable_FC" != yes\r
+\r
+AC_LANG_POP\r
+])# _LT_LANG_FC_CONFIG\r
+\r
+\r
+# _LT_LANG_GCJ_CONFIG([TAG])\r
+# --------------------------\r
+# Ensure that the configuration variables for the GNU Java Compiler compiler\r
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG\r
+# to write the compiler configuration to `libtool'.\r
+m4_defun([_LT_LANG_GCJ_CONFIG],\r
+[AC_REQUIRE([LT_PROG_GCJ])dnl\r
+AC_LANG_SAVE\r
+\r
+# Source file extension for Java test sources.\r
+ac_ext=java\r
+\r
+# Object file extension for compiled Java test sources.\r
+objext=o\r
+_LT_TAGVAR(objext, $1)=$objext\r
+\r
+# Code to be used in simple compile tests\r
+lt_simple_compile_test_code="class foo {}"\r
+\r
+# Code to be used in simple link tests\r
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'\r
+\r
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.\r
+_LT_TAG_COMPILER\r
+\r
+# save warnings/boilerplate of simple test code\r
+_LT_COMPILER_BOILERPLATE\r
+_LT_LINKER_BOILERPLATE\r
+\r
+# Allow CC to be a program name with arguments.\r
+lt_save_CC=$CC\r
+lt_save_CFLAGS=$CFLAGS\r
+lt_save_GCC=$GCC\r
+GCC=yes\r
+CC=${GCJ-"gcj"}\r
+CFLAGS=$GCJFLAGS\r
+compiler=$CC\r
+_LT_TAGVAR(compiler, $1)=$CC\r
+_LT_TAGVAR(LD, $1)="$LD"\r
+_LT_CC_BASENAME([$compiler])\r
+\r
+# GCJ did not exist at the time GCC didn't implicitly link libc in.\r
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no\r
+\r
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds\r
+_LT_TAGVAR(reload_flag, $1)=$reload_flag\r
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds\r
+\r
+if test -n "$compiler"; then\r
+  _LT_COMPILER_NO_RTTI($1)\r
+  _LT_COMPILER_PIC($1)\r
+  _LT_COMPILER_C_O($1)\r
+  _LT_COMPILER_FILE_LOCKS($1)\r
+  _LT_LINKER_SHLIBS($1)\r
+  _LT_LINKER_HARDCODE_LIBPATH($1)\r
+\r
+  _LT_CONFIG($1)\r
+fi\r
+\r
+AC_LANG_RESTORE\r
+\r
+GCC=$lt_save_GCC\r
+CC=$lt_save_CC\r
+CFLAGS=$lt_save_CFLAGS\r
+])# _LT_LANG_GCJ_CONFIG\r
+\r
+\r
+# _LT_LANG_RC_CONFIG([TAG])\r
+# -------------------------\r
+# Ensure that the configuration variables for the Windows resource compiler\r
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG\r
+# to write the compiler configuration to `libtool'.\r
+m4_defun([_LT_LANG_RC_CONFIG],\r
+[AC_REQUIRE([LT_PROG_RC])dnl\r
+AC_LANG_SAVE\r
+\r
+# Source file extension for RC test sources.\r
+ac_ext=rc\r
+\r
+# Object file extension for compiled RC test sources.\r
+objext=o\r
+_LT_TAGVAR(objext, $1)=$objext\r
+\r
+# Code to be used in simple compile tests\r
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'\r
+\r
+# Code to be used in simple link tests\r
+lt_simple_link_test_code="$lt_simple_compile_test_code"\r
+\r
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.\r
+_LT_TAG_COMPILER\r
+\r
+# save warnings/boilerplate of simple test code\r
+_LT_COMPILER_BOILERPLATE\r
+_LT_LINKER_BOILERPLATE\r
+\r
+# Allow CC to be a program name with arguments.\r
+lt_save_CC="$CC"\r
+lt_save_CFLAGS=$CFLAGS\r
+lt_save_GCC=$GCC\r
+GCC=\r
+CC=${RC-"windres"}\r
+CFLAGS=\r
+compiler=$CC\r
+_LT_TAGVAR(compiler, $1)=$CC\r
+_LT_CC_BASENAME([$compiler])\r
+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes\r
+\r
+if test -n "$compiler"; then\r
+  :\r
+  _LT_CONFIG($1)\r
+fi\r
+\r
+GCC=$lt_save_GCC\r
+AC_LANG_RESTORE\r
+CC=$lt_save_CC\r
+CFLAGS=$lt_save_CFLAGS\r
+])# _LT_LANG_RC_CONFIG\r
+\r
+\r
+# LT_PROG_GCJ\r
+# -----------\r
+AC_DEFUN([LT_PROG_GCJ],\r
+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],\r
+  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],\r
+    [AC_CHECK_TOOL(GCJ, gcj,)\r
+      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"\r
+      AC_SUBST(GCJFLAGS)])])[]dnl\r
+])\r
+\r
+# Old name:\r
+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])\r
+\r
+\r
+# LT_PROG_RC\r
+# ----------\r
+AC_DEFUN([LT_PROG_RC],\r
+[AC_CHECK_TOOL(RC, windres,)\r
+])\r
+\r
+# Old name:\r
+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([LT_AC_PROG_RC], [])\r
+\r
+\r
+# _LT_DECL_EGREP\r
+# --------------\r
+# If we don't have a new enough Autoconf to choose the best grep\r
+# available, choose the one first in the user's PATH.\r
+m4_defun([_LT_DECL_EGREP],\r
+[AC_REQUIRE([AC_PROG_EGREP])dnl\r
+AC_REQUIRE([AC_PROG_FGREP])dnl\r
+test -z "$GREP" && GREP=grep\r
+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])\r
+_LT_DECL([], [EGREP], [1], [An ERE matcher])\r
+_LT_DECL([], [FGREP], [1], [A literal string matcher])\r
+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too\r
+AC_SUBST([GREP])\r
+])\r
+\r
+\r
+# _LT_DECL_OBJDUMP\r
+# --------------\r
+# If we don't have a new enough Autoconf to choose the best objdump\r
+# available, choose the one first in the user's PATH.\r
+m4_defun([_LT_DECL_OBJDUMP],\r
+[AC_CHECK_TOOL(OBJDUMP, objdump, false)\r
+test -z "$OBJDUMP" && OBJDUMP=objdump\r
+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])\r
+AC_SUBST([OBJDUMP])\r
+])\r
+\r
+# _LT_DECL_DLLTOOL\r
+# ----------------\r
+# Ensure DLLTOOL variable is set.\r
+m4_defun([_LT_DECL_DLLTOOL],\r
+[AC_CHECK_TOOL(DLLTOOL, dlltool, false)\r
+test -z "$DLLTOOL" && DLLTOOL=dlltool\r
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])\r
+AC_SUBST([DLLTOOL])\r
+])\r
+\r
+# _LT_DECL_SED\r
+# ------------\r
+# Check for a fully-functional sed program, that truncates\r
+# as few characters as possible.  Prefer GNU sed if found.\r
+m4_defun([_LT_DECL_SED],\r
+[AC_PROG_SED\r
+test -z "$SED" && SED=sed\r
+Xsed="$SED -e 1s/^X//"\r
+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])\r
+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],\r
+    [Sed that helps us avoid accidentally triggering echo(1) options like -n])\r
+])# _LT_DECL_SED\r
+\r
+m4_ifndef([AC_PROG_SED], [\r
+# NOTE: This macro has been submitted for inclusion into   #\r
+#  GNU Autoconf as AC_PROG_SED.  When it is available in   #\r
+#  a released version of Autoconf we should remove this    #\r
+#  macro and use it instead.                               #\r
+\r
+m4_defun([AC_PROG_SED],\r
+[AC_MSG_CHECKING([for a sed that does not truncate output])\r
+AC_CACHE_VAL(lt_cv_path_SED,\r
+[# Loop through the user's path and test for sed and gsed.\r
+# Then use that list of sed's as ones to test for truncation.\r
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
+for as_dir in $PATH\r
+do\r
+  IFS=$as_save_IFS\r
+  test -z "$as_dir" && as_dir=.\r
+  for lt_ac_prog in sed gsed; do\r
+    for ac_exec_ext in '' $ac_executable_extensions; do\r
+      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then\r
+        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"\r
+      fi\r
+    done\r
+  done\r
+done\r
+IFS=$as_save_IFS\r
+lt_ac_max=0\r
+lt_ac_count=0\r
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris\r
+# along with /bin/sed that truncates output.\r
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do\r
+  test ! -f $lt_ac_sed && continue\r
+  cat /dev/null > conftest.in\r
+  lt_ac_count=0\r
+  echo $ECHO_N "0123456789$ECHO_C" >conftest.in\r
+  # Check for GNU sed and select it if it is found.\r
+  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then\r
+    lt_cv_path_SED=$lt_ac_sed\r
+    break\r
+  fi\r
+  while true; do\r
+    cat conftest.in conftest.in >conftest.tmp\r
+    mv conftest.tmp conftest.in\r
+    cp conftest.in conftest.nl\r
+    echo >>conftest.nl\r
+    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break\r
+    cmp -s conftest.out conftest.nl || break\r
+    # 10000 chars as input seems more than enough\r
+    test $lt_ac_count -gt 10 && break\r
+    lt_ac_count=`expr $lt_ac_count + 1`\r
+    if test $lt_ac_count -gt $lt_ac_max; then\r
+      lt_ac_max=$lt_ac_count\r
+      lt_cv_path_SED=$lt_ac_sed\r
+    fi\r
+  done\r
+done\r
+])\r
+SED=$lt_cv_path_SED\r
+AC_SUBST([SED])\r
+AC_MSG_RESULT([$SED])\r
+])#AC_PROG_SED\r
+])#m4_ifndef\r
+\r
+# Old name:\r
+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([LT_AC_PROG_SED], [])\r
+\r
+\r
+# _LT_CHECK_SHELL_FEATURES\r
+# ------------------------\r
+# Find out whether the shell is Bourne or XSI compatible,\r
+# or has some other useful features.\r
+m4_defun([_LT_CHECK_SHELL_FEATURES],\r
+[AC_MSG_CHECKING([whether the shell understands some XSI constructs])\r
+# Try some XSI features\r
+xsi_shell=no\r
+( _lt_dummy="a/b/c"\r
+  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \\r
+      = c,a/b,b/c, \\r
+    && eval 'test $(( 1 + 1 )) -eq 2 \\r
+    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \\r
+  && xsi_shell=yes\r
+AC_MSG_RESULT([$xsi_shell])\r
+_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])\r
+\r
+AC_MSG_CHECKING([whether the shell understands "+="])\r
+lt_shell_append=no\r
+( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \\r
+    >/dev/null 2>&1 \\r
+  && lt_shell_append=yes\r
+AC_MSG_RESULT([$lt_shell_append])\r
+_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])\r
+\r
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then\r
+  lt_unset=unset\r
+else\r
+  lt_unset=false\r
+fi\r
+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl\r
+\r
+# test EBCDIC or ASCII\r
+case `echo X|tr X '\101'` in\r
+ A) # ASCII based system\r
+    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr\r
+  lt_SP2NL='tr \040 \012'\r
+  lt_NL2SP='tr \015\012 \040\040'\r
+  ;;\r
+ *) # EBCDIC based system\r
+  lt_SP2NL='tr \100 \n'\r
+  lt_NL2SP='tr \r\n \100\100'\r
+  ;;\r
+esac\r
+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl\r
+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl\r
+])# _LT_CHECK_SHELL_FEATURES\r
+\r
+\r
+# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)\r
+# ------------------------------------------------------\r
+# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and\r
+# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.\r
+m4_defun([_LT_PROG_FUNCTION_REPLACE],\r
+[dnl {\r
+sed -e '/^$1 ()$/,/^} # $1 /c\\r
+$1 ()\\r
+{\\r
+m4_bpatsubsts([$2], [$], [\\], [^\([    ]\)], [\\\1])\r
+} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \\r
+  && mv -f "$cfgfile.tmp" "$cfgfile" \\r
+    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")\r
+test 0 -eq $? || _lt_function_replace_fail=:\r
+])\r
+\r
+\r
+# _LT_PROG_REPLACE_SHELLFNS\r
+# -------------------------\r
+# Replace existing portable implementations of several shell functions with\r
+# equivalent extended shell implementations where those features are available..\r
+m4_defun([_LT_PROG_REPLACE_SHELLFNS],\r
+[if test x"$xsi_shell" = xyes; then\r
+  _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl\r
+    case ${1} in\r
+      */*) func_dirname_result="${1%/*}${2}" ;;\r
+      *  ) func_dirname_result="${3}" ;;\r
+    esac])\r
+\r
+  _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl\r
+    func_basename_result="${1##*/}"])\r
+\r
+  _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl\r
+    case ${1} in\r
+      */*) func_dirname_result="${1%/*}${2}" ;;\r
+      *  ) func_dirname_result="${3}" ;;\r
+    esac\r
+    func_basename_result="${1##*/}"])\r
+\r
+  _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl\r
+    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\r
+    # positional parameters, so assign one to ordinary parameter first.\r
+    func_stripname_result=${3}\r
+    func_stripname_result=${func_stripname_result#"${1}"}\r
+    func_stripname_result=${func_stripname_result%"${2}"}])\r
+\r
+  _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl\r
+    func_split_long_opt_name=${1%%=*}\r
+    func_split_long_opt_arg=${1#*=}])\r
+\r
+  _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl\r
+    func_split_short_opt_arg=${1#??}\r
+    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])\r
+\r
+  _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl\r
+    case ${1} in\r
+      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\r
+      *)    func_lo2o_result=${1} ;;\r
+    esac])\r
+\r
+  _LT_PROG_FUNCTION_REPLACE([func_xform], [    func_xform_result=${1%.*}.lo])\r
+\r
+  _LT_PROG_FUNCTION_REPLACE([func_arith], [    func_arith_result=$(( $[*] ))])\r
+\r
+  _LT_PROG_FUNCTION_REPLACE([func_len], [    func_len_result=${#1}])\r
+fi\r
+\r
+if test x"$lt_shell_append" = xyes; then\r
+  _LT_PROG_FUNCTION_REPLACE([func_append], [    eval "${1}+=\\${2}"])\r
+\r
+  _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl\r
+    func_quote_for_eval "${2}"\r
+dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \\r
+    eval "${1}+=\\\\ \\$func_quote_for_eval_result"])\r
+\r
+  # Save a `func_append' function call where possible by direct use of '+='\r
+  sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \\r
+    && mv -f "$cfgfile.tmp" "$cfgfile" \\r
+      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")\r
+  test 0 -eq $? || _lt_function_replace_fail=:\r
+else\r
+  # Save a `func_append' function call even when '+=' is not available\r
+  sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \\r
+    && mv -f "$cfgfile.tmp" "$cfgfile" \\r
+      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")\r
+  test 0 -eq $? || _lt_function_replace_fail=:\r
+fi\r
+\r
+if test x"$_lt_function_replace_fail" = x":"; then\r
+  AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])\r
+fi\r
+])\r
+\r
+# _LT_PATH_CONVERSION_FUNCTIONS\r
+# -----------------------------\r
+# Determine which file name conversion functions should be used by\r
+# func_to_host_file (and, implicitly, by func_to_host_path).  These are needed\r
+# for certain cross-compile configurations and native mingw.\r
+m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],\r
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl\r
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl\r
+AC_MSG_CHECKING([how to convert $build file names to $host format])\r
+AC_CACHE_VAL(lt_cv_to_host_file_cmd,\r
+[case $host in\r
+  *-*-mingw* )\r
+    case $build in\r
+      *-*-mingw* ) # actually msys\r
+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32\r
+        ;;\r
+      *-*-cygwin* )\r
+        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32\r
+        ;;\r
+      * ) # otherwise, assume *nix\r
+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32\r
+        ;;\r
+    esac\r
+    ;;\r
+  *-*-cygwin* )\r
+    case $build in\r
+      *-*-mingw* ) # actually msys\r
+        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin\r
+        ;;\r
+      *-*-cygwin* )\r
+        lt_cv_to_host_file_cmd=func_convert_file_noop\r
+        ;;\r
+      * ) # otherwise, assume *nix\r
+        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin\r
+        ;;\r
+    esac\r
+    ;;\r
+  * ) # unhandled hosts (and "normal" native builds)\r
+    lt_cv_to_host_file_cmd=func_convert_file_noop\r
+    ;;\r
+esac\r
+])\r
+to_host_file_cmd=$lt_cv_to_host_file_cmd\r
+AC_MSG_RESULT([$lt_cv_to_host_file_cmd])\r
+_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],\r
+         [0], [convert $build file names to $host format])dnl\r
+\r
+AC_MSG_CHECKING([how to convert $build file names to toolchain format])\r
+AC_CACHE_VAL(lt_cv_to_tool_file_cmd,\r
+[#assume ordinary cross tools, or native build.\r
+lt_cv_to_tool_file_cmd=func_convert_file_noop\r
+case $host in\r
+  *-*-mingw* )\r
+    case $build in\r
+      *-*-mingw* ) # actually msys\r
+        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32\r
+        ;;\r
+    esac\r
+    ;;\r
+esac\r
+])\r
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd\r
+AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])\r
+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],\r
+         [0], [convert $build files to toolchain format])dnl\r
+])# _LT_PATH_CONVERSION_FUNCTIONS\r
+\r
+# Helper functions for option handling.                    -*- Autoconf -*-\r
+#\r
+#   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,\r
+#   Inc.\r
+#   Written by Gary V. Vaughan, 2004\r
+#\r
+# This file is free software; the Free Software Foundation gives\r
+# unlimited permission to copy and/or distribute it, with or without\r
+# modifications, as long as this notice is preserved.\r
+\r
+# serial 7 ltoptions.m4\r
+\r
+# This is to help aclocal find these macros, as it can't see m4_define.\r
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])\r
+\r
+\r
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)\r
+# ------------------------------------------\r
+m4_define([_LT_MANGLE_OPTION],\r
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])\r
+\r
+\r
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)\r
+# ---------------------------------------\r
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a\r
+# matching handler defined, dispatch to it.  Other OPTION-NAMEs are\r
+# saved as a flag.\r
+m4_define([_LT_SET_OPTION],\r
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl\r
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),\r
+        _LT_MANGLE_DEFUN([$1], [$2]),\r
+    [m4_warning([Unknown $1 option `$2'])])[]dnl\r
+])\r
+\r
+\r
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])\r
+# ------------------------------------------------------------\r
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.\r
+m4_define([_LT_IF_OPTION],\r
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])\r
+\r
+\r
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)\r
+# -------------------------------------------------------\r
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME\r
+# are set.\r
+m4_define([_LT_UNLESS_OPTIONS],\r
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),\r
+           [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),\r
+                     [m4_define([$0_found])])])[]dnl\r
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3\r
+])[]dnl\r
+])\r
+\r
+\r
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)\r
+# ----------------------------------------\r
+# OPTION-LIST is a space-separated list of Libtool options associated\r
+# with MACRO-NAME.  If any OPTION has a matching handler declared with\r
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about\r
+# the unknown option and exit.\r
+m4_defun([_LT_SET_OPTIONS],\r
+[# Set options\r
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),\r
+    [_LT_SET_OPTION([$1], _LT_Option)])\r
+\r
+m4_if([$1],[LT_INIT],[\r
+  dnl\r
+  dnl Simply set some default values (i.e off) if boolean options were not\r
+  dnl specified:\r
+  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no\r
+  ])\r
+  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no\r
+  ])\r
+  dnl\r
+  dnl If no reference was made to various pairs of opposing options, then\r
+  dnl we run the default mode handler for the pair.  For example, if neither\r
+  dnl `shared' nor `disable-shared' was passed, we enable building of shared\r
+  dnl archives by default:\r
+  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])\r
+  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])\r
+  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])\r
+  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],\r
+                  [_LT_ENABLE_FAST_INSTALL])\r
+  ])\r
+])# _LT_SET_OPTIONS\r
+\r
+\r
+\r
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)\r
+# -----------------------------------------\r
+m4_define([_LT_MANGLE_DEFUN],\r
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])\r
+\r
+\r
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)\r
+# -----------------------------------------------\r
+m4_define([LT_OPTION_DEFINE],\r
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl\r
+])# LT_OPTION_DEFINE\r
+\r
+\r
+# dlopen\r
+# ------\r
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes\r
+])\r
+\r
+AU_DEFUN([AC_LIBTOOL_DLOPEN],\r
+[_LT_SET_OPTION([LT_INIT], [dlopen])\r
+AC_DIAGNOSE([obsolete],\r
+[$0: Remove this warning and the call to _LT_SET_OPTION when you\r
+put the `dlopen' option into LT_INIT's first parameter.])\r
+])\r
+\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])\r
+\r
+\r
+# win32-dll\r
+# ---------\r
+# Declare package support for building win32 dll's.\r
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],\r
+[enable_win32_dll=yes\r
+\r
+case $host in\r
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)\r
+  AC_CHECK_TOOL(AS, as, false)\r
+  AC_CHECK_TOOL(DLLTOOL, dlltool, false)\r
+  AC_CHECK_TOOL(OBJDUMP, objdump, false)\r
+  ;;\r
+esac\r
+\r
+test -z "$AS" && AS=as\r
+_LT_DECL([], [AS],      [1], [Assembler program])dnl\r
+\r
+test -z "$DLLTOOL" && DLLTOOL=dlltool\r
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl\r
+\r
+test -z "$OBJDUMP" && OBJDUMP=objdump\r
+_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl\r
+])# win32-dll\r
+\r
+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],\r
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl\r
+_LT_SET_OPTION([LT_INIT], [win32-dll])\r
+AC_DIAGNOSE([obsolete],\r
+[$0: Remove this warning and the call to _LT_SET_OPTION when you\r
+put the `win32-dll' option into LT_INIT's first parameter.])\r
+])\r
+\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])\r
+\r
+\r
+# _LT_ENABLE_SHARED([DEFAULT])\r
+# ----------------------------\r
+# implement the --enable-shared flag, and supports the `shared' and\r
+# `disable-shared' LT_INIT options.\r
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.\r
+m4_define([_LT_ENABLE_SHARED],\r
+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl\r
+AC_ARG_ENABLE([shared],\r
+    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],\r
+       [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],\r
+    [p=${PACKAGE-default}\r
+    case $enableval in\r
+    yes) enable_shared=yes ;;\r
+    no) enable_shared=no ;;\r
+    *)\r
+      enable_shared=no\r
+      # Look at the argument we got.  We use all the common list separators.\r
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"\r
+      for pkg in $enableval; do\r
+       IFS="$lt_save_ifs"\r
+       if test "X$pkg" = "X$p"; then\r
+         enable_shared=yes\r
+       fi\r
+      done\r
+      IFS="$lt_save_ifs"\r
+      ;;\r
+    esac],\r
+    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)\r
+\r
+    _LT_DECL([build_libtool_libs], [enable_shared], [0],\r
+       [Whether or not to build shared libraries])\r
+])# _LT_ENABLE_SHARED\r
+\r
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])\r
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])\r
+\r
+# Old names:\r
+AC_DEFUN([AC_ENABLE_SHARED],\r
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])\r
+])\r
+\r
+AC_DEFUN([AC_DISABLE_SHARED],\r
+[_LT_SET_OPTION([LT_INIT], [disable-shared])\r
+])\r
+\r
+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])\r
+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])\r
+\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AM_ENABLE_SHARED], [])\r
+dnl AC_DEFUN([AM_DISABLE_SHARED], [])\r
+\r
+\r
+\r
+# _LT_ENABLE_STATIC([DEFAULT])\r
+# ----------------------------\r
+# implement the --enable-static flag, and support the `static' and\r
+# `disable-static' LT_INIT options.\r
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.\r
+m4_define([_LT_ENABLE_STATIC],\r
+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl\r
+AC_ARG_ENABLE([static],\r
+    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],\r
+       [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],\r
+    [p=${PACKAGE-default}\r
+    case $enableval in\r
+    yes) enable_static=yes ;;\r
+    no) enable_static=no ;;\r
+    *)\r
+     enable_static=no\r
+      # Look at the argument we got.  We use all the common list separators.\r
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"\r
+      for pkg in $enableval; do\r
+       IFS="$lt_save_ifs"\r
+       if test "X$pkg" = "X$p"; then\r
+         enable_static=yes\r
+       fi\r
+      done\r
+      IFS="$lt_save_ifs"\r
+      ;;\r
+    esac],\r
+    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)\r
+\r
+    _LT_DECL([build_old_libs], [enable_static], [0],\r
+       [Whether or not to build static libraries])\r
+])# _LT_ENABLE_STATIC\r
+\r
+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])\r
+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])\r
+\r
+# Old names:\r
+AC_DEFUN([AC_ENABLE_STATIC],\r
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])\r
+])\r
+\r
+AC_DEFUN([AC_DISABLE_STATIC],\r
+[_LT_SET_OPTION([LT_INIT], [disable-static])\r
+])\r
+\r
+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])\r
+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])\r
+\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AM_ENABLE_STATIC], [])\r
+dnl AC_DEFUN([AM_DISABLE_STATIC], [])\r
+\r
+\r
+\r
+# _LT_ENABLE_FAST_INSTALL([DEFAULT])\r
+# ----------------------------------\r
+# implement the --enable-fast-install flag, and support the `fast-install'\r
+# and `disable-fast-install' LT_INIT options.\r
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.\r
+m4_define([_LT_ENABLE_FAST_INSTALL],\r
+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl\r
+AC_ARG_ENABLE([fast-install],\r
+    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],\r
+    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],\r
+    [p=${PACKAGE-default}\r
+    case $enableval in\r
+    yes) enable_fast_install=yes ;;\r
+    no) enable_fast_install=no ;;\r
+    *)\r
+      enable_fast_install=no\r
+      # Look at the argument we got.  We use all the common list separators.\r
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"\r
+      for pkg in $enableval; do\r
+       IFS="$lt_save_ifs"\r
+       if test "X$pkg" = "X$p"; then\r
+         enable_fast_install=yes\r
+       fi\r
+      done\r
+      IFS="$lt_save_ifs"\r
+      ;;\r
+    esac],\r
+    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)\r
+\r
+_LT_DECL([fast_install], [enable_fast_install], [0],\r
+        [Whether or not to optimize for fast installation])dnl\r
+])# _LT_ENABLE_FAST_INSTALL\r
+\r
+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])\r
+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])\r
+\r
+# Old names:\r
+AU_DEFUN([AC_ENABLE_FAST_INSTALL],\r
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])\r
+AC_DIAGNOSE([obsolete],\r
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put\r
+the `fast-install' option into LT_INIT's first parameter.])\r
+])\r
+\r
+AU_DEFUN([AC_DISABLE_FAST_INSTALL],\r
+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])\r
+AC_DIAGNOSE([obsolete],\r
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put\r
+the `disable-fast-install' option into LT_INIT's first parameter.])\r
+])\r
+\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])\r
+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])\r
+\r
+\r
+# _LT_WITH_PIC([MODE])\r
+# --------------------\r
+# implement the --with-pic flag, and support the `pic-only' and `no-pic'\r
+# LT_INIT options.\r
+# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.\r
+m4_define([_LT_WITH_PIC],\r
+[AC_ARG_WITH([pic],\r
+    [AS_HELP_STRING([--with-pic],\r
+       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],\r
+    [pic_mode="$withval"],\r
+    [pic_mode=default])\r
+\r
+test -z "$pic_mode" && pic_mode=m4_default([$1], [default])\r
+\r
+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl\r
+])# _LT_WITH_PIC\r
+\r
+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])\r
+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])\r
+\r
+# Old name:\r
+AU_DEFUN([AC_LIBTOOL_PICMODE],\r
+[_LT_SET_OPTION([LT_INIT], [pic-only])\r
+AC_DIAGNOSE([obsolete],\r
+[$0: Remove this warning and the call to _LT_SET_OPTION when you\r
+put the `pic-only' option into LT_INIT's first parameter.])\r
+])\r
+\r
+dnl aclocal-1.4 backwards compatibility:\r
+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])\r
+\r
+\r
+m4_define([_LTDL_MODE], [])\r
+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],\r
+                [m4_define([_LTDL_MODE], [nonrecursive])])\r
+LT_OPTION_DEFINE([LTDL_INIT], [recursive],\r
+                [m4_define([_LTDL_MODE], [recursive])])\r
+LT_OPTION_DEFINE([LTDL_INIT], [subproject],\r
+                [m4_define([_LTDL_MODE], [subproject])])\r
+\r
+m4_define([_LTDL_TYPE], [])\r
+LT_OPTION_DEFINE([LTDL_INIT], [installable],\r
+                [m4_define([_LTDL_TYPE], [installable])])\r
+LT_OPTION_DEFINE([LTDL_INIT], [convenience],\r
+                [m4_define([_LTDL_TYPE], [convenience])])\r
+\r
+# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-\r
+#\r
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.\r
+# Written by Gary V. Vaughan, 2004\r
+#\r
+# This file is free software; the Free Software Foundation gives\r
+# unlimited permission to copy and/or distribute it, with or without\r
+# modifications, as long as this notice is preserved.\r
+\r
+# serial 6 ltsugar.m4\r
+\r
+# This is to help aclocal find these macros, as it can't see m4_define.\r
+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])\r
+\r
+\r
+# lt_join(SEP, ARG1, [ARG2...])\r
+# -----------------------------\r
+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their\r
+# associated separator.\r
+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier\r
+# versions in m4sugar had bugs.\r
+m4_define([lt_join],\r
+[m4_if([$#], [1], [],\r
+       [$#], [2], [[$2]],\r
+       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])\r
+m4_define([_lt_join],\r
+[m4_if([$#$2], [2], [],\r
+       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])\r
+\r
+\r
+# lt_car(LIST)\r
+# lt_cdr(LIST)\r
+# ------------\r
+# Manipulate m4 lists.\r
+# These macros are necessary as long as will still need to support\r
+# Autoconf-2.59 which quotes differently.\r
+m4_define([lt_car], [[$1]])\r
+m4_define([lt_cdr],\r
+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],\r
+       [$#], 1, [],\r
+       [m4_dquote(m4_shift($@))])])\r
+m4_define([lt_unquote], $1)\r
+\r
+\r
+# lt_append(MACRO-NAME, STRING, [SEPARATOR])\r
+# ------------------------------------------\r
+# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.\r
+# Note that neither SEPARATOR nor STRING are expanded; they are appended\r
+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).\r
+# No SEPARATOR is output if MACRO-NAME was previously undefined (different\r
+# than defined and empty).\r
+#\r
+# This macro is needed until we can rely on Autoconf 2.62, since earlier\r
+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.\r
+m4_define([lt_append],\r
+[m4_define([$1],\r
+          m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])\r
+\r
+\r
+\r
+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])\r
+# ----------------------------------------------------------\r
+# Produce a SEP delimited list of all paired combinations of elements of\r
+# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list\r
+# has the form PREFIXmINFIXSUFFIXn.\r
+# Needed until we can rely on m4_combine added in Autoconf 2.62.\r
+m4_define([lt_combine],\r
+[m4_if(m4_eval([$# > 3]), [1],\r
+       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl\r
+[[m4_foreach([_Lt_prefix], [$2],\r
+            [m4_foreach([_Lt_suffix],\r
+               ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,\r
+       [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])\r
+\r
+\r
+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])\r
+# -----------------------------------------------------------------------\r
+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited\r
+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.\r
+m4_define([lt_if_append_uniq],\r
+[m4_ifdef([$1],\r
+         [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],\r
+                [lt_append([$1], [$2], [$3])$4],\r
+                [$5])],\r
+         [lt_append([$1], [$2], [$3])$4])])\r
+\r
+\r
+# lt_dict_add(DICT, KEY, VALUE)\r
+# -----------------------------\r
+m4_define([lt_dict_add],\r
+[m4_define([$1($2)], [$3])])\r
+\r
+\r
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)\r
+# --------------------------------------------\r
+m4_define([lt_dict_add_subkey],\r
+[m4_define([$1($2:$3)], [$4])])\r
+\r
+\r
+# lt_dict_fetch(DICT, KEY, [SUBKEY])\r
+# ----------------------------------\r
+m4_define([lt_dict_fetch],\r
+[m4_ifval([$3],\r
+       m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),\r
+    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])\r
+\r
+\r
+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])\r
+# -----------------------------------------------------------------\r
+m4_define([lt_if_dict_fetch],\r
+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],\r
+       [$5],\r
+    [$6])])\r
+\r
+\r
+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])\r
+# --------------------------------------------------------------\r
+m4_define([lt_dict_filter],\r
+[m4_if([$5], [], [],\r
+  [lt_join(m4_quote(m4_default([$4], [[, ]])),\r
+           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),\r
+                     [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl\r
+])\r
+\r
+# ltversion.m4 -- version numbers                      -*- Autoconf -*-\r
+#\r
+#   Copyright (C) 2004 Free Software Foundation, Inc.\r
+#   Written by Scott James Remnant, 2004\r
+#\r
+# This file is free software; the Free Software Foundation gives\r
+# unlimited permission to copy and/or distribute it, with or without\r
+# modifications, as long as this notice is preserved.\r
+\r
+# @configure_input@\r
+\r
+# serial 3293 ltversion.m4\r
+# This file is part of GNU Libtool\r
+\r
+m4_define([LT_PACKAGE_VERSION], [2.4])\r
+m4_define([LT_PACKAGE_REVISION], [1.3293])\r
+\r
+AC_DEFUN([LTVERSION_VERSION],\r
+[macro_version='2.4'\r
+macro_revision='1.3293'\r
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])\r
+_LT_DECL(, macro_revision, 0)\r
+])\r
+\r
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-\r
+#\r
+#   Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.\r
+#   Written by Scott James Remnant, 2004.\r
+#\r
+# This file is free software; the Free Software Foundation gives\r
+# unlimited permission to copy and/or distribute it, with or without\r
+# modifications, as long as this notice is preserved.\r
+\r
+# serial 5 lt~obsolete.m4\r
+\r
+# These exist entirely to fool aclocal when bootstrapping libtool.\r
+#\r
+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)\r
+# which have later been changed to m4_define as they aren't part of the\r
+# exported API, or moved to Autoconf or Automake where they belong.\r
+#\r
+# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN\r
+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us\r
+# using a macro with the same name in our local m4/libtool.m4 it'll\r
+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define\r
+# and doesn't know about Autoconf macros at all.)\r
+#\r
+# So we provide this file, which has a silly filename so it's always\r
+# included after everything else.  This provides aclocal with the\r
+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything\r
+# because those macros already exist, or will be overwritten later.\r
+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. \r
+#\r
+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.\r
+# Yes, that means every name once taken will need to remain here until\r
+# we give up compatibility with versions before 1.7, at which point\r
+# we need to keep only those names which we still refer to.\r
+\r
+# This is to help aclocal find these macros, as it can't see m4_define.\r
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])\r
+\r
+m4_ifndef([AC_LIBTOOL_LINKER_OPTION],  [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])\r
+m4_ifndef([AC_PROG_EGREP],             [AC_DEFUN([AC_PROG_EGREP])])\r
+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],        [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])\r
+m4_ifndef([_LT_AC_SHELL_INIT],         [AC_DEFUN([_LT_AC_SHELL_INIT])])\r
+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],    [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])\r
+m4_ifndef([_LT_PROG_LTMAIN],           [AC_DEFUN([_LT_PROG_LTMAIN])])\r
+m4_ifndef([_LT_AC_TAGVAR],             [AC_DEFUN([_LT_AC_TAGVAR])])\r
+m4_ifndef([AC_LTDL_ENABLE_INSTALL],    [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])\r
+m4_ifndef([AC_LTDL_PREOPEN],           [AC_DEFUN([AC_LTDL_PREOPEN])])\r
+m4_ifndef([_LT_AC_SYS_COMPILER],       [AC_DEFUN([_LT_AC_SYS_COMPILER])])\r
+m4_ifndef([_LT_AC_LOCK],               [AC_DEFUN([_LT_AC_LOCK])])\r
+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],        [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])\r
+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],    [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])\r
+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],    [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])\r
+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])\r
+m4_ifndef([AC_LIBTOOL_OBJDIR],         [AC_DEFUN([AC_LIBTOOL_OBJDIR])])\r
+m4_ifndef([AC_LTDL_OBJDIR],            [AC_DEFUN([AC_LTDL_OBJDIR])])\r
+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])\r
+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],  [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])\r
+m4_ifndef([AC_PATH_MAGIC],             [AC_DEFUN([AC_PATH_MAGIC])])\r
+m4_ifndef([AC_PROG_LD_GNU],            [AC_DEFUN([AC_PROG_LD_GNU])])\r
+m4_ifndef([AC_PROG_LD_RELOAD_FLAG],    [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])\r
+m4_ifndef([AC_DEPLIBS_CHECK_METHOD],   [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])\r
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])\r
+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])\r
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])\r
+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])\r
+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])\r
+m4_ifndef([LT_AC_PROG_EGREP],          [AC_DEFUN([LT_AC_PROG_EGREP])])\r
+m4_ifndef([LT_AC_PROG_SED],            [AC_DEFUN([LT_AC_PROG_SED])])\r
+m4_ifndef([_LT_CC_BASENAME],           [AC_DEFUN([_LT_CC_BASENAME])])\r
+m4_ifndef([_LT_COMPILER_BOILERPLATE],  [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])\r
+m4_ifndef([_LT_LINKER_BOILERPLATE],    [AC_DEFUN([_LT_LINKER_BOILERPLATE])])\r
+m4_ifndef([_AC_PROG_LIBTOOL],          [AC_DEFUN([_AC_PROG_LIBTOOL])])\r
+m4_ifndef([AC_LIBTOOL_SETUP],          [AC_DEFUN([AC_LIBTOOL_SETUP])])\r
+m4_ifndef([_LT_AC_CHECK_DLFCN],                [AC_DEFUN([_LT_AC_CHECK_DLFCN])])\r
+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],     [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])\r
+m4_ifndef([_LT_AC_TAGCONFIG],          [AC_DEFUN([_LT_AC_TAGCONFIG])])\r
+m4_ifndef([AC_DISABLE_FAST_INSTALL],   [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])\r
+m4_ifndef([_LT_AC_LANG_CXX],           [AC_DEFUN([_LT_AC_LANG_CXX])])\r
+m4_ifndef([_LT_AC_LANG_F77],           [AC_DEFUN([_LT_AC_LANG_F77])])\r
+m4_ifndef([_LT_AC_LANG_GCJ],           [AC_DEFUN([_LT_AC_LANG_GCJ])])\r
+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])\r
+m4_ifndef([_LT_AC_LANG_C_CONFIG],      [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])\r
+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])\r
+m4_ifndef([_LT_AC_LANG_CXX_CONFIG],    [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])\r
+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])\r
+m4_ifndef([_LT_AC_LANG_F77_CONFIG],    [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])\r
+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])\r
+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],    [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])\r
+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])\r
+m4_ifndef([_LT_AC_LANG_RC_CONFIG],     [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])\r
+m4_ifndef([AC_LIBTOOL_CONFIG],         [AC_DEFUN([AC_LIBTOOL_CONFIG])])\r
+m4_ifndef([_LT_AC_FILE_LTDLL_C],       [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])\r
+m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS],        [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])\r
+m4_ifndef([_LT_AC_PROG_CXXCPP],                [AC_DEFUN([_LT_AC_PROG_CXXCPP])])\r
+m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS],        [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])\r
+m4_ifndef([_LT_PROG_ECHO_BACKSLASH],   [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])\r
+m4_ifndef([_LT_PROG_F77],              [AC_DEFUN([_LT_PROG_F77])])\r
+m4_ifndef([_LT_PROG_FC],               [AC_DEFUN([_LT_PROG_FC])])\r
+m4_ifndef([_LT_PROG_CXX],              [AC_DEFUN([_LT_PROG_CXX])])\r
+\r
+# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-\r
+# serial 1 (pkg-config-0.24)\r
+# \r
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.\r
+#\r
+# This program is free software; you can redistribute it and/or modify\r
+# it under the terms of the GNU General Public License as published by\r
+# the Free Software Foundation; either version 2 of the License, or\r
+# (at your option) any later version.\r
+#\r
+# This program is distributed in the hope that it will be useful, but\r
+# WITHOUT ANY WARRANTY; without even the implied warranty of\r
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
+# General Public License for more details.\r
+#\r
+# You should have received a copy of the GNU General Public License\r
+# along with this program; if not, write to the Free Software\r
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\r
+#\r
+# As a special exception to the GNU General Public License, if you\r
+# distribute this file as part of a program that contains a\r
+# configuration script generated by Autoconf, you may include it under\r
+# the same distribution terms that you use for the rest of that program.\r
+\r
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])\r
+# ----------------------------------\r
+AC_DEFUN([PKG_PROG_PKG_CONFIG],\r
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])\r
+m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])\r
+m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])\r
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])\r
+AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])\r
+AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])\r
+\r
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then\r
+       AC_PATH_TOOL([PKG_CONFIG], [pkg-config])\r
+fi\r
+if test -n "$PKG_CONFIG"; then\r
+       _pkg_min_version=m4_default([$1], [0.9.0])\r
+       AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])\r
+       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then\r
+               AC_MSG_RESULT([yes])\r
+       else\r
+               AC_MSG_RESULT([no])\r
+               PKG_CONFIG=""\r
+       fi\r
+fi[]dnl\r
+])# PKG_PROG_PKG_CONFIG\r
+\r
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])\r
+#\r
+# Check to see whether a particular set of modules exists.  Similar\r
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.\r
+#\r
+# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])\r
+# only at the first occurence in configure.ac, so if the first place\r
+# it's called might be skipped (such as if it is within an "if", you\r
+# have to call PKG_CHECK_EXISTS manually\r
+# --------------------------------------------------------------\r
+AC_DEFUN([PKG_CHECK_EXISTS],\r
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl\r
+if test -n "$PKG_CONFIG" && \\r
+    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then\r
+  m4_default([$2], [:])\r
+m4_ifvaln([$3], [else\r
+  $3])dnl\r
+fi])\r
+\r
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])\r
+# ---------------------------------------------\r
+m4_define([_PKG_CONFIG],\r
+[if test -n "$$1"; then\r
+    pkg_cv_[]$1="$$1"\r
+ elif test -n "$PKG_CONFIG"; then\r
+    PKG_CHECK_EXISTS([$3],\r
+                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`\r
+                     test "x$?" != "x0" && pkg_failed=yes ],\r
+                    [pkg_failed=yes])\r
+ else\r
+    pkg_failed=untried\r
+fi[]dnl\r
+])# _PKG_CONFIG\r
+\r
+# _PKG_SHORT_ERRORS_SUPPORTED\r
+# -----------------------------\r
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],\r
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])\r
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then\r
+        _pkg_short_errors_supported=yes\r
+else\r
+        _pkg_short_errors_supported=no\r
+fi[]dnl\r
+])# _PKG_SHORT_ERRORS_SUPPORTED\r
+\r
+\r
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],\r
+# [ACTION-IF-NOT-FOUND])\r
+#\r
+#\r
+# Note that if there is a possibility the first call to\r
+# PKG_CHECK_MODULES might not happen, you should be sure to include an\r
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac\r
+#\r
+#\r
+# --------------------------------------------------------------\r
+AC_DEFUN([PKG_CHECK_MODULES],\r
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl\r
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl\r
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl\r
+\r
+pkg_failed=no\r
+AC_MSG_CHECKING([for $1])\r
+\r
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])\r
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])\r
+\r
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS\r
+and $1[]_LIBS to avoid the need to call pkg-config.\r
+See the pkg-config man page for more details.])\r
+\r
+if test $pkg_failed = yes; then\r
+       AC_MSG_RESULT([no])\r
+        _PKG_SHORT_ERRORS_SUPPORTED\r
+        if test $_pkg_short_errors_supported = yes; then\r
+               $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`\r
+        else \r
+               $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`\r
+        fi\r
+       # Put the nasty error message in config.log where it belongs\r
+       echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD\r
+\r
+       m4_default([$4], [AC_MSG_ERROR(\r
+[Package requirements ($2) were not met:\r
+\r
+$$1_PKG_ERRORS\r
+\r
+Consider adjusting the PKG_CONFIG_PATH environment variable if you\r
+installed software in a non-standard prefix.\r
+\r
+_PKG_TEXT])[]dnl\r
+        ])\r
+elif test $pkg_failed = untried; then\r
+       AC_MSG_RESULT([no])\r
+       m4_default([$4], [AC_MSG_FAILURE(\r
+[The pkg-config script could not be found or is too old.  Make sure it\r
+is in your PATH or set the PKG_CONFIG environment variable to the full\r
+path to pkg-config.\r
+\r
+_PKG_TEXT\r
+\r
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl\r
+        ])\r
+else\r
+       $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS\r
+       $1[]_LIBS=$pkg_cv_[]$1[]_LIBS\r
+        AC_MSG_RESULT([yes])\r
+       $3\r
+fi[]dnl\r
+])# PKG_CHECK_MODULES\r
+\r
diff --git a/fdmdv2/portaudio-msdx-dll/bin-stamp b/fdmdv2/portaudio-msdx-dll/bin-stamp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/fdmdv2/portaudio-msdx-dll/bin/.gitignore b/fdmdv2/portaudio-msdx-dll/bin/.gitignore
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/fdmdv2/portaudio-msdx-dll/bin/pa_devs.exe b/fdmdv2/portaudio-msdx-dll/bin/pa_devs.exe
new file mode 100644 (file)
index 0000000..6b19804
Binary files /dev/null and b/fdmdv2/portaudio-msdx-dll/bin/pa_devs.exe differ
diff --git a/fdmdv2/portaudio-msdx-dll/bin/pa_fuzz.exe b/fdmdv2/portaudio-msdx-dll/bin/pa_fuzz.exe
new file mode 100644 (file)
index 0000000..60bc8bf
Binary files /dev/null and b/fdmdv2/portaudio-msdx-dll/bin/pa_fuzz.exe differ
diff --git a/fdmdv2/portaudio-msdx-dll/bin/paqa_devs.exe b/fdmdv2/portaudio-msdx-dll/bin/paqa_devs.exe
new file mode 100644 (file)
index 0000000..910aee7
Binary files /dev/null and b/fdmdv2/portaudio-msdx-dll/bin/paqa_devs.exe differ
diff --git a/fdmdv2/portaudio-msdx-dll/bindings/cpp/SConscript b/fdmdv2/portaudio-msdx-dll/bindings/cpp/SConscript
new file mode 100644 (file)
index 0000000..e69b93a
--- /dev/null
@@ -0,0 +1,65 @@
+import os.path
+
+Import("env", "buildDir")
+env.Append(CPPPATH="include")
+
+ApiVer = "0.0.12"
+Major, Minor, Micro = [int(c) for c in ApiVer.split(".")]
+
+sharedLibs = []
+staticLibs = []
+Import("Platform", "Posix")
+if Platform in Posix:
+    env["SHLIBSUFFIX"] = ".so.%d.%d.%d" % (Major, Minor, Micro)
+    soFile = "libportaudiocpp.so"
+    if Platform != 'darwin':
+        env.AppendUnique(SHLINKFLAGS="-Wl,-soname=%s.%d" % (soFile, Major))
+
+    # Create symlinks
+    def symlink(env, target, source):
+        trgt = str(target[0])
+        src = str(source[0])
+        if os.path.islink(trgt) or os.path.exists(trgt):
+            os.remove(trgt)
+        os.symlink(os.path.basename(src), trgt)
+    lnk0 = env.Command(soFile + ".%d" % (Major), soFile + ".%d.%d.%d" % (Major, Minor, Micro), symlink)
+    lnk1 = env.Command(soFile, soFile + ".%d" % (Major), symlink)
+    sharedLibs.append(lnk0)
+    sharedLibs.append(lnk1)
+
+src = [os.path.join("source", "portaudiocpp", "%s.cxx" % f) for f in ("BlockingStream", "CallbackInterface", \
+    "CallbackStream", "CFunCallbackStream","CppFunCallbackStream", "Device",
+    "DirectionSpecificStreamParameters", "Exception", "HostApi", "InterfaceCallbackStream",
+    "MemFunCallbackStream", "Stream", "StreamParameters", "System", "SystemDeviceIterator",
+    "SystemHostApiIterator")]
+env.Append(LIBS="portaudio", LIBPATH=buildDir)
+sharedLib = env.SharedLibrary("portaudiocpp", src, LIBS=["portaudio"])
+staticLib = env.Library("portaudiocpp", src, LIBS=["portaudio"])
+sharedLibs.append(sharedLib)
+staticLibs.append(staticLib)
+
+headers = Split("""AutoSystem.hxx                         
+                   BlockingStream.hxx                     
+                   CallbackInterface.hxx                  
+                   CallbackStream.hxx
+                   CFunCallbackStream.hxx                 
+                   CppFunCallbackStream.hxx               
+                   Device.hxx                             
+                   DirectionSpecificStreamParameters.hxx  
+                   Exception.hxx                           
+                   HostApi.hxx
+                   InterfaceCallbackStream.hxx
+                   MemFunCallbackStream.hxx
+                   PortAudioCpp.hxx
+                   SampleDataFormat.hxx
+                   Stream.hxx
+                   StreamParameters.hxx
+                   SystemDeviceIterator.hxx
+                   SystemHostApiIterator.hxx
+                   System.hxx
+                   """)
+if env["PLATFORM"] == "win32":
+    headers.append("AsioDeviceAdapter.hxx") 
+headers = [File(os.path.join("include", "portaudiocpp", h)) for h in headers]
+
+Return("sharedLibs", "staticLibs", "headers")
diff --git a/fdmdv2/portaudio-msdx-dll/pablio/test_w_saw8.c b/fdmdv2/portaudio-msdx-dll/pablio/test_w_saw8.c
new file mode 100644 (file)
index 0000000..133c7f3
--- /dev/null
@@ -0,0 +1,112 @@
+/*\r
+ * $Id: test_w_saw8.c 1083 2006-08-23 07:30:49Z rossb $\r
+ * test_w_saw8.c\r
+ * Generate stereo 8 bit sawtooth waveforms.\r
+ *\r
+ * Author: Phil Burk, http://www.softsynth.com\r
+ *\r
+ * This program uses PABLIO, the Portable Audio Blocking I/O Library.\r
+ * PABLIO is built on top of PortAudio, the Portable Audio Library.\r
+ *\r
+ * For more information see: http://www.portaudio.com\r
+ * Copyright (c) 1999-2000 Ross Bencina and Phil Burk\r
+ *\r
+ * Permission is hereby granted, free of charge, to any person obtaining\r
+ * a copy of this software and associated documentation files\r
+ * (the "Software"), to deal in the Software without restriction,\r
+ * including without limitation the rights to use, copy, modify, merge,\r
+ * publish, distribute, sublicense, and/or sell copies of the Software,\r
+ * and to permit persons to whom the Software is furnished to do so,\r
+ * subject to the following conditions:\r
+ *\r
+ * The above copyright notice and this permission notice shall be\r
+ * included in all copies or substantial portions of the Software.\r
+ *\r
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\r
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR\r
+ * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF\r
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+ */\r
+\r
+/*\r
+ * The text above constitutes the entire PortAudio license; however, \r
+ * the PortAudio community also makes the following non-binding requests:\r
+ *\r
+ * Any person wishing to distribute modifications to the Software is\r
+ * requested to send the modifications to the original developer so that\r
+ * they can be incorporated into the canonical version. It is also \r
+ * requested that these non-binding requests be included along with the \r
+ * license above.\r
+ */\r
+\r
+#include <stdio.h>\r
+#include <stdlib.h>\r
+#include <math.h>\r
+#include "pablio.h"\r
+#include <string.h>\r
+\r
+#define SAMPLE_RATE         (22050)\r
+#define NUM_SECONDS             (6)\r
+#define SAMPLES_PER_FRAME       (2)\r
+\r
+\r
+#define FRAMES_PER_BLOCK    (100)\r
+\r
+unsigned char   samples[FRAMES_PER_BLOCK][SAMPLES_PER_FRAME];\r
+unsigned char   phases[SAMPLES_PER_FRAME];\r
+\r
+/*******************************************************************/\r
+int main(void);\r
+int main(void)\r
+{\r
+    int             i,j;\r
+    PaError         err;\r
+    PABLIO_Stream  *aOutStream;\r
+\r
+    printf("Generate unsigned 8 bit sawtooth waves using PABLIO.\n");\r
+    fflush(stdout);\r
+\r
+    /* Open simplified blocking I/O layer on top of PortAudio. */\r
+    err = OpenAudioStream( &aOutStream, SAMPLE_RATE, paUInt8,\r
+                           (PABLIO_WRITE | PABLIO_STEREO) );\r
+    if( err != paNoError ) goto error;\r
+\r
+    /* Initialize oscillator phases to "ground" level for paUInt8. */\r
+    phases[0] = 128;\r
+    phases[1] = 128;\r
+\r
+    for( i=0; i<(NUM_SECONDS * SAMPLE_RATE); i += FRAMES_PER_BLOCK )\r
+    {\r
+        /* Generate sawtooth waveforms in a block for efficiency. */\r
+        for( j=0; j<FRAMES_PER_BLOCK; j++ )\r
+        {\r
+            /* Generate a sawtooth wave by incrementing a variable. */\r
+            phases[0] += 1;\r
+            /* We don't have to do anything special to wrap when using paUint8 because\r
+             * 8 bit arithmetic automatically wraps. */\r
+            samples[j][0] = phases[0];\r
+\r
+            /* On the second channel, generate a higher sawtooth wave. */\r
+            phases[1] += 3;\r
+            samples[j][1] = phases[1];\r
+        }\r
+\r
+        /* Write samples to output. */\r
+        WriteAudioStream( aOutStream, samples, FRAMES_PER_BLOCK );\r
+    }\r
+\r
+    CloseAudioStream( aOutStream );\r
+\r
+    printf("Sawtooth sound test complete.\n" );\r
+    fflush(stdout);\r
+    return 0;\r
+\r
+error:\r
+    fprintf( stderr, "An error occured while using PABLIO\n" );\r
+    fprintf( stderr, "Error number: %d\n", err );\r
+    fprintf( stderr, "Error message: %s\n", Pa_GetErrorText( err ) );\r
+    return -1;\r
+}\r