Ignore:
Timestamp:
Jul 13, 2017, 9:01:05 AM (21 months ago)
Author:
Juanma
Message:

Initial release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • squid-ssl/trunk/fuentes/aclocal.m4

    r5495 r5496  
    2121To do so, use the procedure documented by the package, typically 'autoreconf'.])])
    2222
     23# Portability macros for glibc argz.                    -*- Autoconf -*-
     24#
     25#   Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
     26#   Written by Gary V. Vaughan <gary@gnu.org>
     27#
     28# This file is free software; the Free Software Foundation gives
     29# unlimited permission to copy and/or distribute it, with or without
     30# modifications, as long as this notice is preserved.
     31
     32# serial 5 argz.m4
     33
     34AC_DEFUN([gl_FUNC_ARGZ],
     35[gl_PREREQ_ARGZ
     36
     37AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
     38
     39AC_CHECK_TYPES([error_t],
     40  [],
     41  [AC_DEFINE([error_t], [int],
     42   [Define to a type to use for `error_t' if it is not otherwise available.])
     43   AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
     44    does not typedef error_t.])],
     45  [#if defined(HAVE_ARGZ_H)
     46#  include <argz.h>
     47#endif])
     48
     49ARGZ_H=
     50AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
     51        argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
     52
     53dnl if have system argz functions, allow forced use of
     54dnl libltdl-supplied implementation (and default to do so
     55dnl on "known bad" systems). Could use a runtime check, but
     56dnl (a) detecting malloc issues is notoriously unreliable
     57dnl (b) only known system that declares argz functions,
     58dnl     provides them, yet they are broken, is cygwin
     59dnl     releases prior to 16-Mar-2007 (1.5.24 and earlier)
     60dnl So, it's more straightforward simply to special case
     61dnl this for known bad systems.
     62AS_IF([test -z "$ARGZ_H"],
     63    [AC_CACHE_CHECK(
     64        [if argz actually works],
     65        [lt_cv_sys_argz_works],
     66        [[case $host_os in #(
     67         *cygwin*)
     68           lt_cv_sys_argz_works=no
     69           if test "$cross_compiling" != no; then
     70             lt_cv_sys_argz_works="guessing no"
     71           else
     72             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
     73             save_IFS=$IFS
     74             IFS=-.
     75             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
     76             IFS=$save_IFS
     77             lt_os_major=${2-0}
     78             lt_os_minor=${3-0}
     79             lt_os_micro=${4-0}
     80             if test "$lt_os_major" -gt 1 \
     81                || { test "$lt_os_major" -eq 1 \
     82                  && { test "$lt_os_minor" -gt 5 \
     83                    || { test "$lt_os_minor" -eq 5 \
     84                      && test "$lt_os_micro" -gt 24; }; }; }; then
     85               lt_cv_sys_argz_works=yes
     86             fi
     87           fi
     88           ;; #(
     89         *) lt_cv_sys_argz_works=yes ;;
     90         esac]])
     91     AS_IF([test "$lt_cv_sys_argz_works" = yes],
     92        [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
     93                   [This value is set to 1 to indicate that the system argz facility works])],
     94        [ARGZ_H=argz.h
     95        AC_LIBOBJ([argz])])])
     96
     97AC_SUBST([ARGZ_H])
     98])
     99
     100# Prerequisites of lib/argz.c.
     101AC_DEFUN([gl_PREREQ_ARGZ], [:])
     102
    23103# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
    24104#
    25 #   Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
     105#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
     106#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
     107#                 Foundation, Inc.
    26108#   Written by Gordon Matzigkeit, 1996
    27109#
     
    31113
    32114m4_define([_LT_COPYING], [dnl
    33 # Copyright (C) 2014 Free Software Foundation, Inc.
    34 # This is free software; see the source for copying conditions.  There is NO
    35 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    36 
    37 # GNU Libtool is free software; you can redistribute it and/or modify
    38 # it under the terms of the GNU General Public License as published by
    39 # the Free Software Foundation; either version 2 of of the License, or
    40 # (at your option) any later version.
     115#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
     116#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
     117#                 Foundation, Inc.
     118#   Written by Gordon Matzigkeit, 1996
    41119#
    42 # As a special exception to the GNU General Public License, if you
    43 # distribute this file as part of a program or library that is built
    44 # using GNU Libtool, you may include this file under the  same
    45 # distribution terms that you use for the rest of that program.
     120#   This file is part of GNU Libtool.
    46121#
    47 # GNU Libtool is distributed in the hope that it will be useful, but
    48 # WITHOUT ANY WARRANTY; without even the implied warranty of
     122# GNU Libtool is free software; you can redistribute it and/or
     123# modify it under the terms of the GNU General Public License as
     124# published by the Free Software Foundation; either version 2 of
     125# the License, or (at your option) any later version.
     126#
     127# As a special exception to the GNU General Public License,
     128# if you distribute this file as part of a program or library that
     129# is built using GNU Libtool, you may include this file under the
     130# same distribution terms that you use for the rest of that program.
     131#
     132# GNU Libtool is distributed in the hope that it will be useful,
     133# but WITHOUT ANY WARRANTY; without even the implied warranty of
    49134# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    50135# GNU General Public License for more details.
    51136#
    52137# You should have received a copy of the GNU General Public License
    53 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
     138# along with GNU Libtool; see the file COPYING.  If not, a copy
     139# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
     140# obtained by writing to the Free Software Foundation, Inc.,
     141# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    54142])
    55143
    56 # serial 58 LT_INIT
     144# serial 57 LT_INIT
    57145
    58146
     
    82170# ------------------
    83171AC_DEFUN([LT_INIT],
    84 [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
     172[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
    85173AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
    86174AC_BEFORE([$0], [LT_LANG])dnl
     
    106194
    107195# This can be used to rebuild libtool when needed
    108 LIBTOOL_DEPS=$ltmain
     196LIBTOOL_DEPS="$ltmain"
    109197
    110198# Always use our own libtool.
     
    126214
    127215
    128 # _LT_PREPARE_CC_BASENAME
    129 # -----------------------
    130 m4_defun([_LT_PREPARE_CC_BASENAME], [
    131 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
    132 func_cc_basename ()
    133 {
    134     for cc_temp in @S|@*""; do
    135       case $cc_temp in
    136         compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
    137         distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
    138         \-*) ;;
    139         *) break;;
    140       esac
    141     done
    142     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    143 }
    144 ])# _LT_PREPARE_CC_BASENAME
    145 
    146 
    147216# _LT_CC_BASENAME(CC)
    148217# -------------------
    149 # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
    150 # but that macro is also expanded into generated libtool script, which
    151 # arranges for $SED and $ECHO to be set by different means.
     218# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
    152219m4_defun([_LT_CC_BASENAME],
    153 [m4_require([_LT_PREPARE_CC_BASENAME])dnl
    154 AC_REQUIRE([_LT_DECL_SED])dnl
    155 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
    156 func_cc_basename $1
    157 cc_basename=$func_cc_basename_result
     220[for cc_temp in $1""; do
     221  case $cc_temp in
     222    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
     223    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
     224    \-*) ;;
     225    *) break;;
     226  esac
     227done
     228cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    158229])
    159230
     
    162233# ----------------------
    163234# It is okay to use these file commands and assume they have been set
    164 # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
     235# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
    165236m4_defun([_LT_FILEUTILS_DEFAULTS],
    166237[: ${CP="cp -f"}
     
    209280m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
    210281m4_require([_LT_WITH_SYSROOT])dnl
    211 m4_require([_LT_CMD_TRUNCATE])dnl
    212282
    213283_LT_CONFIG_LIBTOOL_INIT([
    214 # See if we are running on zsh, and set the options that allow our
     284# See if we are running on zsh, and set the options which allow our
    215285# commands through without removal of \ escapes INIT.
    216 if test -n "\${ZSH_VERSION+set}"; then
     286if test -n "\${ZSH_VERSION+set}" ; then
    217287   setopt NO_GLOB_SUBST
    218288fi
    219289])
    220 if test -n "${ZSH_VERSION+set}"; then
     290if test -n "${ZSH_VERSION+set}" ; then
    221291   setopt NO_GLOB_SUBST
    222292fi
     
    231301  # reason, if we set the COLLECT_NAMES environment variable, the problems
    232302  # vanish in a puff of smoke.
    233   if test set != "${COLLECT_NAMES+set}"; then
     303  if test "X${COLLECT_NAMES+set}" != Xset; then
    234304    COLLECT_NAMES=
    235305    export COLLECT_NAMES
     
    242312can_build_shared=yes
    243313
    244 # All known linkers require a '.a' archive for static linking (except MSVC,
     314# All known linkers require a `.a' archive for static linking (except MSVC,
    245315# which needs '.lib').
    246316libext=a
    247317
    248 with_gnu_ld=$lt_cv_prog_gnu_ld
    249 
    250 old_CC=$CC
    251 old_CFLAGS=$CFLAGS
     318with_gnu_ld="$lt_cv_prog_gnu_ld"
     319
     320old_CC="$CC"
     321old_CFLAGS="$CFLAGS"
    252322
    253323# Set sane defaults for various variables
     
    302372# _LT_PROG_LTMAIN
    303373# ---------------
    304 # Note that this code is called both from 'configure', and 'config.status'
     374# Note that this code is called both from `configure', and `config.status'
    305375# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
    306 # 'config.status' has no value for ac_aux_dir unless we are using Automake,
     376# `config.status' has no value for ac_aux_dir unless we are using Automake,
    307377# so we pass a copy along to make sure it has a sensible value anyway.
    308378m4_defun([_LT_PROG_LTMAIN],
    309379[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
    310380_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
    311 ltmain=$ac_aux_dir/ltmain.sh
     381ltmain="$ac_aux_dir/ltmain.sh"
    312382])# _LT_PROG_LTMAIN
    313383
     
    316386# So that we can recreate a full libtool script including additional
    317387# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
    318 # in macros and then make a single call at the end using the 'libtool'
     388# in macros and then make a single call at the end using the `libtool'
    319389# label.
    320390
     
    448518# _LT_CONFIG_STATUS_DECLARE([VARNAME])
    449519# ------------------------------------
    450 # Quote a variable value, and forward it to 'config.status' so that its
    451 # declaration there will have the same value as in 'configure'.  VARNAME
     520# Quote a variable value, and forward it to `config.status' so that its
     521# declaration there will have the same value as in `configure'.  VARNAME
    452522# must have a single quote delimited value for this to work.
    453523m4_define([_LT_CONFIG_STATUS_DECLARE],
     
    473543m4_defun([_LT_LIBTOOL_TAGS],
    474544[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
    475 available_tags='_LT_TAGS'dnl
     545available_tags="_LT_TAGS"dnl
    476546])
    477547
     
    501571# -----------------------
    502572# Produce commented declarations of non-tagged libtool config variables
    503 # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
     573# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
    504574# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
    505575# section) are produced by _LT_LIBTOOL_TAG_VARS.
     
    527597# variables for single and double quote escaping we saved from calls
    528598# to _LT_DECL, we can put quote escaped variables declarations
    529 # into 'config.status', and then the shell code to quote escape them in
    530 # for loops in 'config.status'.  Finally, any additional code accumulated
     599# into `config.status', and then the shell code to quote escape them in
     600# for loops in `config.status'.  Finally, any additional code accumulated
    531601# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
    532602m4_defun([_LT_CONFIG_COMMANDS],
     
    574644    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    575645    *[[\\\\\\\`\\"\\\$]]*)
    576       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
     646      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
    577647      ;;
    578648    *)
     
    587657    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    588658    *[[\\\\\\\`\\"\\\$]]*)
    589       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
     659      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
    590660      ;;
    591661    *)
     
    603673# reuse the environment learned by the parent script, and make the
    604674# file executable.  If COMMENT is supplied, it is inserted after the
    605 # '#!' sequence but before initialization text begins.  After this
     675# `#!' sequence but before initialization text begins.  After this
    606676# macro, additional text can be appended to FILE to form the body of
    607677# the child script.  The macro ends with non-zero status if the
     
    625695exec AS_MESSAGE_FD>&1
    626696_ASEOF
    627 test 0 = "$lt_write_fail" && chmod +x $1[]dnl
     697test $lt_write_fail = 0 && chmod +x $1[]dnl
    628698m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
    629699
     
    648718
    649719lt_cl_help="\
    650 '$as_me' creates a local libtool stub from the current configuration,
     720\`$as_me' creates a local libtool stub from the current configuration,
    651721for use in further configure time tests before the real libtool is
    652722generated.
     
    670740gives unlimited permision to copy, distribute and modify it."
    671741
    672 while test 0 != $[#]
     742while test $[#] != 0
    673743do
    674744  case $[1] in
     
    683753
    684754    -*) AC_MSG_ERROR([unrecognized option: $[1]
    685 Try '$[0] --help' for more information.]) ;;
     755Try \`$[0] --help' for more information.]) ;;
    686756
    687757    *) AC_MSG_ERROR([unrecognized argument: $[1]
    688 Try '$[0] --help' for more information.]) ;;
     758Try \`$[0] --help' for more information.]) ;;
    689759  esac
    690760  shift
     
    712782# config.log, so it can be properly (re)opened and appended to by config.lt.
    713783lt_cl_success=:
    714 test yes = "$silent" &&
     784test "$silent" = yes &&
    715785  lt_config_lt_args="$lt_config_lt_args --quiet"
    716786exec AS_MESSAGE_LOG_FD>/dev/null
     
    732802  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
    733803  m4_if(_LT_TAG, [C], [
    734     # See if we are running on zsh, and set the options that allow our
     804    # See if we are running on zsh, and set the options which allow our
    735805    # commands through without removal of \ escapes.
    736     if test -n "${ZSH_VERSION+set}"; then
     806    if test -n "${ZSH_VERSION+set}" ; then
    737807      setopt NO_GLOB_SUBST
    738808    fi
    739809
    740     cfgfile=${ofile}T
     810    cfgfile="${ofile}T"
    741811    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
    742812    $RM "$cfgfile"
     
    744814    cat <<_LT_EOF >> "$cfgfile"
    745815#! $SHELL
    746 # Generated automatically by $as_me ($PACKAGE) $VERSION
     816
     817# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
     818# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
    747819# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    748820# NOTE: Changes made to this file will be lost: look at ltmain.sh.
    749 
    750 # Provide generalized library-building support services.
    751 # Written by Gordon Matzigkeit, 1996
    752 
     821#
    753822_LT_COPYING
    754823_LT_LIBTOOL_TAGS
    755 
    756 # Configured defaults for sys_lib_dlsearch_path munging.
    757 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
    758824
    759825# ### BEGIN LIBTOOL CONFIG
     
    761827_LT_LIBTOOL_TAG_VARS
    762828# ### END LIBTOOL CONFIG
    763 
    764 _LT_EOF
    765 
    766     cat <<'_LT_EOF' >> "$cfgfile"
    767 
    768 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
    769 
    770 _LT_PREPARE_MUNGE_PATH_LIST
    771 _LT_PREPARE_CC_BASENAME
    772 
    773 # ### END FUNCTIONS SHARED WITH CONFIGURE
    774829
    775830_LT_EOF
     
    781836# reason, if we set the COLLECT_NAMES environment variable, the problems
    782837# vanish in a puff of smoke.
    783 if test set != "${COLLECT_NAMES+set}"; then
     838if test "X${COLLECT_NAMES+set}" != Xset; then
    784839  COLLECT_NAMES=
    785840  export COLLECT_NAMES
     
    797852  sed '$q' "$ltmain" >> "$cfgfile" \
    798853     || (rm -f "$cfgfile"; exit 1)
     854
     855  _LT_PROG_REPLACE_SHELLFNS
    799856
    800857   mv -f "$cfgfile" "$ofile" ||
     
    815872    PACKAGE='$PACKAGE'
    816873    VERSION='$VERSION'
     874    TIMESTAMP='$TIMESTAMP'
    817875    RM='$RM'
    818876    ofile='$ofile'], [])
     
    10111069    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
    10121070      [lt_cv_apple_cc_single_mod=no
    1013       if test -z "$LT_MULTI_MODULE"; then
     1071      if test -z "${LT_MULTI_MODULE}"; then
    10141072        # By default we will add the -single_module flag. You can override
    10151073        # by either setting the environment variable LT_MULTI_MODULE
     
    10291087        # Otherwise, if the output was created with a 0 exit code from
    10301088        # the compiler, it worked.
    1031         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
     1089        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
    10321090          lt_cv_apple_cc_single_mod=yes
    10331091        else
     
    10471105        [lt_cv_ld_exported_symbols_list=yes],
    10481106        [lt_cv_ld_exported_symbols_list=no])
    1049         LDFLAGS=$save_LDFLAGS
     1107        LDFLAGS="$save_LDFLAGS"
    10501108    ])
    10511109
     
    10691127      if test -s conftest.err && $GREP force_load conftest.err; then
    10701128        cat conftest.err >&AS_MESSAGE_LOG_FD
    1071       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
     1129      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
    10721130        lt_cv_ld_force_load=yes
    10731131      else
     
    10791137    case $host_os in
    10801138    rhapsody* | darwin1.[[012]])
    1081       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
     1139      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
    10821140    darwin1.*)
    1083       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     1141      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
    10841142    darwin*) # darwin 5.x on
    10851143      # if running on 10.5 or later, the deployment target defaults
     
    10881146      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
    10891147        10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
    1090           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    1091         10.[[012]][[,.]]*)
    1092           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     1148          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     1149        10.[[012]]*)
     1150          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
    10931151        10.*)
    1094           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     1152          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
    10951153      esac
    10961154    ;;
    10971155  esac
    1098     if test yes = "$lt_cv_apple_cc_single_mod"; then
     1156    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
    10991157      _lt_dar_single_mod='$single_module'
    11001158    fi
    1101     if test yes = "$lt_cv_ld_exported_symbols_list"; then
    1102       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
     1159    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
     1160      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
    11031161    else
    1104       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
     1162      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
    11051163    fi
    1106     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
     1164    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
    11071165      _lt_dsymutil='~$DSYMUTIL $lib || :'
    11081166    else
     
    11241182  _LT_TAGVAR(hardcode_automatic, $1)=yes
    11251183  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
    1126   if test yes = "$lt_cv_ld_force_load"; then
    1127     _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\"`'
     1184  if test "$lt_cv_ld_force_load" = "yes"; then
     1185    _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\"`'
    11281186    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
    11291187                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
     
    11321190  fi
    11331191  _LT_TAGVAR(link_all_deplibs, $1)=yes
    1134   _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
     1192  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
    11351193  case $cc_basename in
    1136      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
     1194     ifort*) _lt_dar_can_shared=yes ;;
    11371195     *) _lt_dar_can_shared=$GCC ;;
    11381196  esac
    1139   if test yes = "$_lt_dar_can_shared"; then
     1197  if test "$_lt_dar_can_shared" = "yes"; then
    11401198    output_verbose_link_cmd=func_echo_all
    1141     _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"
    1142     _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
    1143     _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"
    1144     _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"
     1199    _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}"
     1200    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     1201    _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}"
     1202    _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}"
    11451203    m4_if([$1], [CXX],
    1146 [   if test yes != "$lt_cv_apple_cc_single_mod"; then
    1147       _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"
    1148       _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"
     1204[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
     1205      _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}"
     1206      _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}"
    11491207    fi
    11501208],[])
     
    11661224m4_defun([_LT_SYS_MODULE_PATH_AIX],
    11671225[m4_require([_LT_DECL_SED])dnl
    1168 if test set = "${lt_cv_aix_libpath+set}"; then
     1226if test "${lt_cv_aix_libpath+set}" = set; then
    11691227  aix_libpath=$lt_cv_aix_libpath
    11701228else
     
    11841242  fi],[])
    11851243  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
    1186     _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
     1244    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
    11871245  fi
    11881246  ])
     
    12041262# Find how we can fake an echo command that does not interpret backslash.
    12051263# In particular, with Autoconf 2.60 or later we add some code to the start
    1206 # of the generated configure script that will find a shell with a builtin
    1207 # printf (that we can use as an echo command).
     1264# of the generated configure script which will find a shell with a builtin
     1265# printf (which we can use as an echo command).
    12081266m4_defun([_LT_PROG_ECHO_BACKSLASH],
    12091267[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     
    12331291func_echo_all ()
    12341292{
    1235     $ECHO "$*"
     1293    $ECHO "$*" 
    12361294}
    12371295
    1238 case $ECHO in
     1296case "$ECHO" in
    12391297  printf*) AC_MSG_RESULT([printf]) ;;
    12401298  print*) AC_MSG_RESULT([print -r]) ;;
     
    12621320[AC_MSG_CHECKING([for sysroot])
    12631321AC_ARG_WITH([sysroot],
    1264 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
    1265   [Search for dependent libraries within DIR (or the compiler's sysroot
    1266    if not specified).])],
     1322[  --with-sysroot[=DIR] Search for dependent libraries within DIR
     1323                        (or the compiler's sysroot if not specified).],
    12671324[], [with_sysroot=no])
    12681325
     
    12701327dnl in case the user passed a directory name.
    12711328lt_sysroot=
    1272 case $with_sysroot in #(
     1329case ${with_sysroot} in #(
    12731330 yes)
    1274    if test yes = "$GCC"; then
     1331   if test "$GCC" = yes; then
    12751332     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
    12761333   fi
     
    12821339   ;; #(
    12831340 *)
    1284    AC_MSG_RESULT([$with_sysroot])
     1341   AC_MSG_RESULT([${with_sysroot}])
    12851342   AC_MSG_ERROR([The sysroot must be an absolute path.])
    12861343   ;;
     
    12891346 AC_MSG_RESULT([${lt_sysroot:-no}])
    12901347_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
    1291 [dependent libraries, and where our libraries should be installed.])])
     1348[dependent libraries, and in which our libraries should be installed.])])
    12921349
    12931350# _LT_ENABLE_LOCK
     
    12971354  [AS_HELP_STRING([--disable-libtool-lock],
    12981355    [avoid locking (might break parallel builds)])])
    1299 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
     1356test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
    13001357
    13011358# Some flags need to be propagated to the compiler or linker for good
     
    13031360case $host in
    13041361ia64-*-hpux*)
    1305   # Find out what ABI is being produced by ac_compile, and set mode
    1306   # options accordingly.
     1362  # Find out which ABI we are using.
    13071363  echo 'int i;' > conftest.$ac_ext
    13081364  if AC_TRY_EVAL(ac_compile); then
    13091365    case `/usr/bin/file conftest.$ac_objext` in
    13101366      *ELF-32*)
    1311         HPUX_IA64_MODE=32
     1367        HPUX_IA64_MODE="32"
    13121368        ;;
    13131369      *ELF-64*)
    1314         HPUX_IA64_MODE=64
     1370        HPUX_IA64_MODE="64"
    13151371        ;;
    13161372    esac
     
    13191375  ;;
    13201376*-*-irix6*)
    1321   # Find out what ABI is being produced by ac_compile, and set linker
    1322   # options accordingly.
     1377  # Find out which ABI we are using.
    13231378  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
    13241379  if AC_TRY_EVAL(ac_compile); then
    1325     if test yes = "$lt_cv_prog_gnu_ld"; then
     1380    if test "$lt_cv_prog_gnu_ld" = yes; then
    13261381      case `/usr/bin/file conftest.$ac_objext` in
    13271382        *32-bit*)
     
    13521407  ;;
    13531408
    1354 mips64*-*linux*)
    1355   # Find out what ABI is being produced by ac_compile, and set linker
    1356   # options accordingly.
    1357   echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
    1358   if AC_TRY_EVAL(ac_compile); then
    1359     emul=elf
    1360     case `/usr/bin/file conftest.$ac_objext` in
    1361       *32-bit*)
    1362         emul="${emul}32"
    1363         ;;
    1364       *64-bit*)
    1365         emul="${emul}64"
    1366         ;;
    1367     esac
    1368     case `/usr/bin/file conftest.$ac_objext` in
    1369       *MSB*)
    1370         emul="${emul}btsmip"
    1371         ;;
    1372       *LSB*)
    1373         emul="${emul}ltsmip"
    1374         ;;
    1375     esac
    1376     case `/usr/bin/file conftest.$ac_objext` in
    1377       *N32*)
    1378         emul="${emul}n32"
    1379         ;;
    1380     esac
    1381     LD="${LD-ld} -m $emul"
    1382   fi
    1383   rm -rf conftest*
    1384   ;;
    1385 
    13861409x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
    13871410s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
    1388   # Find out what ABI is being produced by ac_compile, and set linker
    1389   # options accordingly.  Note that the listed cases only cover the
    1390   # situations where additional linker options are needed (such as when
    1391   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
    1392   # vice versa); the common cases where no linker options are needed do
    1393   # not appear in the list.
     1411  # Find out which ABI we are using.
    13941412  echo 'int i;' > conftest.$ac_ext
    13951413  if AC_TRY_EVAL(ac_compile); then
     
    14101428            esac
    14111429            ;;
    1412           powerpc64le-*linux*)
     1430          powerpc64le-*)
    14131431            LD="${LD-ld} -m elf32lppclinux"
    14141432            ;;
    1415           powerpc64-*linux*)
     1433          powerpc64-*)
    14161434            LD="${LD-ld} -m elf32ppclinux"
    14171435            ;;
     
    14321450            LD="${LD-ld} -m elf_x86_64"
    14331451            ;;
    1434           powerpcle-*linux*)
     1452          powerpcle-*)
    14351453            LD="${LD-ld} -m elf64lppc"
    14361454            ;;
    1437           powerpc-*linux*)
     1455          powerpc-*)
    14381456            LD="${LD-ld} -m elf64ppc"
    14391457            ;;
     
    14531471*-*-sco3.2v5*)
    14541472  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    1455   SAVE_CFLAGS=$CFLAGS
     1473  SAVE_CFLAGS="$CFLAGS"
    14561474  CFLAGS="$CFLAGS -belf"
    14571475  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
     
    14591477     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
    14601478     AC_LANG_POP])
    1461   if test yes != "$lt_cv_cc_needs_belf"; then
     1479  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    14621480    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    1463     CFLAGS=$SAVE_CFLAGS
     1481    CFLAGS="$SAVE_CFLAGS"
    14641482  fi
    14651483  ;;
    14661484*-*solaris*)
    1467   # Find out what ABI is being produced by ac_compile, and set linker
    1468   # options accordingly.
     1485  # Find out which ABI we are using.
    14691486  echo 'int i;' > conftest.$ac_ext
    14701487  if AC_TRY_EVAL(ac_compile); then
     
    14741491      yes*)
    14751492        case $host in
    1476         i?86-*-solaris*|x86_64-*-solaris*)
     1493        i?86-*-solaris*)
    14771494          LD="${LD-ld} -m elf_x86_64"
    14781495          ;;
     
    14831500        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
    14841501        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
    1485           LD=${LD-ld}_sol2
     1502          LD="${LD-ld}_sol2"
    14861503        fi
    14871504        ;;
     
    14991516esac
    15001517
    1501 need_locks=$enable_libtool_lock
     1518need_locks="$enable_libtool_lock"
    15021519])# _LT_ENABLE_LOCK
    15031520
     
    15181535      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
    15191536      AC_TRY_EVAL([lt_ar_try])
    1520       if test 0 -eq "$ac_status"; then
     1537      if test "$ac_status" -eq 0; then
    15211538        # Ensure the archiver fails upon bogus file names.
    15221539        rm -f conftest.$ac_objext libconftest.a
    15231540        AC_TRY_EVAL([lt_ar_try])
    1524         if test 0 -ne "$ac_status"; then
     1541        if test "$ac_status" -ne 0; then
    15251542          lt_cv_ar_at_file=@
    15261543        fi
     
    15301547  ])
    15311548
    1532 if test no = "$lt_cv_ar_at_file"; then
     1549if test "x$lt_cv_ar_at_file" = xno; then
    15331550  archiver_list_spec=
    15341551else
     
    15611578if test -n "$RANLIB"; then
    15621579  case $host_os in
    1563   bitrig* | openbsd*)
     1580  openbsd*)
    15641581    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
    15651582    ;;
     
    15971614   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
    15981615   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    1599    lt_compiler_flag="$3"  ## exclude from sc_useless_quotes_in_assignment
     1616   lt_compiler_flag="$3"
    16001617   # Insert the option either (1) after the last *FLAGS variable, or
    16011618   # (2) before a word containing "conftest.", or (3) at the end.
     
    16241641])
    16251642
    1626 if test yes = "[$]$2"; then
     1643if test x"[$]$2" = xyes; then
    16271644    m4_if([$5], , :, [$5])
    16281645else
     
    16461663AC_CACHE_CHECK([$1], [$2],
    16471664  [$2=no
    1648    save_LDFLAGS=$LDFLAGS
     1665   save_LDFLAGS="$LDFLAGS"
    16491666   LDFLAGS="$LDFLAGS $3"
    16501667   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     
    16651682   fi
    16661683   $RM -r conftest*
    1667    LDFLAGS=$save_LDFLAGS
     1684   LDFLAGS="$save_LDFLAGS"
    16681685])
    16691686
    1670 if test yes = "[$]$2"; then
     1687if test x"[$]$2" = xyes; then
    16711688    m4_if([$4], , :, [$4])
    16721689else
     
    16891706AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
    16901707  i=0
    1691   teststring=ABCD
     1708  teststring="ABCD"
    16921709
    16931710  case $build_os in
     
    17291746    ;;
    17301747
    1731   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
     1748  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
    17321749    # This has been around since 386BSD, at least.  Likely further.
    17331750    if test -x /sbin/sysctl; then
     
    17801797    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
    17811798    if test -n "$lt_cv_sys_max_cmd_len" && \
    1782        test undefined != "$lt_cv_sys_max_cmd_len"; then
     1799        test undefined != "$lt_cv_sys_max_cmd_len"; then
    17831800      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    17841801      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     
    17861803      # Make teststring a little bigger before we do anything with it.
    17871804      # a 1K string should be a reasonable start.
    1788       for i in 1 2 3 4 5 6 7 8; do
     1805      for i in 1 2 3 4 5 6 7 8 ; do
    17891806        teststring=$teststring$teststring
    17901807      done
     
    17931810      # maximum length that is only half of the actual maximum length, but
    17941811      # we can't tell.
    1795       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
     1812      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
    17961813                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
    1797               test 17 != "$i" # 1/2 MB should be enough
     1814              test $i != 17 # 1/2 MB should be enough
    17981815      do
    17991816        i=`expr $i + 1`
     
    18111828  esac
    18121829])
    1813 if test -n "$lt_cv_sys_max_cmd_len"; then
     1830if test -n $lt_cv_sys_max_cmd_len ; then
    18141831  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
    18151832else
     
    18391856m4_defun([_LT_TRY_DLOPEN_SELF],
    18401857[m4_require([_LT_HEADER_DLFCN])dnl
    1841 if test yes = "$cross_compiling"; then :
     1858if test "$cross_compiling" = yes; then :
    18421859  [$4]
    18431860else
     
    18861903#endif
    18871904
    1888 /* When -fvisibility=hidden is used, assume the code has been annotated
     1905/* When -fvisbility=hidden is used, assume the code has been annotated
    18891906   correspondingly for the symbols needed.  */
    1890 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     1907#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    18911908int fnord () __attribute__((visibility("default")));
    18921909#endif
     
    19141931}]
    19151932_LT_EOF
    1916   if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
     1933  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
    19171934    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
    19181935    lt_status=$?
     
    19351952AC_DEFUN([LT_SYS_DLOPEN_SELF],
    19361953[m4_require([_LT_HEADER_DLFCN])dnl
    1937 if test yes != "$enable_dlopen"; then
     1954if test "x$enable_dlopen" != xyes; then
    19381955  enable_dlopen=unknown
    19391956  enable_dlopen_self=unknown
     
    19451962  case $host_os in
    19461963  beos*)
    1947     lt_cv_dlopen=load_add_on
     1964    lt_cv_dlopen="load_add_on"
    19481965    lt_cv_dlopen_libs=
    19491966    lt_cv_dlopen_self=yes
     
    19511968
    19521969  mingw* | pw32* | cegcc*)
    1953     lt_cv_dlopen=LoadLibrary
     1970    lt_cv_dlopen="LoadLibrary"
    19541971    lt_cv_dlopen_libs=
    19551972    ;;
    19561973
    19571974  cygwin*)
    1958     lt_cv_dlopen=dlopen
     1975    lt_cv_dlopen="dlopen"
    19591976    lt_cv_dlopen_libs=
    19601977    ;;
    19611978
    19621979  darwin*)
    1963     # if libdl is installed we need to link against it
     1980  # if libdl is installed we need to link against it
    19641981    AC_CHECK_LIB([dl], [dlopen],
    1965                 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
    1966     lt_cv_dlopen=dyld
     1982                [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
     1983    lt_cv_dlopen="dyld"
    19671984    lt_cv_dlopen_libs=
    19681985    lt_cv_dlopen_self=yes
     
    19701987    ;;
    19711988
    1972   tpf*)
    1973     # Don't try to run any link tests for TPF.  We know it's impossible
    1974     # because TPF is a cross-compiler, and we know how we open DSOs.
    1975     lt_cv_dlopen=dlopen
    1976     lt_cv_dlopen_libs=
    1977     lt_cv_dlopen_self=no
    1978     ;;
    1979 
    19801989  *)
    19811990    AC_CHECK_FUNC([shl_load],
    1982           [lt_cv_dlopen=shl_load],
     1991          [lt_cv_dlopen="shl_load"],
    19831992      [AC_CHECK_LIB([dld], [shl_load],
    1984             [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
     1993            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
    19851994        [AC_CHECK_FUNC([dlopen],
    1986               [lt_cv_dlopen=dlopen],
     1995              [lt_cv_dlopen="dlopen"],
    19871996          [AC_CHECK_LIB([dl], [dlopen],
    1988                 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
     1997                [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
    19891998            [AC_CHECK_LIB([svld], [dlopen],
    1990                   [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
     1999                  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
    19912000              [AC_CHECK_LIB([dld], [dld_link],
    1992                     [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
     2001                    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
    19932002              ])
    19942003            ])
     
    19992008  esac
    20002009
    2001   if test no = "$lt_cv_dlopen"; then
     2010  if test "x$lt_cv_dlopen" != xno; then
     2011    enable_dlopen=yes
     2012  else
    20022013    enable_dlopen=no
    2003   else
    2004     enable_dlopen=yes
    20052014  fi
    20062015
    20072016  case $lt_cv_dlopen in
    20082017  dlopen)
    2009     save_CPPFLAGS=$CPPFLAGS
    2010     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    2011 
    2012     save_LDFLAGS=$LDFLAGS
     2018    save_CPPFLAGS="$CPPFLAGS"
     2019    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
     2020
     2021    save_LDFLAGS="$LDFLAGS"
    20132022    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
    20142023
    2015     save_LIBS=$LIBS
     2024    save_LIBS="$LIBS"
    20162025    LIBS="$lt_cv_dlopen_libs $LIBS"
    20172026
     
    20232032    ])
    20242033
    2025     if test yes = "$lt_cv_dlopen_self"; then
     2034    if test "x$lt_cv_dlopen_self" = xyes; then
    20262035      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
    20272036      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
     
    20332042    fi
    20342043
    2035     CPPFLAGS=$save_CPPFLAGS
    2036     LDFLAGS=$save_LDFLAGS
    2037     LIBS=$save_LIBS
     2044    CPPFLAGS="$save_CPPFLAGS"
     2045    LDFLAGS="$save_LDFLAGS"
     2046    LIBS="$save_LIBS"
    20382047    ;;
    20392048  esac
     
    21272136_LT_COMPILER_C_O([$1])
    21282137
    2129 hard_links=nottested
    2130 if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
     2138hard_links="nottested"
     2139if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
    21312140  # do not overwrite the value of need_locks provided by the user
    21322141  AC_MSG_CHECKING([if we can lock with hard links])
     
    21382147  ln conftest.a conftest.b 2>/dev/null && hard_links=no
    21392148  AC_MSG_RESULT([$hard_links])
    2140   if test no = "$hard_links"; then
    2141     AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
     2149  if test "$hard_links" = no; then
     2150    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
    21422151    need_locks=warn
    21432152  fi
     
    21662175         [The name of the directory that contains temporary libtool files])dnl
    21672176m4_pattern_allow([LT_OBJDIR])dnl
    2168 AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
    2169   [Define to the sub-directory where libtool stores uninstalled libraries.])
     2177AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
     2178  [Define to the sub-directory in which libtool stores uninstalled libraries.])
    21702179])# _LT_CHECK_OBJDIR
    21712180
     
    21792188if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
    21802189   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
    2181    test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
     2190   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
    21822191
    21832192  # We can hardcode non-existent directories.
    2184   if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
     2193  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
    21852194     # If the only mechanism to avoid hardcoding is shlibpath_var, we
    21862195     # have to relink, otherwise we might link with an installed library
    21872196     # when we should be linking with a yet-to-be-installed one
    2188      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
    2189      test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
     2197     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
     2198     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
    21902199    # Linking always hardcodes the temporary library directory.
    21912200    _LT_TAGVAR(hardcode_action, $1)=relink
     
    22012210AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
    22022211
    2203 if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
    2204    test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
     2212if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
     2213   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
    22052214  # Fast installation is not supported
    22062215  enable_fast_install=no
    2207 elif test yes = "$shlibpath_overrides_runpath" ||
    2208      test no = "$enable_shared"; then
     2216elif test "$shlibpath_overrides_runpath" = yes ||
     2217     test "$enable_shared" = no; then
    22092218  # Fast installation is not necessary
    22102219  enable_fast_install=needless
     
    22302239  case $host_os in
    22312240  darwin*)
    2232     if test -n "$STRIP"; then
     2241    if test -n "$STRIP" ; then
    22332242      striplib="$STRIP -x"
    22342243      old_striplib="$STRIP -S"
     
    22482257
    22492258
    2250 # _LT_PREPARE_MUNGE_PATH_LIST
    2251 # ---------------------------
    2252 # Make sure func_munge_path_list() is defined correctly.
    2253 m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
    2254 [[# func_munge_path_list VARIABLE PATH
    2255 # -----------------------------------
    2256 # VARIABLE is name of variable containing _space_ separated list of
    2257 # directories to be munged by the contents of PATH, which is string
    2258 # having a format:
    2259 # "DIR[:DIR]:"
    2260 #       string "DIR[ DIR]" will be prepended to VARIABLE
    2261 # ":DIR[:DIR]"
    2262 #       string "DIR[ DIR]" will be appended to VARIABLE
    2263 # "DIRP[:DIRP]::[DIRA:]DIRA"
    2264 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
    2265 #       "DIRA[ DIRA]" will be appended to VARIABLE
    2266 # "DIR[:DIR]"
    2267 #       VARIABLE will be replaced by "DIR[ DIR]"
    2268 func_munge_path_list ()
    2269 {
    2270     case x@S|@2 in
    2271     x)
    2272         ;;
    2273     *:)
    2274         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
    2275         ;;
    2276     x:*)
    2277         eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
    2278         ;;
    2279     *::*)
    2280         eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
    2281         eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
    2282         ;;
    2283     *)
    2284         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
    2285         ;;
    2286     esac
    2287 }
    2288 ]])# _LT_PREPARE_PATH_LIST
    2289 
    2290 
    22912259# _LT_SYS_DYNAMIC_LINKER([TAG])
    22922260# -----------------------------
     
    22992267m4_require([_LT_DECL_SED])dnl
    23002268m4_require([_LT_CHECK_SHELL_FEATURES])dnl
    2301 m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
    23022269AC_MSG_CHECKING([dynamic linker characteristics])
    23032270m4_if([$1],
    23042271        [], [
    2305 if test yes = "$GCC"; then
     2272if test "$GCC" = yes; then
    23062273  case $host_os in
    2307     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
    2308     *) lt_awk_arg='/^libraries:/' ;;
     2274    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
     2275    *) lt_awk_arg="/^libraries:/" ;;
    23092276  esac
    23102277  case $host_os in
    2311     mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
    2312     *) lt_sed_strip_eq='s|=/|/|g' ;;
     2278    mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
     2279    *) lt_sed_strip_eq="s,=/,/,g" ;;
    23132280  esac
    23142281  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
     
    23262293  esac
    23272294  # Ok, now we have the path, separated by spaces, we can step through it
    2328   # and add multilib dir if necessary...
     2295  # and add multilib dir if necessary.
    23292296  lt_tmp_lt_search_path_spec=
    2330   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
    2331   # ...but if some path component already ends with the multilib dir we assume
    2332   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
    2333   case "$lt_multi_os_dir; $lt_search_path_spec " in
    2334   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
    2335     lt_multi_os_dir=
    2336     ;;
    2337   esac
     2297  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
    23382298  for lt_sys_path in $lt_search_path_spec; do
    2339     if test -d "$lt_sys_path$lt_multi_os_dir"; then
    2340       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
    2341     elif test -n "$lt_multi_os_dir"; then
     2299    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
     2300      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
     2301    else
    23422302      test -d "$lt_sys_path" && \
    23432303        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     
    23452305  done
    23462306  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
    2347 BEGIN {RS = " "; FS = "/|\n";} {
    2348   lt_foo = "";
    2349   lt_count = 0;
     2307BEGIN {RS=" "; FS="/|\n";} {
     2308  lt_foo="";
     2309  lt_count=0;
    23502310  for (lt_i = NF; lt_i > 0; lt_i--) {
    23512311    if ($lt_i != "" && $lt_i != ".") {
     
    23542314      } else {
    23552315        if (lt_count == 0) {
    2356           lt_foo = "/" $lt_i lt_foo;
     2316          lt_foo="/" $lt_i lt_foo;
    23572317        } else {
    23582318          lt_count--;
     
    23682328  case $host_os in
    23692329    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
    2370       $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
     2330      $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
    23712331  esac
    23722332  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
     
    23772337libname_spec='lib$name'
    23782338soname_spec=
    2379 shrext_cmds=.so
     2339shrext_cmds=".so"
    23802340postinstall_cmds=
    23812341postuninstall_cmds=
     
    23942354need_version=unknown
    23952355
    2396 AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
    2397 [User-defined run-time library search path.])
    2398 
    23992356case $host_os in
    24002357aix3*)
    24012358  version_type=linux # correct to gnu/linux during the next big refactor
    2402   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
     2359  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
    24032360  shlibpath_var=LIBPATH
    24042361
    24052362  # AIX 3 has no versioning support, so we append a major version to the name.
    2406   soname_spec='$libname$release$shared_ext$major'
     2363  soname_spec='${libname}${release}${shared_ext}$major'
    24072364  ;;
    24082365
     
    24122369  need_version=no
    24132370  hardcode_into_libs=yes
    2414   if test ia64 = "$host_cpu"; then
     2371  if test "$host_cpu" = ia64; then
    24152372    # AIX 5 supports IA64
    2416     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
     2373    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
    24172374    shlibpath_var=LD_LIBRARY_PATH
    24182375  else
    24192376    # With GCC up to 2.95.x, collect2 would create an import file
    24202377    # for dependence libraries.  The import file would start with
    2421     # the line '#! .'.  This would cause the generated library to
    2422     # depend on '.', always an invalid library.  This was fixed in
     2378    # the line `#! .'.  This would cause the generated library to
     2379    # depend on `.', always an invalid library.  This was fixed in
    24232380    # development snapshots of GCC prior to 3.0.
    24242381    case $host_os in
     
    24262383      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    24272384           echo ' yes '
    2428            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
     2385           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
    24292386        :
    24302387      else
     
    24332390      ;;
    24342391    esac
    2435     # Using Import Files as archive members, it is possible to support
    2436     # filename-based versioning of shared library archives on AIX. While
    2437     # this would work for both with and without runtime linking, it will
    2438     # prevent static linking of such archives. So we do filename-based
    2439     # shared library versioning with .so extension only, which is used
    2440     # when both runtime linking and shared linking is enabled.
    2441     # Unfortunately, runtime linking may impact performance, so we do
    2442     # not want this to be the default eventually. Also, we use the
    2443     # versioned .so libs for executables only if there is the -brtl
    2444     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
    2445     # To allow for filename-based versioning support, we need to create
    2446     # libNAME.so.V as an archive file, containing:
    2447     # *) an Import File, referring to the versioned filename of the
    2448     #    archive as well as the shared archive member, telling the
    2449     #    bitwidth (32 or 64) of that shared object, and providing the
    2450     #    list of exported symbols of that shared object, eventually
    2451     #    decorated with the 'weak' keyword
    2452     # *) the shared object with the F_LOADONLY flag set, to really avoid
    2453     #    it being seen by the linker.
    2454     # At run time we better use the real file rather than another symlink,
    2455     # but for link time we create the symlink libNAME.so -> libNAME.so.V
    2456 
    2457     case $with_aix_soname,$aix_use_runtimelinking in
    2458     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
     2392    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
    24592393    # soname into executable. Probably we can add versioning support to
    24602394    # collect2, so additional links can be useful in future.
    2461     aix,yes) # traditional libtool
    2462       dynamic_linker='AIX unversionable lib.so'
     2395    if test "$aix_use_runtimelinking" = yes; then
    24632396      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    24642397      # instead of lib<name>.a to let people know that these are not
    24652398      # typical AIX shared libraries.
    2466       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    2467       ;;
    2468     aix,no) # traditional AIX only
    2469       dynamic_linker='AIX lib.a[(]lib.so.V[)]'
     2399      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2400    else
    24702401      # We preserve .a as extension for shared libraries through AIX4.2
    24712402      # and later when we are not doing run time linking.
    2472       library_names_spec='$libname$release.a $libname.a'
    2473       soname_spec='$libname$release$shared_ext$major'
    2474       ;;
    2475     svr4,*) # full svr4 only
    2476       dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
    2477       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    2478       # We do not specify a path in Import Files, so LIBPATH fires.
    2479       shlibpath_overrides_runpath=yes
    2480       ;;
    2481     *,yes) # both, prefer svr4
    2482       dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
    2483       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    2484       # unpreferred sharedlib libNAME.a needs extra handling
    2485       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"'
    2486       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"'
    2487       # We do not specify a path in Import Files, so LIBPATH fires.
    2488       shlibpath_overrides_runpath=yes
    2489       ;;
    2490     *,no) # both, prefer aix
    2491       dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
    2492       library_names_spec='$libname$release.a $libname.a'
    2493       soname_spec='$libname$release$shared_ext$major'
    2494       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
    2495       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)'
    2496       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"'
    2497       ;;
    2498     esac
     2403      library_names_spec='${libname}${release}.a $libname.a'
     2404      soname_spec='${libname}${release}${shared_ext}$major'
     2405    fi
    24992406    shlibpath_var=LIBPATH
    25002407  fi
     
    25062413    # Since July 2007 AmigaOS4 officially supports .so libraries.
    25072414    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    2508     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2415    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    25092416    ;;
    25102417  m68k)
    25112418    library_names_spec='$libname.ixlibrary $libname.a'
    25122419    # Create ${libname}_ixlibrary.a entries in /sys/libs.
    2513     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'
     2420    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'
    25142421    ;;
    25152422  esac
     
    25172424
    25182425beos*)
    2519   library_names_spec='$libname$shared_ext'
     2426  library_names_spec='${libname}${shared_ext}'
    25202427  dynamic_linker="$host_os ld.so"
    25212428  shlibpath_var=LIBRARY_PATH
     
    25252432  version_type=linux # correct to gnu/linux during the next big refactor
    25262433  need_version=no
    2527   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    2528   soname_spec='$libname$release$shared_ext$major'
     2434  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2435  soname_spec='${libname}${release}${shared_ext}$major'
    25292436  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    25302437  shlibpath_var=LD_LIBRARY_PATH
     
    25382445cygwin* | mingw* | pw32* | cegcc*)
    25392446  version_type=windows
    2540   shrext_cmds=.dll
     2447  shrext_cmds=".dll"
    25412448  need_version=no
    25422449  need_lib_prefix=no
     
    25472454    library_names_spec='$libname.dll.a'
    25482455    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    2549     postinstall_cmds='base_file=`basename \$file`~
    2550       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
     2456    postinstall_cmds='base_file=`basename \${file}`~
     2457      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
    25512458      dldir=$destdir/`dirname \$dlpath`~
    25522459      test -d \$dldir || mkdir -p \$dldir~
     
    25642471    cygwin*)
    25652472      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    2566       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
     2473      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
    25672474m4_if([$1], [],[
    25682475      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
     
    25702477    mingw* | cegcc*)
    25712478      # MinGW DLLs use traditional 'lib' prefix
    2572       soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
     2479      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
    25732480      ;;
    25742481    pw32*)
    25752482      # pw32 DLLs use 'pw' prefix rather than 'lib'
    2576       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
     2483      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
    25772484      ;;
    25782485    esac
     
    25832490    # Native MSVC
    25842491    libname_spec='$name'
    2585     soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
    2586     library_names_spec='$libname.dll.lib'
     2492    soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
     2493    library_names_spec='${libname}.dll.lib'
    25872494
    25882495    case $build_os in
     
    26112518      ;;
    26122519    *)
    2613       sys_lib_search_path_spec=$LIB
     2520      sys_lib_search_path_spec="$LIB"
    26142521      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
    26152522        # It is most probably a Windows format PATH.
     
    26242531
    26252532    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    2626     postinstall_cmds='base_file=`basename \$file`~
    2627       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
     2533    postinstall_cmds='base_file=`basename \${file}`~
     2534      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
    26282535      dldir=$destdir/`dirname \$dlpath`~
    26292536      test -d \$dldir || mkdir -p \$dldir~
     
    26382545  *)
    26392546    # Assume MSVC wrapper
    2640     library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
     2547    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
    26412548    dynamic_linker='Win32 ld.exe'
    26422549    ;;
     
    26512558  need_lib_prefix=no
    26522559  need_version=no
    2653   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
    2654   soname_spec='$libname$release$major$shared_ext'
     2560  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
     2561  soname_spec='${libname}${release}${major}$shared_ext'
    26552562  shlibpath_overrides_runpath=yes
    26562563  shlibpath_var=DYLD_LIBRARY_PATH
     
    26652572  need_lib_prefix=no
    26662573  need_version=no
    2667   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    2668   soname_spec='$libname$release$shared_ext$major'
     2574  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
     2575  soname_spec='${libname}${release}${shared_ext}$major'
    26692576  shlibpath_var=LD_LIBRARY_PATH
    26702577  ;;
     
    26842591  case $version_type in
    26852592    freebsd-elf*)
    2686       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    2687       soname_spec='$libname$release$shared_ext$major'
     2593      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    26882594      need_version=no
    26892595      need_lib_prefix=no
    26902596      ;;
    26912597    freebsd-*)
    2692       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     2598      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
    26932599      need_version=yes
    26942600      ;;
     
    27202626  need_version=no
    27212627  dynamic_linker="$host_os runtime_loader"
    2722   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    2723   soname_spec='$libname$release$shared_ext$major'
     2628  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
     2629  soname_spec='${libname}${release}${shared_ext}$major'
    27242630  shlibpath_var=LIBRARY_PATH
    2725   shlibpath_overrides_runpath=no
     2631  shlibpath_overrides_runpath=yes
    27262632  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    27272633  hardcode_into_libs=yes
     
    27412647    shlibpath_var=LD_LIBRARY_PATH
    27422648    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    2743     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    2744     soname_spec='$libname$release$shared_ext$major'
    2745     if test 32 = "$HPUX_IA64_MODE"; then
     2649    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2650    soname_spec='${libname}${release}${shared_ext}$major'
     2651    if test "X$HPUX_IA64_MODE" = X32; then
    27462652      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    2747       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    27482653    else
    27492654      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    2750       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    27512655    fi
     2656    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    27522657    ;;
    27532658  hppa*64*)
     
    27572662    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    27582663    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    2759     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    2760     soname_spec='$libname$release$shared_ext$major'
     2664    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2665    soname_spec='${libname}${release}${shared_ext}$major'
    27612666    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    27622667    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     
    27672672    shlibpath_var=SHLIB_PATH
    27682673    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    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'
     2674    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2675    soname_spec='${libname}${release}${shared_ext}$major'
    27712676    ;;
    27722677  esac
     
    27812686  need_lib_prefix=no
    27822687  need_version=no
    2783   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    2784   soname_spec='$libname$release$shared_ext$major'
     2688  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     2689  soname_spec='${libname}${release}${shared_ext}$major'
    27852690  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    27862691  shlibpath_var=LD_LIBRARY_PATH
     
    27932698    nonstopux*) version_type=nonstopux ;;
    27942699    *)
    2795         if test yes = "$lt_cv_prog_gnu_ld"; then
     2700        if test "$lt_cv_prog_gnu_ld" = yes; then
    27962701                version_type=linux # correct to gnu/linux during the next big refactor
    27972702        else
     
    28012706  need_lib_prefix=no
    28022707  need_version=no
    2803   soname_spec='$libname$release$shared_ext$major'
    2804   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
     2708  soname_spec='${libname}${release}${shared_ext}$major'
     2709  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
    28052710  case $host_os in
    28062711  irix5* | nonstopux*)
     
    28212726  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    28222727  shlibpath_overrides_runpath=no
    2823   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
    2824   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
     2728  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
     2729  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
    28252730  hardcode_into_libs=yes
    28262731  ;;
     
    28292734linux*oldld* | linux*aout* | linux*coff*)
    28302735  dynamic_linker=no
    2831   ;;
    2832 
    2833 linux*android*)
    2834   version_type=none # Android doesn't support versioned libraries.
    2835   need_lib_prefix=no
    2836   need_version=no
    2837   library_names_spec='$libname$release$shared_ext'
    2838   soname_spec='$libname$release$shared_ext'
    2839   finish_cmds=
    2840   shlibpath_var=LD_LIBRARY_PATH
    2841   shlibpath_overrides_runpath=yes
    2842 
    2843   # This implies no fast_install, which is unacceptable.
    2844   # Some rework will be needed to allow for fast_install
    2845   # before this can be enabled.
    2846   hardcode_into_libs=yes
    2847 
    2848   dynamic_linker='Android linker'
    2849   # Don't embed -rpath directories since the linker doesn't support them.
    2850   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
    28512736  ;;
    28522737
     
    28562741  need_lib_prefix=no
    28572742  need_version=no
    2858   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    2859   soname_spec='$libname$release$shared_ext$major'
     2743  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2744  soname_spec='${libname}${release}${shared_ext}$major'
    28602745  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    28612746  shlibpath_var=LD_LIBRARY_PATH
     
    28822767  hardcode_into_libs=yes
    28832768
    2884   # Ideally, we could use ldconfig to report *all* directores which are
    2885   # searched for libraries, however this is still not possible.  Aside from not
    2886   # being certain /sbin/ldconfig is available, command
    2887   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
    2888   # even though it is searched at run-time.  Try to do the best guess by
    2889   # appending ld.so.conf contents (and includes) to the search path.
     2769  # Append ld.so.conf contents to the search path
    28902770  if test -f /etc/ld.so.conf; then
    28912771    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' ' '`
     
    29192799  need_version=no
    29202800  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    2921     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     2801    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    29222802    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    29232803    dynamic_linker='NetBSD (a.out) ld.so'
    29242804  else
    2925     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    2926     soname_spec='$libname$release$shared_ext$major'
     2805    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     2806    soname_spec='${libname}${release}${shared_ext}$major'
    29272807    dynamic_linker='NetBSD ld.elf_so'
    29282808  fi
     
    29342814newsos6)
    29352815  version_type=linux # correct to gnu/linux during the next big refactor
    2936   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2816  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    29372817  shlibpath_var=LD_LIBRARY_PATH
    29382818  shlibpath_overrides_runpath=yes
     
    29432823  need_lib_prefix=no
    29442824  need_version=no
    2945   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    2946   soname_spec='$libname$release$shared_ext$major'
     2825  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2826  soname_spec='${libname}${release}${shared_ext}$major'
    29472827  shlibpath_var=LD_LIBRARY_PATH
    29482828  shlibpath_overrides_runpath=no
     
    29512831  ;;
    29522832
    2953 openbsd* | bitrig*)
     2833openbsd*)
    29542834  version_type=sunos
    2955   sys_lib_dlsearch_path_spec=/usr/lib
     2835  sys_lib_dlsearch_path_spec="/usr/lib"
    29562836  need_lib_prefix=no
    2957   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    2958     need_version=no
    2959   else
    2960     need_version=yes
    2961   fi
    2962   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     2837  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
     2838  case $host_os in
     2839    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
     2840    *)                          need_version=no  ;;
     2841  esac
     2842  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    29632843  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    29642844  shlibpath_var=LD_LIBRARY_PATH
    2965   shlibpath_overrides_runpath=yes
     2845  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     2846    case $host_os in
     2847      openbsd2.[[89]] | openbsd2.[[89]].*)
     2848        shlibpath_overrides_runpath=no
     2849        ;;
     2850      *)
     2851        shlibpath_overrides_runpath=yes
     2852        ;;
     2853      esac
     2854  else
     2855    shlibpath_overrides_runpath=yes
     2856  fi
    29662857  ;;
    29672858
    29682859os2*)
    29692860  libname_spec='$name'
    2970   version_type=windows
    2971   shrext_cmds=.dll
    2972   need_version=no
     2861  shrext_cmds=".dll"
    29732862  need_lib_prefix=no
    2974   # OS/2 can only load a DLL with a base name of 8 characters or less.
    2975   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
    2976     v=$($ECHO $release$versuffix | tr -d .-);
    2977     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
    2978     $ECHO $n$v`$shared_ext'
    2979   library_names_spec='${libname}_dll.$libext'
     2863  library_names_spec='$libname${shared_ext} $libname.a'
    29802864  dynamic_linker='OS/2 ld.exe'
    2981   shlibpath_var=BEGINLIBPATH
    2982   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    2983   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    2984   postinstall_cmds='base_file=`basename \$file`~
    2985     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
    2986     dldir=$destdir/`dirname \$dlpath`~
    2987     test -d \$dldir || mkdir -p \$dldir~
    2988     $install_prog $dir/$dlname \$dldir/$dlname~
    2989     chmod a+x \$dldir/$dlname~
    2990     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    2991       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    2992     fi'
    2993   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
    2994     dlpath=$dir/\$dldll~
    2995     $RM \$dlpath'
     2865  shlibpath_var=LIBPATH
    29962866  ;;
    29972867
     
    30002870  need_lib_prefix=no
    30012871  need_version=no
    3002   soname_spec='$libname$release$shared_ext$major'
    3003   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2872  soname_spec='${libname}${release}${shared_ext}$major'
     2873  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    30042874  shlibpath_var=LD_LIBRARY_PATH
    30052875  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    3006   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     2876  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
    30072877  ;;
    30082878
     
    30152885  need_lib_prefix=no
    30162886  need_version=no
    3017   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    3018   soname_spec='$libname$release$shared_ext$major'
     2887  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2888  soname_spec='${libname}${release}${shared_ext}$major'
    30192889  shlibpath_var=LD_LIBRARY_PATH
    30202890  shlibpath_overrides_runpath=yes
     
    30262896sunos4*)
    30272897  version_type=sunos
    3028   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     2898  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    30292899  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    30302900  shlibpath_var=LD_LIBRARY_PATH
    30312901  shlibpath_overrides_runpath=yes
    3032   if test yes = "$with_gnu_ld"; then
     2902  if test "$with_gnu_ld" = yes; then
    30332903    need_lib_prefix=no
    30342904  fi
     
    30382908sysv4 | sysv4.3*)
    30392909  version_type=linux # correct to gnu/linux during the next big refactor
    3040   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    3041   soname_spec='$libname$release$shared_ext$major'
     2910  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2911  soname_spec='${libname}${release}${shared_ext}$major'
    30422912  shlibpath_var=LD_LIBRARY_PATH
    30432913  case $host_vendor in
     
    30602930
    30612931sysv4*MP*)
    3062   if test -d /usr/nec; then
     2932  if test -d /usr/nec ;then
    30632933    version_type=linux # correct to gnu/linux during the next big refactor
    3064     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
    3065     soname_spec='$libname$shared_ext.$major'
     2934    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
     2935    soname_spec='$libname${shared_ext}.$major'
    30662936    shlibpath_var=LD_LIBRARY_PATH
    30672937  fi
     
    30692939
    30702940sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    3071   version_type=sco
     2941  version_type=freebsd-elf
    30722942  need_lib_prefix=no
    30732943  need_version=no
    3074   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
    3075   soname_spec='$libname$release$shared_ext$major'
     2944  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     2945  soname_spec='${libname}${release}${shared_ext}$major'
    30762946  shlibpath_var=LD_LIBRARY_PATH
    30772947  shlibpath_overrides_runpath=yes
    30782948  hardcode_into_libs=yes
    3079   if test yes = "$with_gnu_ld"; then
     2949  if test "$with_gnu_ld" = yes; then
    30802950    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    30812951  else
     
    30952965  need_lib_prefix=no
    30962966  need_version=no
    3097   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2967  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    30982968  shlibpath_var=LD_LIBRARY_PATH
    30992969  shlibpath_overrides_runpath=no
     
    31032973uts4*)
    31042974  version_type=linux # correct to gnu/linux during the next big refactor
    3105   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    3106   soname_spec='$libname$release$shared_ext$major'
     2975  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2976  soname_spec='${libname}${release}${shared_ext}$major'
    31072977  shlibpath_var=LD_LIBRARY_PATH
    31082978  ;;
     
    31132983esac
    31142984AC_MSG_RESULT([$dynamic_linker])
    3115 test no = "$dynamic_linker" && can_build_shared=no
     2985test "$dynamic_linker" = no && can_build_shared=no
    31162986
    31172987variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    3118 if test yes = "$GCC"; then
     2988if test "$GCC" = yes; then
    31192989  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    31202990fi
    31212991
    3122 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
    3123   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
     2992if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
     2993  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
    31242994fi
    3125 
    3126 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
    3127   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
     2995if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
     2996  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
    31282997fi
    3129 
    3130 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
    3131 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
    3132 
    3133 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
    3134 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
    3135 
    3136 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
    3137 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
    31382998
    31392999_LT_DECL([], [variables_saved_for_relink], [1],
     
    31693029_LT_DECL([], [sys_lib_search_path_spec], [2],
    31703030    [Compile-time system search path for libraries])
    3171 _LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
    3172     [Detected run-time system search path for libraries])
    3173 _LT_DECL([], [configure_time_lt_sys_library_path], [2],
    3174     [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
     3031_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
     3032    [Run-time system search path for libraries])
    31753033])# _LT_SYS_DYNAMIC_LINKER
    31763034
     
    31783036# _LT_PATH_TOOL_PREFIX(TOOL)
    31793037# --------------------------
    3180 # find a file program that can recognize shared library
     3038# find a file program which can recognize shared library
    31813039AC_DEFUN([_LT_PATH_TOOL_PREFIX],
    31823040[m4_require([_LT_DECL_EGREP])dnl
     
    31853043[case $MAGIC_CMD in
    31863044[[\\/*] |  ?:[\\/]*])
    3187   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     3045  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
    31883046  ;;
    31893047*)
    3190   lt_save_MAGIC_CMD=$MAGIC_CMD
    3191   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     3048  lt_save_MAGIC_CMD="$MAGIC_CMD"
     3049  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    31923050dnl $ac_dummy forces splitting on constant user-supplied paths.
    31933051dnl POSIX.2 word splitting is done only on the output of word expansions,
     
    31953053  ac_dummy="m4_if([$2], , $PATH, [$2])"
    31963054  for ac_dir in $ac_dummy; do
    3197     IFS=$lt_save_ifs
     3055    IFS="$lt_save_ifs"
    31983056    test -z "$ac_dir" && ac_dir=.
    3199     if test -f "$ac_dir/$1"; then
    3200       lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
     3057    if test -f $ac_dir/$1; then
     3058      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
    32013059      if test -n "$file_magic_test_file"; then
    32023060        case $deplibs_check_method in
    32033061        "file_magic "*)
    32043062          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    3205           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     3063          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    32063064          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    32073065            $EGREP "$file_magic_regex" > /dev/null; then
     
    32263084    fi
    32273085  done
    3228   IFS=$lt_save_ifs
    3229   MAGIC_CMD=$lt_save_MAGIC_CMD
     3086  IFS="$lt_save_ifs"
     3087  MAGIC_CMD="$lt_save_MAGIC_CMD"
    32303088  ;;
    32313089esac])
    3232 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     3090MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    32333091if test -n "$MAGIC_CMD"; then
    32343092  AC_MSG_RESULT($MAGIC_CMD)
     
    32483106# _LT_PATH_MAGIC
    32493107# --------------
    3250 # find a file program that can recognize a shared library
     3108# find a file program which can recognize a shared library
    32513109m4_defun([_LT_PATH_MAGIC],
    32523110[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
     
    32753133    [AS_HELP_STRING([--with-gnu-ld],
    32763134        [assume the C compiler uses GNU ld @<:@default=no@:>@])],
    3277     [test no = "$withval" || with_gnu_ld=yes],
     3135    [test "$withval" = no || with_gnu_ld=yes],
    32783136    [with_gnu_ld=no])dnl
    32793137
    32803138ac_prog=ld
    3281 if test yes = "$GCC"; then
     3139if test "$GCC" = yes; then
    32823140  # Check if gcc -print-prog-name=ld gives a path.
    32833141  AC_MSG_CHECKING([for ld used by $CC])
    32843142  case $host in
    32853143  *-*-mingw*)
    3286     # gcc leaves a trailing carriage return, which upsets mingw
     3144    # gcc leaves a trailing carriage return which upsets mingw
    32873145    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    32883146  *)
     
    32983156        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    32993157      done
    3300       test -z "$LD" && LD=$ac_prog
     3158      test -z "$LD" && LD="$ac_prog"
    33013159      ;;
    33023160  "")
     
    33093167    ;;
    33103168  esac
    3311 elif test yes = "$with_gnu_ld"; then
     3169elif test "$with_gnu_ld" = yes; then
    33123170  AC_MSG_CHECKING([for GNU ld])
    33133171else
     
    33163174AC_CACHE_VAL(lt_cv_path_LD,
    33173175[if test -z "$LD"; then
    3318   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     3176  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    33193177  for ac_dir in $PATH; do
    3320     IFS=$lt_save_ifs
     3178    IFS="$lt_save_ifs"
    33213179    test -z "$ac_dir" && ac_dir=.
    33223180    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    3323       lt_cv_path_LD=$ac_dir/$ac_prog
     3181      lt_cv_path_LD="$ac_dir/$ac_prog"
    33243182      # Check to see if the program is GNU ld.  I'd rather use --version,
    33253183      # but apparently some variants of GNU ld only accept -v.
     
    33273185      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    33283186      *GNU* | *'with BFD'*)
    3329         test no != "$with_gnu_ld" && break
     3187        test "$with_gnu_ld" != no && break
    33303188        ;;
    33313189      *)
    3332         test yes != "$with_gnu_ld" && break
     3190        test "$with_gnu_ld" != yes && break
    33333191        ;;
    33343192      esac
    33353193    fi
    33363194  done
    3337   IFS=$lt_save_ifs
     3195  IFS="$lt_save_ifs"
    33383196else
    3339   lt_cv_path_LD=$LD # Let the user override the test with a path.
     3197  lt_cv_path_LD="$LD" # Let the user override the test with a path.
    33403198fi])
    3341 LD=$lt_cv_path_LD
     3199LD="$lt_cv_path_LD"
    33423200if test -n "$LD"; then
    33433201  AC_MSG_RESULT($LD)
     
    33933251case $host_os in
    33943252  cygwin* | mingw* | pw32* | cegcc*)
    3395     if test yes != "$GCC"; then
     3253    if test "$GCC" != yes; then
    33963254      reload_cmds=false
    33973255    fi
    33983256    ;;
    33993257  darwin*)
    3400     if test yes = "$GCC"; then
    3401       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
     3258    if test "$GCC" = yes; then
     3259      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
    34023260    else
    34033261      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     
    34083266_LT_TAGDECL([], [reload_cmds], [2])dnl
    34093267])# _LT_CMD_RELOAD
    3410 
    3411 
    3412 # _LT_PATH_DD
    3413 # -----------
    3414 # find a working dd
    3415 m4_defun([_LT_PATH_DD],
    3416 [AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
    3417 [printf 0123456789abcdef0123456789abcdef >conftest.i
    3418 cat conftest.i conftest.i >conftest2.i
    3419 : ${lt_DD:=$DD}
    3420 AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
    3421 [if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
    3422   cmp -s conftest.i conftest.out \
    3423   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
    3424 fi])
    3425 rm -f conftest.i conftest2.i conftest.out])
    3426 ])# _LT_PATH_DD
    3427 
    3428 
    3429 # _LT_CMD_TRUNCATE
    3430 # ----------------
    3431 # find command to truncate a binary pipe
    3432 m4_defun([_LT_CMD_TRUNCATE],
    3433 [m4_require([_LT_PATH_DD])
    3434 AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
    3435 [printf 0123456789abcdef0123456789abcdef >conftest.i
    3436 cat conftest.i conftest.i >conftest2.i
    3437 lt_cv_truncate_bin=
    3438 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
    3439   cmp -s conftest.i conftest.out \
    3440   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
    3441 fi
    3442 rm -f conftest.i conftest2.i conftest.out
    3443 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
    3444 _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
    3445   [Command to truncate a binary pipe])
    3446 ])# _LT_CMD_TRUNCATE
    34473268
    34483269
     
    34623283# interlibrary dependencies.
    34633284# 'none' -- dependencies not supported.
    3464 # 'unknown' -- same as none, but documents that we really don't know.
     3285# `unknown' -- same as none, but documents that we really don't know.
    34653286# 'pass_all' -- all dependencies passed with no checks.
    34663287# 'test_compile' -- check by making test program.
    34673288# 'file_magic [[regex]]' -- check by looking for files in library path
    3468 # that responds to the $file_magic_cmd with a given extended regex.
    3469 # If you have 'file' or equivalent on your system and you're not sure
    3470 # whether 'pass_all' will *always* work, you probably want this one.
     3289# which responds to the $file_magic_cmd with a given extended regex.
     3290# If you have `file' or equivalent on your system and you're not sure
     3291# whether `pass_all' will *always* work, you probably want this one.
    34713292
    34723293case $host_os in
     
    34953316  # func_win32_libid shell function, so use a weaker test based on 'objdump',
    34963317  # unless we find 'file', for example because we are cross-compiling.
    3497   if ( file / ) >/dev/null 2>&1; then
     3318  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
     3319  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
    34983320    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    34993321    lt_cv_file_magic_cmd='func_win32_libid'
     
    35913413  ;;
    35923414
    3593 openbsd* | bitrig*)
    3594   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     3415openbsd*)
     3416  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    35953417    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
    35963418  else
     
    36453467  lt_cv_deplibs_check_method=pass_all
    36463468  ;;
    3647 os2*)
    3648   lt_cv_deplibs_check_method=pass_all
    3649   ;;
    36503469esac
    36513470])
     
    36883507[if test -n "$NM"; then
    36893508  # Let the user override the test.
    3690   lt_cv_path_NM=$NM
     3509  lt_cv_path_NM="$NM"
    36913510else
    3692   lt_nm_to_check=${ac_tool_prefix}nm
     3511  lt_nm_to_check="${ac_tool_prefix}nm"
    36933512  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
    36943513    lt_nm_to_check="$lt_nm_to_check nm"
    36953514  fi
    36963515  for lt_tmp_nm in $lt_nm_to_check; do
    3697     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     3516    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    36983517    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
    3699       IFS=$lt_save_ifs
     3518      IFS="$lt_save_ifs"
    37003519      test -z "$ac_dir" && ac_dir=.
    3701       tmp_nm=$ac_dir/$lt_tmp_nm
    3702       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
     3520      tmp_nm="$ac_dir/$lt_tmp_nm"
     3521      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
    37033522        # Check to see if the nm accepts a BSD-compat flag.
    3704         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
     3523        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
    37053524        #   nm: unknown option "B" ignored
    37063525        # Tru64's nm complains that /dev/null is an invalid object file
    3707         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
    3708         case $build_os in
    3709         mingw*) lt_bad_file=conftest.nm/nofile ;;
    3710         *) lt_bad_file=/dev/null ;;
    3711         esac
    3712         case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
    3713         *$lt_bad_file* | *'Invalid file or object type'*)
     3526        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
     3527        */dev/null* | *'Invalid file or object type'*)
    37143528          lt_cv_path_NM="$tmp_nm -B"
    3715           break 2
     3529          break
    37163530          ;;
    37173531        *)
     
    37193533          */dev/null*)
    37203534            lt_cv_path_NM="$tmp_nm -p"
    3721             break 2
     3535            break
    37223536            ;;
    37233537          *)
     
    37303544      fi
    37313545    done
    3732     IFS=$lt_save_ifs
     3546    IFS="$lt_save_ifs"
    37333547  done
    37343548  : ${lt_cv_path_NM=no}
    37353549fi])
    3736 if test no != "$lt_cv_path_NM"; then
    3737   NM=$lt_cv_path_NM
     3550if test "$lt_cv_path_NM" != "no"; then
     3551  NM="$lt_cv_path_NM"
    37383552else
    37393553  # Didn't find any BSD compatible name lister, look for dumpbin.
     
    37423556  else
    37433557    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
    3744     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
     3558    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
    37453559    *COFF*)
    3746       DUMPBIN="$DUMPBIN -symbols -headers"
     3560      DUMPBIN="$DUMPBIN -symbols"
    37473561      ;;
    37483562    *)
     
    37523566  fi
    37533567  AC_SUBST([DUMPBIN])
    3754   if test : != "$DUMPBIN"; then
    3755     NM=$DUMPBIN
     3568  if test "$DUMPBIN" != ":"; then
     3569    NM="$DUMPBIN"
    37563570  fi
    37573571fi
     
    37993613case $host_os in
    38003614cygwin* | mingw* | pw32* | cegcc*)
    3801   # two different shell functions defined in ltmain.sh;
    3802   # decide which one to use based on capabilities of $DLLTOOL
     3615  # two different shell functions defined in ltmain.sh
     3616  # decide which to use based on capabilities of $DLLTOOL
    38033617  case `$DLLTOOL --help 2>&1` in
    38043618  *--identify-strict*)
     
    38123626*)
    38133627  # fallback: assume linklib IS sharedlib
    3814   lt_cv_sharedlib_from_linklib_cmd=$ECHO
     3628  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
    38153629  ;;
    38163630esac
     
    38393653  fi
    38403654  rm -f conftest*])
    3841 if test yes != "$lt_cv_path_mainfest_tool"; then
     3655if test "x$lt_cv_path_mainfest_tool" != xyes; then
    38423656  MANIFEST_TOOL=:
    38433657fi
    38443658_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
    38453659])# _LT_PATH_MANIFEST_TOOL
    3846 
    3847 
    3848 # _LT_DLL_DEF_P([FILE])
    3849 # ---------------------
    3850 # True iff FILE is a Windows DLL '.def' file.
    3851 # Keep in sync with func_dll_def_p in the libtool script
    3852 AC_DEFUN([_LT_DLL_DEF_P],
    3853 [dnl
    3854   test DEF = "`$SED -n dnl
    3855     -e '\''s/^[[         ]]*//'\'' dnl Strip leading whitespace
    3856     -e '\''/^\(;.*\)*$/d'\'' dnl      Delete empty lines and comments
    3857     -e '\''s/^\(EXPORTS\|LIBRARY\)\([[   ]].*\)*$/DEF/p'\'' dnl
    3858     -e q dnl                          Only consider the first "real" line
    3859     $1`" dnl
    3860 ])# _LT_DLL_DEF_P
    38613660
    38623661
     
    38723671  ;;
    38733672*-ncr-sysv4.3*)
    3874   AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
     3673  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
    38753674  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
    38763675  ;;
    38773676*)
    3878   AC_CHECK_LIB(m, cos, LIBM=-lm)
     3677  AC_CHECK_LIB(m, cos, LIBM="-lm")
    38793678  ;;
    38803679esac
     
    38953694_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
    38963695
    3897 if test yes = "$GCC"; then
     3696if test "$GCC" = yes; then
    38983697  case $cc_basename in
    38993698  nvcc*)
     
    39473746  ;;
    39483747hpux*)
    3949   if test ia64 = "$host_cpu"; then
     3748  if test "$host_cpu" = ia64; then
    39503749    symcode='[[ABCDEGRST]]'
    39513750  fi
     
    39803779esac
    39813780
    3982 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    3983   # Gets list of data symbols to import.
    3984   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
    3985   # Adjust the below global symbol transforms to fixup imported variables.
    3986   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
    3987   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
    3988   lt_c_name_lib_hook="\
    3989   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
    3990   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
    3991 else
    3992   # Disable hooks by default.
    3993   lt_cv_sys_global_symbol_to_import=
    3994   lt_cdecl_hook=
    3995   lt_c_name_hook=
    3996   lt_c_name_lib_hook=
    3997 fi
    3998 
    39993781# Transform an extracted symbol line into a proper C declaration.
    40003782# Some systems (esp. on ia64) link data and code symbols differently,
    40013783# so use this general approach.
    4002 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
    4003 $lt_cdecl_hook\
    4004 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
    4005 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
     3784lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
    40063785
    40073786# Transform an extracted symbol line into symbol name and symbol address
    4008 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
    4009 $lt_c_name_hook\
    4010 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
    4011 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
    4012 
    4013 # Transform an extracted symbol line into symbol name with lib prefix and
    4014 # symbol address.
    4015 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
    4016 $lt_c_name_lib_hook\
    4017 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
    4018 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
    4019 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
     3787lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
     3788lt_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'"
    40203789
    40213790# Handle CRLF in mingw tool chain
     
    40353804  # Write the raw and C identifiers.
    40363805  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    4037     # Fake it for dumpbin and say T for any non-static function,
    4038     # D for any global variable and I for any imported variable.
     3806    # Fake it for dumpbin and say T for any non-static function
     3807    # and D for any global variable.
    40393808    # Also find C++ and __fastcall symbols from MSVC++,
    40403809    # which start with @ or ?.
     
    40433812"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
    40443813"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
    4045 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
    4046 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
    4047 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
    40483814"     \$ 0!~/External *\|/{next};"\
    40493815"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
    40503816"     {if(hide[section]) next};"\
    4051 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
    4052 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
    4053 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
    4054 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
     3817"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
     3818"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
     3819"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
     3820"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
    40553821"     ' prfx=^$ac_symprfx]"
    40563822  else
     
    40923858          cat <<_LT_EOF > conftest.$ac_ext
    40933859/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
    4094 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
    4095 /* DATA imports from DLLs on WIN32 can't be const, because runtime
     3860#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
     3861/* DATA imports from DLLs on WIN32 con't be const, because runtime
    40963862   relocations are performed -- see ld's documentation on pseudo-relocs.  */
    40973863# define LT@&t@_DLSYM_CONST
    4098 #elif defined __osf__
     3864#elif defined(__osf__)
    40993865/* This system does not cope well with relocations in const data.  */
    41003866# define LT@&t@_DLSYM_CONST
     
    41223888  { "@PROGRAM@", (void *) 0 },
    41233889_LT_EOF
    4124           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     3890          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
    41253891          cat <<\_LT_EOF >> conftest.$ac_ext
    41263892  {0, (void *) 0}
     
    41423908          lt_globsym_save_LIBS=$LIBS
    41433909          lt_globsym_save_CFLAGS=$CFLAGS
    4144           LIBS=conftstm.$ac_objext
     3910          LIBS="conftstm.$ac_objext"
    41453911          CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
    4146           if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
     3912          if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
    41473913            pipe_works=yes
    41483914          fi
     
    41653931
    41663932  # Do not use the global_symbol_pipe unless it works.
    4167   if test yes = "$pipe_works"; then
     3933  if test "$pipe_works" = yes; then
    41683934    break
    41693935  else
     
    41923958_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
    41933959    [Transform the output of nm in a proper C declaration])
    4194 _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
    4195     [Transform the output of nm into a list of symbols to manually relocate])
    41963960_LT_DECL([global_symbol_to_c_name_address],
    41973961    [lt_cv_sys_global_symbol_to_c_name_address], [1],
     
    42003964    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
    42013965    [Transform the output of nm in a C name address pair when lib prefix is needed])
    4202 _LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
    4203     [The name lister interface])
    42043966_LT_DECL([], [nm_file_list_spec], [1],
    42053967    [Specify filename containing input files for $NM])
     
    42173979m4_if([$1], [CXX], [
    42183980  # C++ specific cases for pic, static, wl, etc.
    4219   if test yes = "$GXX"; then
     3981  if test "$GXX" = yes; then
    42203982    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    42213983    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
     
    42243986    aix*)
    42253987      # All AIX code is PIC.
    4226       if test ia64 = "$host_cpu"; then
     3988      if test "$host_cpu" = ia64; then
    42273989        # AIX 5 now supports IA64 processor
    42283990        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    42293991      fi
    4230       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
    42313992      ;;
    42323993
     
    42394000      m68k)
    42404001            # FIXME: we need at least 68020 code to build shared libraries, but
    4241             # adding the '-m68020' flag to GCC prevents building anything better,
    4242             # like '-m68040'.
     4002            # adding the `-m68020' flag to GCC prevents building anything better,
     4003            # like `-m68040'.
    42434004            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
    42444005        ;;
     
    42564017      m4_if([$1], [GCJ], [],
    42574018        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
    4258       case $host_os in
    4259       os2*)
    4260         _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
    4261         ;;
    4262       esac
    42634019      ;;
    42644020    darwin* | rhapsody*)
     
    43104066      aix[[4-9]]*)
    43114067        # All AIX code is PIC.
    4312         if test ia64 = "$host_cpu"; then
     4068        if test "$host_cpu" = ia64; then
    43134069          # AIX 5 now supports IA64 processor
    43144070          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     
    43514107          CC*)
    43524108            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    4353             _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
    4354             if test ia64 != "$host_cpu"; then
     4109            _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
     4110            if test "$host_cpu" != ia64; then
    43554111              _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
    43564112            fi
     
    43584114          aCC*)
    43594115            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    4360             _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
     4116            _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
    43614117            case $host_cpu in
    43624118            hppa*64*|ia64*)
     
    43954151            ;;
    43964152          ecpc* )
    4397             # old Intel C++ for x86_64, which still supported -KPIC.
     4153            # old Intel C++ for x86_64 which still supported -KPIC.
    43984154            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    43994155            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
     
    45404296],
    45414297[
    4542   if test yes = "$GCC"; then
     4298  if test "$GCC" = yes; then
    45434299    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    45444300    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
     
    45474303      aix*)
    45484304      # All AIX code is PIC.
    4549       if test ia64 = "$host_cpu"; then
     4305      if test "$host_cpu" = ia64; then
    45504306        # AIX 5 now supports IA64 processor
    45514307        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    45524308      fi
    4553       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
    45544309      ;;
    45554310
     
    45624317      m68k)
    45634318            # FIXME: we need at least 68020 code to build shared libraries, but
    4564             # adding the '-m68020' flag to GCC prevents building anything better,
    4565             # like '-m68040'.
     4319            # adding the `-m68020' flag to GCC prevents building anything better,
     4320            # like `-m68040'.
    45664321            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
    45674322        ;;
     
    45804335      m4_if([$1], [GCJ], [],
    45814336        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
    4582       case $host_os in
    4583       os2*)
    4584         _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
    4585         ;;
    4586       esac
    45874337      ;;
    45884338
     
    46554405    aix*)
    46564406      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    4657       if test ia64 = "$host_cpu"; then
     4407      if test "$host_cpu" = ia64; then
    46584408        # AIX 5 now supports IA64 processor
    46594409        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     
    46634413      ;;
    46644414
    4665     darwin* | rhapsody*)
    4666       # PIC is the default on this platform
    4667       # Common symbols not allowed in MH_DYLIB files
    4668       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
    4669       case $cc_basename in
    4670       nagfor*)
    4671         # NAG Fortran compiler
    4672         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
    4673         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
    4674         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    4675         ;;
    4676       esac
    4677       ;;
    4678 
    46794415    mingw* | cygwin* | pw32* | os2* | cegcc*)
    46804416      # This hack is so that the source file can tell whether it is being
     
    46824418      m4_if([$1], [GCJ], [],
    46834419        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
    4684       case $host_os in
    4685       os2*)
    4686         _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
    4687         ;;
    4688       esac
    46894420      ;;
    46904421
     
    47024433      esac
    47034434      # Is there a better lt_prog_compiler_static that works with the bundled CC?
    4704       _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
     4435      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
    47054436      ;;
    47064437
     
    47134444    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    47144445      case $cc_basename in
    4715       # old Intel for x86_64, which still supported -KPIC.
     4446      # old Intel for x86_64 which still supported -KPIC.
    47164447      ecc*)
    47174448        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     
    47374468        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
    47384469        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    4739         ;;
    4740       tcc*)
    4741         # Fabrice Bellard et al's Tiny C Compiler
    4742         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    4743         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
    4744         _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
    47454470        ;;
    47464471      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
     
    48414566
    48424567    sysv4*MP*)
    4843       if test -d /usr/nec; then
     4568      if test -d /usr/nec ;then
    48444569        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
    48454570        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     
    48704595])
    48714596case $host_os in
    4872   # For platforms that do not support PIC, -DPIC is meaningless:
     4597  # For platforms which do not support PIC, -DPIC is meaningless:
    48734598  *djgpp*)
    48744599    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
     
    49364661  aix[[4-9]]*)
    49374662    # If we're using GNU nm, then we don't want the "-C" option.
    4938     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
    4939     # Without the "-l" option, or with the "-B" option, AIX nm treats
    4940     # weak defined symbols like other global defined symbols, whereas
    4941     # GNU nm marks them as "W".
    4942     # While the 'weak' keyword is ignored in the Export File, we need
    4943     # it in the Import File for the 'aix-soname' feature, so we have
    4944     # to replace the "-B" option with "-P" for AIX nm.
     4663    # -C means demangle to AIX nm, but means don't demangle with GNU nm
     4664    # Also, AIX nm treats weak defined symbols like other global defined
     4665    # symbols, whereas GNU nm marks them as "W".
    49454666    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    4946       _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'
     4667      _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'
    49474668    else
    4948       _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'
     4669      _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'
    49494670    fi
    49504671    ;;
    49514672  pw32*)
    4952     _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
     4673    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
    49534674    ;;
    49544675  cygwin* | mingw* | cegcc*)
     
    49994720  _LT_TAGVAR(include_expsyms, $1)=
    50004721  # exclude_expsyms can be an extended regexp of symbols to exclude
    5001   # it will be wrapped by ' (' and ')$', so one must not match beginning or
    5002   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
    5003   # as well as any symbol that contains 'd'.
     4722  # it will be wrapped by ` (' and `)$', so one must not match beginning or
     4723  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
     4724  # as well as any symbol that contains `d'.
    50044725  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
    50054726  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     
    50174738    # When not using gcc, we currently assume that we are using
    50184739    # Microsoft Visual C++.
    5019     if test yes != "$GCC"; then
     4740    if test "$GCC" != yes; then
    50204741      with_gnu_ld=no
    50214742    fi
     
    50254746    with_gnu_ld=yes
    50264747    ;;
    5027   openbsd* | bitrig*)
     4748  openbsd*)
    50284749    with_gnu_ld=no
    50294750    ;;
     
    50384759  # that we're better off using the native interface for both.
    50394760  lt_use_gnu_ld_interface=no
    5040   if test yes = "$with_gnu_ld"; then
     4761  if test "$with_gnu_ld" = yes; then
    50414762    case $host_os in
    50424763      aix*)
     
    50604781  fi
    50614782
    5062   if test yes = "$lt_use_gnu_ld_interface"; then
     4783  if test "$lt_use_gnu_ld_interface" = yes; then
    50634784    # If archive_cmds runs LD, not CC, wlarc should be empty
    5064     wlarc='$wl'
     4785    wlarc='${wl}'
    50654786
    50664787    # Set some defaults for GNU ld with shared library support. These
     
    50684789    # here allows them to be overridden if necessary.
    50694790    runpath_var=LD_RUN_PATH
    5070     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    5071     _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
     4791    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     4792    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
    50724793    # ancient GNU ld didn't support --whole-archive et. al.
    50734794    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
    5074       _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     4795      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    50754796    else
    50764797      _LT_TAGVAR(whole_archive_flag_spec, $1)=
    50774798    fi
    50784799    supports_anon_versioning=no
    5079     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
     4800    case `$LD -v 2>&1` in
    50804801      *GNU\ gold*) supports_anon_versioning=yes ;;
    50814802      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
     
    50904811    aix[[3-9]]*)
    50914812      # On AIX/PPC, the GNU linker is very broken
    5092       if test ia64 != "$host_cpu"; then
     4813      if test "$host_cpu" != ia64; then
    50934814        _LT_TAGVAR(ld_shlibs, $1)=no
    50944815        cat <<_LT_EOF 1>&2
     
    51094830      powerpc)
    51104831            # see comment about AmigaOS4 .so support
    5111             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     4832            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    51124833            _LT_TAGVAR(archive_expsym_cmds, $1)=''
    51134834        ;;
     
    51254846        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    51264847        # support --undefined.  This deserves some investigation.  FIXME
    5127         _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     4848        _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    51284849      else
    51294850        _LT_TAGVAR(ld_shlibs, $1)=no
     
    51354856      # as there is no search path for DLLs.
    51364857      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
    5137       _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
     4858      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
    51384859      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    51394860      _LT_TAGVAR(always_export_symbols, $1)=no
     
    51434864
    51444865      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    5145         _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'
    5146         # If the export-symbols file already is a .def file, use it as
    5147         # is; otherwise, prepend EXPORTS...
    5148         _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
    5149           cp $export_symbols $output_objdir/$soname.def;
    5150         else
    5151           echo EXPORTS > $output_objdir/$soname.def;
    5152           cat $export_symbols >> $output_objdir/$soname.def;
    5153         fi~
    5154         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     4866        _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'
     4867        # If the export-symbols file already is a .def file (1st line
     4868        # is EXPORTS), use it as is; otherwise, prepend...
     4869        _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     4870          cp $export_symbols $output_objdir/$soname.def;
     4871        else
     4872          echo EXPORTS > $output_objdir/$soname.def;
     4873          cat $export_symbols >> $output_objdir/$soname.def;
     4874        fi~
     4875        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    51554876      else
    51564877        _LT_TAGVAR(ld_shlibs, $1)=no
     
    51594880
    51604881    haiku*)
    5161       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     4882      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    51624883      _LT_TAGVAR(link_all_deplibs, $1)=yes
    5163       ;;
    5164 
    5165     os2*)
    5166       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
    5167       _LT_TAGVAR(hardcode_minus_L, $1)=yes
    5168       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    5169       shrext_cmds=.dll
    5170       _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    5171         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    5172         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    5173         $ECHO EXPORTS >> $output_objdir/$libname.def~
    5174         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    5175         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    5176         emximp -o $lib $output_objdir/$libname.def'
    5177       _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    5178         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    5179         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    5180         $ECHO EXPORTS >> $output_objdir/$libname.def~
    5181         prefix_cmds="$SED"~
    5182         if test EXPORTS = "`$SED 1q $export_symbols`"; then
    5183           prefix_cmds="$prefix_cmds -e 1d";
    5184         fi~
    5185         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    5186         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    5187         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    5188         emximp -o $lib $output_objdir/$libname.def'
    5189       _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    5190       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
    51914884      ;;
    51924885
     
    51944887      _LT_TAGVAR(hardcode_direct, $1)=no
    51954888      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    5196       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
    5197       _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
     4889      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     4890      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
    51984891      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    51994892      # Instead, shared libraries are loaded at an image base (0x10000000 by
     
    52024895      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    52034896      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    5204       _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'
    5205       _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'
     4897      _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'
     4898      _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'
    52064899      ;;
    52074900
    52084901    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
    52094902      tmp_diet=no
    5210       if test linux-dietlibc = "$host_os"; then
     4903      if test "$host_os" = linux-dietlibc; then
    52114904        case $cc_basename in
    52124905          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     
    52144907      fi
    52154908      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
    5216          && test no = "$tmp_diet"
     4909         && test "$tmp_diet" = no
    52174910      then
    52184911        tmp_addflag=' $pic_flag'
     
    52204913        case $cc_basename,$host_cpu in
    52214914        pgcc*)                          # Portland Group C compiler
    5222           _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'
     4915          _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'
    52234916          tmp_addflag=' $pic_flag'
    52244917          ;;
    52254918        pgf77* | pgf90* | pgf95* | pgfortran*)
    52264919                                        # Portland Group f77 and f90 compilers
    5227           _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'
     4920          _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'
    52284921          tmp_addflag=' $pic_flag -Mnomain' ;;
    52294922        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
     
    52364929          _LT_TAGVAR(whole_archive_flag_spec, $1)=
    52374930          tmp_sharedflag='--shared' ;;
    5238         nagfor*)                        # NAGFOR 5.3
    5239           tmp_sharedflag='-Wl,-shared' ;;
    52404931        xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
    52414932          tmp_sharedflag='-qmkshrobj'
    52424933          tmp_addflag= ;;
    52434934        nvcc*)  # Cuda Compiler Driver 2.2
    5244           _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'
     4935          _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'
    52454936          _LT_TAGVAR(compiler_needs_object, $1)=yes
    52464937          ;;
     
    52484939        case `$CC -V 2>&1 | sed 5q` in
    52494940        *Sun\ C*)                       # Sun C 5.9
    5250           _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'
     4941          _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'
    52514942          _LT_TAGVAR(compiler_needs_object, $1)=yes
    52524943          tmp_sharedflag='-G' ;;
     
    52544945          tmp_sharedflag='-G' ;;
    52554946        esac
    5256         _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    5257 
    5258         if test yes = "$supports_anon_versioning"; then
     4947        _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     4948
     4949        if test "x$supports_anon_versioning" = xyes; then
    52594950          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
    5260             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    5261             echo "local: *; };" >> $output_objdir/$libname.ver~
    5262             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
     4951            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     4952            echo "local: *; };" >> $output_objdir/$libname.ver~
     4953            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    52634954        fi
    52644955
    52654956        case $cc_basename in
    5266         tcc*)
    5267           _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
    5268           ;;
    52694957        xlf* | bgf* | bgxlf* | mpixlf*)
    52704958          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
    52714959          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
    5272           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     4960          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    52734961          _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
    5274           if test yes = "$supports_anon_versioning"; then
     4962          if test "x$supports_anon_versioning" = xyes; then
    52754963            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
    5276               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    5277               echo "local: *; };" >> $output_objdir/$libname.ver~
    5278               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     4964              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     4965              echo "local: *; };" >> $output_objdir/$libname.ver~
     4966              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
    52794967          fi
    52804968          ;;
     
    52904978        wlarc=
    52914979      else
    5292         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    5293         _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'
     4980        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     4981        _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'
    52944982      fi
    52954983      ;;
     
    53094997_LT_EOF
    53104998      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    5311         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    5312         _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'
     4999        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5000        _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'
    53135001      else
    53145002        _LT_TAGVAR(ld_shlibs, $1)=no
     
    53225010        cat <<_LT_EOF 1>&2
    53235011
    5324 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
     5012*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
    53255013*** reliably create shared libraries on SCO systems.  Therefore, libtool
    53265014*** is disabling shared libraries support.  We urge you to upgrade GNU
     
    53375025          # requires that you compile everything twice, which is a pain.
    53385026          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    5339             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    5340             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    5341             _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'
     5027            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     5028            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5029            _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'
    53425030          else
    53435031            _LT_TAGVAR(ld_shlibs, $1)=no
     
    53565044    *)
    53575045      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    5358         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    5359         _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'
     5046        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5047        _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'
    53605048      else
    53615049        _LT_TAGVAR(ld_shlibs, $1)=no
     
    53645052    esac
    53655053
    5366     if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
     5054    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
    53675055      runpath_var=
    53685056      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
     
    53805068      # are no directories specified by -L.
    53815069      _LT_TAGVAR(hardcode_minus_L, $1)=yes
    5382       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
     5070      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
    53835071        # Neither direct hardcoding nor static linking is supported with a
    53845072        # broken collect2.
     
    53885076
    53895077    aix[[4-9]]*)
    5390       if test ia64 = "$host_cpu"; then
     5078      if test "$host_cpu" = ia64; then
    53915079        # On IA64, the linker does run time linking by default, so we don't
    53925080        # have to do anything special.
    53935081        aix_use_runtimelinking=no
    53945082        exp_sym_flag='-Bexport'
    5395         no_entry_flag=
     5083        no_entry_flag=""
    53965084      else
    53975085        # If we're using GNU nm, then we don't want the "-C" option.
    5398         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
    5399         # Without the "-l" option, or with the "-B" option, AIX nm treats
    5400         # weak defined symbols like other global defined symbols, whereas
    5401         # GNU nm marks them as "W".
    5402         # While the 'weak' keyword is ignored in the Export File, we need
    5403         # it in the Import File for the 'aix-soname' feature, so we have
    5404         # to replace the "-B" option with "-P" for AIX nm.
     5086        # -C means demangle to AIX nm, but means don't demangle with GNU nm
     5087        # Also, AIX nm treats weak defined symbols like other global
     5088        # defined symbols, whereas GNU nm marks them as "W".
    54055089        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    5406           _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'
     5090          _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'
    54075091        else
    5408           _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'
     5092          _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'
    54095093        fi
    54105094        aix_use_runtimelinking=no
     
    54125096        # Test if we are trying to use run time linking or normal
    54135097        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    5414         # have runtime linking enabled, and use it for executables.
    5415         # For shared libraries, we enable/disable runtime linking
    5416         # depending on the kind of the shared library created -
    5417         # when "with_aix_soname,aix_use_runtimelinking" is:
    5418         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
    5419         # "aix,yes"  lib.so          shared, rtl:yes, for executables
    5420         #            lib.a           static archive
    5421         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
    5422         #            lib.a(lib.so.V) shared, rtl:no,  for executables
    5423         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
    5424         #            lib.a(lib.so.V) shared, rtl:no
    5425         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
    5426         #            lib.a           static archive
     5098        # need to do runtime linking.
    54275099        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
    54285100          for ld_flag in $LDFLAGS; do
    5429           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
     5101          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    54305102            aix_use_runtimelinking=yes
    54315103            break
    54325104          fi
    54335105          done
    5434           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
    5435             # With aix-soname=svr4, we create the lib.so.V shared archives only,
    5436             # so we don't have lib.a shared libs to link our executables.
    5437             # We have to force runtime linking in this case.
    5438             aix_use_runtimelinking=yes
    5439             LDFLAGS="$LDFLAGS -Wl,-brtl"
    5440           fi
    54415106          ;;
    54425107        esac
     
    54575122      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
    54585123      _LT_TAGVAR(link_all_deplibs, $1)=yes
    5459       _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
    5460       case $with_aix_soname,$aix_use_runtimelinking in
    5461       aix,*) ;; # traditional, no import file
    5462       svr4,* | *,yes) # use import file
    5463         # The Import File defines what to hardcode.
    5464         _LT_TAGVAR(hardcode_direct, $1)=no
    5465         _LT_TAGVAR(hardcode_direct_absolute, $1)=no
    5466         ;;
    5467       esac
    5468 
    5469       if test yes = "$GCC"; then
     5124      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
     5125
     5126      if test "$GCC" = yes; then
    54705127        case $host_os in aix4.[[012]]|aix4.[[012]].*)
    54715128        # We only want to do this on AIX 4.2 and lower, the check
    54725129        # below for broken collect2 doesn't work under 4.3+
    5473           collect2name=`$CC -print-prog-name=collect2`
     5130          collect2name=`${CC} -print-prog-name=collect2`
    54745131          if test -f "$collect2name" &&
    54755132           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     
    54905147        esac
    54915148        shared_flag='-shared'
    5492         if test yes = "$aix_use_runtimelinking"; then
    5493           shared_flag="$shared_flag "'$wl-G'
     5149        if test "$aix_use_runtimelinking" = yes; then
     5150          shared_flag="$shared_flag "'${wl}-G'
    54945151        fi
    5495         # Need to ensure runtime linking is disabled for the traditional
    5496         # shared library, or the linker may eventually find shared libraries
    5497         # /with/ Import File - we do not want to mix them.
    5498         shared_flag_aix='-shared'
    5499         shared_flag_svr4='-shared $wl-G'
     5152        _LT_TAGVAR(link_all_deplibs, $1)=no
    55005153      else
    55015154        # not using gcc
    5502         if test ia64 = "$host_cpu"; then
     5155        if test "$host_cpu" = ia64; then
    55035156        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    55045157        # chokes on -Wl,-G. The following line is correct:
    55055158          shared_flag='-G'
    55065159        else
    5507           if test yes = "$aix_use_runtimelinking"; then
    5508             shared_flag='$wl-G'
     5160          if test "$aix_use_runtimelinking" = yes; then
     5161            shared_flag='${wl}-G'
    55095162          else
    5510             shared_flag='$wl-bM:SRE'
     5163            shared_flag='${wl}-bM:SRE'
    55115164          fi
    5512           shared_flag_aix='$wl-bM:SRE'
    5513           shared_flag_svr4='$wl-G'
    55145165        fi
    55155166      fi
    55165167
    5517       _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
     5168      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
    55185169      # It seems that -bexpall does not export symbols beginning with
    55195170      # underscore (_), so it is better to generate a list of symbols to export.
    55205171      _LT_TAGVAR(always_export_symbols, $1)=yes
    5521       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
     5172      if test "$aix_use_runtimelinking" = yes; then
    55225173        # Warning - without using the other runtime loading flags (-brtl),
    55235174        # -berok will link without error, but may produce a broken library.
     
    55265177        # empty executable.
    55275178        _LT_SYS_MODULE_PATH_AIX([$1])
    5528         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
    5529         _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
     5179        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
     5180        _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"
    55305181      else
    5531         if test ia64 = "$host_cpu"; then
    5532           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
     5182        if test "$host_cpu" = ia64; then
     5183          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
    55335184          _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
    5534           _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"
     5185          _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"
    55355186        else
    55365187         # Determine the default libpath from the value encoded in an
    55375188         # empty executable.
    55385189         _LT_SYS_MODULE_PATH_AIX([$1])
    5539          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
     5190         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
    55405191          # Warning - without using the other run time loading flags,
    55415192          # -berok will link without error, but may produce a broken library.
    5542           _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
    5543           _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
    5544           if test yes = "$with_gnu_ld"; then
     5193          _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
     5194          _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
     5195          if test "$with_gnu_ld" = yes; then
    55455196            # We only use this code for GNU lds that support --whole-archive.
    5546             _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
     5197            _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
    55475198          else
    55485199            # Exported symbols can be pulled into shared objects from archives
     
    55505201          fi
    55515202          _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
    5552           _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
    5553           # -brtl affects multiple linker settings, -berok does not and is overridden later
    5554           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
    5555           if test svr4 != "$with_aix_soname"; then
    5556             # This is similar to how AIX traditionally builds its shared libraries.
    5557             _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'
    5558           fi
    5559           if test aix != "$with_aix_soname"; then
    5560             _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'
    5561           else
    5562             # used by -dlpreopen to get the symbols
    5563             _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
    5564           fi
    5565           _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
     5203          # This is similar to how AIX traditionally builds its shared libraries.
     5204          _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'
    55665205        fi
    55675206      fi
     
    55725211      powerpc)
    55735212            # see comment about AmigaOS4 .so support
    5574             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5213            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    55755214            _LT_TAGVAR(archive_expsym_cmds, $1)=''
    55765215        ;;
     
    56025241        libext=lib
    56035242        # Tell ltmain to make .dll files, not .so files.
    5604         shrext_cmds=.dll
     5243        shrext_cmds=".dll"
    56055244        # FIXME: Setting linknames here is a bad hack.
    5606         _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
    5607         _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
    5608             cp "$export_symbols" "$output_objdir/$soname.def";
    5609             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
    5610           else
    5611             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
    5612           fi~
    5613           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    5614           linknames='
     5245        _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
     5246        _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     5247            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
     5248          else
     5249            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
     5250          fi~
     5251          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     5252          linknames='
    56155253        # The linker will not automatically build a static lib if we build a DLL.
    56165254        # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
     
    56215259        _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
    56225260        _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
    5623           lt_tool_outputfile="@TOOL_OUTPUT@"~
    5624           case $lt_outputfile in
    5625             *.exe|*.EXE) ;;
    5626             *)
    5627               lt_outputfile=$lt_outputfile.exe
    5628               lt_tool_outputfile=$lt_tool_outputfile.exe
    5629               ;;
    5630           esac~
    5631           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
    5632             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    5633             $RM "$lt_outputfile.manifest";
    5634           fi'
     5261          lt_tool_outputfile="@TOOL_OUTPUT@"~
     5262          case $lt_outputfile in
     5263            *.exe|*.EXE) ;;
     5264            *)
     5265              lt_outputfile="$lt_outputfile.exe"
     5266              lt_tool_outputfile="$lt_tool_outputfile.exe"
     5267              ;;
     5268          esac~
     5269          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
     5270            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     5271            $RM "$lt_outputfile.manifest";
     5272          fi'
    56355273        ;;
    56365274      *)
     
    56415279        libext=lib
    56425280        # Tell ltmain to make .dll files, not .so files.
    5643         shrext_cmds=.dll
     5281        shrext_cmds=".dll"
    56445282        # FIXME: Setting linknames here is a bad hack.
    56455283        _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
     
    56915329
    56925330    hpux9*)
    5693       if test yes = "$GCC"; then
    5694         _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'
     5331      if test "$GCC" = yes; then
     5332        _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'
    56955333      else
    5696         _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'
     5334        _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'
    56975335      fi
    5698       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
     5336      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
    56995337      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    57005338      _LT_TAGVAR(hardcode_direct, $1)=yes
     
    57035341      # but as the default location of the library.
    57045342      _LT_TAGVAR(hardcode_minus_L, $1)=yes
    5705       _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
     5343      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
    57065344      ;;
    57075345
    57085346    hpux10*)
    5709       if test yes,no = "$GCC,$with_gnu_ld"; then
    5710         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     5347      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
     5348        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    57115349      else
    57125350        _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    57135351      fi
    5714       if test no = "$with_gnu_ld"; then
    5715         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
     5352      if test "$with_gnu_ld" = no; then
     5353        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
    57165354        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    57175355        _LT_TAGVAR(hardcode_direct, $1)=yes
    57185356        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
    5719         _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
     5357        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
    57205358        # hardcode_minus_L: Not really in the search PATH,
    57215359        # but as the default location of the library.
     
    57255363
    57265364    hpux11*)
    5727       if test yes,no = "$GCC,$with_gnu_ld"; then
     5365      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
    57285366        case $host_cpu in
    57295367        hppa*64*)
    5730           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
     5368          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    57315369          ;;
    57325370        ia64*)
    5733           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     5371          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    57345372          ;;
    57355373        *)
    5736           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     5374          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    57375375          ;;
    57385376        esac
     
    57405378        case $host_cpu in
    57415379        hppa*64*)
    5742           _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
     5380          _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    57435381          ;;
    57445382        ia64*)
    5745           _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     5383          _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    57465384          ;;
    57475385        *)
     
    57515389          _LT_LINKER_OPTION([if $CC understands -b],
    57525390            _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
    5753             [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
     5391            [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
    57545392            [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
    5755           [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
     5393          [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
    57565394          ;;
    57575395        esac
    57585396      fi
    5759       if test no = "$with_gnu_ld"; then
    5760         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
     5397      if test "$with_gnu_ld" = no; then
     5398        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
    57615399        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    57625400
     
    57695407          _LT_TAGVAR(hardcode_direct, $1)=yes
    57705408          _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
    5771           _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
     5409          _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
    57725410
    57735411          # hardcode_minus_L: Not really in the search PATH,
     
    57805418
    57815419    irix5* | irix6* | nonstopux*)
    5782       if test yes = "$GCC"; then
    5783         _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'
     5420      if test "$GCC" = yes; then
     5421        _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'
    57845422        # Try to use the -exported_symbol ld option, if it does not
    57855423        # work, assume that -exports_file does not work either and
     
    57885426        AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
    57895427          [lt_cv_irix_exported_symbol],
    5790           [save_LDFLAGS=$LDFLAGS
    5791            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
     5428          [save_LDFLAGS="$LDFLAGS"
     5429           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
    57925430           AC_LINK_IFELSE(
    57935431             [AC_LANG_SOURCE(
     
    58025440              [lt_cv_irix_exported_symbol=yes],
    58035441              [lt_cv_irix_exported_symbol=no])
    5804            LDFLAGS=$save_LDFLAGS])
    5805         if test yes = "$lt_cv_irix_exported_symbol"; then
    5806           _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'
     5442           LDFLAGS="$save_LDFLAGS"])
     5443        if test "$lt_cv_irix_exported_symbol" = yes; then
     5444          _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'
    58075445        fi
    5808         _LT_TAGVAR(link_all_deplibs, $1)=no
    58095446      else
    5810         _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'
    5811         _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'
     5447        _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'
     5448        _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'
    58125449      fi
    58135450      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
    5814       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     5451      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    58155452      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    58165453      _LT_TAGVAR(inherit_rpath, $1)=yes
    58175454      _LT_TAGVAR(link_all_deplibs, $1)=yes
    5818       ;;
    5819 
    5820     linux*)
    5821       case $cc_basename in
    5822       tcc*)
    5823         # Fabrice Bellard et al's Tiny C Compiler
    5824         _LT_TAGVAR(ld_shlibs, $1)=yes
    5825         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    5826         ;;
    5827       esac
    58285455      ;;
    58295456
     
    58425469      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    58435470      _LT_TAGVAR(hardcode_direct, $1)=yes
    5844       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     5471      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    58455472      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    58465473      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
     
    58505477      ;;
    58515478
    5852     openbsd* | bitrig*)
     5479    openbsd*)
    58535480      if test -f /usr/libexec/ld.so; then
    58545481        _LT_TAGVAR(hardcode_direct, $1)=yes
    58555482        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    58565483        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
    5857         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     5484        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    58585485          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    5859           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
    5860           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
    5861           _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
     5486          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
     5487          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     5488          _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
    58625489        else
    5863           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    5864           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     5490          case $host_os in
     5491           openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
     5492             _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     5493             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
     5494             ;;
     5495           *)
     5496             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     5497             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     5498             ;;
     5499          esac
    58655500        fi
    58665501      else
     
    58735508      _LT_TAGVAR(hardcode_minus_L, $1)=yes
    58745509      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    5875       shrext_cmds=.dll
    5876       _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    5877         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    5878         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    5879         $ECHO EXPORTS >> $output_objdir/$libname.def~
    5880         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    5881         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    5882         emximp -o $lib $output_objdir/$libname.def'
    5883       _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    5884         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    5885         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    5886         $ECHO EXPORTS >> $output_objdir/$libname.def~
    5887         prefix_cmds="$SED"~
    5888         if test EXPORTS = "`$SED 1q $export_symbols`"; then
    5889           prefix_cmds="$prefix_cmds -e 1d";
    5890         fi~
    5891         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    5892         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    5893         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    5894         emximp -o $lib $output_objdir/$libname.def'
    5895       _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    5896       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
     5510      _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'
     5511      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
    58975512      ;;
    58985513
    58995514    osf3*)
    5900       if test yes = "$GCC"; then
    5901         _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
    5902         _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'
     5515      if test "$GCC" = yes; then
     5516        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
     5517        _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'
    59035518      else
    59045519        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    5905         _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'
     5520        _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'
    59065521      fi
    59075522      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
    5908       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     5523      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    59095524      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    59105525      ;;
    59115526
    59125527    osf4* | osf5*)      # as osf3* with the addition of -msym flag
    5913       if test yes = "$GCC"; then
    5914         _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
    5915         _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'
    5916         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     5528      if test "$GCC" = yes; then
     5529        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
     5530        _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'
     5531        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    59175532      else
    59185533        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    5919         _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'
     5534        _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'
    59205535        _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~
    5921           $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'
     5536        $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'
    59225537
    59235538        # Both c and cxx compiler support -rpath directly
     
    59305545    solaris*)
    59315546      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
    5932       if test yes = "$GCC"; then
    5933         wlarc='$wl'
    5934         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
     5547      if test "$GCC" = yes; then
     5548        wlarc='${wl}'
     5549        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    59355550        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    5936           $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'
     5551          $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'
    59375552      else
    59385553        case `$CC -V 2>&1` in
    59395554        *"Compilers 5.0"*)
    59405555          wlarc=''
    5941           _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
     5556          _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    59425557          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    5943             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
     5558          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
    59445559          ;;
    59455560        *)
    5946           wlarc='$wl'
    5947           _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
     5561          wlarc='${wl}'
     5562          _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
    59485563          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    5949             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
     5564          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    59505565          ;;
    59515566        esac
     
    59575572      *)
    59585573        # The compiler driver will combine and reorder linker options,
    5959         # but understands '-z linker_flag'.  GCC discards it without '$wl',
     5574        # but understands `-z linker_flag'.  GCC discards it without `$wl',
    59605575        # but is careful enough not to reorder.
    59615576        # Supported since Solaris 2.6 (maybe 2.5.1?)
    5962         if test yes = "$GCC"; then
    5963           _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
     5577        if test "$GCC" = yes; then
     5578          _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
    59645579        else
    59655580          _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
     
    59715586
    59725587    sunos4*)
    5973       if test sequent = "$host_vendor"; then
     5588      if test "x$host_vendor" = xsequent; then
    59745589        # Use $CC to link under sequent, because it throws in some extra .o
    59755590        # files that make .init and .fini sections work.
    5976         _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
     5591        _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    59775592      else
    59785593        _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
     
    60235638
    60245639    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
    6025       _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
     5640      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
    60265641      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    60275642      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    60285643      runpath_var='LD_RUN_PATH'
    60295644
    6030       if test yes = "$GCC"; then
    6031         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    6032         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     5645      if test "$GCC" = yes; then
     5646        _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     5647        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    60335648      else
    6034         _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    6035         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     5649        _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     5650        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    60365651      fi
    60375652      ;;
    60385653
    60395654    sysv5* | sco3.2v5* | sco5v6*)
    6040       # Note: We CANNOT use -z defs as we might desire, because we do not
     5655      # Note: We can NOT use -z defs as we might desire, because we do not
    60415656      # link with -lc, and that would cause any symbols used from libc to
    60425657      # always be unresolved, which means just about no library would
     
    60445659      # though, which does catch some bad symbols but isn't as heavy-handed
    60455660      # as -z defs.
    6046       _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
    6047       _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
     5661      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
     5662      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
    60485663      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    60495664      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    6050       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
     5665      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
    60515666      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
    60525667      _LT_TAGVAR(link_all_deplibs, $1)=yes
    6053       _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
     5668      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
    60545669      runpath_var='LD_RUN_PATH'
    60555670
    6056       if test yes = "$GCC"; then
    6057         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    6058         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     5671      if test "$GCC" = yes; then
     5672        _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     5673        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    60595674      else
    6060         _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    6061         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     5675        _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     5676        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    60625677      fi
    60635678      ;;
     
    60745689    esac
    60755690
    6076     if test sni = "$host_vendor"; then
     5691    if test x$host_vendor = xsni; then
    60775692      case $host in
    60785693      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    6079         _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
     5694        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
    60805695        ;;
    60815696      esac
     
    60845699])
    60855700AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
    6086 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
     5701test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
    60875702
    60885703_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
     
    61015716  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
    61025717
    6103   if test yes,yes = "$GCC,$enable_shared"; then
     5718  if test "$enable_shared" = yes && test "$GCC" = yes; then
    61045719    case $_LT_TAGVAR(archive_cmds, $1) in
    61055720    *'~'*)
     
    61815796    [Whether we need a single "-rpath" flag with a separated argument])
    61825797_LT_TAGDECL([], [hardcode_direct], [0],
    6183     [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
     5798    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
    61845799    DIR into the resulting binary])
    61855800_LT_TAGDECL([], [hardcode_direct_absolute], [0],
    6186     [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
     5801    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
    61875802    DIR into the resulting binary and the resulting library dependency is
    6188     "absolute", i.e impossible to change by setting $shlibpath_var if the
     5803    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
    61895804    library is relocated])
    61905805_LT_TAGDECL([], [hardcode_minus_L], [0],
     
    62275842# Ensure that the configuration variables for a C compiler are suitably
    62285843# defined.  These variables are subsequently used by _LT_CONFIG to write
    6229 # the compiler configuration to 'libtool'.
     5844# the compiler configuration to `libtool'.
    62305845m4_defun([_LT_LANG_C_CONFIG],
    62315846[m4_require([_LT_DECL_EGREP])dnl
    6232 lt_save_CC=$CC
     5847lt_save_CC="$CC"
    62335848AC_LANG_PUSH(C)
    62345849
     
    62665881  _LT_CMD_STRIPLIB
    62675882
    6268   # Report what library types will actually be built
     5883  # Report which library types will actually be built
    62695884  AC_MSG_CHECKING([if libtool supports shared libraries])
    62705885  AC_MSG_RESULT([$can_build_shared])
    62715886
    62725887  AC_MSG_CHECKING([whether to build shared libraries])
    6273   test no = "$can_build_shared" && enable_shared=no
     5888  test "$can_build_shared" = "no" && enable_shared=no
    62745889
    62755890  # On AIX, shared libraries and static libraries use the same namespace, and
     
    62775892  case $host_os in
    62785893  aix3*)
    6279     test yes = "$enable_shared" && enable_static=no
     5894    test "$enable_shared" = yes && enable_static=no
    62805895    if test -n "$RANLIB"; then
    62815896      archive_cmds="$archive_cmds~\$RANLIB \$lib"
     
    62855900
    62865901  aix[[4-9]]*)
    6287     if test ia64 != "$host_cpu"; then
    6288       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
    6289       yes,aix,yes) ;;                   # shared object as lib.so file only
    6290       yes,svr4,*) ;;                    # shared object as lib.so archive member only
    6291       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
    6292       esac
     5902    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
     5903      test "$enable_shared" = yes && enable_static=no
    62935904    fi
    62945905    ;;
     
    62985909  AC_MSG_CHECKING([whether to build static libraries])
    62995910  # Make sure either enable_shared or enable_static is yes.
    6300   test yes = "$enable_shared" || enable_static=yes
     5911  test "$enable_shared" = yes || enable_static=yes
    63015912  AC_MSG_RESULT([$enable_static])
    63025913
     
    63045915fi
    63055916AC_LANG_POP
    6306 CC=$lt_save_CC
     5917CC="$lt_save_CC"
    63075918])# _LT_LANG_C_CONFIG
    63085919
     
    63125923# Ensure that the configuration variables for a C++ compiler are suitably
    63135924# defined.  These variables are subsequently used by _LT_CONFIG to write
    6314 # the compiler configuration to 'libtool'.
     5925# the compiler configuration to `libtool'.
    63155926m4_defun([_LT_LANG_CXX_CONFIG],
    63165927[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
    63175928m4_require([_LT_DECL_EGREP])dnl
    63185929m4_require([_LT_PATH_MANIFEST_TOOL])dnl
    6319 if test -n "$CXX" && ( test no != "$CXX" &&
    6320     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
    6321     (test g++ != "$CXX"))); then
     5930if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
     5931    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
     5932    (test "X$CXX" != "Xg++"))) ; then
    63225933  AC_PROG_CXXCPP
    63235934else
     
    63615972# are currently assumed to apply to all compilers on this platform,
    63625973# and will be corrupted by setting them based on a non-working compiler.
    6363 if test yes != "$_lt_caught_CXX_error"; then
     5974if test "$_lt_caught_CXX_error" != yes; then
    63645975  # Code to be used in simple compile tests
    63655976  lt_simple_compile_test_code="int some_variable = 0;"
     
    64036014    # We don't want -fno-exception when compiling C++ code, so set the
    64046015    # no_builtin_flag separately
    6405     if test yes = "$GXX"; then
     6016    if test "$GXX" = yes; then
    64066017      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
    64076018    else
     
    64096020    fi
    64106021
    6411     if test yes = "$GXX"; then
     6022    if test "$GXX" = yes; then
    64126023      # Set up default GNU C++ configuration
    64136024
     
    64166027      # Check if GNU C++ uses GNU ld as the underlying linker, since the
    64176028      # archiving commands below assume that GNU ld is being used.
    6418       if test yes = "$with_gnu_ld"; then
    6419         _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    6420         _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'
    6421 
    6422         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    6423         _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
     6029      if test "$with_gnu_ld" = yes; then
     6030        _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6031        _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'
     6032
     6033        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     6034        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
    64246035
    64256036        # If archive_cmds runs LD, not CC, wlarc should be empty
    64266037        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
    64276038        #     investigate it a little bit more. (MM)
    6428         wlarc='$wl'
     6039        wlarc='${wl}'
    64296040
    64306041        # ancient GNU ld didn't support --whole-archive et. al.
    64316042        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
    64326043          $GREP 'no-whole-archive' > /dev/null; then
    6433           _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     6044          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    64346045        else
    64356046          _LT_TAGVAR(whole_archive_flag_spec, $1)=
     
    64676078        ;;
    64686079      aix[[4-9]]*)
    6469         if test ia64 = "$host_cpu"; then
     6080        if test "$host_cpu" = ia64; then
    64706081          # On IA64, the linker does run time linking by default, so we don't
    64716082          # have to do anything special.
    64726083          aix_use_runtimelinking=no
    64736084          exp_sym_flag='-Bexport'
    6474           no_entry_flag=
     6085          no_entry_flag=""
    64756086        else
    64766087          aix_use_runtimelinking=no
     
    64786089          # Test if we are trying to use run time linking or normal
    64796090          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    6480           # have runtime linking enabled, and use it for executables.
    6481           # For shared libraries, we enable/disable runtime linking
    6482           # depending on the kind of the shared library created -
    6483           # when "with_aix_soname,aix_use_runtimelinking" is:
    6484           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
    6485           # "aix,yes"  lib.so          shared, rtl:yes, for executables
    6486           #            lib.a           static archive
    6487           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
    6488           #            lib.a(lib.so.V) shared, rtl:no,  for executables
    6489           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
    6490           #            lib.a(lib.so.V) shared, rtl:no
    6491           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
    6492           #            lib.a           static archive
     6091          # need to do runtime linking.
    64936092          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
    64946093            for ld_flag in $LDFLAGS; do
     
    65006099              esac
    65016100            done
    6502             if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
    6503               # With aix-soname=svr4, we create the lib.so.V shared archives only,
    6504               # so we don't have lib.a shared libs to link our executables.
    6505               # We have to force runtime linking in this case.
    6506               aix_use_runtimelinking=yes
    6507               LDFLAGS="$LDFLAGS -Wl,-brtl"
    6508             fi
    65096101            ;;
    65106102          esac
     
    65256117        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
    65266118        _LT_TAGVAR(link_all_deplibs, $1)=yes
    6527         _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
    6528         case $with_aix_soname,$aix_use_runtimelinking in
    6529         aix,*) ;;       # no import file
    6530         svr4,* | *,yes) # use import file
    6531           # The Import File defines what to hardcode.
    6532           _LT_TAGVAR(hardcode_direct, $1)=no
    6533           _LT_TAGVAR(hardcode_direct_absolute, $1)=no
    6534           ;;
    6535         esac
    6536 
    6537         if test yes = "$GXX"; then
     6119        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
     6120
     6121        if test "$GXX" = yes; then
    65386122          case $host_os in aix4.[[012]]|aix4.[[012]].*)
    65396123          # We only want to do this on AIX 4.2 and lower, the check
    65406124          # below for broken collect2 doesn't work under 4.3+
    6541           collect2name=`$CC -print-prog-name=collect2`
     6125          collect2name=`${CC} -print-prog-name=collect2`
    65426126          if test -f "$collect2name" &&
    65436127             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     
    65576141          esac
    65586142          shared_flag='-shared'
    6559           if test yes = "$aix_use_runtimelinking"; then
    6560             shared_flag=$shared_flag' $wl-G'
     6143          if test "$aix_use_runtimelinking" = yes; then
     6144            shared_flag="$shared_flag "'${wl}-G'
    65616145          fi
    6562           # Need to ensure runtime linking is disabled for the traditional
    6563           # shared library, or the linker may eventually find shared libraries
    6564           # /with/ Import File - we do not want to mix them.
    6565           shared_flag_aix='-shared'
    6566           shared_flag_svr4='-shared $wl-G'
    65676146        else
    65686147          # not using gcc
    6569           if test ia64 = "$host_cpu"; then
     6148          if test "$host_cpu" = ia64; then
    65706149          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    65716150          # chokes on -Wl,-G. The following line is correct:
    65726151          shared_flag='-G'
    65736152          else
    6574             if test yes = "$aix_use_runtimelinking"; then
    6575               shared_flag='$wl-G'
     6153            if test "$aix_use_runtimelinking" = yes; then
     6154              shared_flag='${wl}-G'
    65766155            else
    6577               shared_flag='$wl-bM:SRE'
     6156              shared_flag='${wl}-bM:SRE'
    65786157            fi
    6579             shared_flag_aix='$wl-bM:SRE'
    6580             shared_flag_svr4='$wl-G'
    65816158          fi
    65826159        fi
    65836160
    6584         _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
     6161        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
    65856162        # It seems that -bexpall does not export symbols beginning with
    65866163        # underscore (_), so it is better to generate a list of symbols to
    65876164        # export.
    65886165        _LT_TAGVAR(always_export_symbols, $1)=yes
    6589         if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
     6166        if test "$aix_use_runtimelinking" = yes; then
    65906167          # Warning - without using the other runtime loading flags (-brtl),
    65916168          # -berok will link without error, but may produce a broken library.
    6592           # The "-G" linker flag allows undefined symbols.
    6593           _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
     6169          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
    65946170          # Determine the default libpath from the value encoded in an empty
    65956171          # executable.
    65966172          _LT_SYS_MODULE_PATH_AIX([$1])
    6597           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
    6598 
    6599           _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
     6173          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
     6174
     6175          _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"
    66006176        else
    6601           if test ia64 = "$host_cpu"; then
    6602             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
     6177          if test "$host_cpu" = ia64; then
     6178            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
    66036179            _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
    6604             _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"
     6180            _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"
    66056181          else
    66066182            # Determine the default libpath from the value encoded in an
    66076183            # empty executable.
    66086184            _LT_SYS_MODULE_PATH_AIX([$1])
    6609             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
     6185            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
    66106186            # Warning - without using the other run time loading flags,
    66116187            # -berok will link without error, but may produce a broken library.
    6612             _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
    6613             _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
    6614             if test yes = "$with_gnu_ld"; then
     6188            _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
     6189            _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
     6190            if test "$with_gnu_ld" = yes; then
    66156191              # We only use this code for GNU lds that support --whole-archive.
    6616               _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
     6192              _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
    66176193            else
    66186194              # Exported symbols can be pulled into shared objects from archives
     
    66206196            fi
    66216197            _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
    6622             _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
    6623             # -brtl affects multiple linker settings, -berok does not and is overridden later
    6624             compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
    6625             if test svr4 != "$with_aix_soname"; then
    6626               # This is similar to how AIX traditionally builds its shared
    6627               # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
    6628               _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'
    6629             fi
    6630             if test aix != "$with_aix_soname"; then
    6631               _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'
    6632             else
    6633               # used by -dlpreopen to get the symbols
    6634               _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
    6635             fi
    6636             _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
     6198            # This is similar to how AIX traditionally builds its shared
     6199            # libraries.
     6200            _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'
    66376201          fi
    66386202        fi
     
    66446208          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    66456209          # support --undefined.  This deserves some investigation.  FIXME
    6646           _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     6210          _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    66476211        else
    66486212          _LT_TAGVAR(ld_shlibs, $1)=no
     
    66726236          libext=lib
    66736237          # Tell ltmain to make .dll files, not .so files.
    6674           shrext_cmds=.dll
     6238          shrext_cmds=".dll"
    66756239          # FIXME: Setting linknames here is a bad hack.
    6676           _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
    6677           _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
    6678               cp "$export_symbols" "$output_objdir/$soname.def";
    6679               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
    6680             else
    6681               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
    6682             fi~
    6683             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    6684             linknames='
     6240          _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
     6241          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     6242              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
     6243            else
     6244              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
     6245            fi~
     6246            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     6247            linknames='
    66856248          # The linker will not automatically build a static lib if we build a DLL.
    66866249          # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
     
    66896252          _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
    66906253          _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
    6691             lt_tool_outputfile="@TOOL_OUTPUT@"~
    6692             case $lt_outputfile in
    6693               *.exe|*.EXE) ;;
    6694               *)
    6695                 lt_outputfile=$lt_outputfile.exe
    6696                 lt_tool_outputfile=$lt_tool_outputfile.exe
    6697                 ;;
    6698             esac~
    6699             func_to_tool_file "$lt_outputfile"~
    6700             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
    6701               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    6702               $RM "$lt_outputfile.manifest";
    6703             fi'
     6254            lt_tool_outputfile="@TOOL_OUTPUT@"~
     6255            case $lt_outputfile in
     6256              *.exe|*.EXE) ;;
     6257              *)
     6258                lt_outputfile="$lt_outputfile.exe"
     6259                lt_tool_outputfile="$lt_tool_outputfile.exe"
     6260                ;;
     6261            esac~
     6262            func_to_tool_file "$lt_outputfile"~
     6263            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
     6264              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     6265              $RM "$lt_outputfile.manifest";
     6266            fi'
    67046267          ;;
    67056268        *)
     
    67086271          # as there is no search path for DLLs.
    67096272          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
    6710           _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
     6273          _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
    67116274          _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    67126275          _LT_TAGVAR(always_export_symbols, $1)=no
     
    67146277
    67156278          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    6716             _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'
    6717             # If the export-symbols file already is a .def file, use it as
    6718             # is; otherwise, prepend EXPORTS...
    6719             _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
    6720               cp $export_symbols $output_objdir/$soname.def;
    6721             else
    6722               echo EXPORTS > $output_objdir/$soname.def;
    6723               cat $export_symbols >> $output_objdir/$soname.def;
    6724             fi~
    6725             $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'
     6279            _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'
     6280            # If the export-symbols file already is a .def file (1st line
     6281            # is EXPORTS), use it as is; otherwise, prepend...
     6282            _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     6283              cp $export_symbols $output_objdir/$soname.def;
     6284            else
     6285              echo EXPORTS > $output_objdir/$soname.def;
     6286              cat $export_symbols >> $output_objdir/$soname.def;
     6287            fi~
     6288            $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'
    67266289          else
    67276290            _LT_TAGVAR(ld_shlibs, $1)=no
     
    67326295      darwin* | rhapsody*)
    67336296        _LT_DARWIN_LINKER_FEATURES($1)
    6734         ;;
    6735 
    6736       os2*)
    6737         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
    6738         _LT_TAGVAR(hardcode_minus_L, $1)=yes
    6739         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    6740         shrext_cmds=.dll
    6741         _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    6742           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    6743           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    6744           $ECHO EXPORTS >> $output_objdir/$libname.def~
    6745           emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    6746           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    6747           emximp -o $lib $output_objdir/$libname.def'
    6748         _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    6749           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    6750           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    6751           $ECHO EXPORTS >> $output_objdir/$libname.def~
    6752           prefix_cmds="$SED"~
    6753           if test EXPORTS = "`$SED 1q $export_symbols`"; then
    6754             prefix_cmds="$prefix_cmds -e 1d";
    6755           fi~
    6756           prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    6757           cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    6758           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    6759           emximp -o $lib $output_objdir/$libname.def'
    6760         _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    6761         _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
    67626297        ;;
    67636298
     
    67976332
    67986333      haiku*)
    6799         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     6334        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    68006335        _LT_TAGVAR(link_all_deplibs, $1)=yes
    68016336        ;;
    68026337
    68036338      hpux9*)
    6804         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
     6339        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
    68056340        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    6806         _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
     6341        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
    68076342        _LT_TAGVAR(hardcode_direct, $1)=yes
    68086343        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
     
    68166351            ;;
    68176352          aCC*)
    6818             _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'
     6353            _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'
    68196354            # Commands to make compiler produce verbose output that lists
    68206355            # what "hidden" libraries, object files and flags are used when
     
    68256360            # from the output so that they don't get included in the library
    68266361            # dependencies.
    6827             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"'
     6362            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"'
    68286363            ;;
    68296364          *)
    6830             if test yes = "$GXX"; then
    6831               _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'
     6365            if test "$GXX" = yes; then
     6366              _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'
    68326367            else
    68336368              # FIXME: insert proper C++ library support
     
    68396374
    68406375      hpux10*|hpux11*)
    6841         if test no = "$with_gnu_ld"; then
    6842           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
     6376        if test $with_gnu_ld = no; then
     6377          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
    68436378          _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    68446379
     
    68476382              ;;
    68486383            *)
    6849               _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
     6384              _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
    68506385              ;;
    68516386          esac
     
    68736408            case $host_cpu in
    68746409              hppa*64*)
    6875                 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6410                _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    68766411                ;;
    68776412              ia64*)
    6878                 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6413                _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    68796414                ;;
    68806415              *)
    6881                 _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'
     6416                _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'
    68826417                ;;
    68836418            esac
     
    68906425            # from the output so that they don't get included in the library
    68916426            # dependencies.
    6892             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"'
     6427            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"'
    68936428            ;;
    68946429          *)
    6895             if test yes = "$GXX"; then
    6896               if test no = "$with_gnu_ld"; then
     6430            if test "$GXX" = yes; then
     6431              if test $with_gnu_ld = no; then
    68976432                case $host_cpu in
    68986433                  hppa*64*)
    6899                     _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6434                    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    69006435                    ;;
    69016436                  ia64*)
    6902                     _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'
     6437                    _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'
    69036438                    ;;
    69046439                  *)
    6905                     _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'
     6440                    _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'
    69066441                    ;;
    69076442                esac
     
    69186453        _LT_TAGVAR(hardcode_direct, $1)=no
    69196454        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    6920         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
    6921         _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
     6455        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     6456        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
    69226457        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    69236458        # Instead, shared libraries are loaded at an image base (0x10000000 by
     
    69266461        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    69276462        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    6928         _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'
    6929         _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'
     6463        _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'
     6464        _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'
    69306465        ;;
    69316466      irix5* | irix6*)
     
    69336468          CC*)
    69346469            # SGI C++
    6935             _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'
     6470            _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'
    69366471
    69376472            # Archives containing C++ object files must be created using
     
    69426477            ;;
    69436478          *)
    6944             if test yes = "$GXX"; then
    6945               if test no = "$with_gnu_ld"; then
    6946                 _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'
     6479            if test "$GXX" = yes; then
     6480              if test "$with_gnu_ld" = no; then
     6481                _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'
    69476482              else
    6948                 _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'
     6483                _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'
    69496484              fi
    69506485            fi
     
    69526487            ;;
    69536488        esac
    6954         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     6489        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    69556490        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    69566491        _LT_TAGVAR(inherit_rpath, $1)=yes
     
    69656500            # ends with ".so" (or ".sl" for HP-UX), so rename the library
    69666501            # to its proper name (with version) after linking.
    6967             _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'
    6968             _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'
     6502            _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'
     6503            _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'
    69696504            # Commands to make compiler produce verbose output that lists
    69706505            # what "hidden" libraries, object files and flags are used when
     
    69756510            # from the output so that they don't get included in the library
    69766511            # dependencies.
    6977             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"'
    6978 
    6979             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
    6980             _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
     6512            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"'
     6513
     6514            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     6515            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
    69816516
    69826517            # Archives containing C++ object files must be created using
     
    69926527            case `$CC -V 2>&1` in
    69936528              *"Version 7."*)
    6994                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    6995                 _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'
     6529                _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6530                _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'
    69966531                ;;
    69976532              *)  # Version 8.0 or newer
     
    70006535                  ia64*) tmp_idyn=' -i_dynamic';;
    70016536                esac
    7002                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    7003                 _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'
     6537                _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6538                _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'
    70046539                ;;
    70056540            esac
    70066541            _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    7007             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
    7008             _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
    7009             _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
     6542            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     6543            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
     6544            _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
    70106545            ;;
    70116546          pgCC* | pgcpp*)
     
    70146549            *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
    70156550              _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
    7016                rm -rf $tpldir~
    7017                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
    7018                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
     6551                rm -rf $tpldir~
     6552                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
     6553                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
    70196554              _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
    7020                 rm -rf $tpldir~
    7021                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
    7022                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
    7023                 $RANLIB $oldlib'
     6555                rm -rf $tpldir~
     6556                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
     6557                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
     6558                $RANLIB $oldlib'
    70246559              _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
    7025                 rm -rf $tpldir~
    7026                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    7027                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     6560                rm -rf $tpldir~
     6561                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     6562                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
    70286563              _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
    7029                 rm -rf $tpldir~
    7030                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    7031                 $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'
     6564                rm -rf $tpldir~
     6565                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     6566                $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'
    70326567              ;;
    70336568            *) # Version 6 and above use weak symbols
    7034               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    7035               _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'
     6569              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
     6570              _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'
    70366571              ;;
    70376572            esac
    70386573
    7039             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
    7040             _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
    7041             _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'
     6574            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
     6575            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
     6576            _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'
    70426577            ;;
    70436578          cxx*)
    70446579            # Compaq C++
    7045             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    7046             _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'
     6580            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6581            _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'
    70476582
    70486583            runpath_var=LD_RUN_PATH
     
    70586593            # from the output so that they don't get included in the library
    70596594            # dependencies.
    7060             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'
     6595            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'
    70616596            ;;
    70626597          xl* | mpixl* | bgxl*)
    70636598            # IBM XL 8.0 on PPC, with GNU ld
    7064             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    7065             _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
    7066             _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    7067             if test yes = "$supports_anon_versioning"; then
     6599            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     6600            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
     6601            _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6602            if test "x$supports_anon_versioning" = xyes; then
    70686603              _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
    7069                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    7070                 echo "local: *; };" >> $output_objdir/$libname.ver~
    7071                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
     6604                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     6605                echo "local: *; };" >> $output_objdir/$libname.ver~
     6606                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    70726607            fi
    70736608            ;;
     
    70776612              # Sun C++ 5.9
    70786613              _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
    7079               _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    7080               _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'
     6614              _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6615              _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'
    70816616              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
    7082               _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'
     6617              _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'
    70836618              _LT_TAGVAR(compiler_needs_object, $1)=yes
    70846619
     
    71386673        ;;
    71396674
    7140       openbsd* | bitrig*)
     6675      openbsd2*)
     6676        # C++ shared libraries are fairly broken
     6677        _LT_TAGVAR(ld_shlibs, $1)=no
     6678        ;;
     6679
     6680      openbsd*)
    71416681        if test -f /usr/libexec/ld.so; then
    71426682          _LT_TAGVAR(hardcode_direct, $1)=yes
     
    71446684          _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
    71456685          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    7146           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
    7147           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
    7148             _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'
    7149             _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    7150             _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     6686          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     6687          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     6688            _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'
     6689            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     6690            _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    71516691          fi
    71526692          output_verbose_link_cmd=func_echo_all
     
    71646704            # ends with ".so" (or ".sl" for HP-UX), so rename the library
    71656705            # to its proper name (with version) after linking.
    7166             _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'
    7167 
    7168             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     6706            _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'
     6707
     6708            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    71696709            _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    71706710
     
    71846724            case $host in
    71856725              osf3*)
    7186                 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
    7187                 _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'
    7188                 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     6726                _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
     6727                _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'
     6728                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    71896729                ;;
    71906730              *)
    71916731                _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    7192                 _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'
     6732                _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'
    71936733                _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
    7194                   echo "-hidden">> $lib.exp~
    7195                   $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~
    7196                   $RM $lib.exp'
     6734                  echo "-hidden">> $lib.exp~
     6735                  $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~
     6736                  $RM $lib.exp'
    71976737                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
    71986738                ;;
     
    72096749            # from the output so that they don't get included in the library
    72106750            # dependencies.
    7211             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"'
     6751            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"'
    72126752            ;;
    72136753          *)
    7214             if test yes,no = "$GXX,$with_gnu_ld"; then
    7215               _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
     6754            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
     6755              _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
    72166756              case $host in
    72176757                osf3*)
    7218                   _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'
     6758                  _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'
    72196759                  ;;
    72206760                *)
    7221                   _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'
     6761                  _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'
    72226762                  ;;
    72236763              esac
    72246764
    7225               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     6765              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    72266766              _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    72276767
     
    72696809            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
    72706810            _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
    7271             _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6811            _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    72726812            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    7273               $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'
     6813              $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'
    72746814
    72756815            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
     
    72796819              *)
    72806820                # The compiler driver will combine and reorder linker options,
    7281                 # but understands '-z linker_flag'.
     6821                # but understands `-z linker_flag'.
    72826822                # Supported since Solaris 2.6 (maybe 2.5.1?)
    72836823                _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
     
    72966836          gcx*)
    72976837            # Green Hills C++ Compiler
    7298             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
     6838            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    72996839
    73006840            # The C++ compiler must be used to create the archive.
     
    73036843          *)
    73046844            # GNU C++ compiler with Solaris linker
    7305             if test yes,no = "$GXX,$with_gnu_ld"; then
    7306               _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
     6845            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
     6846              _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
    73076847              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
    7308                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
     6848                _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'
    73096849                _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    7310                   $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'
     6850                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
    73116851
    73126852                # Commands to make compiler produce verbose output that lists
     
    73156855                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    73166856              else
    7317                 # g++ 2.7 appears to require '-G' NOT '-shared' on this
     6857                # g++ 2.7 appears to require `-G' NOT `-shared' on this
    73186858                # platform.
    7319                 _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
     6859                _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    73206860                _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    7321                   $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'
     6861                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
    73226862
    73236863                # Commands to make compiler produce verbose output that lists
     
    73276867              fi
    73286868
    7329               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
     6869              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
    73306870              case $host_os in
    73316871                solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
    73326872                *)
    7333                   _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
     6873                  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
    73346874                  ;;
    73356875              esac
     
    73406880
    73416881    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
    7342       _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
     6882      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
    73436883      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    73446884      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
     
    73476887      case $cc_basename in
    73486888        CC*)
    7349           _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    7350           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6889          _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6890          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    73516891          ;;
    73526892        *)
    7353           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    7354           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6893          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6894          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    73556895          ;;
    73566896      esac
     
    73586898
    73596899      sysv5* | sco3.2v5* | sco5v6*)
    7360         # Note: We CANNOT use -z defs as we might desire, because we do not
     6900        # Note: We can NOT use -z defs as we might desire, because we do not
    73616901        # link with -lc, and that would cause any symbols used from libc to
    73626902        # always be unresolved, which means just about no library would
     
    73646904        # though, which does catch some bad symbols but isn't as heavy-handed
    73656905        # as -z defs.
    7366         _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
    7367         _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
     6906        _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
     6907        _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
    73686908        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    73696909        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    7370         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
     6910        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
    73716911        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
    73726912        _LT_TAGVAR(link_all_deplibs, $1)=yes
    7373         _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
     6913        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
    73746914        runpath_var='LD_RUN_PATH'
    73756915
    73766916        case $cc_basename in
    73776917          CC*)
    7378             _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    7379             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6918            _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6919            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    73806920            _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
    7381               '"$_LT_TAGVAR(old_archive_cmds, $1)"
     6921              '"$_LT_TAGVAR(old_archive_cmds, $1)"
    73826922            _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
    7383               '"$_LT_TAGVAR(reload_cmds, $1)"
     6923              '"$_LT_TAGVAR(reload_cmds, $1)"
    73846924            ;;
    73856925          *)
    7386             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    7387             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6926            _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6927            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    73886928            ;;
    73896929        esac
     
    74166956
    74176957    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
    7418     test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
    7419 
    7420     _LT_TAGVAR(GCC, $1)=$GXX
    7421     _LT_TAGVAR(LD, $1)=$LD
     6958    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
     6959
     6960    _LT_TAGVAR(GCC, $1)="$GXX"
     6961    _LT_TAGVAR(LD, $1)="$LD"
    74226962
    74236963    ## CAVEAT EMPTOR:
     
    74466986  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
    74476987  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
    7448 fi # test yes != "$_lt_caught_CXX_error"
     6988fi # test "$_lt_caught_CXX_error" != yes
    74496989
    74506990AC_LANG_POP
     
    74687008func_stripname_cnf ()
    74697009{
    7470   case @S|@2 in
    7471   .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
    7472   *)  func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
     7010  case ${2} in
     7011  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
     7012  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
    74737013  esac
    74747014} # func_stripname_cnf
    74757015])# _LT_FUNC_STRIPNAME_CNF
    7476 
    74777016
    74787017# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
     
    75597098
    75607099  for p in `eval "$output_verbose_link_cmd"`; do
    7561     case $prev$p in
     7100    case ${prev}${p} in
    75627101
    75637102    -L* | -R* | -l*)
    75647103       # Some compilers place space between "-{L,R}" and the path.
    75657104       # Remove the space.
    7566        if test x-L = "$p" ||
    7567           test x-R = "$p"; then
     7105       if test $p = "-L" ||
     7106          test $p = "-R"; then
    75687107         prev=$p
    75697108         continue
     
    75817120       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
    75827121       esac
    7583        if test no = "$pre_test_object_deps_done"; then
    7584          case $prev in
     7122       if test "$pre_test_object_deps_done" = no; then
     7123         case ${prev} in
    75857124         -L | -R)
    75867125           # Internal compiler library paths should come after those
     
    75887127           # user supplied libs so there is no need to process them.
    75897128           if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
    7590              _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p
     7129             _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
    75917130           else
    7592              _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p"
     7131             _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
    75937132           fi
    75947133           ;;
     
    75987137       else
    75997138         if test -z "$_LT_TAGVAR(postdeps, $1)"; then
    7600            _LT_TAGVAR(postdeps, $1)=$prev$p
     7139           _LT_TAGVAR(postdeps, $1)="${prev}${p}"
    76017140         else
    7602            _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p"
     7141           _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
    76037142         fi
    76047143       fi
     
    76157154       fi
    76167155
    7617        if test no = "$pre_test_object_deps_done"; then
     7156       if test "$pre_test_object_deps_done" = no; then
    76187157         if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
    7619            _LT_TAGVAR(predep_objects, $1)=$p
     7158           _LT_TAGVAR(predep_objects, $1)="$p"
    76207159         else
    76217160           _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
     
    76237162       else
    76247163         if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
    7625            _LT_TAGVAR(postdep_objects, $1)=$p
     7164           _LT_TAGVAR(postdep_objects, $1)="$p"
    76267165         else
    76277166           _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
     
    76547193  _LT_TAGVAR(postdeps,$1)=
    76557194  ;;
     7195
     7196linux*)
     7197  case `$CC -V 2>&1 | sed 5q` in
     7198  *Sun\ C*)
     7199    # Sun C++ 5.9
     7200
     7201    # The more standards-conforming stlport4 library is
     7202    # incompatible with the Cstd library. Avoid specifying
     7203    # it if it's in CXXFLAGS. Ignore libCrun as
     7204    # -library=stlport4 depends on it.
     7205    case " $CXX $CXXFLAGS " in
     7206    *" -library=stlport4 "*)
     7207      solaris_use_stlport4=yes
     7208      ;;
     7209    esac
     7210
     7211    if test "$solaris_use_stlport4" != yes; then
     7212      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
     7213    fi
     7214    ;;
     7215  esac
     7216  ;;
     7217
     7218solaris*)
     7219  case $cc_basename in
     7220  CC* | sunCC*)
     7221    # The more standards-conforming stlport4 library is
     7222    # incompatible with the Cstd library. Avoid specifying
     7223    # it if it's in CXXFLAGS. Ignore libCrun as
     7224    # -library=stlport4 depends on it.
     7225    case " $CXX $CXXFLAGS " in
     7226    *" -library=stlport4 "*)
     7227      solaris_use_stlport4=yes
     7228      ;;
     7229    esac
     7230
     7231    # Adding this requires a known-good setup of shared libraries for
     7232    # Sun compiler versions before 5.6, else PIC objects from an old
     7233    # archive will be linked into the output, leading to subtle bugs.
     7234    if test "$solaris_use_stlport4" != yes; then
     7235      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
     7236    fi
     7237    ;;
     7238  esac
     7239  ;;
    76567240esac
    76577241])
     
    76627246 _LT_TAGVAR(compiler_lib_search_dirs, $1)=
    76637247if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
    7664  _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
     7248 _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
    76657249fi
    76667250_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
     
    76827266# Ensure that the configuration variables for a Fortran 77 compiler are
    76837267# suitably defined.  These variables are subsequently used by _LT_CONFIG
    7684 # to write the compiler configuration to 'libtool'.
     7268# to write the compiler configuration to `libtool'.
    76857269m4_defun([_LT_LANG_F77_CONFIG],
    76867270[AC_LANG_PUSH(Fortran 77)
    7687 if test -z "$F77" || test no = "$F77"; then
     7271if test -z "$F77" || test "X$F77" = "Xno"; then
    76887272  _lt_disable_F77=yes
    76897273fi
     
    77227306# are currently assumed to apply to all compilers on this platform,
    77237307# and will be corrupted by setting them based on a non-working compiler.
    7724 if test yes != "$_lt_disable_F77"; then
     7308if test "$_lt_disable_F77" != yes; then
    77257309  # Code to be used in simple compile tests
    77267310  lt_simple_compile_test_code="\
     
    77447328
    77457329  # Allow CC to be a program name with arguments.
    7746   lt_save_CC=$CC
     7330  lt_save_CC="$CC"
    77477331  lt_save_GCC=$GCC
    77487332  lt_save_CFLAGS=$CFLAGS
     
    77587342
    77597343    AC_MSG_CHECKING([whether to build shared libraries])
    7760     test no = "$can_build_shared" && enable_shared=no
     7344    test "$can_build_shared" = "no" && enable_shared=no
    77617345
    77627346    # On AIX, shared libraries and static libraries use the same namespace, and
     
    77647348    case $host_os in
    77657349      aix3*)
    7766         test yes = "$enable_shared" && enable_static=no
     7350        test "$enable_shared" = yes && enable_static=no
    77677351        if test -n "$RANLIB"; then
    77687352          archive_cmds="$archive_cmds~\$RANLIB \$lib"
     
    77717355        ;;
    77727356      aix[[4-9]]*)
    7773         if test ia64 != "$host_cpu"; then
    7774           case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
    7775           yes,aix,yes) ;;               # shared object as lib.so file only
    7776           yes,svr4,*) ;;                # shared object as lib.so archive member only
    7777           yes,*) enable_static=no ;;    # shared object in lib.a archive as well
    7778           esac
     7357        if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
     7358          test "$enable_shared" = yes && enable_static=no
    77797359        fi
    77807360        ;;
     
    77847364    AC_MSG_CHECKING([whether to build static libraries])
    77857365    # Make sure either enable_shared or enable_static is yes.
    7786     test yes = "$enable_shared" || enable_static=yes
     7366    test "$enable_shared" = yes || enable_static=yes
    77877367    AC_MSG_RESULT([$enable_static])
    77887368
    7789     _LT_TAGVAR(GCC, $1)=$G77
    7790     _LT_TAGVAR(LD, $1)=$LD
     7369    _LT_TAGVAR(GCC, $1)="$G77"
     7370    _LT_TAGVAR(LD, $1)="$LD"
    77917371
    77927372    ## CAVEAT EMPTOR:
     
    78057385
    78067386  GCC=$lt_save_GCC
    7807   CC=$lt_save_CC
    7808   CFLAGS=$lt_save_CFLAGS
    7809 fi # test yes != "$_lt_disable_F77"
     7387  CC="$lt_save_CC"
     7388  CFLAGS="$lt_save_CFLAGS"
     7389fi # test "$_lt_disable_F77" != yes
    78107390
    78117391AC_LANG_POP
     
    78177397# Ensure that the configuration variables for a Fortran compiler are
    78187398# suitably defined.  These variables are subsequently used by _LT_CONFIG
    7819 # to write the compiler configuration to 'libtool'.
     7399# to write the compiler configuration to `libtool'.
    78207400m4_defun([_LT_LANG_FC_CONFIG],
    78217401[AC_LANG_PUSH(Fortran)
    78227402
    7823 if test -z "$FC" || test no = "$FC"; then
     7403if test -z "$FC" || test "X$FC" = "Xno"; then
    78247404  _lt_disable_FC=yes
    78257405fi
     
    78587438# are currently assumed to apply to all compilers on this platform,
    78597439# and will be corrupted by setting them based on a non-working compiler.
    7860 if test yes != "$_lt_disable_FC"; then
     7440if test "$_lt_disable_FC" != yes; then
    78617441  # Code to be used in simple compile tests
    78627442  lt_simple_compile_test_code="\