ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/configure
(Generate patch)

Comparing ircd-hybrid/trunk/configure (file contents):
Revision 4361 by michael, Sat Aug 2 20:51:40 2014 UTC vs.
Revision 4906 by michael, Sat Nov 22 21:40:31 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 4360 2014-08-02 20:40:29Z michael .
2 > # From configure.ac Id: configure.ac 4901 2014-11-22 18:31:53Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.1.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
# Line 593 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='TRUNK'
597 < PACKAGE_STRING='ircd-hybrid TRUNK'
596 > PACKAGE_VERSION='8.2.1'
597 > PACKAGE_STRING='ircd-hybrid 8.2.1'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 806 | Line 806 | with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808   enable_libgeoip
809 enable_openssl
809   enable_assert
810   enable_kqueue
811   enable_epoll
# Line 814 | Line 813 | enable_devpoll
813   enable_poll
814   enable_debugging
815   enable_warnings
816 + enable_openssl
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 1366 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8.2.1 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1436 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1460 | Line 1460 | Optional Features:
1460    --disable-libtool-lock  avoid locking (might break parallel builds)
1461    --enable-ltdl-install   install libltdl
1462    --disable-libgeoip      Disable GeoIP support
1463  --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1464  --disable-openssl            Disable OpenSSL support.
1463    --enable-assert         Enable assert() statements
1464    --enable-kqueue         Force kqueue usage.
1465    --enable-epoll          Force epoll usage.
# Line 1469 | Line 1467 | Optional Features:
1467    --enable-poll           Force poll usage.
1468    --enable-debugging      Enable debugging.
1469    --enable-warnings       Enable compiler warnings.
1470 +  --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1471 +  --disable-openssl            Disable LibreSSL/OpenSSL support.
1472  
1473   Optional Packages:
1474    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
# Line 1476 | Line 1476 | Optional Packages:
1476    --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1477                            both]
1478    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1479 <  --with-sysroot=DIR Search for dependent libraries within DIR
1480 <                        (or the compiler's sysroot if not specified).
1479 >  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1480 >                          compiler's sysroot if not specified).
1481    --with-included-ltdl    use the GNU ltdl sources included here
1482    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1483    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
# Line 1564 | Line 1564 | fi
1564   test -n "$ac_init_help" && exit $ac_status
1565   if $ac_init_version; then
1566    cat <<\_ACEOF
1567 < ircd-hybrid configure TRUNK
1567 > ircd-hybrid configure 8.2.1
1568   generated by GNU Autoconf 2.69
1569  
1570   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 2033 | Line 2033 | cat >config.log <<_ACEOF
2033   This file contains any messages produced by compilers while
2034   running configure, to aid debugging if configure makes a mistake.
2035  
2036 < It was created by ircd-hybrid $as_me TRUNK, which was
2036 > It was created by ircd-hybrid $as_me 8.2.1, which was
2037   generated by GNU Autoconf 2.69.  Invocation command line was
2038  
2039    $ $0 $@
# Line 2907 | Line 2907 | fi
2907  
2908   # Define the identity of the package.
2909   PACKAGE='ircd-hybrid'
2910 < VERSION='TRUNK'
2910 > VERSION='8.2.1'
2911  
2912  
2913   cat >>confdefs.h <<_ACEOF
# Line 4471 | Line 4471 | esac
4471  
4472  
4473  
4474 < macro_version='2.4.2'
4475 < macro_revision='1.3337'
4474 > macro_version='2.4.2.458.26-92994'
4475 > macro_revision='2.4.3'
4476  
4477  
4478  
# Line 4486 | Line 4486 | macro_revision='1.3337'
4486  
4487  
4488  
4489 < ltmain="$ac_aux_dir/ltmain.sh"
4489 > ltmain=$ac_aux_dir/ltmain.sh
4490  
4491   # Make sure we can run config.sub.
4492   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
# Line 4606 | Line 4606 | func_echo_all ()
4606      $ECHO ""
4607   }
4608  
4609 < case "$ECHO" in
4609 > case $ECHO in
4610    printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4611   $as_echo "printf" >&6; } ;;
4612    print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
# Line 4929 | Line 4929 | test -z "$GREP" && GREP=grep
4929  
4930   # Check whether --with-gnu-ld was given.
4931   if test "${with_gnu_ld+set}" = set; then :
4932 <  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4932 >  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4933   else
4934    with_gnu_ld=no
4935   fi
4936  
4937   ac_prog=ld
4938 < if test "$GCC" = yes; then
4938 > if test yes = "$GCC"; then
4939    # Check if gcc -print-prog-name=ld gives a path.
4940    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4941   $as_echo_n "checking for ld used by $CC... " >&6; }
4942    case $host in
4943    *-*-mingw*)
4944 <    # gcc leaves a trailing carriage return which upsets mingw
4944 >    # gcc leaves a trailing carriage return, which upsets mingw
4945      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4946    *)
4947      ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
# Line 4955 | Line 4955 | $as_echo_n "checking for ld used by $CC.
4955        while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4956          ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4957        done
4958 <      test -z "$LD" && LD="$ac_prog"
4958 >      test -z "$LD" && LD=$ac_prog
4959        ;;
4960    "")
4961      # If it fails, then pretend we aren't using GCC.
# Line 4966 | Line 4966 | $as_echo_n "checking for ld used by $CC.
4966      with_gnu_ld=unknown
4967      ;;
4968    esac
4969 < elif test "$with_gnu_ld" = yes; then
4969 > elif test yes = "$with_gnu_ld"; then
4970    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4971   $as_echo_n "checking for GNU ld... " >&6; }
4972   else
# Line 4977 | Line 4977 | if ${lt_cv_path_LD+:} false; then :
4977    $as_echo_n "(cached) " >&6
4978   else
4979    if test -z "$LD"; then
4980 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4980 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4981    for ac_dir in $PATH; do
4982 <    IFS="$lt_save_ifs"
4982 >    IFS=$lt_save_ifs
4983      test -z "$ac_dir" && ac_dir=.
4984      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4985 <      lt_cv_path_LD="$ac_dir/$ac_prog"
4985 >      lt_cv_path_LD=$ac_dir/$ac_prog
4986        # Check to see if the program is GNU ld.  I'd rather use --version,
4987        # but apparently some variants of GNU ld only accept -v.
4988        # Break only if it was the GNU/non-GNU ld that we prefer.
4989        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4990        *GNU* | *'with BFD'*)
4991 <        test "$with_gnu_ld" != no && break
4991 >        test no != "$with_gnu_ld" && break
4992          ;;
4993        *)
4994 <        test "$with_gnu_ld" != yes && break
4994 >        test yes != "$with_gnu_ld" && break
4995          ;;
4996        esac
4997      fi
4998    done
4999 <  IFS="$lt_save_ifs"
4999 >  IFS=$lt_save_ifs
5000   else
5001 <  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5001 >  lt_cv_path_LD=$LD # Let the user override the test with a path.
5002   fi
5003   fi
5004  
5005 < LD="$lt_cv_path_LD"
5005 > LD=$lt_cv_path_LD
5006   if test -n "$LD"; then
5007    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5008   $as_echo "$LD" >&6; }
# Line 5045 | Line 5045 | if ${lt_cv_path_NM+:} false; then :
5045   else
5046    if test -n "$NM"; then
5047    # Let the user override the test.
5048 <  lt_cv_path_NM="$NM"
5048 >  lt_cv_path_NM=$NM
5049   else
5050 <  lt_nm_to_check="${ac_tool_prefix}nm"
5050 >  lt_nm_to_check=${ac_tool_prefix}nm
5051    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5052      lt_nm_to_check="$lt_nm_to_check nm"
5053    fi
5054    for lt_tmp_nm in $lt_nm_to_check; do
5055 <    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5055 >    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5056      for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5057 <      IFS="$lt_save_ifs"
5057 >      IFS=$lt_save_ifs
5058        test -z "$ac_dir" && ac_dir=.
5059 <      tmp_nm="$ac_dir/$lt_tmp_nm"
5060 <      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5059 >      tmp_nm=$ac_dir/$lt_tmp_nm
5060 >      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5061          # Check to see if the nm accepts a BSD-compat flag.
5062 <        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5062 >        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5063          #   nm: unknown option "B" ignored
5064          # Tru64's nm complains that /dev/null is an invalid object file
5065 <        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5066 <        */dev/null* | *'Invalid file or object type'*)
5065 >        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5066 >        case $build_os in
5067 >        mingw*) lt_bad_file=conftest.nm/nofile ;;
5068 >        *) lt_bad_file=/dev/null ;;
5069 >        esac
5070 >        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5071 >        *$lt_bad_file* | *'Invalid file or object type'*)
5072            lt_cv_path_NM="$tmp_nm -B"
5073 <          break
5073 >          break 2
5074            ;;
5075          *)
5076            case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5077            */dev/null*)
5078              lt_cv_path_NM="$tmp_nm -p"
5079 <            break
5079 >            break 2
5080              ;;
5081            *)
5082              lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
# Line 5082 | Line 5087 | else
5087          esac
5088        fi
5089      done
5090 <    IFS="$lt_save_ifs"
5090 >    IFS=$lt_save_ifs
5091    done
5092    : ${lt_cv_path_NM=no}
5093   fi
5094   fi
5095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5096   $as_echo "$lt_cv_path_NM" >&6; }
5097 < if test "$lt_cv_path_NM" != "no"; then
5098 <  NM="$lt_cv_path_NM"
5097 > if test no != "$lt_cv_path_NM"; then
5098 >  NM=$lt_cv_path_NM
5099   else
5100    # Didn't find any BSD compatible name lister, look for dumpbin.
5101    if test -n "$DUMPBIN"; then :
# Line 5196 | Line 5201 | esac
5201    fi
5202   fi
5203  
5204 <    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5204 >    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5205      *COFF*)
5206 <      DUMPBIN="$DUMPBIN -symbols"
5206 >      DUMPBIN="$DUMPBIN -symbols -headers"
5207        ;;
5208      *)
5209        DUMPBIN=:
# Line 5206 | Line 5211 | fi
5211      esac
5212    fi
5213  
5214 <  if test "$DUMPBIN" != ":"; then
5215 <    NM="$DUMPBIN"
5214 >  if test : != "$DUMPBIN"; then
5215 >    NM=$DUMPBIN
5216    fi
5217   fi
5218   test -z "$NM" && NM=nm
# Line 5258 | Line 5263 | if ${lt_cv_sys_max_cmd_len+:} false; the
5263    $as_echo_n "(cached) " >&6
5264   else
5265      i=0
5266 <  teststring="ABCD"
5266 >  teststring=ABCD
5267  
5268    case $build_os in
5269    msdosdjgpp*)
# Line 5298 | Line 5303 | else
5303      lt_cv_sys_max_cmd_len=8192;
5304      ;;
5305  
5306 <  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5306 >  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5307      # This has been around since 386BSD, at least.  Likely further.
5308      if test -x /sbin/sysctl; then
5309        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
# Line 5348 | Line 5353 | else
5353      ;;
5354    *)
5355      lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5356 <    if test -n "$lt_cv_sys_max_cmd_len"; then
5356 >    if test -n "$lt_cv_sys_max_cmd_len" && \
5357 >       test undefined != "$lt_cv_sys_max_cmd_len"; then
5358        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5359        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5360      else
5361        # Make teststring a little bigger before we do anything with it.
5362        # a 1K string should be a reasonable start.
5363 <      for i in 1 2 3 4 5 6 7 8 ; do
5363 >      for i in 1 2 3 4 5 6 7 8; do
5364          teststring=$teststring$teststring
5365        done
5366        SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5367        # If test is not a shell built-in, we'll probably end up computing a
5368        # maximum length that is only half of the actual maximum length, but
5369        # we can't tell.
5370 <      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5370 >      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5371                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5372 <              test $i != 17 # 1/2 MB should be enough
5372 >              test 17 != "$i" # 1/2 MB should be enough
5373        do
5374          i=`expr $i + 1`
5375          teststring=$teststring$teststring
# Line 5381 | Line 5387 | else
5387  
5388   fi
5389  
5390 < if test -n $lt_cv_sys_max_cmd_len ; then
5390 > if test -n "$lt_cv_sys_max_cmd_len"; then
5391    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5392   $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5393   else
# Line 5399 | Line 5405 | max_cmd_len=$lt_cv_sys_max_cmd_len
5405   : ${MV="mv -f"}
5406   : ${RM="rm -f"}
5407  
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5403 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5404 # Try some XSI features
5405 xsi_shell=no
5406 ( _lt_dummy="a/b/c"
5407  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5408      = c,a/b,b/c, \
5409    && eval 'test $(( 1 + 1 )) -eq 2 \
5410    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5411  && xsi_shell=yes
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5413 $as_echo "$xsi_shell" >&6; }
5414
5415
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5417 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5418 lt_shell_append=no
5419 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5420    >/dev/null 2>&1 \
5421  && lt_shell_append=yes
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5423 $as_echo "$lt_shell_append" >&6; }
5424
5425
5408   if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5409    lt_unset=unset
5410   else
# Line 5545 | Line 5527 | esac
5527   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5528   case $host_os in
5529    cygwin* | mingw* | pw32* | cegcc*)
5530 <    if test "$GCC" != yes; then
5530 >    if test yes != "$GCC"; then
5531        reload_cmds=false
5532      fi
5533      ;;
5534    darwin*)
5535 <    if test "$GCC" = yes; then
5536 <      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5535 >    if test yes = "$GCC"; then
5536 >      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5537      else
5538        reload_cmds='$LD$reload_flag -o $output$reload_objs'
5539      fi
# Line 5679 | Line 5661 | lt_cv_deplibs_check_method='unknown'
5661   # Need to set the preceding variable on all platforms that support
5662   # interlibrary dependencies.
5663   # 'none' -- dependencies not supported.
5664 < # `unknown' -- same as none, but documents that we really don't know.
5664 > # 'unknown' -- same as none, but documents that we really don't know.
5665   # 'pass_all' -- all dependencies passed with no checks.
5666   # 'test_compile' -- check by making test program.
5667   # 'file_magic [[regex]]' -- check by looking for files in library path
5668 < # which responds to the $file_magic_cmd with a given extended regex.
5669 < # If you have `file' or equivalent on your system and you're not sure
5670 < # whether `pass_all' will *always* work, you probably want this one.
5668 > # that responds to the $file_magic_cmd with a given extended regex.
5669 > # If you have 'file' or equivalent on your system and you're not sure
5670 > # whether 'pass_all' will *always* work, you probably want this one.
5671  
5672   case $host_os in
5673   aix[4-9]*)
# Line 5712 | Line 5694 | mingw* | pw32*)
5694    # Base MSYS/MinGW do not provide the 'file' command needed by
5695    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5696    # unless we find 'file', for example because we are cross-compiling.
5697 <  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5716 <  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5697 >  if ( file / ) >/dev/null 2>&1; then
5698      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5699      lt_cv_file_magic_cmd='func_win32_libid'
5700    else
# Line 5749 | Line 5730 | freebsd* | dragonfly*)
5730    fi
5731    ;;
5732  
5752 gnu*)
5753  lt_cv_deplibs_check_method=pass_all
5754  ;;
5755
5733   haiku*)
5734    lt_cv_deplibs_check_method=pass_all
5735    ;;
# Line 5791 | Line 5768 | irix5* | irix6* | nonstopux*)
5768    ;;
5769  
5770   # This must be glibc/ELF.
5771 < linux* | k*bsd*-gnu | kopensolaris*-gnu)
5771 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5772    lt_cv_deplibs_check_method=pass_all
5773    ;;
5774  
# Line 5813 | Line 5790 | newos6*)
5790    lt_cv_deplibs_check_method=pass_all
5791    ;;
5792  
5793 < openbsd*)
5794 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5793 > openbsd* | bitrig*)
5794 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5795      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5796    else
5797      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
# Line 6024 | Line 6001 | else
6001  
6002   case $host_os in
6003   cygwin* | mingw* | pw32* | cegcc*)
6004 <  # two different shell functions defined in ltmain.sh
6005 <  # decide which to use based on capabilities of $DLLTOOL
6004 >  # two different shell functions defined in ltmain.sh;
6005 >  # decide which one to use based on capabilities of $DLLTOOL
6006    case `$DLLTOOL --help 2>&1` in
6007    *--identify-strict*)
6008      lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
# Line 6037 | Line 6014 | cygwin* | mingw* | pw32* | cegcc*)
6014    ;;
6015   *)
6016    # fallback: assume linklib IS sharedlib
6017 <  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6017 >  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6018    ;;
6019   esac
6020  
# Line 6191 | Line 6168 | if ac_fn_c_try_compile "$LINENO"; then :
6168    ac_status=$?
6169    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6170    test $ac_status = 0; }
6171 <      if test "$ac_status" -eq 0; then
6171 >      if test 0 -eq "$ac_status"; then
6172          # Ensure the archiver fails upon bogus file names.
6173          rm -f conftest.$ac_objext libconftest.a
6174          { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
# Line 6199 | Line 6176 | if ac_fn_c_try_compile "$LINENO"; then :
6176    ac_status=$?
6177    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6178    test $ac_status = 0; }
6179 <        if test "$ac_status" -ne 0; then
6179 >        if test 0 -ne "$ac_status"; then
6180            lt_cv_ar_at_file=@
6181          fi
6182        fi
# Line 6212 | Line 6189 | fi
6189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6190   $as_echo "$lt_cv_ar_at_file" >&6; }
6191  
6192 < if test "x$lt_cv_ar_at_file" = xno; then
6192 > if test no = "$lt_cv_ar_at_file"; then
6193    archiver_list_spec=
6194   else
6195    archiver_list_spec=$lt_cv_ar_at_file
# Line 6429 | Line 6406 | old_postuninstall_cmds=
6406  
6407   if test -n "$RANLIB"; then
6408    case $host_os in
6409 <  openbsd*)
6409 >  bitrig* | openbsd*)
6410      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6411      ;;
6412    *)
# Line 6519 | Line 6496 | cygwin* | mingw* | pw32* | cegcc*)
6496    symcode='[ABCDGISTW]'
6497    ;;
6498   hpux*)
6499 <  if test "$host_cpu" = ia64; then
6499 >  if test ia64 = "$host_cpu"; then
6500      symcode='[ABCDEGRST]'
6501    fi
6502    ;;
# Line 6552 | Line 6529 | case `$NM -V 2>&1` in
6529    symcode='[ABCDGIRSTW]' ;;
6530   esac
6531  
6532 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6533 +  # Gets list of data symbols to import.
6534 +  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6535 +  # Adjust the below global symbol transforms to fixup imported variables.
6536 +  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6537 +  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6538 +  lt_c_name_lib_hook="\
6539 +  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6540 +  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6541 + else
6542 +  # Disable hooks by default.
6543 +  lt_cv_sys_global_symbol_to_import=
6544 +  lt_cdecl_hook=
6545 +  lt_c_name_hook=
6546 +  lt_c_name_lib_hook=
6547 + fi
6548 +
6549   # Transform an extracted symbol line into a proper C declaration.
6550   # Some systems (esp. on ia64) link data and code symbols differently,
6551   # so use this general approach.
6552 < lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6552 > lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6553 > $lt_cdecl_hook\
6554 > " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6555 > " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6556  
6557   # Transform an extracted symbol line into symbol name and symbol address
6558 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6559 < lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6558 > lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6559 > $lt_c_name_hook\
6560 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6561 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6562 >
6563 > # Transform an extracted symbol line into symbol name with lib prefix and
6564 > # symbol address.
6565 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6566 > $lt_c_name_lib_hook\
6567 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6568 > " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6569 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6570  
6571   # Handle CRLF in mingw tool chain
6572   opt_cr=
# Line 6577 | Line 6584 | for ac_symprfx in "" "_"; do
6584  
6585    # Write the raw and C identifiers.
6586    if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6587 <    # Fake it for dumpbin and say T for any non-static function
6588 <    # and D for any global variable.
6587 >    # Fake it for dumpbin and say T for any non-static function,
6588 >    # D for any global variable and I for any imported variable.
6589      # Also find C++ and __fastcall symbols from MSVC++,
6590      # which start with @ or ?.
6591      lt_cv_sys_global_symbol_pipe="$AWK '"\
6592   "     {last_section=section; section=\$ 3};"\
6593   "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6594   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6595 + "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6596 + "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6597 + "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6598   "     \$ 0!~/External *\|/{next};"\
6599   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6600   "     {if(hide[section]) next};"\
6601 < "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6602 < "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6603 < "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6604 < "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6601 > "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6602 > "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6603 > "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6604 > "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6605   "     ' prfx=^$ac_symprfx"
6606    else
6607      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
# Line 6639 | Line 6649 | _LT_EOF
6649          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6650            cat <<_LT_EOF > conftest.$ac_ext
6651   /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6652 < #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6653 < /* DATA imports from DLLs on WIN32 con't be const, because runtime
6652 > #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6653 > /* DATA imports from DLLs on WIN32 can't be const, because runtime
6654     relocations are performed -- see ld's documentation on pseudo-relocs.  */
6655   # define LT_DLSYM_CONST
6656 < #elif defined(__osf__)
6656 > #elif defined __osf__
6657   /* This system does not cope well with relocations in const data.  */
6658   # define LT_DLSYM_CONST
6659   #else
# Line 6669 | Line 6679 | lt__PROGRAM__LTX_preloaded_symbols[] =
6679   {
6680    { "@PROGRAM@", (void *) 0 },
6681   _LT_EOF
6682 <          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6682 >          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6683            cat <<\_LT_EOF >> conftest.$ac_ext
6684    {0, (void *) 0}
6685   };
# Line 6689 | Line 6699 | _LT_EOF
6699            mv conftest.$ac_objext conftstm.$ac_objext
6700            lt_globsym_save_LIBS=$LIBS
6701            lt_globsym_save_CFLAGS=$CFLAGS
6702 <          LIBS="conftstm.$ac_objext"
6702 >          LIBS=conftstm.$ac_objext
6703            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6704            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6705    (eval $ac_link) 2>&5
6706    ac_status=$?
6707    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6708 <  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6708 >  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6709              pipe_works=yes
6710            fi
6711            LIBS=$lt_globsym_save_LIBS
# Line 6716 | Line 6726 | _LT_EOF
6726    rm -rf conftest* conftst*
6727  
6728    # Do not use the global_symbol_pipe unless it works.
6729 <  if test "$pipe_works" = yes; then
6729 >  if test yes = "$pipe_works"; then
6730      break
6731    else
6732      lt_cv_sys_global_symbol_pipe=
# Line 6769 | Line 6779 | fi
6779  
6780  
6781  
6782 +
6783 +
6784 +
6785 +
6786 +
6787 +
6788 +
6789 +
6790 +
6791 +
6792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6793   $as_echo_n "checking for sysroot... " >&6; }
6794  
# Line 6781 | Line 6801 | fi
6801  
6802  
6803   lt_sysroot=
6804 < case ${with_sysroot} in #(
6804 > case $with_sysroot in #(
6805   yes)
6806 <   if test "$GCC" = yes; then
6806 >   if test yes = "$GCC"; then
6807       lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6808     fi
6809     ;; #(
# Line 6793 | Line 6813 | case ${with_sysroot} in #(
6813   no|'')
6814     ;; #(
6815   *)
6816 <   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6817 < $as_echo "${with_sysroot}" >&6; }
6816 >   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6817 > $as_echo "$with_sysroot" >&6; }
6818     as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6819     ;;
6820   esac
# Line 6806 | Line 6826 | $as_echo "${lt_sysroot:-no}" >&6; }
6826  
6827  
6828  
6829 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6830 + $as_echo_n "checking for a working dd... " >&6; }
6831 + if ${ac_cv_path_lt_DD+:} false; then :
6832 +  $as_echo_n "(cached) " >&6
6833 + else
6834 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6835 + cat conftest.i conftest.i >conftest2.i
6836 + : ${lt_DD:=$DD}
6837 + if test -z "$lt_DD"; then
6838 +  ac_path_lt_DD_found=false
6839 +  # Loop through the user's path and test for each of PROGNAME-LIST
6840 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 + for as_dir in $PATH
6842 + do
6843 +  IFS=$as_save_IFS
6844 +  test -z "$as_dir" && as_dir=.
6845 +    for ac_prog in dd; do
6846 +    for ac_exec_ext in '' $ac_executable_extensions; do
6847 +      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6848 +      as_fn_executable_p "$ac_path_lt_DD" || continue
6849 + if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6850 +  cmp -s conftest.i conftest.out \
6851 +  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6852 + fi
6853 +      $ac_path_lt_DD_found && break 3
6854 +    done
6855 +  done
6856 +  done
6857 + IFS=$as_save_IFS
6858 +  if test -z "$ac_cv_path_lt_DD"; then
6859 +    :
6860 +  fi
6861 + else
6862 +  ac_cv_path_lt_DD=$lt_DD
6863 + fi
6864 +
6865 + rm -f conftest.i conftest2.i conftest.out
6866 + fi
6867 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6868 + $as_echo "$ac_cv_path_lt_DD" >&6; }
6869 +
6870 +
6871 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6872 + $as_echo_n "checking how to truncate binary pipes... " >&6; }
6873 + if ${lt_cv_truncate_bin+:} false; then :
6874 +  $as_echo_n "(cached) " >&6
6875 + else
6876 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6877 + cat conftest.i conftest.i >conftest2.i
6878 + lt_cv_truncate_bin=
6879 + if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6880 +  cmp -s conftest.i conftest.out \
6881 +  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6882 + fi
6883 + rm -f conftest.i conftest2.i conftest.out
6884 + test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6885 + fi
6886 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6887 + $as_echo "$lt_cv_truncate_bin" >&6; }
6888 +
6889 +
6890 +
6891 +
6892 +
6893 +
6894   # Check whether --enable-libtool-lock was given.
6895   if test "${enable_libtool_lock+set}" = set; then :
6896    enableval=$enable_libtool_lock;
6897   fi
6898  
6899 < test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6899 > test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6900  
6901   # Some flags need to be propagated to the compiler or linker for good
6902   # libtool support.
6903   case $host in
6904   ia64-*-hpux*)
6905 <  # Find out which ABI we are using.
6905 >  # Find out what ABI is being produced by ac_compile, and set mode
6906 >  # options accordingly.
6907    echo 'int i;' > conftest.$ac_ext
6908    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6909    (eval $ac_compile) 2>&5
# Line 6826 | Line 6912 | ia64-*-hpux*)
6912    test $ac_status = 0; }; then
6913      case `/usr/bin/file conftest.$ac_objext` in
6914        *ELF-32*)
6915 <        HPUX_IA64_MODE="32"
6915 >        HPUX_IA64_MODE=32
6916          ;;
6917        *ELF-64*)
6918 <        HPUX_IA64_MODE="64"
6918 >        HPUX_IA64_MODE=64
6919          ;;
6920      esac
6921    fi
6922    rm -rf conftest*
6923    ;;
6924   *-*-irix6*)
6925 <  # Find out which ABI we are using.
6925 >  # Find out what ABI is being produced by ac_compile, and set linker
6926 >  # options accordingly.
6927    echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6928    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6929    (eval $ac_compile) 2>&5
6930    ac_status=$?
6931    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6932    test $ac_status = 0; }; then
6933 <    if test "$lt_cv_prog_gnu_ld" = yes; then
6933 >    if test yes = "$lt_cv_prog_gnu_ld"; then
6934        case `/usr/bin/file conftest.$ac_objext` in
6935          *32-bit*)
6936            LD="${LD-ld} -melf32bsmip"
# Line 6872 | Line 6959 | ia64-*-hpux*)
6959    rm -rf conftest*
6960    ;;
6961  
6962 < x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6962 > mips64*-*linux*)
6963 >  # Find out what ABI is being produced by ac_compile, and set linker
6964 >  # options accordingly.
6965 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6966 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6967 >  (eval $ac_compile) 2>&5
6968 >  ac_status=$?
6969 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6970 >  test $ac_status = 0; }; then
6971 >    emul=elf
6972 >    case `/usr/bin/file conftest.$ac_objext` in
6973 >      *32-bit*)
6974 >        emul="${emul}32"
6975 >        ;;
6976 >      *64-bit*)
6977 >        emul="${emul}64"
6978 >        ;;
6979 >    esac
6980 >    case `/usr/bin/file conftest.$ac_objext` in
6981 >      *MSB*)
6982 >        emul="${emul}btsmip"
6983 >        ;;
6984 >      *LSB*)
6985 >        emul="${emul}ltsmip"
6986 >        ;;
6987 >    esac
6988 >    case `/usr/bin/file conftest.$ac_objext` in
6989 >      *N32*)
6990 >        emul="${emul}n32"
6991 >        ;;
6992 >    esac
6993 >    LD="${LD-ld} -m $emul"
6994 >  fi
6995 >  rm -rf conftest*
6996 >  ;;
6997 >
6998 > x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6999   s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7000 <  # Find out which ABI we are using.
7000 >  # Find out what ABI is being produced by ac_compile, and set linker
7001 >  # options accordingly.  Note that the listed cases only cover the
7002 >  # situations where additional linker options are needed (such as when
7003 >  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7004 >  # vice versa); the common cases where no linker options are needed do
7005 >  # not appear in the list.
7006    echo 'int i;' > conftest.$ac_ext
7007    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7008    (eval $ac_compile) 2>&5
# Line 6888 | Line 7016 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7016              LD="${LD-ld} -m elf_i386_fbsd"
7017              ;;
7018            x86_64-*linux*)
7019 <            LD="${LD-ld} -m elf_i386"
7019 >            case `/usr/bin/file conftest.o` in
7020 >              *x86-64*)
7021 >                LD="${LD-ld} -m elf32_x86_64"
7022 >                ;;
7023 >              *)
7024 >                LD="${LD-ld} -m elf_i386"
7025 >                ;;
7026 >            esac
7027 >            ;;
7028 >          powerpc64le-*linux*)
7029 >            LD="${LD-ld} -m elf32lppclinux"
7030              ;;
7031 <          ppc64-*linux*|powerpc64-*linux*)
7031 >          powerpc64-*linux*)
7032              LD="${LD-ld} -m elf32ppclinux"
7033              ;;
7034            s390x-*linux*)
# Line 6909 | Line 7047 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7047            x86_64-*linux*)
7048              LD="${LD-ld} -m elf_x86_64"
7049              ;;
7050 <          ppc*-*linux*|powerpc*-*linux*)
7050 >          powerpcle-*linux*)
7051 >            LD="${LD-ld} -m elf64lppc"
7052 >            ;;
7053 >          powerpc-*linux*)
7054              LD="${LD-ld} -m elf64ppc"
7055              ;;
7056            s390*-*linux*|s390*-*tpf*)
# Line 6927 | Line 7068 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7068  
7069   *-*-sco3.2v5*)
7070    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7071 <  SAVE_CFLAGS="$CFLAGS"
7071 >  SAVE_CFLAGS=$CFLAGS
7072    CFLAGS="$CFLAGS -belf"
7073    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7074   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
# Line 6967 | Line 7108 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7108   fi
7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7110   $as_echo "$lt_cv_cc_needs_belf" >&6; }
7111 <  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7111 >  if test yes != "$lt_cv_cc_needs_belf"; then
7112      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7113 <    CFLAGS="$SAVE_CFLAGS"
7113 >    CFLAGS=$SAVE_CFLAGS
7114    fi
7115    ;;
7116   *-*solaris*)
7117 <  # Find out which ABI we are using.
7117 >  # Find out what ABI is being produced by ac_compile, and set linker
7118 >  # options accordingly.
7119    echo 'int i;' > conftest.$ac_ext
7120    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7121    (eval $ac_compile) 2>&5
# Line 6985 | Line 7127 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7127        case $lt_cv_prog_gnu_ld in
7128        yes*)
7129          case $host in
7130 <        i?86-*-solaris*)
7130 >        i?86-*-solaris*|x86_64-*-solaris*)
7131            LD="${LD-ld} -m elf_x86_64"
7132            ;;
7133          sparc*-*-solaris*)
# Line 6994 | Line 7136 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7136          esac
7137          # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7138          if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7139 <          LD="${LD-ld}_sol2"
7139 >          LD=${LD-ld}_sol2
7140          fi
7141          ;;
7142        *)
# Line 7010 | Line 7152 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7152    ;;
7153   esac
7154  
7155 < need_locks="$enable_libtool_lock"
7155 > need_locks=$enable_libtool_lock
7156  
7157   if test -n "$ac_tool_prefix"; then
7158    # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
# Line 7121 | Line 7263 | else
7263   fi
7264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7265   $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7266 < if test "x$lt_cv_path_mainfest_tool" != xyes; then
7266 > if test yes != "$lt_cv_path_mainfest_tool"; then
7267    MANIFEST_TOOL=:
7268   fi
7269  
# Line 7624 | Line 7766 | if ${lt_cv_apple_cc_single_mod+:} false;
7766    $as_echo_n "(cached) " >&6
7767   else
7768    lt_cv_apple_cc_single_mod=no
7769 <      if test -z "${LT_MULTI_MODULE}"; then
7769 >      if test -z "$LT_MULTI_MODULE"; then
7770          # By default we will add the -single_module flag. You can override
7771          # by either setting the environment variable LT_MULTI_MODULE
7772          # non-empty at configure time, or by adding -multi_module to the
# Line 7642 | Line 7784 | else
7784            cat conftest.err >&5
7785          # Otherwise, if the output was created with a 0 exit code from
7786          # the compiler, it worked.
7787 <        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7787 >        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7788            lt_cv_apple_cc_single_mod=yes
7789          else
7790            cat conftest.err >&5
# Line 7681 | Line 7823 | else
7823   fi
7824   rm -f core conftest.err conftest.$ac_objext \
7825      conftest$ac_exeext conftest.$ac_ext
7826 <        LDFLAGS="$save_LDFLAGS"
7826 >        LDFLAGS=$save_LDFLAGS
7827  
7828   fi
7829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
# Line 7710 | Line 7852 | _LT_EOF
7852        _lt_result=$?
7853        if test -s conftest.err && $GREP force_load conftest.err; then
7854          cat conftest.err >&5
7855 <      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7855 >      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7856          lt_cv_ld_force_load=yes
7857        else
7858          cat conftest.err >&5
# Line 7723 | Line 7865 | fi
7865   $as_echo "$lt_cv_ld_force_load" >&6; }
7866      case $host_os in
7867      rhapsody* | darwin1.[012])
7868 <      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7868 >      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7869      darwin1.*)
7870 <      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7870 >      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7871      darwin*) # darwin 5.x on
7872        # if running on 10.5 or later, the deployment target defaults
7873        # to the OS version, if on x86, and 10.4, the deployment
7874        # target defaults to 10.4. Don't you love it?
7875        case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7876          10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7877 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7878 <        10.[012]*)
7879 <          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7877 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7878 >        10.[012][,.]*)
7879 >          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7880          10.*)
7881 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7881 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7882        esac
7883      ;;
7884    esac
7885 <    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7885 >    if test yes = "$lt_cv_apple_cc_single_mod"; then
7886        _lt_dar_single_mod='$single_module'
7887      fi
7888 <    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7889 <      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7888 >    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7889 >      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7890      else
7891 <      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7891 >      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7892      fi
7893 <    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7893 >    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7894        _lt_dsymutil='~$DSYMUTIL $lib || :'
7895      else
7896        _lt_dsymutil=
# Line 8051 | Line 8193 | if test "${enable_static+set}" = set; th
8193      *)
8194       enable_static=no
8195        # Look at the argument we got.  We use all the common list separators.
8196 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8196 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8197        for pkg in $enableval; do
8198 <        IFS="$lt_save_ifs"
8198 >        IFS=$lt_save_ifs
8199          if test "X$pkg" = "X$p"; then
8200            enable_static=yes
8201          fi
8202        done
8203 <      IFS="$lt_save_ifs"
8203 >      IFS=$lt_save_ifs
8204        ;;
8205      esac
8206   else
# Line 8087 | Line 8229 | if test "${enable_shared+set}" = set; th
8229      *)
8230        enable_shared=no
8231        # Look at the argument we got.  We use all the common list separators.
8232 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8232 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8233        for pkg in $enableval; do
8234 <        IFS="$lt_save_ifs"
8234 >        IFS=$lt_save_ifs
8235          if test "X$pkg" = "X$p"; then
8236            enable_shared=yes
8237          fi
8238        done
8239 <      IFS="$lt_save_ifs"
8239 >      IFS=$lt_save_ifs
8240        ;;
8241      esac
8242   else
# Line 8119 | Line 8261 | if test "${with_pic+set}" = set; then :
8261      *)
8262        pic_mode=default
8263        # Look at the argument we got.  We use all the common list separators.
8264 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8264 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8265        for lt_pkg in $withval; do
8266 <        IFS="$lt_save_ifs"
8266 >        IFS=$lt_save_ifs
8267          if test "X$lt_pkg" = "X$lt_p"; then
8268            pic_mode=yes
8269          fi
8270        done
8271 <      IFS="$lt_save_ifs"
8271 >      IFS=$lt_save_ifs
8272        ;;
8273      esac
8274   else
# Line 8134 | Line 8276 | else
8276   fi
8277  
8278  
8137 test -z "$pic_mode" && pic_mode=default
8138
8279  
8280  
8281  
# Line 8151 | Line 8291 | if test "${enable_fast_install+set}" = s
8291      *)
8292        enable_fast_install=no
8293        # Look at the argument we got.  We use all the common list separators.
8294 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8294 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8295        for pkg in $enableval; do
8296 <        IFS="$lt_save_ifs"
8296 >        IFS=$lt_save_ifs
8297          if test "X$pkg" = "X$p"; then
8298            enable_fast_install=yes
8299          fi
8300        done
8301 <      IFS="$lt_save_ifs"
8301 >      IFS=$lt_save_ifs
8302        ;;
8303      esac
8304   else
# Line 8176 | Line 8316 | fi
8316  
8317  
8318   # This can be used to rebuild libtool when needed
8319 < LIBTOOL_DEPS="$ltmain"
8319 > LIBTOOL_DEPS=$ltmain
8320  
8321   # Always use our own libtool.
8322   LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# Line 8225 | Line 8365 | test -z "$LN_S" && LN_S="ln -s"
8365  
8366  
8367  
8368 < if test -n "${ZSH_VERSION+set}" ; then
8368 > if test -n "${ZSH_VERSION+set}"; then
8369     setopt NO_GLOB_SUBST
8370   fi
8371  
# Line 8264 | Line 8404 | aix3*)
8404    # AIX sometimes has problems with the GCC collect2 program.  For some
8405    # reason, if we set the COLLECT_NAMES environment variable, the problems
8406    # vanish in a puff of smoke.
8407 <  if test "X${COLLECT_NAMES+set}" != Xset; then
8407 >  if test set != "${COLLECT_NAMES+set}"; then
8408      COLLECT_NAMES=
8409      export COLLECT_NAMES
8410    fi
# Line 8275 | Line 8415 | esac
8415   ofile=libtool
8416   can_build_shared=yes
8417  
8418 < # All known linkers require a `.a' archive for static linking (except MSVC,
8418 > # All known linkers require a '.a' archive for static linking (except MSVC,
8419   # which needs '.lib').
8420   libext=a
8421  
8422 < with_gnu_ld="$lt_cv_prog_gnu_ld"
8422 > with_gnu_ld=$lt_cv_prog_gnu_ld
8423  
8424 < old_CC="$CC"
8425 < old_CFLAGS="$CFLAGS"
8424 > old_CC=$CC
8425 > old_CFLAGS=$CFLAGS
8426  
8427   # Set sane defaults for various variables
8428   test -z "$CC" && CC=cc
# Line 8314 | Line 8454 | if ${lt_cv_path_MAGIC_CMD+:} false; then
8454   else
8455    case $MAGIC_CMD in
8456   [\\/*] |  ?:[\\/]*)
8457 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8457 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8458    ;;
8459   *)
8460 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8461 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8460 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8461 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8462    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8463    for ac_dir in $ac_dummy; do
8464 <    IFS="$lt_save_ifs"
8464 >    IFS=$lt_save_ifs
8465      test -z "$ac_dir" && ac_dir=.
8466 <    if test -f $ac_dir/${ac_tool_prefix}file; then
8467 <      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8466 >    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8467 >      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8468        if test -n "$file_magic_test_file"; then
8469          case $deplibs_check_method in
8470          "file_magic "*)
8471            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8472 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8472 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8473            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8474              $EGREP "$file_magic_regex" > /dev/null; then
8475              :
# Line 8352 | Line 8492 | _LT_EOF
8492        break
8493      fi
8494    done
8495 <  IFS="$lt_save_ifs"
8496 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8495 >  IFS=$lt_save_ifs
8496 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8497    ;;
8498   esac
8499   fi
8500  
8501 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8501 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8502   if test -n "$MAGIC_CMD"; then
8503    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8504   $as_echo "$MAGIC_CMD" >&6; }
# Line 8380 | Line 8520 | if ${lt_cv_path_MAGIC_CMD+:} false; then
8520   else
8521    case $MAGIC_CMD in
8522   [\\/*] |  ?:[\\/]*)
8523 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8523 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8524    ;;
8525   *)
8526 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8527 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8526 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8527 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8528    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8529    for ac_dir in $ac_dummy; do
8530 <    IFS="$lt_save_ifs"
8530 >    IFS=$lt_save_ifs
8531      test -z "$ac_dir" && ac_dir=.
8532 <    if test -f $ac_dir/file; then
8533 <      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8532 >    if test -f "$ac_dir/file"; then
8533 >      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8534        if test -n "$file_magic_test_file"; then
8535          case $deplibs_check_method in
8536          "file_magic "*)
8537            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8538 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8538 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8539            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8540              $EGREP "$file_magic_regex" > /dev/null; then
8541              :
# Line 8418 | Line 8558 | _LT_EOF
8558        break
8559      fi
8560    done
8561 <  IFS="$lt_save_ifs"
8562 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8561 >  IFS=$lt_save_ifs
8562 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8563    ;;
8564   esac
8565   fi
8566  
8567 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8567 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8568   if test -n "$MAGIC_CMD"; then
8569    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8570   $as_echo "$MAGIC_CMD" >&6; }
# Line 8445 | Line 8585 | esac
8585  
8586   # Use C for the default configuration in the libtool script
8587  
8588 < lt_save_CC="$CC"
8588 > lt_save_CC=$CC
8589   ac_ext=c
8590   ac_cpp='$CPP $CPPFLAGS'
8591   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 8507 | Line 8647 | if test -n "$compiler"; then
8647  
8648   lt_prog_compiler_no_builtin_flag=
8649  
8650 < if test "$GCC" = yes; then
8650 > if test yes = "$GCC"; then
8651    case $cc_basename in
8652    nvcc*)
8653      lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
# Line 8523 | Line 8663 | else
8663    lt_cv_prog_compiler_rtti_exceptions=no
8664     ac_outfile=conftest.$ac_objext
8665     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8666 <   lt_compiler_flag="-fno-rtti -fno-exceptions"
8666 >   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8667     # Insert the option either (1) after the last *FLAGS variable, or
8668     # (2) before a word containing "conftest.", or (3) at the end.
8669     # Note that $ac_compile itself does not contain backslashes and begins
# Line 8553 | Line 8693 | fi
8693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8694   $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8695  
8696 < if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8696 > if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8697      lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8698   else
8699      :
# Line 8571 | Line 8711 | lt_prog_compiler_pic=
8711   lt_prog_compiler_static=
8712  
8713  
8714 <  if test "$GCC" = yes; then
8714 >  if test yes = "$GCC"; then
8715      lt_prog_compiler_wl='-Wl,'
8716      lt_prog_compiler_static='-static'
8717  
8718      case $host_os in
8719        aix*)
8720        # All AIX code is PIC.
8721 <      if test "$host_cpu" = ia64; then
8721 >      if test ia64 = "$host_cpu"; then
8722          # AIX 5 now supports IA64 processor
8723          lt_prog_compiler_static='-Bstatic'
8724        fi
8725 +      lt_prog_compiler_pic='-fPIC'
8726        ;;
8727  
8728      amigaos*)
# Line 8592 | Line 8733 | lt_prog_compiler_static=
8733          ;;
8734        m68k)
8735              # FIXME: we need at least 68020 code to build shared libraries, but
8736 <            # adding the `-m68020' flag to GCC prevents building anything better,
8737 <            # like `-m68040'.
8736 >            # adding the '-m68020' flag to GCC prevents building anything better,
8737 >            # like '-m68040'.
8738              lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8739          ;;
8740        esac
# Line 8679 | Line 8820 | lt_prog_compiler_static=
8820      case $host_os in
8821      aix*)
8822        lt_prog_compiler_wl='-Wl,'
8823 <      if test "$host_cpu" = ia64; then
8823 >      if test ia64 = "$host_cpu"; then
8824          # AIX 5 now supports IA64 processor
8825          lt_prog_compiler_static='-Bstatic'
8826        else
# Line 8687 | Line 8828 | lt_prog_compiler_static=
8828        fi
8829        ;;
8830  
8831 +    darwin* | rhapsody*)
8832 +      # PIC is the default on this platform
8833 +      # Common symbols not allowed in MH_DYLIB files
8834 +      lt_prog_compiler_pic='-fno-common'
8835 +      case $cc_basename in
8836 +      nagfor*)
8837 +        # NAG Fortran compiler
8838 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8839 +        lt_prog_compiler_pic='-PIC'
8840 +        lt_prog_compiler_static='-Bstatic'
8841 +        ;;
8842 +      esac
8843 +      ;;
8844 +
8845      mingw* | cygwin* | pw32* | os2* | cegcc*)
8846        # This hack is so that the source file can tell whether it is being
8847        # built for inclusion in a dll (and should export symbols for example).
# Line 8706 | Line 8861 | lt_prog_compiler_static=
8861          ;;
8862        esac
8863        # Is there a better lt_prog_compiler_static that works with the bundled CC?
8864 <      lt_prog_compiler_static='${wl}-a ${wl}archive'
8864 >      lt_prog_compiler_static='$wl-a ${wl}archive'
8865        ;;
8866  
8867      irix5* | irix6* | nonstopux*)
# Line 8715 | Line 8870 | lt_prog_compiler_static=
8870        lt_prog_compiler_static='-non_shared'
8871        ;;
8872  
8873 <    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8873 >    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8874        case $cc_basename in
8875 <      # old Intel for x86_64 which still supported -KPIC.
8875 >      # old Intel for x86_64, which still supported -KPIC.
8876        ecc*)
8877          lt_prog_compiler_wl='-Wl,'
8878          lt_prog_compiler_pic='-KPIC'
# Line 8742 | Line 8897 | lt_prog_compiler_static=
8897          lt_prog_compiler_pic='-PIC'
8898          lt_prog_compiler_static='-Bstatic'
8899          ;;
8900 +      tcc*)
8901 +        # Fabrice Bellard et al's Tiny C Compiler
8902 +        lt_prog_compiler_wl='-Wl,'
8903 +        lt_prog_compiler_pic='-fPIC'
8904 +        lt_prog_compiler_static='-static'
8905 +        ;;
8906        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8907          # Portland Group compilers (*not* the Pentium gcc compiler,
8908          # which looks to be a dead project)
# Line 8839 | Line 9000 | lt_prog_compiler_static=
9000        ;;
9001  
9002      sysv4*MP*)
9003 <      if test -d /usr/nec ;then
9003 >      if test -d /usr/nec; then
9004          lt_prog_compiler_pic='-Kconform_pic'
9005          lt_prog_compiler_static='-Bstatic'
9006        fi
# Line 8868 | Line 9029 | lt_prog_compiler_static=
9029    fi
9030  
9031   case $host_os in
9032 <  # For platforms which do not support PIC, -DPIC is meaningless:
9032 >  # For platforms that do not support PIC, -DPIC is meaningless:
9033    *djgpp*)
9034      lt_prog_compiler_pic=
9035      ;;
# Line 8900 | Line 9061 | else
9061    lt_cv_prog_compiler_pic_works=no
9062     ac_outfile=conftest.$ac_objext
9063     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9064 <   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9064 >   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9065     # Insert the option either (1) after the last *FLAGS variable, or
9066     # (2) before a word containing "conftest.", or (3) at the end.
9067     # Note that $ac_compile itself does not contain backslashes and begins
# Line 8930 | Line 9091 | fi
9091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9092   $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9093  
9094 < if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9094 > if test yes = "$lt_cv_prog_compiler_pic_works"; then
9095      case $lt_prog_compiler_pic in
9096       "" | " "*) ;;
9097       *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
# Line 8962 | Line 9123 | if ${lt_cv_prog_compiler_static_works+:}
9123    $as_echo_n "(cached) " >&6
9124   else
9125    lt_cv_prog_compiler_static_works=no
9126 <   save_LDFLAGS="$LDFLAGS"
9126 >   save_LDFLAGS=$LDFLAGS
9127     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9128     echo "$lt_simple_link_test_code" > conftest.$ac_ext
9129     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
# Line 8981 | Line 9142 | else
9142       fi
9143     fi
9144     $RM -r conftest*
9145 <   LDFLAGS="$save_LDFLAGS"
9145 >   LDFLAGS=$save_LDFLAGS
9146  
9147   fi
9148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9149   $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9150  
9151 < if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9151 > if test yes = "$lt_cv_prog_compiler_static_works"; then
9152      :
9153   else
9154      lt_prog_compiler_static=
# Line 9107 | Line 9268 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9268  
9269  
9270  
9271 < hard_links="nottested"
9272 < if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9271 > hard_links=nottested
9272 > if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9273    # do not overwrite the value of need_locks provided by the user
9274    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9275   $as_echo_n "checking if we can lock with hard links... " >&6; }
# Line 9120 | Line 9281 | $as_echo_n "checking if we can lock with
9281    ln conftest.a conftest.b 2>/dev/null && hard_links=no
9282    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9283   $as_echo "$hard_links" >&6; }
9284 <  if test "$hard_links" = no; then
9285 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9286 < $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9284 >  if test no = "$hard_links"; then
9285 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9286 > $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9287      need_locks=warn
9288    fi
9289   else
# Line 9165 | Line 9326 | $as_echo_n "checking whether the $compil
9326    # included in the symbol list
9327    include_expsyms=
9328    # exclude_expsyms can be an extended regexp of symbols to exclude
9329 <  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9330 <  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9331 <  # as well as any symbol that contains `d'.
9329 >  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9330 >  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9331 >  # as well as any symbol that contains 'd'.
9332    exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9333    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9334    # platforms (ab)use it in PIC code, but their linkers get confused if
# Line 9182 | Line 9343 | $as_echo_n "checking whether the $compil
9343      # FIXME: the MSVC++ port hasn't been tested in a loooong time
9344      # When not using gcc, we currently assume that we are using
9345      # Microsoft Visual C++.
9346 <    if test "$GCC" != yes; then
9346 >    if test yes != "$GCC"; then
9347        with_gnu_ld=no
9348      fi
9349      ;;
# Line 9190 | Line 9351 | $as_echo_n "checking whether the $compil
9351      # we just hope/assume this is gcc and not c89 (= MSVC++)
9352      with_gnu_ld=yes
9353      ;;
9354 <  openbsd*)
9354 >  openbsd* | bitrig*)
9355      with_gnu_ld=no
9356      ;;
9357    esac
# Line 9200 | Line 9361 | $as_echo_n "checking whether the $compil
9361    # On some targets, GNU ld is compatible enough with the native linker
9362    # that we're better off using the native interface for both.
9363    lt_use_gnu_ld_interface=no
9364 <  if test "$with_gnu_ld" = yes; then
9364 >  if test yes = "$with_gnu_ld"; then
9365      case $host_os in
9366        aix*)
9367          # The AIX port of GNU ld has always aspired to compatibility
# Line 9222 | Line 9383 | $as_echo_n "checking whether the $compil
9383      esac
9384    fi
9385  
9386 <  if test "$lt_use_gnu_ld_interface" = yes; then
9386 >  if test yes = "$lt_use_gnu_ld_interface"; then
9387      # If archive_cmds runs LD, not CC, wlarc should be empty
9388 <    wlarc='${wl}'
9388 >    wlarc='$wl'
9389  
9390      # Set some defaults for GNU ld with shared library support. These
9391      # are reset later if shared libraries are not supported. Putting them
9392      # here allows them to be overridden if necessary.
9393      runpath_var=LD_RUN_PATH
9394 <    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9395 <    export_dynamic_flag_spec='${wl}--export-dynamic'
9394 >    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9395 >    export_dynamic_flag_spec='$wl--export-dynamic'
9396      # ancient GNU ld didn't support --whole-archive et. al.
9397      if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9398 <      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9398 >      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9399      else
9400        whole_archive_flag_spec=
9401      fi
9402      supports_anon_versioning=no
9403 <    case `$LD -v 2>&1` in
9403 >    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9404        *GNU\ gold*) supports_anon_versioning=yes ;;
9405        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9406        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
# Line 9252 | Line 9413 | $as_echo_n "checking whether the $compil
9413      case $host_os in
9414      aix[3-9]*)
9415        # On AIX/PPC, the GNU linker is very broken
9416 <      if test "$host_cpu" != ia64; then
9416 >      if test ia64 != "$host_cpu"; then
9417          ld_shlibs=no
9418          cat <<_LT_EOF 1>&2
9419  
# Line 9271 | Line 9432 | _LT_EOF
9432        case $host_cpu in
9433        powerpc)
9434              # see comment about AmigaOS4 .so support
9435 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9435 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9436              archive_expsym_cmds=''
9437          ;;
9438        m68k)
# Line 9287 | Line 9448 | _LT_EOF
9448          allow_undefined_flag=unsupported
9449          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9450          # support --undefined.  This deserves some investigation.  FIXME
9451 <        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9451 >        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9452        else
9453          ld_shlibs=no
9454        fi
# Line 9297 | Line 9458 | _LT_EOF
9458        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9459        # as there is no search path for DLLs.
9460        hardcode_libdir_flag_spec='-L$libdir'
9461 <      export_dynamic_flag_spec='${wl}--export-all-symbols'
9461 >      export_dynamic_flag_spec='$wl--export-all-symbols'
9462        allow_undefined_flag=unsupported
9463        always_export_symbols=no
9464        enable_shared_with_static_runtimes=yes
# Line 9305 | Line 9466 | _LT_EOF
9466        exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9467  
9468        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9469 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9470 <        # If the export-symbols file already is a .def file (1st line
9471 <        # is EXPORTS), use it as is; otherwise, prepend...
9472 <        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9473 <          cp $export_symbols $output_objdir/$soname.def;
9474 <        else
9475 <          echo EXPORTS > $output_objdir/$soname.def;
9476 <          cat $export_symbols >> $output_objdir/$soname.def;
9477 <        fi~
9478 <        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9469 >        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9470 >        # If the export-symbols file already is a .def file, use it as
9471 >        # is; otherwise, prepend EXPORTS...
9472 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9473 >          cp $export_symbols $output_objdir/$soname.def;
9474 >        else
9475 >          echo EXPORTS > $output_objdir/$soname.def;
9476 >          cat $export_symbols >> $output_objdir/$soname.def;
9477 >        fi~
9478 >        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9479        else
9480          ld_shlibs=no
9481        fi
9482        ;;
9483  
9484      haiku*)
9485 <      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9485 >      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9486        link_all_deplibs=yes
9487        ;;
9488  
9489      interix[3-9]*)
9490        hardcode_direct=no
9491        hardcode_shlibpath_var=no
9492 <      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9493 <      export_dynamic_flag_spec='${wl}-E'
9492 >      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9493 >      export_dynamic_flag_spec='$wl-E'
9494        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9495        # Instead, shared libraries are loaded at an image base (0x10000000 by
9496        # default) and relocated if they conflict, which is a slow very memory
9497        # consuming and fragmenting process.  To avoid this, we pick a random,
9498        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9499        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9500 <      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9501 <      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'
9500 >      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9501 >      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'
9502        ;;
9503  
9504      gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9505        tmp_diet=no
9506 <      if test "$host_os" = linux-dietlibc; then
9506 >      if test linux-dietlibc = "$host_os"; then
9507          case $cc_basename in
9508            diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9509          esac
9510        fi
9511        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9512 <         && test "$tmp_diet" = no
9512 >         && test no = "$tmp_diet"
9513        then
9514          tmp_addflag=' $pic_flag'
9515          tmp_sharedflag='-shared'
9516          case $cc_basename,$host_cpu in
9517          pgcc*)                          # Portland Group C compiler
9518 <          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'
9518 >          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'
9519            tmp_addflag=' $pic_flag'
9520            ;;
9521          pgf77* | pgf90* | pgf95* | pgfortran*)
9522                                          # Portland Group f77 and f90 compilers
9523 <          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'
9523 >          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'
9524            tmp_addflag=' $pic_flag -Mnomain' ;;
9525          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9526            tmp_addflag=' -i_dynamic' ;;
# Line 9370 | Line 9531 | _LT_EOF
9531          lf95*)                          # Lahey Fortran 8.1
9532            whole_archive_flag_spec=
9533            tmp_sharedflag='--shared' ;;
9534 +        nagfor*)                        # NAGFOR 5.3
9535 +          tmp_sharedflag='-Wl,-shared' ;;
9536          xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9537            tmp_sharedflag='-qmkshrobj'
9538            tmp_addflag= ;;
9539          nvcc*)  # Cuda Compiler Driver 2.2
9540 <          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'
9540 >          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'
9541            compiler_needs_object=yes
9542            ;;
9543          esac
9544          case `$CC -V 2>&1 | sed 5q` in
9545          *Sun\ C*)                       # Sun C 5.9
9546 <          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'
9546 >          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'
9547            compiler_needs_object=yes
9548            tmp_sharedflag='-G' ;;
9549          *Sun\ F*)                       # Sun Fortran 8.3
9550            tmp_sharedflag='-G' ;;
9551          esac
9552 <        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9552 >        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9553  
9554 <        if test "x$supports_anon_versioning" = xyes; then
9554 >        if test yes = "$supports_anon_versioning"; then
9555            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9556 <            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9557 <            echo "local: *; };" >> $output_objdir/$libname.ver~
9558 <            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9556 >            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9557 >            echo "local: *; };" >> $output_objdir/$libname.ver~
9558 >            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9559          fi
9560  
9561          case $cc_basename in
9562          xlf* | bgf* | bgxlf* | mpixlf*)
9563            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9564            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9565 <          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9565 >          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9566            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9567 <          if test "x$supports_anon_versioning" = xyes; then
9567 >          if test yes = "$supports_anon_versioning"; then
9568              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9569 <              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9570 <              echo "local: *; };" >> $output_objdir/$libname.ver~
9571 <              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9569 >              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9570 >              echo "local: *; };" >> $output_objdir/$libname.ver~
9571 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9572            fi
9573            ;;
9574          esac
# Line 9419 | Line 9582 | _LT_EOF
9582          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9583          wlarc=
9584        else
9585 <        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9586 <        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9585 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9586 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9587        fi
9588        ;;
9589  
# Line 9438 | Line 9601 | _LT_EOF
9601  
9602   _LT_EOF
9603        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9604 <        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9605 <        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9604 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9605 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9606        else
9607          ld_shlibs=no
9608        fi
# Line 9451 | Line 9614 | _LT_EOF
9614          ld_shlibs=no
9615          cat <<_LT_EOF 1>&2
9616  
9617 < *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9617 > *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9618   *** reliably create shared libraries on SCO systems.  Therefore, libtool
9619   *** is disabling shared libraries support.  We urge you to upgrade GNU
9620   *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
# Line 9466 | Line 9629 | _LT_EOF
9629            # DT_RUNPATH tag from executables and libraries.  But doing so
9630            # requires that you compile everything twice, which is a pain.
9631            if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9632 <            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9633 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9634 <            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9632 >            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9633 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9634 >            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9635            else
9636              ld_shlibs=no
9637            fi
# Line 9485 | Line 9648 | _LT_EOF
9648  
9649      *)
9650        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9651 <        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9652 <        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9651 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9652 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9653        else
9654          ld_shlibs=no
9655        fi
9656        ;;
9657      esac
9658  
9659 <    if test "$ld_shlibs" = no; then
9659 >    if test no = "$ld_shlibs"; then
9660        runpath_var=
9661        hardcode_libdir_flag_spec=
9662        export_dynamic_flag_spec=
# Line 9509 | Line 9672 | _LT_EOF
9672        # Note: this linker hardcodes the directories in LIBPATH if there
9673        # are no directories specified by -L.
9674        hardcode_minus_L=yes
9675 <      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9675 >      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9676          # Neither direct hardcoding nor static linking is supported with a
9677          # broken collect2.
9678          hardcode_direct=unsupported
# Line 9517 | Line 9680 | _LT_EOF
9680        ;;
9681  
9682      aix[4-9]*)
9683 <      if test "$host_cpu" = ia64; then
9683 >      if test ia64 = "$host_cpu"; then
9684          # On IA64, the linker does run time linking by default, so we don't
9685          # have to do anything special.
9686          aix_use_runtimelinking=no
9687          exp_sym_flag='-Bexport'
9688 <        no_entry_flag=""
9688 >        no_entry_flag=
9689        else
9690          # If we're using GNU nm, then we don't want the "-C" option.
9691          # -C means demangle to AIX nm, but means don't demangle with GNU nm
# Line 9540 | Line 9703 | _LT_EOF
9703          # need to do runtime linking.
9704          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9705            for ld_flag in $LDFLAGS; do
9706 <          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9706 >          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9707              aix_use_runtimelinking=yes
9708              break
9709            fi
# Line 9563 | Line 9726 | _LT_EOF
9726        hardcode_direct_absolute=yes
9727        hardcode_libdir_separator=':'
9728        link_all_deplibs=yes
9729 <      file_list_spec='${wl}-f,'
9729 >      file_list_spec='$wl-f,'
9730  
9731 <      if test "$GCC" = yes; then
9731 >      if test yes = "$GCC"; then
9732          case $host_os in aix4.[012]|aix4.[012].*)
9733          # We only want to do this on AIX 4.2 and lower, the check
9734          # below for broken collect2 doesn't work under 4.3+
9735 <          collect2name=`${CC} -print-prog-name=collect2`
9735 >          collect2name=`$CC -print-prog-name=collect2`
9736            if test -f "$collect2name" &&
9737             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9738            then
# Line 9588 | Line 9751 | _LT_EOF
9751            ;;
9752          esac
9753          shared_flag='-shared'
9754 <        if test "$aix_use_runtimelinking" = yes; then
9755 <          shared_flag="$shared_flag "'${wl}-G'
9754 >        if test yes = "$aix_use_runtimelinking"; then
9755 >          shared_flag="$shared_flag "'$wl-G'
9756          fi
9757        else
9758          # not using gcc
9759 <        if test "$host_cpu" = ia64; then
9759 >        if test ia64 = "$host_cpu"; then
9760          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9761          # chokes on -Wl,-G. The following line is correct:
9762            shared_flag='-G'
9763          else
9764 <          if test "$aix_use_runtimelinking" = yes; then
9765 <            shared_flag='${wl}-G'
9764 >          if test yes = "$aix_use_runtimelinking"; then
9765 >            shared_flag='$wl-G'
9766            else
9767 <            shared_flag='${wl}-bM:SRE'
9767 >            shared_flag='$wl-bM:SRE'
9768            fi
9769          fi
9770        fi
9771  
9772 <      export_dynamic_flag_spec='${wl}-bexpall'
9772 >      export_dynamic_flag_spec='$wl-bexpall'
9773        # It seems that -bexpall does not export symbols beginning with
9774        # underscore (_), so it is better to generate a list of symbols to export.
9775        always_export_symbols=yes
9776 <      if test "$aix_use_runtimelinking" = yes; then
9776 >      if test yes = "$aix_use_runtimelinking"; then
9777          # Warning - without using the other runtime loading flags (-brtl),
9778          # -berok will link without error, but may produce a broken library.
9779          allow_undefined_flag='-berok'
9780          # Determine the default libpath from the value encoded in an
9781          # empty executable.
9782 <        if test "${lt_cv_aix_libpath+set}" = set; then
9782 >        if test set = "${lt_cv_aix_libpath+set}"; then
9783    aix_libpath=$lt_cv_aix_libpath
9784   else
9785    if ${lt_cv_aix_libpath_+:} false; then :
# Line 9651 | Line 9814 | fi
9814   rm -f core conftest.err conftest.$ac_objext \
9815      conftest$ac_exeext conftest.$ac_ext
9816    if test -z "$lt_cv_aix_libpath_"; then
9817 <    lt_cv_aix_libpath_="/usr/lib:/lib"
9817 >    lt_cv_aix_libpath_=/usr/lib:/lib
9818    fi
9819  
9820   fi
# Line 9659 | Line 9822 | fi
9822    aix_libpath=$lt_cv_aix_libpath_
9823   fi
9824  
9825 <        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9826 <        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"
9825 >        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9826 >        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
9827        else
9828 <        if test "$host_cpu" = ia64; then
9829 <          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9828 >        if test ia64 = "$host_cpu"; then
9829 >          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9830            allow_undefined_flag="-z nodefs"
9831 <          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"
9831 >          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"
9832          else
9833           # Determine the default libpath from the value encoded in an
9834           # empty executable.
9835 <         if test "${lt_cv_aix_libpath+set}" = set; then
9835 >         if test set = "${lt_cv_aix_libpath+set}"; then
9836    aix_libpath=$lt_cv_aix_libpath
9837   else
9838    if ${lt_cv_aix_libpath_+:} false; then :
# Line 9704 | Line 9867 | fi
9867   rm -f core conftest.err conftest.$ac_objext \
9868      conftest$ac_exeext conftest.$ac_ext
9869    if test -z "$lt_cv_aix_libpath_"; then
9870 <    lt_cv_aix_libpath_="/usr/lib:/lib"
9870 >    lt_cv_aix_libpath_=/usr/lib:/lib
9871    fi
9872  
9873   fi
# Line 9712 | Line 9875 | fi
9875    aix_libpath=$lt_cv_aix_libpath_
9876   fi
9877  
9878 <         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9878 >         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9879            # Warning - without using the other run time loading flags,
9880            # -berok will link without error, but may produce a broken library.
9881 <          no_undefined_flag=' ${wl}-bernotok'
9882 <          allow_undefined_flag=' ${wl}-berok'
9883 <          if test "$with_gnu_ld" = yes; then
9881 >          no_undefined_flag=' $wl-bernotok'
9882 >          allow_undefined_flag=' $wl-berok'
9883 >          if test yes = "$with_gnu_ld"; then
9884              # We only use this code for GNU lds that support --whole-archive.
9885 <            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9885 >            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9886            else
9887              # Exported symbols can be pulled into shared objects from archives
9888              whole_archive_flag_spec='$convenience'
9889            fi
9890            archive_cmds_need_lc=yes
9891            # This is similar to how AIX traditionally builds its shared libraries.
9892 <          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'
9892 >          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'
9893          fi
9894        fi
9895        ;;
# Line 9735 | Line 9898 | fi
9898        case $host_cpu in
9899        powerpc)
9900              # see comment about AmigaOS4 .so support
9901 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9901 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9902              archive_expsym_cmds=''
9903          ;;
9904        m68k)
# Line 9765 | Line 9928 | fi
9928          # Tell ltmain to make .lib files, not .a files.
9929          libext=lib
9930          # Tell ltmain to make .dll files, not .so files.
9931 <        shrext_cmds=".dll"
9931 >        shrext_cmds=.dll
9932          # FIXME: Setting linknames here is a bad hack.
9933 <        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9934 <        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9935 <            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9936 <          else
9937 <            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9938 <          fi~
9939 <          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9940 <          linknames='
9933 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9934 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9935 >            cp "$export_symbols" "$output_objdir/$soname.def";
9936 >            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9937 >          else
9938 >            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9939 >          fi~
9940 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9941 >          linknames='
9942          # The linker will not automatically build a static lib if we build a DLL.
9943          # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9944          enable_shared_with_static_runtimes=yes
# Line 9783 | Line 9947 | fi
9947          # Don't use ranlib
9948          old_postinstall_cmds='chmod 644 $oldlib'
9949          postlink_cmds='lt_outputfile="@OUTPUT@"~
9950 <          lt_tool_outputfile="@TOOL_OUTPUT@"~
9951 <          case $lt_outputfile in
9952 <            *.exe|*.EXE) ;;
9953 <            *)
9954 <              lt_outputfile="$lt_outputfile.exe"
9955 <              lt_tool_outputfile="$lt_tool_outputfile.exe"
9956 <              ;;
9957 <          esac~
9958 <          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9959 <            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9960 <            $RM "$lt_outputfile.manifest";
9961 <          fi'
9950 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9951 >          case $lt_outputfile in
9952 >            *.exe|*.EXE) ;;
9953 >            *)
9954 >              lt_outputfile=$lt_outputfile.exe
9955 >              lt_tool_outputfile=$lt_tool_outputfile.exe
9956 >              ;;
9957 >          esac~
9958 >          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9959 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9960 >            $RM "$lt_outputfile.manifest";
9961 >          fi'
9962          ;;
9963        *)
9964          # Assume MSVC wrapper
# Line 9803 | Line 9967 | fi
9967          # Tell ltmain to make .lib files, not .a files.
9968          libext=lib
9969          # Tell ltmain to make .dll files, not .so files.
9970 <        shrext_cmds=".dll"
9970 >        shrext_cmds=.dll
9971          # FIXME: Setting linknames here is a bad hack.
9972          archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9973          # The linker will automatically build a .lib file if we build a DLL.
# Line 9822 | Line 9986 | fi
9986    hardcode_direct=no
9987    hardcode_automatic=yes
9988    hardcode_shlibpath_var=unsupported
9989 <  if test "$lt_cv_ld_force_load" = "yes"; then
9990 <    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\"`'
9989 >  if test yes = "$lt_cv_ld_force_load"; then
9990 >    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\"`'
9991  
9992    else
9993      whole_archive_flag_spec=''
9994    fi
9995    link_all_deplibs=yes
9996 <  allow_undefined_flag="$_lt_dar_allow_undefined"
9996 >  allow_undefined_flag=$_lt_dar_allow_undefined
9997    case $cc_basename in
9998 <     ifort*) _lt_dar_can_shared=yes ;;
9998 >     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9999       *) _lt_dar_can_shared=$GCC ;;
10000    esac
10001 <  if test "$_lt_dar_can_shared" = "yes"; then
10001 >  if test yes = "$_lt_dar_can_shared"; then
10002      output_verbose_link_cmd=func_echo_all
10003 <    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10004 <    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10005 <    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}"
10006 <    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}"
10003 >    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10004 >    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10005 >    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"
10006 >    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"
10007  
10008    else
10009    ld_shlibs=no
# Line 9881 | Line 10045 | fi
10045        ;;
10046  
10047      hpux9*)
10048 <      if test "$GCC" = yes; then
10049 <        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'
10048 >      if test yes = "$GCC"; then
10049 >        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'
10050        else
10051 <        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'
10051 >        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'
10052        fi
10053 <      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10053 >      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10054        hardcode_libdir_separator=:
10055        hardcode_direct=yes
10056  
10057        # hardcode_minus_L: Not really in the search PATH,
10058        # but as the default location of the library.
10059        hardcode_minus_L=yes
10060 <      export_dynamic_flag_spec='${wl}-E'
10060 >      export_dynamic_flag_spec='$wl-E'
10061        ;;
10062  
10063      hpux10*)
10064 <      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10065 <        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10064 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10065 >        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10066        else
10067          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10068        fi
10069 <      if test "$with_gnu_ld" = no; then
10070 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10069 >      if test no = "$with_gnu_ld"; then
10070 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10071          hardcode_libdir_separator=:
10072          hardcode_direct=yes
10073          hardcode_direct_absolute=yes
10074 <        export_dynamic_flag_spec='${wl}-E'
10074 >        export_dynamic_flag_spec='$wl-E'
10075          # hardcode_minus_L: Not really in the search PATH,
10076          # but as the default location of the library.
10077          hardcode_minus_L=yes
# Line 9915 | Line 10079 | fi
10079        ;;
10080  
10081      hpux11*)
10082 <      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10082 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10083          case $host_cpu in
10084          hppa*64*)
10085 <          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10085 >          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10086            ;;
10087          ia64*)
10088 <          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10088 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10089            ;;
10090          *)
10091 <          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10091 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10092            ;;
10093          esac
10094        else
10095          case $host_cpu in
10096          hppa*64*)
10097 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 >          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10098            ;;
10099          ia64*)
10100 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10100 >          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10101            ;;
10102          *)
10103  
# Line 9945 | Line 10109 | if ${lt_cv_prog_compiler__b+:} false; th
10109    $as_echo_n "(cached) " >&6
10110   else
10111    lt_cv_prog_compiler__b=no
10112 <   save_LDFLAGS="$LDFLAGS"
10112 >   save_LDFLAGS=$LDFLAGS
10113     LDFLAGS="$LDFLAGS -b"
10114     echo "$lt_simple_link_test_code" > conftest.$ac_ext
10115     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
# Line 9964 | Line 10128 | else
10128       fi
10129     fi
10130     $RM -r conftest*
10131 <   LDFLAGS="$save_LDFLAGS"
10131 >   LDFLAGS=$save_LDFLAGS
10132  
10133   fi
10134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10135   $as_echo "$lt_cv_prog_compiler__b" >&6; }
10136  
10137 < if test x"$lt_cv_prog_compiler__b" = xyes; then
10138 <    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10137 > if test yes = "$lt_cv_prog_compiler__b"; then
10138 >    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10139   else
10140      archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10141   fi
# Line 9979 | Line 10143 | fi
10143            ;;
10144          esac
10145        fi
10146 <      if test "$with_gnu_ld" = no; then
10147 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10146 >      if test no = "$with_gnu_ld"; then
10147 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10148          hardcode_libdir_separator=:
10149  
10150          case $host_cpu in
# Line 9991 | Line 10155 | fi
10155          *)
10156            hardcode_direct=yes
10157            hardcode_direct_absolute=yes
10158 <          export_dynamic_flag_spec='${wl}-E'
10158 >          export_dynamic_flag_spec='$wl-E'
10159  
10160            # hardcode_minus_L: Not really in the search PATH,
10161            # but as the default location of the library.
# Line 10002 | Line 10166 | fi
10166        ;;
10167  
10168      irix5* | irix6* | nonstopux*)
10169 <      if test "$GCC" = yes; then
10170 <        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'
10169 >      if test yes = "$GCC"; then
10170 >        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'
10171          # Try to use the -exported_symbol ld option, if it does not
10172          # work, assume that -exports_file does not work either and
10173          # implicitly export all symbols.
# Line 10013 | Line 10177 | $as_echo_n "checking whether the $host_o
10177   if ${lt_cv_irix_exported_symbol+:} false; then :
10178    $as_echo_n "(cached) " >&6
10179   else
10180 <  save_LDFLAGS="$LDFLAGS"
10181 <           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10180 >  save_LDFLAGS=$LDFLAGS
10181 >           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10182             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183   /* end confdefs.h.  */
10184   int foo (void) { return 0; }
# Line 10026 | Line 10190 | else
10190   fi
10191   rm -f core conftest.err conftest.$ac_objext \
10192      conftest$ac_exeext conftest.$ac_ext
10193 <           LDFLAGS="$save_LDFLAGS"
10193 >           LDFLAGS=$save_LDFLAGS
10194   fi
10195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10196   $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10197 <        if test "$lt_cv_irix_exported_symbol" = yes; then
10198 <          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'
10197 >        if test yes = "$lt_cv_irix_exported_symbol"; then
10198 >          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'
10199          fi
10200        else
10201 <        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'
10202 <        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'
10201 >        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'
10202 >        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'
10203        fi
10204        archive_cmds_need_lc='no'
10205 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10205 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10206        hardcode_libdir_separator=:
10207        inherit_rpath=yes
10208        link_all_deplibs=yes
# Line 10058 | Line 10222 | $as_echo "$lt_cv_irix_exported_symbol" >
10222      newsos6)
10223        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10224        hardcode_direct=yes
10225 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10225 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10226        hardcode_libdir_separator=:
10227        hardcode_shlibpath_var=no
10228        ;;
# Line 10066 | Line 10230 | $as_echo "$lt_cv_irix_exported_symbol" >
10230      *nto* | *qnx*)
10231        ;;
10232  
10233 <    openbsd*)
10233 >    openbsd* | bitrig*)
10234        if test -f /usr/libexec/ld.so; then
10235          hardcode_direct=yes
10236          hardcode_shlibpath_var=no
10237          hardcode_direct_absolute=yes
10238 <        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10238 >        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10239            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10240 <          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10241 <          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10242 <          export_dynamic_flag_spec='${wl}-E'
10240 >          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10241 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10242 >          export_dynamic_flag_spec='$wl-E'
10243          else
10244 <          case $host_os in
10245 <           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10082 <             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10083 <             hardcode_libdir_flag_spec='-R$libdir'
10084 <             ;;
10085 <           *)
10086 <             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10087 <             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10088 <             ;;
10089 <          esac
10244 >          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10245 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10246          fi
10247        else
10248          ld_shlibs=no
# Line 10102 | Line 10258 | $as_echo "$lt_cv_irix_exported_symbol" >
10258        ;;
10259  
10260      osf3*)
10261 <      if test "$GCC" = yes; then
10262 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10263 <        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'
10261 >      if test yes = "$GCC"; then
10262 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10263 >        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'
10264        else
10265          allow_undefined_flag=' -expect_unresolved \*'
10266 <        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'
10266 >        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'
10267        fi
10268        archive_cmds_need_lc='no'
10269 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10269 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10270        hardcode_libdir_separator=:
10271        ;;
10272  
10273      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10274 <      if test "$GCC" = yes; then
10275 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10276 <        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'
10277 <        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10274 >      if test yes = "$GCC"; then
10275 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10276 >        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'
10277 >        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10278        else
10279          allow_undefined_flag=' -expect_unresolved \*'
10280 <        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'
10280 >        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'
10281          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~
10282 <        $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'
10282 >          $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'
10283  
10284          # Both c and cxx compiler support -rpath directly
10285          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 10134 | Line 10290 | $as_echo "$lt_cv_irix_exported_symbol" >
10290  
10291      solaris*)
10292        no_undefined_flag=' -z defs'
10293 <      if test "$GCC" = yes; then
10294 <        wlarc='${wl}'
10295 <        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10293 >      if test yes = "$GCC"; then
10294 >        wlarc='$wl'
10295 >        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10296          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10297 <          $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'
10297 >          $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'
10298        else
10299          case `$CC -V 2>&1` in
10300          *"Compilers 5.0"*)
10301            wlarc=''
10302 <          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10302 >          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10303            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10304 <          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10304 >            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10305            ;;
10306          *)
10307 <          wlarc='${wl}'
10308 <          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10307 >          wlarc='$wl'
10308 >          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10309            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10310 <          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10310 >            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10311            ;;
10312          esac
10313        fi
# Line 10161 | Line 10317 | $as_echo "$lt_cv_irix_exported_symbol" >
10317        solaris2.[0-5] | solaris2.[0-5].*) ;;
10318        *)
10319          # The compiler driver will combine and reorder linker options,
10320 <        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10320 >        # but understands '-z linker_flag'.  GCC discards it without '$wl',
10321          # but is careful enough not to reorder.
10322          # Supported since Solaris 2.6 (maybe 2.5.1?)
10323 <        if test "$GCC" = yes; then
10324 <          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10323 >        if test yes = "$GCC"; then
10324 >          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10325          else
10326            whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10327          fi
# Line 10175 | Line 10331 | $as_echo "$lt_cv_irix_exported_symbol" >
10331        ;;
10332  
10333      sunos4*)
10334 <      if test "x$host_vendor" = xsequent; then
10334 >      if test sequent = "$host_vendor"; then
10335          # Use $CC to link under sequent, because it throws in some extra .o
10336          # files that make .init and .fini sections work.
10337 <        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10337 >        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10338        else
10339          archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10340        fi
# Line 10227 | Line 10383 | $as_echo "$lt_cv_irix_exported_symbol" >
10383        ;;
10384  
10385      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10386 <      no_undefined_flag='${wl}-z,text'
10386 >      no_undefined_flag='$wl-z,text'
10387        archive_cmds_need_lc=no
10388        hardcode_shlibpath_var=no
10389        runpath_var='LD_RUN_PATH'
10390  
10391 <      if test "$GCC" = yes; then
10392 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10393 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10391 >      if test yes = "$GCC"; then
10392 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10393 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10394        else
10395 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10396 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10395 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10396 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10397        fi
10398        ;;
10399  
10400      sysv5* | sco3.2v5* | sco5v6*)
10401 <      # Note: We can NOT use -z defs as we might desire, because we do not
10401 >      # Note: We CANNOT use -z defs as we might desire, because we do not
10402        # link with -lc, and that would cause any symbols used from libc to
10403        # always be unresolved, which means just about no library would
10404        # ever link correctly.  If we're not using GNU ld we use -z text
10405        # though, which does catch some bad symbols but isn't as heavy-handed
10406        # as -z defs.
10407 <      no_undefined_flag='${wl}-z,text'
10408 <      allow_undefined_flag='${wl}-z,nodefs'
10407 >      no_undefined_flag='$wl-z,text'
10408 >      allow_undefined_flag='$wl-z,nodefs'
10409        archive_cmds_need_lc=no
10410        hardcode_shlibpath_var=no
10411 <      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10411 >      hardcode_libdir_flag_spec='$wl-R,$libdir'
10412        hardcode_libdir_separator=':'
10413        link_all_deplibs=yes
10414 <      export_dynamic_flag_spec='${wl}-Bexport'
10414 >      export_dynamic_flag_spec='$wl-Bexport'
10415        runpath_var='LD_RUN_PATH'
10416  
10417 <      if test "$GCC" = yes; then
10418 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10419 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10417 >      if test yes = "$GCC"; then
10418 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10419 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10420        else
10421 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10421 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10423        fi
10424        ;;
10425  
# Line 10278 | Line 10434 | $as_echo "$lt_cv_irix_exported_symbol" >
10434        ;;
10435      esac
10436  
10437 <    if test x$host_vendor = xsni; then
10437 >    if test sni = "$host_vendor"; then
10438        case $host in
10439        sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10440 <        export_dynamic_flag_spec='${wl}-Blargedynsym'
10440 >        export_dynamic_flag_spec='$wl-Blargedynsym'
10441          ;;
10442        esac
10443      fi
# Line 10289 | Line 10445 | $as_echo "$lt_cv_irix_exported_symbol" >
10445  
10446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10447   $as_echo "$ld_shlibs" >&6; }
10448 < test "$ld_shlibs" = no && can_build_shared=no
10448 > test no = "$ld_shlibs" && can_build_shared=no
10449  
10450   with_gnu_ld=$with_gnu_ld
10451  
# Line 10315 | Line 10471 | x|xyes)
10471    # Assume -lc should be added
10472    archive_cmds_need_lc=yes
10473  
10474 <  if test "$enable_shared" = yes && test "$GCC" = yes; then
10474 >  if test yes,yes = "$GCC,$enable_shared"; then
10475      case $archive_cmds in
10476      *'~'*)
10477        # FIXME: we may have to deal with multi-command sequences.
# Line 10530 | Line 10686 | esac
10686    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10687   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10688  
10689 < if test "$GCC" = yes; then
10689 > if test yes = "$GCC"; then
10690    case $host_os in
10691 <    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10692 <    *) lt_awk_arg="/^libraries:/" ;;
10691 >    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10692 >    *) lt_awk_arg='/^libraries:/' ;;
10693    esac
10694    case $host_os in
10695 <    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10696 <    *) lt_sed_strip_eq="s,=/,/,g" ;;
10695 >    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10696 >    *) lt_sed_strip_eq='s|=/|/|g' ;;
10697    esac
10698    lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10699    case $lt_search_path_spec in
# Line 10553 | Line 10709 | if test "$GCC" = yes; then
10709      ;;
10710    esac
10711    # Ok, now we have the path, separated by spaces, we can step through it
10712 <  # and add multilib dir if necessary.
10712 >  # and add multilib dir if necessary...
10713    lt_tmp_lt_search_path_spec=
10714 <  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10714 >  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10715 >  # ...but if some path component already ends with the multilib dir we assume
10716 >  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10717 >  case "$lt_multi_os_dir; $lt_search_path_spec " in
10718 >  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10719 >    lt_multi_os_dir=
10720 >    ;;
10721 >  esac
10722    for lt_sys_path in $lt_search_path_spec; do
10723 <    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10724 <      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10725 <    else
10723 >    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10724 >      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10725 >    elif test -n "$lt_multi_os_dir"; then
10726        test -d "$lt_sys_path" && \
10727          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10728      fi
10729    done
10730    lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10731 < BEGIN {RS=" "; FS="/|\n";} {
10732 <  lt_foo="";
10733 <  lt_count=0;
10731 > BEGIN {RS = " "; FS = "/|\n";} {
10732 >  lt_foo = "";
10733 >  lt_count = 0;
10734    for (lt_i = NF; lt_i > 0; lt_i--) {
10735      if ($lt_i != "" && $lt_i != ".") {
10736        if ($lt_i == "..") {
10737          lt_count++;
10738        } else {
10739          if (lt_count == 0) {
10740 <          lt_foo="/" $lt_i lt_foo;
10740 >          lt_foo = "/" $lt_i lt_foo;
10741          } else {
10742            lt_count--;
10743          }
# Line 10588 | Line 10751 | BEGIN {RS=" "; FS="/|\n";} {
10751    # for these hosts.
10752    case $host_os in
10753      mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10754 <      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10754 >      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10755    esac
10756    sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10757   else
# Line 10597 | Line 10760 | fi
10760   library_names_spec=
10761   libname_spec='lib$name'
10762   soname_spec=
10763 < shrext_cmds=".so"
10763 > shrext_cmds=.so
10764   postinstall_cmds=
10765   postuninstall_cmds=
10766   finish_cmds=
# Line 10617 | Line 10780 | need_version=unknown
10780   case $host_os in
10781   aix3*)
10782    version_type=linux # correct to gnu/linux during the next big refactor
10783 <  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10783 >  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10784    shlibpath_var=LIBPATH
10785  
10786    # AIX 3 has no versioning support, so we append a major version to the name.
10787 <  soname_spec='${libname}${release}${shared_ext}$major'
10787 >  soname_spec='$libname$release$shared_ext$major'
10788    ;;
10789  
10790   aix[4-9]*)
# Line 10629 | Line 10792 | aix[4-9]*)
10792    need_lib_prefix=no
10793    need_version=no
10794    hardcode_into_libs=yes
10795 <  if test "$host_cpu" = ia64; then
10795 >  if test ia64 = "$host_cpu"; then
10796      # AIX 5 supports IA64
10797 <    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10797 >    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10798      shlibpath_var=LD_LIBRARY_PATH
10799    else
10800      # With GCC up to 2.95.x, collect2 would create an import file
10801      # for dependence libraries.  The import file would start with
10802 <    # the line `#! .'.  This would cause the generated library to
10803 <    # depend on `.', always an invalid library.  This was fixed in
10802 >    # the line '#! .'.  This would cause the generated library to
10803 >    # depend on '.', always an invalid library.  This was fixed in
10804      # development snapshots of GCC prior to 3.0.
10805      case $host_os in
10806        aix4 | aix4.[01] | aix4.[01].*)
10807        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10808             echo ' yes '
10809 <           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10809 >           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10810          :
10811        else
10812          can_build_shared=no
10813        fi
10814        ;;
10815      esac
10816 <    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10816 >    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10817      # soname into executable. Probably we can add versioning support to
10818      # collect2, so additional links can be useful in future.
10819 <    if test "$aix_use_runtimelinking" = yes; then
10819 >    if test yes = "$aix_use_runtimelinking"; then
10820        # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10821        # instead of lib<name>.a to let people know that these are not
10822        # typical AIX shared libraries.
10823 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10823 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10824      else
10825        # We preserve .a as extension for shared libraries through AIX4.2
10826        # and later when we are not doing run time linking.
10827 <      library_names_spec='${libname}${release}.a $libname.a'
10828 <      soname_spec='${libname}${release}${shared_ext}$major'
10827 >      library_names_spec='$libname$release.a $libname.a'
10828 >      soname_spec='$libname$release$shared_ext$major'
10829      fi
10830      shlibpath_var=LIBPATH
10831    fi
# Line 10673 | Line 10836 | amigaos*)
10836    powerpc)
10837      # Since July 2007 AmigaOS4 officially supports .so libraries.
10838      # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10839 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10840      ;;
10841    m68k)
10842      library_names_spec='$libname.ixlibrary $libname.a'
10843      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10844 <    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'
10844 >    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'
10845      ;;
10846    esac
10847    ;;
10848  
10849   beos*)
10850 <  library_names_spec='${libname}${shared_ext}'
10850 >  library_names_spec='$libname$shared_ext'
10851    dynamic_linker="$host_os ld.so"
10852    shlibpath_var=LIBRARY_PATH
10853    ;;
# Line 10692 | Line 10855 | beos*)
10855   bsdi[45]*)
10856    version_type=linux # correct to gnu/linux during the next big refactor
10857    need_version=no
10858 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10859 <  soname_spec='${libname}${release}${shared_ext}$major'
10858 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10859 >  soname_spec='$libname$release$shared_ext$major'
10860    finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10861    shlibpath_var=LD_LIBRARY_PATH
10862    sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
# Line 10705 | Line 10868 | bsdi[45]*)
10868  
10869   cygwin* | mingw* | pw32* | cegcc*)
10870    version_type=windows
10871 <  shrext_cmds=".dll"
10871 >  shrext_cmds=.dll
10872    need_version=no
10873    need_lib_prefix=no
10874  
# Line 10714 | Line 10877 | cygwin* | mingw* | pw32* | cegcc*)
10877      # gcc
10878      library_names_spec='$libname.dll.a'
10879      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10880 <    postinstall_cmds='base_file=`basename \${file}`~
10881 <      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10880 >    postinstall_cmds='base_file=`basename \$file`~
10881 >      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10882        dldir=$destdir/`dirname \$dlpath`~
10883        test -d \$dldir || mkdir -p \$dldir~
10884        $install_prog $dir/$dlname \$dldir/$dlname~
# Line 10731 | Line 10894 | cygwin* | mingw* | pw32* | cegcc*)
10894      case $host_os in
10895      cygwin*)
10896        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10897 <      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10897 >      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10898  
10899        sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10900        ;;
10901      mingw* | cegcc*)
10902        # MinGW DLLs use traditional 'lib' prefix
10903 <      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10903 >      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10904        ;;
10905      pw32*)
10906        # pw32 DLLs use 'pw' prefix rather than 'lib'
10907 <      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10907 >      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10908        ;;
10909      esac
10910      dynamic_linker='Win32 ld.exe'
# Line 10750 | Line 10913 | cygwin* | mingw* | pw32* | cegcc*)
10913    *,cl*)
10914      # Native MSVC
10915      libname_spec='$name'
10916 <    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10917 <    library_names_spec='${libname}.dll.lib'
10916 >    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10917 >    library_names_spec='$libname.dll.lib'
10918  
10919      case $build_os in
10920      mingw*)
# Line 10778 | Line 10941 | cygwin* | mingw* | pw32* | cegcc*)
10941        sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10942        ;;
10943      *)
10944 <      sys_lib_search_path_spec="$LIB"
10944 >      sys_lib_search_path_spec=$LIB
10945        if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10946          # It is most probably a Windows format PATH.
10947          sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
# Line 10791 | Line 10954 | cygwin* | mingw* | pw32* | cegcc*)
10954      esac
10955  
10956      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10957 <    postinstall_cmds='base_file=`basename \${file}`~
10958 <      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10957 >    postinstall_cmds='base_file=`basename \$file`~
10958 >      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10959        dldir=$destdir/`dirname \$dlpath`~
10960        test -d \$dldir || mkdir -p \$dldir~
10961        $install_prog $dir/$dlname \$dldir/$dlname'
# Line 10805 | Line 10968 | cygwin* | mingw* | pw32* | cegcc*)
10968  
10969    *)
10970      # Assume MSVC wrapper
10971 <    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10971 >    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10972      dynamic_linker='Win32 ld.exe'
10973      ;;
10974    esac
# Line 10818 | Line 10981 | darwin* | rhapsody*)
10981    version_type=darwin
10982    need_lib_prefix=no
10983    need_version=no
10984 <  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10985 <  soname_spec='${libname}${release}${major}$shared_ext'
10984 >  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10985 >  soname_spec='$libname$release$major$shared_ext'
10986    shlibpath_overrides_runpath=yes
10987    shlibpath_var=DYLD_LIBRARY_PATH
10988    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
# Line 10832 | Line 10995 | dgux*)
10995    version_type=linux # correct to gnu/linux during the next big refactor
10996    need_lib_prefix=no
10997    need_version=no
10998 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10999 <  soname_spec='${libname}${release}${shared_ext}$major'
10998 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10999 >  soname_spec='$libname$release$shared_ext$major'
11000    shlibpath_var=LD_LIBRARY_PATH
11001    ;;
11002  
# Line 10851 | Line 11014 | freebsd* | dragonfly*)
11014    version_type=freebsd-$objformat
11015    case $version_type in
11016      freebsd-elf*)
11017 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11017 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11018        need_version=no
11019        need_lib_prefix=no
11020        ;;
11021      freebsd-*)
11022 <      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11022 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11023        need_version=yes
11024        ;;
11025    esac
# Line 10881 | Line 11044 | freebsd* | dragonfly*)
11044    esac
11045    ;;
11046  
10884 gnu*)
10885  version_type=linux # correct to gnu/linux during the next big refactor
10886  need_lib_prefix=no
10887  need_version=no
10888  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10889  soname_spec='${libname}${release}${shared_ext}$major'
10890  shlibpath_var=LD_LIBRARY_PATH
10891  shlibpath_overrides_runpath=no
10892  hardcode_into_libs=yes
10893  ;;
10894
11047   haiku*)
11048    version_type=linux # correct to gnu/linux during the next big refactor
11049    need_lib_prefix=no
11050    need_version=no
11051    dynamic_linker="$host_os runtime_loader"
11052 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11053 <  soname_spec='${libname}${release}${shared_ext}$major'
11052 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11053 >  soname_spec='$libname$release$shared_ext$major'
11054    shlibpath_var=LIBRARY_PATH
11055 <  shlibpath_overrides_runpath=yes
11055 >  shlibpath_overrides_runpath=no
11056    sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11057    hardcode_into_libs=yes
11058    ;;
# Line 10918 | Line 11070 | hpux9* | hpux10* | hpux11*)
11070      dynamic_linker="$host_os dld.so"
11071      shlibpath_var=LD_LIBRARY_PATH
11072      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11073 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 <    soname_spec='${libname}${release}${shared_ext}$major'
11075 <    if test "X$HPUX_IA64_MODE" = X32; then
11073 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11074 >    soname_spec='$libname$release$shared_ext$major'
11075 >    if test 32 = "$HPUX_IA64_MODE"; then
11076        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11077      else
11078        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
# Line 10933 | Line 11085 | hpux9* | hpux10* | hpux11*)
11085      dynamic_linker="$host_os dld.sl"
11086      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11087      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11088 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11089 <    soname_spec='${libname}${release}${shared_ext}$major'
11088 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11089 >    soname_spec='$libname$release$shared_ext$major'
11090      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11091      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11092      ;;
# Line 10943 | Line 11095 | hpux9* | hpux10* | hpux11*)
11095      dynamic_linker="$host_os dld.sl"
11096      shlibpath_var=SHLIB_PATH
11097      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11098 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11099 <    soname_spec='${libname}${release}${shared_ext}$major'
11098 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11099 >    soname_spec='$libname$release$shared_ext$major'
11100      ;;
11101    esac
11102    # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
# Line 10957 | Line 11109 | interix[3-9]*)
11109    version_type=linux # correct to gnu/linux during the next big refactor
11110    need_lib_prefix=no
11111    need_version=no
11112 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11113 <  soname_spec='${libname}${release}${shared_ext}$major'
11112 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11113 >  soname_spec='$libname$release$shared_ext$major'
11114    dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11115    shlibpath_var=LD_LIBRARY_PATH
11116    shlibpath_overrides_runpath=no
# Line 10969 | Line 11121 | irix5* | irix6* | nonstopux*)
11121    case $host_os in
11122      nonstopux*) version_type=nonstopux ;;
11123      *)
11124 <        if test "$lt_cv_prog_gnu_ld" = yes; then
11124 >        if test yes = "$lt_cv_prog_gnu_ld"; then
11125                  version_type=linux # correct to gnu/linux during the next big refactor
11126          else
11127                  version_type=irix
# Line 10977 | Line 11129 | irix5* | irix6* | nonstopux*)
11129    esac
11130    need_lib_prefix=no
11131    need_version=no
11132 <  soname_spec='${libname}${release}${shared_ext}$major'
11133 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11132 >  soname_spec='$libname$release$shared_ext$major'
11133 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11134    case $host_os in
11135    irix5* | nonstopux*)
11136      libsuff= shlibsuff=
# Line 10997 | Line 11149 | irix5* | irix6* | nonstopux*)
11149    esac
11150    shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11151    shlibpath_overrides_runpath=no
11152 <  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11153 <  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11152 >  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11153 >  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11154    hardcode_into_libs=yes
11155    ;;
11156  
# Line 11007 | Line 11159 | linux*oldld* | linux*aout* | linux*coff*
11159    dynamic_linker=no
11160    ;;
11161  
11162 + linux*android*)
11163 +  version_type=none # Android doesn't support versioned libraries.
11164 +  need_lib_prefix=no
11165 +  need_version=no
11166 +  library_names_spec='$libname$release$shared_ext'
11167 +  soname_spec='$libname$release$shared_ext'
11168 +  finish_cmds=
11169 +  shlibpath_var=LD_LIBRARY_PATH
11170 +  shlibpath_overrides_runpath=yes
11171 +
11172 +  # This implies no fast_install, which is unacceptable.
11173 +  # Some rework will be needed to allow for fast_install
11174 +  # before this can be enabled.
11175 +  hardcode_into_libs=yes
11176 +
11177 +  dynamic_linker='Android linker'
11178 +  # Don't embed -rpath directories since the linker doesn't support them.
11179 +  hardcode_libdir_flag_spec='-L$libdir'
11180 +  ;;
11181 +
11182   # This must be glibc/ELF.
11183 < linux* | k*bsd*-gnu | kopensolaris*-gnu)
11183 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11184    version_type=linux # correct to gnu/linux during the next big refactor
11185    need_lib_prefix=no
11186    need_version=no
11187 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11188 <  soname_spec='${libname}${release}${shared_ext}$major'
11187 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11188 >  soname_spec='$libname$release$shared_ext$major'
11189    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11190    shlibpath_var=LD_LIBRARY_PATH
11191    shlibpath_overrides_runpath=no
# Line 11077 | Line 11249 | netbsd*)
11249    need_lib_prefix=no
11250    need_version=no
11251    if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11252 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11252 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11253      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11254      dynamic_linker='NetBSD (a.out) ld.so'
11255    else
11256 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11257 <    soname_spec='${libname}${release}${shared_ext}$major'
11256 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11257 >    soname_spec='$libname$release$shared_ext$major'
11258      dynamic_linker='NetBSD ld.elf_so'
11259    fi
11260    shlibpath_var=LD_LIBRARY_PATH
# Line 11092 | Line 11264 | netbsd*)
11264  
11265   newsos6)
11266    version_type=linux # correct to gnu/linux during the next big refactor
11267 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11267 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11268    shlibpath_var=LD_LIBRARY_PATH
11269    shlibpath_overrides_runpath=yes
11270    ;;
# Line 11101 | Line 11273 | newsos6)
11273    version_type=qnx
11274    need_lib_prefix=no
11275    need_version=no
11276 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11277 <  soname_spec='${libname}${release}${shared_ext}$major'
11276 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11277 >  soname_spec='$libname$release$shared_ext$major'
11278    shlibpath_var=LD_LIBRARY_PATH
11279    shlibpath_overrides_runpath=no
11280    hardcode_into_libs=yes
11281    dynamic_linker='ldqnx.so'
11282    ;;
11283  
11284 < openbsd*)
11284 > openbsd* | bitrig*)
11285    version_type=sunos
11286 <  sys_lib_dlsearch_path_spec="/usr/lib"
11286 >  sys_lib_dlsearch_path_spec=/usr/lib
11287    need_lib_prefix=no
11288 <  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11289 <  case $host_os in
11118 <    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11119 <    *)                          need_version=no  ;;
11120 <  esac
11121 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11122 <  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11123 <  shlibpath_var=LD_LIBRARY_PATH
11124 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11125 <    case $host_os in
11126 <      openbsd2.[89] | openbsd2.[89].*)
11127 <        shlibpath_overrides_runpath=no
11128 <        ;;
11129 <      *)
11130 <        shlibpath_overrides_runpath=yes
11131 <        ;;
11132 <      esac
11288 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11289 >    need_version=no
11290    else
11291 <    shlibpath_overrides_runpath=yes
11291 >    need_version=yes
11292    fi
11293 +  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11294 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11295 +  shlibpath_var=LD_LIBRARY_PATH
11296 +  shlibpath_overrides_runpath=yes
11297    ;;
11298  
11299   os2*)
11300    libname_spec='$name'
11301 <  shrext_cmds=".dll"
11301 >  shrext_cmds=.dll
11302    need_lib_prefix=no
11303 <  library_names_spec='$libname${shared_ext} $libname.a'
11303 >  library_names_spec='$libname$shared_ext $libname.a'
11304    dynamic_linker='OS/2 ld.exe'
11305    shlibpath_var=LIBPATH
11306    ;;
# Line 11148 | Line 11309 | osf3* | osf4* | osf5*)
11309    version_type=osf
11310    need_lib_prefix=no
11311    need_version=no
11312 <  soname_spec='${libname}${release}${shared_ext}$major'
11313 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11312 >  soname_spec='$libname$release$shared_ext$major'
11313 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11314    shlibpath_var=LD_LIBRARY_PATH
11315    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11316 <  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11316 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11317    ;;
11318  
11319   rdos*)
# Line 11163 | Line 11324 | solaris*)
11324    version_type=linux # correct to gnu/linux during the next big refactor
11325    need_lib_prefix=no
11326    need_version=no
11327 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11328 <  soname_spec='${libname}${release}${shared_ext}$major'
11327 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11328 >  soname_spec='$libname$release$shared_ext$major'
11329    shlibpath_var=LD_LIBRARY_PATH
11330    shlibpath_overrides_runpath=yes
11331    hardcode_into_libs=yes
# Line 11174 | Line 11335 | solaris*)
11335  
11336   sunos4*)
11337    version_type=sunos
11338 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11338 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11339    finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11340    shlibpath_var=LD_LIBRARY_PATH
11341    shlibpath_overrides_runpath=yes
11342 <  if test "$with_gnu_ld" = yes; then
11342 >  if test yes = "$with_gnu_ld"; then
11343      need_lib_prefix=no
11344    fi
11345    need_version=yes
# Line 11186 | Line 11347 | sunos4*)
11347  
11348   sysv4 | sysv4.3*)
11349    version_type=linux # correct to gnu/linux during the next big refactor
11350 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11351 <  soname_spec='${libname}${release}${shared_ext}$major'
11350 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11351 >  soname_spec='$libname$release$shared_ext$major'
11352    shlibpath_var=LD_LIBRARY_PATH
11353    case $host_vendor in
11354      sni)
# Line 11208 | Line 11369 | sysv4 | sysv4.3*)
11369    ;;
11370  
11371   sysv4*MP*)
11372 <  if test -d /usr/nec ;then
11372 >  if test -d /usr/nec; then
11373      version_type=linux # correct to gnu/linux during the next big refactor
11374 <    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11375 <    soname_spec='$libname${shared_ext}.$major'
11374 >    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11375 >    soname_spec='$libname$shared_ext.$major'
11376      shlibpath_var=LD_LIBRARY_PATH
11377    fi
11378    ;;
# Line 11220 | Line 11381 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11381    version_type=freebsd-elf
11382    need_lib_prefix=no
11383    need_version=no
11384 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11385 <  soname_spec='${libname}${release}${shared_ext}$major'
11384 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11385 >  soname_spec='$libname$release$shared_ext$major'
11386    shlibpath_var=LD_LIBRARY_PATH
11387    shlibpath_overrides_runpath=yes
11388    hardcode_into_libs=yes
11389 <  if test "$with_gnu_ld" = yes; then
11389 >  if test yes = "$with_gnu_ld"; then
11390      sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11391    else
11392      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
# Line 11243 | Line 11404 | tpf*)
11404    version_type=linux # correct to gnu/linux during the next big refactor
11405    need_lib_prefix=no
11406    need_version=no
11407 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11407 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11408    shlibpath_var=LD_LIBRARY_PATH
11409    shlibpath_overrides_runpath=no
11410    hardcode_into_libs=yes
# Line 11251 | Line 11412 | tpf*)
11412  
11413   uts4*)
11414    version_type=linux # correct to gnu/linux during the next big refactor
11415 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11416 <  soname_spec='${libname}${release}${shared_ext}$major'
11415 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11416 >  soname_spec='$libname$release$shared_ext$major'
11417    shlibpath_var=LD_LIBRARY_PATH
11418    ;;
11419  
# Line 11262 | Line 11423 | uts4*)
11423   esac
11424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11425   $as_echo "$dynamic_linker" >&6; }
11426 < test "$dynamic_linker" = no && can_build_shared=no
11426 > test no = "$dynamic_linker" && can_build_shared=no
11427  
11428   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11429 < if test "$GCC" = yes; then
11429 > if test yes = "$GCC"; then
11430    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11431   fi
11432  
11433 < if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11434 <  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11433 > if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11434 >  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11435   fi
11436 < if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11437 <  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11436 > if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11437 >  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11438   fi
11439  
11440  
# Line 11372 | Line 11533 | $as_echo_n "checking how to hardcode lib
11533   hardcode_action=
11534   if test -n "$hardcode_libdir_flag_spec" ||
11535     test -n "$runpath_var" ||
11536 <   test "X$hardcode_automatic" = "Xyes" ; then
11536 >   test yes = "$hardcode_automatic"; then
11537  
11538    # We can hardcode non-existent directories.
11539 <  if test "$hardcode_direct" != no &&
11539 >  if test no != "$hardcode_direct" &&
11540       # If the only mechanism to avoid hardcoding is shlibpath_var, we
11541       # have to relink, otherwise we might link with an installed library
11542       # when we should be linking with a yet-to-be-installed one
11543 <     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11544 <     test "$hardcode_minus_L" != no; then
11543 >     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11544 >     test no != "$hardcode_minus_L"; then
11545      # Linking always hardcodes the temporary library directory.
11546      hardcode_action=relink
11547    else
# Line 11395 | Line 11556 | fi
11556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11557   $as_echo "$hardcode_action" >&6; }
11558  
11559 < if test "$hardcode_action" = relink ||
11560 <   test "$inherit_rpath" = yes; then
11559 > if test relink = "$hardcode_action" ||
11560 >   test yes = "$inherit_rpath"; then
11561    # Fast installation is not supported
11562    enable_fast_install=no
11563 < elif test "$shlibpath_overrides_runpath" = yes ||
11564 <     test "$enable_shared" = no; then
11563 > elif test yes = "$shlibpath_overrides_runpath" ||
11564 >     test no = "$enable_shared"; then
11565    # Fast installation is not necessary
11566    enable_fast_install=needless
11567   fi
# Line 11410 | Line 11571 | fi
11571  
11572  
11573  
11574 <  if test "x$enable_dlopen" != xyes; then
11574 >  if test yes != "$enable_dlopen"; then
11575    enable_dlopen=unknown
11576    enable_dlopen_self=unknown
11577    enable_dlopen_self_static=unknown
# Line 11420 | Line 11581 | else
11581  
11582    case $host_os in
11583    beos*)
11584 <    lt_cv_dlopen="load_add_on"
11584 >    lt_cv_dlopen=load_add_on
11585      lt_cv_dlopen_libs=
11586      lt_cv_dlopen_self=yes
11587      ;;
11588  
11589    mingw* | pw32* | cegcc*)
11590 <    lt_cv_dlopen="LoadLibrary"
11590 >    lt_cv_dlopen=LoadLibrary
11591      lt_cv_dlopen_libs=
11592      ;;
11593  
11594    cygwin*)
11595 <    lt_cv_dlopen="dlopen"
11595 >    lt_cv_dlopen=dlopen
11596      lt_cv_dlopen_libs=
11597      ;;
11598  
11599    darwin*)
11600 <  # if libdl is installed we need to link against it
11600 >    # if libdl is installed we need to link against it
11601      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11602   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11603   if ${ac_cv_lib_dl_dlopen+:} false; then :
# Line 11474 | Line 11635 | fi
11635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11636   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11637   if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11638 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11638 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11639   else
11640  
11641 <    lt_cv_dlopen="dyld"
11641 >    lt_cv_dlopen=dyld
11642      lt_cv_dlopen_libs=
11643      lt_cv_dlopen_self=yes
11644  
# Line 11485 | Line 11646 | fi
11646  
11647      ;;
11648  
11649 +  tpf*)
11650 +    # Don't try to run any link tests for TPF.  We know it's impossible
11651 +    # because TPF is a cross-compiler, and we know how we open DSOs.
11652 +    lt_cv_dlopen=dlopen
11653 +    lt_cv_dlopen_libs=
11654 +    lt_cv_dlopen_self=no
11655 +    ;;
11656 +
11657    *)
11658      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11659   if test "x$ac_cv_func_shl_load" = xyes; then :
11660 <  lt_cv_dlopen="shl_load"
11660 >  lt_cv_dlopen=shl_load
11661   else
11662    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11663   $as_echo_n "checking for shl_load in -ldld... " >&6; }
# Line 11527 | Line 11696 | fi
11696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11697   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11698   if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11699 <  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11699 >  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11700   else
11701    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11702   if test "x$ac_cv_func_dlopen" = xyes; then :
11703 <  lt_cv_dlopen="dlopen"
11703 >  lt_cv_dlopen=dlopen
11704   else
11705    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11706   $as_echo_n "checking for dlopen in -ldl... " >&6; }
# Line 11570 | Line 11739 | fi
11739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11740   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11741   if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11742 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11742 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11743   else
11744    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11745   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
# Line 11609 | Line 11778 | fi
11778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11779   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11780   if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11781 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11781 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11782   else
11783    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11784   $as_echo_n "checking for dld_link in -ldld... " >&6; }
# Line 11648 | Line 11817 | fi
11817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11818   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11819   if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11820 <  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11820 >  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11821   fi
11822  
11823  
# Line 11669 | Line 11838 | fi
11838      ;;
11839    esac
11840  
11841 <  if test "x$lt_cv_dlopen" != xno; then
11673 <    enable_dlopen=yes
11674 <  else
11841 >  if test no = "$lt_cv_dlopen"; then
11842      enable_dlopen=no
11843 +  else
11844 +    enable_dlopen=yes
11845    fi
11846  
11847    case $lt_cv_dlopen in
11848    dlopen)
11849 <    save_CPPFLAGS="$CPPFLAGS"
11850 <    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11849 >    save_CPPFLAGS=$CPPFLAGS
11850 >    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11851  
11852 <    save_LDFLAGS="$LDFLAGS"
11852 >    save_LDFLAGS=$LDFLAGS
11853      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11854  
11855 <    save_LIBS="$LIBS"
11855 >    save_LIBS=$LIBS
11856      LIBS="$lt_cv_dlopen_libs $LIBS"
11857  
11858      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
# Line 11691 | Line 11860 | $as_echo_n "checking whether a program c
11860   if ${lt_cv_dlopen_self+:} false; then :
11861    $as_echo_n "(cached) " >&6
11862   else
11863 <          if test "$cross_compiling" = yes; then :
11863 >          if test yes = "$cross_compiling"; then :
11864    lt_cv_dlopen_self=cross
11865   else
11866    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
# Line 11740 | Line 11909 | else
11909  
11910   /* When -fvisbility=hidden is used, assume the code has been annotated
11911     correspondingly for the symbols needed.  */
11912 < #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11912 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11913   int fnord () __attribute__((visibility("default")));
11914   #endif
11915  
# Line 11770 | Line 11939 | _LT_EOF
11939    (eval $ac_link) 2>&5
11940    ac_status=$?
11941    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11942 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11942 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11943      (./conftest; exit; ) >&5 2>/dev/null
11944      lt_status=$?
11945      case x$lt_status in
# Line 11790 | Line 11959 | fi
11959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11960   $as_echo "$lt_cv_dlopen_self" >&6; }
11961  
11962 <    if test "x$lt_cv_dlopen_self" = xyes; then
11962 >    if test yes = "$lt_cv_dlopen_self"; then
11963        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11964        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11965   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11966   if ${lt_cv_dlopen_self_static+:} false; then :
11967    $as_echo_n "(cached) " >&6
11968   else
11969 <          if test "$cross_compiling" = yes; then :
11969 >          if test yes = "$cross_compiling"; then :
11970    lt_cv_dlopen_self_static=cross
11971   else
11972    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
# Line 11846 | Line 12015 | else
12015  
12016   /* When -fvisbility=hidden is used, assume the code has been annotated
12017     correspondingly for the symbols needed.  */
12018 < #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12018 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12019   int fnord () __attribute__((visibility("default")));
12020   #endif
12021  
# Line 11876 | Line 12045 | _LT_EOF
12045    (eval $ac_link) 2>&5
12046    ac_status=$?
12047    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12048 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12048 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12049      (./conftest; exit; ) >&5 2>/dev/null
12050      lt_status=$?
12051      case x$lt_status in
# Line 11897 | Line 12066 | fi
12066   $as_echo "$lt_cv_dlopen_self_static" >&6; }
12067      fi
12068  
12069 <    CPPFLAGS="$save_CPPFLAGS"
12070 <    LDFLAGS="$save_LDFLAGS"
12071 <    LIBS="$save_LIBS"
12069 >    CPPFLAGS=$save_CPPFLAGS
12070 >    LDFLAGS=$save_LDFLAGS
12071 >    LIBS=$save_LIBS
12072      ;;
12073    esac
12074  
# Line 11943 | Line 12112 | else
12112   # FIXME - insert some real tests, host_os isn't really good enough
12113    case $host_os in
12114    darwin*)
12115 <    if test -n "$STRIP" ; then
12115 >    if test -n "$STRIP"; then
12116        striplib="$STRIP -x"
12117        old_striplib="$STRIP -S"
12118        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 11971 | Line 12140 | fi
12140  
12141  
12142  
12143 <  # Report which library types will actually be built
12143 >  # Report what library types will actually be built
12144    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12145   $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12146    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
# Line 11979 | Line 12148 | $as_echo "$can_build_shared" >&6; }
12148  
12149    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12150   $as_echo_n "checking whether to build shared libraries... " >&6; }
12151 <  test "$can_build_shared" = "no" && enable_shared=no
12151 >  test no = "$can_build_shared" && enable_shared=no
12152  
12153    # On AIX, shared libraries and static libraries use the same namespace, and
12154    # are all built from PIC.
12155    case $host_os in
12156    aix3*)
12157 <    test "$enable_shared" = yes && enable_static=no
12157 >    test yes = "$enable_shared" && enable_static=no
12158      if test -n "$RANLIB"; then
12159        archive_cmds="$archive_cmds~\$RANLIB \$lib"
12160        postinstall_cmds='$RANLIB $lib'
# Line 11993 | Line 12162 | $as_echo_n "checking whether to build sh
12162      ;;
12163  
12164    aix[4-9]*)
12165 <    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12166 <      test "$enable_shared" = yes && enable_static=no
12165 >    if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
12166 >      test yes = "$enable_shared" && enable_static=no
12167      fi
12168      ;;
12169    esac
# Line 12004 | Line 12173 | $as_echo "$enable_shared" >&6; }
12173    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12174   $as_echo_n "checking whether to build static libraries... " >&6; }
12175    # Make sure either enable_shared or enable_static is yes.
12176 <  test "$enable_shared" = yes || enable_static=yes
12176 >  test yes = "$enable_shared" || enable_static=yes
12177    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12178   $as_echo "$enable_static" >&6; }
12179  
# Line 12018 | Line 12187 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12187   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12188   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12189  
12190 < CC="$lt_save_CC"
12190 > CC=$lt_save_CC
12191  
12192  
12193  
# Line 12042 | Line 12211 | CC="$lt_save_CC"
12211   # Only expand once:
12212  
12213  
12214 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12215 < $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12214 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
12215 > $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
12216   if ${libltdl_cv_shlibext+:} false; then :
12217    $as_echo_n "(cached) " >&6
12218   else
# Line 12071 | Line 12240 | _ACEOF
12240  
12241   fi
12242  
12243 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12244 < $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12243 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
12244 > $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
12245   if ${lt_cv_module_path_var+:} false; then :
12246    $as_echo_n "(cached) " >&6
12247   else
12248 <  lt_cv_module_path_var="$shlibpath_var"
12248 >  lt_cv_module_path_var=$shlibpath_var
12249   fi
12250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12251   $as_echo "$lt_cv_module_path_var" >&6; }
# Line 12093 | Line 12262 | $as_echo_n "checking for the default lib
12262   if ${lt_cv_sys_dlsearch_path+:} false; then :
12263    $as_echo_n "(cached) " >&6
12264   else
12265 <  lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
12265 >  lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
12266   fi
12267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12268   $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
# Line 12101 | Line 12270 | if test -n "$lt_cv_sys_dlsearch_path"; t
12270    sys_dlsearch_path=
12271    for dir in $lt_cv_sys_dlsearch_path; do
12272      if test -z "$sys_dlsearch_path"; then
12273 <      sys_dlsearch_path="$dir"
12273 >      sys_dlsearch_path=$dir
12274      else
12275 <      sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
12275 >      sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
12276      fi
12277    done
12278  
# Line 12181 | Line 12350 | if test "$ac_res" != no; then :
12350  
12351   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12352  
12353 <        if test "$ac_cv_search_dlopen" != "none required" ; then
12354 <          LIBADD_DLOPEN="-ldl"
12353 >        if test "$ac_cv_search_dlopen" != "none required"; then
12354 >          LIBADD_DLOPEN=-ldl
12355          fi
12356 <        libltdl_cv_lib_dl_dlopen="yes"
12356 >        libltdl_cv_lib_dl_dlopen=yes
12357          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12358   else
12359    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 12205 | Line 12374 | if ac_fn_c_try_link "$LINENO"; then :
12374  
12375   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12376  
12377 <            libltdl_cv_func_dlopen="yes"
12377 >            libltdl_cv_func_dlopen=yes
12378              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12379   else
12380    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
# Line 12248 | Line 12417 | if test "x$ac_cv_lib_svld_dlopen" = xyes
12417  
12418   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12419  
12420 <                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
12420 >                LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
12421                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12422   fi
12423  
# Line 12257 | Line 12426 | rm -f core conftest.err conftest.$ac_obj
12426      conftest$ac_exeext conftest.$ac_ext
12427   fi
12428  
12429 < if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
12429 > if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
12430   then
12431 <  lt_save_LIBS="$LIBS"
12431 >  lt_save_LIBS=$LIBS
12432    LIBS="$LIBS $LIBADD_DLOPEN"
12433    for ac_func in dlerror
12434   do :
# Line 12272 | Line 12441 | _ACEOF
12441   fi
12442   done
12443  
12444 <  LIBS="$lt_save_LIBS"
12444 >  LIBS=$lt_save_LIBS
12445   fi
12446  
12447  
# Line 12325 | Line 12494 | if test "x$ac_cv_lib_dld_shl_load" = xye
12494   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12495  
12496              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12497 <            LIBADD_SHL_LOAD="-ldld"
12497 >            LIBADD_SHL_LOAD=-ldld
12498   fi
12499  
12500   fi
# Line 12479 | Line 12648 | $as_echo "$lt_cv_sys_symbol_underscore"
12648    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12649  
12650  
12651 < if test x"$lt_cv_sys_symbol_underscore" = xyes; then
12652 <  if test x"$libltdl_cv_func_dlopen" = xyes ||
12653 <     test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12651 > if test yes = "$lt_cv_sys_symbol_underscore"; then
12652 >  if test yes = "$libltdl_cv_func_dlopen" ||
12653 >     test yes = "$libltdl_cv_lib_dl_dlopen"; then
12654          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12655   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12656   if ${libltdl_cv_need_uscore+:} false; then :
12657    $as_echo_n "(cached) " >&6
12658   else
12659    libltdl_cv_need_uscore=unknown
12660 <          save_LIBS="$LIBS"
12660 >          save_LIBS=$LIBS
12661            LIBS="$LIBS $LIBADD_DLOPEN"
12662 <          if test "$cross_compiling" = yes; then :
12662 >          if test yes = "$cross_compiling"; then :
12663    libltdl_cv_need_uscore=cross
12664   else
12665    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
# Line 12539 | Line 12708 | else
12708  
12709   /* When -fvisbility=hidden is used, assume the code has been annotated
12710     correspondingly for the symbols needed.  */
12711 < #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12711 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12712   int fnord () __attribute__((visibility("default")));
12713   #endif
12714  
# Line 12569 | Line 12738 | _LT_EOF
12738    (eval $ac_link) 2>&5
12739    ac_status=$?
12740    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12741 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12741 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12742      (./conftest; exit; ) >&5 2>/dev/null
12743      lt_status=$?
12744      case x$lt_status in
# Line 12584 | Line 12753 | _LT_EOF
12753   fi
12754   rm -fr conftest*
12755  
12756 <          LIBS="$save_LIBS"
12756 >          LIBS=$save_LIBS
12757  
12758   fi
12759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
# Line 12592 | Line 12761 | $as_echo "$libltdl_cv_need_uscore" >&6;
12761    fi
12762   fi
12763  
12764 < if test x"$libltdl_cv_need_uscore" = xyes; then
12764 > if test yes = "$libltdl_cv_need_uscore"; then
12765  
12766   $as_echo "#define NEED_USCORE 1" >>confdefs.h
12767  
# Line 12611 | Line 12780 | else
12780    case $host_os in
12781    aix3*|aix4.1.*|aix4.2.*)
12782      # Unknown whether this is true for these versions of AIX, but
12783 <    # we want this `case' here to explicitly catch those versions.
12783 >    # we want this 'case' here to explicitly catch those versions.
12784      lt_cv_sys_dlopen_deplibs=unknown
12785      ;;
12786    aix[4-9]*)
# Line 12624 | Line 12793 | else
12793        ;;
12794      esac
12795      ;;
12796 +  bitrig*)
12797 +    lt_cv_sys_dlopen_deplibs=yes
12798 +    ;;
12799    darwin*)
12800      # Assuming the user has installed a libdl from somewhere, this is true
12801      # If you are looking for one http://www.opendarwin.org/projects/dlcompat
# Line 12661 | Line 12833 | else
12833    osf[1234]*)
12834      # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12835      # it did *not* use an RPATH in a shared library to find objects the
12836 <    # library depends on, so we explicitly say `no'.
12836 >    # library depends on, so we explicitly say 'no'.
12837      lt_cv_sys_dlopen_deplibs=no
12838      ;;
12839    osf5.0|osf5.0a|osf5.1)
# Line 12670 | Line 12842 | else
12842      # that the library depends on, but there's no easy way to know if that
12843      # patch is installed.  Since this is the case, all we can really
12844      # say is unknown -- it depends on the patch being installed.  If
12845 <    # it is, this changes to `yes'.  Without it, it would be `no'.
12845 >    # it is, this changes to 'yes'.  Without it, it would be 'no'.
12846      lt_cv_sys_dlopen_deplibs=unknown
12847      ;;
12848    osf*)
12849      # the two cases above should catch all versions of osf <= 5.1.  Read
12850      # the comments above for what we know about them.
12851      # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12852 <    # is used to find them so we can finally say `yes'.
12852 >    # is used to find them so we can finally say 'yes'.
12853      lt_cv_sys_dlopen_deplibs=yes
12854      ;;
12855    qnx*)
# Line 12694 | Line 12866 | else
12866   fi
12867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
12868   $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12869 < if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12869 > if test yes != "$lt_cv_sys_dlopen_deplibs"; then
12870  
12871   $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
12872  
# Line 12766 | Line 12938 | else
12938    case $host_os in #(
12939           *cygwin*)
12940             lt_cv_sys_argz_works=no
12941 <           if test "$cross_compiling" != no; then
12941 >           if test no != "$cross_compiling"; then
12942               lt_cv_sys_argz_works="guessing no"
12943             else
12944               lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
# Line 12777 | Line 12949 | else
12949               lt_os_major=${2-0}
12950               lt_os_minor=${3-0}
12951               lt_os_micro=${4-0}
12952 <             if test "$lt_os_major" -gt 1 \
12953 <                || { test "$lt_os_major" -eq 1 \
12954 <                  && { test "$lt_os_minor" -gt 5 \
12955 <                    || { test "$lt_os_minor" -eq 5 \
12956 <                      && test "$lt_os_micro" -gt 24; }; }; }; then
12952 >             if test 1 -lt "$lt_os_major" \
12953 >                || { test 1 -eq "$lt_os_major" \
12954 >                  && { test 5 -lt "$lt_os_minor" \
12955 >                    || { test 5 -eq "$lt_os_minor" \
12956 >                      && test 24 -lt "$lt_os_micro"; }; }; }; then
12957                 lt_cv_sys_argz_works=yes
12958               fi
12959             fi
# Line 12791 | Line 12963 | else
12963   fi
12964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12965   $as_echo "$lt_cv_sys_argz_works" >&6; }
12966 <     if test "$lt_cv_sys_argz_works" = yes; then :
12966 >     if test yes = "$lt_cv_sys_argz_works"; then :
12967  
12968   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12969  
# Line 12820 | Line 12992 | else
12992   fi
12993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
12994   $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
12995 < if test x"$libltdl_cv_preloaded_symbols" = xyes; then
12995 > if test yes = "$libltdl_cv_preloaded_symbols"; then
12996  
12997   $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
12998  
# Line 12844 | Line 13016 | if test "${with_included_ltdl+set}" = se
13016   fi
13017  
13018  
13019 < if test "x$with_included_ltdl" != xyes; then
13019 > if test yes != "$with_included_ltdl"; then
13020    # We are not being forced to use the included libltdl sources, so
13021    # decide whether there is a useful installed version we can use.
13022    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
# Line 12920 | Line 13092 | fi
13092   if test -n "$with_ltdl_include"; then
13093    if test -f "$with_ltdl_include/ltdl.h"; then :
13094    else
13095 <    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13095 >    as_fn_error $? "invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5
13096    fi
13097   else
13098    with_ltdl_include=no
# Line 12936 | Line 13108 | fi
13108   if test -n "$with_ltdl_lib"; then
13109    if test -f "$with_ltdl_lib/libltdl.la"; then :
13110    else
13111 <    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13111 >    as_fn_error $? "invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5
13112    fi
13113   else
13114    with_ltdl_lib=no
# Line 12949 | Line 13121 | case ,$with_included_ltdl,$with_ltdl_inc
13121    "") enable_ltdl_convenience=yes
13122        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13123   esac
13124 < LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13124 > LIBLTDL='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13125   LTDLDEPS=$LIBLTDL
13126 < LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13126 > LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13127  
13128  
13129  
13130  
13131  
13132   # For backwards non-gettext consistent compatibility...
13133 < INCLTDL="$LTDLINCL"
13133 > INCLTDL=$LTDLINCL
13134  
13135  
13136          ;;
# Line 12973 | Line 13145 | $as_echo "#define HAVE_LTDL 1" >>confdef
13145          LTDLINCL=
13146          ;;
13147    ,no*,no,*)
13148 <        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13148 >        as_fn_error $? "'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5
13149          ;;
13150    *)    with_included_ltdl=no
13151          LIBLTDL="-L$with_ltdl_lib -lltdl"
13152          LTDLDEPS=
13153 <        LTDLINCL="-I$with_ltdl_include"
13153 >        LTDLINCL=-I$with_ltdl_include
13154          ;;
13155   esac
13156 < INCLTDL="$LTDLINCL"
13156 > INCLTDL=$LTDLINCL
13157  
13158   # Report our decision...
13159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
# Line 13001 | Line 13173 | if test "${enable_ltdl_install+set}" = s
13173   fi
13174  
13175  
13176 < case ,${enable_ltdl_install},${enable_ltdl_convenience} in
13176 > case ,$enable_ltdl_install,$enable_ltdl_convenience in
13177    *yes*) ;;
13178    *) enable_ltdl_convenience=yes ;;
13179   esac
13180  
13181 < if test x"${enable_ltdl_install-no}" != xno; then
13181 > if test no != "${enable_ltdl_install-no}"; then
13182    INSTALL_LTDL_TRUE=
13183    INSTALL_LTDL_FALSE='#'
13184   else
# Line 13014 | Line 13186 | else
13186    INSTALL_LTDL_FALSE=
13187   fi
13188  
13189 <  if test x"${enable_ltdl_convenience-no}" != xno; then
13189 >  if test no != "${enable_ltdl_convenience-no}"; then
13190    CONVENIENCE_LTDL_TRUE=
13191    CONVENIENCE_LTDL_FALSE='#'
13192   else
# Line 13439 | Line 13611 | else
13611    as_fn_error $? "socket library not found" "$LINENO" 5
13612   fi
13613  
13442  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13443 "
13444 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13445
13446 $as_echo "#define IPV6 1" >>confdefs.h
13447
13448 fi
13449
13450  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13451   #include <sys/socket.h>
13452   #include <netdb.h>
13453
13454 "
13455 if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13456
13457 cat >>confdefs.h <<_ACEOF
13458 #define HAVE_STRUCT_SOCKADDR_IN 1
13459 _ACEOF
13460
13461
13462 fi
13463 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
13464   #include <sys/socket.h>
13465   #include <netdb.h>
13466
13467 "
13468 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13469
13470 cat >>confdefs.h <<_ACEOF
13471 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
13472 _ACEOF
13473
13474
13475 fi
13476 ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
13477   #include <sys/socket.h>
13478   #include <netdb.h>
13479
13480 "
13481 if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13482
13483 cat >>confdefs.h <<_ACEOF
13484 #define HAVE_STRUCT_ADDRINFO 1
13485 _ACEOF
13486
13487
13488 fi
13489
13614  
13615  
13616   # Checks for typedefs, structures, and compiler characteristics.
# Line 13902 | Line 14026 | fi
14026   fi
14027  
14028  
13905
13906 # Check whether --enable-openssl was given.
13907 if test "${enable_openssl+set}" = set; then :
13908  enableval=$enable_openssl;  cf_enable_openssl=$enableval
13909 else
13910   cf_enable_openssl="auto"
13911 fi
13912
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
13914 $as_echo_n "checking for OpenSSL... " >&6; }
13915 if test "$cf_enable_openssl" != "no"; then
13916  cf_openssl_basedir=""
13917  if test "$cf_enable_openssl" != "auto" &&
13918     test "$cf_enable_openssl" != "yes"; then
13919          cf_openssl_basedir="${cf_enable_openssl}"
13920  else
13921        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
13922                /opt /opt/openssl /usr/local/openssl; do
13923      if test -f "${dirs}/include/openssl/opensslv.h"; then
13924        cf_openssl_basedir="${dirs}"
13925        break
13926      fi
13927    done
13928    unset dirs
13929  fi
13930
13931    if test ! -z "$cf_openssl_basedir"; then
13932    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
13933      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
13934      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
13935    else
13936                  cf_openssl_basedir=""
13937    fi
13938  else
13939                            if test -f "/usr/include/openssl/opensslv.h"; then
13940      cf_openssl_basedir="/usr"
13941    fi
13942  fi
13943
13944      if test ! -z "$cf_openssl_basedir"; then
13945    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13946 $as_echo "$cf_openssl_basedir" >&6; }
13947    cf_enable_openssl="yes"
13948  else
13949    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13950 $as_echo "not found. Please check your path." >&6; }
13951    cf_enable_openssl="no"
13952  fi
13953  unset cf_openssl_basedir
13954 else
13955    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13956 $as_echo "disabled" >&6; }
13957 fi
13958
13959 if test "$cf_enable_openssl" != "no"; then :
13960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5
13961 $as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; }
13962  if test "$cross_compiling" = yes; then :
13963  cf_openssl_version_ok=no
13964 else
13965  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13966 /* end confdefs.h.  */
13967
13968
13969    #include <openssl/opensslv.h>
13970    #include <stdlib.h>
13971 int
13972 main ()
13973 {
13974 exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
13975  ;
13976  return 0;
13977 }
13978 _ACEOF
13979 if ac_fn_c_try_run "$LINENO"; then :
13980  cf_openssl_version_ok=yes
13981 else
13982  cf_openssl_version_ok=no
13983 fi
13984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13985  conftest.$ac_objext conftest.beam conftest.$ac_ext
13986 fi
13987
13988
13989  if test "$cf_openssl_version_ok" = "yes"; then :
13990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13991 $as_echo "found" >&6; }
13992
13993    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13994 $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13995 if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13996  $as_echo_n "(cached) " >&6
13997 else
13998  ac_check_lib_save_LIBS=$LIBS
13999 LIBS="-lcrypto  $LIBS"
14000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h.  */
14002
14003 /* Override any GCC internal prototype to avoid an error.
14004   Use char because int might match the return type of a GCC
14005   builtin and then its argument prototype would still apply.  */
14006 #ifdef __cplusplus
14007 extern "C"
14008 #endif
14009 char RSA_free ();
14010 int
14011 main ()
14012 {
14013 return RSA_free ();
14014  ;
14015  return 0;
14016 }
14017 _ACEOF
14018 if ac_fn_c_try_link "$LINENO"; then :
14019  ac_cv_lib_crypto_RSA_free=yes
14020 else
14021  ac_cv_lib_crypto_RSA_free=no
14022 fi
14023 rm -f core conftest.err conftest.$ac_objext \
14024    conftest$ac_exeext conftest.$ac_ext
14025 LIBS=$ac_check_lib_save_LIBS
14026 fi
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14028 $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14029 if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14030  cat >>confdefs.h <<_ACEOF
14031 #define HAVE_LIBCRYPTO 1
14032 _ACEOF
14033
14034  LIBS="-lcrypto $LIBS"
14035
14036 fi
14037
14038    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14039  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14040 $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14041 if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14042  $as_echo_n "(cached) " >&6
14043 else
14044  ac_check_lib_save_LIBS=$LIBS
14045 LIBS="-lssl  $LIBS"
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h.  */
14048
14049 /* Override any GCC internal prototype to avoid an error.
14050   Use char because int might match the return type of a GCC
14051   builtin and then its argument prototype would still apply.  */
14052 #ifdef __cplusplus
14053 extern "C"
14054 #endif
14055 char SSL_connect ();
14056 int
14057 main ()
14058 {
14059 return SSL_connect ();
14060  ;
14061  return 0;
14062 }
14063 _ACEOF
14064 if ac_fn_c_try_link "$LINENO"; then :
14065  ac_cv_lib_ssl_SSL_connect=yes
14066 else
14067  ac_cv_lib_ssl_SSL_connect=no
14068 fi
14069 rm -f core conftest.err conftest.$ac_objext \
14070    conftest$ac_exeext conftest.$ac_ext
14071 LIBS=$ac_check_lib_save_LIBS
14072 fi
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14074 $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14075 if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14076  cat >>confdefs.h <<_ACEOF
14077 #define HAVE_LIBSSL 1
14078 _ACEOF
14079
14080  LIBS="-lssl $LIBS"
14081
14082 fi
14083
14084 fi
14085
14086 else
14087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
14088 $as_echo "no - OpenSSL support disabled" >&6; }
14089    cf_enable_openssl="no"
14090 fi
14091 fi
14092
14093 if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14094  ENABLE_SSL_TRUE=
14095  ENABLE_SSL_FALSE='#'
14096 else
14097  ENABLE_SSL_TRUE='#'
14098  ENABLE_SSL_FALSE=
14099 fi
14100
14101
14102
14029   # Check whether --enable-assert was given.
14030   if test "${enable_assert+set}" = set; then :
14031    enableval=$enable_assert; assert=$enableval
# Line 14130 | Line 14056 | $as_echo "#define MP_CHUNK_SIZE_BAN 1024
14056   $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14057  
14058  
14059 < $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14059 > $as_echo "#define MP_CHUNK_SIZE_CONNECTION 512*1024" >>confdefs.h
14060  
14061  
14062   $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
# Line 14508 | Line 14434 | done
14434  
14435  
14436  
14437 < for flag in -Wextra; do
14437 > for flag in -Wbad-function-cast; do
14438    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14440   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14573 | Line 14499 | done
14499  
14500  
14501  
14502 < for flag in -Wno-unused; do
14502 > for flag in -Wcast-align; do
14503    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14505   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14703 | Line 14629 | done
14629  
14630  
14631  
14632 < for flag in -Wcast-align; do
14632 > for flag in -Wclobbered; do
14633    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14635   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14768 | Line 14694 | done
14694  
14695  
14696  
14697 < for flag in -Wbad-function-cast; do
14697 > for flag in -Wempty-body; do
14698 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14699 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14700 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14701 > if eval \${$as_CACHEVAR+:} false; then :
14702 >  $as_echo_n "(cached) " >&6
14703 > else
14704 >
14705 >  ax_check_save_flags=$CFLAGS
14706 >  CFLAGS="$CFLAGS  $flag"
14707 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 > /* end confdefs.h.  */
14709 >
14710 > int
14711 > main ()
14712 > {
14713 >
14714 >  ;
14715 >  return 0;
14716 > }
14717 > _ACEOF
14718 > if ac_fn_c_try_compile "$LINENO"; then :
14719 >  eval "$as_CACHEVAR=yes"
14720 > else
14721 >  eval "$as_CACHEVAR=no"
14722 > fi
14723 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14724 >  CFLAGS=$ax_check_save_flags
14725 > fi
14726 > eval ac_res=\$$as_CACHEVAR
14727 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14728 > $as_echo "$ac_res" >&6; }
14729 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14730 >  if ${CFLAGS+:} false; then :
14731 >  case " $CFLAGS " in
14732 >    *" $flag "*)
14733 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14734 >  (: CFLAGS already contains $flag) 2>&5
14735 >  ac_status=$?
14736 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14737 >  test $ac_status = 0; }
14738 >      ;;
14739 >    *)
14740 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14741 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14742 >  ac_status=$?
14743 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14744 >  test $ac_status = 0; }
14745 >      CFLAGS="$CFLAGS $flag"
14746 >      ;;
14747 >   esac
14748 > else
14749 >  CFLAGS="$flag"
14750 > fi
14751 >
14752 > else
14753 >  :
14754 > fi
14755 >
14756 > done
14757 >
14758 >
14759 >
14760 >
14761 >
14762 > for flag in -Wignored-qualifiers; do
14763    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14765   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14963 | Line 14954 | done
14954  
14955  
14956  
14957 + for flag in -Wmissing-field-initializers; do
14958 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14959 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14960 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14961 + if eval \${$as_CACHEVAR+:} false; then :
14962 +  $as_echo_n "(cached) " >&6
14963 + else
14964 +
14965 +  ax_check_save_flags=$CFLAGS
14966 +  CFLAGS="$CFLAGS  $flag"
14967 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14968 + /* end confdefs.h.  */
14969 +
14970 + int
14971 + main ()
14972 + {
14973 +
14974 +  ;
14975 +  return 0;
14976 + }
14977 + _ACEOF
14978 + if ac_fn_c_try_compile "$LINENO"; then :
14979 +  eval "$as_CACHEVAR=yes"
14980 + else
14981 +  eval "$as_CACHEVAR=no"
14982 + fi
14983 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14984 +  CFLAGS=$ax_check_save_flags
14985 + fi
14986 + eval ac_res=\$$as_CACHEVAR
14987 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14988 + $as_echo "$ac_res" >&6; }
14989 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14990 +  if ${CFLAGS+:} false; then :
14991 +  case " $CFLAGS " in
14992 +    *" $flag "*)
14993 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14994 +  (: CFLAGS already contains $flag) 2>&5
14995 +  ac_status=$?
14996 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14997 +  test $ac_status = 0; }
14998 +      ;;
14999 +    *)
15000 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15001 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15002 +  ac_status=$?
15003 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15004 +  test $ac_status = 0; }
15005 +      CFLAGS="$CFLAGS $flag"
15006 +      ;;
15007 +   esac
15008 + else
15009 +  CFLAGS="$flag"
15010 + fi
15011 +
15012 + else
15013 +  :
15014 + fi
15015 +
15016 + done
15017 +
15018 +
15019 +
15020 +
15021 +
15022   for flag in -Wmissing-include-dirs; do
15023    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15028 | Line 15084 | done
15084  
15085  
15086  
15087 + for flag in -Wmissing-parameter-type; do
15088 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15089 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15090 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15091 + if eval \${$as_CACHEVAR+:} false; then :
15092 +  $as_echo_n "(cached) " >&6
15093 + else
15094 +
15095 +  ax_check_save_flags=$CFLAGS
15096 +  CFLAGS="$CFLAGS  $flag"
15097 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15098 + /* end confdefs.h.  */
15099 +
15100 + int
15101 + main ()
15102 + {
15103 +
15104 +  ;
15105 +  return 0;
15106 + }
15107 + _ACEOF
15108 + if ac_fn_c_try_compile "$LINENO"; then :
15109 +  eval "$as_CACHEVAR=yes"
15110 + else
15111 +  eval "$as_CACHEVAR=no"
15112 + fi
15113 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15114 +  CFLAGS=$ax_check_save_flags
15115 + fi
15116 + eval ac_res=\$$as_CACHEVAR
15117 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15118 + $as_echo "$ac_res" >&6; }
15119 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15120 +  if ${CFLAGS+:} false; then :
15121 +  case " $CFLAGS " in
15122 +    *" $flag "*)
15123 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15124 +  (: CFLAGS already contains $flag) 2>&5
15125 +  ac_status=$?
15126 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15127 +  test $ac_status = 0; }
15128 +      ;;
15129 +    *)
15130 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15131 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15132 +  ac_status=$?
15133 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15134 +  test $ac_status = 0; }
15135 +      CFLAGS="$CFLAGS $flag"
15136 +      ;;
15137 +   esac
15138 + else
15139 +  CFLAGS="$flag"
15140 + fi
15141 +
15142 + else
15143 +  :
15144 + fi
15145 +
15146 + done
15147 +
15148 +
15149 +
15150 +
15151 +
15152   for flag in -Wmissing-prototypes; do
15153    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15158 | Line 15279 | done
15279  
15280  
15281  
15282 + for flag in -Wold-style-declaration; do
15283 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15284 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15285 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15286 + if eval \${$as_CACHEVAR+:} false; then :
15287 +  $as_echo_n "(cached) " >&6
15288 + else
15289 +
15290 +  ax_check_save_flags=$CFLAGS
15291 +  CFLAGS="$CFLAGS  $flag"
15292 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15293 + /* end confdefs.h.  */
15294 +
15295 + int
15296 + main ()
15297 + {
15298 +
15299 +  ;
15300 +  return 0;
15301 + }
15302 + _ACEOF
15303 + if ac_fn_c_try_compile "$LINENO"; then :
15304 +  eval "$as_CACHEVAR=yes"
15305 + else
15306 +  eval "$as_CACHEVAR=no"
15307 + fi
15308 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15309 +  CFLAGS=$ax_check_save_flags
15310 + fi
15311 + eval ac_res=\$$as_CACHEVAR
15312 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15313 + $as_echo "$ac_res" >&6; }
15314 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15315 +  if ${CFLAGS+:} false; then :
15316 +  case " $CFLAGS " in
15317 +    *" $flag "*)
15318 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15319 +  (: CFLAGS already contains $flag) 2>&5
15320 +  ac_status=$?
15321 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15322 +  test $ac_status = 0; }
15323 +      ;;
15324 +    *)
15325 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15326 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15327 +  ac_status=$?
15328 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15329 +  test $ac_status = 0; }
15330 +      CFLAGS="$CFLAGS $flag"
15331 +      ;;
15332 +   esac
15333 + else
15334 +  CFLAGS="$flag"
15335 + fi
15336 +
15337 + else
15338 +  :
15339 + fi
15340 +
15341 + done
15342 +
15343 +
15344 +
15345 +
15346 +
15347 + for flag in -Woverride-init; do
15348 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15349 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15350 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15351 + if eval \${$as_CACHEVAR+:} false; then :
15352 +  $as_echo_n "(cached) " >&6
15353 + else
15354 +
15355 +  ax_check_save_flags=$CFLAGS
15356 +  CFLAGS="$CFLAGS  $flag"
15357 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15358 + /* end confdefs.h.  */
15359 +
15360 + int
15361 + main ()
15362 + {
15363 +
15364 +  ;
15365 +  return 0;
15366 + }
15367 + _ACEOF
15368 + if ac_fn_c_try_compile "$LINENO"; then :
15369 +  eval "$as_CACHEVAR=yes"
15370 + else
15371 +  eval "$as_CACHEVAR=no"
15372 + fi
15373 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15374 +  CFLAGS=$ax_check_save_flags
15375 + fi
15376 + eval ac_res=\$$as_CACHEVAR
15377 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15378 + $as_echo "$ac_res" >&6; }
15379 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15380 +  if ${CFLAGS+:} false; then :
15381 +  case " $CFLAGS " in
15382 +    *" $flag "*)
15383 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15384 +  (: CFLAGS already contains $flag) 2>&5
15385 +  ac_status=$?
15386 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15387 +  test $ac_status = 0; }
15388 +      ;;
15389 +    *)
15390 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15391 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15392 +  ac_status=$?
15393 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15394 +  test $ac_status = 0; }
15395 +      CFLAGS="$CFLAGS $flag"
15396 +      ;;
15397 +   esac
15398 + else
15399 +  CFLAGS="$flag"
15400 + fi
15401 +
15402 + else
15403 +  :
15404 + fi
15405 +
15406 + done
15407 +
15408 +
15409 +
15410 +
15411 +
15412   for flag in -Wpointer-arith; do
15413    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15353 | Line 15604 | done
15604  
15605  
15606  
15607 < for flag in -Wwrite-strings; do
15607 > for flag in -Wsign-compare; do
15608 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15609 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15610 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15611 > if eval \${$as_CACHEVAR+:} false; then :
15612 >  $as_echo_n "(cached) " >&6
15613 > else
15614 >
15615 >  ax_check_save_flags=$CFLAGS
15616 >  CFLAGS="$CFLAGS  $flag"
15617 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15618 > /* end confdefs.h.  */
15619 >
15620 > int
15621 > main ()
15622 > {
15623 >
15624 >  ;
15625 >  return 0;
15626 > }
15627 > _ACEOF
15628 > if ac_fn_c_try_compile "$LINENO"; then :
15629 >  eval "$as_CACHEVAR=yes"
15630 > else
15631 >  eval "$as_CACHEVAR=no"
15632 > fi
15633 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15634 >  CFLAGS=$ax_check_save_flags
15635 > fi
15636 > eval ac_res=\$$as_CACHEVAR
15637 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15638 > $as_echo "$ac_res" >&6; }
15639 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15640 >  if ${CFLAGS+:} false; then :
15641 >  case " $CFLAGS " in
15642 >    *" $flag "*)
15643 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15644 >  (: CFLAGS already contains $flag) 2>&5
15645 >  ac_status=$?
15646 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15647 >  test $ac_status = 0; }
15648 >      ;;
15649 >    *)
15650 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15651 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15652 >  ac_status=$?
15653 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15654 >  test $ac_status = 0; }
15655 >      CFLAGS="$CFLAGS $flag"
15656 >      ;;
15657 >   esac
15658 > else
15659 >  CFLAGS="$flag"
15660 > fi
15661 >
15662 > else
15663 >  :
15664 > fi
15665 >
15666 > done
15667 >
15668 >
15669 >
15670 >
15671 >
15672 > for flag in -Wtype-limits; do
15673    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15675   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 15479 | Line 15795 | fi
15795  
15796   done
15797  
15798 +
15799 +
15800 +
15801 +
15802 + for flag in -Wuninitialized; do
15803 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15804 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15805 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15806 + if eval \${$as_CACHEVAR+:} false; then :
15807 +  $as_echo_n "(cached) " >&6
15808 + else
15809 +
15810 +  ax_check_save_flags=$CFLAGS
15811 +  CFLAGS="$CFLAGS  $flag"
15812 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15813 + /* end confdefs.h.  */
15814 +
15815 + int
15816 + main ()
15817 + {
15818 +
15819 +  ;
15820 +  return 0;
15821 + }
15822 + _ACEOF
15823 + if ac_fn_c_try_compile "$LINENO"; then :
15824 +  eval "$as_CACHEVAR=yes"
15825 + else
15826 +  eval "$as_CACHEVAR=no"
15827 + fi
15828 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15829 +  CFLAGS=$ax_check_save_flags
15830 + fi
15831 + eval ac_res=\$$as_CACHEVAR
15832 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15833 + $as_echo "$ac_res" >&6; }
15834 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15835 +  if ${CFLAGS+:} false; then :
15836 +  case " $CFLAGS " in
15837 +    *" $flag "*)
15838 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15839 +  (: CFLAGS already contains $flag) 2>&5
15840 +  ac_status=$?
15841 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15842 +  test $ac_status = 0; }
15843 +      ;;
15844 +    *)
15845 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15846 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15847 +  ac_status=$?
15848 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15849 +  test $ac_status = 0; }
15850 +      CFLAGS="$CFLAGS $flag"
15851 +      ;;
15852 +   esac
15853 + else
15854 +  CFLAGS="$flag"
15855 + fi
15856 +
15857 + else
15858 +  :
15859 + fi
15860 +
15861 + done
15862 +
15863 +
15864 +
15865 +
15866 +
15867 + for flag in -Wwrite-strings; do
15868 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15869 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15870 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15871 + if eval \${$as_CACHEVAR+:} false; then :
15872 +  $as_echo_n "(cached) " >&6
15873 + else
15874 +
15875 +  ax_check_save_flags=$CFLAGS
15876 +  CFLAGS="$CFLAGS  $flag"
15877 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15878 + /* end confdefs.h.  */
15879 +
15880 + int
15881 + main ()
15882 + {
15883 +
15884 +  ;
15885 +  return 0;
15886 + }
15887 + _ACEOF
15888 + if ac_fn_c_try_compile "$LINENO"; then :
15889 +  eval "$as_CACHEVAR=yes"
15890 + else
15891 +  eval "$as_CACHEVAR=no"
15892 + fi
15893 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15894 +  CFLAGS=$ax_check_save_flags
15895 + fi
15896 + eval ac_res=\$$as_CACHEVAR
15897 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15898 + $as_echo "$ac_res" >&6; }
15899 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15900 +  if ${CFLAGS+:} false; then :
15901 +  case " $CFLAGS " in
15902 +    *" $flag "*)
15903 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15904 +  (: CFLAGS already contains $flag) 2>&5
15905 +  ac_status=$?
15906 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15907 +  test $ac_status = 0; }
15908 +      ;;
15909 +    *)
15910 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15911 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15912 +  ac_status=$?
15913 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15914 +  test $ac_status = 0; }
15915 +      CFLAGS="$CFLAGS $flag"
15916 +      ;;
15917 +   esac
15918 + else
15919 +  CFLAGS="$flag"
15920 + fi
15921 +
15922 + else
15923 +  :
15924 + fi
15925 +
15926 + done
15927 +
15928    fi
15929  
15930  
15931 + # Check whether --enable-openssl was given.
15932 + if test "${enable_openssl+set}" = set; then :
15933 +  enableval=$enable_openssl;  cf_enable_openssl=$enableval
15934 + else
15935 +   cf_enable_openssl="auto"
15936 + fi
15937 +
15938 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
15939 + $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
15940 + if test "$cf_enable_openssl" != "no"; then
15941 +  cf_openssl_basedir=""
15942 +  if test "$cf_enable_openssl" != "auto" &&
15943 +     test "$cf_enable_openssl" != "yes"; then
15944 +          cf_openssl_basedir="${cf_enable_openssl}"
15945 +  else
15946 +        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
15947 +                /opt /opt/openssl /usr/local/openssl; do
15948 +      if test -f "${dirs}/include/openssl/opensslv.h"; then
15949 +        cf_openssl_basedir="${dirs}"
15950 +        break
15951 +      fi
15952 +    done
15953 +    unset dirs
15954 +  fi
15955 +
15956 +    if test ! -z "$cf_openssl_basedir"; then
15957 +    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
15958 +      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
15959 +      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
15960 +    else
15961 +                  cf_openssl_basedir=""
15962 +    fi
15963 +  else
15964 +                            if test -f "/usr/include/openssl/opensslv.h"; then
15965 +      cf_openssl_basedir="/usr"
15966 +    fi
15967 +  fi
15968 +
15969 +      if test ! -z "$cf_openssl_basedir"; then
15970 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
15971 + $as_echo "$cf_openssl_basedir" >&6; }
15972 +    cf_enable_openssl="yes"
15973 +  else
15974 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
15975 + $as_echo "not found. Please check your path." >&6; }
15976 +    cf_enable_openssl="no"
15977 +  fi
15978 +  unset cf_openssl_basedir
15979 + else
15980 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
15981 + $as_echo "disabled" >&6; }
15982 + fi
15983 +
15984 + if test "$cf_enable_openssl" != "no"; then :
15985 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5
15986 + $as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; }
15987 +  if test "$cross_compiling" = yes; then :
15988 +  cf_openssl_version_ok=no
15989 + else
15990 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15991 + /* end confdefs.h.  */
15992 +
15993 +
15994 +    #include <openssl/opensslv.h>
15995 +    #include <stdlib.h>
15996 + int
15997 + main ()
15998 + {
15999 + exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
16000 +  ;
16001 +  return 0;
16002 + }
16003 + _ACEOF
16004 + if ac_fn_c_try_run "$LINENO"; then :
16005 +  cf_openssl_version_ok=yes
16006 + else
16007 +  cf_openssl_version_ok=no
16008 + fi
16009 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16010 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
16011 + fi
16012 +
16013 +
16014 +  if test "$cf_openssl_version_ok" = "yes"; then :
16015 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16016 + $as_echo "found" >&6; }
16017 +
16018 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
16019 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
16020 + if ${ac_cv_lib_crypto_RSA_free+:} false; then :
16021 +  $as_echo_n "(cached) " >&6
16022 + else
16023 +  ac_check_lib_save_LIBS=$LIBS
16024 + LIBS="-lcrypto  $LIBS"
16025 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16026 + /* end confdefs.h.  */
16027 +
16028 + /* Override any GCC internal prototype to avoid an error.
16029 +   Use char because int might match the return type of a GCC
16030 +   builtin and then its argument prototype would still apply.  */
16031 + #ifdef __cplusplus
16032 + extern "C"
16033 + #endif
16034 + char RSA_free ();
16035 + int
16036 + main ()
16037 + {
16038 + return RSA_free ();
16039 +  ;
16040 +  return 0;
16041 + }
16042 + _ACEOF
16043 + if ac_fn_c_try_link "$LINENO"; then :
16044 +  ac_cv_lib_crypto_RSA_free=yes
16045 + else
16046 +  ac_cv_lib_crypto_RSA_free=no
16047 + fi
16048 + rm -f core conftest.err conftest.$ac_objext \
16049 +    conftest$ac_exeext conftest.$ac_ext
16050 + LIBS=$ac_check_lib_save_LIBS
16051 + fi
16052 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
16053 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
16054 + if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
16055 +  cat >>confdefs.h <<_ACEOF
16056 + #define HAVE_LIBCRYPTO 1
16057 + _ACEOF
16058 +
16059 +  LIBS="-lcrypto $LIBS"
16060 +
16061 + fi
16062 +
16063 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
16064 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
16065 + $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
16066 + if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
16067 +  $as_echo_n "(cached) " >&6
16068 + else
16069 +  ac_check_lib_save_LIBS=$LIBS
16070 + LIBS="-lssl  $LIBS"
16071 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16072 + /* end confdefs.h.  */
16073 +
16074 + /* Override any GCC internal prototype to avoid an error.
16075 +   Use char because int might match the return type of a GCC
16076 +   builtin and then its argument prototype would still apply.  */
16077 + #ifdef __cplusplus
16078 + extern "C"
16079 + #endif
16080 + char SSL_connect ();
16081 + int
16082 + main ()
16083 + {
16084 + return SSL_connect ();
16085 +  ;
16086 +  return 0;
16087 + }
16088 + _ACEOF
16089 + if ac_fn_c_try_link "$LINENO"; then :
16090 +  ac_cv_lib_ssl_SSL_connect=yes
16091 + else
16092 +  ac_cv_lib_ssl_SSL_connect=no
16093 + fi
16094 + rm -f core conftest.err conftest.$ac_objext \
16095 +    conftest$ac_exeext conftest.$ac_ext
16096 + LIBS=$ac_check_lib_save_LIBS
16097 + fi
16098 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
16099 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
16100 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
16101 +  cat >>confdefs.h <<_ACEOF
16102 + #define HAVE_LIBSSL 1
16103 + _ACEOF
16104 +
16105 +  LIBS="-lssl $LIBS"
16106 +
16107 + fi
16108 +
16109 + fi
16110 +
16111 + else
16112 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
16113 + $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
16114 +    cf_enable_openssl="no"
16115 + fi
16116 + fi
16117 +
16118 + if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
16119 +  ENABLE_SSL_TRUE=
16120 +  ENABLE_SSL_FALSE='#'
16121 + else
16122 +  ENABLE_SSL_TRUE='#'
16123 +  ENABLE_SSL_FALSE=
16124 + fi
16125 +
16126 +
16127 +
16128  
16129    prefix_NONE=
16130    exec_prefix_NONE=
# Line 15568 | Line 16211 | _ACEOF
16211    test "$exec_prefix_NONE" && exec_prefix=NONE
16212  
16213  
16214 < ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
16214 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile modules/extra/Makefile doc/Makefile help/Makefile tools/Makefile"
16215  
16216  
16217   cat >confcache <<\_ACEOF
# Line 16135 | Line 16778 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16778   # report actual input values of CONFIG_FILES etc. instead of their
16779   # values after options handling.
16780   ac_log="
16781 < This file was extended by ircd-hybrid $as_me TRUNK, which was
16781 > This file was extended by ircd-hybrid $as_me 8.2.1, which was
16782   generated by GNU Autoconf 2.69.  Invocation command line was
16783  
16784    CONFIG_FILES    = $CONFIG_FILES
# Line 16201 | Line 16844 | _ACEOF
16844   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16845   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16846   ac_cs_version="\\
16847 < ircd-hybrid config.status TRUNK
16847 > ircd-hybrid config.status 8.2.1
16848   configured by $0, generated by GNU Autoconf 2.69,
16849    with options \\"\$ac_cs_config\\"
16850  
# Line 16385 | Line 17028 | compiler='`$ECHO "$compiler" | $SED "$de
17028   GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17029   lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17030   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17031 + lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17032   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17033   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17034 + lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17035   nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17036   lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17037 + lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17038   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17039   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17040   lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
# Line 16504 | Line 17150 | CFLAGS \
17150   compiler \
17151   lt_cv_sys_global_symbol_pipe \
17152   lt_cv_sys_global_symbol_to_cdecl \
17153 + lt_cv_sys_global_symbol_to_import \
17154   lt_cv_sys_global_symbol_to_c_name_address \
17155   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17156 + lt_cv_nm_interface \
17157   nm_file_list_spec \
17158 + lt_cv_truncate_bin \
17159   lt_prog_compiler_no_builtin_flag \
17160   lt_prog_compiler_pic \
17161   lt_prog_compiler_wl \
# Line 16541 | Line 17190 | old_striplib \
17190   striplib; do
17191      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17192      *[\\\\\\\`\\"\\\$]*)
17193 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17193 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17194        ;;
17195      *)
17196        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 16571 | Line 17220 | sys_lib_search_path_spec \
17220   sys_lib_dlsearch_path_spec; do
17221      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17222      *[\\\\\\\`\\"\\\$]*)
17223 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17223 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17224        ;;
17225      *)
17226        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 16580 | Line 17229 | sys_lib_dlsearch_path_spec; do
17229   done
17230  
17231   ac_aux_dir='$ac_aux_dir'
16583 xsi_shell='$xsi_shell'
16584 lt_shell_append='$lt_shell_append'
17232  
17233 < # See if we are running on zsh, and set the options which allow our
17233 > # See if we are running on zsh, and set the options that allow our
17234   # commands through without removal of \ escapes INIT.
17235 < if test -n "\${ZSH_VERSION+set}" ; then
17235 > if test -n "\${ZSH_VERSION+set}"; then
17236     setopt NO_GLOB_SUBST
17237   fi
17238  
17239  
17240      PACKAGE='$PACKAGE'
17241      VERSION='$VERSION'
16595    TIMESTAMP='$TIMESTAMP'
17242      RM='$RM'
17243      ofile='$ofile'
17244  
# Line 16615 | Line 17261 | do
17261      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
17262      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
17263      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
17264 +    "modules/extra/Makefile") CONFIG_FILES="$CONFIG_FILES modules/extra/Makefile" ;;
17265      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17266      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
17267      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
# Line 17308 | Line 17955 | $as_echo X"$file" |
17955   ;;
17956      "libtool":C)
17957  
17958 <    # See if we are running on zsh, and set the options which allow our
17958 >    # See if we are running on zsh, and set the options that allow our
17959      # commands through without removal of \ escapes.
17960 <    if test -n "${ZSH_VERSION+set}" ; then
17960 >    if test -n "${ZSH_VERSION+set}"; then
17961        setopt NO_GLOB_SUBST
17962      fi
17963  
17964 <    cfgfile="${ofile}T"
17964 >    cfgfile=${ofile}T
17965      trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17966      $RM "$cfgfile"
17967  
17968      cat <<_LT_EOF >> "$cfgfile"
17969   #! $SHELL
17970 <
17324 < # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17325 < # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17970 > # Generated automatically by $as_me ($PACKAGE) $VERSION
17971   # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17972   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17973 +
17974 + # Provide generalized library-building support services.
17975 + # Written by Gordon Matzigkeit, 1996
17976 +
17977 + # Copyright (C) 2014 Free Software Foundation, Inc.
17978 + # This is free software; see the source for copying conditions.  There is NO
17979 + # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17980 +
17981 + # GNU Libtool is free software; you can redistribute it and/or modify
17982 + # it under the terms of the GNU General Public License as published by
17983 + # the Free Software Foundation; either version 2 of of the License, or
17984 + # (at your option) any later version.
17985   #
17986 < #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17987 < #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17988 < #                 Foundation, Inc.
17989 < #   Written by Gordon Matzigkeit, 1996
17333 < #
17334 < #   This file is part of GNU Libtool.
17335 < #
17336 < # GNU Libtool is free software; you can redistribute it and/or
17337 < # modify it under the terms of the GNU General Public License as
17338 < # published by the Free Software Foundation; either version 2 of
17339 < # the License, or (at your option) any later version.
17340 < #
17341 < # As a special exception to the GNU General Public License,
17342 < # if you distribute this file as part of a program or library that
17343 < # is built using GNU Libtool, you may include this file under the
17344 < # same distribution terms that you use for the rest of that program.
17986 > # As a special exception to the GNU General Public License, if you
17987 > # distribute this file as part of a program or library that is built
17988 > # using GNU Libtool, you may include this file under the  same
17989 > # distribution terms that you use for the rest of that program.
17990   #
17991 < # GNU Libtool is distributed in the hope that it will be useful,
17992 < # but WITHOUT ANY WARRANTY; without even the implied warranty of
17991 > # GNU Libtool is distributed in the hope that it will be useful, but
17992 > # WITHOUT ANY WARRANTY; without even the implied warranty of
17993   # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17994   # GNU General Public License for more details.
17995   #
17996   # You should have received a copy of the GNU General Public License
17997 < # along with GNU Libtool; see the file COPYING.  If not, a copy
17353 < # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17354 < # obtained by writing to the Free Software Foundation, Inc.,
17355 < # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17997 > # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17998  
17999  
18000   # The names of the tagged configurations supported by this script.
18001 < available_tags=""
18001 > available_tags=''
18002  
18003   # ### BEGIN LIBTOOL CONFIG
18004  
# Line 17493 | Line 18135 | global_symbol_pipe=$lt_lt_cv_sys_global_
18135   # Transform the output of nm in a proper C declaration.
18136   global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18137  
18138 + # Transform the output of nm into a list of symbols to manually relocate.
18139 + global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18140 +
18141   # Transform the output of nm in a C name address pair.
18142   global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18143  
18144   # Transform the output of nm in a C name address pair when lib prefix is needed.
18145   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18146  
18147 + # The name lister interface.
18148 + nm_interface=$lt_lt_cv_nm_interface
18149 +
18150   # Specify filename containing input files for \$NM.
18151   nm_file_list_spec=$lt_nm_file_list_spec
18152  
18153 < # The root where to search for dependent libraries,and in which our libraries should be installed.
18153 > # The root where to search for dependent libraries,and where our libraries should be installed.
18154   lt_sysroot=$lt_sysroot
18155  
18156 + # Command to truncate a binary pipe.
18157 + lt_truncate_bin=$lt_lt_cv_truncate_bin
18158 +
18159   # The name of the directory that contains temporary libtool files.
18160   objdir=$objdir
18161  
# Line 17689 | Line 18340 | hardcode_libdir_flag_spec=$lt_hardcode_l
18340   # Whether we need a single "-rpath" flag with a separated argument.
18341   hardcode_libdir_separator=$lt_hardcode_libdir_separator
18342  
18343 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18343 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18344   # DIR into the resulting binary.
18345   hardcode_direct=$hardcode_direct
18346  
18347 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18347 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18348   # DIR into the resulting binary and the resulting library dependency is
18349 < # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18349 > # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18350   # library is relocated.
18351   hardcode_direct_absolute=$hardcode_direct_absolute
18352  
# Line 17753 | Line 18404 | _LT_EOF
18404   # AIX sometimes has problems with the GCC collect2 program.  For some
18405   # reason, if we set the COLLECT_NAMES environment variable, the problems
18406   # vanish in a puff of smoke.
18407 < if test "X${COLLECT_NAMES+set}" != Xset; then
18407 > if test set != "${COLLECT_NAMES+set}"; then
18408    COLLECT_NAMES=
18409    export COLLECT_NAMES
18410   fi
# Line 17762 | Line 18413 | _LT_EOF
18413    esac
18414  
18415  
18416 < ltmain="$ac_aux_dir/ltmain.sh"
18416 > ltmain=$ac_aux_dir/ltmain.sh
18417  
18418  
18419    # We use sed instead of cat because bash on DJGPP gets confused if
# Line 17772 | Line 18423 | ltmain="$ac_aux_dir/ltmain.sh"
18423    sed '$q' "$ltmain" >> "$cfgfile" \
18424       || (rm -f "$cfgfile"; exit 1)
18425  
17775  if test x"$xsi_shell" = xyes; then
17776  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17777 func_dirname ()\
17778 {\
17779 \    case ${1} in\
17780 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17781 \      *  ) func_dirname_result="${3}" ;;\
17782 \    esac\
17783 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17784  && mv -f "$cfgfile.tmp" "$cfgfile" \
17785    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17786 test 0 -eq $? || _lt_function_replace_fail=:
17787
17788
17789  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17790 func_basename ()\
17791 {\
17792 \    func_basename_result="${1##*/}"\
17793 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17794  && mv -f "$cfgfile.tmp" "$cfgfile" \
17795    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17796 test 0 -eq $? || _lt_function_replace_fail=:
17797
17798
17799  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17800 func_dirname_and_basename ()\
17801 {\
17802 \    case ${1} in\
17803 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17804 \      *  ) func_dirname_result="${3}" ;;\
17805 \    esac\
17806 \    func_basename_result="${1##*/}"\
17807 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17808  && mv -f "$cfgfile.tmp" "$cfgfile" \
17809    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17810 test 0 -eq $? || _lt_function_replace_fail=:
17811
17812
17813  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17814 func_stripname ()\
17815 {\
17816 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17817 \    # positional parameters, so assign one to ordinary parameter first.\
17818 \    func_stripname_result=${3}\
17819 \    func_stripname_result=${func_stripname_result#"${1}"}\
17820 \    func_stripname_result=${func_stripname_result%"${2}"}\
17821 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17822  && mv -f "$cfgfile.tmp" "$cfgfile" \
17823    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17824 test 0 -eq $? || _lt_function_replace_fail=:
17825
17826
17827  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17828 func_split_long_opt ()\
17829 {\
17830 \    func_split_long_opt_name=${1%%=*}\
17831 \    func_split_long_opt_arg=${1#*=}\
17832 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17833  && mv -f "$cfgfile.tmp" "$cfgfile" \
17834    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17835 test 0 -eq $? || _lt_function_replace_fail=:
17836
17837
17838  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17839 func_split_short_opt ()\
17840 {\
17841 \    func_split_short_opt_arg=${1#??}\
17842 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17843 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17844  && mv -f "$cfgfile.tmp" "$cfgfile" \
17845    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17846 test 0 -eq $? || _lt_function_replace_fail=:
17847
17848
17849  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17850 func_lo2o ()\
17851 {\
17852 \    case ${1} in\
17853 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17854 \      *)    func_lo2o_result=${1} ;;\
17855 \    esac\
17856 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17857  && mv -f "$cfgfile.tmp" "$cfgfile" \
17858    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17859 test 0 -eq $? || _lt_function_replace_fail=:
17860
17861
17862  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17863 func_xform ()\
17864 {\
17865    func_xform_result=${1%.*}.lo\
17866 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17867  && mv -f "$cfgfile.tmp" "$cfgfile" \
17868    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17869 test 0 -eq $? || _lt_function_replace_fail=:
17870
17871
17872  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17873 func_arith ()\
17874 {\
17875    func_arith_result=$(( $* ))\
17876 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17877  && mv -f "$cfgfile.tmp" "$cfgfile" \
17878    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17879 test 0 -eq $? || _lt_function_replace_fail=:
17880
17881
17882  sed -e '/^func_len ()$/,/^} # func_len /c\
17883 func_len ()\
17884 {\
17885    func_len_result=${#1}\
17886 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17887  && mv -f "$cfgfile.tmp" "$cfgfile" \
17888    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17889 test 0 -eq $? || _lt_function_replace_fail=:
17890
17891 fi
17892
17893 if test x"$lt_shell_append" = xyes; then
17894  sed -e '/^func_append ()$/,/^} # func_append /c\
17895 func_append ()\
17896 {\
17897    eval "${1}+=\\${2}"\
17898 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17899  && mv -f "$cfgfile.tmp" "$cfgfile" \
17900    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17901 test 0 -eq $? || _lt_function_replace_fail=:
17902
17903
17904  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17905 func_append_quoted ()\
17906 {\
17907 \    func_quote_for_eval "${2}"\
17908 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17909 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17910  && mv -f "$cfgfile.tmp" "$cfgfile" \
17911    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17912 test 0 -eq $? || _lt_function_replace_fail=:
17913
17914
17915  # Save a `func_append' function call where possible by direct use of '+='
17916  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17917    && mv -f "$cfgfile.tmp" "$cfgfile" \
17918      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17919  test 0 -eq $? || _lt_function_replace_fail=:
17920 else
17921  # Save a `func_append' function call even when '+=' is not available
17922  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17923    && mv -f "$cfgfile.tmp" "$cfgfile" \
17924      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17925  test 0 -eq $? || _lt_function_replace_fail=:
17926 fi
17927
17928 if test x"$_lt_function_replace_fail" = x":"; then
17929  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17930 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17931 fi
17932
17933
18426     mv -f "$cfgfile" "$ofile" ||
18427      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18428    chmod +x "$ofile"

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)