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 1252 by michael, Fri Oct 21 20:24:08 2011 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 1245 2011-09-30 14:58:29Z 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 766 | Line 777 | enable_shared
777   with_pic
778   enable_fast_install
779   with_gnu_ld
780 + with_sysroot
781   enable_libtool_lock
782   with_included_ltdl
783   with_ltdl_include
# Line 1208 | Line 1220 | Try \`$0 --help' for more information"
1220      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1221      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1223 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1223 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1224      ;;
1225  
1226    esac
# Line 1346 | Line 1358 | if test "$ac_init_help" = "long"; then
1358    # Omit some internal or obsolete options to make the list less imposing.
1359    # This message is too long to be a string in the A/UX 3.1 sh.
1360    cat <<_ACEOF
1361 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1361 > \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1362  
1363   Usage: $0 [OPTION]... [VAR=VALUE]...
1364  
# Line 1416 | Line 1428 | fi
1428  
1429   if test -n "$ac_init_help"; then
1430    case $ac_init_help in
1431 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1431 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1432     esac
1433    cat <<\_ACEOF
1434  
# Line 1460 | Line 1472 | Optional Packages:
1472    --with-pic              try to use only PIC/non-PIC objects [default=use
1473                            both]
1474    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1475 +  --with-sysroot=DIR Search for dependent libraries within DIR
1476 +                        (or the compiler's sysroot if not specified).
1477    --with-included-ltdl    use the GNU ltdl sources included here
1478    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1479    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
# Line 1479 | Line 1493 | Some influential environment variables:
1493    LIBS        libraries to pass to the linker, e.g. -l<library>
1494    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1495                you have headers in a nonstandard directory <include dir>
1496 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1497 <              the first program found out of: `bison -y', `byacc', `yacc'.
1496 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1497 >              Defaults to the first program found out of: `bison -y', `byacc',
1498 >              `yacc'.
1499    YFLAGS      The list of arguments that will be passed by default to $YACC.
1500                This script will default YFLAGS to the empty string to avoid a
1501                default value of `-d' given by some make applications.
# Line 1552 | Line 1567 | fi
1567   test -n "$ac_init_help" && exit $ac_status
1568   if $ac_init_version; then
1569    cat <<\_ACEOF
1570 < ircd-hybrid configure 7.3-rc1
1571 < generated by GNU Autoconf 2.67
1570 > ircd-hybrid configure 8beta1
1571 > generated by GNU Autoconf 2.68
1572  
1573   Copyright (C) 2010 Free Software Foundation, Inc.
1574   This configure script is free software; the Free Software Foundation
# Line 1599 | Line 1614 | sed 's/^/| /' conftest.$ac_ext >&5
1614  
1615          ac_retval=1
1616   fi
1617 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1617 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618    as_fn_set_status $ac_retval
1619  
1620   } # ac_fn_c_try_compile
# Line 1645 | Line 1660 | fi
1660    # interfere with the next link command; also delete a directory that is
1661    # left behind by Apple's compiler.  We do this before executing the actions.
1662    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1663 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1663 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664    as_fn_set_status $ac_retval
1665  
1666   } # ac_fn_c_try_link
# Line 1659 | Line 1674 | ac_fn_c_check_header_compile ()
1674    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676   $as_echo_n "checking for $2... " >&6; }
1677 < if eval "test \"\${$3+set}\"" = set; then :
1677 > if eval \${$3+:} false; then :
1678    $as_echo_n "(cached) " >&6
1679   else
1680    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1677 | Line 1692 | fi
1692   eval ac_res=\$$3
1693                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694   $as_echo "$ac_res" >&6; }
1695 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696  
1697   } # ac_fn_c_check_header_compile
1698  
# Line 1713 | Line 1728 | sed 's/^/| /' conftest.$ac_ext >&5
1728  
1729      ac_retval=1
1730   fi
1731 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732    as_fn_set_status $ac_retval
1733  
1734   } # ac_fn_c_try_cpp
# Line 1755 | Line 1770 | sed 's/^/| /' conftest.$ac_ext >&5
1770         ac_retval=$ac_status
1771   fi
1772    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1773 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774    as_fn_set_status $ac_retval
1775  
1776   } # ac_fn_c_try_run
# Line 1768 | Line 1783 | ac_fn_c_check_func ()
1783    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785   $as_echo_n "checking for $2... " >&6; }
1786 < if eval "test \"\${$3+set}\"" = set; then :
1786 > if eval \${$3+:} false; then :
1787    $as_echo_n "(cached) " >&6
1788   else
1789    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1823 | Line 1838 | fi
1838   eval ac_res=\$$3
1839                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840   $as_echo "$ac_res" >&6; }
1841 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842  
1843   } # ac_fn_c_check_func
1844  
# Line 1838 | Line 1853 | ac_fn_c_check_decl ()
1853    as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1854    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1855   $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1856 < if eval "test \"\${$3+set}\"" = set; then :
1856 > if eval \${$3+:} false; then :
1857    $as_echo_n "(cached) " >&6
1858   else
1859    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1869 | Line 1884 | fi
1884   eval ac_res=\$$3
1885                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886   $as_echo "$ac_res" >&6; }
1887 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1887 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888  
1889   } # ac_fn_c_check_decl
1890  
# Line 1882 | Line 1897 | ac_fn_c_check_type ()
1897    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899   $as_echo_n "checking for $2... " >&6; }
1900 < if eval "test \"\${$3+set}\"" = set; then :
1900 > if eval \${$3+:} false; then :
1901    $as_echo_n "(cached) " >&6
1902   else
1903    eval "$3=no"
# Line 1923 | Line 1938 | fi
1938   eval ac_res=\$$3
1939                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940   $as_echo "$ac_res" >&6; }
1941 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1941 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942  
1943   } # ac_fn_c_check_type
1944  
# Line 1936 | Line 1951 | ac_fn_c_check_member ()
1951    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1953   $as_echo_n "checking for $2.$3... " >&6; }
1954 < if eval "test \"\${$4+set}\"" = set; then :
1954 > if eval \${$4+:} false; then :
1955    $as_echo_n "(cached) " >&6
1956   else
1957    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1980 | Line 1995 | fi
1995   eval ac_res=\$$4
1996                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1997   $as_echo "$ac_res" >&6; }
1998 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999  
2000   } # ac_fn_c_check_member
2001  
# Line 1992 | Line 2007 | $as_echo "$ac_res" >&6; }
2007   ac_fn_c_check_header_mongrel ()
2008   {
2009    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010 <  if eval "test \"\${$3+set}\"" = set; then :
2010 >  if eval \${$3+:} false; then :
2011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012   $as_echo_n "checking for $2... " >&6; }
2013 < if eval "test \"\${$3+set}\"" = set; then :
2013 > if eval \${$3+:} false; then :
2014    $as_echo_n "(cached) " >&6
2015   fi
2016   eval ac_res=\$$3
# Line 2062 | Line 2077 | $as_echo "$as_me: WARNING: $2: proceedin
2077   esac
2078    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079   $as_echo_n "checking for $2... " >&6; }
2080 < if eval "test \"\${$3+set}\"" = set; then :
2080 > if eval \${$3+:} false; then :
2081    $as_echo_n "(cached) " >&6
2082   else
2083    eval "$3=\$ac_header_compiler"
# Line 2071 | Line 2086 | eval ac_res=\$$3
2086                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087   $as_echo "$ac_res" >&6; }
2088   fi
2089 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2089 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090  
2091   } # ac_fn_c_check_header_mongrel
2092   cat >config.log <<_ACEOF
2093   This file contains any messages produced by compilers while
2094   running configure, to aid debugging if configure makes a mistake.
2095  
2096 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2097 < generated by GNU Autoconf 2.67.  Invocation command line was
2096 > It was created by ircd-hybrid $as_me 8beta1, which was
2097 > generated by GNU Autoconf 2.68.  Invocation command line was
2098  
2099    $ $0 $@
2100  
# Line 2363 | Line 2378 | as_fn_append ac_func_list " strtok_r"
2378   as_fn_append ac_func_list " usleep"
2379   as_fn_append ac_func_list " strlcat"
2380   as_fn_append ac_func_list " strlcpy"
2381 + as_fn_append ac_func_list " socketpair"
2382   as_fn_append ac_header_list " crypt.h"
2383   as_fn_append ac_header_list " inttypes.h"
2384   as_fn_append ac_header_list " stdint.h"
# Line 2491 | Line 2507 | ac_configure="$SHELL $ac_aux_dir/configu
2507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2508   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2509   if test -z "$INSTALL"; then
2510 < if test "${ac_cv_path_install+set}" = set; then :
2510 > if ${ac_cv_path_install+:} false; then :
2511    $as_echo_n "(cached) " >&6
2512   else
2513    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2668 | Line 2684 | if test "$cross_compiling" != no; then
2684   set dummy ${ac_tool_prefix}strip; ac_word=$2
2685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686   $as_echo_n "checking for $ac_word... " >&6; }
2687 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2687 > if ${ac_cv_prog_STRIP+:} false; then :
2688    $as_echo_n "(cached) " >&6
2689   else
2690    if test -n "$STRIP"; then
# Line 2708 | Line 2724 | if test -z "$ac_cv_prog_STRIP"; then
2724   set dummy strip; ac_word=$2
2725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726   $as_echo_n "checking for $ac_word... " >&6; }
2727 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2727 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2728    $as_echo_n "(cached) " >&6
2729   else
2730    if test -n "$ac_ct_STRIP"; then
# Line 2761 | Line 2777 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2778   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2779   if test -z "$MKDIR_P"; then
2780 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2780 >  if ${ac_cv_path_mkdir+:} false; then :
2781    $as_echo_n "(cached) " >&6
2782   else
2783    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2812 | Line 2828 | do
2828   set dummy $ac_prog; ac_word=$2
2829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830   $as_echo_n "checking for $ac_word... " >&6; }
2831 < if test "${ac_cv_prog_AWK+set}" = set; then :
2831 > if ${ac_cv_prog_AWK+:} false; then :
2832    $as_echo_n "(cached) " >&6
2833   else
2834    if test -n "$AWK"; then
# Line 2852 | Line 2868 | done
2868   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2869   set x ${MAKE-make}
2870   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2871 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2871 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2872    $as_echo_n "(cached) " >&6
2873   else
2874    cat >conftest.make <<\_ACEOF
# Line 2910 | Line 2926 | fi
2926  
2927   # Define the identity of the package.
2928   PACKAGE='ircd-hybrid'
2929 < VERSION='7.3-rc1'
2929 > VERSION='8beta1'
2930  
2931  
2932   cat >>confdefs.h <<_ACEOF
# Line 3050 | Line 3066 | if test -n "$ac_tool_prefix"; then
3066   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068   $as_echo_n "checking for $ac_word... " >&6; }
3069 < if test "${ac_cv_prog_CC+set}" = set; then :
3069 > if ${ac_cv_prog_CC+:} false; then :
3070    $as_echo_n "(cached) " >&6
3071   else
3072    if test -n "$CC"; then
# Line 3090 | Line 3106 | if test -z "$ac_cv_prog_CC"; then
3106   set dummy gcc; ac_word=$2
3107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108   $as_echo_n "checking for $ac_word... " >&6; }
3109 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3109 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3110    $as_echo_n "(cached) " >&6
3111   else
3112    if test -n "$ac_ct_CC"; then
# Line 3143 | Line 3159 | if test -z "$CC"; then
3159   set dummy ${ac_tool_prefix}cc; ac_word=$2
3160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161   $as_echo_n "checking for $ac_word... " >&6; }
3162 < if test "${ac_cv_prog_CC+set}" = set; then :
3162 > if ${ac_cv_prog_CC+:} false; then :
3163    $as_echo_n "(cached) " >&6
3164   else
3165    if test -n "$CC"; then
# Line 3183 | Line 3199 | if test -z "$CC"; then
3199   set dummy cc; ac_word=$2
3200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201   $as_echo_n "checking for $ac_word... " >&6; }
3202 < if test "${ac_cv_prog_CC+set}" = set; then :
3202 > if ${ac_cv_prog_CC+:} false; then :
3203    $as_echo_n "(cached) " >&6
3204   else
3205    if test -n "$CC"; then
# Line 3242 | Line 3258 | if test -z "$CC"; then
3258   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3260   $as_echo_n "checking for $ac_word... " >&6; }
3261 < if test "${ac_cv_prog_CC+set}" = set; then :
3261 > if ${ac_cv_prog_CC+:} false; then :
3262    $as_echo_n "(cached) " >&6
3263   else
3264    if test -n "$CC"; then
# Line 3286 | Line 3302 | do
3302   set dummy $ac_prog; ac_word=$2
3303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3304   $as_echo_n "checking for $ac_word... " >&6; }
3305 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3305 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3306    $as_echo_n "(cached) " >&6
3307   else
3308    if test -n "$ac_ct_CC"; then
# Line 3569 | Line 3585 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3585   ac_clean_files=$ac_clean_files_save
3586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3587   $as_echo_n "checking for suffix of object files... " >&6; }
3588 < if test "${ac_cv_objext+set}" = set; then :
3588 > if ${ac_cv_objext+:} false; then :
3589    $as_echo_n "(cached) " >&6
3590   else
3591    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3620 | Line 3636 | OBJEXT=$ac_cv_objext
3636   ac_objext=$OBJEXT
3637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3638   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3639 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3639 > if ${ac_cv_c_compiler_gnu+:} false; then :
3640    $as_echo_n "(cached) " >&6
3641   else
3642    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3657 | Line 3673 | ac_test_CFLAGS=${CFLAGS+set}
3673   ac_save_CFLAGS=$CFLAGS
3674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3675   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3676 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3676 > if ${ac_cv_prog_cc_g+:} false; then :
3677    $as_echo_n "(cached) " >&6
3678   else
3679    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3735 | Line 3751 | else
3751   fi
3752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3753   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3754 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3754 > if ${ac_cv_prog_cc_c89+:} false; then :
3755    $as_echo_n "(cached) " >&6
3756   else
3757    ac_cv_prog_cc_c89=no
# Line 3834 | Line 3850 | depcc="$CC"   am_compiler_list=
3850  
3851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3852   $as_echo_n "checking dependency style of $depcc... " >&6; }
3853 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3853 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3854    $as_echo_n "(cached) " >&6
3855   else
3856    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3959 | Line 3975 | fi
3975  
3976     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3977   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3978 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3978 > if ${ac_cv_prog_cc_c99+:} false; then :
3979    $as_echo_n "(cached) " >&6
3980   else
3981    ac_cv_prog_cc_c99=no
# Line 4143 | Line 4159 | do
4159   set dummy $ac_prog; ac_word=$2
4160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161   $as_echo_n "checking for $ac_word... " >&6; }
4162 < if test "${ac_cv_prog_YACC+set}" = set; then :
4162 > if ${ac_cv_prog_YACC+:} false; then :
4163    $as_echo_n "(cached) " >&6
4164   else
4165    if test -n "$YACC"; then
# Line 4187 | Line 4203 | do
4203   set dummy $ac_prog; ac_word=$2
4204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205   $as_echo_n "checking for $ac_word... " >&6; }
4206 < if test "${ac_cv_prog_LEX+set}" = set; then :
4206 > if ${ac_cv_prog_LEX+:} false; then :
4207    $as_echo_n "(cached) " >&6
4208   else
4209    if test -n "$LEX"; then
# Line 4257 | Line 4273 | $as_echo "$ac_try_echo"; } >&5
4273    test $ac_status = 0; }
4274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4275   $as_echo_n "checking lex output file root... " >&6; }
4276 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4276 > if ${ac_cv_prog_lex_root+:} false; then :
4277    $as_echo_n "(cached) " >&6
4278   else
4279  
# Line 4276 | Line 4292 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4292   if test -z "${LEXLIB+set}"; then
4293    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4294   $as_echo_n "checking lex library... " >&6; }
4295 < if test "${ac_cv_lib_lex+set}" = set; then :
4295 > if ${ac_cv_lib_lex+:} false; then :
4296    $as_echo_n "(cached) " >&6
4297   else
4298  
# Line 4306 | Line 4322 | fi
4322  
4323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4324   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4325 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4325 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4326    $as_echo_n "(cached) " >&6
4327   else
4328    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4317 | Line 4333 | ac_save_LIBS=$LIBS
4333   LIBS="$LEXLIB $ac_save_LIBS"
4334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335   /* end confdefs.h.  */
4336 < #define YYTEXT_POINTER 1
4336 >
4337 >  #define YYTEXT_POINTER 1
4338   `cat $LEX_OUTPUT_ROOT.c`
4339   _ACEOF
4340   if ac_fn_c_try_link "$LINENO"; then :
# Line 4359 | Line 4376 | esac
4376  
4377  
4378  
4379 < macro_version='2.2.10'
4380 < macro_revision='1.3175'
4379 > macro_version='2.4'
4380 > macro_revision='1.3293'
4381  
4382  
4383  
# Line 4382 | Line 4399 | $SHELL "$ac_aux_dir/config.sub" sun4 >/d
4399  
4400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4401   $as_echo_n "checking build system type... " >&6; }
4402 < if test "${ac_cv_build+set}" = set; then :
4402 > if ${ac_cv_build+:} false; then :
4403    $as_echo_n "(cached) " >&6
4404   else
4405    ac_build_alias=$build_alias
# Line 4416 | Line 4433 | case $build_os in *\ *) build_os=`echo "
4433  
4434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4435   $as_echo_n "checking host system type... " >&6; }
4436 < if test "${ac_cv_host+set}" = set; then :
4436 > if ${ac_cv_host+:} false; then :
4437    $as_echo_n "(cached) " >&6
4438   else
4439    if test "x$host_alias" = x; then
# Line 4471 | Line 4488 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4489   $as_echo_n "checking how to print strings... " >&6; }
4490   # Test print first, because it will be a builtin if present.
4491 < if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4491 > if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4492     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4493    ECHO='print -r --'
4494   elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
# Line 4518 | Line 4535 | esac
4535  
4536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4537   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4538 < if test "${ac_cv_path_SED+set}" = set; then :
4538 > if ${ac_cv_path_SED+:} false; then :
4539    $as_echo_n "(cached) " >&6
4540   else
4541              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4600 | Line 4617 | Xsed="$SED -e 1s/^X//"
4617  
4618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4619   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4620 < if test "${ac_cv_path_GREP+set}" = set; then :
4620 > if ${ac_cv_path_GREP+:} false; then :
4621    $as_echo_n "(cached) " >&6
4622   else
4623    if test -z "$GREP"; then
# Line 4663 | Line 4680 | $as_echo "$ac_cv_path_GREP" >&6; }
4680  
4681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4682   $as_echo_n "checking for egrep... " >&6; }
4683 < if test "${ac_cv_path_EGREP+set}" = set; then :
4683 > if ${ac_cv_path_EGREP+:} false; then :
4684    $as_echo_n "(cached) " >&6
4685   else
4686    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4730 | Line 4747 | $as_echo "$ac_cv_path_EGREP" >&6; }
4747  
4748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4749   $as_echo_n "checking for fgrep... " >&6; }
4750 < if test "${ac_cv_path_FGREP+set}" = set; then :
4750 > if ${ac_cv_path_FGREP+:} false; then :
4751    $as_echo_n "(cached) " >&6
4752   else
4753    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4861 | Line 4878 | else
4878    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4879   $as_echo_n "checking for non-GNU ld... " >&6; }
4880   fi
4881 < if test "${lt_cv_path_LD+set}" = set; then :
4881 > if ${lt_cv_path_LD+:} false; then :
4882    $as_echo_n "(cached) " >&6
4883   else
4884    if test -z "$LD"; then
# Line 4901 | Line 4918 | fi
4918   test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4920   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4921 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4921 > if ${lt_cv_prog_gnu_ld+:} false; then :
4922    $as_echo_n "(cached) " >&6
4923   else
4924    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4928 | Line 4945 | with_gnu_ld=$lt_cv_prog_gnu_ld
4945  
4946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4947   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4948 < if test "${lt_cv_path_NM+set}" = set; then :
4948 > if ${lt_cv_path_NM+:} false; then :
4949    $as_echo_n "(cached) " >&6
4950   else
4951    if test -n "$NM"; then
# Line 4991 | Line 5008 | else
5008   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010   $as_echo_n "checking for $ac_word... " >&6; }
5011 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5011 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5012    $as_echo_n "(cached) " >&6
5013   else
5014    if test -n "$DUMPBIN"; then
# Line 5035 | Line 5052 | do
5052   set dummy $ac_prog; ac_word=$2
5053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054   $as_echo_n "checking for $ac_word... " >&6; }
5055 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5055 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5056    $as_echo_n "(cached) " >&6
5057   else
5058    if test -n "$ac_ct_DUMPBIN"; then
# Line 5107 | Line 5124 | test -z "$NM" && NM=nm
5124  
5125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5126   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5127 < if test "${lt_cv_nm_interface+set}" = set; then :
5127 > if ${lt_cv_nm_interface+:} false; then :
5128    $as_echo_n "(cached) " >&6
5129   else
5130    lt_cv_nm_interface="BSD nm"
# Line 5142 | Line 5159 | fi
5159   # find the maximum length of command line arguments
5160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5161   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5162 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5162 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5163    $as_echo_n "(cached) " >&6
5164   else
5165      i=0
# Line 5287 | Line 5304 | $as_echo_n "checking whether the shell u
5304   # Try some XSI features
5305   xsi_shell=no
5306   ( _lt_dummy="a/b/c"
5307 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5308 <      = c,a/b,, \
5307 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5308 >      = c,a/b,b/c, \
5309      && eval 'test $(( 1 + 1 )) -eq 2 \
5310      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5311    && xsi_shell=yes
# Line 5337 | Line 5354 | esac
5354  
5355  
5356  
5357 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5358 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5359 + if ${lt_cv_to_host_file_cmd+:} false; then :
5360 +  $as_echo_n "(cached) " >&6
5361 + else
5362 +  case $host in
5363 +  *-*-mingw* )
5364 +    case $build in
5365 +      *-*-mingw* ) # actually msys
5366 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5367 +        ;;
5368 +      *-*-cygwin* )
5369 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5370 +        ;;
5371 +      * ) # otherwise, assume *nix
5372 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5373 +        ;;
5374 +    esac
5375 +    ;;
5376 +  *-*-cygwin* )
5377 +    case $build in
5378 +      *-*-mingw* ) # actually msys
5379 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5380 +        ;;
5381 +      *-*-cygwin* )
5382 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5383 +        ;;
5384 +      * ) # otherwise, assume *nix
5385 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5386 +        ;;
5387 +    esac
5388 +    ;;
5389 +  * ) # unhandled hosts (and "normal" native builds)
5390 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5391 +    ;;
5392 + esac
5393 +
5394 + fi
5395 +
5396 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5397 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5398 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5399 +
5400 +
5401 +
5402 +
5403 +
5404 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5405 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5406 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5407 +  $as_echo_n "(cached) " >&6
5408 + else
5409 +  #assume ordinary cross tools, or native build.
5410 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5411 + case $host in
5412 +  *-*-mingw* )
5413 +    case $build in
5414 +      *-*-mingw* ) # actually msys
5415 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5416 +        ;;
5417 +    esac
5418 +    ;;
5419 + esac
5420 +
5421 + fi
5422 +
5423 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5424 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5425 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5426 +
5427 +
5428 +
5429 +
5430 +
5431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5432   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5433 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5433 > if ${lt_cv_ld_reload_flag+:} false; then :
5434    $as_echo_n "(cached) " >&6
5435   else
5436    lt_cv_ld_reload_flag='-r'
# Line 5353 | Line 5444 | case $reload_flag in
5444   esac
5445   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5446   case $host_os in
5447 +  cygwin* | mingw* | pw32* | cegcc*)
5448 +    if test "$GCC" != yes; then
5449 +      reload_cmds=false
5450 +    fi
5451 +    ;;
5452    darwin*)
5453      if test "$GCC" = yes; then
5454        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5375 | Line 5471 | if test -n "$ac_tool_prefix"; then
5471   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473   $as_echo_n "checking for $ac_word... " >&6; }
5474 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5474 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5475    $as_echo_n "(cached) " >&6
5476   else
5477    if test -n "$OBJDUMP"; then
# Line 5415 | Line 5511 | if test -z "$ac_cv_prog_OBJDUMP"; then
5511   set dummy objdump; ac_word=$2
5512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513   $as_echo_n "checking for $ac_word... " >&6; }
5514 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5514 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5515    $as_echo_n "(cached) " >&6
5516   else
5517    if test -n "$ac_ct_OBJDUMP"; then
# Line 5474 | Line 5570 | test -z "$OBJDUMP" && OBJDUMP=objdump
5570  
5571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5572   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5573 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5573 > if ${lt_cv_deplibs_check_method+:} false; then :
5574    $as_echo_n "(cached) " >&6
5575   else
5576    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5676 | Line 5772 | esac
5772   fi
5773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5774   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5775 +
5776 + file_magic_glob=
5777 + want_nocaseglob=no
5778 + if test "$build" = "$host"; then
5779 +  case $host_os in
5780 +  mingw* | pw32*)
5781 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5782 +      want_nocaseglob=yes
5783 +    else
5784 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5785 +    fi
5786 +    ;;
5787 +  esac
5788 + fi
5789 +
5790   file_magic_cmd=$lt_cv_file_magic_cmd
5791   deplibs_check_method=$lt_cv_deplibs_check_method
5792   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5691 | Line 5802 | test -z "$deplibs_check_method" && depli
5802  
5803  
5804  
5805 +
5806 +
5807 +
5808 +
5809 +
5810 +
5811 +
5812 +
5813 +
5814 +
5815   if test -n "$ac_tool_prefix"; then
5816 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5817 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5816 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5817 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819   $as_echo_n "checking for $ac_word... " >&6; }
5820 < if test "${ac_cv_prog_AR+set}" = set; then :
5820 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5821 >  $as_echo_n "(cached) " >&6
5822 > else
5823 >  if test -n "$DLLTOOL"; then
5824 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5825 > else
5826 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 > for as_dir in $PATH
5828 > do
5829 >  IFS=$as_save_IFS
5830 >  test -z "$as_dir" && as_dir=.
5831 >    for ac_exec_ext in '' $ac_executable_extensions; do
5832 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5833 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5834 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 >    break 2
5836 >  fi
5837 > done
5838 >  done
5839 > IFS=$as_save_IFS
5840 >
5841 > fi
5842 > fi
5843 > DLLTOOL=$ac_cv_prog_DLLTOOL
5844 > if test -n "$DLLTOOL"; then
5845 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5846 > $as_echo "$DLLTOOL" >&6; }
5847 > else
5848 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 > $as_echo "no" >&6; }
5850 > fi
5851 >
5852 >
5853 > fi
5854 > if test -z "$ac_cv_prog_DLLTOOL"; then
5855 >  ac_ct_DLLTOOL=$DLLTOOL
5856 >  # Extract the first word of "dlltool", so it can be a program name with args.
5857 > set dummy dlltool; ac_word=$2
5858 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859 > $as_echo_n "checking for $ac_word... " >&6; }
5860 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5861 >  $as_echo_n "(cached) " >&6
5862 > else
5863 >  if test -n "$ac_ct_DLLTOOL"; then
5864 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5865 > else
5866 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 > for as_dir in $PATH
5868 > do
5869 >  IFS=$as_save_IFS
5870 >  test -z "$as_dir" && as_dir=.
5871 >    for ac_exec_ext in '' $ac_executable_extensions; do
5872 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5873 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5874 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 >    break 2
5876 >  fi
5877 > done
5878 >  done
5879 > IFS=$as_save_IFS
5880 >
5881 > fi
5882 > fi
5883 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5884 > if test -n "$ac_ct_DLLTOOL"; then
5885 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5886 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5887 > else
5888 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 > $as_echo "no" >&6; }
5890 > fi
5891 >
5892 >  if test "x$ac_ct_DLLTOOL" = x; then
5893 >    DLLTOOL="false"
5894 >  else
5895 >    case $cross_compiling:$ac_tool_warned in
5896 > yes:)
5897 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5898 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5899 > ac_tool_warned=yes ;;
5900 > esac
5901 >    DLLTOOL=$ac_ct_DLLTOOL
5902 >  fi
5903 > else
5904 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
5905 > fi
5906 >
5907 > test -z "$DLLTOOL" && DLLTOOL=dlltool
5908 >
5909 >
5910 >
5911 >
5912 >
5913 >
5914 >
5915 >
5916 >
5917 >
5918 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5919 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5920 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5921 >  $as_echo_n "(cached) " >&6
5922 > else
5923 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
5924 >
5925 > case $host_os in
5926 > cygwin* | mingw* | pw32* | cegcc*)
5927 >  # two different shell functions defined in ltmain.sh
5928 >  # decide which to use based on capabilities of $DLLTOOL
5929 >  case `$DLLTOOL --help 2>&1` in
5930 >  *--identify-strict*)
5931 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5932 >    ;;
5933 >  *)
5934 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5935 >    ;;
5936 >  esac
5937 >  ;;
5938 > *)
5939 >  # fallback: assume linklib IS sharedlib
5940 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5941 >  ;;
5942 > esac
5943 >
5944 > fi
5945 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5946 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5947 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5948 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5949 >
5950 >
5951 >
5952 >
5953 >
5954 >
5955 >
5956 > if test -n "$ac_tool_prefix"; then
5957 >  for ac_prog in ar
5958 >  do
5959 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5960 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5961 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 > $as_echo_n "checking for $ac_word... " >&6; }
5963 > if ${ac_cv_prog_AR+:} false; then :
5964    $as_echo_n "(cached) " >&6
5965   else
5966    if test -n "$AR"; then
# Line 5709 | Line 5973 | do
5973    test -z "$as_dir" && as_dir=.
5974      for ac_exec_ext in '' $ac_executable_extensions; do
5975    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5976 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5976 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5977      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5978      break 2
5979    fi
# Line 5729 | Line 5993 | $as_echo "no" >&6; }
5993   fi
5994  
5995  
5996 +    test -n "$AR" && break
5997 +  done
5998   fi
5999 < if test -z "$ac_cv_prog_AR"; then
5999 > if test -z "$AR"; then
6000    ac_ct_AR=$AR
6001 <  # Extract the first word of "ar", so it can be a program name with args.
6002 < set dummy ar; ac_word=$2
6001 >  for ac_prog in ar
6002 > do
6003 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6004 > set dummy $ac_prog; ac_word=$2
6005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006   $as_echo_n "checking for $ac_word... " >&6; }
6007 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6007 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6008    $as_echo_n "(cached) " >&6
6009   else
6010    if test -n "$ac_ct_AR"; then
# Line 5749 | Line 6017 | do
6017    test -z "$as_dir" && as_dir=.
6018      for ac_exec_ext in '' $ac_executable_extensions; do
6019    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6020 <    ac_cv_prog_ac_ct_AR="ar"
6020 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6021      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022      break 2
6023    fi
# Line 5768 | Line 6036 | else
6036   $as_echo "no" >&6; }
6037   fi
6038  
6039 +
6040 +  test -n "$ac_ct_AR" && break
6041 + done
6042 +
6043    if test "x$ac_ct_AR" = x; then
6044      AR="false"
6045    else
# Line 5779 | Line 6051 | ac_tool_warned=yes ;;
6051   esac
6052      AR=$ac_ct_AR
6053    fi
5782 else
5783  AR="$ac_cv_prog_AR"
6054   fi
6055  
6056 < test -z "$AR" && AR=ar
6057 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6056 > : ${AR=ar}
6057 > : ${AR_FLAGS=cru}
6058 >
6059 >
6060 >
6061 >
6062  
6063  
6064  
# Line 5792 | Line 6066 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6066  
6067  
6068  
6069 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6070 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6071 + if ${lt_cv_ar_at_file+:} false; then :
6072 +  $as_echo_n "(cached) " >&6
6073 + else
6074 +  lt_cv_ar_at_file=no
6075 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6076 + /* end confdefs.h.  */
6077 +
6078 + int
6079 + main ()
6080 + {
6081 +
6082 +  ;
6083 +  return 0;
6084 + }
6085 + _ACEOF
6086 + if ac_fn_c_try_compile "$LINENO"; then :
6087 +  echo conftest.$ac_objext > conftest.lst
6088 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6089 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6090 +  (eval $lt_ar_try) 2>&5
6091 +  ac_status=$?
6092 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6093 +  test $ac_status = 0; }
6094 +      if test "$ac_status" -eq 0; then
6095 +        # Ensure the archiver fails upon bogus file names.
6096 +        rm -f conftest.$ac_objext libconftest.a
6097 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6098 +  (eval $lt_ar_try) 2>&5
6099 +  ac_status=$?
6100 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6101 +  test $ac_status = 0; }
6102 +        if test "$ac_status" -ne 0; then
6103 +          lt_cv_ar_at_file=@
6104 +        fi
6105 +      fi
6106 +      rm -f conftest.* libconftest.a
6107 +
6108 + fi
6109 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6110 +
6111 + fi
6112 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6113 + $as_echo "$lt_cv_ar_at_file" >&6; }
6114 +
6115 + if test "x$lt_cv_ar_at_file" = xno; then
6116 +  archiver_list_spec=
6117 + else
6118 +  archiver_list_spec=$lt_cv_ar_at_file
6119 + fi
6120 +
6121 +
6122 +
6123  
6124  
6125  
# Line 5801 | Line 6129 | if test -n "$ac_tool_prefix"; then
6129   set dummy ${ac_tool_prefix}strip; ac_word=$2
6130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131   $as_echo_n "checking for $ac_word... " >&6; }
6132 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6132 > if ${ac_cv_prog_STRIP+:} false; then :
6133    $as_echo_n "(cached) " >&6
6134   else
6135    if test -n "$STRIP"; then
# Line 5841 | Line 6169 | if test -z "$ac_cv_prog_STRIP"; then
6169   set dummy strip; ac_word=$2
6170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171   $as_echo_n "checking for $ac_word... " >&6; }
6172 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6172 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6173    $as_echo_n "(cached) " >&6
6174   else
6175    if test -n "$ac_ct_STRIP"; then
# Line 5900 | Line 6228 | if test -n "$ac_tool_prefix"; then
6228   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230   $as_echo_n "checking for $ac_word... " >&6; }
6231 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6231 > if ${ac_cv_prog_RANLIB+:} false; then :
6232    $as_echo_n "(cached) " >&6
6233   else
6234    if test -n "$RANLIB"; then
# Line 5940 | Line 6268 | if test -z "$ac_cv_prog_RANLIB"; then
6268   set dummy ranlib; ac_word=$2
6269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270   $as_echo_n "checking for $ac_word... " >&6; }
6271 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6271 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6272    $as_echo_n "(cached) " >&6
6273   else
6274    if test -n "$ac_ct_RANLIB"; then
# Line 6069 | Line 6397 | compiler=$CC
6397   # Check for command to grab the raw symbol name followed by C symbol from nm.
6398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6399   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6400 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6400 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6401    $as_echo_n "(cached) " >&6
6402   else
6403  
# Line 6130 | Line 6458 | esac
6458   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6459  
6460   # Transform an extracted symbol line into symbol name and symbol address
6461 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6462 < 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'"
6461 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6462 > 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'"
6463  
6464   # Handle CRLF in mingw tool chain
6465   opt_cr=
# Line 6167 | Line 6495 | for ac_symprfx in "" "_"; do
6495    else
6496      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6497    fi
6498 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6499  
6500    # Check to see that the pipe works correctly.
6501    pipe_works=no
# Line 6208 | Line 6537 | _LT_EOF
6537        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6538          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6539            cat <<_LT_EOF > conftest.$ac_ext
6540 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6541 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6542 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6543 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6544 + # define LT_DLSYM_CONST
6545 + #elif defined(__osf__)
6546 + /* This system does not cope well with relocations in const data.  */
6547 + # define LT_DLSYM_CONST
6548 + #else
6549 + # define LT_DLSYM_CONST const
6550 + #endif
6551 +
6552   #ifdef __cplusplus
6553   extern "C" {
6554   #endif
# Line 6219 | Line 6560 | _LT_EOF
6560            cat <<_LT_EOF >> conftest.$ac_ext
6561  
6562   /* The mapping between symbol names and symbols.  */
6563 < const struct {
6563 > LT_DLSYM_CONST struct {
6564    const char *name;
6565    void       *address;
6566   }
# Line 6245 | Line 6586 | static const void *lt_preloaded_setup()
6586   _LT_EOF
6587            # Now try linking the two files.
6588            mv conftest.$ac_objext conftstm.$ac_objext
6589 <          lt_save_LIBS="$LIBS"
6590 <          lt_save_CFLAGS="$CFLAGS"
6589 >          lt_globsym_save_LIBS=$LIBS
6590 >          lt_globsym_save_CFLAGS=$CFLAGS
6591            LIBS="conftstm.$ac_objext"
6592            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6593            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6256 | Line 6597 | _LT_EOF
6597    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6598              pipe_works=yes
6599            fi
6600 <          LIBS="$lt_save_LIBS"
6601 <          CFLAGS="$lt_save_CFLAGS"
6600 >          LIBS=$lt_globsym_save_LIBS
6601 >          CFLAGS=$lt_globsym_save_CFLAGS
6602          else
6603            echo "cannot find nm_test_func in $nlist" >&5
6604          fi
# Line 6294 | Line 6635 | else
6635   $as_echo "ok" >&6; }
6636   fi
6637  
6638 + # Response file support.
6639 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6640 +  nm_file_list_spec='@'
6641 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6642 +  nm_file_list_spec='@'
6643 + fi
6644 +
6645 +
6646 +
6647 +
6648  
6649  
6650  
# Line 6315 | Line 6666 | fi
6666  
6667  
6668  
6669 +
6670 +
6671 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6672 + $as_echo_n "checking for sysroot... " >&6; }
6673 +
6674 + # Check whether --with-sysroot was given.
6675 + if test "${with_sysroot+set}" = set; then :
6676 +  withval=$with_sysroot;
6677 + else
6678 +  with_sysroot=no
6679 + fi
6680 +
6681 +
6682 + lt_sysroot=
6683 + case ${with_sysroot} in #(
6684 + yes)
6685 +   if test "$GCC" = yes; then
6686 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6687 +   fi
6688 +   ;; #(
6689 + /*)
6690 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6691 +   ;; #(
6692 + no|'')
6693 +   ;; #(
6694 + *)
6695 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6696 + $as_echo "${with_sysroot}" >&6; }
6697 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6698 +   ;;
6699 + esac
6700 +
6701 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6702 + $as_echo "${lt_sysroot:-no}" >&6; }
6703 +
6704 +
6705 +
6706 +
6707 +
6708   # Check whether --enable-libtool-lock was given.
6709   if test "${enable_libtool_lock+set}" = set; then :
6710    enableval=$enable_libtool_lock;
# Line 6440 | Line 6830 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6830    CFLAGS="$CFLAGS -belf"
6831    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6832   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6833 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6833 > if ${lt_cv_cc_needs_belf+:} false; then :
6834    $as_echo_n "(cached) " >&6
6835   else
6836    ac_ext=c
# Line 6508 | Line 6898 | esac
6898  
6899   need_locks="$enable_libtool_lock"
6900  
6901 + if test -n "$ac_tool_prefix"; then
6902 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6903 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6904 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6905 + $as_echo_n "checking for $ac_word... " >&6; }
6906 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6907 +  $as_echo_n "(cached) " >&6
6908 + else
6909 +  if test -n "$MANIFEST_TOOL"; then
6910 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6911 + else
6912 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 + for as_dir in $PATH
6914 + do
6915 +  IFS=$as_save_IFS
6916 +  test -z "$as_dir" && as_dir=.
6917 +    for ac_exec_ext in '' $ac_executable_extensions; do
6918 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6919 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6920 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6921 +    break 2
6922 +  fi
6923 + done
6924 +  done
6925 + IFS=$as_save_IFS
6926 +
6927 + fi
6928 + fi
6929 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6930 + if test -n "$MANIFEST_TOOL"; then
6931 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6932 + $as_echo "$MANIFEST_TOOL" >&6; }
6933 + else
6934 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6935 + $as_echo "no" >&6; }
6936 + fi
6937 +
6938 +
6939 + fi
6940 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6941 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6942 +  # Extract the first word of "mt", so it can be a program name with args.
6943 + set dummy mt; ac_word=$2
6944 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6945 + $as_echo_n "checking for $ac_word... " >&6; }
6946 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6947 +  $as_echo_n "(cached) " >&6
6948 + else
6949 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6950 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6951 + else
6952 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6953 + for as_dir in $PATH
6954 + do
6955 +  IFS=$as_save_IFS
6956 +  test -z "$as_dir" && as_dir=.
6957 +    for ac_exec_ext in '' $ac_executable_extensions; do
6958 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6959 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6960 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961 +    break 2
6962 +  fi
6963 + done
6964 +  done
6965 + IFS=$as_save_IFS
6966 +
6967 + fi
6968 + fi
6969 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6970 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6971 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6972 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6973 + else
6974 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6975 + $as_echo "no" >&6; }
6976 + fi
6977 +
6978 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6979 +    MANIFEST_TOOL=":"
6980 +  else
6981 +    case $cross_compiling:$ac_tool_warned in
6982 + yes:)
6983 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6984 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6985 + ac_tool_warned=yes ;;
6986 + esac
6987 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6988 +  fi
6989 + else
6990 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6991 + fi
6992 +
6993 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6994 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6995 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6996 + if ${lt_cv_path_mainfest_tool+:} false; then :
6997 +  $as_echo_n "(cached) " >&6
6998 + else
6999 +  lt_cv_path_mainfest_tool=no
7000 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7001 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7002 +  cat conftest.err >&5
7003 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7004 +    lt_cv_path_mainfest_tool=yes
7005 +  fi
7006 +  rm -f conftest*
7007 + fi
7008 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7009 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7010 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7011 +  MANIFEST_TOOL=:
7012 + fi
7013 +
7014 +
7015 +
7016 +
7017 +
7018  
7019    case $host_os in
7020      rhapsody* | darwin*)
# Line 6516 | Line 7023 | need_locks="$enable_libtool_lock"
7023   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025   $as_echo_n "checking for $ac_word... " >&6; }
7026 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7026 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7027    $as_echo_n "(cached) " >&6
7028   else
7029    if test -n "$DSYMUTIL"; then
# Line 6556 | Line 7063 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7063   set dummy dsymutil; ac_word=$2
7064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065   $as_echo_n "checking for $ac_word... " >&6; }
7066 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7066 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7067    $as_echo_n "(cached) " >&6
7068   else
7069    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6608 | Line 7115 | fi
7115   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117   $as_echo_n "checking for $ac_word... " >&6; }
7118 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7118 > if ${ac_cv_prog_NMEDIT+:} false; then :
7119    $as_echo_n "(cached) " >&6
7120   else
7121    if test -n "$NMEDIT"; then
# Line 6648 | Line 7155 | if test -z "$ac_cv_prog_NMEDIT"; then
7155   set dummy nmedit; ac_word=$2
7156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157   $as_echo_n "checking for $ac_word... " >&6; }
7158 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7158 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7159    $as_echo_n "(cached) " >&6
7160   else
7161    if test -n "$ac_ct_NMEDIT"; then
# Line 6700 | Line 7207 | fi
7207   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209   $as_echo_n "checking for $ac_word... " >&6; }
7210 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7210 > if ${ac_cv_prog_LIPO+:} false; then :
7211    $as_echo_n "(cached) " >&6
7212   else
7213    if test -n "$LIPO"; then
# Line 6740 | Line 7247 | if test -z "$ac_cv_prog_LIPO"; then
7247   set dummy lipo; ac_word=$2
7248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249   $as_echo_n "checking for $ac_word... " >&6; }
7250 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7250 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7251    $as_echo_n "(cached) " >&6
7252   else
7253    if test -n "$ac_ct_LIPO"; then
# Line 6792 | Line 7299 | fi
7299   set dummy ${ac_tool_prefix}otool; ac_word=$2
7300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301   $as_echo_n "checking for $ac_word... " >&6; }
7302 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7302 > if ${ac_cv_prog_OTOOL+:} false; then :
7303    $as_echo_n "(cached) " >&6
7304   else
7305    if test -n "$OTOOL"; then
# Line 6832 | Line 7339 | if test -z "$ac_cv_prog_OTOOL"; then
7339   set dummy otool; ac_word=$2
7340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341   $as_echo_n "checking for $ac_word... " >&6; }
7342 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7342 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7343    $as_echo_n "(cached) " >&6
7344   else
7345    if test -n "$ac_ct_OTOOL"; then
# Line 6884 | Line 7391 | fi
7391   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393   $as_echo_n "checking for $ac_word... " >&6; }
7394 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7394 > if ${ac_cv_prog_OTOOL64+:} false; then :
7395    $as_echo_n "(cached) " >&6
7396   else
7397    if test -n "$OTOOL64"; then
# Line 6924 | Line 7431 | if test -z "$ac_cv_prog_OTOOL64"; then
7431   set dummy otool64; ac_word=$2
7432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433   $as_echo_n "checking for $ac_word... " >&6; }
7434 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7434 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7435    $as_echo_n "(cached) " >&6
7436   else
7437    if test -n "$ac_ct_OTOOL64"; then
# Line 6999 | Line 7506 | fi
7506  
7507      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7508   $as_echo_n "checking for -single_module linker flag... " >&6; }
7509 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7509 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7510    $as_echo_n "(cached) " >&6
7511   else
7512    lt_cv_apple_cc_single_mod=no
# Line 7028 | Line 7535 | fi
7535   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7536      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7537   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7538 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7538 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7539    $as_echo_n "(cached) " >&6
7540   else
7541    lt_cv_ld_exported_symbols_list=no
# Line 7060 | Line 7567 | fi
7567   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7568      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7569   $as_echo_n "checking for -force_load linker flag... " >&6; }
7570 < if test "${lt_cv_ld_force_load+set}" = set; then :
7570 > if ${lt_cv_ld_force_load+:} false; then :
7571    $as_echo_n "(cached) " >&6
7572   else
7573    lt_cv_ld_force_load=no
# Line 7137 | Line 7644 | if test -n "$CPP" && test -d "$CPP"; the
7644    CPP=
7645   fi
7646   if test -z "$CPP"; then
7647 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7647 >  if ${ac_cv_prog_CPP+:} false; then :
7648    $as_echo_n "(cached) " >&6
7649   else
7650        # Double quotes because CPP needs to be expanded
# Line 7265 | Line 7772 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7772  
7773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7774   $as_echo_n "checking for ANSI C header files... " >&6; }
7775 < if test "${ac_cv_header_stdc+set}" = set; then :
7775 > if ${ac_cv_header_stdc+:} false; then :
7776    $as_echo_n "(cached) " >&6
7777   else
7778    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7396 | Line 7903 | for ac_header in dlfcn.h
7903   do :
7904    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7905   "
7906 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7906 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7907    cat >>confdefs.h <<_ACEOF
7908   #define HAVE_DLFCN_H 1
7909   _ACEOF
# Line 7581 | Line 8088 | fi
8088  
8089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8090   $as_echo_n "checking for objdir... " >&6; }
8091 < if test "${lt_cv_objdir+set}" = set; then :
8091 > if ${lt_cv_objdir+:} false; then :
8092    $as_echo_n "(cached) " >&6
8093   else
8094    rm -f .libs 2>/dev/null
# Line 7659 | Line 8166 | file_magic*)
8166    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8167      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8168   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8169 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8169 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8170    $as_echo_n "(cached) " >&6
8171   else
8172    case $MAGIC_CMD in
# Line 7725 | Line 8232 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8232    if test -n "$ac_tool_prefix"; then
8233      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8234   $as_echo_n "checking for file... " >&6; }
8235 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8235 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8236    $as_echo_n "(cached) " >&6
8237   else
8238    case $MAGIC_CMD in
# Line 7863 | Line 8370 | if test "$GCC" = yes; then
8370  
8371    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8372   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8373 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8373 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8374    $as_echo_n "(cached) " >&6
8375   else
8376    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7916 | Line 8423 | fi
8423   lt_prog_compiler_pic=
8424   lt_prog_compiler_static=
8425  
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; }
8426  
8427    if test "$GCC" = yes; then
8428      lt_prog_compiler_wl='-Wl,'
# Line 8082 | Line 8587 | $as_echo_n "checking for $compiler optio
8587          lt_prog_compiler_pic='--shared'
8588          lt_prog_compiler_static='--static'
8589          ;;
8590 +      nagfor*)
8591 +        # NAG Fortran compiler
8592 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8593 +        lt_prog_compiler_pic='-PIC'
8594 +        lt_prog_compiler_static='-Bstatic'
8595 +        ;;
8596        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8597          # Portland Group compilers (*not* the Pentium gcc compiler,
8598          # which looks to be a dead project)
# Line 8201 | Line 8712 | case $host_os in
8712      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8713      ;;
8714   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
8715  
8716 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8717 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8718 + if ${lt_cv_prog_compiler_pic+:} false; then :
8719 +  $as_echo_n "(cached) " >&6
8720 + else
8721 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8722 + fi
8723 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8724 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8725 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8726  
8727   #
8728   # Check to make sure the PIC flag actually works.
# Line 8215 | Line 8730 | $as_echo "$lt_prog_compiler_pic" >&6; }
8730   if test -n "$lt_prog_compiler_pic"; then
8731    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8732   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8733 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8733 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8734    $as_echo_n "(cached) " >&6
8735   else
8736    lt_cv_prog_compiler_pic_works=no
# Line 8268 | Line 8783 | fi
8783  
8784  
8785  
8786 +
8787 +
8788 +
8789 +
8790 +
8791   #
8792   # Check to make sure the static flag actually works.
8793   #
8794   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8796   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8797 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8797 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8798    $as_echo_n "(cached) " >&6
8799   else
8800    lt_cv_prog_compiler_static_works=no
# Line 8317 | Line 8837 | fi
8837  
8838    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8839   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8840 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8840 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8841    $as_echo_n "(cached) " >&6
8842   else
8843    lt_cv_prog_compiler_c_o=no
# Line 8372 | Line 8892 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8892  
8893    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8894   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8895 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8895 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8896    $as_echo_n "(cached) " >&6
8897   else
8898    lt_cv_prog_compiler_c_o=no
# Line 8618 | Line 9138 | _LT_EOF
9138        allow_undefined_flag=unsupported
9139        always_export_symbols=no
9140        enable_shared_with_static_runtimes=yes
9141 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9141 >      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'
9142 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9143  
9144        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9145          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 9187 | _LT_EOF
9187        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9188           && test "$tmp_diet" = no
9189        then
9190 <        tmp_addflag=
9190 >        tmp_addflag=' $pic_flag'
9191          tmp_sharedflag='-shared'
9192          case $cc_basename,$host_cpu in
9193          pgcc*)                          # Portland Group C compiler
# Line 8736 | Line 9257 | _LT_EOF
9257          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9258          wlarc=
9259        else
9260 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9261 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9260 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9261 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9262        fi
9263        ;;
9264  
# Line 8755 | Line 9276 | _LT_EOF
9276  
9277   _LT_EOF
9278        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9279 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9280 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9279 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9280 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9281        else
9282          ld_shlibs=no
9283        fi
# Line 8802 | Line 9323 | _LT_EOF
9323  
9324      *)
9325        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9326 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9327 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9326 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9327 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9328        else
9329          ld_shlibs=no
9330        fi
# Line 8933 | Line 9454 | _LT_EOF
9454          allow_undefined_flag='-berok'
9455          # Determine the default libpath from the value encoded in an
9456          # empty executable.
9457 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 >        if test "${lt_cv_aix_libpath+set}" = set; then
9458 >  aix_libpath=$lt_cv_aix_libpath
9459 > else
9460 >  if ${lt_cv_aix_libpath_+:} false; then :
9461 >  $as_echo_n "(cached) " >&6
9462 > else
9463 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464   /* end confdefs.h.  */
9465  
9466   int
# Line 8946 | Line 9473 | main ()
9473   _ACEOF
9474   if ac_fn_c_try_link "$LINENO"; then :
9475  
9476 < lt_aix_libpath_sed='
9477 <    /Import File Strings/,/^$/ {
9478 <        /^0/ {
9479 <            s/^0  *\(.*\)$/\1/
9480 <            p
9481 <        }
9482 <    }'
9483 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9484 < # Check for a 64-bit object if we didn't find anything.
9485 < if test -z "$aix_libpath"; then
9486 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9487 < fi
9476 >  lt_aix_libpath_sed='
9477 >      /Import File Strings/,/^$/ {
9478 >          /^0/ {
9479 >              s/^0  *\([^ ]*\) *$/\1/
9480 >              p
9481 >          }
9482 >      }'
9483 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9484 >  # Check for a 64-bit object if we didn't find anything.
9485 >  if test -z "$lt_cv_aix_libpath_"; then
9486 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9487 >  fi
9488   fi
9489   rm -f core conftest.err conftest.$ac_objext \
9490      conftest$ac_exeext conftest.$ac_ext
9491 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9491 >  if test -z "$lt_cv_aix_libpath_"; then
9492 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9493 >  fi
9494 >
9495 > fi
9496 >
9497 >  aix_libpath=$lt_cv_aix_libpath_
9498 > fi
9499  
9500          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9501          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 9507 | if test -z "$aix_libpath"; then aix_libp
9507          else
9508           # Determine the default libpath from the value encoded in an
9509           # empty executable.
9510 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9510 >         if test "${lt_cv_aix_libpath+set}" = set; then
9511 >  aix_libpath=$lt_cv_aix_libpath
9512 > else
9513 >  if ${lt_cv_aix_libpath_+:} false; then :
9514 >  $as_echo_n "(cached) " >&6
9515 > else
9516 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9517   /* end confdefs.h.  */
9518  
9519   int
# Line 8986 | Line 9526 | main ()
9526   _ACEOF
9527   if ac_fn_c_try_link "$LINENO"; then :
9528  
9529 < lt_aix_libpath_sed='
9530 <    /Import File Strings/,/^$/ {
9531 <        /^0/ {
9532 <            s/^0  *\(.*\)$/\1/
9533 <            p
9534 <        }
9535 <    }'
9536 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9537 < # Check for a 64-bit object if we didn't find anything.
9538 < if test -z "$aix_libpath"; then
9539 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9540 < fi
9529 >  lt_aix_libpath_sed='
9530 >      /Import File Strings/,/^$/ {
9531 >          /^0/ {
9532 >              s/^0  *\([^ ]*\) *$/\1/
9533 >              p
9534 >          }
9535 >      }'
9536 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9537 >  # Check for a 64-bit object if we didn't find anything.
9538 >  if test -z "$lt_cv_aix_libpath_"; then
9539 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9540 >  fi
9541   fi
9542   rm -f core conftest.err conftest.$ac_objext \
9543      conftest$ac_exeext conftest.$ac_ext
9544 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9544 >  if test -z "$lt_cv_aix_libpath_"; then
9545 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9546 >  fi
9547 >
9548 > fi
9549 >
9550 >  aix_libpath=$lt_cv_aix_libpath_
9551 > fi
9552  
9553           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9554            # Warning - without using the other run time loading flags,
# Line 9046 | Line 9593 | if test -z "$aix_libpath"; then aix_libp
9593        # Microsoft Visual C++.
9594        # hardcode_libdir_flag_spec is actually meaningless, as there is
9595        # no search path for DLLs.
9596 <      hardcode_libdir_flag_spec=' '
9597 <      allow_undefined_flag=unsupported
9598 <      # Tell ltmain to make .lib files, not .a files.
9599 <      libext=lib
9600 <      # Tell ltmain to make .dll files, not .so files.
9601 <      shrext_cmds=".dll"
9602 <      # FIXME: Setting linknames here is a bad hack.
9603 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9604 <      # The linker will automatically build a .lib file if we build a DLL.
9605 <      old_archive_from_new_cmds='true'
9606 <      # FIXME: Should let the user specify the lib program.
9607 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9608 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9609 <      enable_shared_with_static_runtimes=yes
9596 >      case $cc_basename in
9597 >      cl*)
9598 >        # Native MSVC
9599 >        hardcode_libdir_flag_spec=' '
9600 >        allow_undefined_flag=unsupported
9601 >        always_export_symbols=yes
9602 >        file_list_spec='@'
9603 >        # Tell ltmain to make .lib files, not .a files.
9604 >        libext=lib
9605 >        # Tell ltmain to make .dll files, not .so files.
9606 >        shrext_cmds=".dll"
9607 >        # FIXME: Setting linknames here is a bad hack.
9608 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9609 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9610 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9611 >          else
9612 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9613 >          fi~
9614 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9615 >          linknames='
9616 >        # The linker will not automatically build a static lib if we build a DLL.
9617 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9618 >        enable_shared_with_static_runtimes=yes
9619 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9620 >        # Don't use ranlib
9621 >        old_postinstall_cmds='chmod 644 $oldlib'
9622 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9623 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9624 >          case $lt_outputfile in
9625 >            *.exe|*.EXE) ;;
9626 >            *)
9627 >              lt_outputfile="$lt_outputfile.exe"
9628 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9629 >              ;;
9630 >          esac~
9631 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9632 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9633 >            $RM "$lt_outputfile.manifest";
9634 >          fi'
9635 >        ;;
9636 >      *)
9637 >        # Assume MSVC wrapper
9638 >        hardcode_libdir_flag_spec=' '
9639 >        allow_undefined_flag=unsupported
9640 >        # Tell ltmain to make .lib files, not .a files.
9641 >        libext=lib
9642 >        # Tell ltmain to make .dll files, not .so files.
9643 >        shrext_cmds=".dll"
9644 >        # FIXME: Setting linknames here is a bad hack.
9645 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9646 >        # The linker will automatically build a .lib file if we build a DLL.
9647 >        old_archive_from_new_cmds='true'
9648 >        # FIXME: Should let the user specify the lib program.
9649 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9650 >        enable_shared_with_static_runtimes=yes
9651 >        ;;
9652 >      esac
9653        ;;
9654  
9655      darwin* | rhapsody*)
# Line 9124 | Line 9714 | if test -z "$aix_libpath"; then aix_libp
9714  
9715      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9716      freebsd* | dragonfly*)
9717 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9717 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9718        hardcode_libdir_flag_spec='-R$libdir'
9719        hardcode_direct=yes
9720        hardcode_shlibpath_var=no
# Line 9132 | Line 9722 | if test -z "$aix_libpath"; then aix_libp
9722  
9723      hpux9*)
9724        if test "$GCC" = yes; then
9725 <        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'
9725 >        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'
9726        else
9727          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'
9728        fi
# Line 9148 | Line 9738 | if test -z "$aix_libpath"; then aix_libp
9738  
9739      hpux10*)
9740        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9741 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9741 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9742        else
9743          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9744        fi
# Line 9172 | Line 9762 | if test -z "$aix_libpath"; then aix_libp
9762            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9763            ;;
9764          ia64*)
9765 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9765 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9766            ;;
9767          *)
9768 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9768 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9769            ;;
9770          esac
9771        else
# Line 9192 | Line 9782 | if test -z "$aix_libpath"; then aix_libp
9782            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9783            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9784   $as_echo_n "checking if $CC understands -b... " >&6; }
9785 < if test "${lt_cv_prog_compiler__b+set}" = set; then :
9785 > if ${lt_cv_prog_compiler__b+:} false; then :
9786    $as_echo_n "(cached) " >&6
9787   else
9788    lt_cv_prog_compiler__b=no
# Line 9254 | Line 9844 | fi
9844  
9845      irix5* | irix6* | nonstopux*)
9846        if test "$GCC" = yes; then
9847 <        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'
9847 >        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'
9848          # Try to use the -exported_symbol ld option, if it does not
9849          # work, assume that -exports_file does not work either and
9850          # implicitly export all symbols.
9851 <        save_LDFLAGS="$LDFLAGS"
9852 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9853 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9851 >        # This should be the same for all languages, so no per-tag cache variable.
9852 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9853 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9854 > if ${lt_cv_irix_exported_symbol+:} false; then :
9855 >  $as_echo_n "(cached) " >&6
9856 > else
9857 >  save_LDFLAGS="$LDFLAGS"
9858 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9859 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860   /* end confdefs.h.  */
9861 < int foo(void) {}
9861 > int foo (void) { return 0; }
9862   _ACEOF
9863   if ac_fn_c_try_link "$LINENO"; then :
9864 <  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'
9865 <
9864 >  lt_cv_irix_exported_symbol=yes
9865 > else
9866 >  lt_cv_irix_exported_symbol=no
9867   fi
9868   rm -f core conftest.err conftest.$ac_objext \
9869      conftest$ac_exeext conftest.$ac_ext
9870 <        LDFLAGS="$save_LDFLAGS"
9870 >           LDFLAGS="$save_LDFLAGS"
9871 > fi
9872 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9873 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9874 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9875 >          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'
9876 >        fi
9877        else
9878          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'
9879          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 9958 | rm -f core conftest.err conftest.$ac_obj
9958      osf4* | osf5*)      # as osf3* with the addition of -msym flag
9959        if test "$GCC" = yes; then
9960          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9961 <        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'
9961 >        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'
9962          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9963        else
9964          allow_undefined_flag=' -expect_unresolved \*'
# Line 9374 | Line 9977 | rm -f core conftest.err conftest.$ac_obj
9977        no_undefined_flag=' -z defs'
9978        if test "$GCC" = yes; then
9979          wlarc='${wl}'
9980 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9980 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9981          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9982 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9982 >          $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'
9983        else
9984          case `$CC -V 2>&1` in
9985          *"Compilers 5.0"*)
# Line 9564 | Line 10167 | x|xyes)
10167        # to ld, don't add -lc before -lgcc.
10168        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10169   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10170 < if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10170 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10171    $as_echo_n "(cached) " >&6
10172   else
10173    $RM conftest*
# Line 9952 | Line 10555 | cygwin* | mingw* | pw32* | cegcc*)
10555    need_version=no
10556    need_lib_prefix=no
10557  
10558 <  case $GCC,$host_os in
10559 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10558 >  case $GCC,$cc_basename in
10559 >  yes,*)
10560 >    # gcc
10561      library_names_spec='$libname.dll.a'
10562      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10563      postinstall_cmds='base_file=`basename \${file}`~
# Line 9986 | Line 10590 | cygwin* | mingw* | pw32* | cegcc*)
10590        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10591        ;;
10592      esac
10593 +    dynamic_linker='Win32 ld.exe'
10594 +    ;;
10595 +
10596 +  *,cl*)
10597 +    # Native MSVC
10598 +    libname_spec='$name'
10599 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10600 +    library_names_spec='${libname}.dll.lib'
10601 +
10602 +    case $build_os in
10603 +    mingw*)
10604 +      sys_lib_search_path_spec=
10605 +      lt_save_ifs=$IFS
10606 +      IFS=';'
10607 +      for lt_path in $LIB
10608 +      do
10609 +        IFS=$lt_save_ifs
10610 +        # Let DOS variable expansion print the short 8.3 style file name.
10611 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10612 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10613 +      done
10614 +      IFS=$lt_save_ifs
10615 +      # Convert to MSYS style.
10616 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10617 +      ;;
10618 +    cygwin*)
10619 +      # Convert to unix form, then to dos form, then back to unix form
10620 +      # but this time dos style (no spaces!) so that the unix form looks
10621 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10622 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10623 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10624 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10625 +      ;;
10626 +    *)
10627 +      sys_lib_search_path_spec="$LIB"
10628 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10629 +        # It is most probably a Windows format PATH.
10630 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10631 +      else
10632 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10633 +      fi
10634 +      # FIXME: find the short name or the path components, as spaces are
10635 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10636 +      ;;
10637 +    esac
10638 +
10639 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10640 +    postinstall_cmds='base_file=`basename \${file}`~
10641 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10642 +      dldir=$destdir/`dirname \$dlpath`~
10643 +      test -d \$dldir || mkdir -p \$dldir~
10644 +      $install_prog $dir/$dlname \$dldir/$dlname'
10645 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10646 +      dlpath=$dir/\$dldll~
10647 +       $RM \$dlpath'
10648 +    shlibpath_overrides_runpath=yes
10649 +    dynamic_linker='Win32 link.exe'
10650      ;;
10651  
10652    *)
10653 +    # Assume MSVC wrapper
10654      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10655 +    dynamic_linker='Win32 ld.exe'
10656      ;;
10657    esac
9995  dynamic_linker='Win32 ld.exe'
10658    # FIXME: first we should search . and the directory the executable is in
10659    shlibpath_var=PATH
10660    ;;
# Line 10206 | Line 10868 | linux* | k*bsd*-gnu | kopensolaris*-gnu)
10868    shlibpath_overrides_runpath=no
10869  
10870    # Some binutils ld are patched to set DT_RUNPATH
10871 <  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10871 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10872    $as_echo_n "(cached) " >&6
10873   else
10874    lt_cv_shlibpath_overrides_runpath=no
# Line 10626 | Line 11288 | else
11288    # if libdl is installed we need to link against it
11289      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11290   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11291 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11291 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11292    $as_echo_n "(cached) " >&6
11293   else
11294    ac_check_lib_save_LIBS=$LIBS
# Line 10660 | Line 11322 | LIBS=$ac_check_lib_save_LIBS
11322   fi
11323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11324   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11325 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11325 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11326    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11327   else
11328  
# Line 10674 | Line 11336 | fi
11336  
11337    *)
11338      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11339 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11339 > if test "x$ac_cv_func_shl_load" = xyes; then :
11340    lt_cv_dlopen="shl_load"
11341   else
11342    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11343   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11344 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11344 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11345    $as_echo_n "(cached) " >&6
11346   else
11347    ac_check_lib_save_LIBS=$LIBS
# Line 10713 | Line 11375 | LIBS=$ac_check_lib_save_LIBS
11375   fi
11376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11377   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11378 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11378 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11379    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11380   else
11381    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11382 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11382 > if test "x$ac_cv_func_dlopen" = xyes; then :
11383    lt_cv_dlopen="dlopen"
11384   else
11385    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11386   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11387 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11387 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11388    $as_echo_n "(cached) " >&6
11389   else
11390    ac_check_lib_save_LIBS=$LIBS
# Line 10756 | Line 11418 | LIBS=$ac_check_lib_save_LIBS
11418   fi
11419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11420   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11421 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11421 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11422    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11423   else
11424    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11425   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11426 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11426 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11427    $as_echo_n "(cached) " >&6
11428   else
11429    ac_check_lib_save_LIBS=$LIBS
# Line 10795 | Line 11457 | LIBS=$ac_check_lib_save_LIBS
11457   fi
11458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11459   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11460 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11460 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11461    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11462   else
11463    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11464   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11465 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11465 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11466    $as_echo_n "(cached) " >&6
11467   else
11468    ac_check_lib_save_LIBS=$LIBS
# Line 10834 | Line 11496 | LIBS=$ac_check_lib_save_LIBS
11496   fi
11497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11498   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11499 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11499 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11500    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11501   fi
11502  
# Line 10875 | Line 11537 | fi
11537  
11538      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11539   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11540 < if test "${lt_cv_dlopen_self+set}" = set; then :
11540 > if ${lt_cv_dlopen_self+:} false; then :
11541    $as_echo_n "(cached) " >&6
11542   else
11543            if test "$cross_compiling" = yes; then :
# Line 10928 | Line 11590 | else
11590   /* When -fvisbility=hidden is used, assume the code has been annotated
11591     correspondingly for the symbols needed.  */
11592   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11593 < void fnord () __attribute__((visibility("default")));
11593 > int fnord () __attribute__((visibility("default")));
11594   #endif
11595  
11596 < void fnord () { int i=42; }
11596 > int fnord () { return 42; }
11597   int main ()
11598   {
11599    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10981 | Line 11643 | $as_echo "$lt_cv_dlopen_self" >&6; }
11643        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11644        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11645   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11646 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11646 > if ${lt_cv_dlopen_self_static+:} false; then :
11647    $as_echo_n "(cached) " >&6
11648   else
11649            if test "$cross_compiling" = yes; then :
# Line 11034 | Line 11696 | else
11696   /* When -fvisbility=hidden is used, assume the code has been annotated
11697     correspondingly for the symbols needed.  */
11698   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11699 < void fnord () __attribute__((visibility("default")));
11699 > int fnord () __attribute__((visibility("default")));
11700   #endif
11701  
11702 < void fnord () { int i=42; }
11702 > int fnord () { return 42; }
11703   int main ()
11704   {
11705    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11229 | Line 11891 | CC="$lt_save_CC"
11891  
11892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11893   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11894 < if test "${libltdl_cv_shlibext+set}" = set; then :
11894 > if ${libltdl_cv_shlibext+:} false; then :
11895    $as_echo_n "(cached) " >&6
11896   else
11897  
# Line 11249 | Line 11911 | fi
11911  
11912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11913   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11914 < if test "${lt_cv_module_path_var+set}" = set; then :
11914 > if ${lt_cv_module_path_var+:} false; then :
11915    $as_echo_n "(cached) " >&6
11916   else
11917    lt_cv_module_path_var="$shlibpath_var"
# Line 11266 | Line 11928 | fi
11928  
11929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11930   $as_echo_n "checking for the default library search path... " >&6; }
11931 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11931 > if ${lt_cv_sys_dlsearch_path+:} false; then :
11932    $as_echo_n "(cached) " >&6
11933   else
11934    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11303 | Line 11965 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
11965   LIBADD_DLOPEN=
11966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11967   $as_echo_n "checking for library containing dlopen... " >&6; }
11968 < if test "${ac_cv_search_dlopen+set}" = set; then :
11968 > if ${ac_cv_search_dlopen+:} false; then :
11969    $as_echo_n "(cached) " >&6
11970   else
11971    ac_func_search_save_LIBS=$LIBS
# Line 11337 | Line 11999 | for ac_lib in '' dl; do
11999   fi
12000   rm -f core conftest.err conftest.$ac_objext \
12001      conftest$ac_exeext
12002 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12002 >  if ${ac_cv_search_dlopen+:} false; then :
12003    break
12004   fi
12005   done
12006 < if test "${ac_cv_search_dlopen+set}" = set; then :
12006 > if ${ac_cv_search_dlopen+:} false; then :
12007  
12008   else
12009    ac_cv_search_dlopen=no
# Line 11386 | Line 12048 | $as_echo "#define HAVE_LIBDL 1" >>confde
12048   else
12049    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12050   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12051 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12051 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12052    $as_echo_n "(cached) " >&6
12053   else
12054    ac_check_lib_save_LIBS=$LIBS
# Line 11420 | Line 12082 | LIBS=$ac_check_lib_save_LIBS
12082   fi
12083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12084   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12085 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12085 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12086  
12087   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12088  
# Line 11440 | Line 12102 | then
12102    for ac_func in dlerror
12103   do :
12104    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12105 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12105 > if test "x$ac_cv_func_dlerror" = xyes; then :
12106    cat >>confdefs.h <<_ACEOF
12107   #define HAVE_DLERROR 1
12108   _ACEOF
# Line 11454 | Line 12116 | fi
12116  
12117   LIBADD_SHL_LOAD=
12118   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12119 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12119 > if test "x$ac_cv_func_shl_load" = xyes; then :
12120  
12121   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12122  
# Line 11462 | Line 12124 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12124   else
12125    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12126   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12127 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12127 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12128    $as_echo_n "(cached) " >&6
12129   else
12130    ac_check_lib_save_LIBS=$LIBS
# Line 11496 | Line 12158 | LIBS=$ac_check_lib_save_LIBS
12158   fi
12159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12160   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12161 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12161 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12162  
12163   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12164  
# Line 11512 | Line 12174 | case $host_os in
12174   darwin[1567].*)
12175   # We only want this for pre-Mac OS X 10.4.
12176    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12177 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12177 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12178  
12179   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12180  
# Line 11526 | Line 12188 | beos*)
12188   cygwin* | mingw* | os2* | pw32*)
12189    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12190   "
12191 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12191 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12192    ac_have_decl=1
12193   else
12194    ac_have_decl=0
# Line 11542 | Line 12204 | esac
12204  
12205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12206   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12207 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12207 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12208    $as_echo_n "(cached) " >&6
12209   else
12210    ac_check_lib_save_LIBS=$LIBS
# Line 11576 | Line 12238 | LIBS=$ac_check_lib_save_LIBS
12238   fi
12239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12240   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12241 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12241 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12242  
12243   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12244  
# Line 11610 | Line 12272 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12272  
12273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12274   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12275 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12275 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12276    $as_echo_n "(cached) " >&6
12277   else
12278    lt_cv_sys_symbol_underscore=no
# Line 11660 | Line 12322 | if test x"$lt_cv_sys_symbol_underscore"
12322       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12323          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12324   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12325 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12325 > if ${libltdl_cv_need_uscore+:} false; then :
12326    $as_echo_n "(cached) " >&6
12327   else
12328    libltdl_cv_need_uscore=unknown
# Line 11716 | Line 12378 | else
12378   /* When -fvisbility=hidden is used, assume the code has been annotated
12379     correspondingly for the symbols needed.  */
12380   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12381 < void fnord () __attribute__((visibility("default")));
12381 > int fnord () __attribute__((visibility("default")));
12382   #endif
12383  
12384 < void fnord () { int i=42; }
12384 > int fnord () { return 42; }
12385   int main ()
12386   {
12387    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11776 | Line 12438 | fi
12438  
12439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12440   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12441 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12441 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12442    $as_echo_n "(cached) " >&6
12443   else
12444    # PORTME does your system automatically load deplibs for dlopen?
# Line 11882 | Line 12544 | for ac_header in argz.h
12544   do :
12545    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12546   "
12547 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12547 > if test "x$ac_cv_header_argz_h" = xyes; then :
12548    cat >>confdefs.h <<_ACEOF
12549   #define HAVE_ARGZ_H 1
12550   _ACEOF
# Line 11896 | Line 12558 | ac_fn_c_check_type "$LINENO" "error_t" "
12558   #  include <argz.h>
12559   #endif
12560   "
12561 < if test "x$ac_cv_type_error_t" = x""yes; then :
12561 > if test "x$ac_cv_type_error_t" = xyes; then :
12562  
12563   cat >>confdefs.h <<_ACEOF
12564   #define HAVE_ERROR_T 1
# Line 11936 | Line 12598 | done
12598   if test -z "$ARGZ_H"; then :
12599    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12600   $as_echo_n "checking if argz actually works... " >&6; }
12601 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12601 > if ${lt_cv_sys_argz_works+:} false; then :
12602    $as_echo_n "(cached) " >&6
12603   else
12604    case $host_os in #(
# Line 11967 | Line 12629 | else
12629   fi
12630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12631   $as_echo "$lt_cv_sys_argz_works" >&6; }
12632 <     if test $lt_cv_sys_argz_works = yes; then :
12632 >     if test "$lt_cv_sys_argz_works" = yes; then :
12633  
12634   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12635  
# Line 11984 | Line 12646 | fi
12646  
12647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12648   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12649 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12649 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12650    $as_echo_n "(cached) " >&6
12651   else
12652    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 12026 | Line 12688 | if test "x$with_included_ltdl" != xyes;
12688    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12689  
12690   "
12691 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12691 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12692    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12693              #include <ltdl.h>
12694   "
12695 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12695 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12696    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12697   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12698 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12698 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12699    $as_echo_n "(cached) " >&6
12700   else
12701    ac_check_lib_save_LIBS=$LIBS
# Line 12067 | Line 12729 | LIBS=$ac_check_lib_save_LIBS
12729   fi
12730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12731   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12732 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12732 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12733    with_included_ltdl=no
12734   else
12735    with_included_ltdl=yes
# Line 12267 | Line 12929 | cat >>confdefs.h <<_ACEOF
12929   _ACEOF
12930  
12931  
12932 + name=
12933 + eval "lt_libprefix=\"$libname_spec\""
12934 +
12935 + cat >>confdefs.h <<_ACEOF
12936 + #define LT_LIBPREFIX "$lt_libprefix"
12937 + _ACEOF
12938 +
12939 +
12940   name=ltdl
12941 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
12941 > eval "LTDLOPEN=\"$libname_spec\""
12942  
12943  
12944  
# Line 12286 | Line 12956 | LIBTOOL="$LIBTOOL --silent"
12956  
12957    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12958   $as_echo_n "checking for library containing socket... " >&6; }
12959 < if test "${ac_cv_search_socket+set}" = set; then :
12959 > if ${ac_cv_search_socket+:} false; then :
12960    $as_echo_n "(cached) " >&6
12961   else
12962    ac_func_search_save_LIBS=$LIBS
# Line 12320 | Line 12990 | for ac_lib in '' socket; do
12990   fi
12991   rm -f core conftest.err conftest.$ac_objext \
12992      conftest$ac_exeext
12993 <  if test "${ac_cv_search_socket+set}" = set; then :
12993 >  if ${ac_cv_search_socket+:} false; then :
12994    break
12995   fi
12996   done
12997 < if test "${ac_cv_search_socket+set}" = set; then :
12997 > if ${ac_cv_search_socket+:} false; then :
12998  
12999   else
13000    ac_cv_search_socket=no
# Line 12344 | Line 13014 | fi
13014  
13015    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13016   $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13017 < if test "${ac_cv_search_inet_ntoa+set}" = set; then :
13017 > if ${ac_cv_search_inet_ntoa+:} false; then :
13018    $as_echo_n "(cached) " >&6
13019   else
13020    ac_func_search_save_LIBS=$LIBS
# Line 12378 | Line 13048 | for ac_lib in '' nsl; do
13048   fi
13049   rm -f core conftest.err conftest.$ac_objext \
13050      conftest$ac_exeext
13051 <  if test "${ac_cv_search_inet_ntoa+set}" = set; then :
13051 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13052    break
13053   fi
13054   done
13055 < if test "${ac_cv_search_inet_ntoa+set}" = set; then :
13055 > if ${ac_cv_search_inet_ntoa+:} false; then :
13056  
13057   else
13058    ac_cv_search_inet_ntoa=no
# Line 12400 | Line 13070 | fi
13070  
13071    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13072   $as_echo_n "checking for library containing inet_aton... " >&6; }
13073 < if test "${ac_cv_search_inet_aton+set}" = set; then :
13073 > if ${ac_cv_search_inet_aton+:} false; then :
13074    $as_echo_n "(cached) " >&6
13075   else
13076    ac_func_search_save_LIBS=$LIBS
# Line 12434 | Line 13104 | for ac_lib in '' resolv; do
13104   fi
13105   rm -f core conftest.err conftest.$ac_objext \
13106      conftest$ac_exeext
13107 <  if test "${ac_cv_search_inet_aton+set}" = set; then :
13107 >  if ${ac_cv_search_inet_aton+:} false; then :
13108    break
13109   fi
13110   done
13111 < if test "${ac_cv_search_inet_aton+set}" = set; then :
13111 > if ${ac_cv_search_inet_aton+:} false; then :
13112  
13113   else
13114    ac_cv_search_inet_aton=no
# Line 12471 | Line 13141 | done
13141     #include <netdb.h>
13142  
13143   "
13144 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13144 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13145  
13146   cat >>confdefs.h <<_ACEOF
13147   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12484 | Line 13154 | ac_fn_c_check_type "$LINENO" "struct soc
13154     #include <netdb.h>
13155  
13156   "
13157 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13157 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13158  
13159   cat >>confdefs.h <<_ACEOF
13160   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12497 | Line 13167 | ac_fn_c_check_type "$LINENO" "struct add
13167     #include <netdb.h>
13168  
13169   "
13170 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13170 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13171  
13172   cat >>confdefs.h <<_ACEOF
13173   #define HAVE_STRUCT_ADDRINFO 1
# Line 12509 | Line 13179 | fi
13179    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13180    <sys/socket.h>
13181   "
13182 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13182 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13183  
13184   cat >>confdefs.h <<_ACEOF
13185   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12520 | Line 13190 | fi
13190  
13191  
13192  
13193 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13194 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13195 <
12526 < cat >>confdefs.h <<_ACEOF
12527 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12528 < _ACEOF
12529 <
12530 <
12531 < else
13193 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13194 > "
13195 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13196  
13197   $as_echo "#define IPV6 1" >>confdefs.h
13198  
# Line 12539 | Line 13203 | fi
13203   # Checks for typedefs, structures, and compiler characteristics.
13204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13205   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13206 < if test "${ac_cv_c_bigendian+set}" = set; then :
13206 > if ${ac_cv_c_bigendian+:} false; then :
13207    $as_echo_n "(cached) " >&6
13208   else
13209    ac_cv_c_bigendian=unknown
# Line 12790 | Line 13454 | done
13454  
13455  
13456  
13457 +
13458 +
13459   # Checks for header files.
13460  
13461  
# Line 12856 | Line 13522 | fi
13522  
13523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13524   $as_echo_n "checking for library containing crypt... " >&6; }
13525 < if test "${ac_cv_search_crypt+set}" = set; then :
13525 > if ${ac_cv_search_crypt+:} false; then :
13526    $as_echo_n "(cached) " >&6
13527   else
13528    ac_func_search_save_LIBS=$LIBS
# Line 12890 | Line 13556 | for ac_lib in '' crypt; do
13556   fi
13557   rm -f core conftest.err conftest.$ac_objext \
13558      conftest$ac_exeext
13559 <  if test "${ac_cv_search_crypt+set}" = set; then :
13559 >  if ${ac_cv_search_crypt+:} false; then :
13560    break
13561   fi
13562   done
13563 < if test "${ac_cv_search_crypt+set}" = set; then :
13563 > if ${ac_cv_search_crypt+:} false; then :
13564  
13565   else
13566    ac_cv_search_crypt=no
# Line 12930 | Line 13596 | fi
13596   if test "$zlib" = "yes"; then :
13597  
13598    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13599 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
13599 > if test "x$ac_cv_header_zlib_h" = xyes; then :
13600    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13601   $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13602 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13602 > if ${ac_cv_lib_z_zlibVersion+:} false; then :
13603    $as_echo_n "(cached) " >&6
13604   else
13605    ac_check_lib_save_LIBS=$LIBS
# Line 12967 | Line 13633 | LIBS=$ac_check_lib_save_LIBS
13633   fi
13634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13635   $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13636 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
13636 > if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13637  
13638        LIBS="-lz $LIBS"
13639  
# Line 13005 | Line 13671 | fi
13671   if test "$libpcre" = "yes"; then :
13672  
13673    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13674 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13674 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13675    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13676   $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13677 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13677 > if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13678    $as_echo_n "(cached) " >&6
13679   else
13680    ac_check_lib_save_LIBS=$LIBS
# Line 13042 | Line 13708 | LIBS=$ac_check_lib_save_LIBS
13708   fi
13709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13710   $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13711 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13711 > if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13712  
13713        LIBS="-lpcre $LIBS"
13714  
# Line 13137 | Line 13803 | else
13803    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13804   /* end confdefs.h.  */
13805  
13806 +
13807      #include <openssl/opensslv.h>
13808      #include <stdlib.h>
13809   int
13810   main ()
13811   {
13812 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13812 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13813    ;
13814    return 0;
13815   }
# Line 13163 | Line 13830 | $as_echo "found" >&6; }
13830  
13831      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13832   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13833 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13833 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13834    $as_echo_n "(cached) " >&6
13835   else
13836    ac_check_lib_save_LIBS=$LIBS
# Line 13197 | Line 13864 | LIBS=$ac_check_lib_save_LIBS
13864   fi
13865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13866   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13867 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13867 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13868    cat >>confdefs.h <<_ACEOF
13869   #define HAVE_LIBCRYPTO 1
13870   _ACEOF
# Line 13472 | Line 14139 | else
14139   #endif
14140   _syscall1(int, epoll_create, int, size)
14141   #endif
13475 main() { return epoll_create(256) == -1 ? 1 : 0; }
14142  
14143 + int
14144 + main ()
14145 + {
14146 + return epoll_create(256) == -1 ? 1 : 0
14147 +  ;
14148 +  return 0;
14149 + }
14150   _ACEOF
14151   if ac_fn_c_try_run "$LINENO"; then :
14152    is_epoll_mechanism_available="yes"
# Line 13549 | Line 14222 | else
14222    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223   /* end confdefs.h.  */
14224  
14225 + #define _GNU_SOURCE
14226   #include <fcntl.h>
14227 < #ifdef F_SETSIG
13554 < main () { return 0; } /* F_SETSIG defined */
13555 < #else
13556 < main () { return 1; } /* F_SETSIG not defined */
13557 < #endif
14227 > static unsigned int have_f_setsig = 0;
14228  
14229   int
14230   main ()
14231   {
14232  
14233 + #ifdef F_SETSIG
14234 +  have_f_setsig = 1;
14235 + #endif
14236 +  return have_f_setsig == 0;
14237 +
14238    ;
14239    return 0;
14240   }
# Line 13776 | Line 14451 | fi
14451  
14452   $as_echo "#define EFNET 1" >>confdefs.h
14453  
13779
13780 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13781
14454          else
14455                  use_efnet="no"
14456    fi
# Line 14029 | Line 14701 | $as_echo "$as_me: WARNING: cache variabl
14701       :end' >>confcache
14702   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14703    if test -w "$cache_file"; then
14704 <    test "x$cache_file" != "x/dev/null" &&
14704 >    if test "x$cache_file" != "x/dev/null"; then
14705        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14706   $as_echo "$as_me: updating cache $cache_file" >&6;}
14707 <    cat confcache >$cache_file
14707 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14708 >        cat confcache >"$cache_file"
14709 >      else
14710 >        case $cache_file in #(
14711 >        */* | ?:*)
14712 >          mv -f confcache "$cache_file"$$ &&
14713 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14714 >        *)
14715 >          mv -f confcache "$cache_file" ;;
14716 >        esac
14717 >      fi
14718 >    fi
14719    else
14720      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14721   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 14122 | Line 14805 | if test -z "${EFNET_TRUE}" && test -z "$
14805   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14806   fi
14807  
14808 < : ${CONFIG_STATUS=./config.status}
14808 > : "${CONFIG_STATUS=./config.status}"
14809   ac_write_fail=0
14810   ac_clean_files_save=$ac_clean_files
14811   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14223 | Line 14906 | fi
14906   IFS=" ""        $as_nl"
14907  
14908   # Find who we are.  Look in the path if we contain no directory separator.
14909 + as_myself=
14910   case $0 in #((
14911    *[\\/]* ) as_myself=$0 ;;
14912    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14529 | Line 15213 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15213   # report actual input values of CONFIG_FILES etc. instead of their
15214   # values after options handling.
15215   ac_log="
15216 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15217 < generated by GNU Autoconf 2.67.  Invocation command line was
15216 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15217 > generated by GNU Autoconf 2.68.  Invocation command line was
15218  
15219    CONFIG_FILES    = $CONFIG_FILES
15220    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14595 | Line 15279 | _ACEOF
15279   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15280   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15281   ac_cs_version="\\
15282 < ircd-hybrid config.status 7.3-rc1
15283 < configured by $0, generated by GNU Autoconf 2.67,
15282 > ircd-hybrid config.status 8beta1
15283 > configured by $0, generated by GNU Autoconf 2.68,
15284    with options \\"\$ac_cs_config\\"
15285  
15286   Copyright (C) 2010 Free Software Foundation, Inc.
# Line 14752 | Line 15436 | exeext='`$ECHO "$exeext" | $SED "$delay_
15436   lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15437   lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15438   lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15439 + lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15440 + lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15441   reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15442   reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15443   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15444   deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15445   file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15446 + file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15447 + want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15448 + DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15449 + sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15450   AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15451   AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15452 + archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15453   STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15454   RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15455   old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
# Line 14773 | Line 15464 | lt_cv_sys_global_symbol_pipe='`$ECHO "$l
15464   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15465   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15466   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"`'
15467 + nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15468 + lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15469   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15470   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15471   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"`'
15472   lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15473 + lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15474   lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15475   lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15476   need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15477 + MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15478   DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15479   NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15480   LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
# Line 14813 | Line 15507 | hardcode_shlibpath_var='`$ECHO "$hardcod
15507   hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15508   inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15509   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"`'
15510   always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15511   export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15512   exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15513   include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15514   prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15515 + postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15516   file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15517   variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15518   need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
# Line 14873 | Line 15567 | reload_flag \
15567   OBJDUMP \
15568   deplibs_check_method \
15569   file_magic_cmd \
15570 + file_magic_glob \
15571 + want_nocaseglob \
15572 + DLLTOOL \
15573 + sharedlib_from_linklib_cmd \
15574   AR \
15575   AR_FLAGS \
15576 + archiver_list_spec \
15577   STRIP \
15578   RANLIB \
15579   CC \
# Line 14884 | Line 15583 | lt_cv_sys_global_symbol_pipe \
15583   lt_cv_sys_global_symbol_to_cdecl \
15584   lt_cv_sys_global_symbol_to_c_name_address \
15585   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15586 + nm_file_list_spec \
15587   lt_prog_compiler_no_builtin_flag \
14888 lt_prog_compiler_wl \
15588   lt_prog_compiler_pic \
15589 + lt_prog_compiler_wl \
15590   lt_prog_compiler_static \
15591   lt_cv_prog_compiler_c_o \
15592   need_locks \
15593 + MANIFEST_TOOL \
15594   DSYMUTIL \
15595   NMEDIT \
15596   LIPO \
# Line 14905 | Line 15606 | no_undefined_flag \
15606   hardcode_libdir_flag_spec \
15607   hardcode_libdir_flag_spec_ld \
15608   hardcode_libdir_separator \
14908 fix_srcfile_path \
15609   exclude_expsyms \
15610   include_expsyms \
15611   file_list_spec \
# Line 14941 | Line 15641 | module_cmds \
15641   module_expsym_cmds \
15642   export_symbols_cmds \
15643   prelink_cmds \
15644 + postlink_cmds \
15645   postinstall_cmds \
15646   postuninstall_cmds \
15647   finish_cmds \
# Line 15026 | Line 15727 | fi
15727   # after its creation but before its name has been assigned to `$tmp'.
15728   $debug ||
15729   {
15730 <  tmp=
15730 >  tmp= ac_tmp=
15731    trap 'exit_status=$?
15732 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15732 >  : "${ac_tmp:=$tmp}"
15733 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15734   ' 0
15735    trap 'as_fn_exit 1' 1 2 13 15
15736   }
# Line 15036 | Line 15738 | $debug ||
15738  
15739   {
15740    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15741 <  test -n "$tmp" && test -d "$tmp"
15741 >  test -d "$tmp"
15742   }  ||
15743   {
15744    tmp=./conf$$-$RANDOM
15745    (umask 077 && mkdir "$tmp")
15746   } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15747 + ac_tmp=$tmp
15748  
15749   # Set up the scripts for CONFIG_FILES section.
15750   # No need to generate them if there are no CONFIG_FILES.
# Line 15063 | Line 15766 | else
15766    ac_cs_awk_cr=$ac_cr
15767   fi
15768  
15769 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15769 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15770   _ACEOF
15771  
15772  
# Line 15091 | Line 15794 | done
15794   rm -f conf$$subs.sh
15795  
15796   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15797 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15797 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15798   _ACEOF
15799   sed -n '
15800   h
# Line 15139 | Line 15842 | t delim
15842   rm -f conf$$subs.awk
15843   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15844   _ACAWK
15845 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15845 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15846    for (key in S) S_is_set[key] = 1
15847    FS = ""
15848  
# Line 15171 | Line 15874 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15874    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15875   else
15876    cat
15877 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15877 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15878    || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15879   _ACEOF
15880  
# Line 15205 | Line 15908 | fi # test -n "$CONFIG_FILES"
15908   # No need to generate them if there are no CONFIG_HEADERS.
15909   # This happens for instance with `./config.status Makefile'.
15910   if test -n "$CONFIG_HEADERS"; then
15911 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15911 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15912   BEGIN {
15913   _ACEOF
15914  
# Line 15217 | Line 15920 | _ACEOF
15920   # handling of long lines.
15921   ac_delim='%!_!# '
15922   for ac_last_try in false false :; do
15923 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15924 <  if test -z "$ac_t"; then
15923 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15924 >  if test -z "$ac_tt"; then
15925      break
15926    elif $ac_last_try; then
15927      as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
# Line 15338 | Line 16041 | do
16041      for ac_f
16042      do
16043        case $ac_f in
16044 <      -) ac_f="$tmp/stdin";;
16044 >      -) ac_f="$ac_tmp/stdin";;
16045        *) # Look for the file first in the build tree, then in the source tree
16046           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16047           # because $ac_f cannot contain `:'.
# Line 15373 | Line 16076 | $as_echo "$as_me: creating $ac_file" >&6
16076      esac
16077  
16078      case $ac_tag in
16079 <    *:-:* | *:-) cat >"$tmp/stdin" \
16079 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16080        || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16081      esac
16082      ;;
# Line 15510 | Line 16213 | s&@INSTALL@&$ac_INSTALL&;t t
16213   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16214   $ac_datarootdir_hack
16215   "
16216 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16217 <  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16216 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16217 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16218  
16219   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16220 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16221 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16220 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16221 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16222 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16223    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16224   which seems to be undefined.  Please make sure it is defined" >&5
16225   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16226   which seems to be undefined.  Please make sure it is defined" >&2;}
16227  
16228 <  rm -f "$tmp/stdin"
16228 >  rm -f "$ac_tmp/stdin"
16229    case $ac_file in
16230 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16231 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16230 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16231 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16232    esac \
16233    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16234   ;;
# Line 15535 | Line 16239 | which seems to be undefined.  Please mak
16239    if test x"$ac_file" != x-; then
16240      {
16241        $as_echo "/* $configure_input  */" \
16242 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16243 <    } >"$tmp/config.h" \
16242 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16243 >    } >"$ac_tmp/config.h" \
16244        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16245 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16245 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16246        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16247   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16248      else
16249        rm -f "$ac_file"
16250 <      mv "$tmp/config.h" "$ac_file" \
16250 >      mv "$ac_tmp/config.h" "$ac_file" \
16251          || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16252      fi
16253    else
16254      $as_echo "/* $configure_input  */" \
16255 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16255 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16256        || as_fn_error $? "could not create -" "$LINENO" 5
16257    fi
16258   # Compute "$ac_file"'s index in $config_headers.
# Line 15814 | Line 16518 | SP2NL=$lt_lt_SP2NL
16518   # turn newlines into spaces.
16519   NL2SP=$lt_lt_NL2SP
16520  
16521 + # convert \$build file names to \$host format.
16522 + to_host_file_cmd=$lt_cv_to_host_file_cmd
16523 +
16524 + # convert \$build files to toolchain format.
16525 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16526 +
16527   # An object symbol dumper.
16528   OBJDUMP=$lt_OBJDUMP
16529  
16530   # Method to check whether dependent libraries are shared objects.
16531   deplibs_check_method=$lt_deplibs_check_method
16532  
16533 < # Command to use when deplibs_check_method == "file_magic".
16533 > # Command to use when deplibs_check_method = "file_magic".
16534   file_magic_cmd=$lt_file_magic_cmd
16535  
16536 + # How to find potential files when deplibs_check_method = "file_magic".
16537 + file_magic_glob=$lt_file_magic_glob
16538 +
16539 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16540 + want_nocaseglob=$lt_want_nocaseglob
16541 +
16542 + # DLL creation program.
16543 + DLLTOOL=$lt_DLLTOOL
16544 +
16545 + # Command to associate shared and link libraries.
16546 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16547 +
16548   # The archiver.
16549   AR=$lt_AR
16550 +
16551 + # Flags to create an archive.
16552   AR_FLAGS=$lt_AR_FLAGS
16553  
16554 + # How to feed a file listing to the archiver.
16555 + archiver_list_spec=$lt_archiver_list_spec
16556 +
16557   # A symbol stripping program.
16558   STRIP=$lt_STRIP
16559  
# Line 15856 | Line 16583 | global_symbol_to_c_name_address=$lt_lt_c
16583   # Transform the output of nm in a C name address pair when lib prefix is needed.
16584   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16585  
16586 + # Specify filename containing input files for \$NM.
16587 + nm_file_list_spec=$lt_nm_file_list_spec
16588 +
16589 + # The root where to search for dependent libraries,and in which our libraries should be installed.
16590 + lt_sysroot=$lt_sysroot
16591 +
16592   # The name of the directory that contains temporary libtool files.
16593   objdir=$objdir
16594  
# Line 15865 | Line 16598 | MAGIC_CMD=$MAGIC_CMD
16598   # Must we lock files when doing compilation?
16599   need_locks=$lt_need_locks
16600  
16601 + # Manifest tool.
16602 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16603 +
16604   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16605   DSYMUTIL=$lt_DSYMUTIL
16606  
# Line 15979 | Line 16715 | with_gcc=$GCC
16715   # Compiler flag to turn off builtin functions.
16716   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16717  
15982 # How to pass a linker flag through the compiler.
15983 wl=$lt_lt_prog_compiler_wl
15984
16718   # Additional compiler flags for building library objects.
16719   pic_flag=$lt_lt_prog_compiler_pic
16720  
16721 + # How to pass a linker flag through the compiler.
16722 + wl=$lt_lt_prog_compiler_wl
16723 +
16724   # Compiler flag to prevent dynamic linking.
16725   link_static_flag=$lt_lt_prog_compiler_static
16726  
# Line 16071 | Line 16807 | inherit_rpath=$inherit_rpath
16807   # Whether libtool must link a program against all its dependency libraries.
16808   link_all_deplibs=$link_all_deplibs
16809  
16074 # Fix the shell variable \$srcfile for the compiler.
16075 fix_srcfile_path=$lt_fix_srcfile_path
16076
16810   # Set to "yes" if exported symbols are required.
16811   always_export_symbols=$always_export_symbols
16812  
# Line 16089 | Line 16822 | include_expsyms=$lt_include_expsyms
16822   # Commands necessary for linking programs (against libraries) with templates.
16823   prelink_cmds=$lt_prelink_cmds
16824  
16825 + # Commands necessary for finishing linking programs.
16826 + postlink_cmds=$lt_postlink_cmds
16827 +
16828   # Specify filename containing input files.
16829   file_list_spec=$lt_file_list_spec
16830  
# Line 16121 | Line 16857 | ltmain="$ac_aux_dir/ltmain.sh"
16857    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16858    # text mode, it properly converts lines to CR/LF.  This bash problem
16859    # is reportedly fixed, but why not run on old versions too?
16860 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16861 <    || (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
16860 >  sed '$q' "$ltmain" >> "$cfgfile" \
16861 >     || (rm -f "$cfgfile"; exit 1)
16862  
16863 +  if test x"$xsi_shell" = xyes; then
16864 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16865 + func_dirname ()\
16866 + {\
16867 + \    case ${1} in\
16868 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16869 + \      *  ) func_dirname_result="${3}" ;;\
16870 + \    esac\
16871 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16872 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16873 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16874 + test 0 -eq $? || _lt_function_replace_fail=:
16875 +
16876 +
16877 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16878 + func_basename ()\
16879 + {\
16880 + \    func_basename_result="${1##*/}"\
16881 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16882 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16883 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16884 + test 0 -eq $? || _lt_function_replace_fail=:
16885 +
16886 +
16887 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16888 + func_dirname_and_basename ()\
16889 + {\
16890 + \    case ${1} in\
16891 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16892 + \      *  ) func_dirname_result="${3}" ;;\
16893 + \    esac\
16894 + \    func_basename_result="${1##*/}"\
16895 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16896 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16897 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16898 + test 0 -eq $? || _lt_function_replace_fail=:
16899 +
16900 +
16901 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16902 + func_stripname ()\
16903 + {\
16904 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16905 + \    # positional parameters, so assign one to ordinary parameter first.\
16906 + \    func_stripname_result=${3}\
16907 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16908 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16909 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16910 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16911 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16912 + test 0 -eq $? || _lt_function_replace_fail=:
16913 +
16914 +
16915 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16916 + func_split_long_opt ()\
16917 + {\
16918 + \    func_split_long_opt_name=${1%%=*}\
16919 + \    func_split_long_opt_arg=${1#*=}\
16920 + } # Extended-shell func_split_long_opt 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 +
16926 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16927 + func_split_short_opt ()\
16928 + {\
16929 + \    func_split_short_opt_arg=${1#??}\
16930 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16931 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16932 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16933 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16934 + test 0 -eq $? || _lt_function_replace_fail=:
16935 +
16936 +
16937 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16938 + func_lo2o ()\
16939 + {\
16940 + \    case ${1} in\
16941 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16942 + \      *)    func_lo2o_result=${1} ;;\
16943 + \    esac\
16944 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16945 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16946 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16947 + test 0 -eq $? || _lt_function_replace_fail=:
16948 +
16949 +
16950 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16951 + func_xform ()\
16952 + {\
16953 +    func_xform_result=${1%.*}.lo\
16954 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16955 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16956 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16957 + test 0 -eq $? || _lt_function_replace_fail=:
16958 +
16959 +
16960 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16961 + func_arith ()\
16962 + {\
16963 +    func_arith_result=$(( $* ))\
16964 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16965 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16966 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16967 + test 0 -eq $? || _lt_function_replace_fail=:
16968 +
16969 +
16970 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16971 + func_len ()\
16972 + {\
16973 +    func_len_result=${#1}\
16974 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16975 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16976 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16977 + test 0 -eq $? || _lt_function_replace_fail=:
16978 +
16979 + fi
16980 +
16981 + if test x"$lt_shell_append" = xyes; then
16982 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16983 + func_append ()\
16984 + {\
16985 +    eval "${1}+=\\${2}"\
16986 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16987 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16988 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16989 + test 0 -eq $? || _lt_function_replace_fail=:
16990 +
16991 +
16992 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16993 + func_append_quoted ()\
16994 + {\
16995 + \    func_quote_for_eval "${2}"\
16996 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16997 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16998 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16999 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17000 + test 0 -eq $? || _lt_function_replace_fail=:
17001 +
17002 +
17003 +  # Save a `func_append' function call where possible by direct use of '+='
17004 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17005 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17006 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17007 +  test 0 -eq $? || _lt_function_replace_fail=:
17008 + else
17009 +  # Save a `func_append' function call even when '+=' is not available
17010 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17011 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17012 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17013 +  test 0 -eq $? || _lt_function_replace_fail=:
17014 + fi
17015 +
17016 + if test x"$_lt_function_replace_fail" = x":"; then
17017 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17018 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17019 + fi
17020  
16324  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16325    || (rm -f "$cfgfile"; exit 1)
17021  
17022 <  mv -f "$cfgfile" "$ofile" ||
17022 >   mv -f "$cfgfile" "$ofile" ||
17023      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17024    chmod +x "$ofile"
17025  

Diff Legend

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