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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1105 by michael, Tue Sep 14 08:15:53 2010 UTC vs.
ircd-hybrid-8/configure (file contents), Revision 1325 by michael, Sat Mar 31 10:29:02 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1095 2010-08-02 20:14:21Z michael .
2 > # From configure.ac Id: configure.ac 1310 2012-03-26 15:45:02Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.67 for ircd-hybrid 7.3-rc1.
4 > # Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
# Line 92 | Line 92 | fi
92   IFS=" ""        $as_nl"
93  
94   # Find who we are.  Look in the path if we contain no directory separator.
95 + as_myself=
96   case $0 in #((
97    *[\\/]* ) as_myself=$0 ;;
98    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 225 | Line 226 | IFS=$as_save_IFS
226    # We cannot yet assume a decent shell, so we have to provide a
227          # neutralization value for shells without unset; and this also
228          # works around shells that cannot unset nonexistent variables.
229 +        # Preserve -v and -x to the replacement shell.
230          BASH_ENV=/dev/null
231          ENV=/dev/null
232          (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
233          export CONFIG_SHELL
234 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
234 >        case $- in # ((((
235 >          *v*x* | *x*v* ) as_opts=-vx ;;
236 >          *v* ) as_opts=-v ;;
237 >          *x* ) as_opts=-x ;;
238 >          * ) as_opts= ;;
239 >        esac
240 >        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
241   fi
242  
243      if test x$as_have_required = xno; then :
# Line 565 | Line 573 | MAKEFLAGS=
573   # Identity of this package.
574   PACKAGE_NAME='ircd-hybrid'
575   PACKAGE_TARNAME='ircd-hybrid'
576 < PACKAGE_VERSION='7.3-rc1'
577 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
576 > PACKAGE_VERSION='8beta1'
577 > PACKAGE_STRING='ircd-hybrid 8beta1'
578   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
579   PACKAGE_URL=''
580  
# Line 650 | Line 658 | OTOOL
658   LIPO
659   NMEDIT
660   DSYMUTIL
661 + MANIFEST_TOOL
662   RANLIB
663 + ac_ct_AR
664   AR
665 + DLLTOOL
666   OBJDUMP
667   LN_S
668   NM
# Line 679 | Line 690 | YACC
690   am__fastdepCC_FALSE
691   am__fastdepCC_TRUE
692   CCDEPMODE
693 + am__nodep
694   AMDEPBACKSLASH
695   AMDEP_FALSE
696   AMDEP_TRUE
# Line 766 | Line 778 | enable_shared
778   with_pic
779   enable_fast_install
780   with_gnu_ld
781 + with_sysroot
782   enable_libtool_lock
783   with_included_ltdl
784   with_ltdl_include
785   with_ltdl_lib
786   enable_ltdl_install
774 with_zlib_path
775 enable_zlib
787   with_libpcre_path
788   enable_libpcre
789   enable_openssl
# Line 786 | Line 797 | enable_poll
797   enable_select
798   with_nicklen
799   with_topiclen
789 with_syslog_facility
800   enable_efnet
801   enable_halfops
802   enable_debugging
803   enable_warnings
794 enable_syslog
804   '
805        ac_precious_vars='build_alias
806   host_alias
# Line 1208 | Line 1217 | Try \`$0 --help' for more information"
1217      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1218      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1219        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1220 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1220 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1221      ;;
1222  
1223    esac
# Line 1346 | Line 1355 | if test "$ac_init_help" = "long"; then
1355    # Omit some internal or obsolete options to make the list less imposing.
1356    # This message is too long to be a string in the A/UX 3.1 sh.
1357    cat <<_ACEOF
1358 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1358 > \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1359  
1360   Usage: $0 [OPTION]... [VAR=VALUE]...
1361  
# Line 1416 | Line 1425 | fi
1425  
1426   if test -n "$ac_init_help"; then
1427    case $ac_init_help in
1428 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1428 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1429     esac
1430    cat <<\_ACEOF
1431  
# Line 1434 | Line 1443 | Optional Features:
1443                            optimize for fast installation [default=yes]
1444    --disable-libtool-lock  avoid locking (might break parallel builds)
1445    --enable-ltdl-install   install libltdl
1437  --disable-zlib          Disable ziplinks support
1446    --disable-libpcre       Disable PCRE support
1447    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1448    --disable-openssl            Disable OpenSSL support.
# Line 1450 | Line 1458 | Optional Features:
1458    --enable-halfops        Enable halfops support.
1459    --enable-debugging      Enable debugging.
1460    --enable-warnings       Enable compiler warnings.
1453  --enable-syslog="EVENTS"
1454                          Enable syslog for events: users oper (space
1455                          separated in quotes; default: disabled).
1461  
1462   Optional Packages:
1463    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1464    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1465 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1465 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1466                            both]
1467    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1468 +  --with-sysroot=DIR Search for dependent libraries within DIR
1469 +                        (or the compiler's sysroot if not specified).
1470    --with-included-ltdl    use the GNU ltdl sources included here
1471    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1472    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1466  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1473    --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1474    --with-nicklen=<value>  Set nickname length (default 9).
1475    --with-topiclen=<value> Set topic length (default 160).
1470  --with-syslog-facility=LOG
1471                          Define the syslog facility to use (default:
1472                          LOG_LOCAL4)
1476  
1477   Some influential environment variables:
1478    CC          C compiler command
# Line 1479 | Line 1482 | Some influential environment variables:
1482    LIBS        libraries to pass to the linker, e.g. -l<library>
1483    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1484                you have headers in a nonstandard directory <include dir>
1485 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1486 <              the first program found out of: `bison -y', `byacc', `yacc'.
1485 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1486 >              Defaults to the first program found out of: `bison -y', `byacc',
1487 >              `yacc'.
1488    YFLAGS      The list of arguments that will be passed by default to $YACC.
1489                This script will default YFLAGS to the empty string to avoid a
1490                default value of `-d' given by some make applications.
# Line 1552 | Line 1556 | fi
1556   test -n "$ac_init_help" && exit $ac_status
1557   if $ac_init_version; then
1558    cat <<\_ACEOF
1559 < ircd-hybrid configure 7.3-rc1
1560 < generated by GNU Autoconf 2.67
1559 > ircd-hybrid configure 8beta1
1560 > generated by GNU Autoconf 2.68
1561  
1562   Copyright (C) 2010 Free Software Foundation, Inc.
1563   This configure script is free software; the Free Software Foundation
# Line 1599 | Line 1603 | sed 's/^/| /' conftest.$ac_ext >&5
1603  
1604          ac_retval=1
1605   fi
1606 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1606 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607    as_fn_set_status $ac_retval
1608  
1609   } # ac_fn_c_try_compile
# Line 1645 | Line 1649 | fi
1649    # interfere with the next link command; also delete a directory that is
1650    # left behind by Apple's compiler.  We do this before executing the actions.
1651    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1652 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1652 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653    as_fn_set_status $ac_retval
1654  
1655   } # ac_fn_c_try_link
# Line 1659 | Line 1663 | ac_fn_c_check_header_compile ()
1663    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665   $as_echo_n "checking for $2... " >&6; }
1666 < if eval "test \"\${$3+set}\"" = set; then :
1666 > if eval \${$3+:} false; then :
1667    $as_echo_n "(cached) " >&6
1668   else
1669    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1677 | Line 1681 | fi
1681   eval ac_res=\$$3
1682                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683   $as_echo "$ac_res" >&6; }
1684 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1684 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685  
1686   } # ac_fn_c_check_header_compile
1687  
# Line 1713 | Line 1717 | sed 's/^/| /' conftest.$ac_ext >&5
1717  
1718      ac_retval=1
1719   fi
1720 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721    as_fn_set_status $ac_retval
1722  
1723   } # ac_fn_c_try_cpp
# Line 1755 | Line 1759 | sed 's/^/| /' conftest.$ac_ext >&5
1759         ac_retval=$ac_status
1760   fi
1761    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1762 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763    as_fn_set_status $ac_retval
1764  
1765   } # ac_fn_c_try_run
# Line 1768 | Line 1772 | ac_fn_c_check_func ()
1772    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774   $as_echo_n "checking for $2... " >&6; }
1775 < if eval "test \"\${$3+set}\"" = set; then :
1775 > if eval \${$3+:} false; then :
1776    $as_echo_n "(cached) " >&6
1777   else
1778    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1823 | Line 1827 | fi
1827   eval ac_res=\$$3
1828                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829   $as_echo "$ac_res" >&6; }
1830 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831  
1832   } # ac_fn_c_check_func
1833  
# Line 1838 | Line 1842 | ac_fn_c_check_decl ()
1842    as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1843    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1844   $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1845 < if eval "test \"\${$3+set}\"" = set; then :
1845 > if eval \${$3+:} false; then :
1846    $as_echo_n "(cached) " >&6
1847   else
1848    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1869 | Line 1873 | fi
1873   eval ac_res=\$$3
1874                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875   $as_echo "$ac_res" >&6; }
1876 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1876 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877  
1878   } # ac_fn_c_check_decl
1879  
# Line 1882 | Line 1886 | ac_fn_c_check_type ()
1886    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888   $as_echo_n "checking for $2... " >&6; }
1889 < if eval "test \"\${$3+set}\"" = set; then :
1889 > if eval \${$3+:} false; then :
1890    $as_echo_n "(cached) " >&6
1891   else
1892    eval "$3=no"
# Line 1923 | Line 1927 | fi
1927   eval ac_res=\$$3
1928                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929   $as_echo "$ac_res" >&6; }
1930 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1930 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931  
1932   } # ac_fn_c_check_type
1933  
# Line 1936 | Line 1940 | ac_fn_c_check_member ()
1940    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1942   $as_echo_n "checking for $2.$3... " >&6; }
1943 < if eval "test \"\${$4+set}\"" = set; then :
1943 > if eval \${$4+:} false; then :
1944    $as_echo_n "(cached) " >&6
1945   else
1946    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1980 | Line 1984 | fi
1984   eval ac_res=\$$4
1985                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986   $as_echo "$ac_res" >&6; }
1987 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1987 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988  
1989   } # ac_fn_c_check_member
1990  
# Line 1992 | Line 1996 | $as_echo "$ac_res" >&6; }
1996   ac_fn_c_check_header_mongrel ()
1997   {
1998    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 <  if eval "test \"\${$3+set}\"" = set; then :
1999 >  if eval \${$3+:} false; then :
2000    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001   $as_echo_n "checking for $2... " >&6; }
2002 < if eval "test \"\${$3+set}\"" = set; then :
2002 > if eval \${$3+:} false; then :
2003    $as_echo_n "(cached) " >&6
2004   fi
2005   eval ac_res=\$$3
# Line 2062 | Line 2066 | $as_echo "$as_me: WARNING: $2: proceedin
2066   esac
2067    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068   $as_echo_n "checking for $2... " >&6; }
2069 < if eval "test \"\${$3+set}\"" = set; then :
2069 > if eval \${$3+:} false; then :
2070    $as_echo_n "(cached) " >&6
2071   else
2072    eval "$3=\$ac_header_compiler"
# Line 2071 | Line 2075 | eval ac_res=\$$3
2075                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076   $as_echo "$ac_res" >&6; }
2077   fi
2078 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2078 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079  
2080   } # ac_fn_c_check_header_mongrel
2081   cat >config.log <<_ACEOF
2082   This file contains any messages produced by compilers while
2083   running configure, to aid debugging if configure makes a mistake.
2084  
2085 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2086 < generated by GNU Autoconf 2.67.  Invocation command line was
2085 > It was created by ircd-hybrid $as_me 8beta1, which was
2086 > generated by GNU Autoconf 2.68.  Invocation command line was
2087  
2088    $ $0 $@
2089  
# Line 2363 | Line 2367 | as_fn_append ac_func_list " strtok_r"
2367   as_fn_append ac_func_list " usleep"
2368   as_fn_append ac_func_list " strlcat"
2369   as_fn_append ac_func_list " strlcpy"
2370 + as_fn_append ac_func_list " socketpair"
2371   as_fn_append ac_header_list " crypt.h"
2372   as_fn_append ac_header_list " inttypes.h"
2373   as_fn_append ac_header_list " stdint.h"
# Line 2491 | Line 2496 | ac_configure="$SHELL $ac_aux_dir/configu
2496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2497   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2498   if test -z "$INSTALL"; then
2499 < if test "${ac_cv_path_install+set}" = set; then :
2499 > if ${ac_cv_path_install+:} false; then :
2500    $as_echo_n "(cached) " >&6
2501   else
2502    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2668 | Line 2673 | if test "$cross_compiling" != no; then
2673   set dummy ${ac_tool_prefix}strip; ac_word=$2
2674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675   $as_echo_n "checking for $ac_word... " >&6; }
2676 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2676 > if ${ac_cv_prog_STRIP+:} false; then :
2677    $as_echo_n "(cached) " >&6
2678   else
2679    if test -n "$STRIP"; then
# Line 2708 | Line 2713 | if test -z "$ac_cv_prog_STRIP"; then
2713   set dummy strip; ac_word=$2
2714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715   $as_echo_n "checking for $ac_word... " >&6; }
2716 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2716 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2717    $as_echo_n "(cached) " >&6
2718   else
2719    if test -n "$ac_ct_STRIP"; then
# Line 2761 | Line 2766 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2767   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2768   if test -z "$MKDIR_P"; then
2769 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2769 >  if ${ac_cv_path_mkdir+:} false; then :
2770    $as_echo_n "(cached) " >&6
2771   else
2772    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2812 | Line 2817 | do
2817   set dummy $ac_prog; ac_word=$2
2818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819   $as_echo_n "checking for $ac_word... " >&6; }
2820 < if test "${ac_cv_prog_AWK+set}" = set; then :
2820 > if ${ac_cv_prog_AWK+:} false; then :
2821    $as_echo_n "(cached) " >&6
2822   else
2823    if test -n "$AWK"; then
# Line 2852 | Line 2857 | done
2857   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2858   set x ${MAKE-make}
2859   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2860 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2860 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2861    $as_echo_n "(cached) " >&6
2862   else
2863    cat >conftest.make <<\_ACEOF
# Line 2910 | Line 2915 | fi
2915  
2916   # Define the identity of the package.
2917   PACKAGE='ircd-hybrid'
2918 < VERSION='7.3-rc1'
2918 > VERSION='8beta1'
2919  
2920  
2921   cat >>confdefs.h <<_ACEOF
# Line 2940 | Line 2945 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2945  
2946   # We need awk for the "check" target.  The system "awk" is bad on
2947   # some platforms.
2948 < # Always define AMTAR for backward compatibility.
2949 <
2950 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2948 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2949 > # in the wild :-(  We should find a proper way to deprecate it ...
2950 > AMTAR='$${TAR-tar}'
2951  
2952 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2952 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2953  
2954  
2955  
# Line 3030 | Line 3035 | fi
3035   if test "x$enable_dependency_tracking" != xno; then
3036    am_depcomp="$ac_aux_dir/depcomp"
3037    AMDEPBACKSLASH='\'
3038 +  am__nodep='_no'
3039   fi
3040   if test "x$enable_dependency_tracking" != xno; then
3041    AMDEP_TRUE=
# Line 3050 | Line 3056 | if test -n "$ac_tool_prefix"; then
3056   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058   $as_echo_n "checking for $ac_word... " >&6; }
3059 < if test "${ac_cv_prog_CC+set}" = set; then :
3059 > if ${ac_cv_prog_CC+:} false; then :
3060    $as_echo_n "(cached) " >&6
3061   else
3062    if test -n "$CC"; then
# Line 3090 | Line 3096 | if test -z "$ac_cv_prog_CC"; then
3096   set dummy gcc; ac_word=$2
3097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098   $as_echo_n "checking for $ac_word... " >&6; }
3099 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3099 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3100    $as_echo_n "(cached) " >&6
3101   else
3102    if test -n "$ac_ct_CC"; then
# Line 3143 | Line 3149 | if test -z "$CC"; then
3149   set dummy ${ac_tool_prefix}cc; ac_word=$2
3150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151   $as_echo_n "checking for $ac_word... " >&6; }
3152 < if test "${ac_cv_prog_CC+set}" = set; then :
3152 > if ${ac_cv_prog_CC+:} false; then :
3153    $as_echo_n "(cached) " >&6
3154   else
3155    if test -n "$CC"; then
# Line 3183 | Line 3189 | if test -z "$CC"; then
3189   set dummy cc; ac_word=$2
3190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191   $as_echo_n "checking for $ac_word... " >&6; }
3192 < if test "${ac_cv_prog_CC+set}" = set; then :
3192 > if ${ac_cv_prog_CC+:} false; then :
3193    $as_echo_n "(cached) " >&6
3194   else
3195    if test -n "$CC"; then
# Line 3242 | Line 3248 | if test -z "$CC"; then
3248   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3250   $as_echo_n "checking for $ac_word... " >&6; }
3251 < if test "${ac_cv_prog_CC+set}" = set; then :
3251 > if ${ac_cv_prog_CC+:} false; then :
3252    $as_echo_n "(cached) " >&6
3253   else
3254    if test -n "$CC"; then
# Line 3286 | Line 3292 | do
3292   set dummy $ac_prog; ac_word=$2
3293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294   $as_echo_n "checking for $ac_word... " >&6; }
3295 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3295 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3296    $as_echo_n "(cached) " >&6
3297   else
3298    if test -n "$ac_ct_CC"; then
# Line 3569 | Line 3575 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3575   ac_clean_files=$ac_clean_files_save
3576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3577   $as_echo_n "checking for suffix of object files... " >&6; }
3578 < if test "${ac_cv_objext+set}" = set; then :
3578 > if ${ac_cv_objext+:} false; then :
3579    $as_echo_n "(cached) " >&6
3580   else
3581    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3620 | Line 3626 | OBJEXT=$ac_cv_objext
3626   ac_objext=$OBJEXT
3627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3628   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3629 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3629 > if ${ac_cv_c_compiler_gnu+:} false; then :
3630    $as_echo_n "(cached) " >&6
3631   else
3632    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3657 | Line 3663 | ac_test_CFLAGS=${CFLAGS+set}
3663   ac_save_CFLAGS=$CFLAGS
3664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3665   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3666 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3666 > if ${ac_cv_prog_cc_g+:} false; then :
3667    $as_echo_n "(cached) " >&6
3668   else
3669    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3735 | Line 3741 | else
3741   fi
3742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3743   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3744 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3744 > if ${ac_cv_prog_cc_c89+:} false; then :
3745    $as_echo_n "(cached) " >&6
3746   else
3747    ac_cv_prog_cc_c89=no
# Line 3834 | Line 3840 | depcc="$CC"   am_compiler_list=
3840  
3841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3842   $as_echo_n "checking dependency style of $depcc... " >&6; }
3843 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3843 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3844    $as_echo_n "(cached) " >&6
3845   else
3846    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3843 | Line 3849 | else
3849    # instance it was reported that on HP-UX the gcc test will end up
3850    # making a dummy file named `D' -- because `-MD' means `put the output
3851    # in D'.
3852 +  rm -rf conftest.dir
3853    mkdir conftest.dir
3854    # Copy depcomp to subdir because otherwise we won't find it if we're
3855    # using a relative directory.
# Line 3902 | Line 3909 | else
3909          break
3910        fi
3911        ;;
3912 <    msvisualcpp | msvcmsys)
3912 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3913        # This compiler won't grok `-c -o', but also, the minuso test has
3914        # not run yet.  These depmodes are late enough in the game, and
3915        # so weak that their functioning should not be impacted.
# Line 3959 | Line 3966 | fi
3966  
3967     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3968   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3969 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3969 > if ${ac_cv_prog_cc_c99+:} false; then :
3970    $as_echo_n "(cached) " >&6
3971   else
3972    ac_cv_prog_cc_c99=no
# Line 4143 | Line 4150 | do
4150   set dummy $ac_prog; ac_word=$2
4151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4152   $as_echo_n "checking for $ac_word... " >&6; }
4153 < if test "${ac_cv_prog_YACC+set}" = set; then :
4153 > if ${ac_cv_prog_YACC+:} false; then :
4154    $as_echo_n "(cached) " >&6
4155   else
4156    if test -n "$YACC"; then
# Line 4187 | Line 4194 | do
4194   set dummy $ac_prog; ac_word=$2
4195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4196   $as_echo_n "checking for $ac_word... " >&6; }
4197 < if test "${ac_cv_prog_LEX+set}" = set; then :
4197 > if ${ac_cv_prog_LEX+:} false; then :
4198    $as_echo_n "(cached) " >&6
4199   else
4200    if test -n "$LEX"; then
# Line 4257 | Line 4264 | $as_echo "$ac_try_echo"; } >&5
4264    test $ac_status = 0; }
4265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4266   $as_echo_n "checking lex output file root... " >&6; }
4267 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4267 > if ${ac_cv_prog_lex_root+:} false; then :
4268    $as_echo_n "(cached) " >&6
4269   else
4270  
# Line 4276 | Line 4283 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4283   if test -z "${LEXLIB+set}"; then
4284    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4285   $as_echo_n "checking lex library... " >&6; }
4286 < if test "${ac_cv_lib_lex+set}" = set; then :
4286 > if ${ac_cv_lib_lex+:} false; then :
4287    $as_echo_n "(cached) " >&6
4288   else
4289  
# Line 4306 | Line 4313 | fi
4313  
4314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4315   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4316 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4316 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4317    $as_echo_n "(cached) " >&6
4318   else
4319    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4317 | Line 4324 | ac_save_LIBS=$LIBS
4324   LIBS="$LEXLIB $ac_save_LIBS"
4325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4326   /* end confdefs.h.  */
4327 < #define YYTEXT_POINTER 1
4327 >
4328 >  #define YYTEXT_POINTER 1
4329   `cat $LEX_OUTPUT_ROOT.c`
4330   _ACEOF
4331   if ac_fn_c_try_link "$LINENO"; then :
# Line 4359 | Line 4367 | esac
4367  
4368  
4369  
4370 < macro_version='2.2.10'
4371 < macro_revision='1.3175'
4370 > macro_version='2.4.2'
4371 > macro_revision='1.3337'
4372  
4373  
4374  
# Line 4382 | Line 4390 | $SHELL "$ac_aux_dir/config.sub" sun4 >/d
4390  
4391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4392   $as_echo_n "checking build system type... " >&6; }
4393 < if test "${ac_cv_build+set}" = set; then :
4393 > if ${ac_cv_build+:} false; then :
4394    $as_echo_n "(cached) " >&6
4395   else
4396    ac_build_alias=$build_alias
# Line 4416 | Line 4424 | case $build_os in *\ *) build_os=`echo "
4424  
4425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4426   $as_echo_n "checking host system type... " >&6; }
4427 < if test "${ac_cv_host+set}" = set; then :
4427 > if ${ac_cv_host+:} false; then :
4428    $as_echo_n "(cached) " >&6
4429   else
4430    if test "x$host_alias" = x; then
# Line 4471 | Line 4479 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4480   $as_echo_n "checking how to print strings... " >&6; }
4481   # Test print first, because it will be a builtin if present.
4482 < if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4482 > if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4483     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4484    ECHO='print -r --'
4485   elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
# Line 4518 | Line 4526 | esac
4526  
4527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4528   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4529 < if test "${ac_cv_path_SED+set}" = set; then :
4529 > if ${ac_cv_path_SED+:} false; then :
4530    $as_echo_n "(cached) " >&6
4531   else
4532              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4600 | Line 4608 | Xsed="$SED -e 1s/^X//"
4608  
4609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4610   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4611 < if test "${ac_cv_path_GREP+set}" = set; then :
4611 > if ${ac_cv_path_GREP+:} false; then :
4612    $as_echo_n "(cached) " >&6
4613   else
4614    if test -z "$GREP"; then
# Line 4663 | Line 4671 | $as_echo "$ac_cv_path_GREP" >&6; }
4671  
4672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4673   $as_echo_n "checking for egrep... " >&6; }
4674 < if test "${ac_cv_path_EGREP+set}" = set; then :
4674 > if ${ac_cv_path_EGREP+:} false; then :
4675    $as_echo_n "(cached) " >&6
4676   else
4677    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4730 | Line 4738 | $as_echo "$ac_cv_path_EGREP" >&6; }
4738  
4739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4740   $as_echo_n "checking for fgrep... " >&6; }
4741 < if test "${ac_cv_path_FGREP+set}" = set; then :
4741 > if ${ac_cv_path_FGREP+:} false; then :
4742    $as_echo_n "(cached) " >&6
4743   else
4744    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4861 | Line 4869 | else
4869    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4870   $as_echo_n "checking for non-GNU ld... " >&6; }
4871   fi
4872 < if test "${lt_cv_path_LD+set}" = set; then :
4872 > if ${lt_cv_path_LD+:} false; then :
4873    $as_echo_n "(cached) " >&6
4874   else
4875    if test -z "$LD"; then
# Line 4901 | Line 4909 | fi
4909   test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4911   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4912 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4912 > if ${lt_cv_prog_gnu_ld+:} false; then :
4913    $as_echo_n "(cached) " >&6
4914   else
4915    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4928 | Line 4936 | with_gnu_ld=$lt_cv_prog_gnu_ld
4936  
4937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4938   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4939 < if test "${lt_cv_path_NM+set}" = set; then :
4939 > if ${lt_cv_path_NM+:} false; then :
4940    $as_echo_n "(cached) " >&6
4941   else
4942    if test -n "$NM"; then
# Line 4991 | Line 4999 | else
4999   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5001   $as_echo_n "checking for $ac_word... " >&6; }
5002 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5002 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5003    $as_echo_n "(cached) " >&6
5004   else
5005    if test -n "$DUMPBIN"; then
# Line 5035 | Line 5043 | do
5043   set dummy $ac_prog; ac_word=$2
5044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045   $as_echo_n "checking for $ac_word... " >&6; }
5046 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5046 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5047    $as_echo_n "(cached) " >&6
5048   else
5049    if test -n "$ac_ct_DUMPBIN"; then
# Line 5107 | Line 5115 | test -z "$NM" && NM=nm
5115  
5116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5117   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5118 < if test "${lt_cv_nm_interface+set}" = set; then :
5118 > if ${lt_cv_nm_interface+:} false; then :
5119    $as_echo_n "(cached) " >&6
5120   else
5121    lt_cv_nm_interface="BSD nm"
# Line 5142 | Line 5150 | fi
5150   # find the maximum length of command line arguments
5151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5152   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5153 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5153 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5154    $as_echo_n "(cached) " >&6
5155   else
5156      i=0
# Line 5205 | Line 5213 | else
5213      lt_cv_sys_max_cmd_len=196608
5214      ;;
5215  
5216 +  os2*)
5217 +    # The test takes a long time on OS/2.
5218 +    lt_cv_sys_max_cmd_len=8192
5219 +    ;;
5220 +
5221    osf*)
5222      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5223      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5244 | Line 5257 | else
5257        # If test is not a shell built-in, we'll probably end up computing a
5258        # maximum length that is only half of the actual maximum length, but
5259        # we can't tell.
5260 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5260 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5261                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5262                test $i != 17 # 1/2 MB should be enough
5263        do
# Line 5287 | Line 5300 | $as_echo_n "checking whether the shell u
5300   # Try some XSI features
5301   xsi_shell=no
5302   ( _lt_dummy="a/b/c"
5303 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5304 <      = c,a/b,, \
5303 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5304 >      = c,a/b,b/c, \
5305      && eval 'test $(( 1 + 1 )) -eq 2 \
5306      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5307    && xsi_shell=yes
# Line 5337 | Line 5350 | esac
5350  
5351  
5352  
5353 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5354 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5355 + if ${lt_cv_to_host_file_cmd+:} false; then :
5356 +  $as_echo_n "(cached) " >&6
5357 + else
5358 +  case $host in
5359 +  *-*-mingw* )
5360 +    case $build in
5361 +      *-*-mingw* ) # actually msys
5362 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5363 +        ;;
5364 +      *-*-cygwin* )
5365 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5366 +        ;;
5367 +      * ) # otherwise, assume *nix
5368 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5369 +        ;;
5370 +    esac
5371 +    ;;
5372 +  *-*-cygwin* )
5373 +    case $build in
5374 +      *-*-mingw* ) # actually msys
5375 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5376 +        ;;
5377 +      *-*-cygwin* )
5378 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5379 +        ;;
5380 +      * ) # otherwise, assume *nix
5381 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5382 +        ;;
5383 +    esac
5384 +    ;;
5385 +  * ) # unhandled hosts (and "normal" native builds)
5386 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5387 +    ;;
5388 + esac
5389 +
5390 + fi
5391 +
5392 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5393 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5394 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5395 +
5396 +
5397 +
5398 +
5399 +
5400 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5401 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5402 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5403 +  $as_echo_n "(cached) " >&6
5404 + else
5405 +  #assume ordinary cross tools, or native build.
5406 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5407 + case $host in
5408 +  *-*-mingw* )
5409 +    case $build in
5410 +      *-*-mingw* ) # actually msys
5411 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5412 +        ;;
5413 +    esac
5414 +    ;;
5415 + esac
5416 +
5417 + fi
5418 +
5419 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5420 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5421 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5422 +
5423 +
5424 +
5425 +
5426 +
5427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5428   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5429 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5429 > if ${lt_cv_ld_reload_flag+:} false; then :
5430    $as_echo_n "(cached) " >&6
5431   else
5432    lt_cv_ld_reload_flag='-r'
# Line 5353 | Line 5440 | case $reload_flag in
5440   esac
5441   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5442   case $host_os in
5443 +  cygwin* | mingw* | pw32* | cegcc*)
5444 +    if test "$GCC" != yes; then
5445 +      reload_cmds=false
5446 +    fi
5447 +    ;;
5448    darwin*)
5449      if test "$GCC" = yes; then
5450        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5375 | Line 5467 | if test -n "$ac_tool_prefix"; then
5467   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469   $as_echo_n "checking for $ac_word... " >&6; }
5470 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5470 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5471    $as_echo_n "(cached) " >&6
5472   else
5473    if test -n "$OBJDUMP"; then
# Line 5415 | Line 5507 | if test -z "$ac_cv_prog_OBJDUMP"; then
5507   set dummy objdump; ac_word=$2
5508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509   $as_echo_n "checking for $ac_word... " >&6; }
5510 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5510 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5511    $as_echo_n "(cached) " >&6
5512   else
5513    if test -n "$ac_ct_OBJDUMP"; then
# Line 5474 | Line 5566 | test -z "$OBJDUMP" && OBJDUMP=objdump
5566  
5567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5568   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5569 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5569 > if ${lt_cv_deplibs_check_method+:} false; then :
5570    $as_echo_n "(cached) " >&6
5571   else
5572    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5594 | Line 5686 | irix5* | irix6* | nonstopux*)
5686    lt_cv_deplibs_check_method=pass_all
5687    ;;
5688  
5689 < # This must be Linux ELF.
5689 > # This must be glibc/ELF.
5690   linux* | k*bsd*-gnu | kopensolaris*-gnu)
5691    lt_cv_deplibs_check_method=pass_all
5692    ;;
# Line 5676 | Line 5768 | esac
5768   fi
5769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5770   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5771 +
5772 + file_magic_glob=
5773 + want_nocaseglob=no
5774 + if test "$build" = "$host"; then
5775 +  case $host_os in
5776 +  mingw* | pw32*)
5777 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5778 +      want_nocaseglob=yes
5779 +    else
5780 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5781 +    fi
5782 +    ;;
5783 +  esac
5784 + fi
5785 +
5786   file_magic_cmd=$lt_cv_file_magic_cmd
5787   deplibs_check_method=$lt_cv_deplibs_check_method
5788   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5691 | Line 5798 | test -z "$deplibs_check_method" && depli
5798  
5799  
5800  
5801 +
5802 +
5803 +
5804 +
5805 +
5806 +
5807 +
5808 +
5809 +
5810 +
5811   if test -n "$ac_tool_prefix"; then
5812 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5813 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5812 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5813 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815   $as_echo_n "checking for $ac_word... " >&6; }
5816 < if test "${ac_cv_prog_AR+set}" = set; then :
5816 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5817 >  $as_echo_n "(cached) " >&6
5818 > else
5819 >  if test -n "$DLLTOOL"; then
5820 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5821 > else
5822 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 > for as_dir in $PATH
5824 > do
5825 >  IFS=$as_save_IFS
5826 >  test -z "$as_dir" && as_dir=.
5827 >    for ac_exec_ext in '' $ac_executable_extensions; do
5828 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5829 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5830 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 >    break 2
5832 >  fi
5833 > done
5834 >  done
5835 > IFS=$as_save_IFS
5836 >
5837 > fi
5838 > fi
5839 > DLLTOOL=$ac_cv_prog_DLLTOOL
5840 > if test -n "$DLLTOOL"; then
5841 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5842 > $as_echo "$DLLTOOL" >&6; }
5843 > else
5844 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 > $as_echo "no" >&6; }
5846 > fi
5847 >
5848 >
5849 > fi
5850 > if test -z "$ac_cv_prog_DLLTOOL"; then
5851 >  ac_ct_DLLTOOL=$DLLTOOL
5852 >  # Extract the first word of "dlltool", so it can be a program name with args.
5853 > set dummy dlltool; ac_word=$2
5854 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 > $as_echo_n "checking for $ac_word... " >&6; }
5856 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5857 >  $as_echo_n "(cached) " >&6
5858 > else
5859 >  if test -n "$ac_ct_DLLTOOL"; then
5860 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5861 > else
5862 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 > for as_dir in $PATH
5864 > do
5865 >  IFS=$as_save_IFS
5866 >  test -z "$as_dir" && as_dir=.
5867 >    for ac_exec_ext in '' $ac_executable_extensions; do
5868 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5869 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5870 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 >    break 2
5872 >  fi
5873 > done
5874 >  done
5875 > IFS=$as_save_IFS
5876 >
5877 > fi
5878 > fi
5879 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5880 > if test -n "$ac_ct_DLLTOOL"; then
5881 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5882 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5883 > else
5884 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 > $as_echo "no" >&6; }
5886 > fi
5887 >
5888 >  if test "x$ac_ct_DLLTOOL" = x; then
5889 >    DLLTOOL="false"
5890 >  else
5891 >    case $cross_compiling:$ac_tool_warned in
5892 > yes:)
5893 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5894 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5895 > ac_tool_warned=yes ;;
5896 > esac
5897 >    DLLTOOL=$ac_ct_DLLTOOL
5898 >  fi
5899 > else
5900 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
5901 > fi
5902 >
5903 > test -z "$DLLTOOL" && DLLTOOL=dlltool
5904 >
5905 >
5906 >
5907 >
5908 >
5909 >
5910 >
5911 >
5912 >
5913 >
5914 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5915 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5916 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5917 >  $as_echo_n "(cached) " >&6
5918 > else
5919 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
5920 >
5921 > case $host_os in
5922 > cygwin* | mingw* | pw32* | cegcc*)
5923 >  # two different shell functions defined in ltmain.sh
5924 >  # decide which to use based on capabilities of $DLLTOOL
5925 >  case `$DLLTOOL --help 2>&1` in
5926 >  *--identify-strict*)
5927 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5928 >    ;;
5929 >  *)
5930 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5931 >    ;;
5932 >  esac
5933 >  ;;
5934 > *)
5935 >  # fallback: assume linklib IS sharedlib
5936 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5937 >  ;;
5938 > esac
5939 >
5940 > fi
5941 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5942 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5943 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5944 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5945 >
5946 >
5947 >
5948 >
5949 >
5950 >
5951 >
5952 > if test -n "$ac_tool_prefix"; then
5953 >  for ac_prog in ar
5954 >  do
5955 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5956 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5957 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 > $as_echo_n "checking for $ac_word... " >&6; }
5959 > if ${ac_cv_prog_AR+:} false; then :
5960    $as_echo_n "(cached) " >&6
5961   else
5962    if test -n "$AR"; then
# Line 5709 | Line 5969 | do
5969    test -z "$as_dir" && as_dir=.
5970      for ac_exec_ext in '' $ac_executable_extensions; do
5971    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5972 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5972 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5973      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974      break 2
5975    fi
# Line 5729 | Line 5989 | $as_echo "no" >&6; }
5989   fi
5990  
5991  
5992 +    test -n "$AR" && break
5993 +  done
5994   fi
5995 < if test -z "$ac_cv_prog_AR"; then
5995 > if test -z "$AR"; then
5996    ac_ct_AR=$AR
5997 <  # Extract the first word of "ar", so it can be a program name with args.
5998 < set dummy ar; ac_word=$2
5997 >  for ac_prog in ar
5998 > do
5999 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6000 > set dummy $ac_prog; ac_word=$2
6001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002   $as_echo_n "checking for $ac_word... " >&6; }
6003 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6003 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6004    $as_echo_n "(cached) " >&6
6005   else
6006    if test -n "$ac_ct_AR"; then
# Line 5749 | Line 6013 | do
6013    test -z "$as_dir" && as_dir=.
6014      for ac_exec_ext in '' $ac_executable_extensions; do
6015    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6016 <    ac_cv_prog_ac_ct_AR="ar"
6016 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6017      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018      break 2
6019    fi
# Line 5768 | Line 6032 | else
6032   $as_echo "no" >&6; }
6033   fi
6034  
6035 +
6036 +  test -n "$ac_ct_AR" && break
6037 + done
6038 +
6039    if test "x$ac_ct_AR" = x; then
6040      AR="false"
6041    else
# Line 5779 | Line 6047 | ac_tool_warned=yes ;;
6047   esac
6048      AR=$ac_ct_AR
6049    fi
5782 else
5783  AR="$ac_cv_prog_AR"
6050   fi
6051  
6052 < test -z "$AR" && AR=ar
6053 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6052 > : ${AR=ar}
6053 > : ${AR_FLAGS=cru}
6054  
6055  
6056  
# Line 5796 | Line 6062 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6062  
6063  
6064  
6065 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6066 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6067 + if ${lt_cv_ar_at_file+:} false; then :
6068 +  $as_echo_n "(cached) " >&6
6069 + else
6070 +  lt_cv_ar_at_file=no
6071 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6072 + /* end confdefs.h.  */
6073 +
6074 + int
6075 + main ()
6076 + {
6077 +
6078 +  ;
6079 +  return 0;
6080 + }
6081 + _ACEOF
6082 + if ac_fn_c_try_compile "$LINENO"; then :
6083 +  echo conftest.$ac_objext > conftest.lst
6084 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6085 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6086 +  (eval $lt_ar_try) 2>&5
6087 +  ac_status=$?
6088 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6089 +  test $ac_status = 0; }
6090 +      if test "$ac_status" -eq 0; then
6091 +        # Ensure the archiver fails upon bogus file names.
6092 +        rm -f conftest.$ac_objext libconftest.a
6093 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6094 +  (eval $lt_ar_try) 2>&5
6095 +  ac_status=$?
6096 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6097 +  test $ac_status = 0; }
6098 +        if test "$ac_status" -ne 0; then
6099 +          lt_cv_ar_at_file=@
6100 +        fi
6101 +      fi
6102 +      rm -f conftest.* libconftest.a
6103 +
6104 + fi
6105 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6106 +
6107 + fi
6108 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6109 + $as_echo "$lt_cv_ar_at_file" >&6; }
6110 +
6111 + if test "x$lt_cv_ar_at_file" = xno; then
6112 +  archiver_list_spec=
6113 + else
6114 +  archiver_list_spec=$lt_cv_ar_at_file
6115 + fi
6116 +
6117 +
6118 +
6119 +
6120 +
6121 +
6122 +
6123   if test -n "$ac_tool_prefix"; then
6124    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6125   set dummy ${ac_tool_prefix}strip; ac_word=$2
6126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127   $as_echo_n "checking for $ac_word... " >&6; }
6128 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6128 > if ${ac_cv_prog_STRIP+:} false; then :
6129    $as_echo_n "(cached) " >&6
6130   else
6131    if test -n "$STRIP"; then
# Line 5841 | Line 6165 | if test -z "$ac_cv_prog_STRIP"; then
6165   set dummy strip; ac_word=$2
6166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167   $as_echo_n "checking for $ac_word... " >&6; }
6168 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6168 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6169    $as_echo_n "(cached) " >&6
6170   else
6171    if test -n "$ac_ct_STRIP"; then
# Line 5900 | Line 6224 | if test -n "$ac_tool_prefix"; then
6224   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226   $as_echo_n "checking for $ac_word... " >&6; }
6227 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6227 > if ${ac_cv_prog_RANLIB+:} false; then :
6228    $as_echo_n "(cached) " >&6
6229   else
6230    if test -n "$RANLIB"; then
# Line 5940 | Line 6264 | if test -z "$ac_cv_prog_RANLIB"; then
6264   set dummy ranlib; ac_word=$2
6265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266   $as_echo_n "checking for $ac_word... " >&6; }
6267 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6267 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6268    $as_echo_n "(cached) " >&6
6269   else
6270    if test -n "$ac_ct_RANLIB"; then
# Line 6002 | Line 6326 | old_postuninstall_cmds=
6326   if test -n "$RANLIB"; then
6327    case $host_os in
6328    openbsd*)
6329 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6329 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6330      ;;
6331    *)
6332 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6332 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6333      ;;
6334    esac
6335 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6335 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6336   fi
6337  
6338   case $host_os in
# Line 6069 | Line 6393 | compiler=$CC
6393   # Check for command to grab the raw symbol name followed by C symbol from nm.
6394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6395   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6396 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6396 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6397    $as_echo_n "(cached) " >&6
6398   else
6399  
# Line 6130 | Line 6454 | esac
6454   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6455  
6456   # Transform an extracted symbol line into symbol name and symbol address
6457 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6458 < 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'"
6457 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6458 > 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'"
6459  
6460   # Handle CRLF in mingw tool chain
6461   opt_cr=
# Line 6155 | Line 6479 | for ac_symprfx in "" "_"; do
6479      # which start with @ or ?.
6480      lt_cv_sys_global_symbol_pipe="$AWK '"\
6481   "     {last_section=section; section=\$ 3};"\
6482 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6483   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6484   "     \$ 0!~/External *\|/{next};"\
6485   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6167 | Line 6492 | for ac_symprfx in "" "_"; do
6492    else
6493      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6494    fi
6495 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6496  
6497    # Check to see that the pipe works correctly.
6498    pipe_works=no
# Line 6208 | Line 6534 | _LT_EOF
6534        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6535          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6536            cat <<_LT_EOF > conftest.$ac_ext
6537 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6538 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6539 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6540 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6541 + # define LT_DLSYM_CONST
6542 + #elif defined(__osf__)
6543 + /* This system does not cope well with relocations in const data.  */
6544 + # define LT_DLSYM_CONST
6545 + #else
6546 + # define LT_DLSYM_CONST const
6547 + #endif
6548 +
6549   #ifdef __cplusplus
6550   extern "C" {
6551   #endif
# Line 6219 | Line 6557 | _LT_EOF
6557            cat <<_LT_EOF >> conftest.$ac_ext
6558  
6559   /* The mapping between symbol names and symbols.  */
6560 < const struct {
6560 > LT_DLSYM_CONST struct {
6561    const char *name;
6562    void       *address;
6563   }
# Line 6245 | Line 6583 | static const void *lt_preloaded_setup()
6583   _LT_EOF
6584            # Now try linking the two files.
6585            mv conftest.$ac_objext conftstm.$ac_objext
6586 <          lt_save_LIBS="$LIBS"
6587 <          lt_save_CFLAGS="$CFLAGS"
6586 >          lt_globsym_save_LIBS=$LIBS
6587 >          lt_globsym_save_CFLAGS=$CFLAGS
6588            LIBS="conftstm.$ac_objext"
6589            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6590            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6256 | Line 6594 | _LT_EOF
6594    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6595              pipe_works=yes
6596            fi
6597 <          LIBS="$lt_save_LIBS"
6598 <          CFLAGS="$lt_save_CFLAGS"
6597 >          LIBS=$lt_globsym_save_LIBS
6598 >          CFLAGS=$lt_globsym_save_CFLAGS
6599          else
6600            echo "cannot find nm_test_func in $nlist" >&5
6601          fi
# Line 6294 | Line 6632 | else
6632   $as_echo "ok" >&6; }
6633   fi
6634  
6635 + # Response file support.
6636 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6637 +  nm_file_list_spec='@'
6638 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6639 +  nm_file_list_spec='@'
6640 + fi
6641 +
6642 +
6643 +
6644  
6645  
6646  
# Line 6315 | Line 6662 | fi
6662  
6663  
6664  
6665 +
6666 +
6667 +
6668 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6669 + $as_echo_n "checking for sysroot... " >&6; }
6670 +
6671 + # Check whether --with-sysroot was given.
6672 + if test "${with_sysroot+set}" = set; then :
6673 +  withval=$with_sysroot;
6674 + else
6675 +  with_sysroot=no
6676 + fi
6677 +
6678 +
6679 + lt_sysroot=
6680 + case ${with_sysroot} in #(
6681 + yes)
6682 +   if test "$GCC" = yes; then
6683 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6684 +   fi
6685 +   ;; #(
6686 + /*)
6687 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6688 +   ;; #(
6689 + no|'')
6690 +   ;; #(
6691 + *)
6692 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6693 + $as_echo "${with_sysroot}" >&6; }
6694 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6695 +   ;;
6696 + esac
6697 +
6698 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6699 + $as_echo "${lt_sysroot:-no}" >&6; }
6700 +
6701 +
6702 +
6703 +
6704 +
6705   # Check whether --enable-libtool-lock was given.
6706   if test "${enable_libtool_lock+set}" = set; then :
6707    enableval=$enable_libtool_lock;
# Line 6440 | Line 6827 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6827    CFLAGS="$CFLAGS -belf"
6828    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6829   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6830 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6830 > if ${lt_cv_cc_needs_belf+:} false; then :
6831    $as_echo_n "(cached) " >&6
6832   else
6833    ac_ext=c
# Line 6481 | Line 6868 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6868      CFLAGS="$SAVE_CFLAGS"
6869    fi
6870    ;;
6871 < sparc*-*solaris*)
6871 > *-*solaris*)
6872    # Find out which ABI we are using.
6873    echo 'int i;' > conftest.$ac_ext
6874    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6492 | Line 6879 | sparc*-*solaris*)
6879      case `/usr/bin/file conftest.o` in
6880      *64-bit*)
6881        case $lt_cv_prog_gnu_ld in
6882 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6882 >      yes*)
6883 >        case $host in
6884 >        i?86-*-solaris*)
6885 >          LD="${LD-ld} -m elf_x86_64"
6886 >          ;;
6887 >        sparc*-*-solaris*)
6888 >          LD="${LD-ld} -m elf64_sparc"
6889 >          ;;
6890 >        esac
6891 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6892 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6893 >          LD="${LD-ld}_sol2"
6894 >        fi
6895 >        ;;
6896        *)
6897          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6898            LD="${LD-ld} -64"
# Line 6508 | Line 6908 | esac
6908  
6909   need_locks="$enable_libtool_lock"
6910  
6911 + if test -n "$ac_tool_prefix"; then
6912 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6913 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6914 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6915 + $as_echo_n "checking for $ac_word... " >&6; }
6916 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6917 +  $as_echo_n "(cached) " >&6
6918 + else
6919 +  if test -n "$MANIFEST_TOOL"; then
6920 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6921 + else
6922 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923 + for as_dir in $PATH
6924 + do
6925 +  IFS=$as_save_IFS
6926 +  test -z "$as_dir" && as_dir=.
6927 +    for ac_exec_ext in '' $ac_executable_extensions; do
6928 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6930 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931 +    break 2
6932 +  fi
6933 + done
6934 +  done
6935 + IFS=$as_save_IFS
6936 +
6937 + fi
6938 + fi
6939 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6940 + if test -n "$MANIFEST_TOOL"; then
6941 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6942 + $as_echo "$MANIFEST_TOOL" >&6; }
6943 + else
6944 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6945 + $as_echo "no" >&6; }
6946 + fi
6947 +
6948 +
6949 + fi
6950 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6951 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6952 +  # Extract the first word of "mt", so it can be a program name with args.
6953 + set dummy mt; ac_word=$2
6954 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6955 + $as_echo_n "checking for $ac_word... " >&6; }
6956 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6957 +  $as_echo_n "(cached) " >&6
6958 + else
6959 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6960 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6961 + else
6962 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 + for as_dir in $PATH
6964 + do
6965 +  IFS=$as_save_IFS
6966 +  test -z "$as_dir" && as_dir=.
6967 +    for ac_exec_ext in '' $ac_executable_extensions; do
6968 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6969 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6970 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 +    break 2
6972 +  fi
6973 + done
6974 +  done
6975 + IFS=$as_save_IFS
6976 +
6977 + fi
6978 + fi
6979 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6980 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6981 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6982 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6983 + else
6984 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6985 + $as_echo "no" >&6; }
6986 + fi
6987 +
6988 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6989 +    MANIFEST_TOOL=":"
6990 +  else
6991 +    case $cross_compiling:$ac_tool_warned in
6992 + yes:)
6993 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6994 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6995 + ac_tool_warned=yes ;;
6996 + esac
6997 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6998 +  fi
6999 + else
7000 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7001 + fi
7002 +
7003 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7004 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7005 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7006 + if ${lt_cv_path_mainfest_tool+:} false; then :
7007 +  $as_echo_n "(cached) " >&6
7008 + else
7009 +  lt_cv_path_mainfest_tool=no
7010 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7011 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7012 +  cat conftest.err >&5
7013 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7014 +    lt_cv_path_mainfest_tool=yes
7015 +  fi
7016 +  rm -f conftest*
7017 + fi
7018 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7019 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7020 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7021 +  MANIFEST_TOOL=:
7022 + fi
7023 +
7024 +
7025 +
7026 +
7027 +
7028  
7029    case $host_os in
7030      rhapsody* | darwin*)
# Line 6516 | Line 7033 | need_locks="$enable_libtool_lock"
7033   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7035   $as_echo_n "checking for $ac_word... " >&6; }
7036 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7036 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7037    $as_echo_n "(cached) " >&6
7038   else
7039    if test -n "$DSYMUTIL"; then
# Line 6556 | Line 7073 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7073   set dummy dsymutil; ac_word=$2
7074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7075   $as_echo_n "checking for $ac_word... " >&6; }
7076 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7076 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7077    $as_echo_n "(cached) " >&6
7078   else
7079    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6608 | Line 7125 | fi
7125   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127   $as_echo_n "checking for $ac_word... " >&6; }
7128 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7128 > if ${ac_cv_prog_NMEDIT+:} false; then :
7129    $as_echo_n "(cached) " >&6
7130   else
7131    if test -n "$NMEDIT"; then
# Line 6648 | Line 7165 | if test -z "$ac_cv_prog_NMEDIT"; then
7165   set dummy nmedit; ac_word=$2
7166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167   $as_echo_n "checking for $ac_word... " >&6; }
7168 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7168 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7169    $as_echo_n "(cached) " >&6
7170   else
7171    if test -n "$ac_ct_NMEDIT"; then
# Line 6700 | Line 7217 | fi
7217   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219   $as_echo_n "checking for $ac_word... " >&6; }
7220 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7220 > if ${ac_cv_prog_LIPO+:} false; then :
7221    $as_echo_n "(cached) " >&6
7222   else
7223    if test -n "$LIPO"; then
# Line 6740 | Line 7257 | if test -z "$ac_cv_prog_LIPO"; then
7257   set dummy lipo; ac_word=$2
7258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259   $as_echo_n "checking for $ac_word... " >&6; }
7260 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7260 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7261    $as_echo_n "(cached) " >&6
7262   else
7263    if test -n "$ac_ct_LIPO"; then
# Line 6792 | Line 7309 | fi
7309   set dummy ${ac_tool_prefix}otool; ac_word=$2
7310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311   $as_echo_n "checking for $ac_word... " >&6; }
7312 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7312 > if ${ac_cv_prog_OTOOL+:} false; then :
7313    $as_echo_n "(cached) " >&6
7314   else
7315    if test -n "$OTOOL"; then
# Line 6832 | Line 7349 | if test -z "$ac_cv_prog_OTOOL"; then
7349   set dummy otool; ac_word=$2
7350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7351   $as_echo_n "checking for $ac_word... " >&6; }
7352 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7352 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7353    $as_echo_n "(cached) " >&6
7354   else
7355    if test -n "$ac_ct_OTOOL"; then
# Line 6884 | Line 7401 | fi
7401   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403   $as_echo_n "checking for $ac_word... " >&6; }
7404 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7404 > if ${ac_cv_prog_OTOOL64+:} false; then :
7405    $as_echo_n "(cached) " >&6
7406   else
7407    if test -n "$OTOOL64"; then
# Line 6924 | Line 7441 | if test -z "$ac_cv_prog_OTOOL64"; then
7441   set dummy otool64; ac_word=$2
7442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443   $as_echo_n "checking for $ac_word... " >&6; }
7444 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7444 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7445    $as_echo_n "(cached) " >&6
7446   else
7447    if test -n "$ac_ct_OTOOL64"; then
# Line 6999 | Line 7516 | fi
7516  
7517      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7518   $as_echo_n "checking for -single_module linker flag... " >&6; }
7519 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7519 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7520    $as_echo_n "(cached) " >&6
7521   else
7522    lt_cv_apple_cc_single_mod=no
# Line 7015 | Line 7532 | else
7532          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7533            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7534          _lt_result=$?
7535 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7535 >        # If there is a non-empty error log, and "single_module"
7536 >        # appears in it, assume the flag caused a linker warning
7537 >        if test -s conftest.err && $GREP single_module conftest.err; then
7538 >          cat conftest.err >&5
7539 >        # Otherwise, if the output was created with a 0 exit code from
7540 >        # the compiler, it worked.
7541 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7542            lt_cv_apple_cc_single_mod=yes
7543          else
7544            cat conftest.err >&5
# Line 7026 | Line 7549 | else
7549   fi
7550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7551   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7552 +
7553      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7554   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7555 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7555 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7556    $as_echo_n "(cached) " >&6
7557   else
7558    lt_cv_ld_exported_symbols_list=no
# Line 7058 | Line 7582 | rm -f core conftest.err conftest.$ac_obj
7582   fi
7583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7584   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7585 +
7586      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7587   $as_echo_n "checking for -force_load linker flag... " >&6; }
7588 < if test "${lt_cv_ld_force_load+set}" = set; then :
7588 > if ${lt_cv_ld_force_load+:} false; then :
7589    $as_echo_n "(cached) " >&6
7590   else
7591    lt_cv_ld_force_load=no
# Line 7079 | Line 7604 | _LT_EOF
7604        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7605        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7606        _lt_result=$?
7607 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7607 >      if test -s conftest.err && $GREP force_load conftest.err; then
7608 >        cat conftest.err >&5
7609 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7610          lt_cv_ld_force_load=yes
7611        else
7612          cat conftest.err >&5
# Line 7137 | Line 7664 | if test -n "$CPP" && test -d "$CPP"; the
7664    CPP=
7665   fi
7666   if test -z "$CPP"; then
7667 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7667 >  if ${ac_cv_prog_CPP+:} false; then :
7668    $as_echo_n "(cached) " >&6
7669   else
7670        # Double quotes because CPP needs to be expanded
# Line 7265 | Line 7792 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7792  
7793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7794   $as_echo_n "checking for ANSI C header files... " >&6; }
7795 < if test "${ac_cv_header_stdc+set}" = set; then :
7795 > if ${ac_cv_header_stdc+:} false; then :
7796    $as_echo_n "(cached) " >&6
7797   else
7798    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7396 | Line 7923 | for ac_header in dlfcn.h
7923   do :
7924    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7925   "
7926 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7926 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7927    cat >>confdefs.h <<_ACEOF
7928   #define HAVE_DLFCN_H 1
7929   _ACEOF
# Line 7482 | Line 8009 | fi
8009  
8010   # Check whether --with-pic was given.
8011   if test "${with_pic+set}" = set; then :
8012 <  withval=$with_pic; pic_mode="$withval"
8012 >  withval=$with_pic; lt_p=${PACKAGE-default}
8013 >    case $withval in
8014 >    yes|no) pic_mode=$withval ;;
8015 >    *)
8016 >      pic_mode=default
8017 >      # Look at the argument we got.  We use all the common list separators.
8018 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8019 >      for lt_pkg in $withval; do
8020 >        IFS="$lt_save_ifs"
8021 >        if test "X$lt_pkg" = "X$lt_p"; then
8022 >          pic_mode=yes
8023 >        fi
8024 >      done
8025 >      IFS="$lt_save_ifs"
8026 >      ;;
8027 >    esac
8028   else
8029    pic_mode=default
8030   fi
# Line 7560 | Line 8102 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8102  
8103  
8104  
8105 +
8106 +
8107 +
8108 +
8109   test -z "$LN_S" && LN_S="ln -s"
8110  
8111  
# Line 7581 | Line 8127 | fi
8127  
8128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8129   $as_echo_n "checking for objdir... " >&6; }
8130 < if test "${lt_cv_objdir+set}" = set; then :
8130 > if ${lt_cv_objdir+:} false; then :
8131    $as_echo_n "(cached) " >&6
8132   else
8133    rm -f .libs 2>/dev/null
# Line 7659 | Line 8205 | file_magic*)
8205    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8206      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8207   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8208 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8208 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8209    $as_echo_n "(cached) " >&6
8210   else
8211    case $MAGIC_CMD in
# Line 7725 | Line 8271 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8271    if test -n "$ac_tool_prefix"; then
8272      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8273   $as_echo_n "checking for file... " >&6; }
8274 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8274 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8275    $as_echo_n "(cached) " >&6
8276   else
8277    case $MAGIC_CMD in
# Line 7863 | Line 8409 | if test "$GCC" = yes; then
8409  
8410    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8411   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8412 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8412 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8413    $as_echo_n "(cached) " >&6
8414   else
8415    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7916 | Line 8462 | fi
8462   lt_prog_compiler_pic=
8463   lt_prog_compiler_static=
8464  
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7920 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8465  
8466    if test "$GCC" = yes; then
8467      lt_prog_compiler_wl='-Wl,'
# Line 8017 | Line 8561 | $as_echo_n "checking for $compiler optio
8561      case $cc_basename in
8562      nvcc*) # Cuda Compiler Driver 2.2
8563        lt_prog_compiler_wl='-Xlinker '
8564 <      lt_prog_compiler_pic='-Xcompiler -fPIC'
8564 >      if test -n "$lt_prog_compiler_pic"; then
8565 >        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8566 >      fi
8567        ;;
8568      esac
8569    else
# Line 8082 | Line 8628 | $as_echo_n "checking for $compiler optio
8628          lt_prog_compiler_pic='--shared'
8629          lt_prog_compiler_static='--static'
8630          ;;
8631 +      nagfor*)
8632 +        # NAG Fortran compiler
8633 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8634 +        lt_prog_compiler_pic='-PIC'
8635 +        lt_prog_compiler_static='-Bstatic'
8636 +        ;;
8637        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8638          # Portland Group compilers (*not* the Pentium gcc compiler,
8639          # which looks to be a dead project)
# Line 8102 | Line 8654 | $as_echo_n "checking for $compiler optio
8654          ;;
8655        *)
8656          case `$CC -V 2>&1 | sed 5q` in
8657 <        *Sun\ F* | *Sun*Fortran*)
8657 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8658            # Sun Fortran 8.3 passes all unrecognized flags to the linker
8659            lt_prog_compiler_pic='-KPIC'
8660            lt_prog_compiler_static='-Bstatic'
8661            lt_prog_compiler_wl=''
8662            ;;
8663 +        *Sun\ F* | *Sun*Fortran*)
8664 +          lt_prog_compiler_pic='-KPIC'
8665 +          lt_prog_compiler_static='-Bstatic'
8666 +          lt_prog_compiler_wl='-Qoption ld '
8667 +          ;;
8668          *Sun\ C*)
8669            # Sun C 5.9
8670            lt_prog_compiler_pic='-KPIC'
8671            lt_prog_compiler_static='-Bstatic'
8672            lt_prog_compiler_wl='-Wl,'
8673            ;;
8674 +        *Intel*\ [CF]*Compiler*)
8675 +          lt_prog_compiler_wl='-Wl,'
8676 +          lt_prog_compiler_pic='-fPIC'
8677 +          lt_prog_compiler_static='-static'
8678 +          ;;
8679 +        *Portland\ Group*)
8680 +          lt_prog_compiler_wl='-Wl,'
8681 +          lt_prog_compiler_pic='-fpic'
8682 +          lt_prog_compiler_static='-Bstatic'
8683 +          ;;
8684          esac
8685          ;;
8686        esac
# Line 8201 | Line 8768 | case $host_os in
8768      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8769      ;;
8770   esac
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8205 $as_echo "$lt_prog_compiler_pic" >&6; }
8206
8207
8208
8209
8771  
8772 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8773 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8774 + if ${lt_cv_prog_compiler_pic+:} false; then :
8775 +  $as_echo_n "(cached) " >&6
8776 + else
8777 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8778 + fi
8779 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8780 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8781 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8782  
8783   #
8784   # Check to make sure the PIC flag actually works.
# Line 8215 | Line 8786 | $as_echo "$lt_prog_compiler_pic" >&6; }
8786   if test -n "$lt_prog_compiler_pic"; then
8787    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8788   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8789 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8789 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8790    $as_echo_n "(cached) " >&6
8791   else
8792    lt_cv_prog_compiler_pic_works=no
# Line 8268 | Line 8839 | fi
8839  
8840  
8841  
8842 +
8843 +
8844 +
8845 +
8846 +
8847   #
8848   # Check to make sure the static flag actually works.
8849   #
8850   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8852   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8853 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8853 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8854    $as_echo_n "(cached) " >&6
8855   else
8856    lt_cv_prog_compiler_static_works=no
# Line 8317 | Line 8893 | fi
8893  
8894    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8895   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8896 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8896 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8897    $as_echo_n "(cached) " >&6
8898   else
8899    lt_cv_prog_compiler_c_o=no
# Line 8372 | Line 8948 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8948  
8949    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8950   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8951 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8951 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8952    $as_echo_n "(cached) " >&6
8953   else
8954    lt_cv_prog_compiler_c_o=no
# Line 8466 | Line 9042 | $as_echo_n "checking whether the $compil
9042    hardcode_direct=no
9043    hardcode_direct_absolute=no
9044    hardcode_libdir_flag_spec=
8469  hardcode_libdir_flag_spec_ld=
9045    hardcode_libdir_separator=
9046    hardcode_minus_L=no
9047    hardcode_shlibpath_var=unsupported
# Line 8618 | Line 9193 | _LT_EOF
9193        allow_undefined_flag=unsupported
9194        always_export_symbols=no
9195        enable_shared_with_static_runtimes=yes
9196 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9196 >      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9197 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9198  
9199        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9200          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8666 | Line 9242 | _LT_EOF
9242        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9243           && test "$tmp_diet" = no
9244        then
9245 <        tmp_addflag=
9245 >        tmp_addflag=' $pic_flag'
9246          tmp_sharedflag='-shared'
9247          case $cc_basename,$host_cpu in
9248          pgcc*)                          # Portland Group C compiler
# Line 8715 | Line 9291 | _LT_EOF
9291          xlf* | bgf* | bgxlf* | mpixlf*)
9292            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9293            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9294 <          hardcode_libdir_flag_spec=
8719 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9294 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9295            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9296            if test "x$supports_anon_versioning" = xyes; then
9297              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
# Line 8736 | Line 9311 | _LT_EOF
9311          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9312          wlarc=
9313        else
9314 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9314 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9316        fi
9317        ;;
9318  
# Line 8755 | Line 9330 | _LT_EOF
9330  
9331   _LT_EOF
9332        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9333 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9333 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9335        else
9336          ld_shlibs=no
9337        fi
# Line 8802 | Line 9377 | _LT_EOF
9377  
9378      *)
9379        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9380 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9381 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9380 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9381 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9382        else
9383          ld_shlibs=no
9384        fi
# Line 8933 | Line 9508 | _LT_EOF
9508          allow_undefined_flag='-berok'
9509          # Determine the default libpath from the value encoded in an
9510          # empty executable.
9511 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 >        if test "${lt_cv_aix_libpath+set}" = set; then
9512 >  aix_libpath=$lt_cv_aix_libpath
9513 > else
9514 >  if ${lt_cv_aix_libpath_+:} false; then :
9515 >  $as_echo_n "(cached) " >&6
9516 > else
9517 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518   /* end confdefs.h.  */
9519  
9520   int
# Line 8946 | Line 9527 | main ()
9527   _ACEOF
9528   if ac_fn_c_try_link "$LINENO"; then :
9529  
9530 < lt_aix_libpath_sed='
9531 <    /Import File Strings/,/^$/ {
9532 <        /^0/ {
9533 <            s/^0  *\(.*\)$/\1/
9534 <            p
9535 <        }
9536 <    }'
9537 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9538 < # Check for a 64-bit object if we didn't find anything.
9539 < if test -z "$aix_libpath"; then
9540 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9541 < fi
9530 >  lt_aix_libpath_sed='
9531 >      /Import File Strings/,/^$/ {
9532 >          /^0/ {
9533 >              s/^0  *\([^ ]*\) *$/\1/
9534 >              p
9535 >          }
9536 >      }'
9537 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9538 >  # Check for a 64-bit object if we didn't find anything.
9539 >  if test -z "$lt_cv_aix_libpath_"; then
9540 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9541 >  fi
9542   fi
9543   rm -f core conftest.err conftest.$ac_objext \
9544      conftest$ac_exeext conftest.$ac_ext
9545 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9545 >  if test -z "$lt_cv_aix_libpath_"; then
9546 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9547 >  fi
9548 >
9549 > fi
9550 >
9551 >  aix_libpath=$lt_cv_aix_libpath_
9552 > fi
9553  
9554          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9555          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"
# Line 8973 | Line 9561 | if test -z "$aix_libpath"; then aix_libp
9561          else
9562           # Determine the default libpath from the value encoded in an
9563           # empty executable.
9564 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9564 >         if test "${lt_cv_aix_libpath+set}" = set; then
9565 >  aix_libpath=$lt_cv_aix_libpath
9566 > else
9567 >  if ${lt_cv_aix_libpath_+:} false; then :
9568 >  $as_echo_n "(cached) " >&6
9569 > else
9570 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571   /* end confdefs.h.  */
9572  
9573   int
# Line 8986 | Line 9580 | main ()
9580   _ACEOF
9581   if ac_fn_c_try_link "$LINENO"; then :
9582  
9583 < lt_aix_libpath_sed='
9584 <    /Import File Strings/,/^$/ {
9585 <        /^0/ {
9586 <            s/^0  *\(.*\)$/\1/
9587 <            p
9588 <        }
9589 <    }'
9590 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 < # Check for a 64-bit object if we didn't find anything.
9592 < if test -z "$aix_libpath"; then
9593 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 < fi
9583 >  lt_aix_libpath_sed='
9584 >      /Import File Strings/,/^$/ {
9585 >          /^0/ {
9586 >              s/^0  *\([^ ]*\) *$/\1/
9587 >              p
9588 >          }
9589 >      }'
9590 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 >  # Check for a 64-bit object if we didn't find anything.
9592 >  if test -z "$lt_cv_aix_libpath_"; then
9593 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 >  fi
9595   fi
9596   rm -f core conftest.err conftest.$ac_objext \
9597      conftest$ac_exeext conftest.$ac_ext
9598 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9598 >  if test -z "$lt_cv_aix_libpath_"; then
9599 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9600 >  fi
9601 >
9602 > fi
9603 >
9604 >  aix_libpath=$lt_cv_aix_libpath_
9605 > fi
9606  
9607           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9608            # Warning - without using the other run time loading flags,
# Line 9046 | Line 9647 | if test -z "$aix_libpath"; then aix_libp
9647        # Microsoft Visual C++.
9648        # hardcode_libdir_flag_spec is actually meaningless, as there is
9649        # no search path for DLLs.
9650 <      hardcode_libdir_flag_spec=' '
9651 <      allow_undefined_flag=unsupported
9652 <      # Tell ltmain to make .lib files, not .a files.
9653 <      libext=lib
9654 <      # Tell ltmain to make .dll files, not .so files.
9655 <      shrext_cmds=".dll"
9656 <      # FIXME: Setting linknames here is a bad hack.
9657 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9658 <      # The linker will automatically build a .lib file if we build a DLL.
9659 <      old_archive_from_new_cmds='true'
9660 <      # FIXME: Should let the user specify the lib program.
9661 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9662 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9663 <      enable_shared_with_static_runtimes=yes
9650 >      case $cc_basename in
9651 >      cl*)
9652 >        # Native MSVC
9653 >        hardcode_libdir_flag_spec=' '
9654 >        allow_undefined_flag=unsupported
9655 >        always_export_symbols=yes
9656 >        file_list_spec='@'
9657 >        # Tell ltmain to make .lib files, not .a files.
9658 >        libext=lib
9659 >        # Tell ltmain to make .dll files, not .so files.
9660 >        shrext_cmds=".dll"
9661 >        # FIXME: Setting linknames here is a bad hack.
9662 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9663 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9664 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9665 >          else
9666 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9667 >          fi~
9668 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9669 >          linknames='
9670 >        # The linker will not automatically build a static lib if we build a DLL.
9671 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9672 >        enable_shared_with_static_runtimes=yes
9673 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9674 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9675 >        # Don't use ranlib
9676 >        old_postinstall_cmds='chmod 644 $oldlib'
9677 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9678 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9679 >          case $lt_outputfile in
9680 >            *.exe|*.EXE) ;;
9681 >            *)
9682 >              lt_outputfile="$lt_outputfile.exe"
9683 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9684 >              ;;
9685 >          esac~
9686 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9687 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9688 >            $RM "$lt_outputfile.manifest";
9689 >          fi'
9690 >        ;;
9691 >      *)
9692 >        # Assume MSVC wrapper
9693 >        hardcode_libdir_flag_spec=' '
9694 >        allow_undefined_flag=unsupported
9695 >        # Tell ltmain to make .lib files, not .a files.
9696 >        libext=lib
9697 >        # Tell ltmain to make .dll files, not .so files.
9698 >        shrext_cmds=".dll"
9699 >        # FIXME: Setting linknames here is a bad hack.
9700 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9701 >        # The linker will automatically build a .lib file if we build a DLL.
9702 >        old_archive_from_new_cmds='true'
9703 >        # FIXME: Should let the user specify the lib program.
9704 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9705 >        enable_shared_with_static_runtimes=yes
9706 >        ;;
9707 >      esac
9708        ;;
9709  
9710      darwin* | rhapsody*)
# Line 9071 | Line 9716 | if test -z "$aix_libpath"; then aix_libp
9716    hardcode_shlibpath_var=unsupported
9717    if test "$lt_cv_ld_force_load" = "yes"; then
9718      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\"`'
9719 +
9720    else
9721      whole_archive_flag_spec=''
9722    fi
# Line 9099 | Line 9745 | if test -z "$aix_libpath"; then aix_libp
9745        hardcode_shlibpath_var=no
9746        ;;
9747  
9102    freebsd1*)
9103      ld_shlibs=no
9104      ;;
9105
9748      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9749      # support.  Future versions do this automatically, but an explicit c++rt0.o
9750      # does not break anything, and helps significantly (at the cost of a little
# Line 9115 | Line 9757 | if test -z "$aix_libpath"; then aix_libp
9757        ;;
9758  
9759      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9760 <    freebsd2*)
9760 >    freebsd2.*)
9761        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9762        hardcode_direct=yes
9763        hardcode_minus_L=yes
# Line 9124 | Line 9766 | if test -z "$aix_libpath"; then aix_libp
9766  
9767      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9768      freebsd* | dragonfly*)
9769 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9769 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9770        hardcode_libdir_flag_spec='-R$libdir'
9771        hardcode_direct=yes
9772        hardcode_shlibpath_var=no
# Line 9132 | Line 9774 | if test -z "$aix_libpath"; then aix_libp
9774  
9775      hpux9*)
9776        if test "$GCC" = yes; then
9777 <        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9777 >        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'
9778        else
9779          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'
9780        fi
# Line 9148 | Line 9790 | if test -z "$aix_libpath"; then aix_libp
9790  
9791      hpux10*)
9792        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9793 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9793 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9794        else
9795          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9796        fi
9797        if test "$with_gnu_ld" = no; then
9798          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9157        hardcode_libdir_flag_spec_ld='+b $libdir'
9799          hardcode_libdir_separator=:
9800          hardcode_direct=yes
9801          hardcode_direct_absolute=yes
# Line 9172 | Line 9813 | if test -z "$aix_libpath"; then aix_libp
9813            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9814            ;;
9815          ia64*)
9816 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9817            ;;
9818          *)
9819 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9819 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9820            ;;
9821          esac
9822        else
# Line 9192 | Line 9833 | if test -z "$aix_libpath"; then aix_libp
9833            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9834            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9835   $as_echo_n "checking if $CC understands -b... " >&6; }
9836 < if test "${lt_cv_prog_compiler__b+set}" = set; then :
9836 > if ${lt_cv_prog_compiler__b+:} false; then :
9837    $as_echo_n "(cached) " >&6
9838   else
9839    lt_cv_prog_compiler__b=no
# Line 9254 | Line 9895 | fi
9895  
9896      irix5* | irix6* | nonstopux*)
9897        if test "$GCC" = yes; then
9898 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9898 >        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'
9899          # Try to use the -exported_symbol ld option, if it does not
9900          # work, assume that -exports_file does not work either and
9901          # implicitly export all symbols.
9902 <        save_LDFLAGS="$LDFLAGS"
9903 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9904 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9902 >        # This should be the same for all languages, so no per-tag cache variable.
9903 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9904 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9905 > if ${lt_cv_irix_exported_symbol+:} false; then :
9906 >  $as_echo_n "(cached) " >&6
9907 > else
9908 >  save_LDFLAGS="$LDFLAGS"
9909 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9910 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911   /* end confdefs.h.  */
9912 < int foo(void) {}
9912 > int foo (void) { return 0; }
9913   _ACEOF
9914   if ac_fn_c_try_link "$LINENO"; then :
9915 <  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9916 <
9915 >  lt_cv_irix_exported_symbol=yes
9916 > else
9917 >  lt_cv_irix_exported_symbol=no
9918   fi
9919   rm -f core conftest.err conftest.$ac_objext \
9920      conftest$ac_exeext conftest.$ac_ext
9921 <        LDFLAGS="$save_LDFLAGS"
9921 >           LDFLAGS="$save_LDFLAGS"
9922 > fi
9923 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9924 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9925 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9926 >          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'
9927 >        fi
9928        else
9929          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'
9930          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'
# Line 9355 | Line 10009 | rm -f core conftest.err conftest.$ac_obj
10009      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10010        if test "$GCC" = yes; then
10011          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10012 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10012 >        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'
10013          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10014        else
10015          allow_undefined_flag=' -expect_unresolved \*'
# Line 9374 | Line 10028 | rm -f core conftest.err conftest.$ac_obj
10028        no_undefined_flag=' -z defs'
10029        if test "$GCC" = yes; then
10030          wlarc='${wl}'
10031 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10031 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10032          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10033 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10033 >          $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'
10034        else
10035          case `$CC -V 2>&1` in
10036          *"Compilers 5.0"*)
# Line 9564 | Line 10218 | x|xyes)
10218        # to ld, don't add -lc before -lgcc.
10219        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10220   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10221 < if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10221 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10222    $as_echo_n "(cached) " >&6
10223   else
10224    $RM conftest*
# Line 9765 | Line 10419 | esac
10419  
10420  
10421  
9768
9769
9770
9771
9772
10422    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10423   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10424  
# Line 9859 | Line 10508 | need_version=unknown
10508  
10509   case $host_os in
10510   aix3*)
10511 <  version_type=linux
10511 >  version_type=linux # correct to gnu/linux during the next big refactor
10512    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10513    shlibpath_var=LIBPATH
10514  
# Line 9868 | Line 10517 | aix3*)
10517    ;;
10518  
10519   aix[4-9]*)
10520 <  version_type=linux
10520 >  version_type=linux # correct to gnu/linux during the next big refactor
10521    need_lib_prefix=no
10522    need_version=no
10523    hardcode_into_libs=yes
# Line 9933 | Line 10582 | beos*)
10582    ;;
10583  
10584   bsdi[45]*)
10585 <  version_type=linux
10585 >  version_type=linux # correct to gnu/linux during the next big refactor
10586    need_version=no
10587    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9952 | Line 10601 | cygwin* | mingw* | pw32* | cegcc*)
10601    need_version=no
10602    need_lib_prefix=no
10603  
10604 <  case $GCC,$host_os in
10605 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10604 >  case $GCC,$cc_basename in
10605 >  yes,*)
10606 >    # gcc
10607      library_names_spec='$libname.dll.a'
10608      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10609      postinstall_cmds='base_file=`basename \${file}`~
# Line 9986 | Line 10636 | cygwin* | mingw* | pw32* | cegcc*)
10636        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10637        ;;
10638      esac
10639 +    dynamic_linker='Win32 ld.exe'
10640 +    ;;
10641 +
10642 +  *,cl*)
10643 +    # Native MSVC
10644 +    libname_spec='$name'
10645 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10646 +    library_names_spec='${libname}.dll.lib'
10647 +
10648 +    case $build_os in
10649 +    mingw*)
10650 +      sys_lib_search_path_spec=
10651 +      lt_save_ifs=$IFS
10652 +      IFS=';'
10653 +      for lt_path in $LIB
10654 +      do
10655 +        IFS=$lt_save_ifs
10656 +        # Let DOS variable expansion print the short 8.3 style file name.
10657 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10658 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10659 +      done
10660 +      IFS=$lt_save_ifs
10661 +      # Convert to MSYS style.
10662 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10663 +      ;;
10664 +    cygwin*)
10665 +      # Convert to unix form, then to dos form, then back to unix form
10666 +      # but this time dos style (no spaces!) so that the unix form looks
10667 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10668 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10669 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10670 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10671 +      ;;
10672 +    *)
10673 +      sys_lib_search_path_spec="$LIB"
10674 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10675 +        # It is most probably a Windows format PATH.
10676 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10677 +      else
10678 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10679 +      fi
10680 +      # FIXME: find the short name or the path components, as spaces are
10681 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10682 +      ;;
10683 +    esac
10684 +
10685 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10686 +    postinstall_cmds='base_file=`basename \${file}`~
10687 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10688 +      dldir=$destdir/`dirname \$dlpath`~
10689 +      test -d \$dldir || mkdir -p \$dldir~
10690 +      $install_prog $dir/$dlname \$dldir/$dlname'
10691 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10692 +      dlpath=$dir/\$dldll~
10693 +       $RM \$dlpath'
10694 +    shlibpath_overrides_runpath=yes
10695 +    dynamic_linker='Win32 link.exe'
10696      ;;
10697  
10698    *)
10699 +    # Assume MSVC wrapper
10700      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10701 +    dynamic_linker='Win32 ld.exe'
10702      ;;
10703    esac
9995  dynamic_linker='Win32 ld.exe'
10704    # FIXME: first we should search . and the directory the executable is in
10705    shlibpath_var=PATH
10706    ;;
# Line 10013 | Line 10721 | darwin* | rhapsody*)
10721    ;;
10722  
10723   dgux*)
10724 <  version_type=linux
10724 >  version_type=linux # correct to gnu/linux during the next big refactor
10725    need_lib_prefix=no
10726    need_version=no
10727    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10021 | Line 10729 | dgux*)
10729    shlibpath_var=LD_LIBRARY_PATH
10730    ;;
10731  
10024 freebsd1*)
10025  dynamic_linker=no
10026  ;;
10027
10732   freebsd* | dragonfly*)
10733    # DragonFly does not have aout.  When/if they implement a new
10734    # versioning mechanism, adjust this.
# Line 10032 | Line 10736 | freebsd* | dragonfly*)
10736      objformat=`/usr/bin/objformat`
10737    else
10738      case $host_os in
10739 <    freebsd[123]*) objformat=aout ;;
10739 >    freebsd[23].*) objformat=aout ;;
10740      *) objformat=elf ;;
10741      esac
10742    fi
# Line 10050 | Line 10754 | freebsd* | dragonfly*)
10754    esac
10755    shlibpath_var=LD_LIBRARY_PATH
10756    case $host_os in
10757 <  freebsd2*)
10757 >  freebsd2.*)
10758      shlibpath_overrides_runpath=yes
10759      ;;
10760    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10070 | Line 10774 | freebsd* | dragonfly*)
10774    ;;
10775  
10776   gnu*)
10777 <  version_type=linux
10777 >  version_type=linux # correct to gnu/linux during the next big refactor
10778    need_lib_prefix=no
10779    need_version=no
10780    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10781    soname_spec='${libname}${release}${shared_ext}$major'
10782    shlibpath_var=LD_LIBRARY_PATH
10783 +  shlibpath_overrides_runpath=no
10784    hardcode_into_libs=yes
10785    ;;
10786  
10787   haiku*)
10788 <  version_type=linux
10788 >  version_type=linux # correct to gnu/linux during the next big refactor
10789    need_lib_prefix=no
10790    need_version=no
10791    dynamic_linker="$host_os runtime_loader"
# Line 10141 | Line 10846 | hpux9* | hpux10* | hpux11*)
10846    ;;
10847  
10848   interix[3-9]*)
10849 <  version_type=linux
10849 >  version_type=linux # correct to gnu/linux during the next big refactor
10850    need_lib_prefix=no
10851    need_version=no
10852    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10157 | Line 10862 | irix5* | irix6* | nonstopux*)
10862      nonstopux*) version_type=nonstopux ;;
10863      *)
10864          if test "$lt_cv_prog_gnu_ld" = yes; then
10865 <                version_type=linux
10865 >                version_type=linux # correct to gnu/linux during the next big refactor
10866          else
10867                  version_type=irix
10868          fi ;;
# Line 10194 | Line 10899 | linux*oldld* | linux*aout* | linux*coff*
10899    dynamic_linker=no
10900    ;;
10901  
10902 < # This must be Linux ELF.
10902 > # This must be glibc/ELF.
10903   linux* | k*bsd*-gnu | kopensolaris*-gnu)
10904 <  version_type=linux
10904 >  version_type=linux # correct to gnu/linux during the next big refactor
10905    need_lib_prefix=no
10906    need_version=no
10907    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10206 | Line 10911 | linux* | k*bsd*-gnu | kopensolaris*-gnu)
10911    shlibpath_overrides_runpath=no
10912  
10913    # Some binutils ld are patched to set DT_RUNPATH
10914 <  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10914 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10915    $as_echo_n "(cached) " >&6
10916   else
10917    lt_cv_shlibpath_overrides_runpath=no
# Line 10278 | Line 10983 | netbsd*)
10983    ;;
10984  
10985   newsos6)
10986 <  version_type=linux
10986 >  version_type=linux # correct to gnu/linux during the next big refactor
10987    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10988    shlibpath_var=LD_LIBRARY_PATH
10989    shlibpath_overrides_runpath=yes
# Line 10347 | Line 11052 | rdos*)
11052    ;;
11053  
11054   solaris*)
11055 <  version_type=linux
11055 >  version_type=linux # correct to gnu/linux during the next big refactor
11056    need_lib_prefix=no
11057    need_version=no
11058    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10372 | Line 11077 | sunos4*)
11077    ;;
11078  
11079   sysv4 | sysv4.3*)
11080 <  version_type=linux
11080 >  version_type=linux # correct to gnu/linux during the next big refactor
11081    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082    soname_spec='${libname}${release}${shared_ext}$major'
11083    shlibpath_var=LD_LIBRARY_PATH
# Line 10396 | Line 11101 | sysv4 | sysv4.3*)
11101  
11102   sysv4*MP*)
11103    if test -d /usr/nec ;then
11104 <    version_type=linux
11104 >    version_type=linux # correct to gnu/linux during the next big refactor
11105      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11106      soname_spec='$libname${shared_ext}.$major'
11107      shlibpath_var=LD_LIBRARY_PATH
# Line 10427 | Line 11132 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11132  
11133   tpf*)
11134    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11135 <  version_type=linux
11135 >  version_type=linux # correct to gnu/linux during the next big refactor
11136    need_lib_prefix=no
11137    need_version=no
11138    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10437 | Line 11142 | tpf*)
11142    ;;
11143  
11144   uts4*)
11145 <  version_type=linux
11145 >  version_type=linux # correct to gnu/linux during the next big refactor
11146    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11147    soname_spec='${libname}${release}${shared_ext}$major'
11148    shlibpath_var=LD_LIBRARY_PATH
# Line 10626 | Line 11331 | else
11331    # if libdl is installed we need to link against it
11332      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11333   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11334 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11334 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11335    $as_echo_n "(cached) " >&6
11336   else
11337    ac_check_lib_save_LIBS=$LIBS
# Line 10660 | Line 11365 | LIBS=$ac_check_lib_save_LIBS
11365   fi
11366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11367   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11368 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11368 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11369    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11370   else
11371  
# Line 10674 | Line 11379 | fi
11379  
11380    *)
11381      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11382 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11382 > if test "x$ac_cv_func_shl_load" = xyes; then :
11383    lt_cv_dlopen="shl_load"
11384   else
11385    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11386   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11387 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11387 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11388    $as_echo_n "(cached) " >&6
11389   else
11390    ac_check_lib_save_LIBS=$LIBS
# Line 10713 | Line 11418 | LIBS=$ac_check_lib_save_LIBS
11418   fi
11419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11420   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11421 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11421 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11422    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11423   else
11424    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11425 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11425 > if test "x$ac_cv_func_dlopen" = xyes; then :
11426    lt_cv_dlopen="dlopen"
11427   else
11428    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11429   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11430 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11430 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11431    $as_echo_n "(cached) " >&6
11432   else
11433    ac_check_lib_save_LIBS=$LIBS
# Line 10756 | Line 11461 | LIBS=$ac_check_lib_save_LIBS
11461   fi
11462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11463   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11464 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11464 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11465    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11466   else
11467    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11468   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11469 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11469 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11470    $as_echo_n "(cached) " >&6
11471   else
11472    ac_check_lib_save_LIBS=$LIBS
# Line 10795 | Line 11500 | LIBS=$ac_check_lib_save_LIBS
11500   fi
11501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11502   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11503 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11503 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11504    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11505   else
11506    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11507   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11508 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11508 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11509    $as_echo_n "(cached) " >&6
11510   else
11511    ac_check_lib_save_LIBS=$LIBS
# Line 10834 | Line 11539 | LIBS=$ac_check_lib_save_LIBS
11539   fi
11540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11541   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11542 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11542 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11543    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11544   fi
11545  
# Line 10875 | Line 11580 | fi
11580  
11581      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11582   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11583 < if test "${lt_cv_dlopen_self+set}" = set; then :
11583 > if ${lt_cv_dlopen_self+:} false; then :
11584    $as_echo_n "(cached) " >&6
11585   else
11586            if test "$cross_compiling" = yes; then :
# Line 10928 | Line 11633 | else
11633   /* When -fvisbility=hidden is used, assume the code has been annotated
11634     correspondingly for the symbols needed.  */
11635   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11636 < void fnord () __attribute__((visibility("default")));
11636 > int fnord () __attribute__((visibility("default")));
11637   #endif
11638  
11639 < void fnord () { int i=42; }
11639 > int fnord () { return 42; }
11640   int main ()
11641   {
11642    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10981 | Line 11686 | $as_echo "$lt_cv_dlopen_self" >&6; }
11686        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11687        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11688   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11689 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11689 > if ${lt_cv_dlopen_self_static+:} false; then :
11690    $as_echo_n "(cached) " >&6
11691   else
11692            if test "$cross_compiling" = yes; then :
# Line 11034 | Line 11739 | else
11739   /* When -fvisbility=hidden is used, assume the code has been annotated
11740     correspondingly for the symbols needed.  */
11741   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11742 < void fnord () __attribute__((visibility("default")));
11742 > int fnord () __attribute__((visibility("default")));
11743   #endif
11744  
11745 < void fnord () { int i=42; }
11745 > int fnord () { return 42; }
11746   int main ()
11747   {
11748    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11219 | Line 11924 | CC="$lt_save_CC"
11924  
11925  
11926  
11927 +
11928 +
11929          ac_config_commands="$ac_config_commands libtool"
11930  
11931  
# Line 11229 | Line 11936 | CC="$lt_save_CC"
11936  
11937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11938   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11939 < if test "${libltdl_cv_shlibext+set}" = set; then :
11939 > if ${libltdl_cv_shlibext+:} false; then :
11940    $as_echo_n "(cached) " >&6
11941   else
11942  
11943   module=yes
11944   eval libltdl_cv_shlibext=$shrext_cmds
11945 + module=no
11946 + eval libltdl_cv_shrext=$shrext_cmds
11947  
11948   fi
11949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11246 | Line 11955 | cat >>confdefs.h <<_ACEOF
11955   _ACEOF
11956  
11957   fi
11958 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11959 +
11960 + cat >>confdefs.h <<_ACEOF
11961 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11962 + _ACEOF
11963 +
11964 + fi
11965  
11966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11967   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11968 < if test "${lt_cv_module_path_var+set}" = set; then :
11968 > if ${lt_cv_module_path_var+:} false; then :
11969    $as_echo_n "(cached) " >&6
11970   else
11971    lt_cv_module_path_var="$shlibpath_var"
# Line 11266 | Line 11982 | fi
11982  
11983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11984   $as_echo_n "checking for the default library search path... " >&6; }
11985 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11985 > if ${lt_cv_sys_dlsearch_path+:} false; then :
11986    $as_echo_n "(cached) " >&6
11987   else
11988    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11303 | Line 12019 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12019   LIBADD_DLOPEN=
12020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12021   $as_echo_n "checking for library containing dlopen... " >&6; }
12022 < if test "${ac_cv_search_dlopen+set}" = set; then :
12022 > if ${ac_cv_search_dlopen+:} false; then :
12023    $as_echo_n "(cached) " >&6
12024   else
12025    ac_func_search_save_LIBS=$LIBS
# Line 11337 | Line 12053 | for ac_lib in '' dl; do
12053   fi
12054   rm -f core conftest.err conftest.$ac_objext \
12055      conftest$ac_exeext
12056 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12056 >  if ${ac_cv_search_dlopen+:} false; then :
12057    break
12058   fi
12059   done
12060 < if test "${ac_cv_search_dlopen+set}" = set; then :
12060 > if ${ac_cv_search_dlopen+:} false; then :
12061  
12062   else
12063    ac_cv_search_dlopen=no
# Line 11386 | Line 12102 | $as_echo "#define HAVE_LIBDL 1" >>confde
12102   else
12103    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12104   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12105 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12105 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12106    $as_echo_n "(cached) " >&6
12107   else
12108    ac_check_lib_save_LIBS=$LIBS
# Line 11420 | Line 12136 | LIBS=$ac_check_lib_save_LIBS
12136   fi
12137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12138   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12139 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12139 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12140  
12141   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12142  
# Line 11440 | Line 12156 | then
12156    for ac_func in dlerror
12157   do :
12158    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12159 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12159 > if test "x$ac_cv_func_dlerror" = xyes; then :
12160    cat >>confdefs.h <<_ACEOF
12161   #define HAVE_DLERROR 1
12162   _ACEOF
# Line 11454 | Line 12170 | fi
12170  
12171   LIBADD_SHL_LOAD=
12172   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12173 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12173 > if test "x$ac_cv_func_shl_load" = xyes; then :
12174  
12175   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12176  
# Line 11462 | Line 12178 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12178   else
12179    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12180   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12181 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12181 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12182    $as_echo_n "(cached) " >&6
12183   else
12184    ac_check_lib_save_LIBS=$LIBS
# Line 11496 | Line 12212 | LIBS=$ac_check_lib_save_LIBS
12212   fi
12213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12214   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12215 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12215 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12216  
12217   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12218  
# Line 11512 | Line 12228 | case $host_os in
12228   darwin[1567].*)
12229   # We only want this for pre-Mac OS X 10.4.
12230    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12231 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12231 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12232  
12233   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12234  
# Line 11526 | Line 12242 | beos*)
12242   cygwin* | mingw* | os2* | pw32*)
12243    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12244   "
12245 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12245 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12246    ac_have_decl=1
12247   else
12248    ac_have_decl=0
# Line 11542 | Line 12258 | esac
12258  
12259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12260   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12261 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12261 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12262    $as_echo_n "(cached) " >&6
12263   else
12264    ac_check_lib_save_LIBS=$LIBS
# Line 11576 | Line 12292 | LIBS=$ac_check_lib_save_LIBS
12292   fi
12293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12294   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12295 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12295 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12296  
12297   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12298  
# Line 11610 | Line 12326 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12326  
12327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12328   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12329 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12329 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12330    $as_echo_n "(cached) " >&6
12331   else
12332    lt_cv_sys_symbol_underscore=no
# Line 11660 | Line 12376 | if test x"$lt_cv_sys_symbol_underscore"
12376       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12377          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12378   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12379 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12379 > if ${libltdl_cv_need_uscore+:} false; then :
12380    $as_echo_n "(cached) " >&6
12381   else
12382    libltdl_cv_need_uscore=unknown
# Line 11716 | Line 12432 | else
12432   /* When -fvisbility=hidden is used, assume the code has been annotated
12433     correspondingly for the symbols needed.  */
12434   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12435 < void fnord () __attribute__((visibility("default")));
12435 > int fnord () __attribute__((visibility("default")));
12436   #endif
12437  
12438 < void fnord () { int i=42; }
12438 > int fnord () { return 42; }
12439   int main ()
12440   {
12441    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11776 | Line 12492 | fi
12492  
12493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12494   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12495 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12495 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12496    $as_echo_n "(cached) " >&6
12497   else
12498    # PORTME does your system automatically load deplibs for dlopen?
# Line 11882 | Line 12598 | for ac_header in argz.h
12598   do :
12599    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12600   "
12601 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12601 > if test "x$ac_cv_header_argz_h" = xyes; then :
12602    cat >>confdefs.h <<_ACEOF
12603   #define HAVE_ARGZ_H 1
12604   _ACEOF
# Line 11896 | Line 12612 | ac_fn_c_check_type "$LINENO" "error_t" "
12612   #  include <argz.h>
12613   #endif
12614   "
12615 < if test "x$ac_cv_type_error_t" = x""yes; then :
12615 > if test "x$ac_cv_type_error_t" = xyes; then :
12616  
12617   cat >>confdefs.h <<_ACEOF
12618   #define HAVE_ERROR_T 1
# Line 11936 | Line 12652 | done
12652   if test -z "$ARGZ_H"; then :
12653    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12654   $as_echo_n "checking if argz actually works... " >&6; }
12655 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12655 > if ${lt_cv_sys_argz_works+:} false; then :
12656    $as_echo_n "(cached) " >&6
12657   else
12658    case $host_os in #(
# Line 11967 | Line 12683 | else
12683   fi
12684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12685   $as_echo "$lt_cv_sys_argz_works" >&6; }
12686 <     if test $lt_cv_sys_argz_works = yes; then :
12686 >     if test "$lt_cv_sys_argz_works" = yes; then :
12687  
12688   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12689  
# Line 11984 | Line 12700 | fi
12700  
12701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12702   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12703 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12703 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12704    $as_echo_n "(cached) " >&6
12705   else
12706    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 12026 | Line 12742 | if test "x$with_included_ltdl" != xyes;
12742    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12743  
12744   "
12745 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12745 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12746    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12747              #include <ltdl.h>
12748   "
12749 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12749 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12750    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12751   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12752 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12752 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12753    $as_echo_n "(cached) " >&6
12754   else
12755    ac_check_lib_save_LIBS=$LIBS
# Line 12067 | Line 12783 | LIBS=$ac_check_lib_save_LIBS
12783   fi
12784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12785   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12786 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12786 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12787    with_included_ltdl=no
12788   else
12789    with_included_ltdl=yes
# Line 12267 | Line 12983 | cat >>confdefs.h <<_ACEOF
12983   _ACEOF
12984  
12985  
12986 + name=
12987 + eval "lt_libprefix=\"$libname_spec\""
12988 +
12989 + cat >>confdefs.h <<_ACEOF
12990 + #define LT_LIBPREFIX "$lt_libprefix"
12991 + _ACEOF
12992 +
12993 +
12994   name=ltdl
12995 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
12995 > eval "LTDLOPEN=\"$libname_spec\""
12996  
12997  
12998  
# Line 12286 | Line 13010 | LIBTOOL="$LIBTOOL --silent"
13010  
13011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13012   $as_echo_n "checking for library containing socket... " >&6; }
13013 < if test "${ac_cv_search_socket+set}" = set; then :
13013 > if ${ac_cv_search_socket+:} false; then :
13014    $as_echo_n "(cached) " >&6
13015   else
13016    ac_func_search_save_LIBS=$LIBS
# Line 12320 | Line 13044 | for ac_lib in '' socket; do
13044   fi
13045   rm -f core conftest.err conftest.$ac_objext \
13046      conftest$ac_exeext
13047 <  if test "${ac_cv_search_socket+set}" = set; then :
13047 >  if ${ac_cv_search_socket+:} false; then :
13048    break
13049   fi
13050   done
13051 < if test "${ac_cv_search_socket+set}" = set; then :
13051 > if ${ac_cv_search_socket+:} false; then :
13052  
13053   else
13054    ac_cv_search_socket=no
# Line 12344 | Line 13068 | fi
13068  
13069    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13070   $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13071 < if test "${ac_cv_search_inet_ntoa+set}" = set; then :
13071 > if ${ac_cv_search_inet_ntoa+:} false; then :
13072    $as_echo_n "(cached) " >&6
13073   else
13074    ac_func_search_save_LIBS=$LIBS
# Line 12378 | Line 13102 | for ac_lib in '' nsl; do
13102   fi
13103   rm -f core conftest.err conftest.$ac_objext \
13104      conftest$ac_exeext
13105 <  if test "${ac_cv_search_inet_ntoa+set}" = set; then :
13105 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13106    break
13107   fi
13108   done
13109 < if test "${ac_cv_search_inet_ntoa+set}" = set; then :
13109 > if ${ac_cv_search_inet_ntoa+:} false; then :
13110  
13111   else
13112    ac_cv_search_inet_ntoa=no
# Line 12400 | Line 13124 | fi
13124  
13125    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13126   $as_echo_n "checking for library containing inet_aton... " >&6; }
13127 < if test "${ac_cv_search_inet_aton+set}" = set; then :
13127 > if ${ac_cv_search_inet_aton+:} false; then :
13128    $as_echo_n "(cached) " >&6
13129   else
13130    ac_func_search_save_LIBS=$LIBS
# Line 12434 | Line 13158 | for ac_lib in '' resolv; do
13158   fi
13159   rm -f core conftest.err conftest.$ac_objext \
13160      conftest$ac_exeext
13161 <  if test "${ac_cv_search_inet_aton+set}" = set; then :
13161 >  if ${ac_cv_search_inet_aton+:} false; then :
13162    break
13163   fi
13164   done
13165 < if test "${ac_cv_search_inet_aton+set}" = set; then :
13165 > if ${ac_cv_search_inet_aton+:} false; then :
13166  
13167   else
13168    ac_cv_search_inet_aton=no
# Line 12471 | Line 13195 | done
13195     #include <netdb.h>
13196  
13197   "
13198 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13198 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13199  
13200   cat >>confdefs.h <<_ACEOF
13201   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12484 | Line 13208 | ac_fn_c_check_type "$LINENO" "struct soc
13208     #include <netdb.h>
13209  
13210   "
13211 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13211 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13212  
13213   cat >>confdefs.h <<_ACEOF
13214   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12497 | Line 13221 | ac_fn_c_check_type "$LINENO" "struct add
13221     #include <netdb.h>
13222  
13223   "
13224 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13224 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13225  
13226   cat >>confdefs.h <<_ACEOF
13227   #define HAVE_STRUCT_ADDRINFO 1
# Line 12509 | Line 13233 | fi
13233    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13234    <sys/socket.h>
13235   "
13236 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13236 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13237  
13238   cat >>confdefs.h <<_ACEOF
13239   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12520 | Line 13244 | fi
13244  
13245  
13246  
13247 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13248 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13249 <
12526 < cat >>confdefs.h <<_ACEOF
12527 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12528 < _ACEOF
12529 <
12530 <
12531 < else
13247 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13248 > "
13249 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13250  
13251   $as_echo "#define IPV6 1" >>confdefs.h
13252  
# Line 12539 | Line 13257 | fi
13257   # Checks for typedefs, structures, and compiler characteristics.
13258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13259   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13260 < if test "${ac_cv_c_bigendian+set}" = set; then :
13260 > if ${ac_cv_c_bigendian+:} false; then :
13261    $as_echo_n "(cached) " >&6
13262   else
13263    ac_cv_c_bigendian=unknown
# Line 12790 | Line 13508 | done
13508  
13509  
13510  
13511 +
13512 +
13513   # Checks for header files.
13514  
13515  
# Line 12856 | Line 13576 | fi
13576  
13577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13578   $as_echo_n "checking for library containing crypt... " >&6; }
13579 < if test "${ac_cv_search_crypt+set}" = set; then :
13579 > if ${ac_cv_search_crypt+:} false; then :
13580    $as_echo_n "(cached) " >&6
13581   else
13582    ac_func_search_save_LIBS=$LIBS
# Line 12890 | Line 13610 | for ac_lib in '' crypt; do
13610   fi
13611   rm -f core conftest.err conftest.$ac_objext \
13612      conftest$ac_exeext
13613 <  if test "${ac_cv_search_crypt+set}" = set; then :
13613 >  if ${ac_cv_search_crypt+:} false; then :
13614    break
13615   fi
13616   done
13617 < if test "${ac_cv_search_crypt+set}" = set; then :
13617 > if ${ac_cv_search_crypt+:} false; then :
13618  
13619   else
13620    ac_cv_search_crypt=no
# Line 12913 | Line 13633 | fi
13633  
13634  
13635  
12916 # Check whether --with-zlib-path was given.
12917 if test "${with_zlib_path+set}" = set; then :
12918  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12919 fi
12920
12921
12922 # Check whether --enable-zlib was given.
12923 if test "${enable_zlib+set}" = set; then :
12924  enableval=$enable_zlib; zlib=$enableval
12925 else
12926  zlib=yes
12927 fi
12928
12929
12930 if test "$zlib" = "yes"; then :
12931
12932  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12933 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12935 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12936 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12937  $as_echo_n "(cached) " >&6
12938 else
12939  ac_check_lib_save_LIBS=$LIBS
12940 LIBS="-lz  $LIBS"
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h.  */
12943
12944 /* Override any GCC internal prototype to avoid an error.
12945   Use char because int might match the return type of a GCC
12946   builtin and then its argument prototype would still apply.  */
12947 #ifdef __cplusplus
12948 extern "C"
12949 #endif
12950 char zlibVersion ();
12951 int
12952 main ()
12953 {
12954 return zlibVersion ();
12955  ;
12956  return 0;
12957 }
12958 _ACEOF
12959 if ac_fn_c_try_link "$LINENO"; then :
12960  ac_cv_lib_z_zlibVersion=yes
12961 else
12962  ac_cv_lib_z_zlibVersion=no
12963 fi
12964 rm -f core conftest.err conftest.$ac_objext \
12965    conftest$ac_exeext conftest.$ac_ext
12966 LIBS=$ac_check_lib_save_LIBS
12967 fi
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12969 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12970 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12971
12972      LIBS="-lz $LIBS"
12973
12974 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12975
12976
12977 else
12978  zlib=no
12979 fi
12980
12981
12982 else
12983  zlib=no
12984 fi
12985
12986
12987
12988 fi
12989
12990
13636   # Check whether --with-libpcre-path was given.
13637   if test "${with_libpcre_path+set}" = set; then :
13638    withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
# Line 13005 | Line 13650 | fi
13650   if test "$libpcre" = "yes"; then :
13651  
13652    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13653 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13653 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13654    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13655   $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13656 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13656 > if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13657    $as_echo_n "(cached) " >&6
13658   else
13659    ac_check_lib_save_LIBS=$LIBS
# Line 13042 | Line 13687 | LIBS=$ac_check_lib_save_LIBS
13687   fi
13688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13689   $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13690 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13690 > if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13691  
13692        LIBS="-lpcre $LIBS"
13693  
# Line 13110 | Line 13755 | if test "$cf_enable_openssl" != "no"; th
13755    fi
13756  
13757        if test ! -z "$cf_openssl_basedir"; then
13113    LIBS="-lcrypto -lssl $LIBS"
13758      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13759   $as_echo "$cf_openssl_basedir" >&6; }
13760      cf_enable_openssl="yes"
13117
13118 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13119
13761    else
13762      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13763   $as_echo "not found. Please check your path." >&6; }
# Line 13129 | Line 13770 | $as_echo "disabled" >&6; }
13770   fi
13771  
13772   if test "$cf_enable_openssl" != "no"; then :
13773 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13774 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13773 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13774 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13775    if test "$cross_compiling" = yes; then :
13776    cf_openssl_version_ok=no
13777   else
13778    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779   /* end confdefs.h.  */
13780  
13781 +
13782      #include <openssl/opensslv.h>
13783      #include <stdlib.h>
13784   int
13785   main ()
13786   {
13787 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13787 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13788    ;
13789    return 0;
13790   }
# Line 13161 | Line 13803 | fi
13803    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13804   $as_echo "found" >&6; }
13805  
13806 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13806 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13807 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13808 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13809 >  $as_echo_n "(cached) " >&6
13810 > else
13811 >  ac_check_lib_save_LIBS=$LIBS
13812 > LIBS="-lssl  $LIBS"
13813 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 > /* end confdefs.h.  */
13815 >
13816 > /* Override any GCC internal prototype to avoid an error.
13817 >   Use char because int might match the return type of a GCC
13818 >   builtin and then its argument prototype would still apply.  */
13819 > #ifdef __cplusplus
13820 > extern "C"
13821 > #endif
13822 > char SSL_connect ();
13823 > int
13824 > main ()
13825 > {
13826 > return SSL_connect ();
13827 >  ;
13828 >  return 0;
13829 > }
13830 > _ACEOF
13831 > if ac_fn_c_try_link "$LINENO"; then :
13832 >  ac_cv_lib_ssl_SSL_connect=yes
13833 > else
13834 >  ac_cv_lib_ssl_SSL_connect=no
13835 > fi
13836 > rm -f core conftest.err conftest.$ac_objext \
13837 >    conftest$ac_exeext conftest.$ac_ext
13838 > LIBS=$ac_check_lib_save_LIBS
13839 > fi
13840 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13841 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13842 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13843 >  cat >>confdefs.h <<_ACEOF
13844 > #define HAVE_LIBSSL 1
13845 > _ACEOF
13846 >
13847 >  LIBS="-lssl $LIBS"
13848 >
13849 > fi
13850 >
13851 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13852 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13853   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13854 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13854 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13855    $as_echo_n "(cached) " >&6
13856   else
13857    ac_check_lib_save_LIBS=$LIBS
# Line 13197 | Line 13885 | LIBS=$ac_check_lib_save_LIBS
13885   fi
13886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13887   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13888 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13888 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13889    cat >>confdefs.h <<_ACEOF
13890   #define HAVE_LIBCRYPTO 1
13891   _ACEOF
# Line 13206 | Line 13894 | _ACEOF
13894  
13895   fi
13896  
13209    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13210  for ac_func in EVP_bf_cfb           \
13211                      EVP_cast5_cfb        \
13212                      EVP_idea_cfb         \
13213                      EVP_rc5_32_12_16_cfb \
13214                      EVP_des_ede3_cfb     \
13215                      EVP_des_cfb
13216 do :
13217  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13218 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13219 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13220  cat >>confdefs.h <<_ACEOF
13221 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13222 _ACEOF
13223
13224 fi
13225 done
13226
13897   fi
13898  
13899   else
# Line 13233 | Line 13903 | $as_echo "no - OpenSSL support disabled"
13903   fi
13904   fi
13905  
13906 < if test "$cf_enable_openssl" = yes; then
13906 > if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13907    ENABLE_SSL_TRUE=
13908    ENABLE_SSL_FALSE='#'
13909   else
# Line 13472 | Line 14142 | else
14142   #endif
14143   _syscall1(int, epoll_create, int, size)
14144   #endif
13475 main() { return epoll_create(256) == -1 ? 1 : 0; }
14145  
14146 + int
14147 + main ()
14148 + {
14149 + return epoll_create(256) == -1 ? 1 : 0
14150 +  ;
14151 +  return 0;
14152 + }
14153   _ACEOF
14154   if ac_fn_c_try_run "$LINENO"; then :
14155    is_epoll_mechanism_available="yes"
# Line 13549 | Line 14225 | else
14225    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226   /* end confdefs.h.  */
14227  
14228 + #define _GNU_SOURCE
14229   #include <fcntl.h>
14230 < #ifdef F_SETSIG
13554 < main () { return 0; } /* F_SETSIG defined */
13555 < #else
13556 < main () { return 1; } /* F_SETSIG not defined */
13557 < #endif
14230 > static unsigned int have_f_setsig = 0;
14231  
14232   int
14233   main ()
14234   {
14235  
14236 + #ifdef F_SETSIG
14237 +  have_f_setsig = 1;
14238 + #endif
14239 +  return have_f_setsig == 0;
14240 +
14241    ;
14242    return 0;
14243   }
# Line 13749 | Line 14427 | _ACEOF
14427  
14428  
14429  
13752
13753 # Check whether --with-syslog-facility was given.
13754 if test "${with_syslog_facility+set}" = set; then :
13755  withval=$with_syslog_facility; syslog_facility="$withval"
13756 else
13757  syslog_facility="LOG_LOCAL4"
13758 fi
13759
13760
13761 cat >>confdefs.h <<_ACEOF
13762 #define LOG_FACILITY $syslog_facility
13763 _ACEOF
13764
13765
13766
14430    # Check whether --enable-efnet was given.
14431   if test "${enable_efnet+set}" = set; then :
14432    enableval=$enable_efnet; efnet="$enableval"
# Line 13776 | Line 14439 | fi
14439  
14440   $as_echo "#define EFNET 1" >>confdefs.h
14441  
13779
13780 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13781
14442          else
14443                  use_efnet="no"
14444    fi
# Line 13837 | Line 14497 | fi
14497    fi
14498  
14499  
13840  for ac_header in syslog.h sys/syslog.h
13841 do :
13842  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13843 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13844 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13845  cat >>confdefs.h <<_ACEOF
13846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13847 _ACEOF
13848
13849 fi
13850
13851 done
13852
13853  # Check whether --enable-syslog was given.
13854 if test "${enable_syslog+set}" = set; then :
13855  enableval=$enable_syslog; syslog="$enableval"
13856 else
13857  syslog="no"
13858 fi
13859
13860  if test "$enableval" != "no" ; then
13861    for option in $enableval ; do
13862      case "$option" in
13863        users)
13864 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13865 ;;
13866        oper)
13867 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13868 ;;
13869        yes) : ;;
13870        *) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13871      esac
13872    done
13873
13874 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13875
13876  fi
13877
13878
14500  
14501    prefix_NONE=
14502    exec_prefix_NONE=
# Line 13962 | Line 14583 | _ACEOF
14583    test "$exec_prefix_NONE" && exec_prefix=NONE
14584  
14585  
14586 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14586 > ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14587  
14588  
14589   cat >confcache <<\_ACEOF
# Line 14029 | Line 14650 | $as_echo "$as_me: WARNING: cache variabl
14650       :end' >>confcache
14651   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14652    if test -w "$cache_file"; then
14653 <    test "x$cache_file" != "x/dev/null" &&
14653 >    if test "x$cache_file" != "x/dev/null"; then
14654        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14655   $as_echo "$as_me: updating cache $cache_file" >&6;}
14656 <    cat confcache >$cache_file
14656 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14657 >        cat confcache >"$cache_file"
14658 >      else
14659 >        case $cache_file in #(
14660 >        */* | ?:*)
14661 >          mv -f confcache "$cache_file"$$ &&
14662 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14663 >        *)
14664 >          mv -f confcache "$cache_file" ;;
14665 >        esac
14666 >      fi
14667 >    fi
14668    else
14669      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14670   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 14122 | Line 14754 | if test -z "${EFNET_TRUE}" && test -z "$
14754   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14755   fi
14756  
14757 < : ${CONFIG_STATUS=./config.status}
14757 > : "${CONFIG_STATUS=./config.status}"
14758   ac_write_fail=0
14759   ac_clean_files_save=$ac_clean_files
14760   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14223 | Line 14855 | fi
14855   IFS=" ""        $as_nl"
14856  
14857   # Find who we are.  Look in the path if we contain no directory separator.
14858 + as_myself=
14859   case $0 in #((
14860    *[\\/]* ) as_myself=$0 ;;
14861    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14529 | Line 15162 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15162   # report actual input values of CONFIG_FILES etc. instead of their
15163   # values after options handling.
15164   ac_log="
15165 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15166 < generated by GNU Autoconf 2.67.  Invocation command line was
15165 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15166 > generated by GNU Autoconf 2.68.  Invocation command line was
15167  
15168    CONFIG_FILES    = $CONFIG_FILES
15169    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14595 | Line 15228 | _ACEOF
15228   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15229   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15230   ac_cs_version="\\
15231 < ircd-hybrid config.status 7.3-rc1
15232 < configured by $0, generated by GNU Autoconf 2.67,
15231 > ircd-hybrid config.status 8beta1
15232 > configured by $0, generated by GNU Autoconf 2.68,
15233    with options \\"\$ac_cs_config\\"
15234  
15235   Copyright (C) 2010 Free Software Foundation, Inc.
# Line 14732 | Line 15365 | pic_mode='`$ECHO "$pic_mode" | $SED "$de
15365   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15366   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15367   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15368 + PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15369   host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15370   host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15371   host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
# Line 14752 | Line 15386 | exeext='`$ECHO "$exeext" | $SED "$delay_
15386   lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15387   lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15388   lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15389 + lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15390 + lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15391   reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15392   reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15393   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15394   deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15395   file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15396 + file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15397 + want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15398 + DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15399 + sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15400   AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15401   AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15402 + archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15403   STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15404   RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15405   old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
# Line 14773 | Line 15414 | lt_cv_sys_global_symbol_pipe='`$ECHO "$l
15414   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15415   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15416   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"`'
15417 + nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15418 + lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15419   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15420   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15421   lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14779 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15422   lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15423 + lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15424   lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15425   lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15426   need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15427 + MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15428   DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15429   NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15430   LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
# Line 14804 | Line 15448 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SE
15448   allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15449   no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15450   hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14807 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15451   hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15452   hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15453   hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
# Line 14813 | Line 15456 | hardcode_shlibpath_var='`$ECHO "$hardcod
15456   hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15457   inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15458   link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14816 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15459   always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15460   export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15461   exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15462   include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15463   prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15464 + postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15465   file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15466   variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15467   need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
# Line 14860 | Line 15503 | _LTECHO_EOF'
15503   # Quote evaled strings.
15504   for var in SHELL \
15505   ECHO \
15506 + PATH_SEPARATOR \
15507   SED \
15508   GREP \
15509   EGREP \
# Line 14873 | Line 15517 | reload_flag \
15517   OBJDUMP \
15518   deplibs_check_method \
15519   file_magic_cmd \
15520 + file_magic_glob \
15521 + want_nocaseglob \
15522 + DLLTOOL \
15523 + sharedlib_from_linklib_cmd \
15524   AR \
15525   AR_FLAGS \
15526 + archiver_list_spec \
15527   STRIP \
15528   RANLIB \
15529   CC \
# Line 14884 | Line 15533 | lt_cv_sys_global_symbol_pipe \
15533   lt_cv_sys_global_symbol_to_cdecl \
15534   lt_cv_sys_global_symbol_to_c_name_address \
15535   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15536 + nm_file_list_spec \
15537   lt_prog_compiler_no_builtin_flag \
14888 lt_prog_compiler_wl \
15538   lt_prog_compiler_pic \
15539 + lt_prog_compiler_wl \
15540   lt_prog_compiler_static \
15541   lt_cv_prog_compiler_c_o \
15542   need_locks \
15543 + MANIFEST_TOOL \
15544   DSYMUTIL \
15545   NMEDIT \
15546   LIPO \
# Line 14903 | Line 15554 | with_gnu_ld \
15554   allow_undefined_flag \
15555   no_undefined_flag \
15556   hardcode_libdir_flag_spec \
14906 hardcode_libdir_flag_spec_ld \
15557   hardcode_libdir_separator \
14908 fix_srcfile_path \
15558   exclude_expsyms \
15559   include_expsyms \
15560   file_list_spec \
# Line 14941 | Line 15590 | module_cmds \
15590   module_expsym_cmds \
15591   export_symbols_cmds \
15592   prelink_cmds \
15593 + postlink_cmds \
15594   postinstall_cmds \
15595   postuninstall_cmds \
15596   finish_cmds \
# Line 14988 | Line 15638 | do
15638      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15639      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15640      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14991    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14992    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15641      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15642      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15643      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
# Line 15026 | Line 15674 | fi
15674   # after its creation but before its name has been assigned to `$tmp'.
15675   $debug ||
15676   {
15677 <  tmp=
15677 >  tmp= ac_tmp=
15678    trap 'exit_status=$?
15679 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15679 >  : "${ac_tmp:=$tmp}"
15680 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15681   ' 0
15682    trap 'as_fn_exit 1' 1 2 13 15
15683   }
# Line 15036 | Line 15685 | $debug ||
15685  
15686   {
15687    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15688 <  test -n "$tmp" && test -d "$tmp"
15688 >  test -d "$tmp"
15689   }  ||
15690   {
15691    tmp=./conf$$-$RANDOM
15692    (umask 077 && mkdir "$tmp")
15693   } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15694 + ac_tmp=$tmp
15695  
15696   # Set up the scripts for CONFIG_FILES section.
15697   # No need to generate them if there are no CONFIG_FILES.
# Line 15063 | Line 15713 | else
15713    ac_cs_awk_cr=$ac_cr
15714   fi
15715  
15716 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15716 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15717   _ACEOF
15718  
15719  
# Line 15091 | Line 15741 | done
15741   rm -f conf$$subs.sh
15742  
15743   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15744 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15744 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15745   _ACEOF
15746   sed -n '
15747   h
# Line 15139 | Line 15789 | t delim
15789   rm -f conf$$subs.awk
15790   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15791   _ACAWK
15792 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15792 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15793    for (key in S) S_is_set[key] = 1
15794    FS = ""
15795  
# Line 15171 | Line 15821 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15821    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15822   else
15823    cat
15824 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15824 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15825    || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15826   _ACEOF
15827  
# Line 15205 | Line 15855 | fi # test -n "$CONFIG_FILES"
15855   # No need to generate them if there are no CONFIG_HEADERS.
15856   # This happens for instance with `./config.status Makefile'.
15857   if test -n "$CONFIG_HEADERS"; then
15858 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15858 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15859   BEGIN {
15860   _ACEOF
15861  
# Line 15217 | Line 15867 | _ACEOF
15867   # handling of long lines.
15868   ac_delim='%!_!# '
15869   for ac_last_try in false false :; do
15870 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15871 <  if test -z "$ac_t"; then
15870 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15871 >  if test -z "$ac_tt"; then
15872      break
15873    elif $ac_last_try; then
15874      as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
# Line 15338 | Line 15988 | do
15988      for ac_f
15989      do
15990        case $ac_f in
15991 <      -) ac_f="$tmp/stdin";;
15991 >      -) ac_f="$ac_tmp/stdin";;
15992        *) # Look for the file first in the build tree, then in the source tree
15993           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15994           # because $ac_f cannot contain `:'.
# Line 15373 | Line 16023 | $as_echo "$as_me: creating $ac_file" >&6
16023      esac
16024  
16025      case $ac_tag in
16026 <    *:-:* | *:-) cat >"$tmp/stdin" \
16026 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16027        || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16028      esac
16029      ;;
# Line 15510 | Line 16160 | s&@INSTALL@&$ac_INSTALL&;t t
16160   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16161   $ac_datarootdir_hack
16162   "
16163 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16164 <  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16163 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16164 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16165  
16166   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16167 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16168 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16167 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16168 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16169 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16170    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16171   which seems to be undefined.  Please make sure it is defined" >&5
16172   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16173   which seems to be undefined.  Please make sure it is defined" >&2;}
16174  
16175 <  rm -f "$tmp/stdin"
16175 >  rm -f "$ac_tmp/stdin"
16176    case $ac_file in
16177 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16178 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16177 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16178 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16179    esac \
16180    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16181   ;;
# Line 15535 | Line 16186 | which seems to be undefined.  Please mak
16186    if test x"$ac_file" != x-; then
16187      {
16188        $as_echo "/* $configure_input  */" \
16189 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16190 <    } >"$tmp/config.h" \
16189 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16190 >    } >"$ac_tmp/config.h" \
16191        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16192 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16192 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16193        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16194   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16195      else
16196        rm -f "$ac_file"
16197 <      mv "$tmp/config.h" "$ac_file" \
16197 >      mv "$ac_tmp/config.h" "$ac_file" \
16198          || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16199      fi
16200    else
16201      $as_echo "/* $configure_input  */" \
16202 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16202 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16203        || as_fn_error $? "could not create -" "$LINENO" 5
16204    fi
16205   # Compute "$ac_file"'s index in $config_headers.
# Line 15710 | Line 16361 | $as_echo X"$file" |
16361   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16362   #
16363   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16364 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16365 < #                 Inc.
16364 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16365 > #                 Foundation, Inc.
16366   #   Written by Gordon Matzigkeit, 1996
16367   #
16368   #   This file is part of GNU Libtool.
# Line 15765 | Line 16416 | SHELL=$lt_SHELL
16416   # An echo program that protects backslashes.
16417   ECHO=$lt_ECHO
16418  
16419 + # The PATH separator for the build system.
16420 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16421 +
16422   # The host system.
16423   host_alias=$host_alias
16424   host=$host
# Line 15814 | Line 16468 | SP2NL=$lt_lt_SP2NL
16468   # turn newlines into spaces.
16469   NL2SP=$lt_lt_NL2SP
16470  
16471 + # convert \$build file names to \$host format.
16472 + to_host_file_cmd=$lt_cv_to_host_file_cmd
16473 +
16474 + # convert \$build files to toolchain format.
16475 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16476 +
16477   # An object symbol dumper.
16478   OBJDUMP=$lt_OBJDUMP
16479  
16480   # Method to check whether dependent libraries are shared objects.
16481   deplibs_check_method=$lt_deplibs_check_method
16482  
16483 < # Command to use when deplibs_check_method == "file_magic".
16483 > # Command to use when deplibs_check_method = "file_magic".
16484   file_magic_cmd=$lt_file_magic_cmd
16485  
16486 + # How to find potential files when deplibs_check_method = "file_magic".
16487 + file_magic_glob=$lt_file_magic_glob
16488 +
16489 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16490 + want_nocaseglob=$lt_want_nocaseglob
16491 +
16492 + # DLL creation program.
16493 + DLLTOOL=$lt_DLLTOOL
16494 +
16495 + # Command to associate shared and link libraries.
16496 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16497 +
16498   # The archiver.
16499   AR=$lt_AR
16500 +
16501 + # Flags to create an archive.
16502   AR_FLAGS=$lt_AR_FLAGS
16503  
16504 + # How to feed a file listing to the archiver.
16505 + archiver_list_spec=$lt_archiver_list_spec
16506 +
16507   # A symbol stripping program.
16508   STRIP=$lt_STRIP
16509  
# Line 15856 | Line 16533 | global_symbol_to_c_name_address=$lt_lt_c
16533   # Transform the output of nm in a C name address pair when lib prefix is needed.
16534   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16535  
16536 + # Specify filename containing input files for \$NM.
16537 + nm_file_list_spec=$lt_nm_file_list_spec
16538 +
16539 + # The root where to search for dependent libraries,and in which our libraries should be installed.
16540 + lt_sysroot=$lt_sysroot
16541 +
16542   # The name of the directory that contains temporary libtool files.
16543   objdir=$objdir
16544  
# Line 15865 | Line 16548 | MAGIC_CMD=$MAGIC_CMD
16548   # Must we lock files when doing compilation?
16549   need_locks=$lt_need_locks
16550  
16551 + # Manifest tool.
16552 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16553 +
16554   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16555   DSYMUTIL=$lt_DSYMUTIL
16556  
# Line 15979 | Line 16665 | with_gcc=$GCC
16665   # Compiler flag to turn off builtin functions.
16666   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16667  
15982 # How to pass a linker flag through the compiler.
15983 wl=$lt_lt_prog_compiler_wl
15984
16668   # Additional compiler flags for building library objects.
16669   pic_flag=$lt_lt_prog_compiler_pic
16670  
16671 + # How to pass a linker flag through the compiler.
16672 + wl=$lt_lt_prog_compiler_wl
16673 +
16674   # Compiler flag to prevent dynamic linking.
16675   link_static_flag=$lt_lt_prog_compiler_static
16676  
# Line 16034 | Line 16720 | no_undefined_flag=$lt_no_undefined_flag
16720   # This must work even if \$libdir does not exist
16721   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16722  
16037 # If ld is used when linking, flag to hardcode \$libdir into a binary
16038 # during linking.  This must work even if \$libdir does not exist.
16039 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16040
16723   # Whether we need a single "-rpath" flag with a separated argument.
16724   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16725  
# Line 16071 | Line 16753 | inherit_rpath=$inherit_rpath
16753   # Whether libtool must link a program against all its dependency libraries.
16754   link_all_deplibs=$link_all_deplibs
16755  
16074 # Fix the shell variable \$srcfile for the compiler.
16075 fix_srcfile_path=$lt_fix_srcfile_path
16076
16756   # Set to "yes" if exported symbols are required.
16757   always_export_symbols=$always_export_symbols
16758  
# Line 16089 | Line 16768 | include_expsyms=$lt_include_expsyms
16768   # Commands necessary for linking programs (against libraries) with templates.
16769   prelink_cmds=$lt_prelink_cmds
16770  
16771 + # Commands necessary for finishing linking programs.
16772 + postlink_cmds=$lt_postlink_cmds
16773 +
16774   # Specify filename containing input files.
16775   file_list_spec=$lt_file_list_spec
16776  
# Line 16121 | Line 16803 | ltmain="$ac_aux_dir/ltmain.sh"
16803    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16804    # text mode, it properly converts lines to CR/LF.  This bash problem
16805    # is reportedly fixed, but why not run on old versions too?
16806 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16807 <    || (rm -f "$cfgfile"; exit 1)
16126 <
16127 <  case $xsi_shell in
16128 <  yes)
16129 <    cat << \_LT_EOF >> "$cfgfile"
16130 <
16131 < # func_dirname file append nondir_replacement
16132 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16133 < # otherwise set result to NONDIR_REPLACEMENT.
16134 < func_dirname ()
16135 < {
16136 <  case ${1} in
16137 <    */*) func_dirname_result="${1%/*}${2}" ;;
16138 <    *  ) func_dirname_result="${3}" ;;
16139 <  esac
16140 < }
16141 <
16142 < # func_basename file
16143 < func_basename ()
16144 < {
16145 <  func_basename_result="${1##*/}"
16146 < }
16147 <
16148 < # func_dirname_and_basename file append nondir_replacement
16149 < # perform func_basename and func_dirname in a single function
16150 < # call:
16151 < #   dirname:  Compute the dirname of FILE.  If nonempty,
16152 < #             add APPEND to the result, otherwise set result
16153 < #             to NONDIR_REPLACEMENT.
16154 < #             value returned in "$func_dirname_result"
16155 < #   basename: Compute filename of FILE.
16156 < #             value retuned in "$func_basename_result"
16157 < # Implementation must be kept synchronized with func_dirname
16158 < # and func_basename. For efficiency, we do not delegate to
16159 < # those functions but instead duplicate the functionality here.
16160 < func_dirname_and_basename ()
16161 < {
16162 <  case ${1} in
16163 <    */*) func_dirname_result="${1%/*}${2}" ;;
16164 <    *  ) func_dirname_result="${3}" ;;
16165 <  esac
16166 <  func_basename_result="${1##*/}"
16167 < }
16168 <
16169 < # func_stripname prefix suffix name
16170 < # strip PREFIX and SUFFIX off of NAME.
16171 < # PREFIX and SUFFIX must not contain globbing or regex special
16172 < # characters, hashes, percent signs, but SUFFIX may contain a leading
16173 < # dot (in which case that matches only a dot).
16174 < func_stripname ()
16175 < {
16176 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16177 <  # positional parameters, so assign one to ordinary parameter first.
16178 <  func_stripname_result=${3}
16179 <  func_stripname_result=${func_stripname_result#"${1}"}
16180 <  func_stripname_result=${func_stripname_result%"${2}"}
16181 < }
16182 <
16183 < # func_opt_split
16184 < func_opt_split ()
16185 < {
16186 <  func_opt_split_opt=${1%%=*}
16187 <  func_opt_split_arg=${1#*=}
16188 < }
16189 <
16190 < # func_lo2o object
16191 < func_lo2o ()
16192 < {
16193 <  case ${1} in
16194 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16195 <    *)    func_lo2o_result=${1} ;;
16196 <  esac
16197 < }
16198 <
16199 < # func_xform libobj-or-source
16200 < func_xform ()
16201 < {
16202 <  func_xform_result=${1%.*}.lo
16203 < }
16204 <
16205 < # func_arith arithmetic-term...
16206 < func_arith ()
16207 < {
16208 <  func_arith_result=$(( $* ))
16209 < }
16210 <
16211 < # func_len string
16212 < # STRING may not start with a hyphen.
16213 < func_len ()
16214 < {
16215 <  func_len_result=${#1}
16216 < }
16217 <
16218 < _LT_EOF
16219 <    ;;
16220 <  *) # Bourne compatible functions.
16221 <    cat << \_LT_EOF >> "$cfgfile"
16222 <
16223 < # func_dirname file append nondir_replacement
16224 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16225 < # otherwise set result to NONDIR_REPLACEMENT.
16226 < func_dirname ()
16227 < {
16228 <  # Extract subdirectory from the argument.
16229 <  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
16230 <  if test "X$func_dirname_result" = "X${1}"; then
16231 <    func_dirname_result="${3}"
16232 <  else
16233 <    func_dirname_result="$func_dirname_result${2}"
16234 <  fi
16235 < }
16236 <
16237 < # func_basename file
16238 < func_basename ()
16239 < {
16240 <  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
16241 < }
16242 <
16243 <
16244 < # func_stripname prefix suffix name
16245 < # strip PREFIX and SUFFIX off of NAME.
16246 < # PREFIX and SUFFIX must not contain globbing or regex special
16247 < # characters, hashes, percent signs, but SUFFIX may contain a leading
16248 < # dot (in which case that matches only a dot).
16249 < # func_strip_suffix prefix name
16250 < func_stripname ()
16251 < {
16252 <  case ${2} in
16253 <    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16254 <    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16255 <  esac
16256 < }
16257 <
16258 < # sed scripts:
16259 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16260 < my_sed_long_arg='1s/^-[^=]*=//'
16261 <
16262 < # func_opt_split
16263 < func_opt_split ()
16264 < {
16265 <  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16266 <  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16267 < }
16268 <
16269 < # func_lo2o object
16270 < func_lo2o ()
16271 < {
16272 <  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
16273 < }
16274 <
16275 < # func_xform libobj-or-source
16276 < func_xform ()
16277 < {
16278 <  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16279 < }
16280 <
16281 < # func_arith arithmetic-term...
16282 < func_arith ()
16283 < {
16284 <  func_arith_result=`expr "$@"`
16285 < }
16286 <
16287 < # func_len string
16288 < # STRING may not start with a hyphen.
16289 < func_len ()
16290 < {
16291 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16292 < }
16293 <
16294 < _LT_EOF
16295 < esac
16296 <
16297 < case $lt_shell_append in
16298 <  yes)
16299 <    cat << \_LT_EOF >> "$cfgfile"
16300 <
16301 < # func_append var value
16302 < # Append VALUE to the end of shell variable VAR.
16303 < func_append ()
16304 < {
16305 <  eval "$1+=\$2"
16306 < }
16307 < _LT_EOF
16308 <    ;;
16309 <  *)
16310 <    cat << \_LT_EOF >> "$cfgfile"
16311 <
16312 < # func_append var value
16313 < # Append VALUE to the end of shell variable VAR.
16314 < func_append ()
16315 < {
16316 <  eval "$1=\$$1\$2"
16317 < }
16318 <
16319 < _LT_EOF
16320 <    ;;
16321 <  esac
16806 >  sed '$q' "$ltmain" >> "$cfgfile" \
16807 >     || (rm -f "$cfgfile"; exit 1)
16808  
16809 +  if test x"$xsi_shell" = xyes; then
16810 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16811 + func_dirname ()\
16812 + {\
16813 + \    case ${1} in\
16814 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16815 + \      *  ) func_dirname_result="${3}" ;;\
16816 + \    esac\
16817 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16818 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16819 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16820 + test 0 -eq $? || _lt_function_replace_fail=:
16821 +
16822 +
16823 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16824 + func_basename ()\
16825 + {\
16826 + \    func_basename_result="${1##*/}"\
16827 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16828 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16829 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16830 + test 0 -eq $? || _lt_function_replace_fail=:
16831 +
16832 +
16833 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16834 + func_dirname_and_basename ()\
16835 + {\
16836 + \    case ${1} in\
16837 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16838 + \      *  ) func_dirname_result="${3}" ;;\
16839 + \    esac\
16840 + \    func_basename_result="${1##*/}"\
16841 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16842 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16843 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16844 + test 0 -eq $? || _lt_function_replace_fail=:
16845 +
16846 +
16847 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16848 + func_stripname ()\
16849 + {\
16850 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16851 + \    # positional parameters, so assign one to ordinary parameter first.\
16852 + \    func_stripname_result=${3}\
16853 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16854 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16855 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16856 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16857 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16858 + test 0 -eq $? || _lt_function_replace_fail=:
16859 +
16860 +
16861 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16862 + func_split_long_opt ()\
16863 + {\
16864 + \    func_split_long_opt_name=${1%%=*}\
16865 + \    func_split_long_opt_arg=${1#*=}\
16866 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16867 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16868 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16869 + test 0 -eq $? || _lt_function_replace_fail=:
16870 +
16871 +
16872 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16873 + func_split_short_opt ()\
16874 + {\
16875 + \    func_split_short_opt_arg=${1#??}\
16876 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16877 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16878 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16879 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16880 + test 0 -eq $? || _lt_function_replace_fail=:
16881 +
16882 +
16883 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16884 + func_lo2o ()\
16885 + {\
16886 + \    case ${1} in\
16887 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16888 + \      *)    func_lo2o_result=${1} ;;\
16889 + \    esac\
16890 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16891 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16892 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16893 + test 0 -eq $? || _lt_function_replace_fail=:
16894 +
16895 +
16896 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16897 + func_xform ()\
16898 + {\
16899 +    func_xform_result=${1%.*}.lo\
16900 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16901 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16902 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16903 + test 0 -eq $? || _lt_function_replace_fail=:
16904 +
16905 +
16906 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16907 + func_arith ()\
16908 + {\
16909 +    func_arith_result=$(( $* ))\
16910 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16911 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16912 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16913 + test 0 -eq $? || _lt_function_replace_fail=:
16914 +
16915 +
16916 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16917 + func_len ()\
16918 + {\
16919 +    func_len_result=${#1}\
16920 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16921 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16922 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16923 + test 0 -eq $? || _lt_function_replace_fail=:
16924 +
16925 + fi
16926 +
16927 + if test x"$lt_shell_append" = xyes; then
16928 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16929 + func_append ()\
16930 + {\
16931 +    eval "${1}+=\\${2}"\
16932 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16933 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16934 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16935 + test 0 -eq $? || _lt_function_replace_fail=:
16936 +
16937 +
16938 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16939 + func_append_quoted ()\
16940 + {\
16941 + \    func_quote_for_eval "${2}"\
16942 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16943 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16944 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16945 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16946 + test 0 -eq $? || _lt_function_replace_fail=:
16947 +
16948 +
16949 +  # Save a `func_append' function call where possible by direct use of '+='
16950 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16951 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16952 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16953 +  test 0 -eq $? || _lt_function_replace_fail=:
16954 + else
16955 +  # Save a `func_append' function call even when '+=' is not available
16956 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16957 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16958 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16959 +  test 0 -eq $? || _lt_function_replace_fail=:
16960 + fi
16961 +
16962 + if test x"$_lt_function_replace_fail" = x":"; then
16963 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16964 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16965 + fi
16966  
16324  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16325    || (rm -f "$cfgfile"; exit 1)
16967  
16968 <  mv -f "$cfgfile" "$ofile" ||
16968 >   mv -f "$cfgfile" "$ofile" ||
16969      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16970    chmod +x "$ofile"
16971  

Diff Legend

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