Ignore:
Timestamp:
09/17/16 18:59:54 (8 years ago)
Author:
tbretz
Message:
Upadted the build system from a current Ubuntu 16.04 -- let's see if it works on older systems as well.
Location:
trunk/FACT++/.macro_dir
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/.macro_dir/libtool.m4

    r12832 r18603  
    11# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
    22#
    3 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    4 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
    5 #                 Inc.
     3#   Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
    64#   Written by Gordon Matzigkeit, 1996
    75#
     
    119
    1210m4_define([_LT_COPYING], [dnl
    13 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    14 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
    15 #                 Inc.
    16 #   Written by Gordon Matzigkeit, 1996
     11# Copyright (C) 2014 Free Software Foundation, Inc.
     12# This is free software; see the source for copying conditions.  There is NO
     13# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     14
     15# GNU Libtool is free software; you can redistribute it and/or modify
     16# it under the terms of the GNU General Public License as published by
     17# the Free Software Foundation; either version 2 of of the License, or
     18# (at your option) any later version.
    1719#
    18 #   This file is part of GNU Libtool.
     20# As a special exception to the GNU General Public License, if you
     21# distribute this file as part of a program or library that is built
     22# using GNU Libtool, you may include this file under the  same
     23# distribution terms that you use for the rest of that program.
    1924#
    20 # GNU Libtool is free software; you can redistribute it and/or
    21 # modify it under the terms of the GNU General Public License as
    22 # published by the Free Software Foundation; either version 2 of
    23 # the License, or (at your option) any later version.
    24 #
    25 # As a special exception to the GNU General Public License,
    26 # if you distribute this file as part of a program or library that
    27 # is built using GNU Libtool, you may include this file under the
    28 # same distribution terms that you use for the rest of that program.
    29 #
    30 # GNU Libtool is distributed in the hope that it will be useful,
    31 # but WITHOUT ANY WARRANTY; without even the implied warranty of
     25# GNU Libtool is distributed in the hope that it will be useful, but
     26# WITHOUT ANY WARRANTY; without even the implied warranty of
    3227# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    3328# GNU General Public License for more details.
    3429#
    3530# You should have received a copy of the GNU General Public License
    36 # along with GNU Libtool; see the file COPYING.  If not, a copy
    37 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
    38 # obtained by writing to the Free Software Foundation, Inc.,
    39 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
     31# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    4032])
    4133
    42 # serial 57 LT_INIT
     34# serial 58 LT_INIT
    4335
    4436
     
    6860# ------------------
    6961AC_DEFUN([LT_INIT],
    70 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
     62[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
    7163AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
    7264AC_BEFORE([$0], [LT_LANG])dnl
     
    9284
    9385# This can be used to rebuild libtool when needed
    94 LIBTOOL_DEPS="$ltmain"
     86LIBTOOL_DEPS=$ltmain
    9587
    9688# Always use our own libtool.
     
    112104
    113105
     106# _LT_PREPARE_CC_BASENAME
     107# -----------------------
     108m4_defun([_LT_PREPARE_CC_BASENAME], [
     109# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     110func_cc_basename ()
     111{
     112    for cc_temp in @S|@*""; do
     113      case $cc_temp in
     114        compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
     115        distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
     116        \-*) ;;
     117        *) break;;
     118      esac
     119    done
     120    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     121}
     122])# _LT_PREPARE_CC_BASENAME
     123
     124
    114125# _LT_CC_BASENAME(CC)
    115126# -------------------
    116 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     127# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
     128# but that macro is also expanded into generated libtool script, which
     129# arranges for $SED and $ECHO to be set by different means.
    117130m4_defun([_LT_CC_BASENAME],
    118 [for cc_temp in $1""; do
    119   case $cc_temp in
    120     compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
    121     distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
    122     \-*) ;;
    123     *) break;;
    124   esac
    125 done
    126 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     131[m4_require([_LT_PREPARE_CC_BASENAME])dnl
     132AC_REQUIRE([_LT_DECL_SED])dnl
     133AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
     134func_cc_basename $1
     135cc_basename=$func_cc_basename_result
    127136])
    128137
     
    131140# ----------------------
    132141# It is okay to use these file commands and assume they have been set
    133 # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
     142# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
    134143m4_defun([_LT_FILEUTILS_DEFAULTS],
    135144[: ${CP="cp -f"}
     
    147156AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
    148157
     158_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
     159dnl
    149160_LT_DECL([], [host_alias], [0], [The host system])dnl
    150161_LT_DECL([], [host], [0])dnl
     
    176187m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
    177188m4_require([_LT_WITH_SYSROOT])dnl
     189m4_require([_LT_CMD_TRUNCATE])dnl
    178190
    179191_LT_CONFIG_LIBTOOL_INIT([
    180 # See if we are running on zsh, and set the options which allow our
     192# See if we are running on zsh, and set the options that allow our
    181193# commands through without removal of \ escapes INIT.
    182 if test -n "\${ZSH_VERSION+set}" ; then
     194if test -n "\${ZSH_VERSION+set}"; then
    183195   setopt NO_GLOB_SUBST
    184196fi
    185197])
    186 if test -n "${ZSH_VERSION+set}" ; then
     198if test -n "${ZSH_VERSION+set}"; then
    187199   setopt NO_GLOB_SUBST
    188200fi
     
    197209  # reason, if we set the COLLECT_NAMES environment variable, the problems
    198210  # vanish in a puff of smoke.
    199   if test "X${COLLECT_NAMES+set}" != Xset; then
     211  if test set != "${COLLECT_NAMES+set}"; then
    200212    COLLECT_NAMES=
    201213    export COLLECT_NAMES
     
    208220can_build_shared=yes
    209221
    210 # All known linkers require a `.a' archive for static linking (except MSVC,
     222# All known linkers require a '.a' archive for static linking (except MSVC,
    211223# which needs '.lib').
    212224libext=a
    213225
    214 with_gnu_ld="$lt_cv_prog_gnu_ld"
    215 
    216 old_CC="$CC"
    217 old_CFLAGS="$CFLAGS"
     226with_gnu_ld=$lt_cv_prog_gnu_ld
     227
     228old_CC=$CC
     229old_CFLAGS=$CFLAGS
    218230
    219231# Set sane defaults for various variables
     
    268280# _LT_PROG_LTMAIN
    269281# ---------------
    270 # Note that this code is called both from `configure', and `config.status'
     282# Note that this code is called both from 'configure', and 'config.status'
    271283# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
    272 # `config.status' has no value for ac_aux_dir unless we are using Automake,
     284# 'config.status' has no value for ac_aux_dir unless we are using Automake,
    273285# so we pass a copy along to make sure it has a sensible value anyway.
    274286m4_defun([_LT_PROG_LTMAIN],
    275287[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
    276288_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
    277 ltmain="$ac_aux_dir/ltmain.sh"
     289ltmain=$ac_aux_dir/ltmain.sh
    278290])# _LT_PROG_LTMAIN
    279291
     
    285297# So that we can recreate a full libtool script including additional
    286298# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
    287 # in macros and then make a single call at the end using the `libtool'
     299# in macros and then make a single call at the end using the 'libtool'
    288300# label.
    289301
     
    420432# _LT_CONFIG_STATUS_DECLARE([VARNAME])
    421433# ------------------------------------
    422 # Quote a variable value, and forward it to `config.status' so that its
    423 # declaration there will have the same value as in `configure'.  VARNAME
     434# Quote a variable value, and forward it to 'config.status' so that its
     435# declaration there will have the same value as in 'configure'.  VARNAME
    424436# must have a single quote delimited value for this to work.
    425437m4_define([_LT_CONFIG_STATUS_DECLARE],
     
    445457m4_defun([_LT_LIBTOOL_TAGS],
    446458[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
    447 available_tags="_LT_TAGS"dnl
     459available_tags='_LT_TAGS'dnl
    448460])
    449461
     
    473485# -----------------------
    474486# Produce commented declarations of non-tagged libtool config variables
    475 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
     487# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
    476488# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
    477489# section) are produced by _LT_LIBTOOL_TAG_VARS.
     
    499511# variables for single and double quote escaping we saved from calls
    500512# to _LT_DECL, we can put quote escaped variables declarations
    501 # into `config.status', and then the shell code to quote escape them in
    502 # for loops in `config.status'.  Finally, any additional code accumulated
     513# into 'config.status', and then the shell code to quote escape them in
     514# for loops in 'config.status'.  Finally, any additional code accumulated
    503515# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
    504516m4_defun([_LT_CONFIG_COMMANDS],
     
    546558    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    547559    *[[\\\\\\\`\\"\\\$]]*)
    548       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
     560      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    549561      ;;
    550562    *)
     
    559571    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    560572    *[[\\\\\\\`\\"\\\$]]*)
    561       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
     573      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    562574      ;;
    563575    *)
     
    575587# reuse the environment learned by the parent script, and make the
    576588# file executable.  If COMMENT is supplied, it is inserted after the
    577 # `#!' sequence but before initialization text begins.  After this
     589# '#!' sequence but before initialization text begins.  After this
    578590# macro, additional text can be appended to FILE to form the body of
    579591# the child script.  The macro ends with non-zero status if the
     
    597609exec AS_MESSAGE_FD>&1
    598610_ASEOF
    599 test $lt_write_fail = 0 && chmod +x $1[]dnl
     611test 0 = "$lt_write_fail" && chmod +x $1[]dnl
    600612m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
    601613
     
    620632
    621633lt_cl_help="\
    622 \`$as_me' creates a local libtool stub from the current configuration,
     634'$as_me' creates a local libtool stub from the current configuration,
    623635for use in further configure time tests before the real libtool is
    624636generated.
     
    638650configured by $[0], generated by m4_PACKAGE_STRING.
    639651
    640 Copyright (C) 2010 Free Software Foundation, Inc.
     652Copyright (C) 2011 Free Software Foundation, Inc.
    641653This config.lt script is free software; the Free Software Foundation
    642654gives unlimited permision to copy, distribute and modify it."
    643655
    644 while test $[#] != 0
     656while test 0 != $[#]
    645657do
    646658  case $[1] in
     
    655667
    656668    -*) AC_MSG_ERROR([unrecognized option: $[1]
    657 Try \`$[0] --help' for more information.]) ;;
     669Try '$[0] --help' for more information.]) ;;
    658670
    659671    *) AC_MSG_ERROR([unrecognized argument: $[1]
    660 Try \`$[0] --help' for more information.]) ;;
     672Try '$[0] --help' for more information.]) ;;
    661673  esac
    662674  shift
     
    684696# config.log, so it can be properly (re)opened and appended to by config.lt.
    685697lt_cl_success=:
    686 test "$silent" = yes &&
     698test yes = "$silent" &&
    687699  lt_config_lt_args="$lt_config_lt_args --quiet"
    688700exec AS_MESSAGE_LOG_FD>/dev/null
     
    704716  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
    705717  m4_if(_LT_TAG, [C], [
    706     # See if we are running on zsh, and set the options which allow our
     718    # See if we are running on zsh, and set the options that allow our
    707719    # commands through without removal of \ escapes.
    708     if test -n "${ZSH_VERSION+set}" ; then
     720    if test -n "${ZSH_VERSION+set}"; then
    709721      setopt NO_GLOB_SUBST
    710722    fi
    711723
    712     cfgfile="${ofile}T"
     724    cfgfile=${ofile}T
    713725    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
    714726    $RM "$cfgfile"
     
    716728    cat <<_LT_EOF >> "$cfgfile"
    717729#! $SHELL
    718 
    719 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
    720 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
     730# Generated automatically by $as_me ($PACKAGE) $VERSION
    721731# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    722732# NOTE: Changes made to this file will be lost: look at ltmain.sh.
    723 #
     733
     734# Provide generalized library-building support services.
     735# Written by Gordon Matzigkeit, 1996
     736
    724737_LT_COPYING
    725738_LT_LIBTOOL_TAGS
     739
     740# Configured defaults for sys_lib_dlsearch_path munging.
     741: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
    726742
    727743# ### BEGIN LIBTOOL CONFIG
     
    729745_LT_LIBTOOL_TAG_VARS
    730746# ### END LIBTOOL CONFIG
     747
     748_LT_EOF
     749
     750    cat <<'_LT_EOF' >> "$cfgfile"
     751
     752# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
     753
     754_LT_PREPARE_MUNGE_PATH_LIST
     755_LT_PREPARE_CC_BASENAME
     756
     757# ### END FUNCTIONS SHARED WITH CONFIGURE
    731758
    732759_LT_EOF
     
    738765# reason, if we set the COLLECT_NAMES environment variable, the problems
    739766# vanish in a puff of smoke.
    740 if test "X${COLLECT_NAMES+set}" != Xset; then
     767if test set != "${COLLECT_NAMES+set}"; then
    741768  COLLECT_NAMES=
    742769  export COLLECT_NAMES
     
    754781  sed '$q' "$ltmain" >> "$cfgfile" \
    755782     || (rm -f "$cfgfile"; exit 1)
    756 
    757   _LT_PROG_REPLACE_SHELLFNS
    758783
    759784   mv -f "$cfgfile" "$ofile" ||
     
    774799    PACKAGE='$PACKAGE'
    775800    VERSION='$VERSION'
    776     TIMESTAMP='$TIMESTAMP'
    777801    RM='$RM'
    778802    ofile='$ofile'], [])
     
    802826  [C],                  [_LT_LANG(C)],
    803827  [C++],                [_LT_LANG(CXX)],
     828  [Go],                 [_LT_LANG(GO)],
    804829  [Java],               [_LT_LANG(GCJ)],
    805830  [Fortran 77],         [_LT_LANG(F77)],
     
    821846  _LT_LANG_$1_CONFIG($1)])dnl
    822847])# _LT_LANG
     848
     849
     850m4_ifndef([AC_PROG_GO], [
     851############################################################
     852# NOTE: This macro has been submitted for inclusion into   #
     853#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
     854#  a released version of Autoconf we should remove this    #
     855#  macro and use it instead.                               #
     856############################################################
     857m4_defun([AC_PROG_GO],
     858[AC_LANG_PUSH(Go)dnl
     859AC_ARG_VAR([GOC],     [Go compiler command])dnl
     860AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
     861_AC_ARG_VAR_LDFLAGS()dnl
     862AC_CHECK_TOOL(GOC, gccgo)
     863if test -z "$GOC"; then
     864  if test -n "$ac_tool_prefix"; then
     865    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
     866  fi
     867fi
     868if test -z "$GOC"; then
     869  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
     870fi
     871])#m4_defun
     872])#m4_ifndef
    823873
    824874
     
    852902       m4_ifdef([LT_PROG_GCJ],
    853903        [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
     904
     905AC_PROVIDE_IFELSE([AC_PROG_GO],
     906  [LT_LANG(GO)],
     907  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
    854908
    855909AC_PROVIDE_IFELSE([LT_PROG_RC],
     
    943997    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
    944998      [lt_cv_apple_cc_single_mod=no
    945       if test -z "${LT_MULTI_MODULE}"; then
     999      if test -z "$LT_MULTI_MODULE"; then
    9461000        # By default we will add the -single_module flag. You can override
    9471001        # by either setting the environment variable LT_MULTI_MODULE
     
    9551009          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
    9561010        _lt_result=$?
    957         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
     1011        # If there is a non-empty error log, and "single_module"
     1012        # appears in it, assume the flag caused a linker warning
     1013        if test -s conftest.err && $GREP single_module conftest.err; then
     1014          cat conftest.err >&AS_MESSAGE_LOG_FD
     1015        # Otherwise, if the output was created with a 0 exit code from
     1016        # the compiler, it worked.
     1017        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
    9581018          lt_cv_apple_cc_single_mod=yes
    9591019        else
     
    9631023        rm -f conftest.*
    9641024      fi])
     1025
    9651026    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
    9661027      [lt_cv_ld_exported_symbols_list],
     
    9721033        [lt_cv_ld_exported_symbols_list=yes],
    9731034        [lt_cv_ld_exported_symbols_list=no])
    974         LDFLAGS="$save_LDFLAGS"
     1035        LDFLAGS=$save_LDFLAGS
    9751036    ])
     1037
    9761038    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
    9771039      [lt_cv_ld_force_load=no
     
    9911053      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
    9921054      _lt_result=$?
    993       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
     1055      if test -s conftest.err && $GREP force_load conftest.err; then
     1056        cat conftest.err >&AS_MESSAGE_LOG_FD
     1057      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
    9941058        lt_cv_ld_force_load=yes
    9951059      else
     
    10011065    case $host_os in
    10021066    rhapsody* | darwin1.[[012]])
    1003       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
     1067      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
    10041068    darwin1.*)
    1005       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     1069      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    10061070    darwin*) # darwin 5.x on
    10071071      # if running on 10.5 or later, the deployment target defaults
     
    10101074      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
    10111075        10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
    1012           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
    1013         10.[[012]]*)
    1014           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     1076          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     1077        10.[[012]][[,.]]*)
     1078          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    10151079        10.*)
    1016           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     1080          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    10171081      esac
    10181082    ;;
    10191083  esac
    1020     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
     1084    if test yes = "$lt_cv_apple_cc_single_mod"; then
    10211085      _lt_dar_single_mod='$single_module'
    10221086    fi
    1023     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
    1024       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
     1087    if test yes = "$lt_cv_ld_exported_symbols_list"; then
     1088      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
    10251089    else
    1026       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
     1090      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
    10271091    fi
    1028     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
     1092    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
    10291093      _lt_dsymutil='~$DSYMUTIL $lib || :'
    10301094    else
     
    10361100
    10371101
    1038 # _LT_DARWIN_LINKER_FEATURES
    1039 # --------------------------
     1102# _LT_DARWIN_LINKER_FEATURES([TAG])
     1103# ---------------------------------
    10401104# Checks for linker and compiler features on darwin
    10411105m4_defun([_LT_DARWIN_LINKER_FEATURES],
     
    10461110  _LT_TAGVAR(hardcode_automatic, $1)=yes
    10471111  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
    1048   if test "$lt_cv_ld_force_load" = "yes"; then
    1049     _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\"`'
     1112  if test yes = "$lt_cv_ld_force_load"; then
     1113    _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\"`'
     1114    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
     1115                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
    10501116  else
    10511117    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
    10521118  fi
    10531119  _LT_TAGVAR(link_all_deplibs, $1)=yes
    1054   _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
     1120  _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
    10551121  case $cc_basename in
    1056      ifort*) _lt_dar_can_shared=yes ;;
     1122     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
    10571123     *) _lt_dar_can_shared=$GCC ;;
    10581124  esac
    1059   if test "$_lt_dar_can_shared" = "yes"; then
     1125  if test yes = "$_lt_dar_can_shared"; then
    10601126    output_verbose_link_cmd=func_echo_all
    1061     _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}"
    1062     _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
    1063     _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}"
    1064     _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}"
     1127    _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"
     1128    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
     1129    _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"
     1130    _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"
    10651131    m4_if([$1], [CXX],
    1066 [   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
    1067       _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}"
    1068       _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}"
     1132[   if test yes != "$lt_cv_apple_cc_single_mod"; then
     1133      _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"
     1134      _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"
    10691135    fi
    10701136],[])
     
    10861152m4_defun([_LT_SYS_MODULE_PATH_AIX],
    10871153[m4_require([_LT_DECL_SED])dnl
    1088 if test "${lt_cv_aix_libpath+set}" = set; then
     1154if test set = "${lt_cv_aix_libpath+set}"; then
    10891155  aix_libpath=$lt_cv_aix_libpath
    10901156else
     
    11041170  fi],[])
    11051171  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
    1106     _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
     1172    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
    11071173  fi
    11081174  ])
     
    11241190# Find how we can fake an echo command that does not interpret backslash.
    11251191# In particular, with Autoconf 2.60 or later we add some code to the start
    1126 # of the generated configure script which will find a shell with a builtin
    1127 # printf (which we can use as an echo command).
     1192# of the generated configure script that will find a shell with a builtin
     1193# printf (that we can use as an echo command).
    11281194m4_defun([_LT_PROG_ECHO_BACKSLASH],
    11291195[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     
    11531219func_echo_all ()
    11541220{
    1155     $ECHO "$*" 
     1221    $ECHO "$*"
    11561222}
    11571223
    1158 case "$ECHO" in
     1224case $ECHO in
    11591225  printf*) AC_MSG_RESULT([printf]) ;;
    11601226  print*) AC_MSG_RESULT([print -r]) ;;
     
    11821248[AC_MSG_CHECKING([for sysroot])
    11831249AC_ARG_WITH([sysroot],
    1184 [  --with-sysroot[=DIR] Search for dependent libraries within DIR
    1185                         (or the compiler's sysroot if not specified).],
     1250[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
     1251  [Search for dependent libraries within DIR (or the compiler's sysroot
     1252   if not specified).])],
    11861253[], [with_sysroot=no])
    11871254
     
    11891256dnl in case the user passed a directory name.
    11901257lt_sysroot=
    1191 case ${with_sysroot} in #(
     1258case $with_sysroot in #(
    11921259 yes)
    1193    if test "$GCC" = yes; then
     1260   if test yes = "$GCC"; then
    11941261     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
    11951262   fi
     
    12011268   ;; #(
    12021269 *)
    1203    AC_MSG_RESULT([${with_sysroot}])
     1270   AC_MSG_RESULT([$with_sysroot])
    12041271   AC_MSG_ERROR([The sysroot must be an absolute path.])
    12051272   ;;
     
    12081275 AC_MSG_RESULT([${lt_sysroot:-no}])
    12091276_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
    1210 [dependent libraries, and in which our libraries should be installed.])])
     1277[dependent libraries, and where our libraries should be installed.])])
    12111278
    12121279# _LT_ENABLE_LOCK
     
    12161283  [AS_HELP_STRING([--disable-libtool-lock],
    12171284    [avoid locking (might break parallel builds)])])
    1218 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
     1285test no = "$enable_libtool_lock" || enable_libtool_lock=yes
    12191286
    12201287# Some flags need to be propagated to the compiler or linker for good
     
    12221289case $host in
    12231290ia64-*-hpux*)
    1224   # Find out which ABI we are using.
     1291  # Find out what ABI is being produced by ac_compile, and set mode
     1292  # options accordingly.
    12251293  echo 'int i;' > conftest.$ac_ext
    12261294  if AC_TRY_EVAL(ac_compile); then
    12271295    case `/usr/bin/file conftest.$ac_objext` in
    12281296      *ELF-32*)
    1229         HPUX_IA64_MODE="32"
     1297        HPUX_IA64_MODE=32
    12301298        ;;
    12311299      *ELF-64*)
    1232         HPUX_IA64_MODE="64"
     1300        HPUX_IA64_MODE=64
    12331301        ;;
    12341302    esac
     
    12371305  ;;
    12381306*-*-irix6*)
    1239   # Find out which ABI we are using.
     1307  # Find out what ABI is being produced by ac_compile, and set linker
     1308  # options accordingly.
    12401309  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
    12411310  if AC_TRY_EVAL(ac_compile); then
    1242     if test "$lt_cv_prog_gnu_ld" = yes; then
     1311    if test yes = "$lt_cv_prog_gnu_ld"; then
    12431312      case `/usr/bin/file conftest.$ac_objext` in
    12441313        *32-bit*)
     
    12691338  ;;
    12701339
    1271 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
     1340mips64*-*linux*)
     1341  # Find out what ABI is being produced by ac_compile, and set linker
     1342  # options accordingly.
     1343  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
     1344  if AC_TRY_EVAL(ac_compile); then
     1345    emul=elf
     1346    case `/usr/bin/file conftest.$ac_objext` in
     1347      *32-bit*)
     1348        emul="${emul}32"
     1349        ;;
     1350      *64-bit*)
     1351        emul="${emul}64"
     1352        ;;
     1353    esac
     1354    case `/usr/bin/file conftest.$ac_objext` in
     1355      *MSB*)
     1356        emul="${emul}btsmip"
     1357        ;;
     1358      *LSB*)
     1359        emul="${emul}ltsmip"
     1360        ;;
     1361    esac
     1362    case `/usr/bin/file conftest.$ac_objext` in
     1363      *N32*)
     1364        emul="${emul}n32"
     1365        ;;
     1366    esac
     1367    LD="${LD-ld} -m $emul"
     1368  fi
     1369  rm -rf conftest*
     1370  ;;
     1371
     1372x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
    12721373s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
    1273   # Find out which ABI we are using.
     1374  # Find out what ABI is being produced by ac_compile, and set linker
     1375  # options accordingly.  Note that the listed cases only cover the
     1376  # situations where additional linker options are needed (such as when
     1377  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
     1378  # vice versa); the common cases where no linker options are needed do
     1379  # not appear in the list.
    12741380  echo 'int i;' > conftest.$ac_ext
    12751381  if AC_TRY_EVAL(ac_compile); then
     
    12811387            ;;
    12821388          x86_64-*linux*)
    1283             LD="${LD-ld} -m elf_i386"
     1389            case `/usr/bin/file conftest.o` in
     1390              *x86-64*)
     1391                LD="${LD-ld} -m elf32_x86_64"
     1392                ;;
     1393              *)
     1394                LD="${LD-ld} -m elf_i386"
     1395                ;;
     1396            esac
    12841397            ;;
    1285           ppc64-*linux*|powerpc64-*linux*)
     1398          powerpc64le-*linux*)
     1399            LD="${LD-ld} -m elf32lppclinux"
     1400            ;;
     1401          powerpc64-*linux*)
    12861402            LD="${LD-ld} -m elf32ppclinux"
    12871403            ;;
     
    13021418            LD="${LD-ld} -m elf_x86_64"
    13031419            ;;
    1304           ppc*-*linux*|powerpc*-*linux*)
     1420          powerpcle-*linux*)
     1421            LD="${LD-ld} -m elf64lppc"
     1422            ;;
     1423          powerpc-*linux*)
    13051424            LD="${LD-ld} -m elf64ppc"
    13061425            ;;
     
    13201439*-*-sco3.2v5*)
    13211440  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    1322   SAVE_CFLAGS="$CFLAGS"
     1441  SAVE_CFLAGS=$CFLAGS
    13231442  CFLAGS="$CFLAGS -belf"
    13241443  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
     
    13261445     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
    13271446     AC_LANG_POP])
    1328   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
     1447  if test yes != "$lt_cv_cc_needs_belf"; then
    13291448    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    1330     CFLAGS="$SAVE_CFLAGS"
     1449    CFLAGS=$SAVE_CFLAGS
    13311450  fi
    13321451  ;;
    1333 sparc*-*solaris*)
    1334   # Find out which ABI we are using.
     1452*-*solaris*)
     1453  # Find out what ABI is being produced by ac_compile, and set linker
     1454  # options accordingly.
    13351455  echo 'int i;' > conftest.$ac_ext
    13361456  if AC_TRY_EVAL(ac_compile); then
     
    13381458    *64-bit*)
    13391459      case $lt_cv_prog_gnu_ld in
    1340       yes*) LD="${LD-ld} -m elf64_sparc" ;;
     1460      yes*)
     1461        case $host in
     1462        i?86-*-solaris*|x86_64-*-solaris*)
     1463          LD="${LD-ld} -m elf_x86_64"
     1464          ;;
     1465        sparc*-*-solaris*)
     1466          LD="${LD-ld} -m elf64_sparc"
     1467          ;;
     1468        esac
     1469        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
     1470        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
     1471          LD=${LD-ld}_sol2
     1472        fi
     1473        ;;
    13411474      *)
    13421475        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
     
    13521485esac
    13531486
    1354 need_locks="$enable_libtool_lock"
     1487need_locks=$enable_libtool_lock
    13551488])# _LT_ENABLE_LOCK
    13561489
     
    13711504      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
    13721505      AC_TRY_EVAL([lt_ar_try])
    1373       if test "$ac_status" -eq 0; then
     1506      if test 0 -eq "$ac_status"; then
    13741507        # Ensure the archiver fails upon bogus file names.
    13751508        rm -f conftest.$ac_objext libconftest.a
    13761509        AC_TRY_EVAL([lt_ar_try])
    1377         if test "$ac_status" -ne 0; then
     1510        if test 0 -ne "$ac_status"; then
    13781511          lt_cv_ar_at_file=@
    13791512        fi
     
    13831516  ])
    13841517
    1385 if test "x$lt_cv_ar_at_file" = xno; then
     1518if test no = "$lt_cv_ar_at_file"; then
    13861519  archiver_list_spec=
    13871520else
     
    14141547if test -n "$RANLIB"; then
    14151548  case $host_os in
    1416   openbsd*)
    1417     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
     1549  bitrig* | openbsd*)
     1550    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
    14181551    ;;
    14191552  *)
    1420     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
     1553    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
    14211554    ;;
    14221555  esac
    1423   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
     1556  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
    14241557fi
    14251558
     
    14501583   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
    14511584   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    1452    lt_compiler_flag="$3"
     1585   lt_compiler_flag="$3"  ## exclude from sc_useless_quotes_in_assignment
    14531586   # Insert the option either (1) after the last *FLAGS variable, or
    14541587   # (2) before a word containing "conftest.", or (3) at the end.
     
    14771610])
    14781611
    1479 if test x"[$]$2" = xyes; then
     1612if test yes = "[$]$2"; then
    14801613    m4_if([$5], , :, [$5])
    14811614else
     
    14991632AC_CACHE_CHECK([$1], [$2],
    15001633  [$2=no
    1501    save_LDFLAGS="$LDFLAGS"
     1634   save_LDFLAGS=$LDFLAGS
    15021635   LDFLAGS="$LDFLAGS $3"
    15031636   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     
    15181651   fi
    15191652   $RM -r conftest*
    1520    LDFLAGS="$save_LDFLAGS"
     1653   LDFLAGS=$save_LDFLAGS
    15211654])
    15221655
    1523 if test x"[$]$2" = xyes; then
     1656if test yes = "[$]$2"; then
    15241657    m4_if([$4], , :, [$4])
    15251658else
     
    15421675AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
    15431676  i=0
    1544   teststring="ABCD"
     1677  teststring=ABCD
    15451678
    15461679  case $build_os in
     
    15821715    ;;
    15831716
    1584   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
     1717  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
    15851718    # This has been around since 386BSD, at least.  Likely further.
    15861719    if test -x /sbin/sysctl; then
     
    15991732    # We know the value 262144 and hardcode it with a safety zone (like BSD)
    16001733    lt_cv_sys_max_cmd_len=196608
     1734    ;;
     1735
     1736  os2*)
     1737    # The test takes a long time on OS/2.
     1738    lt_cv_sys_max_cmd_len=8192
    16011739    ;;
    16021740
     
    16271765  *)
    16281766    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
    1629     if test -n "$lt_cv_sys_max_cmd_len"; then
     1767    if test -n "$lt_cv_sys_max_cmd_len" && \
     1768       test undefined != "$lt_cv_sys_max_cmd_len"; then
    16301769      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    16311770      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     
    16331772      # Make teststring a little bigger before we do anything with it.
    16341773      # a 1K string should be a reasonable start.
    1635       for i in 1 2 3 4 5 6 7 8 ; do
     1774      for i in 1 2 3 4 5 6 7 8; do
    16361775        teststring=$teststring$teststring
    16371776      done
     
    16401779      # maximum length that is only half of the actual maximum length, but
    16411780      # we can't tell.
    1642       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
     1781      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
    16431782                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
    1644               test $i != 17 # 1/2 MB should be enough
     1783              test 17 != "$i" # 1/2 MB should be enough
    16451784      do
    16461785        i=`expr $i + 1`
     
    16581797  esac
    16591798])
    1660 if test -n $lt_cv_sys_max_cmd_len ; then
     1799if test -n "$lt_cv_sys_max_cmd_len"; then
    16611800  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
    16621801else
     
    16861825m4_defun([_LT_TRY_DLOPEN_SELF],
    16871826[m4_require([_LT_HEADER_DLFCN])dnl
    1688 if test "$cross_compiling" = yes; then :
     1827if test yes = "$cross_compiling"; then :
    16891828  [$4]
    16901829else
     
    17331872#endif
    17341873
    1735 /* When -fvisbility=hidden is used, assume the code has been annotated
     1874/* When -fvisibility=hidden is used, assume the code has been annotated
    17361875   correspondingly for the symbols needed.  */
    1737 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     1876#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    17381877int fnord () __attribute__((visibility("default")));
    17391878#endif
     
    17611900}]
    17621901_LT_EOF
    1763   if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
     1902  if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
    17641903    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
    17651904    lt_status=$?
     
    17821921AC_DEFUN([LT_SYS_DLOPEN_SELF],
    17831922[m4_require([_LT_HEADER_DLFCN])dnl
    1784 if test "x$enable_dlopen" != xyes; then
     1923if test yes != "$enable_dlopen"; then
    17851924  enable_dlopen=unknown
    17861925  enable_dlopen_self=unknown
     
    17921931  case $host_os in
    17931932  beos*)
    1794     lt_cv_dlopen="load_add_on"
     1933    lt_cv_dlopen=load_add_on
    17951934    lt_cv_dlopen_libs=
    17961935    lt_cv_dlopen_self=yes
     
    17981937
    17991938  mingw* | pw32* | cegcc*)
    1800     lt_cv_dlopen="LoadLibrary"
     1939    lt_cv_dlopen=LoadLibrary
    18011940    lt_cv_dlopen_libs=
    18021941    ;;
    18031942
    18041943  cygwin*)
    1805     lt_cv_dlopen="dlopen"
     1944    lt_cv_dlopen=dlopen
    18061945    lt_cv_dlopen_libs=
    18071946    ;;
    18081947
    18091948  darwin*)
    1810   # if libdl is installed we need to link against it
     1949    # if libdl is installed we need to link against it
    18111950    AC_CHECK_LIB([dl], [dlopen],
    1812                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
    1813     lt_cv_dlopen="dyld"
     1951                [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
     1952    lt_cv_dlopen=dyld
    18141953    lt_cv_dlopen_libs=
    18151954    lt_cv_dlopen_self=yes
     
    18171956    ;;
    18181957
     1958  tpf*)
     1959    # Don't try to run any link tests for TPF.  We know it's impossible
     1960    # because TPF is a cross-compiler, and we know how we open DSOs.
     1961    lt_cv_dlopen=dlopen
     1962    lt_cv_dlopen_libs=
     1963    lt_cv_dlopen_self=no
     1964    ;;
     1965
    18191966  *)
    18201967    AC_CHECK_FUNC([shl_load],
    1821           [lt_cv_dlopen="shl_load"],
     1968          [lt_cv_dlopen=shl_load],
    18221969      [AC_CHECK_LIB([dld], [shl_load],
    1823             [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
     1970            [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
    18241971        [AC_CHECK_FUNC([dlopen],
    1825               [lt_cv_dlopen="dlopen"],
     1972              [lt_cv_dlopen=dlopen],
    18261973          [AC_CHECK_LIB([dl], [dlopen],
    1827                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
     1974                [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
    18281975            [AC_CHECK_LIB([svld], [dlopen],
    1829                   [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
     1976                  [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
    18301977              [AC_CHECK_LIB([dld], [dld_link],
    1831                     [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
     1978                    [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
    18321979              ])
    18331980            ])
     
    18381985  esac
    18391986
    1840   if test "x$lt_cv_dlopen" != xno; then
     1987  if test no = "$lt_cv_dlopen"; then
     1988    enable_dlopen=no
     1989  else
    18411990    enable_dlopen=yes
    1842   else
    1843     enable_dlopen=no
    18441991  fi
    18451992
    18461993  case $lt_cv_dlopen in
    18471994  dlopen)
    1848     save_CPPFLAGS="$CPPFLAGS"
    1849     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    1850 
    1851     save_LDFLAGS="$LDFLAGS"
     1995    save_CPPFLAGS=$CPPFLAGS
     1996    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
     1997
     1998    save_LDFLAGS=$LDFLAGS
    18521999    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
    18532000
    1854     save_LIBS="$LIBS"
     2001    save_LIBS=$LIBS
    18552002    LIBS="$lt_cv_dlopen_libs $LIBS"
    18562003
     
    18622009    ])
    18632010
    1864     if test "x$lt_cv_dlopen_self" = xyes; then
     2011    if test yes = "$lt_cv_dlopen_self"; then
    18652012      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
    18662013      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
     
    18722019    fi
    18732020
    1874     CPPFLAGS="$save_CPPFLAGS"
    1875     LDFLAGS="$save_LDFLAGS"
    1876     LIBS="$save_LIBS"
     2021    CPPFLAGS=$save_CPPFLAGS
     2022    LDFLAGS=$save_LDFLAGS
     2023    LIBS=$save_LIBS
    18772024    ;;
    18782025  esac
     
    19662113_LT_COMPILER_C_O([$1])
    19672114
    1968 hard_links="nottested"
    1969 if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
     2115hard_links=nottested
     2116if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
    19702117  # do not overwrite the value of need_locks provided by the user
    19712118  AC_MSG_CHECKING([if we can lock with hard links])
     
    19772124  ln conftest.a conftest.b 2>/dev/null && hard_links=no
    19782125  AC_MSG_RESULT([$hard_links])
    1979   if test "$hard_links" = no; then
    1980     AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
     2126  if test no = "$hard_links"; then
     2127    AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
    19812128    need_locks=warn
    19822129  fi
     
    20052152         [The name of the directory that contains temporary libtool files])dnl
    20062153m4_pattern_allow([LT_OBJDIR])dnl
    2007 AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
    2008   [Define to the sub-directory in which libtool stores uninstalled libraries.])
     2154AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
     2155  [Define to the sub-directory where libtool stores uninstalled libraries.])
    20092156])# _LT_CHECK_OBJDIR
    20102157
     
    20182165if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
    20192166   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
    2020    test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
     2167   test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
    20212168
    20222169  # We can hardcode non-existent directories.
    2023   if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
     2170  if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
    20242171     # If the only mechanism to avoid hardcoding is shlibpath_var, we
    20252172     # have to relink, otherwise we might link with an installed library
    20262173     # when we should be linking with a yet-to-be-installed one
    2027      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
    2028      test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
     2174     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
     2175     test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
    20292176    # Linking always hardcodes the temporary library directory.
    20302177    _LT_TAGVAR(hardcode_action, $1)=relink
     
    20402187AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
    20412188
    2042 if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
    2043    test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
     2189if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
     2190   test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
    20442191  # Fast installation is not supported
    20452192  enable_fast_install=no
    2046 elif test "$shlibpath_overrides_runpath" = yes ||
    2047      test "$enable_shared" = no; then
     2193elif test yes = "$shlibpath_overrides_runpath" ||
     2194     test no = "$enable_shared"; then
    20482195  # Fast installation is not necessary
    20492196  enable_fast_install=needless
     
    20692216  case $host_os in
    20702217  darwin*)
    2071     if test -n "$STRIP" ; then
     2218    if test -n "$STRIP"; then
    20722219      striplib="$STRIP -x"
    20732220      old_striplib="$STRIP -S"
     
    20872234
    20882235
     2236# _LT_PREPARE_MUNGE_PATH_LIST
     2237# ---------------------------
     2238# Make sure func_munge_path_list() is defined correctly.
     2239m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
     2240[[# func_munge_path_list VARIABLE PATH
     2241# -----------------------------------
     2242# VARIABLE is name of variable containing _space_ separated list of
     2243# directories to be munged by the contents of PATH, which is string
     2244# having a format:
     2245# "DIR[:DIR]:"
     2246#       string "DIR[ DIR]" will be prepended to VARIABLE
     2247# ":DIR[:DIR]"
     2248#       string "DIR[ DIR]" will be appended to VARIABLE
     2249# "DIRP[:DIRP]::[DIRA:]DIRA"
     2250#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     2251#       "DIRA[ DIRA]" will be appended to VARIABLE
     2252# "DIR[:DIR]"
     2253#       VARIABLE will be replaced by "DIR[ DIR]"
     2254func_munge_path_list ()
     2255{
     2256    case x@S|@2 in
     2257    x)
     2258        ;;
     2259    *:)
     2260        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
     2261        ;;
     2262    x:*)
     2263        eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
     2264        ;;
     2265    *::*)
     2266        eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     2267        eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
     2268        ;;
     2269    *)
     2270        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
     2271        ;;
     2272    esac
     2273}
     2274]])# _LT_PREPARE_PATH_LIST
     2275
     2276
    20892277# _LT_SYS_DYNAMIC_LINKER([TAG])
    20902278# -----------------------------
     
    20972285m4_require([_LT_DECL_SED])dnl
    20982286m4_require([_LT_CHECK_SHELL_FEATURES])dnl
     2287m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
    20992288AC_MSG_CHECKING([dynamic linker characteristics])
    21002289m4_if([$1],
    21012290        [], [
    2102 if test "$GCC" = yes; then
     2291if test yes = "$GCC"; then
    21032292  case $host_os in
    2104     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
    2105     *) lt_awk_arg="/^libraries:/" ;;
     2293    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
     2294    *) lt_awk_arg='/^libraries:/' ;;
    21062295  esac
    21072296  case $host_os in
    2108     mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
    2109     *) lt_sed_strip_eq="s,=/,/,g" ;;
     2297    mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
     2298    *) lt_sed_strip_eq='s|=/|/|g' ;;
    21102299  esac
    21112300  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
     
    21232312  esac
    21242313  # Ok, now we have the path, separated by spaces, we can step through it
    2125   # and add multilib dir if necessary.
     2314  # and add multilib dir if necessary...
    21262315  lt_tmp_lt_search_path_spec=
    2127   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     2316  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     2317  # ...but if some path component already ends with the multilib dir we assume
     2318  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
     2319  case "$lt_multi_os_dir; $lt_search_path_spec " in
     2320  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
     2321    lt_multi_os_dir=
     2322    ;;
     2323  esac
    21282324  for lt_sys_path in $lt_search_path_spec; do
    2129     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
    2130       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
    2131     else
     2325    if test -d "$lt_sys_path$lt_multi_os_dir"; then
     2326      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
     2327    elif test -n "$lt_multi_os_dir"; then
    21322328      test -d "$lt_sys_path" && \
    21332329        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     
    21352331  done
    21362332  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
    2137 BEGIN {RS=" "; FS="/|\n";} {
    2138   lt_foo="";
    2139   lt_count=0;
     2333BEGIN {RS = " "; FS = "/|\n";} {
     2334  lt_foo = "";
     2335  lt_count = 0;
    21402336  for (lt_i = NF; lt_i > 0; lt_i--) {
    21412337    if ($lt_i != "" && $lt_i != ".") {
     
    21442340      } else {
    21452341        if (lt_count == 0) {
    2146           lt_foo="/" $lt_i lt_foo;
     2342          lt_foo = "/" $lt_i lt_foo;
    21472343        } else {
    21482344          lt_count--;
     
    21582354  case $host_os in
    21592355    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
    2160       $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
     2356      $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
    21612357  esac
    21622358  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
     
    21672363libname_spec='lib$name'
    21682364soname_spec=
    2169 shrext_cmds=".so"
     2365shrext_cmds=.so
    21702366postinstall_cmds=
    21712367postuninstall_cmds=
     
    21842380need_version=unknown
    21852381
     2382AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
     2383[User-defined run-time library search path.])
     2384
    21862385case $host_os in
    21872386aix3*)
    2188   version_type=linux
    2189   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
     2387  version_type=linux # correct to gnu/linux during the next big refactor
     2388  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
    21902389  shlibpath_var=LIBPATH
    21912390
    21922391  # AIX 3 has no versioning support, so we append a major version to the name.
    2193   soname_spec='${libname}${release}${shared_ext}$major'
     2392  soname_spec='$libname$release$shared_ext$major'
    21942393  ;;
    21952394
    21962395aix[[4-9]]*)
    2197   version_type=linux
     2396  version_type=linux # correct to gnu/linux during the next big refactor
    21982397  need_lib_prefix=no
    21992398  need_version=no
    22002399  hardcode_into_libs=yes
    2201   if test "$host_cpu" = ia64; then
     2400  if test ia64 = "$host_cpu"; then
    22022401    # AIX 5 supports IA64
    2203     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
     2402    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
    22042403    shlibpath_var=LD_LIBRARY_PATH
    22052404  else
    22062405    # With GCC up to 2.95.x, collect2 would create an import file
    22072406    # for dependence libraries.  The import file would start with
    2208     # the line `#! .'.  This would cause the generated library to
    2209     # depend on `.', always an invalid library.  This was fixed in
     2407    # the line '#! .'.  This would cause the generated library to
     2408    # depend on '.', always an invalid library.  This was fixed in
    22102409    # development snapshots of GCC prior to 3.0.
    22112410    case $host_os in
     
    22132412      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    22142413           echo ' yes '
    2215            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
     2414           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
    22162415        :
    22172416      else
     
    22202419      ;;
    22212420    esac
    2222     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
     2421    # Using Import Files as archive members, it is possible to support
     2422    # filename-based versioning of shared library archives on AIX. While
     2423    # this would work for both with and without runtime linking, it will
     2424    # prevent static linking of such archives. So we do filename-based
     2425    # shared library versioning with .so extension only, which is used
     2426    # when both runtime linking and shared linking is enabled.
     2427    # Unfortunately, runtime linking may impact performance, so we do
     2428    # not want this to be the default eventually. Also, we use the
     2429    # versioned .so libs for executables only if there is the -brtl
     2430    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
     2431    # To allow for filename-based versioning support, we need to create
     2432    # libNAME.so.V as an archive file, containing:
     2433    # *) an Import File, referring to the versioned filename of the
     2434    #    archive as well as the shared archive member, telling the
     2435    #    bitwidth (32 or 64) of that shared object, and providing the
     2436    #    list of exported symbols of that shared object, eventually
     2437    #    decorated with the 'weak' keyword
     2438    # *) the shared object with the F_LOADONLY flag set, to really avoid
     2439    #    it being seen by the linker.
     2440    # At run time we better use the real file rather than another symlink,
     2441    # but for link time we create the symlink libNAME.so -> libNAME.so.V
     2442
     2443    case $with_aix_soname,$aix_use_runtimelinking in
     2444    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
    22232445    # soname into executable. Probably we can add versioning support to
    22242446    # collect2, so additional links can be useful in future.
    2225     if test "$aix_use_runtimelinking" = yes; then
     2447    aix,yes) # traditional libtool
     2448      dynamic_linker='AIX unversionable lib.so'
    22262449      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    22272450      # instead of lib<name>.a to let people know that these are not
    22282451      # typical AIX shared libraries.
    2229       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2230     else
     2452      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2453      ;;
     2454    aix,no) # traditional AIX only
     2455      dynamic_linker='AIX lib.a[(]lib.so.V[)]'
    22312456      # We preserve .a as extension for shared libraries through AIX4.2
    22322457      # and later when we are not doing run time linking.
    2233       library_names_spec='${libname}${release}.a $libname.a'
    2234       soname_spec='${libname}${release}${shared_ext}$major'
    2235     fi
     2458      library_names_spec='$libname$release.a $libname.a'
     2459      soname_spec='$libname$release$shared_ext$major'
     2460      ;;
     2461    svr4,*) # full svr4 only
     2462      dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
     2463      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     2464      # We do not specify a path in Import Files, so LIBPATH fires.
     2465      shlibpath_overrides_runpath=yes
     2466      ;;
     2467    *,yes) # both, prefer svr4
     2468      dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
     2469      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     2470      # unpreferred sharedlib libNAME.a needs extra handling
     2471      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
     2472      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
     2473      # We do not specify a path in Import Files, so LIBPATH fires.
     2474      shlibpath_overrides_runpath=yes
     2475      ;;
     2476    *,no) # both, prefer aix
     2477      dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
     2478      library_names_spec='$libname$release.a $libname.a'
     2479      soname_spec='$libname$release$shared_ext$major'
     2480      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
     2481      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
     2482      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
     2483      ;;
     2484    esac
    22362485    shlibpath_var=LIBPATH
    22372486  fi
     
    22432492    # Since July 2007 AmigaOS4 officially supports .so libraries.
    22442493    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    2245     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2494    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    22462495    ;;
    22472496  m68k)
    22482497    library_names_spec='$libname.ixlibrary $libname.a'
    22492498    # Create ${libname}_ixlibrary.a entries in /sys/libs.
    2250     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'
     2499    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $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'
    22512500    ;;
    22522501  esac
     
    22542503
    22552504beos*)
    2256   library_names_spec='${libname}${shared_ext}'
     2505  library_names_spec='$libname$shared_ext'
    22572506  dynamic_linker="$host_os ld.so"
    22582507  shlibpath_var=LIBRARY_PATH
     
    22602509
    22612510bsdi[[45]]*)
    2262   version_type=linux
     2511  version_type=linux # correct to gnu/linux during the next big refactor
    22632512  need_version=no
    2264   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2265   soname_spec='${libname}${release}${shared_ext}$major'
     2513  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2514  soname_spec='$libname$release$shared_ext$major'
    22662515  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    22672516  shlibpath_var=LD_LIBRARY_PATH
     
    22752524cygwin* | mingw* | pw32* | cegcc*)
    22762525  version_type=windows
    2277   shrext_cmds=".dll"
     2526  shrext_cmds=.dll
    22782527  need_version=no
    22792528  need_lib_prefix=no
     
    22842533    library_names_spec='$libname.dll.a'
    22852534    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    2286     postinstall_cmds='base_file=`basename \${file}`~
    2287       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     2535    postinstall_cmds='base_file=`basename \$file`~
     2536      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    22882537      dldir=$destdir/`dirname \$dlpath`~
    22892538      test -d \$dldir || mkdir -p \$dldir~
     
    23012550    cygwin*)
    23022551      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    2303       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
     2552      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
    23042553m4_if([$1], [],[
    23052554      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
     
    23072556    mingw* | cegcc*)
    23082557      # MinGW DLLs use traditional 'lib' prefix
    2309       soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
     2558      soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
    23102559      ;;
    23112560    pw32*)
    23122561      # pw32 DLLs use 'pw' prefix rather than 'lib'
    2313       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
     2562      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
    23142563      ;;
    23152564    esac
     
    23202569    # Native MSVC
    23212570    libname_spec='$name'
    2322     soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
    2323     library_names_spec='${libname}.dll.lib'
     2571    soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
     2572    library_names_spec='$libname.dll.lib'
    23242573
    23252574    case $build_os in
     
    23482597      ;;
    23492598    *)
    2350       sys_lib_search_path_spec="$LIB"
     2599      sys_lib_search_path_spec=$LIB
    23512600      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
    23522601        # It is most probably a Windows format PATH.
     
    23612610
    23622611    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    2363     postinstall_cmds='base_file=`basename \${file}`~
    2364       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     2612    postinstall_cmds='base_file=`basename \$file`~
     2613      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    23652614      dldir=$destdir/`dirname \$dlpath`~
    23662615      test -d \$dldir || mkdir -p \$dldir~
     
    23752624  *)
    23762625    # Assume MSVC wrapper
    2377     library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
     2626    library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
    23782627    dynamic_linker='Win32 ld.exe'
    23792628    ;;
     
    23882637  need_lib_prefix=no
    23892638  need_version=no
    2390   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    2391   soname_spec='${libname}${release}${major}$shared_ext'
     2639  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
     2640  soname_spec='$libname$release$major$shared_ext'
    23922641  shlibpath_overrides_runpath=yes
    23932642  shlibpath_var=DYLD_LIBRARY_PATH
     
    23992648
    24002649dgux*)
    2401   version_type=linux
     2650  version_type=linux # correct to gnu/linux during the next big refactor
    24022651  need_lib_prefix=no
    24032652  need_version=no
    2404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
    2405   soname_spec='${libname}${release}${shared_ext}$major'
     2653  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2654  soname_spec='$libname$release$shared_ext$major'
    24062655  shlibpath_var=LD_LIBRARY_PATH
    2407   ;;
    2408 
    2409 freebsd1*)
    2410   dynamic_linker=no
    24112656  ;;
    24122657
     
    24182663  else
    24192664    case $host_os in
    2420     freebsd[[123]]*) objformat=aout ;;
     2665    freebsd[[23]].*) objformat=aout ;;
    24212666    *) objformat=elf ;;
    24222667    esac
     
    24252670  case $version_type in
    24262671    freebsd-elf*)
    2427       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     2672      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2673      soname_spec='$libname$release$shared_ext$major'
    24282674      need_version=no
    24292675      need_lib_prefix=no
    24302676      ;;
    24312677    freebsd-*)
    2432       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
     2678      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    24332679      need_version=yes
    24342680      ;;
     
    24362682  shlibpath_var=LD_LIBRARY_PATH
    24372683  case $host_os in
    2438   freebsd2*)
     2684  freebsd2.*)
    24392685    shlibpath_overrides_runpath=yes
    24402686    ;;
     
    24552701  ;;
    24562702
    2457 gnu*)
    2458   version_type=linux
    2459   need_lib_prefix=no
    2460   need_version=no
    2461   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    2462   soname_spec='${libname}${release}${shared_ext}$major'
    2463   shlibpath_var=LD_LIBRARY_PATH
    2464   shlibpath_overrides_runpath=no
    2465   hardcode_into_libs=yes
    2466   ;;
    2467 
    24682703haiku*)
    2469   version_type=linux
     2704  version_type=linux # correct to gnu/linux during the next big refactor
    24702705  need_lib_prefix=no
    24712706  need_version=no
    24722707  dynamic_linker="$host_os runtime_loader"
    2473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    2474   soname_spec='${libname}${release}${shared_ext}$major'
     2708  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2709  soname_spec='$libname$release$shared_ext$major'
    24752710  shlibpath_var=LIBRARY_PATH
    2476   shlibpath_overrides_runpath=yes
     2711  shlibpath_overrides_runpath=no
    24772712  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    24782713  hardcode_into_libs=yes
     
    24922727    shlibpath_var=LD_LIBRARY_PATH
    24932728    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    2494     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2495     soname_spec='${libname}${release}${shared_ext}$major'
    2496     if test "X$HPUX_IA64_MODE" = X32; then
     2729    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2730    soname_spec='$libname$release$shared_ext$major'
     2731    if test 32 = "$HPUX_IA64_MODE"; then
    24972732      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
     2733      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    24982734    else
    24992735      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
     2736      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    25002737    fi
    2501     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    25022738    ;;
    25032739  hppa*64*)
     
    25072743    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    25082744    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    2509     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2510     soname_spec='${libname}${release}${shared_ext}$major'
     2745    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2746    soname_spec='$libname$release$shared_ext$major'
    25112747    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    25122748    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     
    25172753    shlibpath_var=SHLIB_PATH
    25182754    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    2519     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2520     soname_spec='${libname}${release}${shared_ext}$major'
     2755    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2756    soname_spec='$libname$release$shared_ext$major'
    25212757    ;;
    25222758  esac
     
    25282764
    25292765interix[[3-9]]*)
    2530   version_type=linux
     2766  version_type=linux # correct to gnu/linux during the next big refactor
    25312767  need_lib_prefix=no
    25322768  need_version=no
    2533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    2534   soname_spec='${libname}${release}${shared_ext}$major'
     2769  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2770  soname_spec='$libname$release$shared_ext$major'
    25352771  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    25362772  shlibpath_var=LD_LIBRARY_PATH
     
    25432779    nonstopux*) version_type=nonstopux ;;
    25442780    *)
    2545         if test "$lt_cv_prog_gnu_ld" = yes; then
    2546                 version_type=linux
     2781        if test yes = "$lt_cv_prog_gnu_ld"; then
     2782                version_type=linux # correct to gnu/linux during the next big refactor
    25472783        else
    25482784                version_type=irix
     
    25512787  need_lib_prefix=no
    25522788  need_version=no
    2553   soname_spec='${libname}${release}${shared_ext}$major'
    2554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
     2789  soname_spec='$libname$release$shared_ext$major'
     2790  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
    25552791  case $host_os in
    25562792  irix5* | nonstopux*)
     
    25712807  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    25722808  shlibpath_overrides_runpath=no
    2573   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
    2574   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
     2809  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
     2810  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
    25752811  hardcode_into_libs=yes
    25762812  ;;
     
    25812817  ;;
    25822818
    2583 # This must be Linux ELF.
    2584 linux* | k*bsd*-gnu | kopensolaris*-gnu)
    2585   version_type=linux
     2819linux*android*)
     2820  version_type=none # Android doesn't support versioned libraries.
    25862821  need_lib_prefix=no
    25872822  need_version=no
    2588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2589   soname_spec='${libname}${release}${shared_ext}$major'
     2823  library_names_spec='$libname$release$shared_ext'
     2824  soname_spec='$libname$release$shared_ext'
     2825  finish_cmds=
     2826  shlibpath_var=LD_LIBRARY_PATH
     2827  shlibpath_overrides_runpath=yes
     2828
     2829  # This implies no fast_install, which is unacceptable.
     2830  # Some rework will be needed to allow for fast_install
     2831  # before this can be enabled.
     2832  hardcode_into_libs=yes
     2833
     2834  dynamic_linker='Android linker'
     2835  # Don't embed -rpath directories since the linker doesn't support them.
     2836  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
     2837  ;;
     2838
     2839# This must be glibc/ELF.
     2840linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     2841  version_type=linux # correct to gnu/linux during the next big refactor
     2842  need_lib_prefix=no
     2843  need_version=no
     2844  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2845  soname_spec='$libname$release$shared_ext$major'
    25902846  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    25912847  shlibpath_var=LD_LIBRARY_PATH
     
    26122868  hardcode_into_libs=yes
    26132869
    2614   # Append ld.so.conf contents to the search path
     2870  # Ideally, we could use ldconfig to report *all* directores which are
     2871  # searched for libraries, however this is still not possible.  Aside from not
     2872  # being certain /sbin/ldconfig is available, command
     2873  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
     2874  # even though it is searched at run-time.  Try to do the best guess by
     2875  # appending ld.so.conf contents (and includes) to the search path.
    26152876  if test -f /etc/ld.so.conf; then
    26162877    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' ' '`
     
    26442905  need_version=no
    26452906  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    2646     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     2907    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    26472908    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    26482909    dynamic_linker='NetBSD (a.out) ld.so'
    26492910  else
    2650     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    2651     soname_spec='${libname}${release}${shared_ext}$major'
     2911    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2912    soname_spec='$libname$release$shared_ext$major'
    26522913    dynamic_linker='NetBSD ld.elf_so'
    26532914  fi
     
    26582919
    26592920newsos6)
    2660   version_type=linux
    2661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2921  version_type=linux # correct to gnu/linux during the next big refactor
     2922  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    26622923  shlibpath_var=LD_LIBRARY_PATH
    26632924  shlibpath_overrides_runpath=yes
     
    26682929  need_lib_prefix=no
    26692930  need_version=no
    2670   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2671   soname_spec='${libname}${release}${shared_ext}$major'
     2931  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2932  soname_spec='$libname$release$shared_ext$major'
    26722933  shlibpath_var=LD_LIBRARY_PATH
    26732934  shlibpath_overrides_runpath=no
     
    26762937  ;;
    26772938
    2678 openbsd*)
     2939openbsd* | bitrig*)
    26792940  version_type=sunos
    2680   sys_lib_dlsearch_path_spec="/usr/lib"
     2941  sys_lib_dlsearch_path_spec=/usr/lib
    26812942  need_lib_prefix=no
    2682   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
    2683   case $host_os in
    2684     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
    2685     *)                          need_version=no  ;;
    2686   esac
    2687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     2943  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     2944    need_version=no
     2945  else
     2946    need_version=yes
     2947  fi
     2948  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    26882949  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    26892950  shlibpath_var=LD_LIBRARY_PATH
    2690   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    2691     case $host_os in
    2692       openbsd2.[[89]] | openbsd2.[[89]].*)
    2693         shlibpath_overrides_runpath=no
    2694         ;;
    2695       *)
    2696         shlibpath_overrides_runpath=yes
    2697         ;;
    2698       esac
    2699   else
    2700     shlibpath_overrides_runpath=yes
    2701   fi
     2951  shlibpath_overrides_runpath=yes
    27022952  ;;
    27032953
    27042954os2*)
    27052955  libname_spec='$name'
    2706   shrext_cmds=".dll"
     2956  version_type=windows
     2957  shrext_cmds=.dll
     2958  need_version=no
    27072959  need_lib_prefix=no
    2708   library_names_spec='$libname${shared_ext} $libname.a'
     2960  # OS/2 can only load a DLL with a base name of 8 characters or less.
     2961  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
     2962    v=$($ECHO $release$versuffix | tr -d .-);
     2963    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
     2964    $ECHO $n$v`$shared_ext'
     2965  library_names_spec='${libname}_dll.$libext'
    27092966  dynamic_linker='OS/2 ld.exe'
    2710   shlibpath_var=LIBPATH
     2967  shlibpath_var=BEGINLIBPATH
     2968  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     2969  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     2970  postinstall_cmds='base_file=`basename \$file`~
     2971    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
     2972    dldir=$destdir/`dirname \$dlpath`~
     2973    test -d \$dldir || mkdir -p \$dldir~
     2974    $install_prog $dir/$dlname \$dldir/$dlname~
     2975    chmod a+x \$dldir/$dlname~
     2976    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     2977      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     2978    fi'
     2979  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
     2980    dlpath=$dir/\$dldll~
     2981    $RM \$dlpath'
    27112982  ;;
    27122983
     
    27152986  need_lib_prefix=no
    27162987  need_version=no
    2717   soname_spec='${libname}${release}${shared_ext}$major'
    2718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2988  soname_spec='$libname$release$shared_ext$major'
     2989  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    27192990  shlibpath_var=LD_LIBRARY_PATH
    27202991  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    2721   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     2992  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    27222993  ;;
    27232994
     
    27272998
    27282999solaris*)
    2729   version_type=linux
     3000  version_type=linux # correct to gnu/linux during the next big refactor
    27303001  need_lib_prefix=no
    27313002  need_version=no
    2732   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2733   soname_spec='${libname}${release}${shared_ext}$major'
     3003  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     3004  soname_spec='$libname$release$shared_ext$major'
    27343005  shlibpath_var=LD_LIBRARY_PATH
    27353006  shlibpath_overrides_runpath=yes
     
    27413012sunos4*)
    27423013  version_type=sunos
    2743   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     3014  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    27443015  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    27453016  shlibpath_var=LD_LIBRARY_PATH
    27463017  shlibpath_overrides_runpath=yes
    2747   if test "$with_gnu_ld" = yes; then
     3018  if test yes = "$with_gnu_ld"; then
    27483019    need_lib_prefix=no
    27493020  fi
     
    27523023
    27533024sysv4 | sysv4.3*)
    2754   version_type=linux
    2755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2756   soname_spec='${libname}${release}${shared_ext}$major'
     3025  version_type=linux # correct to gnu/linux during the next big refactor
     3026  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     3027  soname_spec='$libname$release$shared_ext$major'
    27573028  shlibpath_var=LD_LIBRARY_PATH
    27583029  case $host_vendor in
     
    27753046
    27763047sysv4*MP*)
    2777   if test -d /usr/nec ;then
    2778     version_type=linux
    2779     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    2780     soname_spec='$libname${shared_ext}.$major'
     3048  if test -d /usr/nec; then
     3049    version_type=linux # correct to gnu/linux during the next big refactor
     3050    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
     3051    soname_spec='$libname$shared_ext.$major'
    27813052    shlibpath_var=LD_LIBRARY_PATH
    27823053  fi
     
    27843055
    27853056sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    2786   version_type=freebsd-elf
     3057  version_type=sco
    27873058  need_lib_prefix=no
    27883059  need_version=no
    2789   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    2790   soname_spec='${libname}${release}${shared_ext}$major'
     3060  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
     3061  soname_spec='$libname$release$shared_ext$major'
    27913062  shlibpath_var=LD_LIBRARY_PATH
    27923063  shlibpath_overrides_runpath=yes
    27933064  hardcode_into_libs=yes
    2794   if test "$with_gnu_ld" = yes; then
     3065  if test yes = "$with_gnu_ld"; then
    27953066    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    27963067  else
     
    28073078tpf*)
    28083079  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
    2809   version_type=linux
     3080  version_type=linux # correct to gnu/linux during the next big refactor
    28103081  need_lib_prefix=no
    28113082  need_version=no
    2812   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     3083  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    28133084  shlibpath_var=LD_LIBRARY_PATH
    28143085  shlibpath_overrides_runpath=no
     
    28173088
    28183089uts4*)
    2819   version_type=linux
    2820   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2821   soname_spec='${libname}${release}${shared_ext}$major'
     3090  version_type=linux # correct to gnu/linux during the next big refactor
     3091  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     3092  soname_spec='$libname$release$shared_ext$major'
    28223093  shlibpath_var=LD_LIBRARY_PATH
    28233094  ;;
     
    28283099esac
    28293100AC_MSG_RESULT([$dynamic_linker])
    2830 test "$dynamic_linker" = no && can_build_shared=no
     3101test no = "$dynamic_linker" && can_build_shared=no
    28313102
    28323103variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    2833 if test "$GCC" = yes; then
     3104if test yes = "$GCC"; then
    28343105  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    28353106fi
    28363107
    2837 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
    2838   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
     3108if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
     3109  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
    28393110fi
    2840 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
    2841   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
     3111
     3112if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
     3113  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
    28423114fi
     3115
     3116# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
     3117configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
     3118
     3119# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
     3120func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
     3121
     3122# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
     3123configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
    28433124
    28443125_LT_DECL([], [variables_saved_for_relink], [1],
     
    28743155_LT_DECL([], [sys_lib_search_path_spec], [2],
    28753156    [Compile-time system search path for libraries])
    2876 _LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
    2877     [Run-time system search path for libraries])
     3157_LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
     3158    [Detected run-time system search path for libraries])
     3159_LT_DECL([], [configure_time_lt_sys_library_path], [2],
     3160    [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
    28783161])# _LT_SYS_DYNAMIC_LINKER
    28793162
     
    28813164# _LT_PATH_TOOL_PREFIX(TOOL)
    28823165# --------------------------
    2883 # find a file program which can recognize shared library
     3166# find a file program that can recognize shared library
    28843167AC_DEFUN([_LT_PATH_TOOL_PREFIX],
    28853168[m4_require([_LT_DECL_EGREP])dnl
     
    28883171[case $MAGIC_CMD in
    28893172[[\\/*] |  ?:[\\/]*])
    2890   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     3173  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    28913174  ;;
    28923175*)
    2893   lt_save_MAGIC_CMD="$MAGIC_CMD"
    2894   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3176  lt_save_MAGIC_CMD=$MAGIC_CMD
     3177  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    28953178dnl $ac_dummy forces splitting on constant user-supplied paths.
    28963179dnl POSIX.2 word splitting is done only on the output of word expansions,
     
    28983181  ac_dummy="m4_if([$2], , $PATH, [$2])"
    28993182  for ac_dir in $ac_dummy; do
    2900     IFS="$lt_save_ifs"
     3183    IFS=$lt_save_ifs
    29013184    test -z "$ac_dir" && ac_dir=.
    2902     if test -f $ac_dir/$1; then
    2903       lt_cv_path_MAGIC_CMD="$ac_dir/$1"
     3185    if test -f "$ac_dir/$1"; then
     3186      lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
    29043187      if test -n "$file_magic_test_file"; then
    29053188        case $deplibs_check_method in
    29063189        "file_magic "*)
    29073190          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    2908           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     3191          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    29093192          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    29103193            $EGREP "$file_magic_regex" > /dev/null; then
     
    29293212    fi
    29303213  done
    2931   IFS="$lt_save_ifs"
    2932   MAGIC_CMD="$lt_save_MAGIC_CMD"
     3214  IFS=$lt_save_ifs
     3215  MAGIC_CMD=$lt_save_MAGIC_CMD
    29333216  ;;
    29343217esac])
    2935 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     3218MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    29363219if test -n "$MAGIC_CMD"; then
    29373220  AC_MSG_RESULT($MAGIC_CMD)
     
    29513234# _LT_PATH_MAGIC
    29523235# --------------
    2953 # find a file program which can recognize a shared library
     3236# find a file program that can recognize a shared library
    29543237m4_defun([_LT_PATH_MAGIC],
    29553238[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
     
    29783261    [AS_HELP_STRING([--with-gnu-ld],
    29793262        [assume the C compiler uses GNU ld @<:@default=no@:>@])],
    2980     [test "$withval" = no || with_gnu_ld=yes],
     3263    [test no = "$withval" || with_gnu_ld=yes],
    29813264    [with_gnu_ld=no])dnl
    29823265
    29833266ac_prog=ld
    2984 if test "$GCC" = yes; then
     3267if test yes = "$GCC"; then
    29853268  # Check if gcc -print-prog-name=ld gives a path.
    29863269  AC_MSG_CHECKING([for ld used by $CC])
    29873270  case $host in
    29883271  *-*-mingw*)
    2989     # gcc leaves a trailing carriage return which upsets mingw
     3272    # gcc leaves a trailing carriage return, which upsets mingw
    29903273    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    29913274  *)
     
    30013284        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    30023285      done
    3003       test -z "$LD" && LD="$ac_prog"
     3286      test -z "$LD" && LD=$ac_prog
    30043287      ;;
    30053288  "")
     
    30123295    ;;
    30133296  esac
    3014 elif test "$with_gnu_ld" = yes; then
     3297elif test yes = "$with_gnu_ld"; then
    30153298  AC_MSG_CHECKING([for GNU ld])
    30163299else
     
    30193302AC_CACHE_VAL(lt_cv_path_LD,
    30203303[if test -z "$LD"; then
    3021   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3304  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    30223305  for ac_dir in $PATH; do
    3023     IFS="$lt_save_ifs"
     3306    IFS=$lt_save_ifs
    30243307    test -z "$ac_dir" && ac_dir=.
    30253308    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    3026       lt_cv_path_LD="$ac_dir/$ac_prog"
     3309      lt_cv_path_LD=$ac_dir/$ac_prog
    30273310      # Check to see if the program is GNU ld.  I'd rather use --version,
    30283311      # but apparently some variants of GNU ld only accept -v.
     
    30303313      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    30313314      *GNU* | *'with BFD'*)
    3032         test "$with_gnu_ld" != no && break
     3315        test no != "$with_gnu_ld" && break
    30333316        ;;
    30343317      *)
    3035         test "$with_gnu_ld" != yes && break
     3318        test yes != "$with_gnu_ld" && break
    30363319        ;;
    30373320      esac
    30383321    fi
    30393322  done
    3040   IFS="$lt_save_ifs"
     3323  IFS=$lt_save_ifs
    30413324else
    3042   lt_cv_path_LD="$LD" # Let the user override the test with a path.
     3325  lt_cv_path_LD=$LD # Let the user override the test with a path.
    30433326fi])
    3044 LD="$lt_cv_path_LD"
     3327LD=$lt_cv_path_LD
    30453328if test -n "$LD"; then
    30463329  AC_MSG_RESULT($LD)
     
    30963379case $host_os in
    30973380  cygwin* | mingw* | pw32* | cegcc*)
    3098     if test "$GCC" != yes; then
     3381    if test yes != "$GCC"; then
    30993382      reload_cmds=false
    31003383    fi
    31013384    ;;
    31023385  darwin*)
    3103     if test "$GCC" = yes; then
    3104       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
     3386    if test yes = "$GCC"; then
     3387      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
    31053388    else
    31063389      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     
    31113394_LT_TAGDECL([], [reload_cmds], [2])dnl
    31123395])# _LT_CMD_RELOAD
     3396
     3397
     3398# _LT_PATH_DD
     3399# -----------
     3400# find a working dd
     3401m4_defun([_LT_PATH_DD],
     3402[AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
     3403[printf 0123456789abcdef0123456789abcdef >conftest.i
     3404cat conftest.i conftest.i >conftest2.i
     3405: ${lt_DD:=$DD}
     3406AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
     3407[if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     3408  cmp -s conftest.i conftest.out \
     3409  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
     3410fi])
     3411rm -f conftest.i conftest2.i conftest.out])
     3412])# _LT_PATH_DD
     3413
     3414
     3415# _LT_CMD_TRUNCATE
     3416# ----------------
     3417# find command to truncate a binary pipe
     3418m4_defun([_LT_CMD_TRUNCATE],
     3419[m4_require([_LT_PATH_DD])
     3420AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
     3421[printf 0123456789abcdef0123456789abcdef >conftest.i
     3422cat conftest.i conftest.i >conftest2.i
     3423lt_cv_truncate_bin=
     3424if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     3425  cmp -s conftest.i conftest.out \
     3426  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
     3427fi
     3428rm -f conftest.i conftest2.i conftest.out
     3429test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
     3430_LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
     3431  [Command to truncate a binary pipe])
     3432])# _LT_CMD_TRUNCATE
    31133433
    31143434
     
    31283448# interlibrary dependencies.
    31293449# 'none' -- dependencies not supported.
    3130 # `unknown' -- same as none, but documents that we really don't know.
     3450# 'unknown' -- same as none, but documents that we really don't know.
    31313451# 'pass_all' -- all dependencies passed with no checks.
    31323452# 'test_compile' -- check by making test program.
    31333453# 'file_magic [[regex]]' -- check by looking for files in library path
    3134 # which responds to the $file_magic_cmd with a given extended regex.
    3135 # If you have `file' or equivalent on your system and you're not sure
    3136 # whether `pass_all' will *always* work, you probably want this one.
     3454# that responds to the $file_magic_cmd with a given extended regex.
     3455# If you have 'file' or equivalent on your system and you're not sure
     3456# whether 'pass_all' will *always* work, you probably want this one.
    31373457
    31383458case $host_os in
     
    31613481  # func_win32_libid shell function, so use a weaker test based on 'objdump',
    31623482  # unless we find 'file', for example because we are cross-compiling.
    3163   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
    3164   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
     3483  if ( file / ) >/dev/null 2>&1; then
    31653484    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    31663485    lt_cv_file_magic_cmd='func_win32_libid'
     
    31963515    lt_cv_deplibs_check_method=pass_all
    31973516  fi
    3198   ;;
    3199 
    3200 gnu*)
    3201   lt_cv_deplibs_check_method=pass_all
    32023517  ;;
    32033518
     
    32393554  ;;
    32403555
    3241 # This must be Linux ELF.
    3242 linux* | k*bsd*-gnu | kopensolaris*-gnu)
     3556# This must be glibc/ELF.
     3557linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    32433558  lt_cv_deplibs_check_method=pass_all
    32443559  ;;
     
    32623577  ;;
    32633578
    3264 openbsd*)
    3265   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     3579openbsd* | bitrig*)
     3580  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    32663581    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
    32673582  else
     
    33163631  lt_cv_deplibs_check_method=pass_all
    33173632  ;;
     3633os2*)
     3634  lt_cv_deplibs_check_method=pass_all
     3635  ;;
    33183636esac
    33193637])
     
    33563674[if test -n "$NM"; then
    33573675  # Let the user override the test.
    3358   lt_cv_path_NM="$NM"
     3676  lt_cv_path_NM=$NM
    33593677else
    3360   lt_nm_to_check="${ac_tool_prefix}nm"
     3678  lt_nm_to_check=${ac_tool_prefix}nm
    33613679  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
    33623680    lt_nm_to_check="$lt_nm_to_check nm"
    33633681  fi
    33643682  for lt_tmp_nm in $lt_nm_to_check; do
    3365     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3683    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    33663684    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
    3367       IFS="$lt_save_ifs"
     3685      IFS=$lt_save_ifs
    33683686      test -z "$ac_dir" && ac_dir=.
    3369       tmp_nm="$ac_dir/$lt_tmp_nm"
    3370       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
     3687      tmp_nm=$ac_dir/$lt_tmp_nm
     3688      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
    33713689        # Check to see if the nm accepts a BSD-compat flag.
    3372         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
     3690        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
    33733691        #   nm: unknown option "B" ignored
    33743692        # Tru64's nm complains that /dev/null is an invalid object file
    3375         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
    3376         */dev/null* | *'Invalid file or object type'*)
     3693        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
     3694        case $build_os in
     3695        mingw*) lt_bad_file=conftest.nm/nofile ;;
     3696        *) lt_bad_file=/dev/null ;;
     3697        esac
     3698        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
     3699        *$lt_bad_file* | *'Invalid file or object type'*)
    33773700          lt_cv_path_NM="$tmp_nm -B"
    3378           break
     3701          break 2
    33793702          ;;
    33803703        *)
     
    33823705          */dev/null*)
    33833706            lt_cv_path_NM="$tmp_nm -p"
    3384             break
     3707            break 2
    33853708            ;;
    33863709          *)
     
    33933716      fi
    33943717    done
    3395     IFS="$lt_save_ifs"
     3718    IFS=$lt_save_ifs
    33963719  done
    33973720  : ${lt_cv_path_NM=no}
    33983721fi])
    3399 if test "$lt_cv_path_NM" != "no"; then
    3400   NM="$lt_cv_path_NM"
     3722if test no != "$lt_cv_path_NM"; then
     3723  NM=$lt_cv_path_NM
    34013724else
    34023725  # Didn't find any BSD compatible name lister, look for dumpbin.
     
    34053728  else
    34063729    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
    3407     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
     3730    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
    34083731    *COFF*)
    3409       DUMPBIN="$DUMPBIN -symbols"
     3732      DUMPBIN="$DUMPBIN -symbols -headers"
    34103733      ;;
    34113734    *)
     
    34153738  fi
    34163739  AC_SUBST([DUMPBIN])
    3417   if test "$DUMPBIN" != ":"; then
    3418     NM="$DUMPBIN"
     3740  if test : != "$DUMPBIN"; then
     3741    NM=$DUMPBIN
    34193742  fi
    34203743fi
     
    34623785case $host_os in
    34633786cygwin* | mingw* | pw32* | cegcc*)
    3464   # two different shell functions defined in ltmain.sh
    3465   # decide which to use based on capabilities of $DLLTOOL
     3787  # two different shell functions defined in ltmain.sh;
     3788  # decide which one to use based on capabilities of $DLLTOOL
    34663789  case `$DLLTOOL --help 2>&1` in
    34673790  *--identify-strict*)
     
    34753798*)
    34763799  # fallback: assume linklib IS sharedlib
    3477   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
     3800  lt_cv_sharedlib_from_linklib_cmd=$ECHO
    34783801  ;;
    34793802esac
     
    35023825  fi
    35033826  rm -f conftest*])
    3504 if test "x$lt_cv_path_mainfest_tool" != xyes; then
     3827if test yes != "$lt_cv_path_mainfest_tool"; then
    35053828  MANIFEST_TOOL=:
    35063829fi
    35073830_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
    35083831])# _LT_PATH_MANIFEST_TOOL
     3832
     3833
     3834# _LT_DLL_DEF_P([FILE])
     3835# ---------------------
     3836# True iff FILE is a Windows DLL '.def' file.
     3837# Keep in sync with func_dll_def_p in the libtool script
     3838AC_DEFUN([_LT_DLL_DEF_P],
     3839[dnl
     3840  test DEF = "`$SED -n dnl
     3841    -e '\''s/^[[         ]]*//'\'' dnl Strip leading whitespace
     3842    -e '\''/^\(;.*\)*$/d'\'' dnl      Delete empty lines and comments
     3843    -e '\''s/^\(EXPORTS\|LIBRARY\)\([[   ]].*\)*$/DEF/p'\'' dnl
     3844    -e q dnl                          Only consider the first "real" line
     3845    $1`" dnl
     3846])# _LT_DLL_DEF_P
    35093847
    35103848
     
    35203858  ;;
    35213859*-ncr-sysv4.3*)
    3522   AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
     3860  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
    35233861  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
    35243862  ;;
    35253863*)
    3526   AC_CHECK_LIB(m, cos, LIBM="-lm")
     3864  AC_CHECK_LIB(m, cos, LIBM=-lm)
    35273865  ;;
    35283866esac
     
    35433881_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
    35443882
    3545 if test "$GCC" = yes; then
     3883if test yes = "$GCC"; then
    35463884  case $cc_basename in
    35473885  nvcc*)
     
    35953933  ;;
    35963934hpux*)
    3597   if test "$host_cpu" = ia64; then
     3935  if test ia64 = "$host_cpu"; then
    35983936    symcode='[[ABCDEGRST]]'
    35993937  fi
     
    36283966esac
    36293967
     3968if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     3969  # Gets list of data symbols to import.
     3970  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
     3971  # Adjust the below global symbol transforms to fixup imported variables.
     3972  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
     3973  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
     3974  lt_c_name_lib_hook="\
     3975  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
     3976  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
     3977else
     3978  # Disable hooks by default.
     3979  lt_cv_sys_global_symbol_to_import=
     3980  lt_cdecl_hook=
     3981  lt_c_name_hook=
     3982  lt_c_name_lib_hook=
     3983fi
     3984
    36303985# Transform an extracted symbol line into a proper C declaration.
    36313986# Some systems (esp. on ia64) link data and code symbols differently,
    36323987# so use this general approach.
    3633 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
     3988lt_cv_sys_global_symbol_to_cdecl="sed -n"\
     3989$lt_cdecl_hook\
     3990" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
     3991" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
    36343992
    36353993# Transform an extracted symbol line into symbol name and symbol address
    3636 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
    3637 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'"
     3994lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
     3995$lt_c_name_hook\
     3996" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     3997" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
     3998
     3999# Transform an extracted symbol line into symbol name with lib prefix and
     4000# symbol address.
     4001lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
     4002$lt_c_name_lib_hook\
     4003" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     4004" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
     4005" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
    36384006
    36394007# Handle CRLF in mingw tool chain
     
    36534021  # Write the raw and C identifiers.
    36544022  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    3655     # Fake it for dumpbin and say T for any non-static function
    3656     # and D for any global variable.
     4023    # Fake it for dumpbin and say T for any non-static function,
     4024    # D for any global variable and I for any imported variable.
    36574025    # Also find C++ and __fastcall symbols from MSVC++,
    36584026    # which start with @ or ?.
    36594027    lt_cv_sys_global_symbol_pipe="$AWK ['"\
    36604028"     {last_section=section; section=\$ 3};"\
     4029"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
    36614030"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
     4031"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
     4032"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
     4033"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
    36624034"     \$ 0!~/External *\|/{next};"\
    36634035"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
    36644036"     {if(hide[section]) next};"\
    3665 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
    3666 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
    3667 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
    3668 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
     4037"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
     4038"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
     4039"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
     4040"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
    36694041"     ' prfx=^$ac_symprfx]"
    36704042  else
     
    37064078          cat <<_LT_EOF > conftest.$ac_ext
    37074079/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
    3708 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
    3709 /* DATA imports from DLLs on WIN32 con't be const, because runtime
     4080#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
     4081/* DATA imports from DLLs on WIN32 can't be const, because runtime
    37104082   relocations are performed -- see ld's documentation on pseudo-relocs.  */
    37114083# define LT@&t@_DLSYM_CONST
    3712 #elif defined(__osf__)
     4084#elif defined __osf__
    37134085/* This system does not cope well with relocations in const data.  */
    37144086# define LT@&t@_DLSYM_CONST
     
    37364108  { "@PROGRAM@", (void *) 0 },
    37374109_LT_EOF
    3738           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     4110          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
    37394111          cat <<\_LT_EOF >> conftest.$ac_ext
    37404112  {0, (void *) 0}
     
    37564128          lt_globsym_save_LIBS=$LIBS
    37574129          lt_globsym_save_CFLAGS=$CFLAGS
    3758           LIBS="conftstm.$ac_objext"
     4130          LIBS=conftstm.$ac_objext
    37594131          CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
    3760           if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
     4132          if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
    37614133            pipe_works=yes
    37624134          fi
     
    37794151
    37804152  # Do not use the global_symbol_pipe unless it works.
    3781   if test "$pipe_works" = yes; then
     4153  if test yes = "$pipe_works"; then
    37824154    break
    37834155  else
     
    38064178_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
    38074179    [Transform the output of nm in a proper C declaration])
     4180_LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
     4181    [Transform the output of nm into a list of symbols to manually relocate])
    38084182_LT_DECL([global_symbol_to_c_name_address],
    38094183    [lt_cv_sys_global_symbol_to_c_name_address], [1],
     
    38124186    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
    38134187    [Transform the output of nm in a C name address pair when lib prefix is needed])
     4188_LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
     4189    [The name lister interface])
    38144190_LT_DECL([], [nm_file_list_spec], [1],
    38154191    [Specify filename containing input files for $NM])
     
    38274203m4_if([$1], [CXX], [
    38284204  # C++ specific cases for pic, static, wl, etc.
    3829   if test "$GXX" = yes; then
     4205  if test yes = "$GXX"; then
    38304206    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    38314207    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
     
    38344210    aix*)
    38354211      # All AIX code is PIC.
    3836       if test "$host_cpu" = ia64; then
     4212      if test ia64 = "$host_cpu"; then
    38374213        # AIX 5 now supports IA64 processor
    38384214        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    38394215      fi
     4216      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
    38404217      ;;
    38414218
     
    38484225      m68k)
    38494226            # FIXME: we need at least 68020 code to build shared libraries, but
    3850             # adding the `-m68020' flag to GCC prevents building anything better,
    3851             # like `-m68040'.
     4227            # adding the '-m68020' flag to GCC prevents building anything better,
     4228            # like '-m68040'.
    38524229            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
    38534230        ;;
     
    38654242      m4_if([$1], [GCJ], [],
    38664243        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
     4244      case $host_os in
     4245      os2*)
     4246        _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
     4247        ;;
     4248      esac
    38674249      ;;
    38684250    darwin* | rhapsody*)
     
    39144296      aix[[4-9]]*)
    39154297        # All AIX code is PIC.
    3916         if test "$host_cpu" = ia64; then
     4298        if test ia64 = "$host_cpu"; then
    39174299          # AIX 5 now supports IA64 processor
    39184300          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     
    39554337          CC*)
    39564338            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    3957             _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
    3958             if test "$host_cpu" != ia64; then
     4339            _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
     4340            if test ia64 != "$host_cpu"; then
    39594341              _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
    39604342            fi
     
    39624344          aCC*)
    39634345            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    3964             _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
     4346            _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
    39654347            case $host_cpu in
    39664348            hppa*64*|ia64*)
     
    39914373        esac
    39924374        ;;
    3993       linux* | k*bsd*-gnu | kopensolaris*-gnu)
     4375      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    39944376        case $cc_basename in
    39954377          KCC*)
     
    39994381            ;;
    40004382          ecpc* )
    4001             # old Intel C++ for x86_64 which still supported -KPIC.
     4383            # old Intel C++ for x86_64, which still supported -KPIC.
    40024384            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    40034385            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
     
    41444526],
    41454527[
    4146   if test "$GCC" = yes; then
     4528  if test yes = "$GCC"; then
    41474529    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    41484530    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
     
    41514533      aix*)
    41524534      # All AIX code is PIC.
    4153       if test "$host_cpu" = ia64; then
     4535      if test ia64 = "$host_cpu"; then
    41544536        # AIX 5 now supports IA64 processor
    41554537        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    41564538      fi
     4539      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
    41574540      ;;
    41584541
     
    41654548      m68k)
    41664549            # FIXME: we need at least 68020 code to build shared libraries, but
    4167             # adding the `-m68020' flag to GCC prevents building anything better,
    4168             # like `-m68040'.
     4550            # adding the '-m68020' flag to GCC prevents building anything better,
     4551            # like '-m68040'.
    41694552            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
    41704553        ;;
     
    41834566      m4_if([$1], [GCJ], [],
    41844567        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
     4568      case $host_os in
     4569      os2*)
     4570        _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
     4571        ;;
     4572      esac
    41854573      ;;
    41864574
     
    42434631    nvcc*) # Cuda Compiler Driver 2.2
    42444632      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
    4245       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
     4633      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
     4634        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
     4635      fi
    42464636      ;;
    42474637    esac
     
    42514641    aix*)
    42524642      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    4253       if test "$host_cpu" = ia64; then
     4643      if test ia64 = "$host_cpu"; then
    42544644        # AIX 5 now supports IA64 processor
    42554645        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     
    42594649      ;;
    42604650
     4651    darwin* | rhapsody*)
     4652      # PIC is the default on this platform
     4653      # Common symbols not allowed in MH_DYLIB files
     4654      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
     4655      case $cc_basename in
     4656      nagfor*)
     4657        # NAG Fortran compiler
     4658        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
     4659        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
     4660        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     4661        ;;
     4662      esac
     4663      ;;
     4664
    42614665    mingw* | cygwin* | pw32* | os2* | cegcc*)
    42624666      # This hack is so that the source file can tell whether it is being
     
    42644668      m4_if([$1], [GCJ], [],
    42654669        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
     4670      case $host_os in
     4671      os2*)
     4672        _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
     4673        ;;
     4674      esac
    42664675      ;;
    42674676
     
    42794688      esac
    42804689      # Is there a better lt_prog_compiler_static that works with the bundled CC?
    4281       _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
     4690      _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
    42824691      ;;
    42834692
     
    42884697      ;;
    42894698
    4290     linux* | k*bsd*-gnu | kopensolaris*-gnu)
     4699    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    42914700      case $cc_basename in
    4292       # old Intel for x86_64 which still supported -KPIC.
     4701      # old Intel for x86_64, which still supported -KPIC.
    42934702      ecc*)
    42944703        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     
    43154724        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    43164725        ;;
     4726      tcc*)
     4727        # Fabrice Bellard et al's Tiny C Compiler
     4728        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     4729        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
     4730        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
     4731        ;;
    43174732      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
    43184733        # Portland Group compilers (*not* the Pentium gcc compiler,
     
    43354750      *)
    43364751        case `$CC -V 2>&1 | sed 5q` in
    4337         *Sun\ F* | *Sun*Fortran*)
     4752        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
    43384753          # Sun Fortran 8.3 passes all unrecognized flags to the linker
    43394754          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
    43404755          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    43414756          _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
     4757          ;;
     4758        *Sun\ F* | *Sun*Fortran*)
     4759          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
     4760          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     4761          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
    43424762          ;;
    43434763        *Sun\ C*)
     
    43464766          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    43474767          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     4768          ;;
     4769        *Intel*\ [[CF]]*Compiler*)
     4770          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     4771          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
     4772          _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
     4773          ;;
     4774        *Portland\ Group*)
     4775          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     4776          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
     4777          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    43484778          ;;
    43494779        esac
     
    43974827
    43984828    sysv4*MP*)
    4399       if test -d /usr/nec ;then
     4829      if test -d /usr/nec; then
    44004830        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
    44014831        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     
    44264856])
    44274857case $host_os in
    4428   # For platforms which do not support PIC, -DPIC is meaningless:
     4858  # For platforms that do not support PIC, -DPIC is meaningless:
    44294859  *djgpp*)
    44304860    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
     
    44924922  aix[[4-9]]*)
    44934923    # If we're using GNU nm, then we don't want the "-C" option.
    4494     # -C means demangle to AIX nm, but means don't demangle with GNU nm
    4495     # Also, AIX nm treats weak defined symbols like other global defined
    4496     # symbols, whereas GNU nm marks them as "W".
     4924    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     4925    # Without the "-l" option, or with the "-B" option, AIX nm treats
     4926    # weak defined symbols like other global defined symbols, whereas
     4927    # GNU nm marks them as "W".
     4928    # While the 'weak' keyword is ignored in the Export File, we need
     4929    # it in the Import File for the 'aix-soname' feature, so we have
     4930    # to replace the "-B" option with "-P" for AIX nm.
    44974931    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    4498       _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'
     4932      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
    44994933    else
    4500       _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'
     4934      _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
    45014935    fi
    45024936    ;;
    45034937  pw32*)
    4504     _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
     4938    _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
    45054939    ;;
    45064940  cygwin* | mingw* | cegcc*)
    45074941    case $cc_basename in
    4508     cl*) ;;
     4942    cl*)
     4943      _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
     4944      ;;
    45094945    *)
    45104946      _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'
     
    45344970  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
    45354971  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
    4536   _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
    45374972  _LT_TAGVAR(hardcode_libdir_separator, $1)=
    45384973  _LT_TAGVAR(hardcode_minus_L, $1)=no
     
    45504985  _LT_TAGVAR(include_expsyms, $1)=
    45514986  # exclude_expsyms can be an extended regexp of symbols to exclude
    4552   # it will be wrapped by ` (' and `)$', so one must not match beginning or
    4553   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    4554   # as well as any symbol that contains `d'.
     4987  # it will be wrapped by ' (' and ')$', so one must not match beginning or
     4988  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
     4989  # as well as any symbol that contains 'd'.
    45554990  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
    45564991  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     
    45685003    # When not using gcc, we currently assume that we are using
    45695004    # Microsoft Visual C++.
    4570     if test "$GCC" != yes; then
     5005    if test yes != "$GCC"; then
    45715006      with_gnu_ld=no
    45725007    fi
     
    45765011    with_gnu_ld=yes
    45775012    ;;
    4578   openbsd*)
     5013  openbsd* | bitrig*)
    45795014    with_gnu_ld=no
    45805015    ;;
     
    45895024  # that we're better off using the native interface for both.
    45905025  lt_use_gnu_ld_interface=no
    4591   if test "$with_gnu_ld" = yes; then
     5026  if test yes = "$with_gnu_ld"; then
    45925027    case $host_os in
    45935028      aix*)
     
    46115046  fi
    46125047
    4613   if test "$lt_use_gnu_ld_interface" = yes; then
     5048  if test yes = "$lt_use_gnu_ld_interface"; then
    46145049    # If archive_cmds runs LD, not CC, wlarc should be empty
    4615     wlarc='${wl}'
     5050    wlarc='$wl'
    46165051
    46175052    # Set some defaults for GNU ld with shared library support. These
     
    46195054    # here allows them to be overridden if necessary.
    46205055    runpath_var=LD_RUN_PATH
    4621     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    4622     _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
     5056    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     5057    _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
    46235058    # ancient GNU ld didn't support --whole-archive et. al.
    46245059    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
    4625       _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     5060      _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    46265061    else
    46275062      _LT_TAGVAR(whole_archive_flag_spec, $1)=
    46285063    fi
    46295064    supports_anon_versioning=no
    4630     case `$LD -v 2>&1` in
     5065    case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
    46315066      *GNU\ gold*) supports_anon_versioning=yes ;;
    46325067      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
     
    46415076    aix[[3-9]]*)
    46425077      # On AIX/PPC, the GNU linker is very broken
    4643       if test "$host_cpu" != ia64; then
     5078      if test ia64 != "$host_cpu"; then
    46445079        _LT_TAGVAR(ld_shlibs, $1)=no
    46455080        cat <<_LT_EOF 1>&2
     
    46605095      powerpc)
    46615096            # see comment about AmigaOS4 .so support
    4662             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5097            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    46635098            _LT_TAGVAR(archive_expsym_cmds, $1)=''
    46645099        ;;
     
    46765111        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    46775112        # support --undefined.  This deserves some investigation.  FIXME
    4678         _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5113        _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    46795114      else
    46805115        _LT_TAGVAR(ld_shlibs, $1)=no
     
    46865121      # as there is no search path for DLLs.
    46875122      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
    4688       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
     5123      _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
    46895124      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    46905125      _LT_TAGVAR(always_export_symbols, $1)=no
     
    46945129
    46955130      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    4696         _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'
    4697         # If the export-symbols file already is a .def file (1st line
    4698         # is EXPORTS), use it as is; otherwise, prepend...
    4699         _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    4700           cp $export_symbols $output_objdir/$soname.def;
    4701         else
    4702           echo EXPORTS > $output_objdir/$soname.def;
    4703           cat $export_symbols >> $output_objdir/$soname.def;
    4704         fi~
    4705         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     5131        _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'
     5132        # If the export-symbols file already is a .def file, use it as
     5133        # is; otherwise, prepend EXPORTS...
     5134        _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
     5135          cp $export_symbols $output_objdir/$soname.def;
     5136        else
     5137          echo EXPORTS > $output_objdir/$soname.def;
     5138          cat $export_symbols >> $output_objdir/$soname.def;
     5139        fi~
     5140        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    47065141      else
    47075142        _LT_TAGVAR(ld_shlibs, $1)=no
     
    47105145
    47115146    haiku*)
    4712       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5147      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    47135148      _LT_TAGVAR(link_all_deplibs, $1)=yes
     5149      ;;
     5150
     5151    os2*)
     5152      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
     5153      _LT_TAGVAR(hardcode_minus_L, $1)=yes
     5154      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
     5155      shrext_cmds=.dll
     5156      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     5157        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     5158        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     5159        $ECHO EXPORTS >> $output_objdir/$libname.def~
     5160        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     5161        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     5162        emximp -o $lib $output_objdir/$libname.def'
     5163      _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     5164        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     5165        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     5166        $ECHO EXPORTS >> $output_objdir/$libname.def~
     5167        prefix_cmds="$SED"~
     5168        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     5169          prefix_cmds="$prefix_cmds -e 1d";
     5170        fi~
     5171        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     5172        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     5173        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     5174        emximp -o $lib $output_objdir/$libname.def'
     5175      _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     5176      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
    47145177      ;;
    47155178
     
    47175180      _LT_TAGVAR(hardcode_direct, $1)=no
    47185181      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    4719       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    4720       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     5182      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     5183      _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    47215184      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    47225185      # Instead, shared libraries are loaded at an image base (0x10000000 by
     
    47255188      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    47265189      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    4727       _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'
    4728       _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'
     5190      _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'
     5191      _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'
    47295192      ;;
    47305193
    47315194    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
    47325195      tmp_diet=no
    4733       if test "$host_os" = linux-dietlibc; then
     5196      if test linux-dietlibc = "$host_os"; then
    47345197        case $cc_basename in
    47355198          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     
    47375200      fi
    47385201      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
    4739          && test "$tmp_diet" = no
     5202         && test no = "$tmp_diet"
    47405203      then
    47415204        tmp_addflag=' $pic_flag'
     
    47435206        case $cc_basename,$host_cpu in
    47445207        pgcc*)                          # Portland Group C compiler
    4745           _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'
     5208          _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'
    47465209          tmp_addflag=' $pic_flag'
    47475210          ;;
    47485211        pgf77* | pgf90* | pgf95* | pgfortran*)
    47495212                                        # Portland Group f77 and f90 compilers
    4750           _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'
     5213          _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'
    47515214          tmp_addflag=' $pic_flag -Mnomain' ;;
    47525215        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
     
    47595222          _LT_TAGVAR(whole_archive_flag_spec, $1)=
    47605223          tmp_sharedflag='--shared' ;;
     5224        nagfor*)                        # NAGFOR 5.3
     5225          tmp_sharedflag='-Wl,-shared' ;;
    47615226        xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
    47625227          tmp_sharedflag='-qmkshrobj'
    47635228          tmp_addflag= ;;
    47645229        nvcc*)  # Cuda Compiler Driver 2.2
    4765           _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'
     5230          _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'
    47665231          _LT_TAGVAR(compiler_needs_object, $1)=yes
    47675232          ;;
     
    47695234        case `$CC -V 2>&1 | sed 5q` in
    47705235        *Sun\ C*)                       # Sun C 5.9
    4771           _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'
     5236          _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'
    47725237          _LT_TAGVAR(compiler_needs_object, $1)=yes
    47735238          tmp_sharedflag='-G' ;;
     
    47755240          tmp_sharedflag='-G' ;;
    47765241        esac
    4777         _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4778 
    4779         if test "x$supports_anon_versioning" = xyes; then
     5242        _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5243
     5244        if test yes = "$supports_anon_versioning"; then
    47805245          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
    4781             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    4782             echo "local: *; };" >> $output_objdir/$libname.ver~
    4783             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     5246            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     5247            echo "local: *; };" >> $output_objdir/$libname.ver~
     5248            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    47845249        fi
    47855250
    47865251        case $cc_basename in
     5252        tcc*)
     5253          _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
     5254          ;;
    47875255        xlf* | bgf* | bgxlf* | mpixlf*)
    47885256          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
    47895257          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
    4790           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
    4791           _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
     5258          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    47925259          _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
    4793           if test "x$supports_anon_versioning" = xyes; then
     5260          if test yes = "$supports_anon_versioning"; then
    47945261            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
    4795               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    4796               echo "local: *; };" >> $output_objdir/$libname.ver~
    4797               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     5262              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     5263              echo "local: *; };" >> $output_objdir/$libname.ver~
     5264              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
    47985265          fi
    47995266          ;;
     
    48095276        wlarc=
    48105277      else
    4811         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4812         _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'
     5278        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5279        _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'
    48135280      fi
    48145281      ;;
     
    48285295_LT_EOF
    48295296      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    4830         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4831         _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'
     5297        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5298        _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'
    48325299      else
    48335300        _LT_TAGVAR(ld_shlibs, $1)=no
     
    48415308        cat <<_LT_EOF 1>&2
    48425309
    4843 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
     5310*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
    48445311*** reliably create shared libraries on SCO systems.  Therefore, libtool
    48455312*** is disabling shared libraries support.  We urge you to upgrade GNU
     
    48565323          # requires that you compile everything twice, which is a pain.
    48575324          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    4858             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    4859             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4860             _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'
     5325            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     5326            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5327            _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'
    48615328          else
    48625329            _LT_TAGVAR(ld_shlibs, $1)=no
     
    48755342    *)
    48765343      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    4877         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4878         _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'
     5344        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5345        _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'
    48795346      else
    48805347        _LT_TAGVAR(ld_shlibs, $1)=no
     
    48835350    esac
    48845351
    4885     if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
     5352    if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
    48865353      runpath_var=
    48875354      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
     
    48995366      # are no directories specified by -L.
    49005367      _LT_TAGVAR(hardcode_minus_L, $1)=yes
    4901       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
     5368      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
    49025369        # Neither direct hardcoding nor static linking is supported with a
    49035370        # broken collect2.
     
    49075374
    49085375    aix[[4-9]]*)
    4909       if test "$host_cpu" = ia64; then
     5376      if test ia64 = "$host_cpu"; then
    49105377        # On IA64, the linker does run time linking by default, so we don't
    49115378        # have to do anything special.
    49125379        aix_use_runtimelinking=no
    49135380        exp_sym_flag='-Bexport'
    4914         no_entry_flag=""
     5381        no_entry_flag=
    49155382      else
    49165383        # If we're using GNU nm, then we don't want the "-C" option.
    4917         # -C means demangle to AIX nm, but means don't demangle with GNU nm
    4918         # Also, AIX nm treats weak defined symbols like other global
    4919         # defined symbols, whereas GNU nm marks them as "W".
     5384        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     5385        # Without the "-l" option, or with the "-B" option, AIX nm treats
     5386        # weak defined symbols like other global defined symbols, whereas
     5387        # GNU nm marks them as "W".
     5388        # While the 'weak' keyword is ignored in the Export File, we need
     5389        # it in the Import File for the 'aix-soname' feature, so we have
     5390        # to replace the "-B" option with "-P" for AIX nm.
    49205391        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    4921           _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'
     5392          _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
    49225393        else
    4923           _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'
     5394          _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
    49245395        fi
    49255396        aix_use_runtimelinking=no
     
    49275398        # Test if we are trying to use run time linking or normal
    49285399        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    4929         # need to do runtime linking.
     5400        # have runtime linking enabled, and use it for executables.
     5401        # For shared libraries, we enable/disable runtime linking
     5402        # depending on the kind of the shared library created -
     5403        # when "with_aix_soname,aix_use_runtimelinking" is:
     5404        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
     5405        # "aix,yes"  lib.so          shared, rtl:yes, for executables
     5406        #            lib.a           static archive
     5407        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
     5408        #            lib.a(lib.so.V) shared, rtl:no,  for executables
     5409        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
     5410        #            lib.a(lib.so.V) shared, rtl:no
     5411        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
     5412        #            lib.a           static archive
    49305413        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
    49315414          for ld_flag in $LDFLAGS; do
    4932           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
     5415          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
    49335416            aix_use_runtimelinking=yes
    49345417            break
    49355418          fi
    49365419          done
     5420          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
     5421            # With aix-soname=svr4, we create the lib.so.V shared archives only,
     5422            # so we don't have lib.a shared libs to link our executables.
     5423            # We have to force runtime linking in this case.
     5424            aix_use_runtimelinking=yes
     5425            LDFLAGS="$LDFLAGS -Wl,-brtl"
     5426          fi
    49375427          ;;
    49385428        esac
     
    49535443      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
    49545444      _LT_TAGVAR(link_all_deplibs, $1)=yes
    4955       _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
    4956 
    4957       if test "$GCC" = yes; then
     5445      _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
     5446      case $with_aix_soname,$aix_use_runtimelinking in
     5447      aix,*) ;; # traditional, no import file
     5448      svr4,* | *,yes) # use import file
     5449        # The Import File defines what to hardcode.
     5450        _LT_TAGVAR(hardcode_direct, $1)=no
     5451        _LT_TAGVAR(hardcode_direct_absolute, $1)=no
     5452        ;;
     5453      esac
     5454
     5455      if test yes = "$GCC"; then
    49585456        case $host_os in aix4.[[012]]|aix4.[[012]].*)
    49595457        # We only want to do this on AIX 4.2 and lower, the check
    49605458        # below for broken collect2 doesn't work under 4.3+
    4961           collect2name=`${CC} -print-prog-name=collect2`
     5459          collect2name=`$CC -print-prog-name=collect2`
    49625460          if test -f "$collect2name" &&
    49635461           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     
    49785476        esac
    49795477        shared_flag='-shared'
    4980         if test "$aix_use_runtimelinking" = yes; then
    4981           shared_flag="$shared_flag "'${wl}-G'
     5478        if test yes = "$aix_use_runtimelinking"; then
     5479          shared_flag="$shared_flag "'$wl-G'
    49825480        fi
    4983         _LT_TAGVAR(link_all_deplibs, $1)=no
     5481        # Need to ensure runtime linking is disabled for the traditional
     5482        # shared library, or the linker may eventually find shared libraries
     5483        # /with/ Import File - we do not want to mix them.
     5484        shared_flag_aix='-shared'
     5485        shared_flag_svr4='-shared $wl-G'
    49845486      else
    49855487        # not using gcc
    4986         if test "$host_cpu" = ia64; then
     5488        if test ia64 = "$host_cpu"; then
    49875489        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    49885490        # chokes on -Wl,-G. The following line is correct:
    49895491          shared_flag='-G'
    49905492        else
    4991           if test "$aix_use_runtimelinking" = yes; then
    4992             shared_flag='${wl}-G'
     5493          if test yes = "$aix_use_runtimelinking"; then
     5494            shared_flag='$wl-G'
    49935495          else
    4994             shared_flag='${wl}-bM:SRE'
     5496            shared_flag='$wl-bM:SRE'
    49955497          fi
     5498          shared_flag_aix='$wl-bM:SRE'
     5499          shared_flag_svr4='$wl-G'
    49965500        fi
    49975501      fi
    49985502
    4999       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
     5503      _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
    50005504      # It seems that -bexpall does not export symbols beginning with
    50015505      # underscore (_), so it is better to generate a list of symbols to export.
    50025506      _LT_TAGVAR(always_export_symbols, $1)=yes
    5003       if test "$aix_use_runtimelinking" = yes; then
     5507      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    50045508        # Warning - without using the other runtime loading flags (-brtl),
    50055509        # -berok will link without error, but may produce a broken library.
     
    50085512        # empty executable.
    50095513        _LT_SYS_MODULE_PATH_AIX([$1])
    5010         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
    5011         _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"
     5514        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
     5515        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
    50125516      else
    5013         if test "$host_cpu" = ia64; then
    5014           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
     5517        if test ia64 = "$host_cpu"; then
     5518          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
    50155519          _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
    5016           _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"
     5520          _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"
    50175521        else
    50185522         # Determine the default libpath from the value encoded in an
    50195523         # empty executable.
    50205524         _LT_SYS_MODULE_PATH_AIX([$1])
    5021          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
     5525         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
    50225526          # Warning - without using the other run time loading flags,
    50235527          # -berok will link without error, but may produce a broken library.
    5024           _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
    5025           _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
    5026           if test "$with_gnu_ld" = yes; then
     5528          _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
     5529          _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
     5530          if test yes = "$with_gnu_ld"; then
    50275531            # We only use this code for GNU lds that support --whole-archive.
    5028             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     5532            _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
    50295533          else
    50305534            # Exported symbols can be pulled into shared objects from archives
     
    50325536          fi
    50335537          _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
    5034           # This is similar to how AIX traditionally builds its shared libraries.
    5035           _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'
     5538          _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
     5539          # -brtl affects multiple linker settings, -berok does not and is overridden later
     5540          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
     5541          if test svr4 != "$with_aix_soname"; then
     5542            # This is similar to how AIX traditionally builds its shared libraries.
     5543            _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
     5544          fi
     5545          if test aix != "$with_aix_soname"; then
     5546            _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
     5547          else
     5548            # used by -dlpreopen to get the symbols
     5549            _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
     5550          fi
     5551          _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
    50365552        fi
    50375553      fi
     
    50425558      powerpc)
    50435559            # see comment about AmigaOS4 .so support
    5044             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5560            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    50455561            _LT_TAGVAR(archive_expsym_cmds, $1)=''
    50465562        ;;
     
    50725588        libext=lib
    50735589        # Tell ltmain to make .dll files, not .so files.
    5074         shrext_cmds=".dll"
     5590        shrext_cmds=.dll
    50755591        # FIXME: Setting linknames here is a bad hack.
    5076         _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
    5077         _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    5078             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
    5079           else
    5080             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
    5081           fi~
    5082           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    5083           linknames='
     5592        _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
     5593        _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
     5594            cp "$export_symbols" "$output_objdir/$soname.def";
     5595            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
     5596          else
     5597            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
     5598          fi~
     5599          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     5600          linknames='
    50845601        # The linker will not automatically build a static lib if we build a DLL.
    50855602        # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
    50865603        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
     5604        _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
    50875605        _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'
    50885606        # Don't use ranlib
    50895607        _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
    50905608        _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
    5091           lt_tool_outputfile="@TOOL_OUTPUT@"~
    5092           case $lt_outputfile in
    5093             *.exe|*.EXE) ;;
    5094             *)
    5095               lt_outputfile="$lt_outputfile.exe"
    5096               lt_tool_outputfile="$lt_tool_outputfile.exe"
    5097               ;;
    5098           esac~
    5099           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
    5100             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    5101             $RM "$lt_outputfile.manifest";
    5102           fi'
     5609          lt_tool_outputfile="@TOOL_OUTPUT@"~
     5610          case $lt_outputfile in
     5611            *.exe|*.EXE) ;;
     5612            *)
     5613              lt_outputfile=$lt_outputfile.exe
     5614              lt_tool_outputfile=$lt_tool_outputfile.exe
     5615              ;;
     5616          esac~
     5617          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
     5618            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     5619            $RM "$lt_outputfile.manifest";
     5620          fi'
    51035621        ;;
    51045622      *)
     
    51095627        libext=lib
    51105628        # Tell ltmain to make .dll files, not .so files.
    5111         shrext_cmds=".dll"
     5629        shrext_cmds=.dll
    51125630        # FIXME: Setting linknames here is a bad hack.
    51135631        _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
     
    51315649      ;;
    51325650
    5133     freebsd1*)
    5134       _LT_TAGVAR(ld_shlibs, $1)=no
    5135       ;;
    5136 
    51375651    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
    51385652    # support.  Future versions do this automatically, but an explicit c++rt0.o
     
    51475661
    51485662    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    5149     freebsd2*)
     5663    freebsd2.*)
    51505664      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    51515665      _LT_TAGVAR(hardcode_direct, $1)=yes
     
    51635677
    51645678    hpux9*)
    5165       if test "$GCC" = yes; then
    5166         _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'
     5679      if test yes = "$GCC"; then
     5680        _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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
    51675681      else
    5168         _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'
     5682        _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
    51695683      fi
    5170       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
     5684      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
    51715685      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    51725686      _LT_TAGVAR(hardcode_direct, $1)=yes
     
    51755689      # but as the default location of the library.
    51765690      _LT_TAGVAR(hardcode_minus_L, $1)=yes
    5177       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     5691      _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    51785692      ;;
    51795693
    51805694    hpux10*)
    5181       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
    5182         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     5695      if test yes,no = "$GCC,$with_gnu_ld"; then
     5696        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    51835697      else
    51845698        _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    51855699      fi
    5186       if test "$with_gnu_ld" = no; then
    5187         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
    5188         _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
     5700      if test no = "$with_gnu_ld"; then
     5701        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
    51895702        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    51905703        _LT_TAGVAR(hardcode_direct, $1)=yes
    51915704        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
    5192         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     5705        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    51935706        # hardcode_minus_L: Not really in the search PATH,
    51945707        # but as the default location of the library.
     
    51985711
    51995712    hpux11*)
    5200       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
     5713      if test yes,no = "$GCC,$with_gnu_ld"; then
    52015714        case $host_cpu in
    52025715        hppa*64*)
    5203           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     5716          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    52045717          ;;
    52055718        ia64*)
    5206           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     5719          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    52075720          ;;
    52085721        *)
    5209           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     5722          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    52105723          ;;
    52115724        esac
     
    52135726        case $host_cpu in
    52145727        hppa*64*)
    5215           _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     5728          _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    52165729          ;;
    52175730        ia64*)
    5218           _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     5731          _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    52195732          ;;
    52205733        *)
     
    52245737          _LT_LINKER_OPTION([if $CC understands -b],
    52255738            _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
    5226             [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
     5739            [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
    52275740            [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
    5228           [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
     5741          [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
    52295742          ;;
    52305743        esac
    52315744      fi
    5232       if test "$with_gnu_ld" = no; then
    5233         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
     5745      if test no = "$with_gnu_ld"; then
     5746        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
    52345747        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    52355748
     
    52425755          _LT_TAGVAR(hardcode_direct, $1)=yes
    52435756          _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
    5244           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     5757          _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    52455758
    52465759          # hardcode_minus_L: Not really in the search PATH,
     
    52535766
    52545767    irix5* | irix6* | nonstopux*)
    5255       if test "$GCC" = yes; then
    5256         _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'
     5768      if test yes = "$GCC"; then
     5769        _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'
    52575770        # Try to use the -exported_symbol ld option, if it does not
    52585771        # work, assume that -exports_file does not work either and
     
    52615774        AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
    52625775          [lt_cv_irix_exported_symbol],
    5263           [save_LDFLAGS="$LDFLAGS"
    5264            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
     5776          [save_LDFLAGS=$LDFLAGS
     5777           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
    52655778           AC_LINK_IFELSE(
    52665779             [AC_LANG_SOURCE(
     
    52755788              [lt_cv_irix_exported_symbol=yes],
    52765789              [lt_cv_irix_exported_symbol=no])
    5277            LDFLAGS="$save_LDFLAGS"])
    5278         if test "$lt_cv_irix_exported_symbol" = yes; then
    5279           _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'
     5790           LDFLAGS=$save_LDFLAGS])
     5791        if test yes = "$lt_cv_irix_exported_symbol"; then
     5792          _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'
    52805793        fi
     5794        _LT_TAGVAR(link_all_deplibs, $1)=no
    52815795      else
    5282         _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'
    5283         _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'
     5796        _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'
     5797        _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'
    52845798      fi
    52855799      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
    5286       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     5800      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    52875801      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    52885802      _LT_TAGVAR(inherit_rpath, $1)=yes
    52895803      _LT_TAGVAR(link_all_deplibs, $1)=yes
     5804      ;;
     5805
     5806    linux*)
     5807      case $cc_basename in
     5808      tcc*)
     5809        # Fabrice Bellard et al's Tiny C Compiler
     5810        _LT_TAGVAR(ld_shlibs, $1)=yes
     5811        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     5812        ;;
     5813      esac
    52905814      ;;
    52915815
     
    53045828      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    53055829      _LT_TAGVAR(hardcode_direct, $1)=yes
    5306       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     5830      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    53075831      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    53085832      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
     
    53125836      ;;
    53135837
    5314     openbsd*)
     5838    openbsd* | bitrig*)
    53155839      if test -f /usr/libexec/ld.so; then
    53165840        _LT_TAGVAR(hardcode_direct, $1)=yes
    53175841        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    53185842        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
    5319         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     5843        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    53205844          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    5321           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
    5322           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    5323           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     5845          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
     5846          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     5847          _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    53245848        else
    5325           case $host_os in
    5326            openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
    5327              _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    5328              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
    5329              ;;
    5330            *)
    5331              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    5332              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    5333              ;;
    5334           esac
     5849          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     5850          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
    53355851        fi
    53365852      else
     
    53435859      _LT_TAGVAR(hardcode_minus_L, $1)=yes
    53445860      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    5345       _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'
    5346       _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
     5861      shrext_cmds=.dll
     5862      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     5863        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     5864        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     5865        $ECHO EXPORTS >> $output_objdir/$libname.def~
     5866        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     5867        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     5868        emximp -o $lib $output_objdir/$libname.def'
     5869      _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     5870        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     5871        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     5872        $ECHO EXPORTS >> $output_objdir/$libname.def~
     5873        prefix_cmds="$SED"~
     5874        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     5875          prefix_cmds="$prefix_cmds -e 1d";
     5876        fi~
     5877        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     5878        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     5879        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     5880        emximp -o $lib $output_objdir/$libname.def'
     5881      _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     5882      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
    53475883      ;;
    53485884
    53495885    osf3*)
    5350       if test "$GCC" = yes; then
    5351         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
    5352         _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'
     5886      if test yes = "$GCC"; then
     5887        _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
     5888        _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'
    53535889      else
    53545890        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    5355         _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'
     5891        _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'
    53565892      fi
    53575893      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
    5358       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     5894      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    53595895      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    53605896      ;;
    53615897
    53625898    osf4* | osf5*)      # as osf3* with the addition of -msym flag
    5363       if test "$GCC" = yes; then
    5364         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
    5365         _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'
    5366         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     5899      if test yes = "$GCC"; then
     5900        _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
     5901        _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'
     5902        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    53675903      else
    53685904        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    5369         _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'
     5905        _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'
    53705906        _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~
    5371         $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'
     5907          $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'
    53725908
    53735909        # Both c and cxx compiler support -rpath directly
     
    53805916    solaris*)
    53815917      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
    5382       if test "$GCC" = yes; then
    5383         wlarc='${wl}'
    5384         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     5918      if test yes = "$GCC"; then
     5919        wlarc='$wl'
     5920        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    53855921        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    5386           $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'
     5922          $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'
    53875923      else
    53885924        case `$CC -V 2>&1` in
    53895925        *"Compilers 5.0"*)
    53905926          wlarc=''
    5391           _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
     5927          _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
    53925928          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    5393           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
     5929            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
    53945930          ;;
    53955931        *)
    5396           wlarc='${wl}'
    5397           _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
     5932          wlarc='$wl'
     5933          _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
    53985934          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    5399           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
     5935            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    54005936          ;;
    54015937        esac
     
    54075943      *)
    54085944        # The compiler driver will combine and reorder linker options,
    5409         # but understands `-z linker_flag'.  GCC discards it without `$wl',
     5945        # but understands '-z linker_flag'.  GCC discards it without '$wl',
    54105946        # but is careful enough not to reorder.
    54115947        # Supported since Solaris 2.6 (maybe 2.5.1?)
    5412         if test "$GCC" = yes; then
    5413           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     5948        if test yes = "$GCC"; then
     5949          _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    54145950        else
    54155951          _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
     
    54215957
    54225958    sunos4*)
    5423       if test "x$host_vendor" = xsequent; then
     5959      if test sequent = "$host_vendor"; then
    54245960        # Use $CC to link under sequent, because it throws in some extra .o
    54255961        # files that make .init and .fini sections work.
    5426         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
     5962        _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    54275963      else
    54285964        _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
     
    54736009
    54746010    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
    5475       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
     6011      _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
    54766012      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    54776013      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    54786014      runpath_var='LD_RUN_PATH'
    54796015
    5480       if test "$GCC" = yes; then
    5481         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    5482         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6016      if test yes = "$GCC"; then
     6017        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6018        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    54836019      else
    5484         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    5485         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6020        _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6021        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    54866022      fi
    54876023      ;;
    54886024
    54896025    sysv5* | sco3.2v5* | sco5v6*)
    5490       # Note: We can NOT use -z defs as we might desire, because we do not
     6026      # Note: We CANNOT use -z defs as we might desire, because we do not
    54916027      # link with -lc, and that would cause any symbols used from libc to
    54926028      # always be unresolved, which means just about no library would
     
    54946030      # though, which does catch some bad symbols but isn't as heavy-handed
    54956031      # as -z defs.
    5496       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
    5497       _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
     6032      _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
     6033      _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
    54986034      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    54996035      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    5500       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
     6036      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
    55016037      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
    55026038      _LT_TAGVAR(link_all_deplibs, $1)=yes
    5503       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
     6039      _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
    55046040      runpath_var='LD_RUN_PATH'
    55056041
    5506       if test "$GCC" = yes; then
    5507         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    5508         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6042      if test yes = "$GCC"; then
     6043        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6044        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    55096045      else
    5510         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    5511         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6046        _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6047        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    55126048      fi
    55136049      ;;
     
    55246060    esac
    55256061
    5526     if test x$host_vendor = xsni; then
     6062    if test sni = "$host_vendor"; then
    55276063      case $host in
    55286064      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    5529         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
     6065        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
    55306066        ;;
    55316067      esac
     
    55346070])
    55356071AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
    5536 test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
     6072test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
    55376073
    55386074_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
     
    55516087  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
    55526088
    5553   if test "$enable_shared" = yes && test "$GCC" = yes; then
     6089  if test yes,yes = "$GCC,$enable_shared"; then
    55546090    case $_LT_TAGVAR(archive_cmds, $1) in
    55556091    *'~'*)
     
    56286164    [Flag to hardcode $libdir into a binary during linking.
    56296165    This must work even if $libdir does not exist])
    5630 _LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
    5631     [[If ld is used when linking, flag to hardcode $libdir into a binary
    5632     during linking.  This must work even if $libdir does not exist]])
    56336166_LT_TAGDECL([], [hardcode_libdir_separator], [1],
    56346167    [Whether we need a single "-rpath" flag with a separated argument])
    56356168_LT_TAGDECL([], [hardcode_direct], [0],
    5636     [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
     6169    [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
    56376170    DIR into the resulting binary])
    56386171_LT_TAGDECL([], [hardcode_direct_absolute], [0],
    5639     [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
     6172    [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
    56406173    DIR into the resulting binary and the resulting library dependency is
    5641     "absolute", i.e impossible to change by setting ${shlibpath_var} if the
     6174    "absolute", i.e impossible to change by setting $shlibpath_var if the
    56426175    library is relocated])
    56436176_LT_TAGDECL([], [hardcode_minus_L], [0],
     
    56806213# Ensure that the configuration variables for a C compiler are suitably
    56816214# defined.  These variables are subsequently used by _LT_CONFIG to write
    5682 # the compiler configuration to `libtool'.
     6215# the compiler configuration to 'libtool'.
    56836216m4_defun([_LT_LANG_C_CONFIG],
    56846217[m4_require([_LT_DECL_EGREP])dnl
    5685 lt_save_CC="$CC"
     6218lt_save_CC=$CC
    56866219AC_LANG_PUSH(C)
    56876220
     
    57236256  _LT_CMD_STRIPLIB
    57246257
    5725   # Report which library types will actually be built
     6258  # Report what library types will actually be built
    57266259  AC_MSG_CHECKING([if libtool supports shared libraries])
    57276260  AC_MSG_RESULT([$can_build_shared])
    57286261
    57296262  AC_MSG_CHECKING([whether to build shared libraries])
    5730   test "$can_build_shared" = "no" && enable_shared=no
     6263  test no = "$can_build_shared" && enable_shared=no
    57316264
    57326265  # On AIX, shared libraries and static libraries use the same namespace, and
     
    57346267  case $host_os in
    57356268  aix3*)
    5736     test "$enable_shared" = yes && enable_static=no
     6269    test yes = "$enable_shared" && enable_static=no
    57376270    if test -n "$RANLIB"; then
    57386271      archive_cmds="$archive_cmds~\$RANLIB \$lib"
     
    57426275
    57436276  aix[[4-9]]*)
    5744     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    5745       test "$enable_shared" = yes && enable_static=no
     6277    if test ia64 != "$host_cpu"; then
     6278      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
     6279      yes,aix,yes) ;;                   # shared object as lib.so file only
     6280      yes,svr4,*) ;;                    # shared object as lib.so archive member only
     6281      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
     6282      esac
    57466283    fi
    57476284    ;;
     
    57516288  AC_MSG_CHECKING([whether to build static libraries])
    57526289  # Make sure either enable_shared or enable_static is yes.
    5753   test "$enable_shared" = yes || enable_static=yes
     6290  test yes = "$enable_shared" || enable_static=yes
    57546291  AC_MSG_RESULT([$enable_static])
    57556292
     
    57576294fi
    57586295AC_LANG_POP
    5759 CC="$lt_save_CC"
     6296CC=$lt_save_CC
    57606297])# _LT_LANG_C_CONFIG
    57616298
     
    57656302# Ensure that the configuration variables for a C++ compiler are suitably
    57666303# defined.  These variables are subsequently used by _LT_CONFIG to write
    5767 # the compiler configuration to `libtool'.
     6304# the compiler configuration to 'libtool'.
    57686305m4_defun([_LT_LANG_CXX_CONFIG],
    57696306[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
    57706307m4_require([_LT_DECL_EGREP])dnl
    57716308m4_require([_LT_PATH_MANIFEST_TOOL])dnl
    5772 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
    5773     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
    5774     (test "X$CXX" != "Xg++"))) ; then
     6309if test -n "$CXX" && ( test no != "$CXX" &&
     6310    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
     6311    (test g++ != "$CXX"))); then
    57756312  AC_PROG_CXXCPP
    57766313else
     
    57886325_LT_TAGVAR(hardcode_direct_absolute, $1)=no
    57896326_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
    5790 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
    57916327_LT_TAGVAR(hardcode_libdir_separator, $1)=
    57926328_LT_TAGVAR(hardcode_minus_L, $1)=no
     
    58156351# are currently assumed to apply to all compilers on this platform,
    58166352# and will be corrupted by setting them based on a non-working compiler.
    5817 if test "$_lt_caught_CXX_error" != yes; then
     6353if test yes != "$_lt_caught_CXX_error"; then
    58186354  # Code to be used in simple compile tests
    58196355  lt_simple_compile_test_code="int some_variable = 0;"
     
    58576393    # We don't want -fno-exception when compiling C++ code, so set the
    58586394    # no_builtin_flag separately
    5859     if test "$GXX" = yes; then
     6395    if test yes = "$GXX"; then
    58606396      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
    58616397    else
     
    58636399    fi
    58646400
    5865     if test "$GXX" = yes; then
     6401    if test yes = "$GXX"; then
    58666402      # Set up default GNU C++ configuration
    58676403
     
    58706406      # Check if GNU C++ uses GNU ld as the underlying linker, since the
    58716407      # archiving commands below assume that GNU ld is being used.
    5872       if test "$with_gnu_ld" = yes; then
    5873         _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    5874         _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'
    5875 
    5876         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    5877         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
     6408      if test yes = "$with_gnu_ld"; then
     6409        _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     6410        _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'
     6411
     6412        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     6413        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
    58786414
    58796415        # If archive_cmds runs LD, not CC, wlarc should be empty
    58806416        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
    58816417        #     investigate it a little bit more. (MM)
    5882         wlarc='${wl}'
     6418        wlarc='$wl'
    58836419
    58846420        # ancient GNU ld didn't support --whole-archive et. al.
    58856421        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
    58866422          $GREP 'no-whole-archive' > /dev/null; then
    5887           _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     6423          _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    58886424        else
    58896425          _LT_TAGVAR(whole_archive_flag_spec, $1)=
     
    59216457        ;;
    59226458      aix[[4-9]]*)
    5923         if test "$host_cpu" = ia64; then
     6459        if test ia64 = "$host_cpu"; then
    59246460          # On IA64, the linker does run time linking by default, so we don't
    59256461          # have to do anything special.
    59266462          aix_use_runtimelinking=no
    59276463          exp_sym_flag='-Bexport'
    5928           no_entry_flag=""
     6464          no_entry_flag=
    59296465        else
    59306466          aix_use_runtimelinking=no
     
    59326468          # Test if we are trying to use run time linking or normal
    59336469          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    5934           # need to do runtime linking.
     6470          # have runtime linking enabled, and use it for executables.
     6471          # For shared libraries, we enable/disable runtime linking
     6472          # depending on the kind of the shared library created -
     6473          # when "with_aix_soname,aix_use_runtimelinking" is:
     6474          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
     6475          # "aix,yes"  lib.so          shared, rtl:yes, for executables
     6476          #            lib.a           static archive
     6477          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
     6478          #            lib.a(lib.so.V) shared, rtl:no,  for executables
     6479          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
     6480          #            lib.a(lib.so.V) shared, rtl:no
     6481          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
     6482          #            lib.a           static archive
    59356483          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
    59366484            for ld_flag in $LDFLAGS; do
     
    59426490              esac
    59436491            done
     6492            if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
     6493              # With aix-soname=svr4, we create the lib.so.V shared archives only,
     6494              # so we don't have lib.a shared libs to link our executables.
     6495              # We have to force runtime linking in this case.
     6496              aix_use_runtimelinking=yes
     6497              LDFLAGS="$LDFLAGS -Wl,-brtl"
     6498            fi
    59446499            ;;
    59456500          esac
     
    59606515        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
    59616516        _LT_TAGVAR(link_all_deplibs, $1)=yes
    5962         _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
    5963 
    5964         if test "$GXX" = yes; then
     6517        _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
     6518        case $with_aix_soname,$aix_use_runtimelinking in
     6519        aix,*) ;;       # no import file
     6520        svr4,* | *,yes) # use import file
     6521          # The Import File defines what to hardcode.
     6522          _LT_TAGVAR(hardcode_direct, $1)=no
     6523          _LT_TAGVAR(hardcode_direct_absolute, $1)=no
     6524          ;;
     6525        esac
     6526
     6527        if test yes = "$GXX"; then
    59656528          case $host_os in aix4.[[012]]|aix4.[[012]].*)
    59666529          # We only want to do this on AIX 4.2 and lower, the check
    59676530          # below for broken collect2 doesn't work under 4.3+
    5968           collect2name=`${CC} -print-prog-name=collect2`
     6531          collect2name=`$CC -print-prog-name=collect2`
    59696532          if test -f "$collect2name" &&
    59706533             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     
    59846547          esac
    59856548          shared_flag='-shared'
    5986           if test "$aix_use_runtimelinking" = yes; then
    5987             shared_flag="$shared_flag "'${wl}-G'
     6549          if test yes = "$aix_use_runtimelinking"; then
     6550            shared_flag=$shared_flag' $wl-G'
    59886551          fi
     6552          # Need to ensure runtime linking is disabled for the traditional
     6553          # shared library, or the linker may eventually find shared libraries
     6554          # /with/ Import File - we do not want to mix them.
     6555          shared_flag_aix='-shared'
     6556          shared_flag_svr4='-shared $wl-G'
    59896557        else
    59906558          # not using gcc
    5991           if test "$host_cpu" = ia64; then
     6559          if test ia64 = "$host_cpu"; then
    59926560          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    59936561          # chokes on -Wl,-G. The following line is correct:
    59946562          shared_flag='-G'
    59956563          else
    5996             if test "$aix_use_runtimelinking" = yes; then
    5997               shared_flag='${wl}-G'
     6564            if test yes = "$aix_use_runtimelinking"; then
     6565              shared_flag='$wl-G'
    59986566            else
    5999               shared_flag='${wl}-bM:SRE'
     6567              shared_flag='$wl-bM:SRE'
    60006568            fi
     6569            shared_flag_aix='$wl-bM:SRE'
     6570            shared_flag_svr4='$wl-G'
    60016571          fi
    60026572        fi
    60036573
    6004         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
     6574        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
    60056575        # It seems that -bexpall does not export symbols beginning with
    60066576        # underscore (_), so it is better to generate a list of symbols to
    60076577        # export.
    60086578        _LT_TAGVAR(always_export_symbols, $1)=yes
    6009         if test "$aix_use_runtimelinking" = yes; then
     6579        if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    60106580          # Warning - without using the other runtime loading flags (-brtl),
    60116581          # -berok will link without error, but may produce a broken library.
    6012           _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
     6582          # The "-G" linker flag allows undefined symbols.
     6583          _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
    60136584          # Determine the default libpath from the value encoded in an empty
    60146585          # executable.
    60156586          _LT_SYS_MODULE_PATH_AIX([$1])
    6016           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
    6017 
    6018           _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"
     6587          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
     6588
     6589          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
    60196590        else
    6020           if test "$host_cpu" = ia64; then
    6021             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
     6591          if test ia64 = "$host_cpu"; then
     6592            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
    60226593            _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
    6023             _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"
     6594            _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"
    60246595          else
    60256596            # Determine the default libpath from the value encoded in an
    60266597            # empty executable.
    60276598            _LT_SYS_MODULE_PATH_AIX([$1])
    6028             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
     6599            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
    60296600            # Warning - without using the other run time loading flags,
    60306601            # -berok will link without error, but may produce a broken library.
    6031             _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
    6032             _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
    6033             if test "$with_gnu_ld" = yes; then
     6602            _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
     6603            _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
     6604            if test yes = "$with_gnu_ld"; then
    60346605              # We only use this code for GNU lds that support --whole-archive.
    6035               _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     6606              _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
    60366607            else
    60376608              # Exported symbols can be pulled into shared objects from archives
     
    60396610            fi
    60406611            _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
    6041             # This is similar to how AIX traditionally builds its shared
    6042             # libraries.
    6043             _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'
     6612            _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
     6613            # -brtl affects multiple linker settings, -berok does not and is overridden later
     6614            compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
     6615            if test svr4 != "$with_aix_soname"; then
     6616              # This is similar to how AIX traditionally builds its shared
     6617              # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
     6618              _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
     6619            fi
     6620            if test aix != "$with_aix_soname"; then
     6621              _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
     6622            else
     6623              # used by -dlpreopen to get the symbols
     6624              _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
     6625            fi
     6626            _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
    60446627          fi
    60456628        fi
     
    60516634          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    60526635          # support --undefined.  This deserves some investigation.  FIXME
    6053           _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6636          _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    60546637        else
    60556638          _LT_TAGVAR(ld_shlibs, $1)=no
     
    60796662          libext=lib
    60806663          # Tell ltmain to make .dll files, not .so files.
    6081           shrext_cmds=".dll"
     6664          shrext_cmds=.dll
    60826665          # FIXME: Setting linknames here is a bad hack.
    6083           _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
    6084           _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    6085               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
    6086             else
    6087               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
    6088             fi~
    6089             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    6090             linknames='
     6666          _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
     6667          _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
     6668              cp "$export_symbols" "$output_objdir/$soname.def";
     6669              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
     6670            else
     6671              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
     6672            fi~
     6673            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     6674            linknames='
    60916675          # The linker will not automatically build a static lib if we build a DLL.
    60926676          # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
     
    60956679          _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
    60966680          _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
    6097             lt_tool_outputfile="@TOOL_OUTPUT@"~
    6098             case $lt_outputfile in
    6099               *.exe|*.EXE) ;;
    6100               *)
    6101                 lt_outputfile="$lt_outputfile.exe"
    6102                 lt_tool_outputfile="$lt_tool_outputfile.exe"
    6103                 ;;
    6104             esac~
    6105             func_to_tool_file "$lt_outputfile"~
    6106             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
    6107               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    6108               $RM "$lt_outputfile.manifest";
    6109             fi'
     6681            lt_tool_outputfile="@TOOL_OUTPUT@"~
     6682            case $lt_outputfile in
     6683              *.exe|*.EXE) ;;
     6684              *)
     6685                lt_outputfile=$lt_outputfile.exe
     6686                lt_tool_outputfile=$lt_tool_outputfile.exe
     6687                ;;
     6688            esac~
     6689            func_to_tool_file "$lt_outputfile"~
     6690            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
     6691              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     6692              $RM "$lt_outputfile.manifest";
     6693            fi'
    61106694          ;;
    61116695        *)
     
    61146698          # as there is no search path for DLLs.
    61156699          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
    6116           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
     6700          _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
    61176701          _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    61186702          _LT_TAGVAR(always_export_symbols, $1)=no
     
    61206704
    61216705          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    6122             _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'
    6123             # If the export-symbols file already is a .def file (1st line
    6124             # is EXPORTS), use it as is; otherwise, prepend...
    6125             _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    6126               cp $export_symbols $output_objdir/$soname.def;
    6127             else
    6128               echo EXPORTS > $output_objdir/$soname.def;
    6129               cat $export_symbols >> $output_objdir/$soname.def;
    6130             fi~
    6131             $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'
     6706            _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'
     6707            # If the export-symbols file already is a .def file, use it as
     6708            # is; otherwise, prepend EXPORTS...
     6709            _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
     6710              cp $export_symbols $output_objdir/$soname.def;
     6711            else
     6712              echo EXPORTS > $output_objdir/$soname.def;
     6713              cat $export_symbols >> $output_objdir/$soname.def;
     6714            fi~
     6715            $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'
    61326716          else
    61336717            _LT_TAGVAR(ld_shlibs, $1)=no
     
    61386722      darwin* | rhapsody*)
    61396723        _LT_DARWIN_LINKER_FEATURES($1)
     6724        ;;
     6725
     6726      os2*)
     6727        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
     6728        _LT_TAGVAR(hardcode_minus_L, $1)=yes
     6729        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
     6730        shrext_cmds=.dll
     6731        _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     6732          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     6733          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     6734          $ECHO EXPORTS >> $output_objdir/$libname.def~
     6735          emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     6736          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     6737          emximp -o $lib $output_objdir/$libname.def'
     6738        _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     6739          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     6740          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     6741          $ECHO EXPORTS >> $output_objdir/$libname.def~
     6742          prefix_cmds="$SED"~
     6743          if test EXPORTS = "`$SED 1q $export_symbols`"; then
     6744            prefix_cmds="$prefix_cmds -e 1d";
     6745          fi~
     6746          prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     6747          cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     6748          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     6749          emximp -o $lib $output_objdir/$libname.def'
     6750        _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     6751        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
    61406752        ;;
    61416753
     
    61586770        ;;
    61596771
    6160       freebsd[[12]]*)
     6772      freebsd2.*)
    61616773        # C++ shared libraries reported to be fairly broken before
    61626774        # switch to ELF
     
    61746786        ;;
    61756787
    6176       gnu*)
    6177         ;;
    6178 
    61796788      haiku*)
    6180         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6789        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    61816790        _LT_TAGVAR(link_all_deplibs, $1)=yes
    61826791        ;;
    61836792
    61846793      hpux9*)
    6185         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
     6794        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
    61866795        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    6187         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     6796        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    61886797        _LT_TAGVAR(hardcode_direct, $1)=yes
    61896798        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
     
    61976806            ;;
    61986807          aCC*)
    6199             _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'
     6808            _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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
    62006809            # Commands to make compiler produce verbose output that lists
    62016810            # what "hidden" libraries, object files and flags are used when
     
    62066815            # from the output so that they don't get included in the library
    62076816            # dependencies.
    6208             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"'
     6817            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"'
    62096818            ;;
    62106819          *)
    6211             if test "$GXX" = yes; then
    6212               _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'
     6820            if test yes = "$GXX"; then
     6821              _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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
    62136822            else
    62146823              # FIXME: insert proper C++ library support
     
    62206829
    62216830      hpux10*|hpux11*)
    6222         if test $with_gnu_ld = no; then
    6223           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
     6831        if test no = "$with_gnu_ld"; then
     6832          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
    62246833          _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    62256834
     
    62286837              ;;
    62296838            *)
    6230               _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     6839              _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    62316840              ;;
    62326841          esac
     
    62546863            case $host_cpu in
    62556864              hppa*64*)
    6256                 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6865                _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    62576866                ;;
    62586867              ia64*)
    6259                 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6868                _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    62606869                ;;
    62616870              *)
    6262                 _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'
     6871                _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'
    62636872                ;;
    62646873            esac
     
    62716880            # from the output so that they don't get included in the library
    62726881            # dependencies.
    6273             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"'
     6882            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"'
    62746883            ;;
    62756884          *)
    6276             if test "$GXX" = yes; then
    6277               if test $with_gnu_ld = no; then
     6885            if test yes = "$GXX"; then
     6886              if test no = "$with_gnu_ld"; then
    62786887                case $host_cpu in
    62796888                  hppa*64*)
    6280                     _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6889                    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    62816890                    ;;
    62826891                  ia64*)
    6283                     _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'
     6892                    _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'
    62846893                    ;;
    62856894                  *)
    6286                     _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'
     6895                    _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'
    62876896                    ;;
    62886897                esac
     
    62996908        _LT_TAGVAR(hardcode_direct, $1)=no
    63006909        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    6301         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    6302         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     6910        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     6911        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    63036912        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    63046913        # Instead, shared libraries are loaded at an image base (0x10000000 by
     
    63076916        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    63086917        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    6309         _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'
    6310         _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'
     6918        _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'
     6919        _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'
    63116920        ;;
    63126921      irix5* | irix6*)
     
    63146923          CC*)
    63156924            # SGI C++
    6316             _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'
     6925            _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'
    63176926
    63186927            # Archives containing C++ object files must be created using
     
    63236932            ;;
    63246933          *)
    6325             if test "$GXX" = yes; then
    6326               if test "$with_gnu_ld" = no; then
    6327                 _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'
     6934            if test yes = "$GXX"; then
     6935              if test no = "$with_gnu_ld"; then
     6936                _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'
    63286937              else
    6329                 _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'
     6938                _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'
    63306939              fi
    63316940            fi
     
    63336942            ;;
    63346943        esac
    6335         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     6944        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    63366945        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    63376946        _LT_TAGVAR(inherit_rpath, $1)=yes
    63386947        ;;
    63396948
    6340       linux* | k*bsd*-gnu | kopensolaris*-gnu)
     6949      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    63416950        case $cc_basename in
    63426951          KCC*)
     
    63466955            # ends with ".so" (or ".sl" for HP-UX), so rename the library
    63476956            # to its proper name (with version) after linking.
    6348             _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'
    6349             _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'
     6957            _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'
     6958            _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'
    63506959            # Commands to make compiler produce verbose output that lists
    63516960            # what "hidden" libraries, object files and flags are used when
     
    63566965            # from the output so that they don't get included in the library
    63576966            # dependencies.
    6358             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"'
    6359 
    6360             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    6361             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
     6967            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"'
     6968
     6969            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     6970            _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
    63626971
    63636972            # Archives containing C++ object files must be created using
     
    63736982            case `$CC -V 2>&1` in
    63746983              *"Version 7."*)
    6375                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6376                 _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'
     6984                _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     6985                _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'
    63776986                ;;
    63786987              *)  # Version 8.0 or newer
     
    63816990                  ia64*) tmp_idyn=' -i_dynamic';;
    63826991                esac
    6383                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6384                 _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'
     6992                _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     6993                _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'
    63856994                ;;
    63866995            esac
    63876996            _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    6388             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    6389             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
    6390             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     6997            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     6998            _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
     6999            _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
    63917000            ;;
    63927001          pgCC* | pgcpp*)
     
    63957004            *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
    63967005              _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
    6397                 rm -rf $tpldir~
    6398                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
    6399                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
     7006               rm -rf $tpldir~
     7007               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
     7008               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
    64007009              _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
    6401                 rm -rf $tpldir~
    6402                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
    6403                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
    6404                 $RANLIB $oldlib'
     7010                rm -rf $tpldir~
     7011                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
     7012                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
     7013                $RANLIB $oldlib'
    64057014              _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
    6406                 rm -rf $tpldir~
    6407                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    6408                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
     7015                rm -rf $tpldir~
     7016                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     7017                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    64097018              _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
    6410                 rm -rf $tpldir~
    6411                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    6412                 $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'
     7019                rm -rf $tpldir~
     7020                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     7021                $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'
    64137022              ;;
    64147023            *) # Version 6 and above use weak symbols
    6415               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
    6416               _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'
     7024              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     7025              _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'
    64177026              ;;
    64187027            esac
    64197028
    6420             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
    6421             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
    6422             _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'
     7029            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
     7030            _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
     7031            _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'
    64237032            ;;
    64247033          cxx*)
    64257034            # Compaq C++
    6426             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6427             _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'
     7035            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     7036            _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'
    64287037
    64297038            runpath_var=LD_RUN_PATH
     
    64397048            # from the output so that they don't get included in the library
    64407049            # dependencies.
    6441             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'
     7050            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'
    64427051            ;;
    64437052          xl* | mpixl* | bgxl*)
    64447053            # IBM XL 8.0 on PPC, with GNU ld
    6445             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    6446             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
    6447             _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6448             if test "x$supports_anon_versioning" = xyes; then
     7054            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     7055            _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
     7056            _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     7057            if test yes = "$supports_anon_versioning"; then
    64497058              _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
    6450                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    6451                 echo "local: *; };" >> $output_objdir/$libname.ver~
    6452                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     7059                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     7060                echo "local: *; };" >> $output_objdir/$libname.ver~
     7061                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    64537062            fi
    64547063            ;;
     
    64587067              # Sun C++ 5.9
    64597068              _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
    6460               _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    6461               _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'
     7069              _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     7070              _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'
    64627071              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
    6463               _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'
     7072              _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'
    64647073              _LT_TAGVAR(compiler_needs_object, $1)=yes
    64657074
     
    65197128        ;;
    65207129
    6521       openbsd2*)
    6522         # C++ shared libraries are fairly broken
    6523         _LT_TAGVAR(ld_shlibs, $1)=no
    6524         ;;
    6525 
    6526       openbsd*)
     7130      openbsd* | bitrig*)
    65277131        if test -f /usr/libexec/ld.so; then
    65287132          _LT_TAGVAR(hardcode_direct, $1)=yes
     
    65307134          _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
    65317135          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    6532           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    6533           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    6534             _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'
    6535             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
    6536             _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     7136          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     7137          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
     7138            _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'
     7139            _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
     7140            _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    65377141          fi
    65387142          output_verbose_link_cmd=func_echo_all
     
    65507154            # ends with ".so" (or ".sl" for HP-UX), so rename the library
    65517155            # to its proper name (with version) after linking.
    6552             _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'
    6553 
    6554             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     7156            _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'
     7157
     7158            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
    65557159            _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    65567160
     
    65707174            case $host in
    65717175              osf3*)
    6572                 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
    6573                 _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'
    6574                 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     7176                _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
     7177                _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'
     7178                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    65757179                ;;
    65767180              *)
    65777181                _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    6578                 _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'
     7182                _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'
    65797183                _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
    6580                   echo "-hidden">> $lib.exp~
    6581                   $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~
    6582                   $RM $lib.exp'
     7184                  echo "-hidden">> $lib.exp~
     7185                  $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~
     7186                  $RM $lib.exp'
    65837187                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
    65847188                ;;
     
    65957199            # from the output so that they don't get included in the library
    65967200            # dependencies.
    6597             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"'
     7201            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"'
    65987202            ;;
    65997203          *)
    6600             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    6601               _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
     7204            if test yes,no = "$GXX,$with_gnu_ld"; then
     7205              _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
    66027206              case $host in
    66037207                osf3*)
    6604                   _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'
     7208                  _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'
    66057209                  ;;
    66067210                *)
    6607                   _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'
     7211                  _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'
    66087212                  ;;
    66097213              esac
    66107214
    6611               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     7215              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    66127216              _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    66137217
     
    66557259            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
    66567260            _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
    6657             _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     7261            _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    66587262            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    6659               $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'
     7263              $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'
    66607264
    66617265            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
     
    66657269              *)
    66667270                # The compiler driver will combine and reorder linker options,
    6667                 # but understands `-z linker_flag'.
     7271                # but understands '-z linker_flag'.
    66687272                # Supported since Solaris 2.6 (maybe 2.5.1?)
    66697273                _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
     
    66827286          gcx*)
    66837287            # Green Hills C++ Compiler
    6684             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
     7288            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    66857289
    66867290            # The C++ compiler must be used to create the archive.
     
    66897293          *)
    66907294            # GNU C++ compiler with Solaris linker
    6691             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    6692               _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
     7295            if test yes,no = "$GXX,$with_gnu_ld"; then
     7296              _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
    66937297              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
    6694                 _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'
     7298                _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    66957299                _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    6696                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     7300                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
    66977301
    66987302                # Commands to make compiler produce verbose output that lists
     
    67017305                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    67027306              else
    6703                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
     7307                # g++ 2.7 appears to require '-G' NOT '-shared' on this
    67047308                # platform.
    6705                 _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
     7309                _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    67067310                _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    6707                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     7311                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
    67087312
    67097313                # Commands to make compiler produce verbose output that lists
     
    67137317              fi
    67147318
    6715               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
     7319              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
    67167320              case $host_os in
    67177321                solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
    67187322                *)
    6719                   _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     7323                  _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    67207324                  ;;
    67217325              esac
     
    67267330
    67277331    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
    6728       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
     7332      _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
    67297333      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    67307334      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
     
    67337337      case $cc_basename in
    67347338        CC*)
    6735           _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    6736           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7339          _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7340          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    67377341          ;;
    67387342        *)
    6739           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    6740           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7343          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7344          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    67417345          ;;
    67427346      esac
     
    67447348
    67457349      sysv5* | sco3.2v5* | sco5v6*)
    6746         # Note: We can NOT use -z defs as we might desire, because we do not
     7350        # Note: We CANNOT use -z defs as we might desire, because we do not
    67477351        # link with -lc, and that would cause any symbols used from libc to
    67487352        # always be unresolved, which means just about no library would
     
    67507354        # though, which does catch some bad symbols but isn't as heavy-handed
    67517355        # as -z defs.
    6752         _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
    6753         _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
     7356        _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
     7357        _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
    67547358        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    67557359        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    6756         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
     7360        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
    67577361        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
    67587362        _LT_TAGVAR(link_all_deplibs, $1)=yes
    6759         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
     7363        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
    67607364        runpath_var='LD_RUN_PATH'
    67617365
    67627366        case $cc_basename in
    67637367          CC*)
    6764             _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    6765             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7368            _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7369            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    67667370            _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
    6767               '"$_LT_TAGVAR(old_archive_cmds, $1)"
     7371              '"$_LT_TAGVAR(old_archive_cmds, $1)"
    67687372            _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
    6769               '"$_LT_TAGVAR(reload_cmds, $1)"
     7373              '"$_LT_TAGVAR(reload_cmds, $1)"
    67707374            ;;
    67717375          *)
    6772             _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    6773             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7376            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7377            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    67747378            ;;
    67757379        esac
     
    68027406
    68037407    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
    6804     test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
    6805 
    6806     _LT_TAGVAR(GCC, $1)="$GXX"
    6807     _LT_TAGVAR(LD, $1)="$LD"
     7408    test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
     7409
     7410    _LT_TAGVAR(GCC, $1)=$GXX
     7411    _LT_TAGVAR(LD, $1)=$LD
    68087412
    68097413    ## CAVEAT EMPTOR:
     
    68327436  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
    68337437  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
    6834 fi # test "$_lt_caught_CXX_error" != yes
     7438fi # test yes != "$_lt_caught_CXX_error"
    68357439
    68367440AC_LANG_POP
     
    68547458func_stripname_cnf ()
    68557459{
    6856   case ${2} in
    6857   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
    6858   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
     7460  case @S|@2 in
     7461  .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
     7462  *)  func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
    68597463  esac
    68607464} # func_stripname_cnf
    68617465])# _LT_FUNC_STRIPNAME_CNF
     7466
    68627467
    68637468# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
     
    69197524};
    69207525_LT_EOF
     7526], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
     7527package foo
     7528func foo() {
     7529}
     7530_LT_EOF
    69217531])
    69227532
     
    69257535*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
    69267536*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
     7537*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
    69277538esac
    69287539
     
    69387549
    69397550  for p in `eval "$output_verbose_link_cmd"`; do
    6940     case ${prev}${p} in
     7551    case $prev$p in
    69417552
    69427553    -L* | -R* | -l*)
    69437554       # Some compilers place space between "-{L,R}" and the path.
    69447555       # Remove the space.
    6945        if test $p = "-L" ||
    6946           test $p = "-R"; then
     7556       if test x-L = "$p" ||
     7557          test x-R = "$p"; then
    69477558         prev=$p
    69487559         continue
     
    69607571       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
    69617572       esac
    6962        if test "$pre_test_object_deps_done" = no; then
    6963          case ${prev} in
     7573       if test no = "$pre_test_object_deps_done"; then
     7574         case $prev in
    69647575         -L | -R)
    69657576           # Internal compiler library paths should come after those
     
    69677578           # user supplied libs so there is no need to process them.
    69687579           if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
    6969              _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
     7580             _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p
    69707581           else
    6971              _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
     7582             _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p"
    69727583           fi
    69737584           ;;
     
    69777588       else
    69787589         if test -z "$_LT_TAGVAR(postdeps, $1)"; then
    6979            _LT_TAGVAR(postdeps, $1)="${prev}${p}"
     7590           _LT_TAGVAR(postdeps, $1)=$prev$p
    69807591         else
    6981            _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
     7592           _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p"
    69827593         fi
    69837594       fi
     
    69947605       fi
    69957606
    6996        if test "$pre_test_object_deps_done" = no; then
     7607       if test no = "$pre_test_object_deps_done"; then
    69977608         if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
    6998            _LT_TAGVAR(predep_objects, $1)="$p"
     7609           _LT_TAGVAR(predep_objects, $1)=$p
    69997610         else
    70007611           _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
     
    70027613       else
    70037614         if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
    7004            _LT_TAGVAR(postdep_objects, $1)="$p"
     7615           _LT_TAGVAR(postdep_objects, $1)=$p
    70057616         else
    70067617           _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
     
    70337644  _LT_TAGVAR(postdeps,$1)=
    70347645  ;;
    7035 
    7036 linux*)
    7037   case `$CC -V 2>&1 | sed 5q` in
    7038   *Sun\ C*)
    7039     # Sun C++ 5.9
    7040 
    7041     # The more standards-conforming stlport4 library is
    7042     # incompatible with the Cstd library. Avoid specifying
    7043     # it if it's in CXXFLAGS. Ignore libCrun as
    7044     # -library=stlport4 depends on it.
    7045     case " $CXX $CXXFLAGS " in
    7046     *" -library=stlport4 "*)
    7047       solaris_use_stlport4=yes
    7048       ;;
    7049     esac
    7050 
    7051     if test "$solaris_use_stlport4" != yes; then
    7052       _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
    7053     fi
    7054     ;;
    7055   esac
    7056   ;;
    7057 
    7058 solaris*)
    7059   case $cc_basename in
    7060   CC* | sunCC*)
    7061     # The more standards-conforming stlport4 library is
    7062     # incompatible with the Cstd library. Avoid specifying
    7063     # it if it's in CXXFLAGS. Ignore libCrun as
    7064     # -library=stlport4 depends on it.
    7065     case " $CXX $CXXFLAGS " in
    7066     *" -library=stlport4 "*)
    7067       solaris_use_stlport4=yes
    7068       ;;
    7069     esac
    7070 
    7071     # Adding this requires a known-good setup of shared libraries for
    7072     # Sun compiler versions before 5.6, else PIC objects from an old
    7073     # archive will be linked into the output, leading to subtle bugs.
    7074     if test "$solaris_use_stlport4" != yes; then
    7075       _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
    7076     fi
    7077     ;;
    7078   esac
    7079   ;;
    70807646esac
    70817647])
     
    70867652 _LT_TAGVAR(compiler_lib_search_dirs, $1)=
    70877653if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
    7088  _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
     7654 _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
    70897655fi
    70907656_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
     
    71067672# Ensure that the configuration variables for a Fortran 77 compiler are
    71077673# suitably defined.  These variables are subsequently used by _LT_CONFIG
    7108 # to write the compiler configuration to `libtool'.
     7674# to write the compiler configuration to 'libtool'.
    71097675m4_defun([_LT_LANG_F77_CONFIG],
    71107676[AC_LANG_PUSH(Fortran 77)
    7111 if test -z "$F77" || test "X$F77" = "Xno"; then
     7677if test -z "$F77" || test no = "$F77"; then
    71127678  _lt_disable_F77=yes
    71137679fi
     
    71217687_LT_TAGVAR(hardcode_direct_absolute, $1)=no
    71227688_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
    7123 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
    71247689_LT_TAGVAR(hardcode_libdir_separator, $1)=
    71257690_LT_TAGVAR(hardcode_minus_L, $1)=no
     
    71477712# are currently assumed to apply to all compilers on this platform,
    71487713# and will be corrupted by setting them based on a non-working compiler.
    7149 if test "$_lt_disable_F77" != yes; then
     7714if test yes != "$_lt_disable_F77"; then
    71507715  # Code to be used in simple compile tests
    71517716  lt_simple_compile_test_code="\
     
    71697734
    71707735  # Allow CC to be a program name with arguments.
    7171   lt_save_CC="$CC"
     7736  lt_save_CC=$CC
    71727737  lt_save_GCC=$GCC
    71737738  lt_save_CFLAGS=$CFLAGS
     
    71837748
    71847749    AC_MSG_CHECKING([whether to build shared libraries])
    7185     test "$can_build_shared" = "no" && enable_shared=no
     7750    test no = "$can_build_shared" && enable_shared=no
    71867751
    71877752    # On AIX, shared libraries and static libraries use the same namespace, and
     
    71897754    case $host_os in
    71907755      aix3*)
    7191         test "$enable_shared" = yes && enable_static=no
     7756        test yes = "$enable_shared" && enable_static=no
    71927757        if test -n "$RANLIB"; then
    71937758          archive_cmds="$archive_cmds~\$RANLIB \$lib"
     
    71967761        ;;
    71977762      aix[[4-9]]*)
    7198         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    7199           test "$enable_shared" = yes && enable_static=no
     7763        if test ia64 != "$host_cpu"; then
     7764          case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
     7765          yes,aix,yes) ;;               # shared object as lib.so file only
     7766          yes,svr4,*) ;;                # shared object as lib.so archive member only
     7767          yes,*) enable_static=no ;;    # shared object in lib.a archive as well
     7768          esac
    72007769        fi
    72017770        ;;
     
    72057774    AC_MSG_CHECKING([whether to build static libraries])
    72067775    # Make sure either enable_shared or enable_static is yes.
    7207     test "$enable_shared" = yes || enable_static=yes
     7776    test yes = "$enable_shared" || enable_static=yes
    72087777    AC_MSG_RESULT([$enable_static])
    72097778
    7210     _LT_TAGVAR(GCC, $1)="$G77"
    7211     _LT_TAGVAR(LD, $1)="$LD"
     7779    _LT_TAGVAR(GCC, $1)=$G77
     7780    _LT_TAGVAR(LD, $1)=$LD
    72127781
    72137782    ## CAVEAT EMPTOR:
     
    72267795
    72277796  GCC=$lt_save_GCC
    7228   CC="$lt_save_CC"
    7229   CFLAGS="$lt_save_CFLAGS"
    7230 fi # test "$_lt_disable_F77" != yes
     7797  CC=$lt_save_CC
     7798  CFLAGS=$lt_save_CFLAGS
     7799fi # test yes != "$_lt_disable_F77"
    72317800
    72327801AC_LANG_POP
     
    72387807# Ensure that the configuration variables for a Fortran compiler are
    72397808# suitably defined.  These variables are subsequently used by _LT_CONFIG
    7240 # to write the compiler configuration to `libtool'.
     7809# to write the compiler configuration to 'libtool'.
    72417810m4_defun([_LT_LANG_FC_CONFIG],
    72427811[AC_LANG_PUSH(Fortran)
    72437812
    7244 if test -z "$FC" || test "X$FC" = "Xno"; then
     7813if test -z "$FC" || test no = "$FC"; then
    72457814  _lt_disable_FC=yes
    72467815fi
     
    72547823_LT_TAGVAR(hardcode_direct_absolute, $1)=no
    72557824_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
    7256 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
    72577825_LT_TAGVAR(hardcode_libdir_separator, $1)=
    72587826_LT_TAGVAR(hardcode_minus_L, $1)=no
     
    72807848# are currently assumed to apply to all compilers on this platform,
    72817849# and will be corrupted by setting them based on a non-working compiler.
    7282 if test "$_lt_disable_FC" != yes; then
     7850if test yes != "$_lt_disable_FC"; then
    72837851  # Code to be used in simple compile tests
    72847852  lt_simple_compile_test_code="\
     
    73027870
    73037871  # Allow CC to be a program name with arguments.
    7304   lt_save_CC="$CC"
     7872  lt_save_CC=$CC
    73057873  lt_save_GCC=$GCC
    73067874  lt_save_CFLAGS=$CFLAGS
     
    73187886
    73197887    AC_MSG_CHECKING([whether to build shared libraries])
    7320     test "$can_build_shared" = "no" && enable_shared=no
     7888    test no = "$can_build_shared" && enable_shared=no
    73217889
    73227890    # On AIX, shared libraries and static libraries use the same namespace, and
     
    73247892    case $host_os in
    73257893      aix3*)
    7326         test "$enable_shared" = yes && enable_static=no
     7894        test yes = "$enable_shared" && enable_static=no
    73277895        if test -n "$RANLIB"; then
    73287896          archive_cmds="$archive_cmds~\$RANLIB \$lib"
     
    73317899        ;;
    73327900      aix[[4-9]]*)
    7333         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    7334           test "$enable_shared" = yes && enable_static=no
     7901        if test ia64 != "$host_cpu"; then
     7902          case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
     7903          yes,aix,yes) ;;               # shared object as lib.so file only
     7904          yes,svr4,*) ;;                # shared object as lib.so archive member only
     7905          yes,*) enable_static=no ;;    # shared object in lib.a archive as well
     7906          esac
    73357907        fi
    73367908        ;;
     
    73407912    AC_MSG_CHECKING([whether to build static libraries])
    73417913    # Make sure either enable_shared or enable_static is yes.
    7342     test "$enable_shared" = yes || enable_static=yes
     7914    test yes = "$enable_shared" || enable_static=yes
    73437915    AC_MSG_RESULT([$enable_static])
    73447916
    7345     _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
    7346     _LT_TAGVAR(LD, $1)="$LD"
     7917    _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu
     7918    _LT_TAGVAR(LD, $1)=$LD
    73477919
    73487920    ## CAVEAT EMPTOR:
     
    73647936  CC=$lt_save_CC
    73657937  CFLAGS=$lt_save_CFLAGS
    7366 fi # test "$_lt_disable_FC" != yes
     7938fi # test yes != "$_lt_disable_FC"
    73677939
    73687940AC_LANG_POP
     
    73747946# Ensure that the configuration variables for the GNU Java Compiler compiler
    73757947# are suitably defined.  These variables are subsequently used by _LT_CONFIG
    7376 # to write the compiler configuration to `libtool'.
     7948# to write the compiler configuration to 'libtool'.
    73777949m4_defun([_LT_LANG_GCJ_CONFIG],
    73787950[AC_REQUIRE([LT_PROG_GCJ])dnl
     
    74087980compiler=$CC
    74097981_LT_TAGVAR(compiler, $1)=$CC
    7410 _LT_TAGVAR(LD, $1)="$LD"
     7982_LT_TAGVAR(LD, $1)=$LD
    74117983_LT_CC_BASENAME([$compiler])
    74127984
     
    74418013
    74428014
     8015# _LT_LANG_GO_CONFIG([TAG])
     8016# --------------------------
     8017# Ensure that the configuration variables for the GNU Go compiler
     8018# are suitably defined.  These variables are subsequently used by _LT_CONFIG
     8019# to write the compiler configuration to 'libtool'.
     8020m4_defun([_LT_LANG_GO_CONFIG],
     8021[AC_REQUIRE([LT_PROG_GO])dnl
     8022AC_LANG_SAVE
     8023
     8024# Source file extension for Go test sources.
     8025ac_ext=go
     8026
     8027# Object file extension for compiled Go test sources.
     8028objext=o
     8029_LT_TAGVAR(objext, $1)=$objext
     8030
     8031# Code to be used in simple compile tests
     8032lt_simple_compile_test_code="package main; func main() { }"
     8033
     8034# Code to be used in simple link tests
     8035lt_simple_link_test_code='package main; func main() { }'
     8036
     8037# ltmain only uses $CC for tagged configurations so make sure $CC is set.
     8038_LT_TAG_COMPILER
     8039
     8040# save warnings/boilerplate of simple test code
     8041_LT_COMPILER_BOILERPLATE
     8042_LT_LINKER_BOILERPLATE
     8043
     8044# Allow CC to be a program name with arguments.
     8045lt_save_CC=$CC
     8046lt_save_CFLAGS=$CFLAGS
     8047lt_save_GCC=$GCC
     8048GCC=yes
     8049CC=${GOC-"gccgo"}
     8050CFLAGS=$GOFLAGS
     8051compiler=$CC
     8052_LT_TAGVAR(compiler, $1)=$CC
     8053_LT_TAGVAR(LD, $1)=$LD
     8054_LT_CC_BASENAME([$compiler])
     8055
     8056# Go did not exist at the time GCC didn't implicitly link libc in.
     8057_LT_TAGVAR(archive_cmds_need_lc, $1)=no
     8058
     8059_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
     8060_LT_TAGVAR(reload_flag, $1)=$reload_flag
     8061_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
     8062
     8063## CAVEAT EMPTOR:
     8064## There is no encapsulation within the following macros, do not change
     8065## the running order or otherwise move them around unless you know exactly
     8066## what you are doing...
     8067if test -n "$compiler"; then
     8068  _LT_COMPILER_NO_RTTI($1)
     8069  _LT_COMPILER_PIC($1)
     8070  _LT_COMPILER_C_O($1)
     8071  _LT_COMPILER_FILE_LOCKS($1)
     8072  _LT_LINKER_SHLIBS($1)
     8073  _LT_LINKER_HARDCODE_LIBPATH($1)
     8074
     8075  _LT_CONFIG($1)
     8076fi
     8077
     8078AC_LANG_RESTORE
     8079
     8080GCC=$lt_save_GCC
     8081CC=$lt_save_CC
     8082CFLAGS=$lt_save_CFLAGS
     8083])# _LT_LANG_GO_CONFIG
     8084
     8085
    74438086# _LT_LANG_RC_CONFIG([TAG])
    74448087# -------------------------
    74458088# Ensure that the configuration variables for the Windows resource compiler
    74468089# are suitably defined.  These variables are subsequently used by _LT_CONFIG
    7447 # to write the compiler configuration to `libtool'.
     8090# to write the compiler configuration to 'libtool'.
    74488091m4_defun([_LT_LANG_RC_CONFIG],
    74498092[AC_REQUIRE([LT_PROG_RC])dnl
     
    74618104
    74628105# Code to be used in simple link tests
    7463 lt_simple_link_test_code="$lt_simple_compile_test_code"
     8106lt_simple_link_test_code=$lt_simple_compile_test_code
    74648107
    74658108# ltmain only uses $CC for tagged configurations so make sure $CC is set.
     
    74718114
    74728115# Allow CC to be a program name with arguments.
    7473 lt_save_CC="$CC"
     8116lt_save_CC=$CC
    74748117lt_save_CFLAGS=$CFLAGS
    74758118lt_save_GCC=$GCC
     
    75008143  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
    75018144    [AC_CHECK_TOOL(GCJ, gcj,)
    7502       test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
     8145      test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
    75038146      AC_SUBST(GCJFLAGS)])])[]dnl
    75048147])
     
    75088151dnl aclocal-1.4 backwards compatibility:
    75098152dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
     8153
     8154
     8155# LT_PROG_GO
     8156# ----------
     8157AC_DEFUN([LT_PROG_GO],
     8158[AC_CHECK_TOOL(GOC, gccgo,)
     8159])
    75108160
    75118161
     
    76048254# along with /bin/sed that truncates output.
    76058255for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
    7606   test ! -f $lt_ac_sed && continue
     8256  test ! -f "$lt_ac_sed" && continue
    76078257  cat /dev/null > conftest.in
    76088258  lt_ac_count=0
     
    76218271    cmp -s conftest.out conftest.nl || break
    76228272    # 10000 chars as input seems more than enough
    7623     test $lt_ac_count -gt 10 && break
     8273    test 10 -lt "$lt_ac_count" && break
    76248274    lt_ac_count=`expr $lt_ac_count + 1`
    7625     if test $lt_ac_count -gt $lt_ac_max; then
     8275    if test "$lt_ac_count" -gt "$lt_ac_max"; then
    76268276      lt_ac_max=$lt_ac_count
    76278277      lt_cv_path_SED=$lt_ac_sed
     
    76478297# or has some other useful features.
    76488298m4_defun([_LT_CHECK_SHELL_FEATURES],
    7649 [AC_MSG_CHECKING([whether the shell understands some XSI constructs])
    7650 # Try some XSI features
    7651 xsi_shell=no
    7652 ( _lt_dummy="a/b/c"
    7653   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
    7654       = c,a/b,b/c, \
    7655     && eval 'test $(( 1 + 1 )) -eq 2 \
    7656     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    7657   && xsi_shell=yes
    7658 AC_MSG_RESULT([$xsi_shell])
    7659 _LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
    7660 
    7661 AC_MSG_CHECKING([whether the shell understands "+="])
    7662 lt_shell_append=no
    7663 ( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
    7664     >/dev/null 2>&1 \
    7665   && lt_shell_append=yes
    7666 AC_MSG_RESULT([$lt_shell_append])
    7667 _LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
    7668 
    7669 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     8299[if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    76708300  lt_unset=unset
    76718301else
     
    76918321
    76928322
    7693 # _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
    7694 # ------------------------------------------------------
    7695 # In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
    7696 # '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.
    7697 m4_defun([_LT_PROG_FUNCTION_REPLACE],
    7698 [dnl {
    7699 sed -e '/^$1 ()$/,/^} # $1 /c\
    7700 $1 ()\
    7701 {\
    7702 m4_bpatsubsts([$2], [$], [\\], [^\([     ]\)], [\\\1])
    7703 } # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \
    7704   && mv -f "$cfgfile.tmp" "$cfgfile" \
    7705     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    7706 test 0 -eq $? || _lt_function_replace_fail=:
    7707 ])
    7708 
    7709 
    7710 # _LT_PROG_REPLACE_SHELLFNS
    7711 # -------------------------
    7712 # Replace existing portable implementations of several shell functions with
    7713 # equivalent extended shell implementations where those features are available..
    7714 m4_defun([_LT_PROG_REPLACE_SHELLFNS],
    7715 [if test x"$xsi_shell" = xyes; then
    7716   _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl
    7717     case ${1} in
    7718       */*) func_dirname_result="${1%/*}${2}" ;;
    7719       *  ) func_dirname_result="${3}" ;;
    7720     esac])
    7721 
    7722   _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl
    7723     func_basename_result="${1##*/}"])
    7724 
    7725   _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl
    7726     case ${1} in
    7727       */*) func_dirname_result="${1%/*}${2}" ;;
    7728       *  ) func_dirname_result="${3}" ;;
    7729     esac
    7730     func_basename_result="${1##*/}"])
    7731 
    7732   _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
    7733     # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
    7734     # positional parameters, so assign one to ordinary parameter first.
    7735     func_stripname_result=${3}
    7736     func_stripname_result=${func_stripname_result#"${1}"}
    7737     func_stripname_result=${func_stripname_result%"${2}"}])
    7738 
    7739   _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
    7740     func_split_long_opt_name=${1%%=*}
    7741     func_split_long_opt_arg=${1#*=}])
    7742 
    7743   _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
    7744     func_split_short_opt_arg=${1#??}
    7745     func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
    7746 
    7747   _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
    7748     case ${1} in
    7749       *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
    7750       *)    func_lo2o_result=${1} ;;
    7751     esac])
    7752 
    7753   _LT_PROG_FUNCTION_REPLACE([func_xform], [    func_xform_result=${1%.*}.lo])
    7754 
    7755   _LT_PROG_FUNCTION_REPLACE([func_arith], [    func_arith_result=$(( $[*] ))])
    7756 
    7757   _LT_PROG_FUNCTION_REPLACE([func_len], [    func_len_result=${#1}])
    7758 fi
    7759 
    7760 if test x"$lt_shell_append" = xyes; then
    7761   _LT_PROG_FUNCTION_REPLACE([func_append], [    eval "${1}+=\\${2}"])
    7762 
    7763   _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl
    7764     func_quote_for_eval "${2}"
    7765 dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
    7766     eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
    7767 
    7768   # Save a `func_append' function call where possible by direct use of '+='
    7769   sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
    7770     && mv -f "$cfgfile.tmp" "$cfgfile" \
    7771       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    7772   test 0 -eq $? || _lt_function_replace_fail=:
    7773 else
    7774   # Save a `func_append' function call even when '+=' is not available
    7775   sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
    7776     && mv -f "$cfgfile.tmp" "$cfgfile" \
    7777       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    7778   test 0 -eq $? || _lt_function_replace_fail=:
    7779 fi
    7780 
    7781 if test x"$_lt_function_replace_fail" = x":"; then
    7782   AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
    7783 fi
    7784 ])
    7785 
    77868323# _LT_PATH_CONVERSION_FUNCTIONS
    77878324# -----------------------------
    7788 # Determine which file name conversion functions should be used by
     8325# Determine what file name conversion functions should be used by
    77898326# func_to_host_file (and, implicitly, by func_to_host_path).  These are needed
    77908327# for certain cross-compile configurations and native mingw.
  • trunk/FACT++/.macro_dir/ltoptions.m4

    r12832 r18603  
    11# Helper functions for option handling.                    -*- Autoconf -*-
    22#
    3 #   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
    4 #   Inc.
     3#   Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
     4#   Foundation, Inc.
    55#   Written by Gary V. Vaughan, 2004
    66#
     
    99# modifications, as long as this notice is preserved.
    1010
    11 # serial 7 ltoptions.m4
     11# serial 8 ltoptions.m4
    1212
    1313# This is to help aclocal find these macros, as it can't see m4_define.
     
    3030m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
    3131        _LT_MANGLE_DEFUN([$1], [$2]),
    32     [m4_warning([Unknown $1 option `$2'])])[]dnl
     32    [m4_warning([Unknown $1 option '$2'])])[]dnl
    3333])
    3434
     
    7676  dnl If no reference was made to various pairs of opposing options, then
    7777  dnl we run the default mode handler for the pair.  For example, if neither
    78   dnl `shared' nor `disable-shared' was passed, we enable building of shared
     78  dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
    7979  dnl archives by default:
    8080  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
     
    8282  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
    8383  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
    84                    [_LT_ENABLE_FAST_INSTALL])
     84                   [_LT_ENABLE_FAST_INSTALL])
     85  _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
     86                   [_LT_WITH_AIX_SONAME([aix])])
    8587  ])
    8688])# _LT_SET_OPTIONS
     
    113115AC_DIAGNOSE([obsolete],
    114116[$0: Remove this warning and the call to _LT_SET_OPTION when you
    115 put the `dlopen' option into LT_INIT's first parameter.])
     117put the 'dlopen' option into LT_INIT's first parameter.])
    116118])
    117119
     
    149151AC_DIAGNOSE([obsolete],
    150152[$0: Remove this warning and the call to _LT_SET_OPTION when you
    151 put the `win32-dll' option into LT_INIT's first parameter.])
     153put the 'win32-dll' option into LT_INIT's first parameter.])
    152154])
    153155
     
    158160# _LT_ENABLE_SHARED([DEFAULT])
    159161# ----------------------------
    160 # implement the --enable-shared flag, and supports the `shared' and
    161 # `disable-shared' LT_INIT options.
    162 # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
     162# implement the --enable-shared flag, and supports the 'shared' and
     163# 'disable-shared' LT_INIT options.
     164# DEFAULT is either 'yes' or 'no'.  If omitted, it defaults to 'yes'.
    163165m4_define([_LT_ENABLE_SHARED],
    164166[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
     
    173175      enable_shared=no
    174176      # Look at the argument we got.  We use all the common list separators.
    175       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     177      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    176178      for pkg in $enableval; do
    177         IFS="$lt_save_ifs"
     179        IFS=$lt_save_ifs
    178180        if test "X$pkg" = "X$p"; then
    179181          enable_shared=yes
    180182        fi
    181183      done
    182       IFS="$lt_save_ifs"
     184      IFS=$lt_save_ifs
    183185      ;;
    184186    esac],
     
    212214# _LT_ENABLE_STATIC([DEFAULT])
    213215# ----------------------------
    214 # implement the --enable-static flag, and support the `static' and
    215 # `disable-static' LT_INIT options.
    216 # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
     216# implement the --enable-static flag, and support the 'static' and
     217# 'disable-static' LT_INIT options.
     218# DEFAULT is either 'yes' or 'no'.  If omitted, it defaults to 'yes'.
    217219m4_define([_LT_ENABLE_STATIC],
    218220[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
     
    227229     enable_static=no
    228230      # Look at the argument we got.  We use all the common list separators.
    229       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     231      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    230232      for pkg in $enableval; do
    231         IFS="$lt_save_ifs"
     233        IFS=$lt_save_ifs
    232234        if test "X$pkg" = "X$p"; then
    233235          enable_static=yes
    234236        fi
    235237      done
    236       IFS="$lt_save_ifs"
     238      IFS=$lt_save_ifs
    237239      ;;
    238240    esac],
     
    266268# _LT_ENABLE_FAST_INSTALL([DEFAULT])
    267269# ----------------------------------
    268 # implement the --enable-fast-install flag, and support the `fast-install'
    269 # and `disable-fast-install' LT_INIT options.
    270 # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
     270# implement the --enable-fast-install flag, and support the 'fast-install'
     271# and 'disable-fast-install' LT_INIT options.
     272# DEFAULT is either 'yes' or 'no'.  If omitted, it defaults to 'yes'.
    271273m4_define([_LT_ENABLE_FAST_INSTALL],
    272274[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
     
    281283      enable_fast_install=no
    282284      # Look at the argument we got.  We use all the common list separators.
    283       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     285      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    284286      for pkg in $enableval; do
    285         IFS="$lt_save_ifs"
     287        IFS=$lt_save_ifs
    286288        if test "X$pkg" = "X$p"; then
    287289          enable_fast_install=yes
    288290        fi
    289291      done
    290       IFS="$lt_save_ifs"
     292      IFS=$lt_save_ifs
    291293      ;;
    292294    esac],
     
    305307AC_DIAGNOSE([obsolete],
    306308[$0: Remove this warning and the call to _LT_SET_OPTION when you put
    307 the `fast-install' option into LT_INIT's first parameter.])
     309the 'fast-install' option into LT_INIT's first parameter.])
    308310])
    309311
     
    312314AC_DIAGNOSE([obsolete],
    313315[$0: Remove this warning and the call to _LT_SET_OPTION when you put
    314 the `disable-fast-install' option into LT_INIT's first parameter.])
     316the 'disable-fast-install' option into LT_INIT's first parameter.])
    315317])
    316318
     
    320322
    321323
     324# _LT_WITH_AIX_SONAME([DEFAULT])
     325# ----------------------------------
     326# implement the --with-aix-soname flag, and support the `aix-soname=aix'
     327# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
     328# is either `aix', `both' or `svr4'.  If omitted, it defaults to `aix'.
     329m4_define([_LT_WITH_AIX_SONAME],
     330[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
     331shared_archive_member_spec=
     332case $host,$enable_shared in
     333power*-*-aix[[5-9]]*,yes)
     334  AC_MSG_CHECKING([which variant of shared library versioning to provide])
     335  AC_ARG_WITH([aix-soname],
     336    [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
     337      [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
     338    [case $withval in
     339    aix|svr4|both)
     340      ;;
     341    *)
     342      AC_MSG_ERROR([Unknown argument to --with-aix-soname])
     343      ;;
     344    esac
     345    lt_cv_with_aix_soname=$with_aix_soname],
     346    [AC_CACHE_VAL([lt_cv_with_aix_soname],
     347      [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
     348    with_aix_soname=$lt_cv_with_aix_soname])
     349  AC_MSG_RESULT([$with_aix_soname])
     350  if test aix != "$with_aix_soname"; then
     351    # For the AIX way of multilib, we name the shared archive member
     352    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
     353    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
     354    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
     355    # the AIX toolchain works better with OBJECT_MODE set (default 32).
     356    if test 64 = "${OBJECT_MODE-32}"; then
     357      shared_archive_member_spec=shr_64
     358    else
     359      shared_archive_member_spec=shr
     360    fi
     361  fi
     362  ;;
     363*)
     364  with_aix_soname=aix
     365  ;;
     366esac
     367
     368_LT_DECL([], [shared_archive_member_spec], [0],
     369    [Shared archive member basename, for filename based shared library versioning on AIX])dnl
     370])# _LT_WITH_AIX_SONAME
     371
     372LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
     373LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
     374LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
     375
     376
    322377# _LT_WITH_PIC([MODE])
    323378# --------------------
    324 # implement the --with-pic flag, and support the `pic-only' and `no-pic'
     379# implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
    325380# LT_INIT options.
    326 # MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
     381# MODE is either 'yes' or 'no'.  If omitted, it defaults to 'both'.
    327382m4_define([_LT_WITH_PIC],
    328383[AC_ARG_WITH([pic],
    329     [AS_HELP_STRING([--with-pic],
     384    [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
    330385        [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
    331     [pic_mode="$withval"],
    332     [pic_mode=default])
    333 
    334 test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
     386    [lt_p=${PACKAGE-default}
     387    case $withval in
     388    yes|no) pic_mode=$withval ;;
     389    *)
     390      pic_mode=default
     391      # Look at the argument we got.  We use all the common list separators.
     392      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     393      for lt_pkg in $withval; do
     394        IFS=$lt_save_ifs
     395        if test "X$lt_pkg" = "X$lt_p"; then
     396          pic_mode=yes
     397        fi
     398      done
     399      IFS=$lt_save_ifs
     400      ;;
     401    esac],
     402    [pic_mode=m4_default([$1], [default])])
    335403
    336404_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
     
    345413AC_DIAGNOSE([obsolete],
    346414[$0: Remove this warning and the call to _LT_SET_OPTION when you
    347 put the `pic-only' option into LT_INIT's first parameter.])
     415put the 'pic-only' option into LT_INIT's first parameter.])
    348416])
    349417
  • trunk/FACT++/.macro_dir/ltversion.m4

    r14328 r18603  
    11# ltversion.m4 -- version numbers                       -*- Autoconf -*-
    22#
    3 #   Copyright (C) 2004 Free Software Foundation, Inc.
     3#   Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
    44#   Written by Scott James Remnant, 2004
    55#
     
    1010# @configure_input@
    1111
    12 # serial 3337 ltversion.m4
     12# serial 4179 ltversion.m4
    1313# This file is part of GNU Libtool
    1414
    15 m4_define([LT_PACKAGE_VERSION], [2.4.2])
    16 m4_define([LT_PACKAGE_REVISION], [1.3337])
     15m4_define([LT_PACKAGE_VERSION], [2.4.6])
     16m4_define([LT_PACKAGE_REVISION], [2.4.6])
    1717
    1818AC_DEFUN([LTVERSION_VERSION],
    19 [macro_version='2.4.2'
    20 macro_revision='1.3337'
     19[macro_version='2.4.6'
     20macro_revision='2.4.6'
    2121_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
    2222_LT_DECL(, macro_revision, 0)
Note: See TracChangeset for help on using the changeset viewer.