Changeset 180e49f in mod_gnutls for m4


Ignore:
Timestamp:
Jan 11, 2013, 12:58:31 AM (9 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, upstream
Children:
2b1118c, ae29683
Parents:
17eb1a1
Message:

Imported Upstream version 0.5.10

Location:
m4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • m4/libtool.m4

    r17eb1a1 r180e49f  
    22#
    33#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    4 #                 2006, 2007, 2008 Free Software Foundation, Inc.
     4#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
     5#                 Inc.
    56#   Written by Gordon Matzigkeit, 1996
    67#
     
    1112m4_define([_LT_COPYING], [dnl
    1213#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    13 #                 2006, 2007, 2008 Free Software Foundation, Inc.
     14#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
     15#                 Inc.
    1416#   Written by Gordon Matzigkeit, 1996
    1517#
     
    3840])
    3941
    40 # serial 56 LT_INIT
     42# serial 57 LT_INIT
    4143
    4244
     
    6769AC_DEFUN([LT_INIT],
    6870[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
     71AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
    6972AC_BEFORE([$0], [LT_LANG])dnl
    7073AC_BEFORE([$0], [LT_OUTPUT])dnl
     
    8285AC_REQUIRE([LTOBSOLETE_VERSION])dnl
    8386m4_require([_LT_PROG_LTMAIN])dnl
     87
     88_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
    8489
    8590dnl Parse OPTIONS
     
    119124  esac
    120125done
    121 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
     126cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    122127])
    123128
     
    139144[AC_REQUIRE([AC_CANONICAL_HOST])dnl
    140145AC_REQUIRE([AC_CANONICAL_BUILD])dnl
     146AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
     147AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
     148
    141149_LT_DECL([], [host_alias], [0], [The host system])dnl
    142150_LT_DECL([], [host], [0])dnl
     
    180188
    181189m4_require([_LT_TAG_COMPILER])dnl
    182 _LT_PROG_ECHO_BACKSLASH
    183190
    184191case $host_os in
     
    194201esac
    195202
    196 # Sed substitution that helps us do robust quoting.  It backslashifies
    197 # metacharacters that are still active within double-quoted strings.
    198 sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
    199 
    200 # Same as above, but do not quote variable references.
    201 double_quote_subst='s/\([["`\\]]\)/\\\1/g'
    202 
    203 # Sed substitution to delay expansion of an escaped shell variable in a
    204 # double_quote_subst'ed string.
    205 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
    206 
    207 # Sed substitution to delay expansion of an escaped single quote.
    208 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
    209 
    210 # Sed substitution to avoid accidental globbing in evaled expressions
    211 no_glob_subst='s/\*/\\\*/g'
    212 
    213203# Global variables:
    214204ofile=libtool
     
    250240])# _LT_SETUP
    251241
     242
     243# _LT_PREPARE_SED_QUOTE_VARS
     244# --------------------------
     245# Define a few sed substitution that help us do robust quoting.
     246m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
     247[# Backslashify metacharacters that are still active within
     248# double-quoted strings.
     249sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
     250
     251# Same as above, but do not quote variable references.
     252double_quote_subst='s/\([["`\\]]\)/\\\1/g'
     253
     254# Sed substitution to delay expansion of an escaped shell variable in a
     255# double_quote_subst'ed string.
     256delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     257
     258# Sed substitution to delay expansion of an escaped single quote.
     259delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
     260
     261# Sed substitution to avoid accidental globbing in evaled expressions
     262no_glob_subst='s/\*/\\\*/g'
     263])
    252264
    253265# _LT_PROG_LTMAIN
     
    409421# must have a single quote delimited value for this to work.
    410422m4_define([_LT_CONFIG_STATUS_DECLARE],
    411 [$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
     423[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
    412424
    413425
     
    419431# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
    420432#
    421 #    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
     433#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
    422434m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
    423435[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
     
    518530compiler='$compiler_DEFAULT'
    519531
     532# A function that is used when there is no print builtin or printf.
     533func_fallback_echo ()
     534{
     535  eval 'cat <<_LTECHO_EOF
     536\$[]1
     537_LTECHO_EOF'
     538}
     539
    520540# Quote evaled strings.
    521541for var in lt_decl_all_varnames([[ \
    522542]], lt_decl_quote_varnames); do
    523     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
     543    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    524544    *[[\\\\\\\`\\"\\\$]]*)
    525       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
     545      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
    526546      ;;
    527547    *)
     
    534554for var in lt_decl_all_varnames([[ \
    535555]], lt_decl_dquote_varnames); do
    536     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
     556    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    537557    *[[\\\\\\\`\\"\\\$]]*)
    538       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
     558      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
    539559      ;;
    540560    *)
     
    544564done
    545565
    546 # Fix-up fallback echo if it was mangled by the above quoting rules.
    547 case \$lt_ECHO in
    548 *'\\\[$]0 --fallback-echo"')dnl "
    549   lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
    550   ;;
    551 esac
    552 
    553566_LT_OUTPUT_LIBTOOL_INIT
    554567])
    555568
     569# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
     570# ------------------------------------
     571# Generate a child script FILE with all initialization necessary to
     572# reuse the environment learned by the parent script, and make the
     573# file executable.  If COMMENT is supplied, it is inserted after the
     574# `#!' sequence but before initialization text begins.  After this
     575# macro, additional text can be appended to FILE to form the body of
     576# the child script.  The macro ends with non-zero status if the
     577# file could not be fully written (such as if the disk is full).
     578m4_ifdef([AS_INIT_GENERATED],
     579[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
     580[m4_defun([_LT_GENERATED_FILE_INIT],
     581[m4_require([AS_PREPARE])]dnl
     582[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
     583[lt_write_fail=0
     584cat >$1 <<_ASEOF || lt_write_fail=1
     585#! $SHELL
     586# Generated by $as_me.
     587$2
     588SHELL=\${CONFIG_SHELL-$SHELL}
     589export SHELL
     590_ASEOF
     591cat >>$1 <<\_ASEOF || lt_write_fail=1
     592AS_SHELL_SANITIZE
     593_AS_PREPARE
     594exec AS_MESSAGE_FD>&1
     595_ASEOF
     596test $lt_write_fail = 0 && chmod +x $1[]dnl
     597m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
    556598
    557599# LT_OUTPUT
     
    563605[: ${CONFIG_LT=./config.lt}
    564606AC_MSG_NOTICE([creating $CONFIG_LT])
    565 cat >"$CONFIG_LT" <<_LTEOF
    566 #! $SHELL
    567 # Generated by $as_me.
    568 # Run this file to recreate a libtool stub with the current configuration.
    569 
     607_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
     608[# Run this file to recreate a libtool stub with the current configuration.])
     609
     610cat >>"$CONFIG_LT" <<\_LTEOF
    570611lt_cl_silent=false
    571 SHELL=\${CONFIG_SHELL-$SHELL}
    572 _LTEOF
    573 
    574 cat >>"$CONFIG_LT" <<\_LTEOF
    575 AS_SHELL_SANITIZE
    576 _AS_PREPARE
    577 
    578 exec AS_MESSAGE_FD>&1
    579612exec AS_MESSAGE_LOG_FD>>config.log
    580613{
     
    602635configured by $[0], generated by m4_PACKAGE_STRING.
    603636
    604 Copyright (C) 2008 Free Software Foundation, Inc.
     637Copyright (C) 2010 Free Software Foundation, Inc.
    605638This config.lt script is free software; the Free Software Foundation
    606639gives unlimited permision to copy, distribute and modify it."
     
    647680# open by configure.  Here we exec the FD to /dev/null, effectively closing
    648681# config.log, so it can be properly (re)opened and appended to by config.lt.
    649 if test "$no_create" != yes; then
    650   lt_cl_success=:
    651   test "$silent" = yes &&
    652     lt_config_lt_args="$lt_config_lt_args --quiet"
    653   exec AS_MESSAGE_LOG_FD>/dev/null
    654   $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
    655   exec AS_MESSAGE_LOG_FD>>config.log
    656   $lt_cl_success || AS_EXIT(1)
    657 fi
     682lt_cl_success=:
     683test "$silent" = yes &&
     684  lt_config_lt_args="$lt_config_lt_args --quiet"
     685exec AS_MESSAGE_LOG_FD>/dev/null
     686$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
     687exec AS_MESSAGE_LOG_FD>>config.log
     688$lt_cl_success || AS_EXIT(1)
    658689])# LT_OUTPUT
    659690
     
    832863AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
    833864AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
     865AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
    834866dnl aclocal-1.4 backwards compatibility:
    835867dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
     
    837869dnl AC_DEFUN([AC_LIBTOOL_FC], [])
    838870dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
     871dnl AC_DEFUN([AC_LIBTOOL_RC], [])
    839872
    840873
     
    941974        LDFLAGS="$save_LDFLAGS"
    942975    ])
     976    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
     977      [lt_cv_ld_force_load=no
     978      cat > conftest.c << _LT_EOF
     979int forced_loaded() { return 2;}
     980_LT_EOF
     981      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
     982      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
     983      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
     984      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
     985      echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
     986      $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
     987      cat > conftest.c << _LT_EOF
     988int main() { return 0;}
     989_LT_EOF
     990      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
     991      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
     992      _lt_result=$?
     993      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
     994        lt_cv_ld_force_load=yes
     995      else
     996        cat conftest.err >&AS_MESSAGE_LOG_FD
     997      fi
     998        rm -f conftest.err libconftest.a conftest conftest.c
     999        rm -rf conftest.dSYM
     1000    ])
    9431001    case $host_os in
    9441002    rhapsody* | darwin1.[[012]])
     
    9681026      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
    9691027    fi
    970     if test "$DSYMUTIL" != ":"; then
     1028    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
    9711029      _lt_dsymutil='~$DSYMUTIL $lib || :'
    9721030    else
     
    9881046  _LT_TAGVAR(hardcode_automatic, $1)=yes
    9891047  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
    990   _LT_TAGVAR(whole_archive_flag_spec, $1)=''
     1048  if test "$lt_cv_ld_force_load" = "yes"; then
     1049    _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     1050  else
     1051    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
     1052  fi
    9911053  _LT_TAGVAR(link_all_deplibs, $1)=yes
    9921054  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
     
    9961058  esac
    9971059  if test "$_lt_dar_can_shared" = "yes"; then
    998     output_verbose_link_cmd=echo
     1060    output_verbose_link_cmd=func_echo_all
    9991061    _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}"
    10001062    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     
    10421104# -------------------
    10431105m4_define([_LT_SHELL_INIT],
    1044 [ifdef([AC_DIVERSION_NOTICE],
    1045              [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
    1046          [AC_DIVERT_PUSH(NOTICE)])
    1047 $1
    1048 AC_DIVERT_POP
    1049 ])# _LT_SHELL_INIT
     1106[m4_divert_text([M4SH-INIT], [$1
     1107])])# _LT_SHELL_INIT
     1108
    10501109
    10511110
    10521111# _LT_PROG_ECHO_BACKSLASH
    10531112# -----------------------
    1054 # Add some code to the start of the generated configure script which
    1055 # will find an echo command which doesn't interpret backslashes.
     1113# Find how we can fake an echo command that does not interpret backslash.
     1114# In particular, with Autoconf 2.60 or later we add some code to the start
     1115# of the generated configure script which will find a shell with a builtin
     1116# printf (which we can use as an echo command).
    10561117m4_defun([_LT_PROG_ECHO_BACKSLASH],
    1057 [_LT_SHELL_INIT([
    1058 # Check that we are running under the correct shell.
    1059 SHELL=${CONFIG_SHELL-/bin/sh}
    1060 
    1061 case X$lt_ECHO in
    1062 X*--fallback-echo)
    1063   # Remove one level of quotation (which was required for Make).
    1064   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
    1065   ;;
     1118[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     1119ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
     1120ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
     1121
     1122AC_MSG_CHECKING([how to print strings])
     1123# Test print first, because it will be a builtin if present.
     1124if test "X`print -r -- -n 2>/dev/null`" = X-n && \
     1125   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
     1126  ECHO='print -r --'
     1127elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
     1128  ECHO='printf %s\n'
     1129else
     1130  # Use this function as a fallback that always works.
     1131  func_fallback_echo ()
     1132  {
     1133    eval 'cat <<_LTECHO_EOF
     1134$[]1
     1135_LTECHO_EOF'
     1136  }
     1137  ECHO='func_fallback_echo'
     1138fi
     1139
     1140# func_echo_all arg...
     1141# Invoke $ECHO with all args, space-separated.
     1142func_echo_all ()
     1143{
     1144    $ECHO "$*"
     1145}
     1146
     1147case "$ECHO" in
     1148  printf*) AC_MSG_RESULT([printf]) ;;
     1149  print*) AC_MSG_RESULT([print -r]) ;;
     1150  *) AC_MSG_RESULT([cat]) ;;
    10661151esac
    10671152
    1068 ECHO=${lt_ECHO-echo}
    1069 if test "X[$]1" = X--no-reexec; then
    1070   # Discard the --no-reexec flag, and continue.
    1071   shift
    1072 elif test "X[$]1" = X--fallback-echo; then
    1073   # Avoid inline document here, it may be left over
    1074   :
    1075 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    1076   # Yippee, $ECHO works!
    1077   :
    1078 else
    1079   # Restart under the correct shell.
    1080   exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
    1081 fi
    1082 
    1083 if test "X[$]1" = X--fallback-echo; then
    1084   # used as fallback echo
    1085   shift
    1086   cat <<_LT_EOF
    1087 [$]*
    1088 _LT_EOF
    1089   exit 0
    1090 fi
    1091 
    1092 # The HP-UX ksh and POSIX shell print the target directory to stdout
    1093 # if CDPATH is set.
    1094 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    1095 
    1096 if test -z "$lt_ECHO"; then
    1097   if test "X${echo_test_string+set}" != Xset; then
    1098     # find a string as large as possible, as long as the shell can cope with it
    1099     for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
    1100       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    1101       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    1102          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    1103       then
    1104         break
    1105       fi
    1106     done
    1107   fi
    1108 
    1109   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    1110      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    1111      test "X$echo_testing_string" = "X$echo_test_string"; then
    1112     :
    1113   else
    1114     # The Solaris, AIX, and Digital Unix default echo programs unquote
    1115     # backslashes.  This makes it impossible to quote backslashes using
    1116     #   echo "$something" | sed 's/\\/\\\\/g'
    1117     #
    1118     # So, first we look for a working echo in the user's PATH.
    1119 
    1120     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    1121     for dir in $PATH /usr/ucb; do
    1122       IFS="$lt_save_ifs"
    1123       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    1124          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    1125          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    1126          test "X$echo_testing_string" = "X$echo_test_string"; then
    1127         ECHO="$dir/echo"
    1128         break
    1129       fi
    1130     done
    1131     IFS="$lt_save_ifs"
    1132 
    1133     if test "X$ECHO" = Xecho; then
    1134       # We didn't find a better echo, so look for alternatives.
    1135       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    1136          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    1137          test "X$echo_testing_string" = "X$echo_test_string"; then
    1138         # This shell has a builtin print -r that does the trick.
    1139         ECHO='print -r'
    1140       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    1141            test "X$CONFIG_SHELL" != X/bin/ksh; then
    1142         # If we have ksh, try running configure again with it.
    1143         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    1144         export ORIGINAL_CONFIG_SHELL
    1145         CONFIG_SHELL=/bin/ksh
    1146         export CONFIG_SHELL
    1147         exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
    1148       else
    1149         # Try using printf.
    1150         ECHO='printf %s\n'
    1151         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    1152            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    1153            test "X$echo_testing_string" = "X$echo_test_string"; then
    1154           # Cool, printf works
    1155           :
    1156         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
    1157              test "X$echo_testing_string" = 'X\t' &&
    1158              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    1159              test "X$echo_testing_string" = "X$echo_test_string"; then
    1160           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    1161           export CONFIG_SHELL
    1162           SHELL="$CONFIG_SHELL"
    1163           export SHELL
    1164           ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
    1165         elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
    1166              test "X$echo_testing_string" = 'X\t' &&
    1167              echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    1168              test "X$echo_testing_string" = "X$echo_test_string"; then
    1169           ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
    1170         else
    1171           # maybe with a smaller string...
    1172           prev=:
    1173 
    1174           for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
    1175             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    1176             then
    1177               break
    1178             fi
    1179             prev="$cmd"
    1180           done
    1181 
    1182           if test "$prev" != 'sed 50q "[$]0"'; then
    1183             echo_test_string=`eval $prev`
    1184             export echo_test_string
    1185             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
    1186           else
    1187             # Oops.  We lost completely, so just stick with echo.
    1188             ECHO=echo
    1189           fi
    1190         fi
    1191       fi
    1192     fi
    1193   fi
    1194 fi
    1195 
    1196 # Copy echo and quote the copy suitably for passing to libtool from
    1197 # the Makefile, instead of quoting the original, which is used later.
    1198 lt_ECHO=$ECHO
    1199 if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
    1200    lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
    1201 fi
    1202 
    1203 AC_SUBST(lt_ECHO)
    1204 ])
     1153m4_ifdef([_AS_DETECT_SUGGESTED],
     1154[_AS_DETECT_SUGGESTED([
     1155  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
     1156    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     1157    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
     1158    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
     1159    PATH=/empty FPATH=/empty; export PATH FPATH
     1160    test "X`printf %s $ECHO`" = "X$ECHO" \
     1161      || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
     1162
    12051163_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
    1206 _LT_DECL([], [ECHO], [1],
    1207     [An echo program that does not interpret backslashes])
     1164_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
    12081165])# _LT_PROG_ECHO_BACKSLASH
    12091166
     
    12371194*-*-irix6*)
    12381195  # Find out which ABI we are using.
    1239   echo '[#]line __oline__ "configure"' > conftest.$ac_ext
     1196  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
    12401197  if AC_TRY_EVAL(ac_compile); then
    12411198    if test "$lt_cv_prog_gnu_ld" = yes; then
     
    13891346  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
    13901347fi
     1348
     1349case $host_os in
     1350  darwin*)
     1351    lock_old_archive_extraction=yes ;;
     1352  *)
     1353    lock_old_archive_extraction=no ;;
     1354esac
    13911355_LT_DECL([], [old_postinstall_cmds], [2])
    13921356_LT_DECL([], [old_postuninstall_cmds], [2])
    13931357_LT_TAGDECL([], [old_archive_cmds], [2],
    13941358    [Commands used to build an old-style archive])
     1359_LT_DECL([], [lock_old_archive_extraction], [0],
     1360    [Whether to use a lock for old archive extraction])
    13951361])# _LT_CMD_OLD_ARCHIVE
    13961362
     
    14171383   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
    14181384   -e 's:$: $lt_compiler_flag:'`
    1419    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
     1385   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
    14201386   (eval "$lt_compile" 2>conftest.err)
    14211387   ac_status=$?
    14221388   cat conftest.err >&AS_MESSAGE_LOG_FD
    1423    echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
     1389   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
    14241390   if (exit $ac_status) && test -s "$ac_outfile"; then
    14251391     # The compiler can only warn and ignore the option if not recognized
    14261392     # So say no if there are warnings other than the usual output.
    1427      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
     1393     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    14281394     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    14291395     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     
    14651431       # Append any errors to the config.log.
    14661432       cat conftest.err 1>&AS_MESSAGE_LOG_FD
    1467        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
     1433       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    14681434       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    14691435       if diff conftest.exp conftest.er2 >/dev/null; then
     
    15251491    # Instead, let's just punt: use the minimum linelength reported by
    15261492    # all of the supported platforms: 8192 (on NT/2K/XP).
     1493    lt_cv_sys_max_cmd_len=8192;
     1494    ;;
     1495
     1496  mint*)
     1497    # On MiNT this can take a long time and run out of memory.
    15271498    lt_cv_sys_max_cmd_len=8192;
    15281499    ;;
     
    15921563      # maximum length that is only half of the actual maximum length, but
    15931564      # we can't tell.
    1594       while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
    1595                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
     1565      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
     1566                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
    15961567              test $i != 17 # 1/2 MB should be enough
    15971568      do
     
    16441615  lt_status=$lt_dlunknown
    16451616  cat > conftest.$ac_ext <<_LT_EOF
    1646 [#line __oline__ "configure"
     1617[#line $LINENO "configure"
    16471618#include "confdefs.h"
    16481619
     
    16851656#endif
    16861657
    1687 void fnord() { int i=42;}
     1658/* When -fvisbility=hidden is used, assume the code has been annotated
     1659   correspondingly for the symbols needed.  */
     1660#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     1661void fnord () __attribute__((visibility("default")));
     1662#endif
     1663
     1664void fnord () { int i=42; }
    16881665int main ()
    16891666{
     
    16941671    {
    16951672      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    1696       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
     1673      else
     1674        {
     1675          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
     1676          else puts (dlerror ());
     1677        }
    16971678      /* dlclose (self); */
    16981679    }
     
    18701851   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
    18711852   -e 's:$: $lt_compiler_flag:'`
    1872    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
     1853   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
    18731854   (eval "$lt_compile" 2>out/conftest.err)
    18741855   ac_status=$?
    18751856   cat out/conftest.err >&AS_MESSAGE_LOG_FD
    1876    echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
     1857   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
    18771858   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    18781859   then
    18791860     # The compiler can only warn and ignore the option if not recognized
    18801861     # So say no if there are warnings
    1881      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
     1862     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    18821863     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    18831864     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     
    20382019m4_require([_LT_DECL_OBJDUMP])dnl
    20392020m4_require([_LT_DECL_SED])dnl
     2021m4_require([_LT_CHECK_SHELL_FEATURES])dnl
    20402022AC_MSG_CHECKING([dynamic linker characteristics])
    20412023m4_if([$1],
     
    20462028    *) lt_awk_arg="/^libraries:/" ;;
    20472029  esac
    2048   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    2049   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
     2030  case $host_os in
     2031    mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
     2032    *) lt_sed_strip_eq="s,=/,/,g" ;;
     2033  esac
     2034  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
     2035  case $lt_search_path_spec in
     2036  *\;*)
    20502037    # if the path contains ";" then we assume it to be the separator
    20512038    # otherwise default to the standard path separator (i.e. ":") - it is
    20522039    # assumed that no part of a normal pathname contains ";" but that should
    20532040    # okay in the real world where ";" in dirpaths is itself problematic.
    2054     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
    2055   else
    2056     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    2057   fi
     2041    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
     2042    ;;
     2043  *)
     2044    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
     2045    ;;
     2046  esac
    20582047  # Ok, now we have the path, separated by spaces, we can step through it
    20592048  # and add multilib dir if necessary.
     
    20682057    fi
    20692058  done
    2070   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
     2059  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
    20712060BEGIN {RS=" "; FS="/|\n";} {
    20722061  lt_foo="";
     
    20882077  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
    20892078}'`
    2090   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
     2079  # AWK program above erroneously prepends '/' to C:/dos/paths
     2080  # for these hosts.
     2081  case $host_os in
     2082    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
     2083      $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
     2084  esac
     2085  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
    20912086else
    20922087  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     
    21762171    library_names_spec='$libname.ixlibrary $libname.a'
    21772172    # Create ${libname}_ixlibrary.a entries in /sys/libs.
    2178     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
     2173    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'
    21792174    ;;
    21802175  esac
     
    22292224      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    22302225      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
    2231       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
     2226m4_if([$1], [],[
     2227      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
    22322228      ;;
    22332229    mingw* | cegcc*)
    22342230      # MinGW DLLs use traditional 'lib' prefix
    22352231      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
    2236       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    2237       if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
    2238         # It is most probably a Windows format PATH printed by
    2239         # mingw gcc, but we are running on Cygwin. Gcc prints its search
    2240         # path with ; separators, and with drive letters. We can handle the
    2241         # drive letters (cygwin fileutils understands them), so leave them,
    2242         # especially as we might pass files found there to a mingw objdump,
    2243         # which wouldn't understand a cygwinified path. Ahh.
    2244         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    2245       else
    2246         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    2247       fi
    22482232      ;;
    22492233    pw32*)
     
    23422326  soname_spec='${libname}${release}${shared_ext}$major'
    23432327  shlibpath_var=LD_LIBRARY_PATH
     2328  hardcode_into_libs=yes
     2329  ;;
     2330
     2331haiku*)
     2332  version_type=linux
     2333  need_lib_prefix=no
     2334  need_version=no
     2335  dynamic_linker="$host_os runtime_loader"
     2336  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
     2337  soname_spec='${libname}${release}${shared_ext}$major'
     2338  shlibpath_var=LIBRARY_PATH
     2339  shlibpath_overrides_runpath=yes
     2340  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    23442341  hardcode_into_libs=yes
    23452342  ;;
     
    23872384    ;;
    23882385  esac
    2389   # HP-UX runs *really* slowly unless shared libraries are mode 555.
     2386  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
    23902387  postinstall_cmds='chmod 555 $lib'
     2388  # or fails outright, so override atomically:
     2389  install_override_mode=555
    23912390  ;;
    23922391
     
    24552454  shlibpath_var=LD_LIBRARY_PATH
    24562455  shlibpath_overrides_runpath=no
     2456
    24572457  # Some binutils ld are patched to set DT_RUNPATH
    2458   save_LDFLAGS=$LDFLAGS
    2459   save_libdir=$libdir
    2460   eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
    2461        LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
    2462   AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
    2463     [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
    2464        [shlibpath_overrides_runpath=yes])])
    2465   LDFLAGS=$save_LDFLAGS
    2466   libdir=$save_libdir
     2458  AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
     2459    [lt_cv_shlibpath_overrides_runpath=no
     2460    save_LDFLAGS=$LDFLAGS
     2461    save_libdir=$libdir
     2462    eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
     2463         LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
     2464    AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
     2465      [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
     2466         [lt_cv_shlibpath_overrides_runpath=yes])])
     2467    LDFLAGS=$save_LDFLAGS
     2468    libdir=$save_libdir
     2469    ])
     2470  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
    24672471
    24682472  # This implies no fast_install, which is unacceptable.
     
    24712475  hardcode_into_libs=yes
    24722476
     2477  # Add ABI-specific directories to the system library path.
     2478  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
     2479
    24732480  # Append ld.so.conf contents to the search path
    24742481  if test -f /etc/ld.so.conf; then
    2475     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[   ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
    2476     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
     2482    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' ' '`
     2483    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
     2484
    24772485  fi
    24782486
     
    24842492  # assume the GNU/Linux dynamic linker is in use.
    24852493  dynamic_linker='GNU/Linux ld.so'
    2486   ;;
    2487 
    2488 netbsdelf*-gnu)
    2489   version_type=linux
    2490   need_lib_prefix=no
    2491   need_version=no
    2492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    2493   soname_spec='${libname}${release}${shared_ext}$major'
    2494   shlibpath_var=LD_LIBRARY_PATH
    2495   shlibpath_overrides_runpath=no
    2496   hardcode_into_libs=yes
    2497   dynamic_linker='NetBSD ld.elf_so'
    24982494  ;;
    24992495
     
    27182714_LT_DECL([], [soname_spec], [1],
    27192715    [[The coded name of the library, if different from the real name]])
     2716_LT_DECL([], [install_override_mode], [1],
     2717    [Permission mode override for installation of shared libraries])
    27202718_LT_DECL([], [postinstall_cmds], [2],
    27212719    [Command to use after installation of a shared archive])
     
    28302828m4_require([_LT_DECL_SED])dnl
    28312829m4_require([_LT_DECL_EGREP])dnl
     2830m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
    28322831
    28332832AC_ARG_WITH([gnu-ld],
     
    29592958    ;;
    29602959esac
    2961 _LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
    2962 _LT_DECL([], [reload_cmds], [2])dnl
     2960_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
     2961_LT_TAGDECL([], [reload_cmds], [2])dnl
    29632962])# _LT_CMD_RELOAD
    29642963
     
    30123011  # func_win32_libid shell function, so use a weaker test based on 'objdump',
    30133012  # unless we find 'file', for example because we are cross-compiling.
    3014   if ( file / ) >/dev/null 2>&1; then
     3013  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
     3014  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
    30153015    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    30163016    lt_cv_file_magic_cmd='func_win32_libid'
    30173017  else
    3018     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
     3018    # Keep this pattern in sync with the one in func_win32_libid.
     3019    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
    30193020    lt_cv_file_magic_cmd='$OBJDUMP -f'
    30203021  fi
    30213022  ;;
    30223023
    3023 cegcc)
     3024cegcc*)
    30243025  # use the weaker test based on 'objdump'. See mingw*.
    30253026  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
     
    30513052  ;;
    30523053
     3054haiku*)
     3055  lt_cv_deplibs_check_method=pass_all
     3056  ;;
     3057
    30533058hpux10.20* | hpux11*)
    30543059  lt_cv_file_magic_cmd=/usr/bin/file
     
    30593064    ;;
    30603065  hppa*64*)
    3061     [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
     3066    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
    30623067    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
    30633068    ;;
    30643069  *)
    3065     lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
     3070    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
    30663071    lt_cv_file_magic_test_file=/usr/lib/libc.sl
    30673072    ;;
     
    30893094  ;;
    30903095
    3091 netbsd* | netbsdelf*-gnu)
     3096netbsd*)
    30923097  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
    30933098    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
     
    32273232else
    32283233  # Didn't find any BSD compatible name lister, look for dumpbin.
    3229   AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
     3234  if test -n "$DUMPBIN"; then :
     3235    # Let the user override the test.
     3236  else
     3237    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
     3238    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
     3239    *COFF*)
     3240      DUMPBIN="$DUMPBIN -symbols"
     3241      ;;
     3242    *)
     3243      DUMPBIN=:
     3244      ;;
     3245    esac
     3246  fi
    32303247  AC_SUBST([DUMPBIN])
    32313248  if test "$DUMPBIN" != ":"; then
     
    32403257  [lt_cv_nm_interface="BSD nm"
    32413258  echo "int some_variable = 0;" > conftest.$ac_ext
    3242   (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
     3259  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
    32433260  (eval "$ac_compile" 2>conftest.err)
    32443261  cat conftest.err >&AS_MESSAGE_LOG_FD
    3245   (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
     3262  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
    32463263  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
    32473264  cat conftest.err >&AS_MESSAGE_LOG_FD
    3248   (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
     3265  (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
    32493266  cat conftest.out >&AS_MESSAGE_LOG_FD
    32503267  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     
    32693286LIBM=
    32703287case $host in
    3271 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
     3288*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
    32723289  # These system don't have libm, or don't need it
    32733290  ;;
     
    32973314
    32983315if test "$GCC" = yes; then
    3299   _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
     3316  case $cc_basename in
     3317  nvcc*)
     3318    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
     3319  *)
     3320    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
     3321  esac
    33003322
    33013323  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
     
    33143336[AC_REQUIRE([AC_CANONICAL_HOST])dnl
    33153337AC_REQUIRE([AC_PROG_CC])dnl
     3338AC_REQUIRE([AC_PROG_AWK])dnl
    33163339AC_REQUIRE([LT_PATH_NM])dnl
    33173340AC_REQUIRE([LT_PATH_LD])dnl
     
    34393462    # Now try to grab the symbols.
    34403463    nlist=conftest.nm
    3441     if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
     3464    if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
    34423465      # Try sorting and uniquifying the output.
    34433466      if sort "$nlist" | uniq > "$nlist"T; then
     
    36003623      # DJGPP does not support shared libraries at all
    36013624      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
     3625      ;;
     3626    haiku*)
     3627      # PIC is the default for Haiku.
     3628      # The "-static" flag exists, but is broken.
     3629      _LT_TAGVAR(lt_prog_compiler_static, $1)=
    36023630      ;;
    36033631    interix[[3-9]]*)
     
    37393767            _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
    37403768            ;;
    3741           xlc* | xlC*)
    3742             # IBM XL 8.0 on PPC
     3769          xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
     3770            # IBM XL 8.0, 9.0 on PPC and BlueGene
    37433771            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    37443772            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
     
    37703798        esac
    37713799        ;;
    3772       netbsd* | netbsdelf*-gnu)
     3800      netbsd*)
    37733801        ;;
    37743802      *qnx* | *nto*)
     
    38023830      solaris*)
    38033831        case $cc_basename in
    3804           CC*)
     3832          CC* | sunCC*)
    38053833            # Sun C++ 4.2, 5.x and Centerline C++
    38063834            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
     
    39063934      ;;
    39073935
     3936    haiku*)
     3937      # PIC is the default for Haiku.
     3938      # The "-static" flag exists, but is broken.
     3939      _LT_TAGVAR(lt_prog_compiler_static, $1)=
     3940      ;;
     3941
    39083942    hpux*)
    39093943      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
     
    39463980    *)
    39473981      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
     3982      ;;
     3983    esac
     3984
     3985    case $cc_basename in
     3986    nvcc*) # Cuda Compiler Driver 2.2
     3987      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
     3988      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
    39483989      ;;
    39493990    esac
     
    40114052        _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
    40124053        ;;
    4013       pgcc* | pgf77* | pgf90* | pgf95*)
     4054      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
    40144055        # Portland Group compilers (*not* the Pentium gcc compiler,
    40154056        # which looks to be a dead project)
     
    40234064        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
    40244065        ;;
    4025       xl*)
    4026         # IBM XL C 8.0/Fortran 10.1 on PPC
     4066      xl* | bgxl* | bgf* | mpixl*)
     4067        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
    40274068        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    40284069        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
     
    40314072      *)
    40324073        case `$CC -V 2>&1 | sed 5q` in
     4074        *Sun\ F* | *Sun*Fortran*)
     4075          # Sun Fortran 8.3 passes all unrecognized flags to the linker
     4076          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
     4077          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     4078          _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
     4079          ;;
    40334080        *Sun\ C*)
    40344081          # Sun C 5.9
     
    40374084          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    40384085          ;;
    4039         *Sun\ F*)
    4040           # Sun Fortran 8.3 passes all unrecognized flags to the linker
    4041           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
    4042           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    4043           _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
    4044           ;;
    40454086        esac
    40464087        ;;
     
    40734114      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    40744115      case $cc_basename in
    4075       f77* | f90* | f95*)
     4116      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
    40764117        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
    40774118      *)
     
    41834224    # If we're using GNU nm, then we don't want the "-C" option.
    41844225    # -C means demangle to AIX nm, but means don't demangle with GNU nm
     4226    # Also, AIX nm treats weak defined symbols like other global defined
     4227    # symbols, whereas GNU nm marks them as "W".
    41854228    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    4186       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     4229      _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'
    41874230    else
    41884231      _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'
     
    41944237  cygwin* | mingw* | cegcc*)
    41954238    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
    4196   ;;
    4197   linux* | k*bsd*-gnu)
    4198     _LT_TAGVAR(link_all_deplibs, $1)=no
    41994239  ;;
    42004240  *)
     
    42624302    with_gnu_ld=no
    42634303    ;;
    4264   linux* | k*bsd*-gnu)
    4265     _LT_TAGVAR(link_all_deplibs, $1)=no
    4266     ;;
    42674304  esac
    42684305
    42694306  _LT_TAGVAR(ld_shlibs, $1)=yes
     4307
     4308  # On some targets, GNU ld is compatible enough with the native linker
     4309  # that we're better off using the native interface for both.
     4310  lt_use_gnu_ld_interface=no
    42704311  if test "$with_gnu_ld" = yes; then
     4312    case $host_os in
     4313      aix*)
     4314        # The AIX port of GNU ld has always aspired to compatibility
     4315        # with the native linker.  However, as the warning in the GNU ld
     4316        # block says, versions before 2.19.5* couldn't really create working
     4317        # shared libraries, regardless of the interface used.
     4318        case `$LD -v 2>&1` in
     4319          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
     4320          *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
     4321          *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
     4322          *)
     4323            lt_use_gnu_ld_interface=yes
     4324            ;;
     4325        esac
     4326        ;;
     4327      *)
     4328        lt_use_gnu_ld_interface=yes
     4329        ;;
     4330    esac
     4331  fi
     4332
     4333  if test "$lt_use_gnu_ld_interface" = yes; then
    42714334    # If archive_cmds runs LD, not CC, wlarc should be empty
    42724335    wlarc='${wl}'
     
    43024365        cat <<_LT_EOF 1>&2
    43034366
    4304 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
     4367*** Warning: the GNU linker, at least up to release 2.19, is reported
    43054368*** to be unable to reliably create shared libraries on AIX.
    43064369*** Therefore, libtool is disabling shared libraries support.  If you
    4307 *** really care for shared libraries, you may want to modify your PATH
    4308 *** so that a non-GNU linker is found, and then restart.
     4370*** really care for shared libraries, you may want to install binutils
     4371*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
     4372*** You will then need to restart the configuration process.
    43094373
    43104374_LT_EOF
     
    43424406      # as there is no search path for DLLs.
    43434407      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
     4408      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
    43444409      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    43454410      _LT_TAGVAR(always_export_symbols, $1)=no
     
    43634428      ;;
    43644429
     4430    haiku*)
     4431      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     4432      _LT_TAGVAR(link_all_deplibs, $1)=yes
     4433      ;;
     4434
    43654435    interix[[3-9]]*)
    43664436      _LT_TAGVAR(hardcode_direct, $1)=no
     
    43924462        case $cc_basename,$host_cpu in
    43934463        pgcc*)                          # Portland Group C compiler
    4394           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
     4464          _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'
    43954465          tmp_addflag=' $pic_flag'
    43964466          ;;
    4397         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
    4398           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
     4467        pgf77* | pgf90* | pgf95* | pgfortran*)
     4468                                        # Portland Group f77 and f90 compilers
     4469          _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'
    43994470          tmp_addflag=' $pic_flag -Mnomain' ;;
    44004471        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
     
    44074478          _LT_TAGVAR(whole_archive_flag_spec, $1)=
    44084479          tmp_sharedflag='--shared' ;;
    4409         xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
     4480        xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
    44104481          tmp_sharedflag='-qmkshrobj'
    44114482          tmp_addflag= ;;
     4483        nvcc*)  # Cuda Compiler Driver 2.2
     4484          _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'
     4485          _LT_TAGVAR(compiler_needs_object, $1)=yes
     4486          ;;
    44124487        esac
    44134488        case `$CC -V 2>&1 | sed 5q` in
    44144489        *Sun\ C*)                       # Sun C 5.9
    4415           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
     4490          _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'
    44164491          _LT_TAGVAR(compiler_needs_object, $1)=yes
    44174492          tmp_sharedflag='-G' ;;
     
    44294504
    44304505        case $cc_basename in
    4431         xlf*)
     4506        xlf* | bgf* | bgxlf* | mpixlf*)
    44324507          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
    44334508          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
    44344509          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
    44354510          _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
    4436           _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
     4511          _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
    44374512          if test "x$supports_anon_versioning" = xyes; then
    44384513            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
    44394514              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    44404515              echo "local: *; };" >> $output_objdir/$libname.ver~
    4441               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     4516              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
    44424517          fi
    44434518          ;;
     
    44484523      ;;
    44494524
    4450     netbsd* | netbsdelf*-gnu)
     4525    netbsd*)
    44514526      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    44524527        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
     
    45604635        # If we're using GNU nm, then we don't want the "-C" option.
    45614636        # -C means demangle to AIX nm, but means don't demangle with GNU nm
     4637        # Also, AIX nm treats weak defined symbols like other global
     4638        # defined symbols, whereas GNU nm marks them as "W".
    45624639        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    4563           _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     4640          _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'
    45644641        else
    45654642          _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'
     
    46234700          shared_flag="$shared_flag "'${wl}-G'
    46244701        fi
    4625         _LT_TAGVAR(link_all_deplibs, $1)=no
    46264702      else
    46274703        # not using gcc
     
    46514727        _LT_SYS_MODULE_PATH_AIX
    46524728        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
    4653         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
     4729        _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"
    46544730      else
    46554731        if test "$host_cpu" = ia64; then
     
    46664742          _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
    46674743          _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
    4668           # Exported symbols can be pulled into shared objects from archives
    4669           _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
     4744          if test "$with_gnu_ld" = yes; then
     4745            # We only use this code for GNU lds that support --whole-archive.
     4746            _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     4747          else
     4748            # Exported symbols can be pulled into shared objects from archives
     4749            _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
     4750          fi
    46704751          _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
    46714752          # This is similar to how AIX traditionally builds its shared libraries.
     
    47064787      shrext_cmds=".dll"
    47074788      # FIXME: Setting linknames here is a bad hack.
    4708       _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
     4789      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
    47094790      # The linker will automatically build a .lib file if we build a DLL.
    47104791      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
     
    47734854
    47744855    hpux10*)
    4775       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
     4856      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
    47764857        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    47774858      else
     
    47924873
    47934874    hpux11*)
    4794       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
     4875      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
    47954876        case $host_cpu in
    47964877        hppa*64*)
     
    48134894          ;;
    48144895        *)
    4815           _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     4896        m4_if($1, [], [
     4897          # Older versions of the 11.00 compiler do not understand -b yet
     4898          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
     4899          _LT_LINKER_OPTION([if $CC understands -b],
     4900            _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
     4901            [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
     4902            [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
     4903          [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
    48164904          ;;
    48174905        esac
     
    48414929    irix5* | irix6* | nonstopux*)
    48424930      if test "$GCC" = yes; then
    4843         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     4931        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $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'
    48444932        # Try to use the -exported_symbol ld option, if it does not
    48454933        # work, assume that -exports_file does not work either and
     
    48484936        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
    48494937        AC_LINK_IFELSE(int foo(void) {},
    4850           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
     4938          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $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'
    48514939        )
    48524940        LDFLAGS="$save_LDFLAGS"
    48534941      else
    4854         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
    4855         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
     4942        _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'
     4943        _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'
    48564944      fi
    48574945      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
     
    48624950      ;;
    48634951
    4864     netbsd* | netbsdelf*-gnu)
     4952    netbsd*)
    48654953      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    48664954        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
     
    49155003      _LT_TAGVAR(hardcode_minus_L, $1)=yes
    49165004      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    4917       _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'
     5005      _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'
    49185006      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
    49195007      ;;
     
    49225010      if test "$GCC" = yes; then
    49235011        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
    4924         _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     5012        _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'
    49255013      else
    49265014        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    4927         _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
     5015        _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'
    49285016      fi
    49295017      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
     
    49355023      if test "$GCC" = yes; then
    49365024        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
    4937         _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     5025        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_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'
    49385026        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    49395027      else
    49405028        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    4941         _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
     5029        _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'
    49425030        _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~
    4943         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
     5031        $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'
    49445032
    49455033        # Both c and cxx compiler support -rpath directly
     
    51325220      # systems, -lgcc has to come before -lc. If gcc already passes -lc
    51335221      # to ld, don't add -lc before -lgcc.
    5134       AC_MSG_CHECKING([whether -lc should be explicitly linked in])
    5135       $RM conftest*
    5136       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    5137 
    5138       if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
    5139         soname=conftest
    5140         lib=conftest
    5141         libobjs=conftest.$ac_objext
    5142         deplibs=
    5143         wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
    5144         pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
    5145         compiler_flags=-v
    5146         linker_flags=-v
    5147         verstring=
    5148         output_objdir=.
    5149         libname=conftest
    5150         lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
    5151         _LT_TAGVAR(allow_undefined_flag, $1)=
    5152         if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
    5153         then
    5154           _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    5155         else
    5156           _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
    5157         fi
    5158         _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
    5159       else
    5160         cat conftest.err 1>&5
    5161       fi
    5162       $RM conftest*
    5163       AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
     5222      AC_CACHE_CHECK([whether -lc should be explicitly linked in],
     5223        [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
     5224        [$RM conftest*
     5225        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     5226
     5227        if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
     5228          soname=conftest
     5229          lib=conftest
     5230          libobjs=conftest.$ac_objext
     5231          deplibs=
     5232          wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
     5233          pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
     5234          compiler_flags=-v
     5235          linker_flags=-v
     5236          verstring=
     5237          output_objdir=.
     5238          libname=conftest
     5239          lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
     5240          _LT_TAGVAR(allow_undefined_flag, $1)=
     5241          if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
     5242          then
     5243            lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
     5244          else
     5245            lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
     5246          fi
     5247          _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
     5248        else
     5249          cat conftest.err 1>&5
     5250        fi
     5251        $RM conftest*
     5252        ])
     5253      _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
    51645254      ;;
    51655255    esac
     
    53315421
    53325422
    5333 # _LT_PROG_CXX
    5334 # ------------
    5335 # Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
    5336 # compiler, we have our own version here.
    5337 m4_defun([_LT_PROG_CXX],
    5338 [
    5339 pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
    5340 AC_PROG_CXX
     5423# _LT_LANG_CXX_CONFIG([TAG])
     5424# --------------------------
     5425# Ensure that the configuration variables for a C++ compiler are suitably
     5426# defined.  These variables are subsequently used by _LT_CONFIG to write
     5427# the compiler configuration to `libtool'.
     5428m4_defun([_LT_LANG_CXX_CONFIG],
     5429[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
     5430m4_require([_LT_DECL_EGREP])dnl
    53415431if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
    53425432    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
     
    53465436  _lt_caught_CXX_error=yes
    53475437fi
    5348 popdef([AC_MSG_ERROR])
    5349 ])# _LT_PROG_CXX
    5350 
    5351 dnl aclocal-1.4 backwards compatibility:
    5352 dnl AC_DEFUN([_LT_PROG_CXX], [])
    5353 
    5354 
    5355 # _LT_LANG_CXX_CONFIG([TAG])
    5356 # --------------------------
    5357 # Ensure that the configuration variables for a C++ compiler are suitably
    5358 # defined.  These variables are subsequently used by _LT_CONFIG to write
    5359 # the compiler configuration to `libtool'.
    5360 m4_defun([_LT_LANG_CXX_CONFIG],
    5361 [AC_REQUIRE([_LT_PROG_CXX])dnl
    5362 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
    5363 m4_require([_LT_DECL_EGREP])dnl
    53645438
    53655439AC_LANG_PUSH(C++)
     
    53835457_LT_TAGVAR(link_all_deplibs, $1)=unknown
    53845458_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
     5459_LT_TAGVAR(reload_flag, $1)=$reload_flag
     5460_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
    53855461_LT_TAGVAR(no_undefined_flag, $1)=
    53865462_LT_TAGVAR(whole_archive_flag_spec, $1)=
     
    54855561      # what "hidden" libraries, object files and flags are used when
    54865562      # linking a shared library.
    5487       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
     5563      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    54885564
    54895565    else
     
    55975673          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
    55985674
    5599           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
     5675          _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"
    56005676        else
    56015677          if test "$host_cpu" = ia64; then
     
    56125688            _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
    56135689            _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
    5614             # Exported symbols can be pulled into shared objects from archives
    5615             _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
     5690            if test "$with_gnu_ld" = yes; then
     5691              # We only use this code for GNU lds that support --whole-archive.
     5692              _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     5693            else
     5694              # Exported symbols can be pulled into shared objects from archives
     5695              _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
     5696            fi
    56165697            _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
    56175698            # This is similar to how AIX traditionally builds its shared
     
    56465727        # as there is no search path for DLLs.
    56475728        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
     5729        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
    56485730        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    56495731        _LT_TAGVAR(always_export_symbols, $1)=no
     
    57065788        ;;
    57075789
     5790      haiku*)
     5791        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5792        _LT_TAGVAR(link_all_deplibs, $1)=yes
     5793        ;;
     5794
    57085795      hpux9*)
    57095796        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
     
    57305817            # from the output so that they don't get included in the library
    57315818            # dependencies.
    5732             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
     5819            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"'
    57335820            ;;
    57345821          *)
     
    57955882            # from the output so that they don't get included in the library
    57965883            # dependencies.
    5797             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
     5884            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"'
    57985885            ;;
    57995886          *)
     
    58385925          CC*)
    58395926            # SGI C++
    5840             _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
     5927            _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'
    58415928
    58425929            # Archives containing C++ object files must be created using
     
    58495936            if test "$GXX" = yes; then
    58505937              if test "$with_gnu_ld" = no; then
    5851                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     5938                _LT_TAGVAR(archive_cmds, $1)='$CC -shared -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'
    58525939              else
    5853                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
     5940                _LT_TAGVAR(archive_cmds, $1)='$CC -shared -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'
    58545941              fi
    58555942            fi
     
    58805967            # from the output so that they don't get included in the library
    58815968            # dependencies.
    5882             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
     5969            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"'
    58835970
    58845971            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     
    59176004            # Portland Group C++ compiler
    59186005            case `$CC -V` in
    5919             *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
     6006            *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
    59206007              _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
    59216008                rm -rf $tpldir~
    59226009                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
    5923                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
     6010                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
    59246011              _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
    59256012                rm -rf $tpldir~
    59266013                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
    5927                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
     6014                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
    59286015                $RANLIB $oldlib'
    59296016              _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
    59306017                rm -rf $tpldir~
    59316018                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    5932                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
     6019                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
    59336020              _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
    59346021                rm -rf $tpldir~
    59356022                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    5936                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
     6023                $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'
    59376024              ;;
    5938             *) # Version 6 will use weak symbols
     6025            *) # Version 6 and above use weak symbols
    59396026              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
    59406027              _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'
     
    59446031            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
    59456032            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
    5946             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
     6033            _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'
    59476034            ;;
    59486035          cxx*)
     
    59636050            # from the output so that they don't get included in the library
    59646051            # dependencies.
    5965             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
     6052            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'
    59666053            ;;
    5967           xl*)
     6054          xl* | mpixl* | bgxl*)
    59686055            # IBM XL 8.0 on PPC, with GNU ld
    59696056            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     
    59856072              _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'
    59866073              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
    5987               _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
     6074              _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'
    59886075              _LT_TAGVAR(compiler_needs_object, $1)=yes
    59896076
     
    59916078              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
    59926079              # would be better.
    5993               output_verbose_link_cmd='echo'
     6080              output_verbose_link_cmd='func_echo_all'
    59946081
    59956082              # Archives containing C++ object files must be created using
     
    60606147            _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    60616148          fi
    6062           output_verbose_link_cmd=echo
     6149          output_verbose_link_cmd=func_echo_all
    60636150        else
    60646151          _LT_TAGVAR(ld_shlibs, $1)=no
     
    60956182              osf3*)
    60966183                _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
    6097                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
     6184                _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'
    60986185                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    60996186                ;;
    61006187              *)
    61016188                _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    6102                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
     6189                _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'
    61036190                _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
    61046191                  echo "-hidden">> $lib.exp~
    6105                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
     6192                  $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~
    61066193                  $RM $lib.exp'
    61076194                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
     
    61196206            # from the output so that they don't get included in the library
    61206207            # dependencies.
    6121             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
     6208            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"'
    61226209            ;;
    61236210          *)
     
    61266213              case $host in
    61276214                osf3*)
    6128                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     6215                  _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'
    61296216                  ;;
    61306217                *)
    6131                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     6218                  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    61326219                  ;;
    61336220              esac
     
    61396226              # what "hidden" libraries, object files and flags are used when
    61406227              # linking a shared library.
    6141               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
     6228              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    61426229
    61436230            else
     
    61756262      solaris*)
    61766263        case $cc_basename in
    6177           CC*)
     6264          CC* | sunCC*)
    61786265            # Sun C++ 4.2, 5.x and Centerline C++
    61796266            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
     
    61966283            _LT_TAGVAR(link_all_deplibs, $1)=yes
    61976284
    6198             output_verbose_link_cmd='echo'
     6285            output_verbose_link_cmd='func_echo_all'
    61996286
    62006287            # Archives containing C++ object files must be created using
     
    62236310                # what "hidden" libraries, object files and flags are used when
    62246311                # linking a shared library.
    6225                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
     6312                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    62266313              else
    62276314                # g++ 2.7 appears to require `-G' NOT `-shared' on this
     
    62346321                # what "hidden" libraries, object files and flags are used when
    62356322                # linking a shared library.
    6236                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
     6323                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    62376324              fi
    62386325
     
    62886375            _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    62896376            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6377            _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
     6378              '"$_LT_TAGVAR(old_archive_cmds, $1)"
     6379            _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
     6380              '"$_LT_TAGVAR(reload_cmds, $1)"
    62906381            ;;
    62916382          *)
     
    65346625solaris*)
    65356626  case $cc_basename in
    6536   CC*)
     6627  CC* | sunCC*)
    65376628    # The more standards-conforming stlport4 library is
    65386629    # incompatible with the Cstd library. Avoid specifying
     
    65786669
    65796670
    6580 # _LT_PROG_F77
    6581 # ------------
    6582 # Since AC_PROG_F77 is broken, in that it returns the empty string
    6583 # if there is no fortran compiler, we have our own version here.
    6584 m4_defun([_LT_PROG_F77],
    6585 [
    6586 pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
    6587 AC_PROG_F77
    6588 if test -z "$F77" || test "X$F77" = "Xno"; then
    6589   _lt_disable_F77=yes
    6590 fi
    6591 popdef([AC_MSG_ERROR])
    6592 ])# _LT_PROG_F77
    6593 
    6594 dnl aclocal-1.4 backwards compatibility:
    6595 dnl AC_DEFUN([_LT_PROG_F77], [])
    6596 
    6597 
    65986671# _LT_LANG_F77_CONFIG([TAG])
    65996672# --------------------------
     
    66026675# to write the compiler configuration to `libtool'.
    66036676m4_defun([_LT_LANG_F77_CONFIG],
    6604 [AC_REQUIRE([_LT_PROG_F77])dnl
    6605 AC_LANG_PUSH(Fortran 77)
     6677[AC_LANG_PUSH(Fortran 77)
     6678if test -z "$F77" || test "X$F77" = "Xno"; then
     6679  _lt_disable_F77=yes
     6680fi
    66066681
    66076682_LT_TAGVAR(archive_cmds_need_lc, $1)=no
     
    66226697_LT_TAGVAR(link_all_deplibs, $1)=unknown
    66236698_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
     6699_LT_TAGVAR(reload_flag, $1)=$reload_flag
     6700_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
    66246701_LT_TAGVAR(no_undefined_flag, $1)=
    66256702_LT_TAGVAR(whole_archive_flag_spec, $1)=
     
    67216798
    67226799
    6723 # _LT_PROG_FC
    6724 # -----------
    6725 # Since AC_PROG_FC is broken, in that it returns the empty string
    6726 # if there is no fortran compiler, we have our own version here.
    6727 m4_defun([_LT_PROG_FC],
    6728 [
    6729 pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
    6730 AC_PROG_FC
    6731 if test -z "$FC" || test "X$FC" = "Xno"; then
    6732   _lt_disable_FC=yes
    6733 fi
    6734 popdef([AC_MSG_ERROR])
    6735 ])# _LT_PROG_FC
    6736 
    6737 dnl aclocal-1.4 backwards compatibility:
    6738 dnl AC_DEFUN([_LT_PROG_FC], [])
    6739 
    6740 
    67416800# _LT_LANG_FC_CONFIG([TAG])
    67426801# -------------------------
     
    67456804# to write the compiler configuration to `libtool'.
    67466805m4_defun([_LT_LANG_FC_CONFIG],
    6747 [AC_REQUIRE([_LT_PROG_FC])dnl
    6748 AC_LANG_PUSH(Fortran)
     6806[AC_LANG_PUSH(Fortran)
     6807
     6808if test -z "$FC" || test "X$FC" = "Xno"; then
     6809  _lt_disable_FC=yes
     6810fi
    67496811
    67506812_LT_TAGVAR(archive_cmds_need_lc, $1)=no
     
    67656827_LT_TAGVAR(link_all_deplibs, $1)=unknown
    67666828_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
     6829_LT_TAGVAR(reload_flag, $1)=$reload_flag
     6830_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
    67676831_LT_TAGVAR(no_undefined_flag, $1)=
    67686832_LT_TAGVAR(whole_archive_flag_spec, $1)=
     
    69106974
    69116975_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
     6976_LT_TAGVAR(reload_flag, $1)=$reload_flag
     6977_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
    69126978
    69136979## CAVEAT EMPTOR:
     
    72777343{
    72787344  # Extract subdirectory from the argument.
    7279   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
     7345  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
    72807346  if test "X$func_dirname_result" = "X${1}"; then
    72817347    func_dirname_result="${3}"
     
    72887354func_basename ()
    72897355{
    7290   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
     7356  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
    72917357}
    72927358
     
    73047370{
    73057371  case ${2} in
    7306     .*) func_stripname_result=`$ECHO "X${3}" \
    7307            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
    7308     *)  func_stripname_result=`$ECHO "X${3}" \
    7309            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
     7372    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
     7373    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
    73107374  esac
    73117375}
     
    73187382func_opt_split ()
    73197383{
    7320   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
    7321   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
     7384  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
     7385  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
    73227386}
    73237387
     
    73257389func_lo2o ()
    73267390{
    7327   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
     7391  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
    73287392}
    73297393
     
    73317395func_xform ()
    73327396{
    7333   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
     7397  func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
    73347398}
    73357399
  • m4/ltoptions.m4

    r17eb1a1 r180e49f  
    11# Helper functions for option handling.                    -*- Autoconf -*-
    22#
    3 #   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
     3#   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
     4#   Inc.
    45#   Written by Gary V. Vaughan, 2004
    56#
     
    89# modifications, as long as this notice is preserved.
    910
    10 # serial 6 ltoptions.m4
     11# serial 7 ltoptions.m4
    1112
    1213# This is to help aclocal find these macros, as it can't see m4_define.
     
    126127
    127128case $host in
    128 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
     129*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
    129130  AC_CHECK_TOOL(AS, as, false)
    130131  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
     
    134135
    135136test -z "$AS" && AS=as
    136 _LT_DECL([], [AS],      [0], [Assembler program])dnl
     137_LT_DECL([], [AS],      [1], [Assembler program])dnl
    137138
    138139test -z "$DLLTOOL" && DLLTOOL=dlltool
    139 _LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
     140_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
    140141
    141142test -z "$OBJDUMP" && OBJDUMP=objdump
    142 _LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
     143_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
    143144])# win32-dll
    144145
  • m4/ltversion.m4

    r17eb1a1 r180e49f  
    1010# Generated from ltversion.in.
    1111
    12 # serial 3017 ltversion.m4
     12# serial 3175 ltversion.m4
    1313# This file is part of GNU Libtool
    1414
    15 m4_define([LT_PACKAGE_VERSION], [2.2.6b])
    16 m4_define([LT_PACKAGE_REVISION], [1.3017])
     15m4_define([LT_PACKAGE_VERSION], [2.2.10])
     16m4_define([LT_PACKAGE_REVISION], [1.3175])
    1717
    1818AC_DEFUN([LTVERSION_VERSION],
    19 [macro_version='2.2.6b'
    20 macro_revision='1.3017'
     19[macro_version='2.2.10'
     20macro_revision='1.3175'
    2121_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
    2222_LT_DECL(, macro_revision, 0)
  • m4/lt~obsolete.m4

    r17eb1a1 r180e49f  
    11# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
    22#
    3 #   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
     3#   Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
    44#   Written by Scott James Remnant, 2004.
    55#
     
    88# modifications, as long as this notice is preserved.
    99
    10 # serial 4 lt~obsolete.m4
     10# serial 5 lt~obsolete.m4
    1111
    1212# These exist entirely to fool aclocal when bootstrapping libtool.
     
    7878m4_ifndef([_LT_AC_LANG_F77],            [AC_DEFUN([_LT_AC_LANG_F77])])
    7979m4_ifndef([_LT_AC_LANG_GCJ],            [AC_DEFUN([_LT_AC_LANG_GCJ])])
    80 m4_ifndef([AC_LIBTOOL_RC],              [AC_DEFUN([AC_LIBTOOL_RC])])
    8180m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],   [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
    8281m4_ifndef([_LT_AC_LANG_C_CONFIG],       [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
     
    9190m4_ifndef([AC_LIBTOOL_CONFIG],          [AC_DEFUN([AC_LIBTOOL_CONFIG])])
    9291m4_ifndef([_LT_AC_FILE_LTDLL_C],        [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
     92m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
     93m4_ifndef([_LT_AC_PROG_CXXCPP],         [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
     94m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
     95m4_ifndef([_LT_PROG_ECHO_BACKSLASH],    [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
     96m4_ifndef([_LT_PROG_F77],               [AC_DEFUN([_LT_PROG_F77])])
     97m4_ifndef([_LT_PROG_FC],                [AC_DEFUN([_LT_PROG_FC])])
     98m4_ifndef([_LT_PROG_CXX],               [AC_DEFUN([_LT_PROG_CXX])])
Note: See TracChangeset for help on using the changeset viewer.