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

Initial release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • squid-ssl/trunk/fuentes/configure

    r5495 r5496  
    570570lt_ltdl_dir='libltdl'
    571571
    572 lt_dlopen_dir=$lt_ltdl_dir
     572lt_dlopen_dir="$lt_ltdl_dir"
    573573
    574574
     
    794794INSTALL_LTDL_FALSE
    795795INSTALL_LTDL_TRUE
    796 LT_ARGZ_H
     796ARGZ_H
    797797sys_symbol_underscore
    798798LIBADD_DL
     
    807807LIBLTDL
    808808top_build_prefix
    809 LT_SYS_LIBRARY_PATH
    810809OTOOL64
    811810OTOOL
     
    966965with_pic
    967966enable_fast_install
    968 with_aix_soname
    969967with_gnu_ld
    970968with_sysroot
     
    10721070CXXCPP
    10731071CPP
    1074 LT_SYS_LIBRARY_PATH
    10751072PKG_CONFIG
    10761073PKG_CONFIG_PATH
     
    19441941  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
    19451942                          both]
    1946   --with-aix-soname=aix|svr4|both
    1947                           shared library versioning (aka "SONAME") variant to
    1948                           provide on AIX, [default=aix].
    19491943  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    1950   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
    1951                           compiler's sysroot if not specified).
     1944  --with-sysroot=DIR Search for dependent libraries within DIR
     1945                        (or the compiler's sysroot if not specified).
    19521946  --with-included-ltdl    use the GNU ltdl sources included here
    19531947  --with-ltdl-include=DIR use the ltdl headers installed in DIR
     
    20262020  CXXCPP      C++ preprocessor
    20272021  CPP         C preprocessor
    2028   LT_SYS_LIBRARY_PATH
    2029               User-defined run-time library search path.
    20302022  PKG_CONFIG  path to pkg-config utility
    20312023  PKG_CONFIG_PATH
     
    80298021      enable_shared=no
    80308022      # Look at the argument we got.  We use all the common list separators.
    8031       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     8023      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    80328024      for pkg in $enableval; do
    8033         IFS=$lt_save_ifs
     8025        IFS="$lt_save_ifs"
    80348026        if test "X$pkg" = "X$p"; then
    80358027          enable_shared=yes
    80368028        fi
    80378029      done
    8038       IFS=$lt_save_ifs
     8030      IFS="$lt_save_ifs"
    80398031      ;;
    80408032    esac
     
    80618053      enable_shared=no
    80628054      # Look at the argument we got.  We use all the common list separators.
    8063       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     8055      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    80648056      for pkg in $enableval; do
    8065         IFS=$lt_save_ifs
     8057        IFS="$lt_save_ifs"
    80668058        if test "X$pkg" = "X$p"; then
    80678059          enable_shared=yes
    80688060        fi
    80698061      done
    8070       IFS=$lt_save_ifs
     8062      IFS="$lt_save_ifs"
    80718063      ;;
    80728064    esac
     
    80928084
    80938085
    8094 macro_version='2.4.6'
    8095 macro_revision='2.4.6'
    8096 
    8097 
    8098 
    8099 
    8100 
    8101 
    8102 
    8103 
    8104 
    8105 
    8106 
    8107 
    8108 
    8109 ltmain=$ac_aux_dir/ltmain.sh
     8086macro_version='2.4.2'
     8087macro_revision='1.3337'
     8088
     8089
     8090
     8091
     8092
     8093
     8094
     8095
     8096
     8097
     8098
     8099
     8100
     8101ltmain="$ac_aux_dir/ltmain.sh"
    81108102
    81118103# Backslashify metacharacters that are still active within
     
    81568148}
    81578149
    8158 case $ECHO in
     8150case "$ECHO" in
    81598151  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
    81608152$as_echo "printf" >&6; } ;;
     
    83498341# Check whether --with-gnu-ld was given.
    83508342if test "${with_gnu_ld+set}" = set; then :
    8351   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
     8343  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
    83528344else
    83538345  with_gnu_ld=no
     
    83558347
    83568348ac_prog=ld
    8357 if test yes = "$GCC"; then
     8349if test "$GCC" = yes; then
    83588350  # Check if gcc -print-prog-name=ld gives a path.
    83598351  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     
    83618353  case $host in
    83628354  *-*-mingw*)
    8363     # gcc leaves a trailing carriage return, which upsets mingw
     8355    # gcc leaves a trailing carriage return which upsets mingw
    83648356    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    83658357  *)
     
    83758367        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    83768368      done
    8377       test -z "$LD" && LD=$ac_prog
     8369      test -z "$LD" && LD="$ac_prog"
    83788370      ;;
    83798371  "")
     
    83868378    ;;
    83878379  esac
    8388 elif test yes = "$with_gnu_ld"; then
     8380elif test "$with_gnu_ld" = yes; then
    83898381  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
    83908382$as_echo_n "checking for GNU ld... " >&6; }
     
    83978389else
    83988390  if test -z "$LD"; then
    8399   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     8391  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    84008392  for ac_dir in $PATH; do
    8401     IFS=$lt_save_ifs
     8393    IFS="$lt_save_ifs"
    84028394    test -z "$ac_dir" && ac_dir=.
    84038395    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    8404       lt_cv_path_LD=$ac_dir/$ac_prog
     8396      lt_cv_path_LD="$ac_dir/$ac_prog"
    84058397      # Check to see if the program is GNU ld.  I'd rather use --version,
    84068398      # but apparently some variants of GNU ld only accept -v.
     
    84088400      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    84098401      *GNU* | *'with BFD'*)
    8410         test no != "$with_gnu_ld" && break
     8402        test "$with_gnu_ld" != no && break
    84118403        ;;
    84128404      *)
    8413         test yes != "$with_gnu_ld" && break
     8405        test "$with_gnu_ld" != yes && break
    84148406        ;;
    84158407      esac
    84168408    fi
    84178409  done
    8418   IFS=$lt_save_ifs
    8419 else
    8420   lt_cv_path_LD=$LD # Let the user override the test with a path.
    8421 fi
    8422 fi
    8423 
    8424 LD=$lt_cv_path_LD
     8410  IFS="$lt_save_ifs"
     8411else
     8412  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     8413fi
     8414fi
     8415
     8416LD="$lt_cv_path_LD"
    84258417if test -n "$LD"; then
    84268418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     
    84658457  if test -n "$NM"; then
    84668458  # Let the user override the test.
    8467   lt_cv_path_NM=$NM
    8468 else
    8469   lt_nm_to_check=${ac_tool_prefix}nm
     8459  lt_cv_path_NM="$NM"
     8460else
     8461  lt_nm_to_check="${ac_tool_prefix}nm"
    84708462  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
    84718463    lt_nm_to_check="$lt_nm_to_check nm"
    84728464  fi
    84738465  for lt_tmp_nm in $lt_nm_to_check; do
    8474     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     8466    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    84758467    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
    8476       IFS=$lt_save_ifs
     8468      IFS="$lt_save_ifs"
    84778469      test -z "$ac_dir" && ac_dir=.
    8478       tmp_nm=$ac_dir/$lt_tmp_nm
    8479       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
     8470      tmp_nm="$ac_dir/$lt_tmp_nm"
     8471      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
    84808472        # Check to see if the nm accepts a BSD-compat flag.
    8481         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
     8473        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
    84828474        #   nm: unknown option "B" ignored
    84838475        # Tru64's nm complains that /dev/null is an invalid object file
    8484         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
    8485         case $build_os in
    8486         mingw*) lt_bad_file=conftest.nm/nofile ;;
    8487         *) lt_bad_file=/dev/null ;;
    8488         esac
    8489         case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
    8490         *$lt_bad_file* | *'Invalid file or object type'*)
     8476        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
     8477        */dev/null* | *'Invalid file or object type'*)
    84918478          lt_cv_path_NM="$tmp_nm -B"
    8492           break 2
     8479          break
    84938480          ;;
    84948481        *)
     
    84968483          */dev/null*)
    84978484            lt_cv_path_NM="$tmp_nm -p"
    8498             break 2
     8485            break
    84998486            ;;
    85008487          *)
     
    85078494      fi
    85088495    done
    8509     IFS=$lt_save_ifs
     8496    IFS="$lt_save_ifs"
    85108497  done
    85118498  : ${lt_cv_path_NM=no}
     
    85148501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
    85158502$as_echo "$lt_cv_path_NM" >&6; }
    8516 if test no != "$lt_cv_path_NM"; then
    8517   NM=$lt_cv_path_NM
     8503if test "$lt_cv_path_NM" != "no"; then
     8504  NM="$lt_cv_path_NM"
    85188505else
    85198506  # Didn't find any BSD compatible name lister, look for dumpbin.
     
    86218608fi
    86228609
    8623     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
     8610    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
    86248611    *COFF*)
    8625       DUMPBIN="$DUMPBIN -symbols -headers"
     8612      DUMPBIN="$DUMPBIN -symbols"
    86268613      ;;
    86278614    *)
     
    86318618  fi
    86328619
    8633   if test : != "$DUMPBIN"; then
    8634     NM=$DUMPBIN
     8620  if test "$DUMPBIN" != ":"; then
     8621    NM="$DUMPBIN"
    86358622  fi
    86368623fi
     
    86728659else
    86738660    i=0
    8674   teststring=ABCD
     8661  teststring="ABCD"
    86758662
    86768663  case $build_os in
     
    87128699    ;;
    87138700
    8714   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
     8701  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
    87158702    # This has been around since 386BSD, at least.  Likely further.
    87168703    if test -x /sbin/sysctl; then
     
    87638750    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
    87648751    if test -n "$lt_cv_sys_max_cmd_len" && \
    8765        test undefined != "$lt_cv_sys_max_cmd_len"; then
     8752        test undefined != "$lt_cv_sys_max_cmd_len"; then
    87668753      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    87678754      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     
    87698756      # Make teststring a little bigger before we do anything with it.
    87708757      # a 1K string should be a reasonable start.
    8771       for i in 1 2 3 4 5 6 7 8; do
     8758      for i in 1 2 3 4 5 6 7 8 ; do
    87728759        teststring=$teststring$teststring
    87738760      done
     
    87768763      # maximum length that is only half of the actual maximum length, but
    87778764      # we can't tell.
    8778       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
     8765      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
    87798766                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
    8780               test 17 != "$i" # 1/2 MB should be enough
     8767              test $i != 17 # 1/2 MB should be enough
    87818768      do
    87828769        i=`expr $i + 1`
     
    87968783fi
    87978784
    8798 if test -n "$lt_cv_sys_max_cmd_len"; then
     8785if test -n $lt_cv_sys_max_cmd_len ; then
    87998786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
    88008787$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
     
    88138800: ${MV="mv -f"}
    88148801: ${RM="rm -f"}
     8802
     8803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
     8804$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
     8805# Try some XSI features
     8806xsi_shell=no
     8807( _lt_dummy="a/b/c"
     8808  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
     8809      = c,a/b,b/c, \
     8810    && eval 'test $(( 1 + 1 )) -eq 2 \
     8811    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
     8812  && xsi_shell=yes
     8813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
     8814$as_echo "$xsi_shell" >&6; }
     8815
     8816
     8817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
     8818$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
     8819lt_shell_append=no
     8820( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
     8821    >/dev/null 2>&1 \
     8822  && lt_shell_append=yes
     8823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
     8824$as_echo "$lt_shell_append" >&6; }
     8825
    88158826
    88168827if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     
    89368947case $host_os in
    89378948  cygwin* | mingw* | pw32* | cegcc*)
    8938     if test yes != "$GCC"; then
     8949    if test "$GCC" != yes; then
    89398950      reload_cmds=false
    89408951    fi
    89418952    ;;
    89428953  darwin*)
    8943     if test yes = "$GCC"; then
    8944       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
     8954    if test "$GCC" = yes; then
     8955      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
    89458956    else
    89468957      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     
    90709081# interlibrary dependencies.
    90719082# 'none' -- dependencies not supported.
    9072 # 'unknown' -- same as none, but documents that we really don't know.
     9083# `unknown' -- same as none, but documents that we really don't know.
    90739084# 'pass_all' -- all dependencies passed with no checks.
    90749085# 'test_compile' -- check by making test program.
    90759086# 'file_magic [[regex]]' -- check by looking for files in library path
    9076 # that responds to the $file_magic_cmd with a given extended regex.
    9077 # If you have 'file' or equivalent on your system and you're not sure
    9078 # whether 'pass_all' will *always* work, you probably want this one.
     9087# which responds to the $file_magic_cmd with a given extended regex.
     9088# If you have `file' or equivalent on your system and you're not sure
     9089# whether `pass_all' will *always* work, you probably want this one.
    90799090
    90809091case $host_os in
     
    91039114  # func_win32_libid shell function, so use a weaker test based on 'objdump',
    91049115  # unless we find 'file', for example because we are cross-compiling.
    9105   if ( file / ) >/dev/null 2>&1; then
     9116  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
     9117  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
    91069118    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    91079119    lt_cv_file_magic_cmd='func_win32_libid'
     
    91999211  ;;
    92009212
    9201 openbsd* | bitrig*)
    9202   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     9213openbsd*)
     9214  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    92039215    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
    92049216  else
     
    92539265  lt_cv_deplibs_check_method=pass_all
    92549266  ;;
    9255 os2*)
    9256   lt_cv_deplibs_check_method=pass_all
    9257   ;;
    92589267esac
    92599268
     
    94139422case $host_os in
    94149423cygwin* | mingw* | pw32* | cegcc*)
    9415   # two different shell functions defined in ltmain.sh;
    9416   # decide which one to use based on capabilities of $DLLTOOL
     9424  # two different shell functions defined in ltmain.sh
     9425  # decide which to use based on capabilities of $DLLTOOL
    94179426  case `$DLLTOOL --help 2>&1` in
    94189427  *--identify-strict*)
     
    94269435*)
    94279436  # fallback: assume linklib IS sharedlib
    9428   lt_cv_sharedlib_from_linklib_cmd=$ECHO
     9437  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
    94299438  ;;
    94309439esac
     
    95809589  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    95819590  test $ac_status = 0; }
    9582       if test 0 -eq "$ac_status"; then
     9591      if test "$ac_status" -eq 0; then
    95839592        # Ensure the archiver fails upon bogus file names.
    95849593        rm -f conftest.$ac_objext libconftest.a
     
    95889597  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    95899598  test $ac_status = 0; }
    9590         if test 0 -ne "$ac_status"; then
     9599        if test "$ac_status" -ne 0; then
    95919600          lt_cv_ar_at_file=@
    95929601        fi
     
    96019610$as_echo "$lt_cv_ar_at_file" >&6; }
    96029611
    9603 if test no = "$lt_cv_ar_at_file"; then
     9612if test "x$lt_cv_ar_at_file" = xno; then
    96049613  archiver_list_spec=
    96059614else
     
    98189827if test -n "$RANLIB"; then
    98199828  case $host_os in
    9820   bitrig* | openbsd*)
     9829  openbsd*)
    98219830    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
    98229831    ;;
     
    99089917  ;;
    99099918hpux*)
    9910   if test ia64 = "$host_cpu"; then
     9919  if test "$host_cpu" = ia64; then
    99119920    symcode='[ABCDEGRST]'
    99129921  fi
     
    99419950esac
    99429951
    9943 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    9944   # Gets list of data symbols to import.
    9945   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
    9946   # Adjust the below global symbol transforms to fixup imported variables.
    9947   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
    9948   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
    9949   lt_c_name_lib_hook="\
    9950   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
    9951   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
    9952 else
    9953   # Disable hooks by default.
    9954   lt_cv_sys_global_symbol_to_import=
    9955   lt_cdecl_hook=
    9956   lt_c_name_hook=
    9957   lt_c_name_lib_hook=
    9958 fi
    9959 
    99609952# Transform an extracted symbol line into a proper C declaration.
    99619953# Some systems (esp. on ia64) link data and code symbols differently,
    99629954# so use this general approach.
    9963 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
    9964 $lt_cdecl_hook\
    9965 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
    9966 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
     9955lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
    99679956
    99689957# Transform an extracted symbol line into symbol name and symbol address
    9969 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
    9970 $lt_c_name_hook\
    9971 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
    9972 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
    9973 
    9974 # Transform an extracted symbol line into symbol name with lib prefix and
    9975 # symbol address.
    9976 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
    9977 $lt_c_name_lib_hook\
    9978 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
    9979 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
    9980 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
     9958lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
     9959lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
    99819960
    99829961# Handle CRLF in mingw tool chain
     
    99969975  # Write the raw and C identifiers.
    99979976  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    9998     # Fake it for dumpbin and say T for any non-static function,
    9999     # D for any global variable and I for any imported variable.
     9977    # Fake it for dumpbin and say T for any non-static function
     9978    # and D for any global variable.
    100009979    # Also find C++ and __fastcall symbols from MSVC++,
    100019980    # which start with @ or ?.
     
    100049983"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
    100059984"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
    10006 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
    10007 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
    10008 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
    100099985"     \$ 0!~/External *\|/{next};"\
    100109986"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
    100119987"     {if(hide[section]) next};"\
    10012 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
    10013 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
    10014 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
    10015 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
     9988"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
     9989"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
     9990"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
     9991"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
    100169992"     ' prfx=^$ac_symprfx"
    100179993  else
     
    1006110037          cat <<_LT_EOF > conftest.$ac_ext
    1006210038/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
    10063 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
    10064 /* DATA imports from DLLs on WIN32 can't be const, because runtime
     10039#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
     10040/* DATA imports from DLLs on WIN32 con't be const, because runtime
    1006510041   relocations are performed -- see ld's documentation on pseudo-relocs.  */
    1006610042# define LT_DLSYM_CONST
    10067 #elif defined __osf__
     10043#elif defined(__osf__)
    1006810044/* This system does not cope well with relocations in const data.  */
    1006910045# define LT_DLSYM_CONST
     
    1009110067  { "@PROGRAM@", (void *) 0 },
    1009210068_LT_EOF
    10093           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     10069          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
    1009410070          cat <<\_LT_EOF >> conftest.$ac_ext
    1009510071  {0, (void *) 0}
     
    1011110087          lt_globsym_save_LIBS=$LIBS
    1011210088          lt_globsym_save_CFLAGS=$CFLAGS
    10113           LIBS=conftstm.$ac_objext
     10089          LIBS="conftstm.$ac_objext"
    1011410090          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
    1011510091          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
     
    1011710093  ac_status=$?
    1011810094  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    10119   test $ac_status = 0; } && test -s conftest$ac_exeext; then
     10095  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
    1012010096            pipe_works=yes
    1012110097          fi
     
    1013810114
    1013910115  # Do not use the global_symbol_pipe unless it works.
    10140   if test yes = "$pipe_works"; then
     10116  if test "$pipe_works" = yes; then
    1014110117    break
    1014210118  else
     
    1019110167
    1019210168
    10193 
    10194 
    10195 
    10196 
    10197 
    10198 
    10199 
    10200 
    10201 
    10202 
    1020310169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
    1020410170$as_echo_n "checking for sysroot... " >&6; }
     
    1021310179
    1021410180lt_sysroot=
    10215 case $with_sysroot in #(
     10181case ${with_sysroot} in #(
    1021610182 yes)
    10217    if test yes = "$GCC"; then
     10183   if test "$GCC" = yes; then
    1021810184     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
    1021910185   fi
     
    1022510191   ;; #(
    1022610192 *)
    10227    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
    10228 $as_echo "$with_sysroot" >&6; }
     10193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
     10194$as_echo "${with_sysroot}" >&6; }
    1022910195   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
    1023010196   ;;
     
    1023810204
    1023910205
    10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
    10241 $as_echo_n "checking for a working dd... " >&6; }
    10242 if ${ac_cv_path_lt_DD+:} false; then :
    10243   $as_echo_n "(cached) " >&6
    10244 else
    10245   printf 0123456789abcdef0123456789abcdef >conftest.i
    10246 cat conftest.i conftest.i >conftest2.i
    10247 : ${lt_DD:=$DD}
    10248 if test -z "$lt_DD"; then
    10249   ac_path_lt_DD_found=false
    10250   # Loop through the user's path and test for each of PROGNAME-LIST
    10251   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    10252 for as_dir in $PATH
    10253 do
    10254   IFS=$as_save_IFS
    10255   test -z "$as_dir" && as_dir=.
    10256     for ac_prog in dd; do
    10257     for ac_exec_ext in '' $ac_executable_extensions; do
    10258       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
    10259       as_fn_executable_p "$ac_path_lt_DD" || continue
    10260 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
    10261   cmp -s conftest.i conftest.out \
    10262   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
    10263 fi
    10264       $ac_path_lt_DD_found && break 3
    10265     done
    10266   done
    10267   done
    10268 IFS=$as_save_IFS
    10269   if test -z "$ac_cv_path_lt_DD"; then
    10270     :
    10271   fi
    10272 else
    10273   ac_cv_path_lt_DD=$lt_DD
    10274 fi
    10275 
    10276 rm -f conftest.i conftest2.i conftest.out
    10277 fi
    10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
    10279 $as_echo "$ac_cv_path_lt_DD" >&6; }
    10280 
    10281 
    10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
    10283 $as_echo_n "checking how to truncate binary pipes... " >&6; }
    10284 if ${lt_cv_truncate_bin+:} false; then :
    10285   $as_echo_n "(cached) " >&6
    10286 else
    10287   printf 0123456789abcdef0123456789abcdef >conftest.i
    10288 cat conftest.i conftest.i >conftest2.i
    10289 lt_cv_truncate_bin=
    10290 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
    10291   cmp -s conftest.i conftest.out \
    10292   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
    10293 fi
    10294 rm -f conftest.i conftest2.i conftest.out
    10295 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
    10296 fi
    10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
    10298 $as_echo "$lt_cv_truncate_bin" >&6; }
    10299 
    10300 
    10301 
    10302 
    10303 
    10304 
    10305 
    10306 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
    10307 func_cc_basename ()
    10308 {
    10309     for cc_temp in $*""; do
    10310       case $cc_temp in
    10311         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    10312         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    10313         \-*) ;;
    10314         *) break;;
    10315       esac
    10316     done
    10317     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    10318 }
    10319 
    1032010206
    1032110207# Check whether --enable-libtool-lock was given.
     
    1032410210fi
    1032510211
    10326 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
     10212test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
    1032710213
    1032810214# Some flags need to be propagated to the compiler or linker for good
     
    1033010216case $host in
    1033110217ia64-*-hpux*)
    10332   # Find out what ABI is being produced by ac_compile, and set mode
    10333   # options accordingly.
     10218  # Find out which ABI we are using.
    1033410219  echo 'int i;' > conftest.$ac_ext
    1033510220  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    1034010225    case `/usr/bin/file conftest.$ac_objext` in
    1034110226      *ELF-32*)
    10342         HPUX_IA64_MODE=32
     10227        HPUX_IA64_MODE="32"
    1034310228        ;;
    1034410229      *ELF-64*)
    10345         HPUX_IA64_MODE=64
     10230        HPUX_IA64_MODE="64"
    1034610231        ;;
    1034710232    esac
     
    1035010235  ;;
    1035110236*-*-irix6*)
    10352   # Find out what ABI is being produced by ac_compile, and set linker
    10353   # options accordingly.
     10237  # Find out which ABI we are using.
    1035410238  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
    1035510239  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    1035810242  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1035910243  test $ac_status = 0; }; then
    10360     if test yes = "$lt_cv_prog_gnu_ld"; then
     10244    if test "$lt_cv_prog_gnu_ld" = yes; then
    1036110245      case `/usr/bin/file conftest.$ac_objext` in
    1036210246        *32-bit*)
     
    1038710271  ;;
    1038810272
    10389 mips64*-*linux*)
    10390   # Find out what ABI is being produced by ac_compile, and set linker
    10391   # options accordingly.
    10392   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
    10393   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    10394   (eval $ac_compile) 2>&5
    10395   ac_status=$?
    10396   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    10397   test $ac_status = 0; }; then
    10398     emul=elf
    10399     case `/usr/bin/file conftest.$ac_objext` in
    10400       *32-bit*)
    10401         emul="${emul}32"
    10402         ;;
    10403       *64-bit*)
    10404         emul="${emul}64"
    10405         ;;
    10406     esac
    10407     case `/usr/bin/file conftest.$ac_objext` in
    10408       *MSB*)
    10409         emul="${emul}btsmip"
    10410         ;;
    10411       *LSB*)
    10412         emul="${emul}ltsmip"
    10413         ;;
    10414     esac
    10415     case `/usr/bin/file conftest.$ac_objext` in
    10416       *N32*)
    10417         emul="${emul}n32"
    10418         ;;
    10419     esac
    10420     LD="${LD-ld} -m $emul"
    10421   fi
    10422   rm -rf conftest*
    10423   ;;
    10424 
    1042510273x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
    1042610274s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
    10427   # Find out what ABI is being produced by ac_compile, and set linker
    10428   # options accordingly.  Note that the listed cases only cover the
    10429   # situations where additional linker options are needed (such as when
    10430   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
    10431   # vice versa); the common cases where no linker options are needed do
    10432   # not appear in the list.
     10275  # Find out which ABI we are using.
    1043310276  echo 'int i;' > conftest.$ac_ext
    1043410277  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    1045310296            esac
    1045410297            ;;
    10455           powerpc64le-*linux*)
     10298          powerpc64le-*)
    1045610299            LD="${LD-ld} -m elf32lppclinux"
    1045710300            ;;
    10458           powerpc64-*linux*)
     10301          powerpc64-*)
    1045910302            LD="${LD-ld} -m elf32ppclinux"
    1046010303            ;;
     
    1047510318            LD="${LD-ld} -m elf_x86_64"
    1047610319            ;;
    10477           powerpcle-*linux*)
     10320          powerpcle-*)
    1047810321            LD="${LD-ld} -m elf64lppc"
    1047910322            ;;
    10480           powerpc-*linux*)
     10323          powerpc-*)
    1048110324            LD="${LD-ld} -m elf64ppc"
    1048210325            ;;
     
    1049610339*-*-sco3.2v5*)
    1049710340  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    10498   SAVE_CFLAGS=$CFLAGS
     10341  SAVE_CFLAGS="$CFLAGS"
    1049910342  CFLAGS="$CFLAGS -belf"
    1050010343  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
     
    1053610379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
    1053710380$as_echo "$lt_cv_cc_needs_belf" >&6; }
    10538   if test yes != "$lt_cv_cc_needs_belf"; then
     10381  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    1053910382    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    10540     CFLAGS=$SAVE_CFLAGS
     10383    CFLAGS="$SAVE_CFLAGS"
    1054110384  fi
    1054210385  ;;
    1054310386*-*solaris*)
    10544   # Find out what ABI is being produced by ac_compile, and set linker
    10545   # options accordingly.
     10387  # Find out which ABI we are using.
    1054610388  echo 'int i;' > conftest.$ac_ext
    1054710389  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    1055510397      yes*)
    1055610398        case $host in
    10557         i?86-*-solaris*|x86_64-*-solaris*)
     10399        i?86-*-solaris*)
    1055810400          LD="${LD-ld} -m elf_x86_64"
    1055910401          ;;
     
    1056410406        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
    1056510407        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
    10566           LD=${LD-ld}_sol2
     10408          LD="${LD-ld}_sol2"
    1056710409        fi
    1056810410        ;;
     
    1058010422esac
    1058110423
    10582 need_locks=$enable_libtool_lock
     10424need_locks="$enable_libtool_lock"
    1058310425
    1058410426if test -n "$ac_tool_prefix"; then
     
    1069110533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
    1069210534$as_echo "$lt_cv_path_mainfest_tool" >&6; }
    10693 if test yes != "$lt_cv_path_mainfest_tool"; then
     10535if test "x$lt_cv_path_mainfest_tool" != xyes; then
    1069410536  MANIFEST_TOOL=:
    1069510537fi
     
    1119411036else
    1119511037  lt_cv_apple_cc_single_mod=no
    11196       if test -z "$LT_MULTI_MODULE"; then
     11038      if test -z "${LT_MULTI_MODULE}"; then
    1119711039        # By default we will add the -single_module flag. You can override
    1119811040        # by either setting the environment variable LT_MULTI_MODULE
     
    1121211054        # Otherwise, if the output was created with a 0 exit code from
    1121311055        # the compiler, it worked.
    11214         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
     11056        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
    1121511057          lt_cv_apple_cc_single_mod=yes
    1121611058        else
     
    1125111093rm -f core conftest.err conftest.$ac_objext \
    1125211094    conftest$ac_exeext conftest.$ac_ext
    11253         LDFLAGS=$save_LDFLAGS
     11095        LDFLAGS="$save_LDFLAGS"
    1125411096
    1125511097fi
     
    1128011122      if test -s conftest.err && $GREP force_load conftest.err; then
    1128111123        cat conftest.err >&5
    11282       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
     11124      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
    1128311125        lt_cv_ld_force_load=yes
    1128411126      else
     
    1129311135    case $host_os in
    1129411136    rhapsody* | darwin1.[012])
    11295       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
     11137      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
    1129611138    darwin1.*)
    11297       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     11139      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
    1129811140    darwin*) # darwin 5.x on
    1129911141      # if running on 10.5 or later, the deployment target defaults
     
    1130211144      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
    1130311145        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
    11304           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    11305         10.[012][,.]*)
    11306           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     11146          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     11147        10.[012]*)
     11148          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
    1130711149        10.*)
    11308           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     11150          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
    1130911151      esac
    1131011152    ;;
    1131111153  esac
    11312     if test yes = "$lt_cv_apple_cc_single_mod"; then
     11154    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
    1131311155      _lt_dar_single_mod='$single_module'
    1131411156    fi
    11315     if test yes = "$lt_cv_ld_exported_symbols_list"; then
    11316       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
     11157    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
     11158      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
    1131711159    else
    11318       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
     11160      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
    1131911161    fi
    11320     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
     11162    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
    1132111163      _lt_dsymutil='~$DSYMUTIL $lib || :'
    1132211164    else
     
    1132511167    ;;
    1132611168  esac
    11327 
    11328 # func_munge_path_list VARIABLE PATH
    11329 # -----------------------------------
    11330 # VARIABLE is name of variable containing _space_ separated list of
    11331 # directories to be munged by the contents of PATH, which is string
    11332 # having a format:
    11333 # "DIR[:DIR]:"
    11334 #       string "DIR[ DIR]" will be prepended to VARIABLE
    11335 # ":DIR[:DIR]"
    11336 #       string "DIR[ DIR]" will be appended to VARIABLE
    11337 # "DIRP[:DIRP]::[DIRA:]DIRA"
    11338 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
    11339 #       "DIRA[ DIRA]" will be appended to VARIABLE
    11340 # "DIR[:DIR]"
    11341 #       VARIABLE will be replaced by "DIR[ DIR]"
    11342 func_munge_path_list ()
    11343 {
    11344     case x$2 in
    11345     x)
    11346         ;;
    11347     *:)
    11348         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
    11349         ;;
    11350     x:*)
    11351         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
    11352         ;;
    11353     *::*)
    11354         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
    11355         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
    11356         ;;
    11357     *)
    11358         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
    11359         ;;
    11360     esac
    11361 }
    1136211169
    1136311170for ac_header in dlfcn.h
     
    1137811185func_stripname_cnf ()
    1137911186{
    11380   case $2 in
    11381   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
    11382   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
     11187  case ${2} in
     11188  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
     11189  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
    1138311190  esac
    1138411191} # func_stripname_cnf
     
    1140711214     enable_static=no
    1140811215      # Look at the argument we got.  We use all the common list separators.
    11409       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     11216      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    1141011217      for pkg in $enableval; do
    11411         IFS=$lt_save_ifs
     11218        IFS="$lt_save_ifs"
    1141211219        if test "X$pkg" = "X$p"; then
    1141311220          enable_static=yes
    1141411221        fi
    1141511222      done
    11416       IFS=$lt_save_ifs
     11223      IFS="$lt_save_ifs"
    1141711224      ;;
    1141811225    esac
     
    1143811245      pic_mode=default
    1143911246      # Look at the argument we got.  We use all the common list separators.
    11440       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     11247      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    1144111248      for lt_pkg in $withval; do
    11442         IFS=$lt_save_ifs
     11249        IFS="$lt_save_ifs"
    1144311250        if test "X$lt_pkg" = "X$lt_p"; then
    1144411251          pic_mode=yes
    1144511252        fi
    1144611253      done
    11447       IFS=$lt_save_ifs
     11254      IFS="$lt_save_ifs"
    1144811255      ;;
    1144911256    esac
     
    1145211259fi
    1145311260
     11261
     11262test -z "$pic_mode" && pic_mode=default
    1145411263
    1145511264
     
    1146811277      enable_fast_install=no
    1146911278      # Look at the argument we got.  We use all the common list separators.
    11470       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     11279      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    1147111280      for pkg in $enableval; do
    11472         IFS=$lt_save_ifs
     11281        IFS="$lt_save_ifs"
    1147311282        if test "X$pkg" = "X$p"; then
    1147411283          enable_fast_install=yes
    1147511284        fi
    1147611285      done
    11477       IFS=$lt_save_ifs
     11286      IFS="$lt_save_ifs"
    1147811287      ;;
    1147911288    esac
     
    1148911298
    1149011299
    11491   shared_archive_member_spec=
    11492 case $host,$enable_shared in
    11493 power*-*-aix[5-9]*,yes)
    11494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
    11495 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
    11496 
    11497 # Check whether --with-aix-soname was given.
    11498 if test "${with_aix_soname+set}" = set; then :
    11499   withval=$with_aix_soname; case $withval in
    11500     aix|svr4|both)
    11501       ;;
    11502     *)
    11503       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
    11504       ;;
    11505     esac
    11506     lt_cv_with_aix_soname=$with_aix_soname
    11507 else
    11508   if ${lt_cv_with_aix_soname+:} false; then :
    11509   $as_echo_n "(cached) " >&6
    11510 else
    11511   lt_cv_with_aix_soname=aix
    11512 fi
    11513 
    11514     with_aix_soname=$lt_cv_with_aix_soname
    11515 fi
    11516 
    11517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
    11518 $as_echo "$with_aix_soname" >&6; }
    11519   if test aix != "$with_aix_soname"; then
    11520     # For the AIX way of multilib, we name the shared archive member
    11521     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
    11522     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
    11523     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
    11524     # the AIX toolchain works better with OBJECT_MODE set (default 32).
    11525     if test 64 = "${OBJECT_MODE-32}"; then
    11526       shared_archive_member_spec=shr_64
    11527     else
    11528       shared_archive_member_spec=shr
    11529     fi
    11530   fi
    11531   ;;
    11532 *)
    11533   with_aix_soname=aix
    11534   ;;
    11535 esac
    11536 
    11537 
    11538 
    11539 
    11540 
    11541 
    11542 
    1154311300
    1154411301
    1154511302
    1154611303# This can be used to rebuild libtool when needed
    11547 LIBTOOL_DEPS=$ltmain
     11304LIBTOOL_DEPS="$ltmain"
    1154811305
    1154911306# Always use our own libtool.
     
    1159411351
    1159511352
    11596 if test -n "${ZSH_VERSION+set}"; then
     11353if test -n "${ZSH_VERSION+set}" ; then
    1159711354   setopt NO_GLOB_SUBST
    1159811355fi
     
    1163311390  # reason, if we set the COLLECT_NAMES environment variable, the problems
    1163411391  # vanish in a puff of smoke.
    11635   if test set != "${COLLECT_NAMES+set}"; then
     11392  if test "X${COLLECT_NAMES+set}" != Xset; then
    1163611393    COLLECT_NAMES=
    1163711394    export COLLECT_NAMES
     
    1164411401can_build_shared=yes
    1164511402
    11646 # All known linkers require a '.a' archive for static linking (except MSVC,
     11403# All known linkers require a `.a' archive for static linking (except MSVC,
    1164711404# which needs '.lib').
    1164811405libext=a
    1164911406
    11650 with_gnu_ld=$lt_cv_prog_gnu_ld
    11651 
    11652 old_CC=$CC
    11653 old_CFLAGS=$CFLAGS
     11407with_gnu_ld="$lt_cv_prog_gnu_ld"
     11408
     11409old_CC="$CC"
     11410old_CFLAGS="$CFLAGS"
    1165411411
    1165511412# Set sane defaults for various variables
     
    1166011417test -z "$ac_objext" && ac_objext=o
    1166111418
    11662 func_cc_basename $compiler
    11663 cc_basename=$func_cc_basename_result
     11419for cc_temp in $compiler""; do
     11420  case $cc_temp in
     11421    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     11422    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     11423    \-*) ;;
     11424    *) break;;
     11425  esac
     11426done
     11427cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    1166411428
    1166511429
     
    1167611440  case $MAGIC_CMD in
    1167711441[\\/*] |  ?:[\\/]*)
    11678   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     11442  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
    1167911443  ;;
    1168011444*)
    11681   lt_save_MAGIC_CMD=$MAGIC_CMD
    11682   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     11445  lt_save_MAGIC_CMD="$MAGIC_CMD"
     11446  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    1168311447  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    1168411448  for ac_dir in $ac_dummy; do
    11685     IFS=$lt_save_ifs
     11449    IFS="$lt_save_ifs"
    1168611450    test -z "$ac_dir" && ac_dir=.
    11687     if test -f "$ac_dir/${ac_tool_prefix}file"; then
    11688       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
     11451    if test -f $ac_dir/${ac_tool_prefix}file; then
     11452      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    1168911453      if test -n "$file_magic_test_file"; then
    1169011454        case $deplibs_check_method in
    1169111455        "file_magic "*)
    1169211456          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    11693           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     11457          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    1169411458          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    1169511459            $EGREP "$file_magic_regex" > /dev/null; then
     
    1171411478    fi
    1171511479  done
    11716   IFS=$lt_save_ifs
    11717   MAGIC_CMD=$lt_save_MAGIC_CMD
     11480  IFS="$lt_save_ifs"
     11481  MAGIC_CMD="$lt_save_MAGIC_CMD"
    1171811482  ;;
    1171911483esac
    1172011484fi
    1172111485
    11722 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     11486MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    1172311487if test -n "$MAGIC_CMD"; then
    1172411488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     
    1174211506  case $MAGIC_CMD in
    1174311507[\\/*] |  ?:[\\/]*)
    11744   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     11508  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
    1174511509  ;;
    1174611510*)
    11747   lt_save_MAGIC_CMD=$MAGIC_CMD
    11748   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     11511  lt_save_MAGIC_CMD="$MAGIC_CMD"
     11512  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    1174911513  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    1175011514  for ac_dir in $ac_dummy; do
    11751     IFS=$lt_save_ifs
     11515    IFS="$lt_save_ifs"
    1175211516    test -z "$ac_dir" && ac_dir=.
    11753     if test -f "$ac_dir/file"; then
    11754       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
     11517    if test -f $ac_dir/file; then
     11518      lt_cv_path_MAGIC_CMD="$ac_dir/file"
    1175511519      if test -n "$file_magic_test_file"; then
    1175611520        case $deplibs_check_method in
    1175711521        "file_magic "*)
    1175811522          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    11759           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     11523          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    1176011524          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    1176111525            $EGREP "$file_magic_regex" > /dev/null; then
     
    1178011544    fi
    1178111545  done
    11782   IFS=$lt_save_ifs
    11783   MAGIC_CMD=$lt_save_MAGIC_CMD
     11546  IFS="$lt_save_ifs"
     11547  MAGIC_CMD="$lt_save_MAGIC_CMD"
    1178411548  ;;
    1178511549esac
    1178611550fi
    1178711551
    11788 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     11552MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    1178911553if test -n "$MAGIC_CMD"; then
    1179011554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     
    1180711571# Use C for the default configuration in the libtool script
    1180811572
    11809 lt_save_CC=$CC
     11573lt_save_CC="$CC"
    1181011574ac_ext=c
    1181111575ac_cpp='$CPP $CPPFLAGS'
     
    1186511629lt_prog_compiler_no_builtin_flag=
    1186611630
    11867 if test yes = "$GCC"; then
     11631if test "$GCC" = yes; then
    1186811632  case $cc_basename in
    1186911633  nvcc*)
     
    1188111645   ac_outfile=conftest.$ac_objext
    1188211646   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    11883    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
     11647   lt_compiler_flag="-fno-rtti -fno-exceptions"
    1188411648   # Insert the option either (1) after the last *FLAGS variable, or
    1188511649   # (2) before a word containing "conftest.", or (3) at the end.
     
    1191111675$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
    1191211676
    11913 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
     11677if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
    1191411678    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
    1191511679else
     
    1192911693
    1193011694
    11931   if test yes = "$GCC"; then
     11695  if test "$GCC" = yes; then
    1193211696    lt_prog_compiler_wl='-Wl,'
    1193311697    lt_prog_compiler_static='-static'
     
    1193611700      aix*)
    1193711701      # All AIX code is PIC.
    11938       if test ia64 = "$host_cpu"; then
     11702      if test "$host_cpu" = ia64; then
    1193911703        # AIX 5 now supports IA64 processor
    1194011704        lt_prog_compiler_static='-Bstatic'
    1194111705      fi
    11942       lt_prog_compiler_pic='-fPIC'
    1194311706      ;;
    1194411707
     
    1195111714      m68k)
    1195211715            # FIXME: we need at least 68020 code to build shared libraries, but
    11953             # adding the '-m68020' flag to GCC prevents building anything better,
    11954             # like '-m68040'.
     11716            # adding the `-m68020' flag to GCC prevents building anything better,
     11717            # like `-m68040'.
    1195511718            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
    1195611719        ;;
     
    1196811731      # (--disable-auto-import) libraries
    1196911732      lt_prog_compiler_pic='-DDLL_EXPORT'
    11970       case $host_os in
    11971       os2*)
    11972         lt_prog_compiler_static='$wl-static'
    11973         ;;
    11974       esac
    1197511733      ;;
    1197611734
     
    1204311801    aix*)
    1204411802      lt_prog_compiler_wl='-Wl,'
    12045       if test ia64 = "$host_cpu"; then
     11803      if test "$host_cpu" = ia64; then
    1204611804        # AIX 5 now supports IA64 processor
    1204711805        lt_prog_compiler_static='-Bstatic'
     
    1205111809      ;;
    1205211810
    12053     darwin* | rhapsody*)
    12054       # PIC is the default on this platform
    12055       # Common symbols not allowed in MH_DYLIB files
    12056       lt_prog_compiler_pic='-fno-common'
    12057       case $cc_basename in
    12058       nagfor*)
    12059         # NAG Fortran compiler
    12060         lt_prog_compiler_wl='-Wl,-Wl,,'
    12061         lt_prog_compiler_pic='-PIC'
    12062         lt_prog_compiler_static='-Bstatic'
    12063         ;;
    12064       esac
    12065       ;;
    12066 
    1206711811    mingw* | cygwin* | pw32* | os2* | cegcc*)
    1206811812      # This hack is so that the source file can tell whether it is being
    1206911813      # built for inclusion in a dll (and should export symbols for example).
    1207011814      lt_prog_compiler_pic='-DDLL_EXPORT'
    12071       case $host_os in
    12072       os2*)
    12073         lt_prog_compiler_static='$wl-static'
    12074         ;;
    12075       esac
    1207611815      ;;
    1207711816
     
    1208911828      esac
    1209011829      # Is there a better lt_prog_compiler_static that works with the bundled CC?
    12091       lt_prog_compiler_static='$wl-a ${wl}archive'
     11830      lt_prog_compiler_static='${wl}-a ${wl}archive'
    1209211831      ;;
    1209311832
     
    1210011839    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    1210111840      case $cc_basename in
    12102       # old Intel for x86_64, which still supported -KPIC.
     11841      # old Intel for x86_64 which still supported -KPIC.
    1210311842      ecc*)
    1210411843        lt_prog_compiler_wl='-Wl,'
     
    1212411863        lt_prog_compiler_pic='-PIC'
    1212511864        lt_prog_compiler_static='-Bstatic'
    12126         ;;
    12127       tcc*)
    12128         # Fabrice Bellard et al's Tiny C Compiler
    12129         lt_prog_compiler_wl='-Wl,'
    12130         lt_prog_compiler_pic='-fPIC'
    12131         lt_prog_compiler_static='-static'
    1213211865        ;;
    1213311866      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
     
    1222811961
    1222911962    sysv4*MP*)
    12230       if test -d /usr/nec; then
     11963      if test -d /usr/nec ;then
    1223111964        lt_prog_compiler_pic='-Kconform_pic'
    1223211965        lt_prog_compiler_static='-Bstatic'
     
    1225711990
    1225811991case $host_os in
    12259   # For platforms that do not support PIC, -DPIC is meaningless:
     11992  # For platforms which do not support PIC, -DPIC is meaningless:
    1226011993  *djgpp*)
    1226111994    lt_prog_compiler_pic=
     
    1228912022   ac_outfile=conftest.$ac_objext
    1229012023   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    12291    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
     12024   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
    1229212025   # Insert the option either (1) after the last *FLAGS variable, or
    1229312026   # (2) before a word containing "conftest.", or (3) at the end.
     
    1231912052$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
    1232012053
    12321 if test yes = "$lt_cv_prog_compiler_pic_works"; then
     12054if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
    1232212055    case $lt_prog_compiler_pic in
    1232312056     "" | " "*) ;;
     
    1235112084else
    1235212085  lt_cv_prog_compiler_static_works=no
    12353    save_LDFLAGS=$LDFLAGS
     12086   save_LDFLAGS="$LDFLAGS"
    1235412087   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    1235512088   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     
    1237012103   fi
    1237112104   $RM -r conftest*
    12372    LDFLAGS=$save_LDFLAGS
     12105   LDFLAGS="$save_LDFLAGS"
    1237312106
    1237412107fi
     
    1237612109$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
    1237712110
    12378 if test yes = "$lt_cv_prog_compiler_static_works"; then
     12111if test x"$lt_cv_prog_compiler_static_works" = xyes; then
    1237912112    :
    1238012113else
     
    1249612229
    1249712230
    12498 hard_links=nottested
    12499 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
     12231hard_links="nottested"
     12232if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
    1250012233  # do not overwrite the value of need_locks provided by the user
    1250112234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     
    1250912242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
    1251012243$as_echo "$hard_links" >&6; }
    12511   if test no = "$hard_links"; then
    12512     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
    12513 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
     12244  if test "$hard_links" = no; then
     12245    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
     12246$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
    1251412247    need_locks=warn
    1251512248  fi
     
    1255412287  include_expsyms=
    1255512288  # exclude_expsyms can be an extended regexp of symbols to exclude
    12556   # it will be wrapped by ' (' and ')$', so one must not match beginning or
    12557   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
    12558   # as well as any symbol that contains 'd'.
     12289  # it will be wrapped by ` (' and `)$', so one must not match beginning or
     12290  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
     12291  # as well as any symbol that contains `d'.
    1255912292  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    1256012293  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     
    1257112304    # When not using gcc, we currently assume that we are using
    1257212305    # Microsoft Visual C++.
    12573     if test yes != "$GCC"; then
     12306    if test "$GCC" != yes; then
    1257412307      with_gnu_ld=no
    1257512308    fi
     
    1257912312    with_gnu_ld=yes
    1258012313    ;;
    12581   openbsd* | bitrig*)
     12314  openbsd*)
    1258212315    with_gnu_ld=no
    1258312316    ;;
     
    1259212325  # that we're better off using the native interface for both.
    1259312326  lt_use_gnu_ld_interface=no
    12594   if test yes = "$with_gnu_ld"; then
     12327  if test "$with_gnu_ld" = yes; then
    1259512328    case $host_os in
    1259612329      aix*)
     
    1261412347  fi
    1261512348
    12616   if test yes = "$lt_use_gnu_ld_interface"; then
     12349  if test "$lt_use_gnu_ld_interface" = yes; then
    1261712350    # If archive_cmds runs LD, not CC, wlarc should be empty
    12618     wlarc='$wl'
     12351    wlarc='${wl}'
    1261912352
    1262012353    # Set some defaults for GNU ld with shared library support. These
     
    1262212355    # here allows them to be overridden if necessary.
    1262312356    runpath_var=LD_RUN_PATH
    12624     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    12625     export_dynamic_flag_spec='$wl--export-dynamic'
     12357    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     12358    export_dynamic_flag_spec='${wl}--export-dynamic'
    1262612359    # ancient GNU ld didn't support --whole-archive et. al.
    1262712360    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
    12628       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     12361      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    1262912362    else
    1263012363      whole_archive_flag_spec=
    1263112364    fi
    1263212365    supports_anon_versioning=no
    12633     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
     12366    case `$LD -v 2>&1` in
    1263412367      *GNU\ gold*) supports_anon_versioning=yes ;;
    1263512368      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
     
    1264412377    aix[3-9]*)
    1264512378      # On AIX/PPC, the GNU linker is very broken
    12646       if test ia64 != "$host_cpu"; then
     12379      if test "$host_cpu" != ia64; then
    1264712380        ld_shlibs=no
    1264812381        cat <<_LT_EOF 1>&2
     
    1266312396      powerpc)
    1266412397            # see comment about AmigaOS4 .so support
    12665             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     12398            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    1266612399            archive_expsym_cmds=''
    1266712400        ;;
     
    1267912412        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    1268012413        # support --undefined.  This deserves some investigation.  FIXME
    12681         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     12414        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    1268212415      else
    1268312416        ld_shlibs=no
     
    1268912422      # as there is no search path for DLLs.
    1269012423      hardcode_libdir_flag_spec='-L$libdir'
    12691       export_dynamic_flag_spec='$wl--export-all-symbols'
     12424      export_dynamic_flag_spec='${wl}--export-all-symbols'
    1269212425      allow_undefined_flag=unsupported
    1269312426      always_export_symbols=no
     
    1269712430
    1269812431      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    12699         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    12700         # If the export-symbols file already is a .def file, use it as
    12701         # is; otherwise, prepend EXPORTS...
    12702         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    12703           cp $export_symbols $output_objdir/$soname.def;
    12704         else
    12705           echo EXPORTS > $output_objdir/$soname.def;
    12706           cat $export_symbols >> $output_objdir/$soname.def;
    12707         fi~
    12708         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     12432        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     12433        # If the export-symbols file already is a .def file (1st line
     12434        # is EXPORTS), use it as is; otherwise, prepend...
     12435        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     12436          cp $export_symbols $output_objdir/$soname.def;
     12437        else
     12438          echo EXPORTS > $output_objdir/$soname.def;
     12439          cat $export_symbols >> $output_objdir/$soname.def;
     12440        fi~
     12441        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    1270912442      else
    1271012443        ld_shlibs=no
     
    1271312446
    1271412447    haiku*)
    12715       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     12448      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    1271612449      link_all_deplibs=yes
    12717       ;;
    12718 
    12719     os2*)
    12720       hardcode_libdir_flag_spec='-L$libdir'
    12721       hardcode_minus_L=yes
    12722       allow_undefined_flag=unsupported
    12723       shrext_cmds=.dll
    12724       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    12725         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    12726         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    12727         $ECHO EXPORTS >> $output_objdir/$libname.def~
    12728         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    12729         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    12730         emximp -o $lib $output_objdir/$libname.def'
    12731       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    12732         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    12733         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    12734         $ECHO EXPORTS >> $output_objdir/$libname.def~
    12735         prefix_cmds="$SED"~
    12736         if test EXPORTS = "`$SED 1q $export_symbols`"; then
    12737           prefix_cmds="$prefix_cmds -e 1d";
    12738         fi~
    12739         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    12740         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    12741         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    12742         emximp -o $lib $output_objdir/$libname.def'
    12743       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    12744       enable_shared_with_static_runtimes=yes
    1274512450      ;;
    1274612451
     
    1274812453      hardcode_direct=no
    1274912454      hardcode_shlibpath_var=no
    12750       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    12751       export_dynamic_flag_spec='$wl-E'
     12455      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
     12456      export_dynamic_flag_spec='${wl}-E'
    1275212457      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    1275312458      # Instead, shared libraries are loaded at an image base (0x10000000 by
     
    1275612461      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    1275712462      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    12758       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    12759       archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     12463      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     12464      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    1276012465      ;;
    1276112466
    1276212467    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
    1276312468      tmp_diet=no
    12764       if test linux-dietlibc = "$host_os"; then
     12469      if test "$host_os" = linux-dietlibc; then
    1276512470        case $cc_basename in
    1276612471          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     
    1276812473      fi
    1276912474      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
    12770          && test no = "$tmp_diet"
     12475         && test "$tmp_diet" = no
    1277112476      then
    1277212477        tmp_addflag=' $pic_flag'
     
    1277412479        case $cc_basename,$host_cpu in
    1277512480        pgcc*)                          # Portland Group C compiler
    12776           whole_archive_flag_spec='$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'
     12481          whole_archive_flag_spec='${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'
    1277712482          tmp_addflag=' $pic_flag'
    1277812483          ;;
    1277912484        pgf77* | pgf90* | pgf95* | pgfortran*)
    1278012485                                        # Portland Group f77 and f90 compilers
    12781           whole_archive_flag_spec='$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'
     12486          whole_archive_flag_spec='${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'
    1278212487          tmp_addflag=' $pic_flag -Mnomain' ;;
    1278312488        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
     
    1279012495          whole_archive_flag_spec=
    1279112496          tmp_sharedflag='--shared' ;;
    12792         nagfor*)                        # NAGFOR 5.3
    12793           tmp_sharedflag='-Wl,-shared' ;;
    1279412497        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
    1279512498          tmp_sharedflag='-qmkshrobj'
    1279612499          tmp_addflag= ;;
    1279712500        nvcc*)  # Cuda Compiler Driver 2.2
    12798           whole_archive_flag_spec='$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'
     12501          whole_archive_flag_spec='${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'
    1279912502          compiler_needs_object=yes
    1280012503          ;;
     
    1280212505        case `$CC -V 2>&1 | sed 5q` in
    1280312506        *Sun\ C*)                       # Sun C 5.9
    12804           whole_archive_flag_spec='$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'
     12507          whole_archive_flag_spec='${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'
    1280512508          compiler_needs_object=yes
    1280612509          tmp_sharedflag='-G' ;;
     
    1280812511          tmp_sharedflag='-G' ;;
    1280912512        esac
    12810         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    12811 
    12812         if test yes = "$supports_anon_versioning"; then
     12513        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     12514
     12515        if test "x$supports_anon_versioning" = xyes; then
    1281312516          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
    12814             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    12815             echo "local: *; };" >> $output_objdir/$libname.ver~
    12816             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
     12517            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     12518            echo "local: *; };" >> $output_objdir/$libname.ver~
     12519            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    1281712520        fi
    1281812521
    1281912522        case $cc_basename in
    12820         tcc*)
    12821           export_dynamic_flag_spec='-rdynamic'
    12822           ;;
    1282312523        xlf* | bgf* | bgxlf* | mpixlf*)
    1282412524          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
    1282512525          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
    12826           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     12526          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    1282712527          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
    12828           if test yes = "$supports_anon_versioning"; then
     12528          if test "x$supports_anon_versioning" = xyes; then
    1282912529            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
    12830               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    12831               echo "local: *; };" >> $output_objdir/$libname.ver~
    12832               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     12530              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     12531              echo "local: *; };" >> $output_objdir/$libname.ver~
     12532              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
    1283312533          fi
    1283412534          ;;
     
    1284412544        wlarc=
    1284512545      else
    12846         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    12847         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     12546        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     12547        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    1284812548      fi
    1284912549      ;;
     
    1286312563_LT_EOF
    1286412564      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    12865         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    12866         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     12565        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     12566        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    1286712567      else
    1286812568        ld_shlibs=no
     
    1287612576        cat <<_LT_EOF 1>&2
    1287712577
    12878 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
     12578*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
    1287912579*** reliably create shared libraries on SCO systems.  Therefore, libtool
    1288012580*** is disabling shared libraries support.  We urge you to upgrade GNU
     
    1289112591          # requires that you compile everything twice, which is a pain.
    1289212592          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    12893             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    12894             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    12895             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     12593            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     12594            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     12595            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    1289612596          else
    1289712597            ld_shlibs=no
     
    1291012610    *)
    1291112611      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    12912         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    12913         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     12612        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     12613        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    1291412614      else
    1291512615        ld_shlibs=no
     
    1291812618    esac
    1291912619
    12920     if test no = "$ld_shlibs"; then
     12620    if test "$ld_shlibs" = no; then
    1292112621      runpath_var=
    1292212622      hardcode_libdir_flag_spec=
     
    1293412634      # are no directories specified by -L.
    1293512635      hardcode_minus_L=yes
    12936       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
     12636      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
    1293712637        # Neither direct hardcoding nor static linking is supported with a
    1293812638        # broken collect2.
     
    1294212642
    1294312643    aix[4-9]*)
    12944       if test ia64 = "$host_cpu"; then
     12644      if test "$host_cpu" = ia64; then
    1294512645        # On IA64, the linker does run time linking by default, so we don't
    1294612646        # have to do anything special.
    1294712647        aix_use_runtimelinking=no
    1294812648        exp_sym_flag='-Bexport'
    12949         no_entry_flag=
     12649        no_entry_flag=""
    1295012650      else
    1295112651        # If we're using GNU nm, then we don't want the "-C" option.
    12952         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
    12953         # Without the "-l" option, or with the "-B" option, AIX nm treats
    12954         # weak defined symbols like other global defined symbols, whereas
    12955         # GNU nm marks them as "W".
    12956         # While the 'weak' keyword is ignored in the Export File, we need
    12957         # it in the Import File for the 'aix-soname' feature, so we have
    12958         # to replace the "-B" option with "-P" for AIX nm.
     12652        # -C means demangle to AIX nm, but means don't demangle with GNU nm
     12653        # Also, AIX nm treats weak defined symbols like other global
     12654        # defined symbols, whereas GNU nm marks them as "W".
    1295912655        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    12960           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
     12656          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
    1296112657        else
    12962           export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
     12658          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
    1296312659        fi
    1296412660        aix_use_runtimelinking=no
     
    1296612662        # Test if we are trying to use run time linking or normal
    1296712663        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    12968         # have runtime linking enabled, and use it for executables.
    12969         # For shared libraries, we enable/disable runtime linking
    12970         # depending on the kind of the shared library created -
    12971         # when "with_aix_soname,aix_use_runtimelinking" is:
    12972         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
    12973         # "aix,yes"  lib.so          shared, rtl:yes, for executables
    12974         #            lib.a           static archive
    12975         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
    12976         #            lib.a(lib.so.V) shared, rtl:no,  for executables
    12977         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
    12978         #            lib.a(lib.so.V) shared, rtl:no
    12979         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
    12980         #            lib.a           static archive
     12664        # need to do runtime linking.
    1298112665        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    1298212666          for ld_flag in $LDFLAGS; do
    12983           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
     12667          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    1298412668            aix_use_runtimelinking=yes
    1298512669            break
    1298612670          fi
    1298712671          done
    12988           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
    12989             # With aix-soname=svr4, we create the lib.so.V shared archives only,
    12990             # so we don't have lib.a shared libs to link our executables.
    12991             # We have to force runtime linking in this case.
    12992             aix_use_runtimelinking=yes
    12993             LDFLAGS="$LDFLAGS -Wl,-brtl"
    12994           fi
    1299512672          ;;
    1299612673        esac
     
    1301112688      hardcode_libdir_separator=':'
    1301212689      link_all_deplibs=yes
    13013       file_list_spec='$wl-f,'
    13014       case $with_aix_soname,$aix_use_runtimelinking in
    13015       aix,*) ;; # traditional, no import file
    13016       svr4,* | *,yes) # use import file
    13017         # The Import File defines what to hardcode.
    13018         hardcode_direct=no
    13019         hardcode_direct_absolute=no
    13020         ;;
    13021       esac
    13022 
    13023       if test yes = "$GCC"; then
     12690      file_list_spec='${wl}-f,'
     12691
     12692      if test "$GCC" = yes; then
    1302412693        case $host_os in aix4.[012]|aix4.[012].*)
    1302512694        # We only want to do this on AIX 4.2 and lower, the check
    1302612695        # below for broken collect2 doesn't work under 4.3+
    13027           collect2name=`$CC -print-prog-name=collect2`
     12696          collect2name=`${CC} -print-prog-name=collect2`
    1302812697          if test -f "$collect2name" &&
    1302912698           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     
    1304412713        esac
    1304512714        shared_flag='-shared'
    13046         if test yes = "$aix_use_runtimelinking"; then
    13047           shared_flag="$shared_flag "'$wl-G'
     12715        if test "$aix_use_runtimelinking" = yes; then
     12716          shared_flag="$shared_flag "'${wl}-G'
    1304812717        fi
    13049         # Need to ensure runtime linking is disabled for the traditional
    13050         # shared library, or the linker may eventually find shared libraries
    13051         # /with/ Import File - we do not want to mix them.
    13052         shared_flag_aix='-shared'
    13053         shared_flag_svr4='-shared $wl-G'
     12718        link_all_deplibs=no
    1305412719      else
    1305512720        # not using gcc
    13056         if test ia64 = "$host_cpu"; then
     12721        if test "$host_cpu" = ia64; then
    1305712722        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    1305812723        # chokes on -Wl,-G. The following line is correct:
    1305912724          shared_flag='-G'
    1306012725        else
    13061           if test yes = "$aix_use_runtimelinking"; then
    13062             shared_flag='$wl-G'
     12726          if test "$aix_use_runtimelinking" = yes; then
     12727            shared_flag='${wl}-G'
    1306312728          else
    13064             shared_flag='$wl-bM:SRE'
     12729            shared_flag='${wl}-bM:SRE'
    1306512730          fi
    13066           shared_flag_aix='$wl-bM:SRE'
    13067           shared_flag_svr4='$wl-G'
    1306812731        fi
    1306912732      fi
    1307012733
    13071       export_dynamic_flag_spec='$wl-bexpall'
     12734      export_dynamic_flag_spec='${wl}-bexpall'
    1307212735      # It seems that -bexpall does not export symbols beginning with
    1307312736      # underscore (_), so it is better to generate a list of symbols to export.
    1307412737      always_export_symbols=yes
    13075       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
     12738      if test "$aix_use_runtimelinking" = yes; then
    1307612739        # Warning - without using the other runtime loading flags (-brtl),
    1307712740        # -berok will link without error, but may produce a broken library.
     
    1307912742        # Determine the default libpath from the value encoded in an
    1308012743        # empty executable.
    13081         if test set = "${lt_cv_aix_libpath+set}"; then
     12744        if test "${lt_cv_aix_libpath+set}" = set; then
    1308212745  aix_libpath=$lt_cv_aix_libpath
    1308312746else
     
    1311412777    conftest$ac_exeext conftest.$ac_ext
    1311512778  if test -z "$lt_cv_aix_libpath_"; then
    13116     lt_cv_aix_libpath_=/usr/lib:/lib
     12779    lt_cv_aix_libpath_="/usr/lib:/lib"
    1311712780  fi
    1311812781
     
    1312212785fi
    1312312786
    13124         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
    13125         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
     12787        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
     12788        archive_expsym_cmds='$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"
    1312612789      else
    13127         if test ia64 = "$host_cpu"; then
    13128           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
     12790        if test "$host_cpu" = ia64; then
     12791          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
    1312912792          allow_undefined_flag="-z nodefs"
    13130           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
     12793          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
    1313112794        else
    1313212795         # Determine the default libpath from the value encoded in an
    1313312796         # empty executable.
    13134          if test set = "${lt_cv_aix_libpath+set}"; then
     12797         if test "${lt_cv_aix_libpath+set}" = set; then
    1313512798  aix_libpath=$lt_cv_aix_libpath
    1313612799else
     
    1316712830    conftest$ac_exeext conftest.$ac_ext
    1316812831  if test -z "$lt_cv_aix_libpath_"; then
    13169     lt_cv_aix_libpath_=/usr/lib:/lib
     12832    lt_cv_aix_libpath_="/usr/lib:/lib"
    1317012833  fi
    1317112834
     
    1317512838fi
    1317612839
    13177          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
     12840         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
    1317812841          # Warning - without using the other run time loading flags,
    1317912842          # -berok will link without error, but may produce a broken library.
    13180           no_undefined_flag=' $wl-bernotok'
    13181           allow_undefined_flag=' $wl-berok'
    13182           if test yes = "$with_gnu_ld"; then
     12843          no_undefined_flag=' ${wl}-bernotok'
     12844          allow_undefined_flag=' ${wl}-berok'
     12845          if test "$with_gnu_ld" = yes; then
    1318312846            # We only use this code for GNU lds that support --whole-archive.
    13184             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
     12847            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
    1318512848          else
    1318612849            # Exported symbols can be pulled into shared objects from archives
     
    1318812851          fi
    1318912852          archive_cmds_need_lc=yes
    13190           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
    13191           # -brtl affects multiple linker settings, -berok does not and is overridden later
    13192           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
    13193           if test svr4 != "$with_aix_soname"; then
    13194             # This is similar to how AIX traditionally builds its shared libraries.
    13195             archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
    13196           fi
    13197           if test aix != "$with_aix_soname"; then
    13198             archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
    13199           else
    13200             # used by -dlpreopen to get the symbols
    13201             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
    13202           fi
    13203           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
     12853          # This is similar to how AIX traditionally builds its shared libraries.
     12854          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
    1320412855        fi
    1320512856      fi
     
    1321012861      powerpc)
    1321112862            # see comment about AmigaOS4 .so support
    13212             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     12863            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    1321312864            archive_expsym_cmds=''
    1321412865        ;;
     
    1324012891        libext=lib
    1324112892        # Tell ltmain to make .dll files, not .so files.
    13242         shrext_cmds=.dll
     12893        shrext_cmds=".dll"
    1324312894        # FIXME: Setting linknames here is a bad hack.
    13244         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
    13245         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    13246             cp "$export_symbols" "$output_objdir/$soname.def";
    13247             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
    13248           else
    13249             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
    13250           fi~
    13251           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    13252           linknames='
     12895        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
     12896        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     12897            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
     12898          else
     12899            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
     12900          fi~
     12901          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     12902          linknames='
    1325312903        # The linker will not automatically build a static lib if we build a DLL.
    1325412904        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
     
    1325912909        old_postinstall_cmds='chmod 644 $oldlib'
    1326012910        postlink_cmds='lt_outputfile="@OUTPUT@"~
    13261           lt_tool_outputfile="@TOOL_OUTPUT@"~
    13262           case $lt_outputfile in
    13263             *.exe|*.EXE) ;;
    13264             *)
    13265               lt_outputfile=$lt_outputfile.exe
    13266               lt_tool_outputfile=$lt_tool_outputfile.exe
    13267               ;;
    13268           esac~
    13269           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
    13270             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    13271             $RM "$lt_outputfile.manifest";
    13272           fi'
     12911          lt_tool_outputfile="@TOOL_OUTPUT@"~
     12912          case $lt_outputfile in
     12913            *.exe|*.EXE) ;;
     12914            *)
     12915              lt_outputfile="$lt_outputfile.exe"
     12916              lt_tool_outputfile="$lt_tool_outputfile.exe"
     12917              ;;
     12918          esac~
     12919          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
     12920            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     12921            $RM "$lt_outputfile.manifest";
     12922          fi'
    1327312923        ;;
    1327412924      *)
     
    1327912929        libext=lib
    1328012930        # Tell ltmain to make .dll files, not .so files.
    13281         shrext_cmds=.dll
     12931        shrext_cmds=".dll"
    1328212932        # FIXME: Setting linknames here is a bad hack.
    1328312933        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
     
    1329812948  hardcode_automatic=yes
    1329912949  hardcode_shlibpath_var=unsupported
    13300   if test yes = "$lt_cv_ld_force_load"; then
    13301     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     12950  if test "$lt_cv_ld_force_load" = "yes"; then
     12951    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
    1330212952
    1330312953  else
     
    1330512955  fi
    1330612956  link_all_deplibs=yes
    13307   allow_undefined_flag=$_lt_dar_allow_undefined
     12957  allow_undefined_flag="$_lt_dar_allow_undefined"
    1330812958  case $cc_basename in
    13309      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
     12959     ifort*) _lt_dar_can_shared=yes ;;
    1331012960     *) _lt_dar_can_shared=$GCC ;;
    1331112961  esac
    13312   if test yes = "$_lt_dar_can_shared"; then
     12962  if test "$_lt_dar_can_shared" = "yes"; then
    1331312963    output_verbose_link_cmd=func_echo_all
    13314     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
    13315     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
    13316     archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
    13317     module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
     12964    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     12965    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     12966    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
     12967    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
    1331812968
    1331912969  else
     
    1335713007
    1335813008    hpux9*)
    13359       if test yes = "$GCC"; then
    13360         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     13009      if test "$GCC" = yes; then
     13010        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    1336113011      else
    13362         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     13012        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    1336313013      fi
    13364       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
     13014      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
    1336513015      hardcode_libdir_separator=:
    1336613016      hardcode_direct=yes
     
    1336913019      # but as the default location of the library.
    1337013020      hardcode_minus_L=yes
    13371       export_dynamic_flag_spec='$wl-E'
     13021      export_dynamic_flag_spec='${wl}-E'
    1337213022      ;;
    1337313023
    1337413024    hpux10*)
    13375       if test yes,no = "$GCC,$with_gnu_ld"; then
    13376         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     13025      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
     13026        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    1337713027      else
    1337813028        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    1337913029      fi
    13380       if test no = "$with_gnu_ld"; then
    13381         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
     13030      if test "$with_gnu_ld" = no; then
     13031        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
    1338213032        hardcode_libdir_separator=:
    1338313033        hardcode_direct=yes
    1338413034        hardcode_direct_absolute=yes
    13385         export_dynamic_flag_spec='$wl-E'
     13035        export_dynamic_flag_spec='${wl}-E'
    1338613036        # hardcode_minus_L: Not really in the search PATH,
    1338713037        # but as the default location of the library.
     
    1339113041
    1339213042    hpux11*)
    13393       if test yes,no = "$GCC,$with_gnu_ld"; then
     13043      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
    1339413044        case $host_cpu in
    1339513045        hppa*64*)
    13396           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
     13046          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    1339713047          ;;
    1339813048        ia64*)
    13399           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     13049          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    1340013050          ;;
    1340113051        *)
    13402           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     13052          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    1340313053          ;;
    1340413054        esac
     
    1340613056        case $host_cpu in
    1340713057        hppa*64*)
    13408           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
     13058          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    1340913059          ;;
    1341013060        ia64*)
    13411           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     13061          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    1341213062          ;;
    1341313063        *)
     
    1342113071else
    1342213072  lt_cv_prog_compiler__b=no
    13423    save_LDFLAGS=$LDFLAGS
     13073   save_LDFLAGS="$LDFLAGS"
    1342413074   LDFLAGS="$LDFLAGS -b"
    1342513075   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     
    1344013090   fi
    1344113091   $RM -r conftest*
    13442    LDFLAGS=$save_LDFLAGS
     13092   LDFLAGS="$save_LDFLAGS"
    1344313093
    1344413094fi
     
    1344613096$as_echo "$lt_cv_prog_compiler__b" >&6; }
    1344713097
    13448 if test yes = "$lt_cv_prog_compiler__b"; then
    13449     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     13098if test x"$lt_cv_prog_compiler__b" = xyes; then
     13099    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    1345013100else
    1345113101    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
     
    1345513105        esac
    1345613106      fi
    13457       if test no = "$with_gnu_ld"; then
    13458         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
     13107      if test "$with_gnu_ld" = no; then
     13108        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
    1345913109        hardcode_libdir_separator=:
    1346013110
     
    1346713117          hardcode_direct=yes
    1346813118          hardcode_direct_absolute=yes
    13469           export_dynamic_flag_spec='$wl-E'
     13119          export_dynamic_flag_spec='${wl}-E'
    1347013120
    1347113121          # hardcode_minus_L: Not really in the search PATH,
     
    1347813128
    1347913129    irix5* | irix6* | nonstopux*)
    13480       if test yes = "$GCC"; then
    13481         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
     13130      if test "$GCC" = yes; then
     13131        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    1348213132        # Try to use the -exported_symbol ld option, if it does not
    1348313133        # work, assume that -exports_file does not work either and
     
    1348913139  $as_echo_n "(cached) " >&6
    1349013140else
    13491   save_LDFLAGS=$LDFLAGS
    13492            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
     13141  save_LDFLAGS="$LDFLAGS"
     13142           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
    1349313143           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1349413144/* end confdefs.h.  */
     
    1350213152rm -f core conftest.err conftest.$ac_objext \
    1350313153    conftest$ac_exeext conftest.$ac_ext
    13504            LDFLAGS=$save_LDFLAGS
     13154           LDFLAGS="$save_LDFLAGS"
    1350513155fi
    1350613156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
    1350713157$as_echo "$lt_cv_irix_exported_symbol" >&6; }
    13508         if test yes = "$lt_cv_irix_exported_symbol"; then
    13509           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
     13158        if test "$lt_cv_irix_exported_symbol" = yes; then
     13159          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
    1351013160        fi
    13511         link_all_deplibs=no
    1351213161      else
    13513         archive_cmds='$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'
    13514         archive_expsym_cmds='$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'
     13162        archive_cmds='$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'
     13163        archive_expsym_cmds='$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'
    1351513164      fi
    1351613165      archive_cmds_need_lc='no'
    13517       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     13166      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    1351813167      hardcode_libdir_separator=:
    1351913168      inherit_rpath=yes
    1352013169      link_all_deplibs=yes
    13521       ;;
    13522 
    13523     linux*)
    13524       case $cc_basename in
    13525       tcc*)
    13526         # Fabrice Bellard et al's Tiny C Compiler
    13527         ld_shlibs=yes
    13528         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    13529         ;;
    13530       esac
    1353113170      ;;
    1353213171
     
    1354513184      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    1354613185      hardcode_direct=yes
    13547       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     13186      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    1354813187      hardcode_libdir_separator=:
    1354913188      hardcode_shlibpath_var=no
     
    1355313192      ;;
    1355413193
    13555     openbsd* | bitrig*)
     13194    openbsd*)
    1355613195      if test -f /usr/libexec/ld.so; then
    1355713196        hardcode_direct=yes
    1355813197        hardcode_shlibpath_var=no
    1355913198        hardcode_direct_absolute=yes
    13560         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     13199        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    1356113200          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    13562           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
    13563           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    13564           export_dynamic_flag_spec='$wl-E'
     13201          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
     13202          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
     13203          export_dynamic_flag_spec='${wl}-E'
    1356513204        else
    13566           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    13567           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     13205          case $host_os in
     13206           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
     13207             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     13208             hardcode_libdir_flag_spec='-R$libdir'
     13209             ;;
     13210           *)
     13211             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     13212             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
     13213             ;;
     13214          esac
    1356813215        fi
    1356913216      else
     
    1357613223      hardcode_minus_L=yes
    1357713224      allow_undefined_flag=unsupported
    13578       shrext_cmds=.dll
    13579       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    13580         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    13581         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    13582         $ECHO EXPORTS >> $output_objdir/$libname.def~
    13583         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    13584         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    13585         emximp -o $lib $output_objdir/$libname.def'
    13586       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    13587         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    13588         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    13589         $ECHO EXPORTS >> $output_objdir/$libname.def~
    13590         prefix_cmds="$SED"~
    13591         if test EXPORTS = "`$SED 1q $export_symbols`"; then
    13592           prefix_cmds="$prefix_cmds -e 1d";
    13593         fi~
    13594         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    13595         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    13596         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    13597         emximp -o $lib $output_objdir/$libname.def'
    13598       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    13599       enable_shared_with_static_runtimes=yes
     13225      archive_cmds='$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'
     13226      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
    1360013227      ;;
    1360113228
    1360213229    osf3*)
    13603       if test yes = "$GCC"; then
    13604         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
    13605         archive_cmds='$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'
     13230      if test "$GCC" = yes; then
     13231        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
     13232        archive_cmds='$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'
    1360613233      else
    1360713234        allow_undefined_flag=' -expect_unresolved \*'
    13608         archive_cmds='$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'
     13235        archive_cmds='$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'
    1360913236      fi
    1361013237      archive_cmds_need_lc='no'
    13611       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     13238      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    1361213239      hardcode_libdir_separator=:
    1361313240      ;;
    1361413241
    1361513242    osf4* | osf5*)      # as osf3* with the addition of -msym flag
    13616       if test yes = "$GCC"; then
    13617         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
    13618         archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
    13619         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     13243      if test "$GCC" = yes; then
     13244        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
     13245        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     13246        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    1362013247      else
    1362113248        allow_undefined_flag=' -expect_unresolved \*'
    13622         archive_cmds='$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'
     13249        archive_cmds='$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'
    1362313250        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
    13624           $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'
     13251        $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'
    1362513252
    1362613253        # Both c and cxx compiler support -rpath directly
     
    1363313260    solaris*)
    1363413261      no_undefined_flag=' -z defs'
    13635       if test yes = "$GCC"; then
    13636         wlarc='$wl'
    13637         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
     13262      if test "$GCC" = yes; then
     13263        wlarc='${wl}'
     13264        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    1363813265        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    13639           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
     13266          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    1364013267      else
    1364113268        case `$CC -V 2>&1` in
    1364213269        *"Compilers 5.0"*)
    1364313270          wlarc=''
    13644           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
     13271          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    1364513272          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    13646             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
     13273          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
    1364713274          ;;
    1364813275        *)
    13649           wlarc='$wl'
    13650           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
     13276          wlarc='${wl}'
     13277          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
    1365113278          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    13652             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
     13279          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    1365313280          ;;
    1365413281        esac
     
    1366013287      *)
    1366113288        # The compiler driver will combine and reorder linker options,
    13662         # but understands '-z linker_flag'.  GCC discards it without '$wl',
     13289        # but understands `-z linker_flag'.  GCC discards it without `$wl',
    1366313290        # but is careful enough not to reorder.
    1366413291        # Supported since Solaris 2.6 (maybe 2.5.1?)
    13665         if test yes = "$GCC"; then
    13666           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
     13292        if test "$GCC" = yes; then
     13293          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
    1366713294        else
    1366813295          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
     
    1367413301
    1367513302    sunos4*)
    13676       if test sequent = "$host_vendor"; then
     13303      if test "x$host_vendor" = xsequent; then
    1367713304        # Use $CC to link under sequent, because it throws in some extra .o
    1367813305        # files that make .init and .fini sections work.
    13679         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
     13306        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    1368013307      else
    1368113308        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
     
    1372613353
    1372713354    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    13728       no_undefined_flag='$wl-z,text'
     13355      no_undefined_flag='${wl}-z,text'
    1372913356      archive_cmds_need_lc=no
    1373013357      hardcode_shlibpath_var=no
    1373113358      runpath_var='LD_RUN_PATH'
    1373213359
    13733       if test yes = "$GCC"; then
    13734         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    13735         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     13360      if test "$GCC" = yes; then
     13361        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     13362        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1373613363      else
    13737         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    13738         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     13364        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     13365        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1373913366      fi
    1374013367      ;;
    1374113368
    1374213369    sysv5* | sco3.2v5* | sco5v6*)
    13743       # Note: We CANNOT use -z defs as we might desire, because we do not
     13370      # Note: We can NOT use -z defs as we might desire, because we do not
    1374413371      # link with -lc, and that would cause any symbols used from libc to
    1374513372      # always be unresolved, which means just about no library would
     
    1374713374      # though, which does catch some bad symbols but isn't as heavy-handed
    1374813375      # as -z defs.
    13749       no_undefined_flag='$wl-z,text'
    13750       allow_undefined_flag='$wl-z,nodefs'
     13376      no_undefined_flag='${wl}-z,text'
     13377      allow_undefined_flag='${wl}-z,nodefs'
    1375113378      archive_cmds_need_lc=no
    1375213379      hardcode_shlibpath_var=no
    13753       hardcode_libdir_flag_spec='$wl-R,$libdir'
     13380      hardcode_libdir_flag_spec='${wl}-R,$libdir'
    1375413381      hardcode_libdir_separator=':'
    1375513382      link_all_deplibs=yes
    13756       export_dynamic_flag_spec='$wl-Bexport'
     13383      export_dynamic_flag_spec='${wl}-Bexport'
    1375713384      runpath_var='LD_RUN_PATH'
    1375813385
    13759       if test yes = "$GCC"; then
    13760         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    13761         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     13386      if test "$GCC" = yes; then
     13387        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     13388        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1376213389      else
    13763         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    13764         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     13390        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     13391        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1376513392      fi
    1376613393      ;;
     
    1377713404    esac
    1377813405
    13779     if test sni = "$host_vendor"; then
     13406    if test x$host_vendor = xsni; then
    1378013407      case $host in
    1378113408      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    13782         export_dynamic_flag_spec='$wl-Blargedynsym'
     13409        export_dynamic_flag_spec='${wl}-Blargedynsym'
    1378313410        ;;
    1378413411      esac
     
    1378813415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
    1378913416$as_echo "$ld_shlibs" >&6; }
    13790 test no = "$ld_shlibs" && can_build_shared=no
     13417test "$ld_shlibs" = no && can_build_shared=no
    1379113418
    1379213419with_gnu_ld=$with_gnu_ld
     
    1381413441  archive_cmds_need_lc=yes
    1381513442
    13816   if test yes,yes = "$GCC,$enable_shared"; then
     13443  if test "$enable_shared" = yes && test "$GCC" = yes; then
    1381713444    case $archive_cmds in
    1381813445    *'~'*)
     
    1402913656$as_echo_n "checking dynamic linker characteristics... " >&6; }
    1403013657
    14031 if test yes = "$GCC"; then
     13658if test "$GCC" = yes; then
    1403213659  case $host_os in
    14033     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
    14034     *) lt_awk_arg='/^libraries:/' ;;
     13660    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
     13661    *) lt_awk_arg="/^libraries:/" ;;
    1403513662  esac
    1403613663  case $host_os in
    14037     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
    14038     *) lt_sed_strip_eq='s|=/|/|g' ;;
     13664    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
     13665    *) lt_sed_strip_eq="s,=/,/,g" ;;
    1403913666  esac
    1404013667  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
     
    1405213679  esac
    1405313680  # Ok, now we have the path, separated by spaces, we can step through it
    14054   # and add multilib dir if necessary...
     13681  # and add multilib dir if necessary.
    1405513682  lt_tmp_lt_search_path_spec=
    14056   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
    14057   # ...but if some path component already ends with the multilib dir we assume
    14058   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
    14059   case "$lt_multi_os_dir; $lt_search_path_spec " in
    14060   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
    14061     lt_multi_os_dir=
    14062     ;;
    14063   esac
     13683  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
    1406413684  for lt_sys_path in $lt_search_path_spec; do
    14065     if test -d "$lt_sys_path$lt_multi_os_dir"; then
    14066       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
    14067     elif test -n "$lt_multi_os_dir"; then
     13685    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
     13686      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
     13687    else
    1406813688      test -d "$lt_sys_path" && \
    1406913689        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     
    1407113691  done
    1407213692  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
    14073 BEGIN {RS = " "; FS = "/|\n";} {
    14074   lt_foo = "";
    14075   lt_count = 0;
     13693BEGIN {RS=" "; FS="/|\n";} {
     13694  lt_foo="";
     13695  lt_count=0;
    1407613696  for (lt_i = NF; lt_i > 0; lt_i--) {
    1407713697    if ($lt_i != "" && $lt_i != ".") {
     
    1408013700      } else {
    1408113701        if (lt_count == 0) {
    14082           lt_foo = "/" $lt_i lt_foo;
     13702          lt_foo="/" $lt_i lt_foo;
    1408313703        } else {
    1408413704          lt_count--;
     
    1409413714  case $host_os in
    1409513715    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
    14096       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
     13716      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
    1409713717  esac
    1409813718  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
     
    1410313723libname_spec='lib$name'
    1410413724soname_spec=
    14105 shrext_cmds=.so
     13725shrext_cmds=".so"
    1410613726postinstall_cmds=
    1410713727postuninstall_cmds=
     
    1412013740need_version=unknown
    1412113741
    14122 
    14123 
    1412413742case $host_os in
    1412513743aix3*)
    1412613744  version_type=linux # correct to gnu/linux during the next big refactor
    14127   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
     13745  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
    1412813746  shlibpath_var=LIBPATH
    1412913747
    1413013748  # AIX 3 has no versioning support, so we append a major version to the name.
    14131   soname_spec='$libname$release$shared_ext$major'
     13749  soname_spec='${libname}${release}${shared_ext}$major'
    1413213750  ;;
    1413313751
     
    1413713755  need_version=no
    1413813756  hardcode_into_libs=yes
    14139   if test ia64 = "$host_cpu"; then
     13757  if test "$host_cpu" = ia64; then
    1414013758    # AIX 5 supports IA64
    14141     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
     13759    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
    1414213760    shlibpath_var=LD_LIBRARY_PATH
    1414313761  else
    1414413762    # With GCC up to 2.95.x, collect2 would create an import file
    1414513763    # for dependence libraries.  The import file would start with
    14146     # the line '#! .'.  This would cause the generated library to
    14147     # depend on '.', always an invalid library.  This was fixed in
     13764    # the line `#! .'.  This would cause the generated library to
     13765    # depend on `.', always an invalid library.  This was fixed in
    1414813766    # development snapshots of GCC prior to 3.0.
    1414913767    case $host_os in
     
    1415113769      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    1415213770           echo ' yes '
    14153            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
     13771           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
    1415413772        :
    1415513773      else
     
    1415813776      ;;
    1415913777    esac
    14160     # Using Import Files as archive members, it is possible to support
    14161     # filename-based versioning of shared library archives on AIX. While
    14162     # this would work for both with and without runtime linking, it will
    14163     # prevent static linking of such archives. So we do filename-based
    14164     # shared library versioning with .so extension only, which is used
    14165     # when both runtime linking and shared linking is enabled.
    14166     # Unfortunately, runtime linking may impact performance, so we do
    14167     # not want this to be the default eventually. Also, we use the
    14168     # versioned .so libs for executables only if there is the -brtl
    14169     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
    14170     # To allow for filename-based versioning support, we need to create
    14171     # libNAME.so.V as an archive file, containing:
    14172     # *) an Import File, referring to the versioned filename of the
    14173     #    archive as well as the shared archive member, telling the
    14174     #    bitwidth (32 or 64) of that shared object, and providing the
    14175     #    list of exported symbols of that shared object, eventually
    14176     #    decorated with the 'weak' keyword
    14177     # *) the shared object with the F_LOADONLY flag set, to really avoid
    14178     #    it being seen by the linker.
    14179     # At run time we better use the real file rather than another symlink,
    14180     # but for link time we create the symlink libNAME.so -> libNAME.so.V
    14181 
    14182     case $with_aix_soname,$aix_use_runtimelinking in
    14183     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
     13778    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
    1418413779    # soname into executable. Probably we can add versioning support to
    1418513780    # collect2, so additional links can be useful in future.
    14186     aix,yes) # traditional libtool
    14187       dynamic_linker='AIX unversionable lib.so'
     13781    if test "$aix_use_runtimelinking" = yes; then
    1418813782      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    1418913783      # instead of lib<name>.a to let people know that these are not
    1419013784      # typical AIX shared libraries.
    14191       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14192       ;;
    14193     aix,no) # traditional AIX only
    14194       dynamic_linker='AIX lib.a(lib.so.V)'
     13785      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     13786    else
    1419513787      # We preserve .a as extension for shared libraries through AIX4.2
    1419613788      # and later when we are not doing run time linking.
    14197       library_names_spec='$libname$release.a $libname.a'
    14198       soname_spec='$libname$release$shared_ext$major'
    14199       ;;
    14200     svr4,*) # full svr4 only
    14201       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
    14202       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    14203       # We do not specify a path in Import Files, so LIBPATH fires.
    14204       shlibpath_overrides_runpath=yes
    14205       ;;
    14206     *,yes) # both, prefer svr4
    14207       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
    14208       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    14209       # unpreferred sharedlib libNAME.a needs extra handling
    14210       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
    14211       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
    14212       # We do not specify a path in Import Files, so LIBPATH fires.
    14213       shlibpath_overrides_runpath=yes
    14214       ;;
    14215     *,no) # both, prefer aix
    14216       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
    14217       library_names_spec='$libname$release.a $libname.a'
    14218       soname_spec='$libname$release$shared_ext$major'
    14219       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
    14220       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
    14221       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
    14222       ;;
    14223     esac
     13789      library_names_spec='${libname}${release}.a $libname.a'
     13790      soname_spec='${libname}${release}${shared_ext}$major'
     13791    fi
    1422413792    shlibpath_var=LIBPATH
    1422513793  fi
     
    1423113799    # Since July 2007 AmigaOS4 officially supports .so libraries.
    1423213800    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    14233     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     13801    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1423413802    ;;
    1423513803  m68k)
    1423613804    library_names_spec='$libname.ixlibrary $libname.a'
    1423713805    # Create ${libname}_ixlibrary.a entries in /sys/libs.
    14238     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
     13806    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'
    1423913807    ;;
    1424013808  esac
     
    1424213810
    1424313811beos*)
    14244   library_names_spec='$libname$shared_ext'
     13812  library_names_spec='${libname}${shared_ext}'
    1424513813  dynamic_linker="$host_os ld.so"
    1424613814  shlibpath_var=LIBRARY_PATH
     
    1425013818  version_type=linux # correct to gnu/linux during the next big refactor
    1425113819  need_version=no
    14252   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14253   soname_spec='$libname$release$shared_ext$major'
     13820  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     13821  soname_spec='${libname}${release}${shared_ext}$major'
    1425413822  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    1425513823  shlibpath_var=LD_LIBRARY_PATH
     
    1426313831cygwin* | mingw* | pw32* | cegcc*)
    1426413832  version_type=windows
    14265   shrext_cmds=.dll
     13833  shrext_cmds=".dll"
    1426613834  need_version=no
    1426713835  need_lib_prefix=no
     
    1427213840    library_names_spec='$libname.dll.a'
    1427313841    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    14274     postinstall_cmds='base_file=`basename \$file`~
    14275       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
     13842    postinstall_cmds='base_file=`basename \${file}`~
     13843      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
    1427613844      dldir=$destdir/`dirname \$dlpath`~
    1427713845      test -d \$dldir || mkdir -p \$dldir~
     
    1428913857    cygwin*)
    1429013858      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    14291       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     13859      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    1429213860
    1429313861      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
     
    1429513863    mingw* | cegcc*)
    1429613864      # MinGW DLLs use traditional 'lib' prefix
    14297       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     13865      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    1429813866      ;;
    1429913867    pw32*)
    1430013868      # pw32 DLLs use 'pw' prefix rather than 'lib'
    14301       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     13869      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    1430213870      ;;
    1430313871    esac
     
    1430813876    # Native MSVC
    1430913877    libname_spec='$name'
    14310     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    14311     library_names_spec='$libname.dll.lib'
     13878    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     13879    library_names_spec='${libname}.dll.lib'
    1431213880
    1431313881    case $build_os in
     
    1433613904      ;;
    1433713905    *)
    14338       sys_lib_search_path_spec=$LIB
     13906      sys_lib_search_path_spec="$LIB"
    1433913907      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
    1434013908        # It is most probably a Windows format PATH.
     
    1434913917
    1435013918    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    14351     postinstall_cmds='base_file=`basename \$file`~
    14352       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
     13919    postinstall_cmds='base_file=`basename \${file}`~
     13920      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
    1435313921      dldir=$destdir/`dirname \$dlpath`~
    1435413922      test -d \$dldir || mkdir -p \$dldir~
     
    1436313931  *)
    1436413932    # Assume MSVC wrapper
    14365     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
     13933    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
    1436613934    dynamic_linker='Win32 ld.exe'
    1436713935    ;;
     
    1437613944  need_lib_prefix=no
    1437713945  need_version=no
    14378   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
    14379   soname_spec='$libname$release$major$shared_ext'
     13946  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
     13947  soname_spec='${libname}${release}${major}$shared_ext'
    1438013948  shlibpath_overrides_runpath=yes
    1438113949  shlibpath_var=DYLD_LIBRARY_PATH
     
    1439013958  need_lib_prefix=no
    1439113959  need_version=no
    14392   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14393   soname_spec='$libname$release$shared_ext$major'
     13960  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
     13961  soname_spec='${libname}${release}${shared_ext}$major'
    1439413962  shlibpath_var=LD_LIBRARY_PATH
    1439513963  ;;
     
    1440913977  case $version_type in
    1441013978    freebsd-elf*)
    14411       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14412       soname_spec='$libname$release$shared_ext$major'
     13979      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    1441313980      need_version=no
    1441413981      need_lib_prefix=no
    1441513982      ;;
    1441613983    freebsd-*)
    14417       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     13984      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
    1441813985      need_version=yes
    1441913986      ;;
     
    1444514012  need_version=no
    1444614013  dynamic_linker="$host_os runtime_loader"
    14447   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14448   soname_spec='$libname$release$shared_ext$major'
     14014  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
     14015  soname_spec='${libname}${release}${shared_ext}$major'
    1444914016  shlibpath_var=LIBRARY_PATH
    14450   shlibpath_overrides_runpath=no
     14017  shlibpath_overrides_runpath=yes
    1445114018  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    1445214019  hardcode_into_libs=yes
     
    1446614033    shlibpath_var=LD_LIBRARY_PATH
    1446714034    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    14468     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14469     soname_spec='$libname$release$shared_ext$major'
    14470     if test 32 = "$HPUX_IA64_MODE"; then
     14035    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     14036    soname_spec='${libname}${release}${shared_ext}$major'
     14037    if test "X$HPUX_IA64_MODE" = X32; then
    1447114038      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    14472       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    1447314039    else
    1447414040      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    14475       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    1447614041    fi
     14042    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    1447714043    ;;
    1447814044  hppa*64*)
     
    1448214048    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    1448314049    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    14484     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14485     soname_spec='$libname$release$shared_ext$major'
     14050    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     14051    soname_spec='${libname}${release}${shared_ext}$major'
    1448614052    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    1448714053    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     
    1449214058    shlibpath_var=SHLIB_PATH
    1449314059    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    14494     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14495     soname_spec='$libname$release$shared_ext$major'
     14060    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     14061    soname_spec='${libname}${release}${shared_ext}$major'
    1449614062    ;;
    1449714063  esac
     
    1450614072  need_lib_prefix=no
    1450714073  need_version=no
    14508   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14509   soname_spec='$libname$release$shared_ext$major'
     14074  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     14075  soname_spec='${libname}${release}${shared_ext}$major'
    1451014076  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    1451114077  shlibpath_var=LD_LIBRARY_PATH
     
    1451814084    nonstopux*) version_type=nonstopux ;;
    1451914085    *)
    14520         if test yes = "$lt_cv_prog_gnu_ld"; then
     14086        if test "$lt_cv_prog_gnu_ld" = yes; then
    1452114087                version_type=linux # correct to gnu/linux during the next big refactor
    1452214088        else
     
    1452614092  need_lib_prefix=no
    1452714093  need_version=no
    14528   soname_spec='$libname$release$shared_ext$major'
    14529   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
     14094  soname_spec='${libname}${release}${shared_ext}$major'
     14095  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
    1453014096  case $host_os in
    1453114097  irix5* | nonstopux*)
     
    1454614112  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    1454714113  shlibpath_overrides_runpath=no
    14548   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
    14549   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
     14114  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
     14115  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
    1455014116  hardcode_into_libs=yes
    1455114117  ;;
     
    1455414120linux*oldld* | linux*aout* | linux*coff*)
    1455514121  dynamic_linker=no
    14556   ;;
    14557 
    14558 linux*android*)
    14559   version_type=none # Android doesn't support versioned libraries.
    14560   need_lib_prefix=no
    14561   need_version=no
    14562   library_names_spec='$libname$release$shared_ext'
    14563   soname_spec='$libname$release$shared_ext'
    14564   finish_cmds=
    14565   shlibpath_var=LD_LIBRARY_PATH
    14566   shlibpath_overrides_runpath=yes
    14567 
    14568   # This implies no fast_install, which is unacceptable.
    14569   # Some rework will be needed to allow for fast_install
    14570   # before this can be enabled.
    14571   hardcode_into_libs=yes
    14572 
    14573   dynamic_linker='Android linker'
    14574   # Don't embed -rpath directories since the linker doesn't support them.
    14575   hardcode_libdir_flag_spec='-L$libdir'
    1457614122  ;;
    1457714123
     
    1458114127  need_lib_prefix=no
    1458214128  need_version=no
    14583   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14584   soname_spec='$libname$release$shared_ext$major'
     14129  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     14130  soname_spec='${libname}${release}${shared_ext}$major'
    1458514131  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    1458614132  shlibpath_var=LD_LIBRARY_PATH
     
    1462614172  hardcode_into_libs=yes
    1462714173
    14628   # Ideally, we could use ldconfig to report *all* directores which are
    14629   # searched for libraries, however this is still not possible.  Aside from not
    14630   # being certain /sbin/ldconfig is available, command
    14631   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
    14632   # even though it is searched at run-time.  Try to do the best guess by
    14633   # appending ld.so.conf contents (and includes) to the search path.
     14174  # Append ld.so.conf contents to the search path
    1463414175  if test -f /etc/ld.so.conf; then
    1463514176    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' ' '`
     
    1466314204  need_version=no
    1466414205  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    14665     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     14206    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    1466614207    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    1466714208    dynamic_linker='NetBSD (a.out) ld.so'
    1466814209  else
    14669     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14670     soname_spec='$libname$release$shared_ext$major'
     14210    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     14211    soname_spec='${libname}${release}${shared_ext}$major'
    1467114212    dynamic_linker='NetBSD ld.elf_so'
    1467214213  fi
     
    1467814219newsos6)
    1467914220  version_type=linux # correct to gnu/linux during the next big refactor
    14680   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     14221  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1468114222  shlibpath_var=LD_LIBRARY_PATH
    1468214223  shlibpath_overrides_runpath=yes
     
    1468714228  need_lib_prefix=no
    1468814229  need_version=no
    14689   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14690   soname_spec='$libname$release$shared_ext$major'
     14230  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     14231  soname_spec='${libname}${release}${shared_ext}$major'
    1469114232  shlibpath_var=LD_LIBRARY_PATH
    1469214233  shlibpath_overrides_runpath=no
     
    1469514236  ;;
    1469614237
    14697 openbsd* | bitrig*)
     14238openbsd*)
    1469814239  version_type=sunos
    14699   sys_lib_dlsearch_path_spec=/usr/lib
     14240  sys_lib_dlsearch_path_spec="/usr/lib"
    1470014241  need_lib_prefix=no
    14701   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    14702     need_version=no
    14703   else
    14704     need_version=yes
    14705   fi
    14706   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     14242  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
     14243  case $host_os in
     14244    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
     14245    *)                          need_version=no  ;;
     14246  esac
     14247  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    1470714248  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    1470814249  shlibpath_var=LD_LIBRARY_PATH
    14709   shlibpath_overrides_runpath=yes
     14250  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     14251    case $host_os in
     14252      openbsd2.[89] | openbsd2.[89].*)
     14253        shlibpath_overrides_runpath=no
     14254        ;;
     14255      *)
     14256        shlibpath_overrides_runpath=yes
     14257        ;;
     14258      esac
     14259  else
     14260    shlibpath_overrides_runpath=yes
     14261  fi
    1471014262  ;;
    1471114263
    1471214264os2*)
    1471314265  libname_spec='$name'
    14714   version_type=windows
    14715   shrext_cmds=.dll
    14716   need_version=no
     14266  shrext_cmds=".dll"
    1471714267  need_lib_prefix=no
    14718   # OS/2 can only load a DLL with a base name of 8 characters or less.
    14719   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
    14720     v=$($ECHO $release$versuffix | tr -d .-);
    14721     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
    14722     $ECHO $n$v`$shared_ext'
    14723   library_names_spec='${libname}_dll.$libext'
     14268  library_names_spec='$libname${shared_ext} $libname.a'
    1472414269  dynamic_linker='OS/2 ld.exe'
    14725   shlibpath_var=BEGINLIBPATH
    14726   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    14727   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    14728   postinstall_cmds='base_file=`basename \$file`~
    14729     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
    14730     dldir=$destdir/`dirname \$dlpath`~
    14731     test -d \$dldir || mkdir -p \$dldir~
    14732     $install_prog $dir/$dlname \$dldir/$dlname~
    14733     chmod a+x \$dldir/$dlname~
    14734     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    14735       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    14736     fi'
    14737   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
    14738     dlpath=$dir/\$dldll~
    14739     $RM \$dlpath'
     14270  shlibpath_var=LIBPATH
    1474014271  ;;
    1474114272
     
    1474414275  need_lib_prefix=no
    1474514276  need_version=no
    14746   soname_spec='$libname$release$shared_ext$major'
    14747   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     14277  soname_spec='${libname}${release}${shared_ext}$major'
     14278  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1474814279  shlibpath_var=LD_LIBRARY_PATH
    1474914280  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    14750   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     14281  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
    1475114282  ;;
    1475214283
     
    1475914290  need_lib_prefix=no
    1476014291  need_version=no
    14761   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14762   soname_spec='$libname$release$shared_ext$major'
     14292  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     14293  soname_spec='${libname}${release}${shared_ext}$major'
    1476314294  shlibpath_var=LD_LIBRARY_PATH
    1476414295  shlibpath_overrides_runpath=yes
     
    1477014301sunos4*)
    1477114302  version_type=sunos
    14772   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     14303  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    1477314304  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    1477414305  shlibpath_var=LD_LIBRARY_PATH
    1477514306  shlibpath_overrides_runpath=yes
    14776   if test yes = "$with_gnu_ld"; then
     14307  if test "$with_gnu_ld" = yes; then
    1477714308    need_lib_prefix=no
    1477814309  fi
     
    1478214313sysv4 | sysv4.3*)
    1478314314  version_type=linux # correct to gnu/linux during the next big refactor
    14784   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14785   soname_spec='$libname$release$shared_ext$major'
     14315  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     14316  soname_spec='${libname}${release}${shared_ext}$major'
    1478614317  shlibpath_var=LD_LIBRARY_PATH
    1478714318  case $host_vendor in
     
    1480414335
    1480514336sysv4*MP*)
    14806   if test -d /usr/nec; then
     14337  if test -d /usr/nec ;then
    1480714338    version_type=linux # correct to gnu/linux during the next big refactor
    14808     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
    14809     soname_spec='$libname$shared_ext.$major'
     14339    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
     14340    soname_spec='$libname${shared_ext}.$major'
    1481014341    shlibpath_var=LD_LIBRARY_PATH
    1481114342  fi
     
    1481314344
    1481414345sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    14815   version_type=sco
     14346  version_type=freebsd-elf
    1481614347  need_lib_prefix=no
    1481714348  need_version=no
    14818   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
    14819   soname_spec='$libname$release$shared_ext$major'
     14349  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     14350  soname_spec='${libname}${release}${shared_ext}$major'
    1482014351  shlibpath_var=LD_LIBRARY_PATH
    1482114352  shlibpath_overrides_runpath=yes
    1482214353  hardcode_into_libs=yes
    14823   if test yes = "$with_gnu_ld"; then
     14354  if test "$with_gnu_ld" = yes; then
    1482414355    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    1482514356  else
     
    1483914370  need_lib_prefix=no
    1484014371  need_version=no
    14841   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     14372  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1484214373  shlibpath_var=LD_LIBRARY_PATH
    1484314374  shlibpath_overrides_runpath=no
     
    1484714378uts4*)
    1484814379  version_type=linux # correct to gnu/linux during the next big refactor
    14849   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    14850   soname_spec='$libname$release$shared_ext$major'
     14380  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     14381  soname_spec='${libname}${release}${shared_ext}$major'
    1485114382  shlibpath_var=LD_LIBRARY_PATH
    1485214383  ;;
     
    1485814389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
    1485914390$as_echo "$dynamic_linker" >&6; }
    14860 test no = "$dynamic_linker" && can_build_shared=no
     14391test "$dynamic_linker" = no && can_build_shared=no
    1486114392
    1486214393variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    14863 if test yes = "$GCC"; then
     14394if test "$GCC" = yes; then
    1486414395  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    1486514396fi
    1486614397
    14867 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
    14868   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
    14869 fi
    14870 
    14871 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
    14872   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
    14873 fi
    14874 
    14875 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
    14876 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
    14877 
    14878 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
    14879 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
    14880 
    14881 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
    14882 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
    14883 
    14884 
    14885 
    14886 
    14887 
     14398if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
     14399  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
     14400fi
     14401if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
     14402  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
     14403fi
    1488814404
    1488914405
     
    1498314499if test -n "$hardcode_libdir_flag_spec" ||
    1498414500   test -n "$runpath_var" ||
    14985    test yes = "$hardcode_automatic"; then
     14501   test "X$hardcode_automatic" = "Xyes" ; then
    1498614502
    1498714503  # We can hardcode non-existent directories.
    14988   if test no != "$hardcode_direct" &&
     14504  if test "$hardcode_direct" != no &&
    1498914505     # If the only mechanism to avoid hardcoding is shlibpath_var, we
    1499014506     # have to relink, otherwise we might link with an installed library
    1499114507     # when we should be linking with a yet-to-be-installed one
    14992      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
    14993      test no != "$hardcode_minus_L"; then
     14508     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
     14509     test "$hardcode_minus_L" != no; then
    1499414510    # Linking always hardcodes the temporary library directory.
    1499514511    hardcode_action=relink
     
    1500614522$as_echo "$hardcode_action" >&6; }
    1500714523
    15008 if test relink = "$hardcode_action" ||
    15009    test yes = "$inherit_rpath"; then
     14524if test "$hardcode_action" = relink ||
     14525   test "$inherit_rpath" = yes; then
    1501014526  # Fast installation is not supported
    1501114527  enable_fast_install=no
    15012 elif test yes = "$shlibpath_overrides_runpath" ||
    15013      test no = "$enable_shared"; then
     14528elif test "$shlibpath_overrides_runpath" = yes ||
     14529     test "$enable_shared" = no; then
    1501414530  # Fast installation is not necessary
    1501514531  enable_fast_install=needless
     
    1502114537
    1502214538
    15023   if test yes != "$enable_dlopen"; then
     14539  if test "x$enable_dlopen" != xyes; then
    1502414540  enable_dlopen=unknown
    1502514541  enable_dlopen_self=unknown
     
    1503114547  case $host_os in
    1503214548  beos*)
    15033     lt_cv_dlopen=load_add_on
     14549    lt_cv_dlopen="load_add_on"
    1503414550    lt_cv_dlopen_libs=
    1503514551    lt_cv_dlopen_self=yes
     
    1503714553
    1503814554  mingw* | pw32* | cegcc*)
    15039     lt_cv_dlopen=LoadLibrary
     14555    lt_cv_dlopen="LoadLibrary"
    1504014556    lt_cv_dlopen_libs=
    1504114557    ;;
    1504214558
    1504314559  cygwin*)
    15044     lt_cv_dlopen=dlopen
     14560    lt_cv_dlopen="dlopen"
    1504514561    lt_cv_dlopen_libs=
    1504614562    ;;
    1504714563
    1504814564  darwin*)
    15049     # if libdl is installed we need to link against it
     14565  # if libdl is installed we need to link against it
    1505014566    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    1505114567$as_echo_n "checking for dlopen in -ldl... " >&6; }
     
    1508514601$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    1508614602if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    15087   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
    15088 else
    15089 
    15090     lt_cv_dlopen=dyld
     14603  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
     14604else
     14605
     14606    lt_cv_dlopen="dyld"
    1509114607    lt_cv_dlopen_libs=
    1509214608    lt_cv_dlopen_self=yes
     
    1509414610fi
    1509514611
    15096     ;;
    15097 
    15098   tpf*)
    15099     # Don't try to run any link tests for TPF.  We know it's impossible
    15100     # because TPF is a cross-compiler, and we know how we open DSOs.
    15101     lt_cv_dlopen=dlopen
    15102     lt_cv_dlopen_libs=
    15103     lt_cv_dlopen_self=no
    1510414612    ;;
    1510514613
     
    1510714615    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
    1510814616if test "x$ac_cv_func_shl_load" = xyes; then :
    15109   lt_cv_dlopen=shl_load
     14617  lt_cv_dlopen="shl_load"
    1511014618else
    1511114619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     
    1514614654$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    1514714655if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    15148   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
     14656  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
    1514914657else
    1515014658  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
    1515114659if test "x$ac_cv_func_dlopen" = xyes; then :
    15152   lt_cv_dlopen=dlopen
     14660  lt_cv_dlopen="dlopen"
    1515314661else
    1515414662  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     
    1518914697$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    1519014698if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    15191   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
     14699  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
    1519214700else
    1519314701  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
     
    1522814736$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
    1522914737if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
    15230   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
     14738  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
    1523114739else
    1523214740  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
     
    1526714775$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
    1526814776if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
    15269   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
     14777  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
    1527014778fi
    1527114779
     
    1528814796  esac
    1528914797
    15290   if test no = "$lt_cv_dlopen"; then
     14798  if test "x$lt_cv_dlopen" != xno; then
     14799    enable_dlopen=yes
     14800  else
    1529114801    enable_dlopen=no
    15292   else
    15293     enable_dlopen=yes
    1529414802  fi
    1529514803
    1529614804  case $lt_cv_dlopen in
    1529714805  dlopen)
    15298     save_CPPFLAGS=$CPPFLAGS
    15299     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    15300 
    15301     save_LDFLAGS=$LDFLAGS
     14806    save_CPPFLAGS="$CPPFLAGS"
     14807    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
     14808
     14809    save_LDFLAGS="$LDFLAGS"
    1530214810    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
    1530314811
    15304     save_LIBS=$LIBS
     14812    save_LIBS="$LIBS"
    1530514813    LIBS="$lt_cv_dlopen_libs $LIBS"
    1530614814
     
    1531014818  $as_echo_n "(cached) " >&6
    1531114819else
    15312           if test yes = "$cross_compiling"; then :
     14820          if test "$cross_compiling" = yes; then :
    1531314821  lt_cv_dlopen_self=cross
    1531414822else
     
    1535714865#endif
    1535814866
    15359 /* When -fvisibility=hidden is used, assume the code has been annotated
     14867/* When -fvisbility=hidden is used, assume the code has been annotated
    1536014868   correspondingly for the symbols needed.  */
    15361 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     14869#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    1536214870int fnord () __attribute__((visibility("default")));
    1536314871#endif
     
    1538914897  ac_status=$?
    1539014898  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    15391   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
     14899  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
    1539214900    (./conftest; exit; ) >&5 2>/dev/null
    1539314901    lt_status=$?
     
    1540914917$as_echo "$lt_cv_dlopen_self" >&6; }
    1541014918
    15411     if test yes = "$lt_cv_dlopen_self"; then
     14919    if test "x$lt_cv_dlopen_self" = xyes; then
    1541214920      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
    1541314921      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
     
    1541614924  $as_echo_n "(cached) " >&6
    1541714925else
    15418           if test yes = "$cross_compiling"; then :
     14926          if test "$cross_compiling" = yes; then :
    1541914927  lt_cv_dlopen_self_static=cross
    1542014928else
     
    1546314971#endif
    1546414972
    15465 /* When -fvisibility=hidden is used, assume the code has been annotated
     14973/* When -fvisbility=hidden is used, assume the code has been annotated
    1546614974   correspondingly for the symbols needed.  */
    15467 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     14975#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    1546814976int fnord () __attribute__((visibility("default")));
    1546914977#endif
     
    1549515003  ac_status=$?
    1549615004  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    15497   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
     15005  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
    1549815006    (./conftest; exit; ) >&5 2>/dev/null
    1549915007    lt_status=$?
     
    1551615024    fi
    1551715025
    15518     CPPFLAGS=$save_CPPFLAGS
    15519     LDFLAGS=$save_LDFLAGS
    15520     LIBS=$save_LIBS
     15026    CPPFLAGS="$save_CPPFLAGS"
     15027    LDFLAGS="$save_LDFLAGS"
     15028    LIBS="$save_LIBS"
    1552115029    ;;
    1552215030  esac
     
    1556215070  case $host_os in
    1556315071  darwin*)
    15564     if test -n "$STRIP"; then
     15072    if test -n "$STRIP" ; then
    1556515073      striplib="$STRIP -x"
    1556615074      old_striplib="$STRIP -S"
     
    1559015098
    1559115099
    15592   # Report what library types will actually be built
     15100  # Report which library types will actually be built
    1559315101  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
    1559415102$as_echo_n "checking if libtool supports shared libraries... " >&6; }
     
    1559815106  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
    1559915107$as_echo_n "checking whether to build shared libraries... " >&6; }
    15600   test no = "$can_build_shared" && enable_shared=no
     15108  test "$can_build_shared" = "no" && enable_shared=no
    1560115109
    1560215110  # On AIX, shared libraries and static libraries use the same namespace, and
     
    1560415112  case $host_os in
    1560515113  aix3*)
    15606     test yes = "$enable_shared" && enable_static=no
     15114    test "$enable_shared" = yes && enable_static=no
    1560715115    if test -n "$RANLIB"; then
    1560815116      archive_cmds="$archive_cmds~\$RANLIB \$lib"
     
    1561215120
    1561315121  aix[4-9]*)
    15614     if test ia64 != "$host_cpu"; then
    15615       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
    15616       yes,aix,yes) ;;                   # shared object as lib.so file only
    15617       yes,svr4,*) ;;                    # shared object as lib.so archive member only
    15618       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
    15619       esac
     15122    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
     15123      test "$enable_shared" = yes && enable_static=no
    1562015124    fi
    1562115125    ;;
     
    1562715131$as_echo_n "checking whether to build static libraries... " >&6; }
    1562815132  # Make sure either enable_shared or enable_static is yes.
    15629   test yes = "$enable_shared" || enable_static=yes
     15133  test "$enable_shared" = yes || enable_static=yes
    1563015134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
    1563115135$as_echo "$enable_static" >&6; }
     
    1564115145ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    1564215146
    15643 CC=$lt_save_CC
    15644 
    15645       if test -n "$CXX" && ( test no != "$CXX" &&
    15646     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
    15647     (test g++ != "$CXX"))); then
     15147CC="$lt_save_CC"
     15148
     15149      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
     15150    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
     15151    (test "X$CXX" != "Xg++"))) ; then
    1564815152  ac_ext=cpp
    1564915153ac_cpp='$CXXCPP $CPPFLAGS'
     
    1582415328# are currently assumed to apply to all compilers on this platform,
    1582515329# and will be corrupted by setting them based on a non-working compiler.
    15826 if test yes != "$_lt_caught_CXX_error"; then
     15330if test "$_lt_caught_CXX_error" != yes; then
    1582715331  # Code to be used in simple compile tests
    1582815332  lt_simple_compile_test_code="int some_variable = 0;"
     
    1588515389  compiler=$CC
    1588615390  compiler_CXX=$CC
    15887   func_cc_basename $compiler
    15888 cc_basename=$func_cc_basename_result
     15391  for cc_temp in $compiler""; do
     15392  case $cc_temp in
     15393    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     15394    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     15395    \-*) ;;
     15396    *) break;;
     15397  esac
     15398done
     15399cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    1588915400
    1589015401
     
    1589215403    # We don't want -fno-exception when compiling C++ code, so set the
    1589315404    # no_builtin_flag separately
    15894     if test yes = "$GXX"; then
     15405    if test "$GXX" = yes; then
    1589515406      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
    1589615407    else
     
    1589815409    fi
    1589915410
    15900     if test yes = "$GXX"; then
     15411    if test "$GXX" = yes; then
    1590115412      # Set up default GNU C++ configuration
    1590215413
     
    1590515416# Check whether --with-gnu-ld was given.
    1590615417if test "${with_gnu_ld+set}" = set; then :
    15907   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
     15418  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
    1590815419else
    1590915420  with_gnu_ld=no
     
    1591115422
    1591215423ac_prog=ld
    15913 if test yes = "$GCC"; then
     15424if test "$GCC" = yes; then
    1591415425  # Check if gcc -print-prog-name=ld gives a path.
    1591515426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     
    1591715428  case $host in
    1591815429  *-*-mingw*)
    15919     # gcc leaves a trailing carriage return, which upsets mingw
     15430    # gcc leaves a trailing carriage return which upsets mingw
    1592015431    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    1592115432  *)
     
    1593115442        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    1593215443      done
    15933       test -z "$LD" && LD=$ac_prog
     15444      test -z "$LD" && LD="$ac_prog"
    1593415445      ;;
    1593515446  "")
     
    1594215453    ;;
    1594315454  esac
    15944 elif test yes = "$with_gnu_ld"; then
     15455elif test "$with_gnu_ld" = yes; then
    1594515456  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
    1594615457$as_echo_n "checking for GNU ld... " >&6; }
     
    1595315464else
    1595415465  if test -z "$LD"; then
    15955   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     15466  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    1595615467  for ac_dir in $PATH; do
    15957     IFS=$lt_save_ifs
     15468    IFS="$lt_save_ifs"
    1595815469    test -z "$ac_dir" && ac_dir=.
    1595915470    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    15960       lt_cv_path_LD=$ac_dir/$ac_prog
     15471      lt_cv_path_LD="$ac_dir/$ac_prog"
    1596115472      # Check to see if the program is GNU ld.  I'd rather use --version,
    1596215473      # but apparently some variants of GNU ld only accept -v.
     
    1596415475      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    1596515476      *GNU* | *'with BFD'*)
    15966         test no != "$with_gnu_ld" && break
     15477        test "$with_gnu_ld" != no && break
    1596715478        ;;
    1596815479      *)
    15969         test yes != "$with_gnu_ld" && break
     15480        test "$with_gnu_ld" != yes && break
    1597015481        ;;
    1597115482      esac
    1597215483    fi
    1597315484  done
    15974   IFS=$lt_save_ifs
    15975 else
    15976   lt_cv_path_LD=$LD # Let the user override the test with a path.
    15977 fi
    15978 fi
    15979 
    15980 LD=$lt_cv_path_LD
     15485  IFS="$lt_save_ifs"
     15486else
     15487  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     15488fi
     15489fi
     15490
     15491LD="$lt_cv_path_LD"
    1598115492if test -n "$LD"; then
    1598215493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     
    1601415525      # Check if GNU C++ uses GNU ld as the underlying linker, since the
    1601515526      # archiving commands below assume that GNU ld is being used.
    16016       if test yes = "$with_gnu_ld"; then
    16017         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    16018         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    16019 
    16020         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    16021         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     15527      if test "$with_gnu_ld" = yes; then
     15528        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
     15529        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     15530
     15531        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
     15532        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    1602215533
    1602315534        # If archive_cmds runs LD, not CC, wlarc should be empty
    1602415535        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
    1602515536        #     investigate it a little bit more. (MM)
    16026         wlarc='$wl'
     15537        wlarc='${wl}'
    1602715538
    1602815539        # ancient GNU ld didn't support --whole-archive et. al.
    1602915540        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
    1603015541          $GREP 'no-whole-archive' > /dev/null; then
    16031           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     15542          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    1603215543        else
    1603315544          whole_archive_flag_spec_CXX=
     
    1606615577        ;;
    1606715578      aix[4-9]*)
    16068         if test ia64 = "$host_cpu"; then
     15579        if test "$host_cpu" = ia64; then
    1606915580          # On IA64, the linker does run time linking by default, so we don't
    1607015581          # have to do anything special.
    1607115582          aix_use_runtimelinking=no
    1607215583          exp_sym_flag='-Bexport'
    16073           no_entry_flag=
     15584          no_entry_flag=""
    1607415585        else
    1607515586          aix_use_runtimelinking=no
     
    1607715588          # Test if we are trying to use run time linking or normal
    1607815589          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    16079           # have runtime linking enabled, and use it for executables.
    16080           # For shared libraries, we enable/disable runtime linking
    16081           # depending on the kind of the shared library created -
    16082           # when "with_aix_soname,aix_use_runtimelinking" is:
    16083           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
    16084           # "aix,yes"  lib.so          shared, rtl:yes, for executables
    16085           #            lib.a           static archive
    16086           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
    16087           #            lib.a(lib.so.V) shared, rtl:no,  for executables
    16088           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
    16089           #            lib.a(lib.so.V) shared, rtl:no
    16090           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
    16091           #            lib.a           static archive
     15590          # need to do runtime linking.
    1609215591          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    1609315592            for ld_flag in $LDFLAGS; do
     
    1609915598              esac
    1610015599            done
    16101             if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
    16102               # With aix-soname=svr4, we create the lib.so.V shared archives only,
    16103               # so we don't have lib.a shared libs to link our executables.
    16104               # We have to force runtime linking in this case.
    16105               aix_use_runtimelinking=yes
    16106               LDFLAGS="$LDFLAGS -Wl,-brtl"
    16107             fi
    1610815600            ;;
    1610915601          esac
     
    1612415616        hardcode_libdir_separator_CXX=':'
    1612515617        link_all_deplibs_CXX=yes
    16126         file_list_spec_CXX='$wl-f,'
    16127         case $with_aix_soname,$aix_use_runtimelinking in
    16128         aix,*) ;;       # no import file
    16129         svr4,* | *,yes) # use import file
    16130           # The Import File defines what to hardcode.
    16131           hardcode_direct_CXX=no
    16132           hardcode_direct_absolute_CXX=no
    16133           ;;
    16134         esac
    16135 
    16136         if test yes = "$GXX"; then
     15618        file_list_spec_CXX='${wl}-f,'
     15619
     15620        if test "$GXX" = yes; then
    1613715621          case $host_os in aix4.[012]|aix4.[012].*)
    1613815622          # We only want to do this on AIX 4.2 and lower, the check
    1613915623          # below for broken collect2 doesn't work under 4.3+
    16140           collect2name=`$CC -print-prog-name=collect2`
     15624          collect2name=`${CC} -print-prog-name=collect2`
    1614115625          if test -f "$collect2name" &&
    1614215626             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     
    1615615640          esac
    1615715641          shared_flag='-shared'
    16158           if test yes = "$aix_use_runtimelinking"; then
    16159             shared_flag=$shared_flag' $wl-G'
     15642          if test "$aix_use_runtimelinking" = yes; then
     15643            shared_flag="$shared_flag "'${wl}-G'
    1616015644          fi
    16161           # Need to ensure runtime linking is disabled for the traditional
    16162           # shared library, or the linker may eventually find shared libraries
    16163           # /with/ Import File - we do not want to mix them.
    16164           shared_flag_aix='-shared'
    16165           shared_flag_svr4='-shared $wl-G'
    1616615645        else
    1616715646          # not using gcc
    16168           if test ia64 = "$host_cpu"; then
     15647          if test "$host_cpu" = ia64; then
    1616915648          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    1617015649          # chokes on -Wl,-G. The following line is correct:
    1617115650          shared_flag='-G'
    1617215651          else
    16173             if test yes = "$aix_use_runtimelinking"; then
    16174               shared_flag='$wl-G'
     15652            if test "$aix_use_runtimelinking" = yes; then
     15653              shared_flag='${wl}-G'
    1617515654            else
    16176               shared_flag='$wl-bM:SRE'
     15655              shared_flag='${wl}-bM:SRE'
    1617715656            fi
    16178             shared_flag_aix='$wl-bM:SRE'
    16179             shared_flag_svr4='$wl-G'
    1618015657          fi
    1618115658        fi
    1618215659
    16183         export_dynamic_flag_spec_CXX='$wl-bexpall'
     15660        export_dynamic_flag_spec_CXX='${wl}-bexpall'
    1618415661        # It seems that -bexpall does not export symbols beginning with
    1618515662        # underscore (_), so it is better to generate a list of symbols to
    1618615663        # export.
    1618715664        always_export_symbols_CXX=yes
    16188         if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
     15665        if test "$aix_use_runtimelinking" = yes; then
    1618915666          # Warning - without using the other runtime loading flags (-brtl),
    1619015667          # -berok will link without error, but may produce a broken library.
    16191           # The "-G" linker flag allows undefined symbols.
    16192           no_undefined_flag_CXX='-bernotok'
     15668          allow_undefined_flag_CXX='-berok'
    1619315669          # Determine the default libpath from the value encoded in an empty
    1619415670          # executable.
    16195           if test set = "${lt_cv_aix_libpath+set}"; then
     15671          if test "${lt_cv_aix_libpath+set}" = set; then
    1619615672  aix_libpath=$lt_cv_aix_libpath
    1619715673else
     
    1622815704    conftest$ac_exeext conftest.$ac_ext
    1622915705  if test -z "$lt_cv_aix_libpath__CXX"; then
    16230     lt_cv_aix_libpath__CXX=/usr/lib:/lib
     15706    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
    1623115707  fi
    1623215708
     
    1623615712fi
    1623715713
    16238           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
    16239 
    16240           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
     15714          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
     15715
     15716          archive_expsym_cmds_CXX='$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"
    1624115717        else
    16242           if test ia64 = "$host_cpu"; then
    16243             hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
     15718          if test "$host_cpu" = ia64; then
     15719            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
    1624415720            allow_undefined_flag_CXX="-z nodefs"
    16245             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
     15721            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
    1624615722          else
    1624715723            # Determine the default libpath from the value encoded in an
    1624815724            # empty executable.
    16249             if test set = "${lt_cv_aix_libpath+set}"; then
     15725            if test "${lt_cv_aix_libpath+set}" = set; then
    1625015726  aix_libpath=$lt_cv_aix_libpath
    1625115727else
     
    1628215758    conftest$ac_exeext conftest.$ac_ext
    1628315759  if test -z "$lt_cv_aix_libpath__CXX"; then
    16284     lt_cv_aix_libpath__CXX=/usr/lib:/lib
     15760    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
    1628515761  fi
    1628615762
     
    1629015766fi
    1629115767
    16292             hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
     15768            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
    1629315769            # Warning - without using the other run time loading flags,
    1629415770            # -berok will link without error, but may produce a broken library.
    16295             no_undefined_flag_CXX=' $wl-bernotok'
    16296             allow_undefined_flag_CXX=' $wl-berok'
    16297             if test yes = "$with_gnu_ld"; then
     15771            no_undefined_flag_CXX=' ${wl}-bernotok'
     15772            allow_undefined_flag_CXX=' ${wl}-berok'
     15773            if test "$with_gnu_ld" = yes; then
    1629815774              # We only use this code for GNU lds that support --whole-archive.
    16299               whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
     15775              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
    1630015776            else
    1630115777              # Exported symbols can be pulled into shared objects from archives
     
    1630315779            fi
    1630415780            archive_cmds_need_lc_CXX=yes
    16305             archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
    16306             # -brtl affects multiple linker settings, -berok does not and is overridden later
    16307             compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
    16308             if test svr4 != "$with_aix_soname"; then
    16309               # This is similar to how AIX traditionally builds its shared
    16310               # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
    16311               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
    16312             fi
    16313             if test aix != "$with_aix_soname"; then
    16314               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
    16315             else
    16316               # used by -dlpreopen to get the symbols
    16317               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
    16318             fi
    16319             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
     15781            # This is similar to how AIX traditionally builds its shared
     15782            # libraries.
     15783            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
    1632015784          fi
    1632115785        fi
     
    1632715791          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    1632815792          # support --undefined.  This deserves some investigation.  FIXME
    16329           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     15793          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    1633015794        else
    1633115795          ld_shlibs_CXX=no
     
    1635515819          libext=lib
    1635615820          # Tell ltmain to make .dll files, not .so files.
    16357           shrext_cmds=.dll
     15821          shrext_cmds=".dll"
    1635815822          # FIXME: Setting linknames here is a bad hack.
    16359           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
    16360           archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    16361               cp "$export_symbols" "$output_objdir/$soname.def";
    16362               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
    16363             else
    16364               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
    16365             fi~
    16366             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    16367             linknames='
     15823          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
     15824          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     15825              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
     15826            else
     15827              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
     15828            fi~
     15829            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     15830            linknames='
    1636815831          # The linker will not automatically build a static lib if we build a DLL.
    1636915832          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
     
    1637215835          old_postinstall_cmds_CXX='chmod 644 $oldlib'
    1637315836          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
    16374             lt_tool_outputfile="@TOOL_OUTPUT@"~
    16375             case $lt_outputfile in
    16376               *.exe|*.EXE) ;;
    16377               *)
    16378                 lt_outputfile=$lt_outputfile.exe
    16379                 lt_tool_outputfile=$lt_tool_outputfile.exe
    16380                 ;;
    16381             esac~
    16382             func_to_tool_file "$lt_outputfile"~
    16383             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
    16384               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    16385               $RM "$lt_outputfile.manifest";
    16386             fi'
     15837            lt_tool_outputfile="@TOOL_OUTPUT@"~
     15838            case $lt_outputfile in
     15839              *.exe|*.EXE) ;;
     15840              *)
     15841                lt_outputfile="$lt_outputfile.exe"
     15842                lt_tool_outputfile="$lt_tool_outputfile.exe"
     15843                ;;
     15844            esac~
     15845            func_to_tool_file "$lt_outputfile"~
     15846            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
     15847              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     15848              $RM "$lt_outputfile.manifest";
     15849            fi'
    1638715850          ;;
    1638815851        *)
     
    1639115854          # as there is no search path for DLLs.
    1639215855          hardcode_libdir_flag_spec_CXX='-L$libdir'
    16393           export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
     15856          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
    1639415857          allow_undefined_flag_CXX=unsupported
    1639515858          always_export_symbols_CXX=no
     
    1639715860
    1639815861          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    16399             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    16400             # If the export-symbols file already is a .def file, use it as
    16401             # is; otherwise, prepend EXPORTS...
    16402             archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    16403               cp $export_symbols $output_objdir/$soname.def;
    16404             else
    16405               echo EXPORTS > $output_objdir/$soname.def;
    16406               cat $export_symbols >> $output_objdir/$soname.def;
    16407             fi~
    16408             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     15862            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     15863            # If the export-symbols file already is a .def file (1st line
     15864            # is EXPORTS), use it as is; otherwise, prepend...
     15865            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     15866              cp $export_symbols $output_objdir/$soname.def;
     15867            else
     15868              echo EXPORTS > $output_objdir/$soname.def;
     15869              cat $export_symbols >> $output_objdir/$soname.def;
     15870            fi~
     15871            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    1640915872          else
    1641015873            ld_shlibs_CXX=no
     
    1642015883  hardcode_automatic_CXX=yes
    1642115884  hardcode_shlibpath_var_CXX=unsupported
    16422   if test yes = "$lt_cv_ld_force_load"; then
    16423     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     15885  if test "$lt_cv_ld_force_load" = "yes"; then
     15886    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
    1642415887
    1642515888  else
     
    1642715890  fi
    1642815891  link_all_deplibs_CXX=yes
    16429   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
     15892  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
    1643015893  case $cc_basename in
    16431      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
     15894     ifort*) _lt_dar_can_shared=yes ;;
    1643215895     *) _lt_dar_can_shared=$GCC ;;
    1643315896  esac
    16434   if test yes = "$_lt_dar_can_shared"; then
     15897  if test "$_lt_dar_can_shared" = "yes"; then
    1643515898    output_verbose_link_cmd=func_echo_all
    16436     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
    16437     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
    16438     archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
    16439     module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
    16440        if test yes != "$lt_cv_apple_cc_single_mod"; then
    16441       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
    16442       archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
     15899    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     15900    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     15901    archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
     15902    module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
     15903       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
     15904      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
     15905      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
    1644315906    fi
    1644415907
     
    1644715910  fi
    1644815911
    16449         ;;
    16450 
    16451       os2*)
    16452         hardcode_libdir_flag_spec_CXX='-L$libdir'
    16453         hardcode_minus_L_CXX=yes
    16454         allow_undefined_flag_CXX=unsupported
    16455         shrext_cmds=.dll
    16456         archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    16457           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    16458           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    16459           $ECHO EXPORTS >> $output_objdir/$libname.def~
    16460           emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    16461           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    16462           emximp -o $lib $output_objdir/$libname.def'
    16463         archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    16464           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    16465           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    16466           $ECHO EXPORTS >> $output_objdir/$libname.def~
    16467           prefix_cmds="$SED"~
    16468           if test EXPORTS = "`$SED 1q $export_symbols`"; then
    16469             prefix_cmds="$prefix_cmds -e 1d";
    16470           fi~
    16471           prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    16472           cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    16473           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    16474           emximp -o $lib $output_objdir/$libname.def'
    16475         old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    16476         enable_shared_with_static_runtimes_CXX=yes
    1647715912        ;;
    1647815913
     
    1651215947
    1651315948      haiku*)
    16514         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     15949        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    1651515950        link_all_deplibs_CXX=yes
    1651615951        ;;
    1651715952
    1651815953      hpux9*)
    16519         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
     15954        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
    1652015955        hardcode_libdir_separator_CXX=:
    16521         export_dynamic_flag_spec_CXX='$wl-E'
     15956        export_dynamic_flag_spec_CXX='${wl}-E'
    1652215957        hardcode_direct_CXX=yes
    1652315958        hardcode_minus_L_CXX=yes # Not in the search PATH,
     
    1653115966            ;;
    1653215967          aCC*)
    16533             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     15968            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    1653415969            # Commands to make compiler produce verbose output that lists
    1653515970            # what "hidden" libraries, object files and flags are used when
     
    1654015975            # from the output so that they don't get included in the library
    1654115976            # dependencies.
    16542             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"'
     15977            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"'
    1654315978            ;;
    1654415979          *)
    16545             if test yes = "$GXX"; then
    16546               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     15980            if test "$GXX" = yes; then
     15981              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    1654715982            else
    1654815983              # FIXME: insert proper C++ library support
     
    1655415989
    1655515990      hpux10*|hpux11*)
    16556         if test no = "$with_gnu_ld"; then
    16557           hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
     15991        if test $with_gnu_ld = no; then
     15992          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
    1655815993          hardcode_libdir_separator_CXX=:
    1655915994
     
    1656215997              ;;
    1656315998            *)
    16564               export_dynamic_flag_spec_CXX='$wl-E'
     15999              export_dynamic_flag_spec_CXX='${wl}-E'
    1656516000              ;;
    1656616001          esac
     
    1658816023            case $host_cpu in
    1658916024              hppa*64*)
    16590                 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     16025                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1659116026                ;;
    1659216027              ia64*)
    16593                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     16028                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1659416029                ;;
    1659516030              *)
    16596                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     16031                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1659716032                ;;
    1659816033            esac
     
    1660516040            # from the output so that they don't get included in the library
    1660616041            # dependencies.
    16607             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"'
     16042            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"'
    1660816043            ;;
    1660916044          *)
    16610             if test yes = "$GXX"; then
    16611               if test no = "$with_gnu_ld"; then
     16045            if test "$GXX" = yes; then
     16046              if test $with_gnu_ld = no; then
    1661216047                case $host_cpu in
    1661316048                  hppa*64*)
    16614                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     16049                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1661516050                    ;;
    1661616051                  ia64*)
    16617                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     16052                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1661816053                    ;;
    1661916054                  *)
    16620                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     16055                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1662116056                    ;;
    1662216057                esac
     
    1663316068        hardcode_direct_CXX=no
    1663416069        hardcode_shlibpath_var_CXX=no
    16635         hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    16636         export_dynamic_flag_spec_CXX='$wl-E'
     16070        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
     16071        export_dynamic_flag_spec_CXX='${wl}-E'
    1663716072        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    1663816073        # Instead, shared libraries are loaded at an image base (0x10000000 by
     
    1664116076        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    1664216077        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    16643         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    16644         archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     16078        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     16079        archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    1664516080        ;;
    1664616081      irix5* | irix6*)
     
    1664816083          CC*)
    1664916084            # SGI C++
    16650             archive_cmds_CXX='$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'
     16085            archive_cmds_CXX='$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'
    1665116086
    1665216087            # Archives containing C++ object files must be created using
     
    1665716092            ;;
    1665816093          *)
    16659             if test yes = "$GXX"; then
    16660               if test no = "$with_gnu_ld"; then
    16661                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
     16094            if test "$GXX" = yes; then
     16095              if test "$with_gnu_ld" = no; then
     16096                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    1666216097              else
    16663                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
     16098                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
    1666416099              fi
    1666516100            fi
     
    1666716102            ;;
    1666816103        esac
    16669         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     16104        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    1667016105        hardcode_libdir_separator_CXX=:
    1667116106        inherit_rpath_CXX=yes
     
    1668016115            # ends with ".so" (or ".sl" for HP-UX), so rename the library
    1668116116            # to its proper name (with version) after linking.
    16682             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
    16683             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
     16117            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
     16118            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
    1668416119            # Commands to make compiler produce verbose output that lists
    1668516120            # what "hidden" libraries, object files and flags are used when
     
    1669016125            # from the output so that they don't get included in the library
    1669116126            # dependencies.
    16692             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"'
    16693 
    16694             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    16695             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     16127            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"'
     16128
     16129            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
     16130            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    1669616131
    1669716132            # Archives containing C++ object files must be created using
     
    1670716142            case `$CC -V 2>&1` in
    1670816143              *"Version 7."*)
    16709                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    16710                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     16144                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
     16145                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    1671116146                ;;
    1671216147              *)  # Version 8.0 or newer
     
    1671516150                  ia64*) tmp_idyn=' -i_dynamic';;
    1671616151                esac
    16717                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    16718                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     16152                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     16153                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    1671916154                ;;
    1672016155            esac
    1672116156            archive_cmds_need_lc_CXX=no
    16722             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    16723             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    16724             whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
     16157            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
     16158            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
     16159            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
    1672516160            ;;
    1672616161          pgCC* | pgcpp*)
     
    1672916164            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
    1673016165              prelink_cmds_CXX='tpldir=Template.dir~
    16731                rm -rf $tpldir~
    16732                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
    16733                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
     16166                rm -rf $tpldir~
     16167                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
     16168                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
    1673416169              old_archive_cmds_CXX='tpldir=Template.dir~
    16735                 rm -rf $tpldir~
    16736                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
    16737                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
    16738                 $RANLIB $oldlib'
     16170                rm -rf $tpldir~
     16171                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
     16172                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
     16173                $RANLIB $oldlib'
    1673916174              archive_cmds_CXX='tpldir=Template.dir~
    16740                 rm -rf $tpldir~
    16741                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    16742                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     16175                rm -rf $tpldir~
     16176                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     16177                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
    1674316178              archive_expsym_cmds_CXX='tpldir=Template.dir~
    16744                 rm -rf $tpldir~
    16745                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    16746                 $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'
     16179                rm -rf $tpldir~
     16180                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     16181                $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'
    1674716182              ;;
    1674816183            *) # Version 6 and above use weak symbols
    16749               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    16750               archive_expsym_cmds_CXX='$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'
     16184              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
     16185              archive_expsym_cmds_CXX='$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'
    1675116186              ;;
    1675216187            esac
    1675316188
    16754             hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
    16755             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    16756             whole_archive_flag_spec_CXX='$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'
     16189            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
     16190            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
     16191            whole_archive_flag_spec_CXX='${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'
    1675716192            ;;
    1675816193          cxx*)
    1675916194            # Compaq C++
    16760             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    16761             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
     16195            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
     16196            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
    1676216197
    1676316198            runpath_var=LD_RUN_PATH
     
    1677316208            # from the output so that they don't get included in the library
    1677416209            # dependencies.
    16775             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'
     16210            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'
    1677616211            ;;
    1677716212          xl* | mpixl* | bgxl*)
    1677816213            # IBM XL 8.0 on PPC, with GNU ld
    16779             hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    16780             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    16781             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    16782             if test yes = "$supports_anon_versioning"; then
     16214            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
     16215            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
     16216            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     16217            if test "x$supports_anon_versioning" = xyes; then
    1678316218              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
    16784                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    16785                 echo "local: *; };" >> $output_objdir/$libname.ver~
    16786                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
     16219                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     16220                echo "local: *; };" >> $output_objdir/$libname.ver~
     16221                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    1678716222            fi
    1678816223            ;;
     
    1679216227              # Sun C++ 5.9
    1679316228              no_undefined_flag_CXX=' -zdefs'
    16794               archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    16795               archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
     16229              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     16230              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
    1679616231              hardcode_libdir_flag_spec_CXX='-R$libdir'
    16797               whole_archive_flag_spec_CXX='$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'
     16232              whole_archive_flag_spec_CXX='${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'
    1679816233              compiler_needs_object_CXX=yes
    1679916234
     
    1685316288        ;;
    1685416289
    16855       openbsd* | bitrig*)
     16290      openbsd2*)
     16291        # C++ shared libraries are fairly broken
     16292        ld_shlibs_CXX=no
     16293        ;;
     16294
     16295      openbsd*)
    1685616296        if test -f /usr/libexec/ld.so; then
    1685716297          hardcode_direct_CXX=yes
     
    1685916299          hardcode_direct_absolute_CXX=yes
    1686016300          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    16861           hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    16862           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
    16863             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
    16864             export_dynamic_flag_spec_CXX='$wl-E'
    16865             whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     16301          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
     16302          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     16303            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
     16304            export_dynamic_flag_spec_CXX='${wl}-E'
     16305            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    1686616306          fi
    1686716307          output_verbose_link_cmd=func_echo_all
     
    1687916319            # ends with ".so" (or ".sl" for HP-UX), so rename the library
    1688016320            # to its proper name (with version) after linking.
    16881             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
    16882 
    16883             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     16321            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
     16322
     16323            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    1688416324            hardcode_libdir_separator_CXX=:
    1688516325
     
    1689916339            case $host in
    1690016340              osf3*)
    16901                 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
    16902                 archive_cmds_CXX='$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'
    16903                 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     16341                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
     16342                archive_cmds_CXX='$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'
     16343                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    1690416344                ;;
    1690516345              *)
    1690616346                allow_undefined_flag_CXX=' -expect_unresolved \*'
    16907                 archive_cmds_CXX='$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'
     16347                archive_cmds_CXX='$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'
    1690816348                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
    16909                   echo "-hidden">> $lib.exp~
    16910                   $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~
    16911                   $RM $lib.exp'
     16349                  echo "-hidden">> $lib.exp~
     16350                  $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~
     16351                  $RM $lib.exp'
    1691216352                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
    1691316353                ;;
     
    1692416364            # from the output so that they don't get included in the library
    1692516365            # dependencies.
    16926             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"'
     16366            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"'
    1692716367            ;;
    1692816368          *)
    16929             if test yes,no = "$GXX,$with_gnu_ld"; then
    16930               allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
     16369            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
     16370              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
    1693116371              case $host in
    1693216372                osf3*)
    16933                   archive_cmds_CXX='$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'
     16373                  archive_cmds_CXX='$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'
    1693416374                  ;;
    1693516375                *)
    16936                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
     16376                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    1693716377                  ;;
    1693816378              esac
    1693916379
    16940               hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     16380              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    1694116381              hardcode_libdir_separator_CXX=:
    1694216382
     
    1698416424            archive_cmds_need_lc_CXX=yes
    1698516425            no_undefined_flag_CXX=' -zdefs'
    16986             archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     16426            archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1698716427            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    16988               $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     16428              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
    1698916429
    1699016430            hardcode_libdir_flag_spec_CXX='-R$libdir'
     
    1699416434              *)
    1699516435                # The compiler driver will combine and reorder linker options,
    16996                 # but understands '-z linker_flag'.
     16436                # but understands `-z linker_flag'.
    1699716437                # Supported since Solaris 2.6 (maybe 2.5.1?)
    1699816438                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
     
    1701116451          gcx*)
    1701216452            # Green Hills C++ Compiler
    17013             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
     16453            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    1701416454
    1701516455            # The C++ compiler must be used to create the archive.
     
    1701816458          *)
    1701916459            # GNU C++ compiler with Solaris linker
    17020             if test yes,no = "$GXX,$with_gnu_ld"; then
    17021               no_undefined_flag_CXX=' $wl-z ${wl}defs'
     16460            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
     16461              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
    1702216462              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
    17023                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
     16463                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    1702416464                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    17025                   $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     16465                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
    1702616466
    1702716467                # Commands to make compiler produce verbose output that lists
     
    1703016470                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    1703116471              else
    17032                 # g++ 2.7 appears to require '-G' NOT '-shared' on this
     16472                # g++ 2.7 appears to require `-G' NOT `-shared' on this
    1703316473                # platform.
    17034                 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
     16474                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    1703516475                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    17036                   $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     16476                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
    1703716477
    1703816478                # Commands to make compiler produce verbose output that lists
     
    1704216482              fi
    1704316483
    17044               hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
     16484              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
    1704516485              case $host_os in
    1704616486                solaris2.[0-5] | solaris2.[0-5].*) ;;
    1704716487                *)
    17048                   whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
     16488                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
    1704916489                  ;;
    1705016490              esac
     
    1705516495
    1705616496    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    17057       no_undefined_flag_CXX='$wl-z,text'
     16497      no_undefined_flag_CXX='${wl}-z,text'
    1705816498      archive_cmds_need_lc_CXX=no
    1705916499      hardcode_shlibpath_var_CXX=no
     
    1706216502      case $cc_basename in
    1706316503        CC*)
    17064           archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    17065           archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     16504          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     16505          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1706616506          ;;
    1706716507        *)
    17068           archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    17069           archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     16508          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     16509          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1707016510          ;;
    1707116511      esac
     
    1707316513
    1707416514      sysv5* | sco3.2v5* | sco5v6*)
    17075         # Note: We CANNOT use -z defs as we might desire, because we do not
     16515        # Note: We can NOT use -z defs as we might desire, because we do not
    1707616516        # link with -lc, and that would cause any symbols used from libc to
    1707716517        # always be unresolved, which means just about no library would
     
    1707916519        # though, which does catch some bad symbols but isn't as heavy-handed
    1708016520        # as -z defs.
    17081         no_undefined_flag_CXX='$wl-z,text'
    17082         allow_undefined_flag_CXX='$wl-z,nodefs'
     16521        no_undefined_flag_CXX='${wl}-z,text'
     16522        allow_undefined_flag_CXX='${wl}-z,nodefs'
    1708316523        archive_cmds_need_lc_CXX=no
    1708416524        hardcode_shlibpath_var_CXX=no
    17085         hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
     16525        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
    1708616526        hardcode_libdir_separator_CXX=':'
    1708716527        link_all_deplibs_CXX=yes
    17088         export_dynamic_flag_spec_CXX='$wl-Bexport'
     16528        export_dynamic_flag_spec_CXX='${wl}-Bexport'
    1708916529        runpath_var='LD_RUN_PATH'
    1709016530
    1709116531        case $cc_basename in
    1709216532          CC*)
    17093             archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    17094             archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     16533            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     16534            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1709516535            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
    17096               '"$old_archive_cmds_CXX"
     16536              '"$old_archive_cmds_CXX"
    1709716537            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
    17098               '"$reload_cmds_CXX"
     16538              '"$reload_cmds_CXX"
    1709916539            ;;
    1710016540          *)
    17101             archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    17102             archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     16541            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     16542            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1710316543            ;;
    1710416544        esac
     
    1713216572    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
    1713316573$as_echo "$ld_shlibs_CXX" >&6; }
    17134     test no = "$ld_shlibs_CXX" && can_build_shared=no
    17135 
    17136     GCC_CXX=$GXX
    17137     LD_CXX=$LD
     16574    test "$ld_shlibs_CXX" = no && can_build_shared=no
     16575
     16576    GCC_CXX="$GXX"
     16577    LD_CXX="$LD"
    1713816578
    1713916579    ## CAVEAT EMPTOR:
     
    1717916619
    1718016620  for p in `eval "$output_verbose_link_cmd"`; do
    17181     case $prev$p in
     16621    case ${prev}${p} in
    1718216622
    1718316623    -L* | -R* | -l*)
    1718416624       # Some compilers place space between "-{L,R}" and the path.
    1718516625       # Remove the space.
    17186        if test x-L = "$p" ||
    17187           test x-R = "$p"; then
     16626       if test $p = "-L" ||
     16627          test $p = "-R"; then
    1718816628         prev=$p
    1718916629         continue
     
    1720116641       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
    1720216642       esac
    17203        if test no = "$pre_test_object_deps_done"; then
    17204          case $prev in
     16643       if test "$pre_test_object_deps_done" = no; then
     16644         case ${prev} in
    1720516645         -L | -R)
    1720616646           # Internal compiler library paths should come after those
     
    1720816648           # user supplied libs so there is no need to process them.
    1720916649           if test -z "$compiler_lib_search_path_CXX"; then
    17210              compiler_lib_search_path_CXX=$prev$p
     16650             compiler_lib_search_path_CXX="${prev}${p}"
    1721116651           else
    17212              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
     16652             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
    1721316653           fi
    1721416654           ;;
     
    1721816658       else
    1721916659         if test -z "$postdeps_CXX"; then
    17220            postdeps_CXX=$prev$p
     16660           postdeps_CXX="${prev}${p}"
    1722116661         else
    17222            postdeps_CXX="${postdeps_CXX} $prev$p"
     16662           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
    1722316663         fi
    1722416664       fi
     
    1723516675       fi
    1723616676
    17237        if test no = "$pre_test_object_deps_done"; then
     16677       if test "$pre_test_object_deps_done" = no; then
    1723816678         if test -z "$predep_objects_CXX"; then
    17239            predep_objects_CXX=$p
     16679           predep_objects_CXX="$p"
    1724016680         else
    1724116681           predep_objects_CXX="$predep_objects_CXX $p"
     
    1724316683       else
    1724416684         if test -z "$postdep_objects_CXX"; then
    17245            postdep_objects_CXX=$p
     16685           postdep_objects_CXX="$p"
    1724616686         else
    1724716687           postdep_objects_CXX="$postdep_objects_CXX $p"
     
    1727316713  postdeps_CXX=
    1727416714  ;;
     16715
     16716linux*)
     16717  case `$CC -V 2>&1 | sed 5q` in
     16718  *Sun\ C*)
     16719    # Sun C++ 5.9
     16720
     16721    # The more standards-conforming stlport4 library is
     16722    # incompatible with the Cstd library. Avoid specifying
     16723    # it if it's in CXXFLAGS. Ignore libCrun as
     16724    # -library=stlport4 depends on it.
     16725    case " $CXX $CXXFLAGS " in
     16726    *" -library=stlport4 "*)
     16727      solaris_use_stlport4=yes
     16728      ;;
     16729    esac
     16730
     16731    if test "$solaris_use_stlport4" != yes; then
     16732      postdeps_CXX='-library=Cstd -library=Crun'
     16733    fi
     16734    ;;
     16735  esac
     16736  ;;
     16737
     16738solaris*)
     16739  case $cc_basename in
     16740  CC* | sunCC*)
     16741    # The more standards-conforming stlport4 library is
     16742    # incompatible with the Cstd library. Avoid specifying
     16743    # it if it's in CXXFLAGS. Ignore libCrun as
     16744    # -library=stlport4 depends on it.
     16745    case " $CXX $CXXFLAGS " in
     16746    *" -library=stlport4 "*)
     16747      solaris_use_stlport4=yes
     16748      ;;
     16749    esac
     16750
     16751    # Adding this requires a known-good setup of shared libraries for
     16752    # Sun compiler versions before 5.6, else PIC objects from an old
     16753    # archive will be linked into the output, leading to subtle bugs.
     16754    if test "$solaris_use_stlport4" != yes; then
     16755      postdeps_CXX='-library=Cstd -library=Crun'
     16756    fi
     16757    ;;
     16758  esac
     16759  ;;
    1727516760esac
    1727616761
     
    1728116766 compiler_lib_search_dirs_CXX=
    1728216767if test -n "${compiler_lib_search_path_CXX}"; then
    17283  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
     16768 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
    1728416769fi
    1728516770
     
    1732016805
    1732116806  # C++ specific cases for pic, static, wl, etc.
    17322   if test yes = "$GXX"; then
     16807  if test "$GXX" = yes; then
    1732316808    lt_prog_compiler_wl_CXX='-Wl,'
    1732416809    lt_prog_compiler_static_CXX='-static'
     
    1732716812    aix*)
    1732816813      # All AIX code is PIC.
    17329       if test ia64 = "$host_cpu"; then
     16814      if test "$host_cpu" = ia64; then
    1733016815        # AIX 5 now supports IA64 processor
    1733116816        lt_prog_compiler_static_CXX='-Bstatic'
    1733216817      fi
    17333       lt_prog_compiler_pic_CXX='-fPIC'
    1733416818      ;;
    1733516819
     
    1734216826      m68k)
    1734316827            # FIXME: we need at least 68020 code to build shared libraries, but
    17344             # adding the '-m68020' flag to GCC prevents building anything better,
    17345             # like '-m68040'.
     16828            # adding the `-m68020' flag to GCC prevents building anything better,
     16829            # like `-m68040'.
    1734616830            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
    1734716831        ;;
     
    1735816842      # (--disable-auto-import) libraries
    1735916843      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
    17360       case $host_os in
    17361       os2*)
    17362         lt_prog_compiler_static_CXX='$wl-static'
    17363         ;;
    17364       esac
    1736516844      ;;
    1736616845    darwin* | rhapsody*)
     
    1741216891      aix[4-9]*)
    1741316892        # All AIX code is PIC.
    17414         if test ia64 = "$host_cpu"; then
     16893        if test "$host_cpu" = ia64; then
    1741516894          # AIX 5 now supports IA64 processor
    1741616895          lt_prog_compiler_static_CXX='-Bstatic'
     
    1745216931          CC*)
    1745316932            lt_prog_compiler_wl_CXX='-Wl,'
    17454             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
    17455             if test ia64 != "$host_cpu"; then
     16933            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
     16934            if test "$host_cpu" != ia64; then
    1745616935              lt_prog_compiler_pic_CXX='+Z'
    1745716936            fi
     
    1745916938          aCC*)
    1746016939            lt_prog_compiler_wl_CXX='-Wl,'
    17461             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
     16940            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
    1746216941            case $host_cpu in
    1746316942            hppa*64*|ia64*)
     
    1749616975            ;;
    1749716976          ecpc* )
    17498             # old Intel C++ for x86_64, which still supported -KPIC.
     16977            # old Intel C++ for x86_64 which still supported -KPIC.
    1749916978            lt_prog_compiler_wl_CXX='-Wl,'
    1750016979            lt_prog_compiler_pic_CXX='-KPIC'
     
    1764117120
    1764217121case $host_os in
    17643   # For platforms that do not support PIC, -DPIC is meaningless:
     17122  # For platforms which do not support PIC, -DPIC is meaningless:
    1764417123  *djgpp*)
    1764517124    lt_prog_compiler_pic_CXX=
     
    1767317152   ac_outfile=conftest.$ac_objext
    1767417153   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    17675    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
     17154   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
    1767617155   # Insert the option either (1) after the last *FLAGS variable, or
    1767717156   # (2) before a word containing "conftest.", or (3) at the end.
     
    1770317182$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
    1770417183
    17705 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
     17184if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
    1770617185    case $lt_prog_compiler_pic_CXX in
    1770717186     "" | " "*) ;;
     
    1772917208else
    1773017209  lt_cv_prog_compiler_static_works_CXX=no
    17731    save_LDFLAGS=$LDFLAGS
     17210   save_LDFLAGS="$LDFLAGS"
    1773217211   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    1773317212   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     
    1774817227   fi
    1774917228   $RM -r conftest*
    17750    LDFLAGS=$save_LDFLAGS
     17229   LDFLAGS="$save_LDFLAGS"
    1775117230
    1775217231fi
     
    1775417233$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
    1775517234
    17756 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
     17235if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
    1775717236    :
    1775817237else
     
    1786817347
    1786917348
    17870 hard_links=nottested
    17871 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
     17349hard_links="nottested"
     17350if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
    1787217351  # do not overwrite the value of need_locks provided by the user
    1787317352  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     
    1788117360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
    1788217361$as_echo "$hard_links" >&6; }
    17883   if test no = "$hard_links"; then</