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 1292 by michael, Sun Feb 12 20:36:27 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1095 2010-08-02 20:14:21Z michael .
2 > # From configure.ac Id: configure.ac 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 679 | Line 690 | YACC
690   am__fastdepCC_FALSE
691   am__fastdepCC_TRUE
692   CCDEPMODE
693 + am__nodep
694   AMDEPBACKSLASH
695   AMDEP_FALSE
696   AMDEP_TRUE
# Line 766 | Line 778 | enable_shared
778   with_pic
779   enable_fast_install
780   with_gnu_ld
781 + with_sysroot
782   enable_libtool_lock
783   with_included_ltdl
784   with_ltdl_include
# Line 786 | Line 799 | enable_poll
799   enable_select
800   with_nicklen
801   with_topiclen
789 with_syslog_facility
802   enable_efnet
803   enable_halfops
804   enable_debugging
805   enable_warnings
794 enable_syslog
806   '
807        ac_precious_vars='build_alias
808   host_alias
# Line 1208 | Line 1219 | Try \`$0 --help' for more information"
1219      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1220      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1221        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1222 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1222 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1223      ;;
1224  
1225    esac
# Line 1346 | Line 1357 | if test "$ac_init_help" = "long"; then
1357    # Omit some internal or obsolete options to make the list less imposing.
1358    # This message is too long to be a string in the A/UX 3.1 sh.
1359    cat <<_ACEOF
1360 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1360 > \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1361  
1362   Usage: $0 [OPTION]... [VAR=VALUE]...
1363  
# Line 1416 | Line 1427 | fi
1427  
1428   if test -n "$ac_init_help"; then
1429    case $ac_init_help in
1430 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1430 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1431     esac
1432    cat <<\_ACEOF
1433  
# Line 1450 | Line 1461 | Optional Features:
1461    --enable-halfops        Enable halfops support.
1462    --enable-debugging      Enable debugging.
1463    --enable-warnings       Enable compiler warnings.
1453  --enable-syslog="EVENTS"
1454                          Enable syslog for events: users oper (space
1455                          separated in quotes; default: disabled).
1464  
1465   Optional Packages:
1466    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1467    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1468 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1468 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1469                            both]
1470    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1471 +  --with-sysroot=DIR Search for dependent libraries within DIR
1472 +                        (or the compiler's sysroot if not specified).
1473    --with-included-ltdl    use the GNU ltdl sources included here
1474    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1475    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
# Line 1467 | Line 1477 | Optional Packages:
1477    --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1478    --with-nicklen=<value>  Set nickname length (default 9).
1479    --with-topiclen=<value> Set topic length (default 160).
1470  --with-syslog-facility=LOG
1471                          Define the syslog facility to use (default:
1472                          LOG_LOCAL4)
1480  
1481   Some influential environment variables:
1482    CC          C compiler command
# Line 1479 | Line 1486 | Some influential environment variables:
1486    LIBS        libraries to pass to the linker, e.g. -l<library>
1487    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1488                you have headers in a nonstandard directory <include dir>
1489 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1490 <              the first program found out of: `bison -y', `byacc', `yacc'.
1489 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1490 >              Defaults to the first program found out of: `bison -y', `byacc',
1491 >              `yacc'.
1492    YFLAGS      The list of arguments that will be passed by default to $YACC.
1493                This script will default YFLAGS to the empty string to avoid a
1494                default value of `-d' given by some make applications.
# Line 1552 | Line 1560 | fi
1560   test -n "$ac_init_help" && exit $ac_status
1561   if $ac_init_version; then
1562    cat <<\_ACEOF
1563 < ircd-hybrid configure 7.3-rc1
1564 < generated by GNU Autoconf 2.67
1563 > ircd-hybrid configure 8beta1
1564 > generated by GNU Autoconf 2.68
1565  
1566   Copyright (C) 2010 Free Software Foundation, Inc.
1567   This configure script is free software; the Free Software Foundation
# Line 1599 | Line 1607 | sed 's/^/| /' conftest.$ac_ext >&5
1607  
1608          ac_retval=1
1609   fi
1610 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1610 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611    as_fn_set_status $ac_retval
1612  
1613   } # ac_fn_c_try_compile
# Line 1645 | Line 1653 | fi
1653    # interfere with the next link command; also delete a directory that is
1654    # left behind by Apple's compiler.  We do this before executing the actions.
1655    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1656 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1656 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657    as_fn_set_status $ac_retval
1658  
1659   } # ac_fn_c_try_link
# Line 1659 | Line 1667 | ac_fn_c_check_header_compile ()
1667    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669   $as_echo_n "checking for $2... " >&6; }
1670 < if eval "test \"\${$3+set}\"" = set; then :
1670 > if eval \${$3+:} false; then :
1671    $as_echo_n "(cached) " >&6
1672   else
1673    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1677 | Line 1685 | fi
1685   eval ac_res=\$$3
1686                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1687   $as_echo "$ac_res" >&6; }
1688 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689  
1690   } # ac_fn_c_check_header_compile
1691  
# Line 1713 | Line 1721 | sed 's/^/| /' conftest.$ac_ext >&5
1721  
1722      ac_retval=1
1723   fi
1724 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725    as_fn_set_status $ac_retval
1726  
1727   } # ac_fn_c_try_cpp
# Line 1755 | Line 1763 | sed 's/^/| /' conftest.$ac_ext >&5
1763         ac_retval=$ac_status
1764   fi
1765    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1766 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767    as_fn_set_status $ac_retval
1768  
1769   } # ac_fn_c_try_run
# Line 1768 | Line 1776 | ac_fn_c_check_func ()
1776    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778   $as_echo_n "checking for $2... " >&6; }
1779 < if eval "test \"\${$3+set}\"" = set; then :
1779 > if eval \${$3+:} false; then :
1780    $as_echo_n "(cached) " >&6
1781   else
1782    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1823 | Line 1831 | fi
1831   eval ac_res=\$$3
1832                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833   $as_echo "$ac_res" >&6; }
1834 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835  
1836   } # ac_fn_c_check_func
1837  
# Line 1838 | Line 1846 | ac_fn_c_check_decl ()
1846    as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1847    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1848   $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1849 < if eval "test \"\${$3+set}\"" = set; then :
1849 > if eval \${$3+:} false; then :
1850    $as_echo_n "(cached) " >&6
1851   else
1852    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1869 | Line 1877 | fi
1877   eval ac_res=\$$3
1878                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879   $as_echo "$ac_res" >&6; }
1880 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881  
1882   } # ac_fn_c_check_decl
1883  
# Line 1882 | Line 1890 | ac_fn_c_check_type ()
1890    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892   $as_echo_n "checking for $2... " >&6; }
1893 < if eval "test \"\${$3+set}\"" = set; then :
1893 > if eval \${$3+:} false; then :
1894    $as_echo_n "(cached) " >&6
1895   else
1896    eval "$3=no"
# Line 1923 | Line 1931 | fi
1931   eval ac_res=\$$3
1932                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933   $as_echo "$ac_res" >&6; }
1934 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1934 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935  
1936   } # ac_fn_c_check_type
1937  
# Line 1936 | Line 1944 | ac_fn_c_check_member ()
1944    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1946   $as_echo_n "checking for $2.$3... " >&6; }
1947 < if eval "test \"\${$4+set}\"" = set; then :
1947 > if eval \${$4+:} false; then :
1948    $as_echo_n "(cached) " >&6
1949   else
1950    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1980 | Line 1988 | fi
1988   eval ac_res=\$$4
1989                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990   $as_echo "$ac_res" >&6; }
1991 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1992  
1993   } # ac_fn_c_check_member
1994  
# Line 1992 | Line 2000 | $as_echo "$ac_res" >&6; }
2000   ac_fn_c_check_header_mongrel ()
2001   {
2002    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003 <  if eval "test \"\${$3+set}\"" = set; then :
2003 >  if eval \${$3+:} false; then :
2004    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2005   $as_echo_n "checking for $2... " >&6; }
2006 < if eval "test \"\${$3+set}\"" = set; then :
2006 > if eval \${$3+:} false; then :
2007    $as_echo_n "(cached) " >&6
2008   fi
2009   eval ac_res=\$$3
# Line 2062 | Line 2070 | $as_echo "$as_me: WARNING: $2: proceedin
2070   esac
2071    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2072   $as_echo_n "checking for $2... " >&6; }
2073 < if eval "test \"\${$3+set}\"" = set; then :
2073 > if eval \${$3+:} false; then :
2074    $as_echo_n "(cached) " >&6
2075   else
2076    eval "$3=\$ac_header_compiler"
# Line 2071 | Line 2079 | eval ac_res=\$$3
2079                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2080   $as_echo "$ac_res" >&6; }
2081   fi
2082 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2082 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2083  
2084   } # ac_fn_c_check_header_mongrel
2085   cat >config.log <<_ACEOF
2086   This file contains any messages produced by compilers while
2087   running configure, to aid debugging if configure makes a mistake.
2088  
2089 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2090 < generated by GNU Autoconf 2.67.  Invocation command line was
2089 > It was created by ircd-hybrid $as_me 8beta1, which was
2090 > generated by GNU Autoconf 2.68.  Invocation command line was
2091  
2092    $ $0 $@
2093  
# Line 2363 | Line 2371 | as_fn_append ac_func_list " strtok_r"
2371   as_fn_append ac_func_list " usleep"
2372   as_fn_append ac_func_list " strlcat"
2373   as_fn_append ac_func_list " strlcpy"
2374 + as_fn_append ac_func_list " socketpair"
2375   as_fn_append ac_header_list " crypt.h"
2376   as_fn_append ac_header_list " inttypes.h"
2377   as_fn_append ac_header_list " stdint.h"
# Line 2491 | Line 2500 | ac_configure="$SHELL $ac_aux_dir/configu
2500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2501   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2502   if test -z "$INSTALL"; then
2503 < if test "${ac_cv_path_install+set}" = set; then :
2503 > if ${ac_cv_path_install+:} false; then :
2504    $as_echo_n "(cached) " >&6
2505   else
2506    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2668 | Line 2677 | if test "$cross_compiling" != no; then
2677   set dummy ${ac_tool_prefix}strip; ac_word=$2
2678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2679   $as_echo_n "checking for $ac_word... " >&6; }
2680 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2680 > if ${ac_cv_prog_STRIP+:} false; then :
2681    $as_echo_n "(cached) " >&6
2682   else
2683    if test -n "$STRIP"; then
# Line 2708 | Line 2717 | if test -z "$ac_cv_prog_STRIP"; then
2717   set dummy strip; ac_word=$2
2718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719   $as_echo_n "checking for $ac_word... " >&6; }
2720 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2720 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2721    $as_echo_n "(cached) " >&6
2722   else
2723    if test -n "$ac_ct_STRIP"; then
# Line 2761 | Line 2770 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2771   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2772   if test -z "$MKDIR_P"; then
2773 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2773 >  if ${ac_cv_path_mkdir+:} false; then :
2774    $as_echo_n "(cached) " >&6
2775   else
2776    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2812 | Line 2821 | do
2821   set dummy $ac_prog; ac_word=$2
2822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823   $as_echo_n "checking for $ac_word... " >&6; }
2824 < if test "${ac_cv_prog_AWK+set}" = set; then :
2824 > if ${ac_cv_prog_AWK+:} false; then :
2825    $as_echo_n "(cached) " >&6
2826   else
2827    if test -n "$AWK"; then
# Line 2852 | Line 2861 | done
2861   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2862   set x ${MAKE-make}
2863   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2864 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2864 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2865    $as_echo_n "(cached) " >&6
2866   else
2867    cat >conftest.make <<\_ACEOF
# Line 2910 | Line 2919 | fi
2919  
2920   # Define the identity of the package.
2921   PACKAGE='ircd-hybrid'
2922 < VERSION='7.3-rc1'
2922 > VERSION='8beta1'
2923  
2924  
2925   cat >>confdefs.h <<_ACEOF
# Line 2940 | Line 2949 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2949  
2950   # We need awk for the "check" target.  The system "awk" is bad on
2951   # some platforms.
2952 < # Always define AMTAR for backward compatibility.
2953 <
2954 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2952 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2953 > # in the wild :-(  We should find a proper way to deprecate it ...
2954 > AMTAR='$${TAR-tar}'
2955  
2956 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2956 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2957  
2958  
2959  
# Line 3030 | Line 3039 | fi
3039   if test "x$enable_dependency_tracking" != xno; then
3040    am_depcomp="$ac_aux_dir/depcomp"
3041    AMDEPBACKSLASH='\'
3042 +  am__nodep='_no'
3043   fi
3044   if test "x$enable_dependency_tracking" != xno; then
3045    AMDEP_TRUE=
# Line 3050 | Line 3060 | if test -n "$ac_tool_prefix"; then
3060   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062   $as_echo_n "checking for $ac_word... " >&6; }
3063 < if test "${ac_cv_prog_CC+set}" = set; then :
3063 > if ${ac_cv_prog_CC+:} false; then :
3064    $as_echo_n "(cached) " >&6
3065   else
3066    if test -n "$CC"; then
# Line 3090 | Line 3100 | if test -z "$ac_cv_prog_CC"; then
3100   set dummy gcc; ac_word=$2
3101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102   $as_echo_n "checking for $ac_word... " >&6; }
3103 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3103 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3104    $as_echo_n "(cached) " >&6
3105   else
3106    if test -n "$ac_ct_CC"; then
# Line 3143 | Line 3153 | if test -z "$CC"; then
3153   set dummy ${ac_tool_prefix}cc; ac_word=$2
3154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155   $as_echo_n "checking for $ac_word... " >&6; }
3156 < if test "${ac_cv_prog_CC+set}" = set; then :
3156 > if ${ac_cv_prog_CC+:} false; then :
3157    $as_echo_n "(cached) " >&6
3158   else
3159    if test -n "$CC"; then
# Line 3183 | Line 3193 | if test -z "$CC"; then
3193   set dummy cc; ac_word=$2
3194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195   $as_echo_n "checking for $ac_word... " >&6; }
3196 < if test "${ac_cv_prog_CC+set}" = set; then :
3196 > if ${ac_cv_prog_CC+:} false; then :
3197    $as_echo_n "(cached) " >&6
3198   else
3199    if test -n "$CC"; then
# Line 3242 | Line 3252 | if test -z "$CC"; then
3252   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254   $as_echo_n "checking for $ac_word... " >&6; }
3255 < if test "${ac_cv_prog_CC+set}" = set; then :
3255 > if ${ac_cv_prog_CC+:} false; then :
3256    $as_echo_n "(cached) " >&6
3257   else
3258    if test -n "$CC"; then
# Line 3286 | Line 3296 | do
3296   set dummy $ac_prog; ac_word=$2
3297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298   $as_echo_n "checking for $ac_word... " >&6; }
3299 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3299 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3300    $as_echo_n "(cached) " >&6
3301   else
3302    if test -n "$ac_ct_CC"; then
# Line 3569 | Line 3579 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3579   ac_clean_files=$ac_clean_files_save
3580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3581   $as_echo_n "checking for suffix of object files... " >&6; }
3582 < if test "${ac_cv_objext+set}" = set; then :
3582 > if ${ac_cv_objext+:} false; then :
3583    $as_echo_n "(cached) " >&6
3584   else
3585    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3620 | Line 3630 | OBJEXT=$ac_cv_objext
3630   ac_objext=$OBJEXT
3631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3632   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3633 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3633 > if ${ac_cv_c_compiler_gnu+:} false; then :
3634    $as_echo_n "(cached) " >&6
3635   else
3636    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3657 | Line 3667 | ac_test_CFLAGS=${CFLAGS+set}
3667   ac_save_CFLAGS=$CFLAGS
3668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3669   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3670 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3670 > if ${ac_cv_prog_cc_g+:} false; then :
3671    $as_echo_n "(cached) " >&6
3672   else
3673    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3735 | Line 3745 | else
3745   fi
3746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3747   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3748 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3748 > if ${ac_cv_prog_cc_c89+:} false; then :
3749    $as_echo_n "(cached) " >&6
3750   else
3751    ac_cv_prog_cc_c89=no
# Line 3834 | Line 3844 | depcc="$CC"   am_compiler_list=
3844  
3845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3846   $as_echo_n "checking dependency style of $depcc... " >&6; }
3847 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3847 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3848    $as_echo_n "(cached) " >&6
3849   else
3850    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3843 | Line 3853 | else
3853    # instance it was reported that on HP-UX the gcc test will end up
3854    # making a dummy file named `D' -- because `-MD' means `put the output
3855    # in D'.
3856 +  rm -rf conftest.dir
3857    mkdir conftest.dir
3858    # Copy depcomp to subdir because otherwise we won't find it if we're
3859    # using a relative directory.
# Line 3902 | Line 3913 | else
3913          break
3914        fi
3915        ;;
3916 <    msvisualcpp | msvcmsys)
3916 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3917        # This compiler won't grok `-c -o', but also, the minuso test has
3918        # not run yet.  These depmodes are late enough in the game, and
3919        # so weak that their functioning should not be impacted.
# Line 3959 | Line 3970 | fi
3970  
3971     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3972   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3973 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
3973 > if ${ac_cv_prog_cc_c99+:} false; then :
3974    $as_echo_n "(cached) " >&6
3975   else
3976    ac_cv_prog_cc_c99=no
# Line 4143 | Line 4154 | do
4154   set dummy $ac_prog; ac_word=$2
4155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4156   $as_echo_n "checking for $ac_word... " >&6; }
4157 < if test "${ac_cv_prog_YACC+set}" = set; then :
4157 > if ${ac_cv_prog_YACC+:} false; then :
4158    $as_echo_n "(cached) " >&6
4159   else
4160    if test -n "$YACC"; then
# Line 4187 | Line 4198 | do
4198   set dummy $ac_prog; ac_word=$2
4199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200   $as_echo_n "checking for $ac_word... " >&6; }
4201 < if test "${ac_cv_prog_LEX+set}" = set; then :
4201 > if ${ac_cv_prog_LEX+:} false; then :
4202    $as_echo_n "(cached) " >&6
4203   else
4204    if test -n "$LEX"; then
# Line 4257 | Line 4268 | $as_echo "$ac_try_echo"; } >&5
4268    test $ac_status = 0; }
4269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4270   $as_echo_n "checking lex output file root... " >&6; }
4271 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4271 > if ${ac_cv_prog_lex_root+:} false; then :
4272    $as_echo_n "(cached) " >&6
4273   else
4274  
# Line 4276 | Line 4287 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4287   if test -z "${LEXLIB+set}"; then
4288    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4289   $as_echo_n "checking lex library... " >&6; }
4290 < if test "${ac_cv_lib_lex+set}" = set; then :
4290 > if ${ac_cv_lib_lex+:} false; then :
4291    $as_echo_n "(cached) " >&6
4292   else
4293  
# Line 4306 | Line 4317 | fi
4317  
4318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4319   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4320 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4320 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4321    $as_echo_n "(cached) " >&6
4322   else
4323    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4317 | Line 4328 | ac_save_LIBS=$LIBS
4328   LIBS="$LEXLIB $ac_save_LIBS"
4329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4330   /* end confdefs.h.  */
4331 < #define YYTEXT_POINTER 1
4331 >
4332 >  #define YYTEXT_POINTER 1
4333   `cat $LEX_OUTPUT_ROOT.c`
4334   _ACEOF
4335   if ac_fn_c_try_link "$LINENO"; then :
# Line 4359 | Line 4371 | esac
4371  
4372  
4373  
4374 < macro_version='2.2.10'
4375 < macro_revision='1.3175'
4374 > macro_version='2.4.2'
4375 > macro_revision='1.3337'
4376  
4377  
4378  
# Line 4382 | Line 4394 | $SHELL "$ac_aux_dir/config.sub" sun4 >/d
4394  
4395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4396   $as_echo_n "checking build system type... " >&6; }
4397 < if test "${ac_cv_build+set}" = set; then :
4397 > if ${ac_cv_build+:} false; then :
4398    $as_echo_n "(cached) " >&6
4399   else
4400    ac_build_alias=$build_alias
# Line 4416 | Line 4428 | case $build_os in *\ *) build_os=`echo "
4428  
4429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4430   $as_echo_n "checking host system type... " >&6; }
4431 < if test "${ac_cv_host+set}" = set; then :
4431 > if ${ac_cv_host+:} false; then :
4432    $as_echo_n "(cached) " >&6
4433   else
4434    if test "x$host_alias" = x; then
# Line 4471 | Line 4483 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4484   $as_echo_n "checking how to print strings... " >&6; }
4485   # Test print first, because it will be a builtin if present.
4486 < if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4486 > if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4487     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4488    ECHO='print -r --'
4489   elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
# Line 4518 | Line 4530 | esac
4530  
4531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4532   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4533 < if test "${ac_cv_path_SED+set}" = set; then :
4533 > if ${ac_cv_path_SED+:} false; then :
4534    $as_echo_n "(cached) " >&6
4535   else
4536              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4600 | Line 4612 | Xsed="$SED -e 1s/^X//"
4612  
4613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4614   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4615 < if test "${ac_cv_path_GREP+set}" = set; then :
4615 > if ${ac_cv_path_GREP+:} false; then :
4616    $as_echo_n "(cached) " >&6
4617   else
4618    if test -z "$GREP"; then
# Line 4663 | Line 4675 | $as_echo "$ac_cv_path_GREP" >&6; }
4675  
4676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4677   $as_echo_n "checking for egrep... " >&6; }
4678 < if test "${ac_cv_path_EGREP+set}" = set; then :
4678 > if ${ac_cv_path_EGREP+:} false; then :
4679    $as_echo_n "(cached) " >&6
4680   else
4681    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4730 | Line 4742 | $as_echo "$ac_cv_path_EGREP" >&6; }
4742  
4743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4744   $as_echo_n "checking for fgrep... " >&6; }
4745 < if test "${ac_cv_path_FGREP+set}" = set; then :
4745 > if ${ac_cv_path_FGREP+:} false; then :
4746    $as_echo_n "(cached) " >&6
4747   else
4748    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4861 | Line 4873 | else
4873    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4874   $as_echo_n "checking for non-GNU ld... " >&6; }
4875   fi
4876 < if test "${lt_cv_path_LD+set}" = set; then :
4876 > if ${lt_cv_path_LD+:} false; then :
4877    $as_echo_n "(cached) " >&6
4878   else
4879    if test -z "$LD"; then
# Line 4901 | Line 4913 | fi
4913   test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4915   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4916 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4916 > if ${lt_cv_prog_gnu_ld+:} false; then :
4917    $as_echo_n "(cached) " >&6
4918   else
4919    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4928 | Line 4940 | with_gnu_ld=$lt_cv_prog_gnu_ld
4940  
4941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4942   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4943 < if test "${lt_cv_path_NM+set}" = set; then :
4943 > if ${lt_cv_path_NM+:} false; then :
4944    $as_echo_n "(cached) " >&6
4945   else
4946    if test -n "$NM"; then
# Line 4991 | Line 5003 | else
5003   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005   $as_echo_n "checking for $ac_word... " >&6; }
5006 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5006 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5007    $as_echo_n "(cached) " >&6
5008   else
5009    if test -n "$DUMPBIN"; then
# Line 5035 | Line 5047 | do
5047   set dummy $ac_prog; ac_word=$2
5048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049   $as_echo_n "checking for $ac_word... " >&6; }
5050 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5050 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5051    $as_echo_n "(cached) " >&6
5052   else
5053    if test -n "$ac_ct_DUMPBIN"; then
# Line 5107 | Line 5119 | test -z "$NM" && NM=nm
5119  
5120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5121   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5122 < if test "${lt_cv_nm_interface+set}" = set; then :
5122 > if ${lt_cv_nm_interface+:} false; then :
5123    $as_echo_n "(cached) " >&6
5124   else
5125    lt_cv_nm_interface="BSD nm"
# Line 5142 | Line 5154 | fi
5154   # find the maximum length of command line arguments
5155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5156   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5157 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5157 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5158    $as_echo_n "(cached) " >&6
5159   else
5160      i=0
# Line 5205 | Line 5217 | else
5217      lt_cv_sys_max_cmd_len=196608
5218      ;;
5219  
5220 +  os2*)
5221 +    # The test takes a long time on OS/2.
5222 +    lt_cv_sys_max_cmd_len=8192
5223 +    ;;
5224 +
5225    osf*)
5226      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5227      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5244 | Line 5261 | else
5261        # If test is not a shell built-in, we'll probably end up computing a
5262        # maximum length that is only half of the actual maximum length, but
5263        # we can't tell.
5264 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5264 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5265                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5266                test $i != 17 # 1/2 MB should be enough
5267        do
# 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 5594 | Line 5690 | irix5* | irix6* | nonstopux*)
5690    lt_cv_deplibs_check_method=pass_all
5691    ;;
5692  
5693 < # This must be Linux ELF.
5693 > # This must be glibc/ELF.
5694   linux* | k*bsd*-gnu | kopensolaris*-gnu)
5695    lt_cv_deplibs_check_method=pass_all
5696    ;;
# 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  
# Line 5796 | 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 +
6126 +
6127   if test -n "$ac_tool_prefix"; then
6128    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
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 6002 | Line 6330 | old_postuninstall_cmds=
6330   if test -n "$RANLIB"; then
6331    case $host_os in
6332    openbsd*)
6333 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6333 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6334      ;;
6335    *)
6336 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6336 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6337      ;;
6338    esac
6339 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6339 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6340   fi
6341  
6342   case $host_os in
# 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 6155 | Line 6483 | for ac_symprfx in "" "_"; do
6483      # which start with @ or ?.
6484      lt_cv_sys_global_symbol_pipe="$AWK '"\
6485   "     {last_section=section; section=\$ 3};"\
6486 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6487   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6488   "     \$ 0!~/External *\|/{next};"\
6489   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6167 | Line 6496 | for ac_symprfx in "" "_"; do
6496    else
6497      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6498    fi
6499 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6500  
6501    # Check to see that the pipe works correctly.
6502    pipe_works=no
# Line 6208 | Line 6538 | _LT_EOF
6538        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6539          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6540            cat <<_LT_EOF > conftest.$ac_ext
6541 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6542 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6543 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6544 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6545 + # define LT_DLSYM_CONST
6546 + #elif defined(__osf__)
6547 + /* This system does not cope well with relocations in const data.  */
6548 + # define LT_DLSYM_CONST
6549 + #else
6550 + # define LT_DLSYM_CONST const
6551 + #endif
6552 +
6553   #ifdef __cplusplus
6554   extern "C" {
6555   #endif
# Line 6219 | Line 6561 | _LT_EOF
6561            cat <<_LT_EOF >> conftest.$ac_ext
6562  
6563   /* The mapping between symbol names and symbols.  */
6564 < const struct {
6564 > LT_DLSYM_CONST struct {
6565    const char *name;
6566    void       *address;
6567   }
# Line 6245 | Line 6587 | static const void *lt_preloaded_setup()
6587   _LT_EOF
6588            # Now try linking the two files.
6589            mv conftest.$ac_objext conftstm.$ac_objext
6590 <          lt_save_LIBS="$LIBS"
6591 <          lt_save_CFLAGS="$CFLAGS"
6590 >          lt_globsym_save_LIBS=$LIBS
6591 >          lt_globsym_save_CFLAGS=$CFLAGS
6592            LIBS="conftstm.$ac_objext"
6593            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6594            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6256 | Line 6598 | _LT_EOF
6598    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6599              pipe_works=yes
6600            fi
6601 <          LIBS="$lt_save_LIBS"
6602 <          CFLAGS="$lt_save_CFLAGS"
6601 >          LIBS=$lt_globsym_save_LIBS
6602 >          CFLAGS=$lt_globsym_save_CFLAGS
6603          else
6604            echo "cannot find nm_test_func in $nlist" >&5
6605          fi
# Line 6294 | Line 6636 | else
6636   $as_echo "ok" >&6; }
6637   fi
6638  
6639 + # Response file support.
6640 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6641 +  nm_file_list_spec='@'
6642 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6643 +  nm_file_list_spec='@'
6644 + fi
6645 +
6646 +
6647 +
6648 +
6649 +
6650 +
6651 +
6652  
6653  
6654  
# Line 6314 | Line 6669 | fi
6669  
6670  
6671  
6672 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6673 + $as_echo_n "checking for sysroot... " >&6; }
6674 +
6675 + # Check whether --with-sysroot was given.
6676 + if test "${with_sysroot+set}" = set; then :
6677 +  withval=$with_sysroot;
6678 + else
6679 +  with_sysroot=no
6680 + fi
6681 +
6682 +
6683 + lt_sysroot=
6684 + case ${with_sysroot} in #(
6685 + yes)
6686 +   if test "$GCC" = yes; then
6687 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6688 +   fi
6689 +   ;; #(
6690 + /*)
6691 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6692 +   ;; #(
6693 + no|'')
6694 +   ;; #(
6695 + *)
6696 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6697 + $as_echo "${with_sysroot}" >&6; }
6698 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6699 +   ;;
6700 + esac
6701 +
6702 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6703 + $as_echo "${lt_sysroot:-no}" >&6; }
6704 +
6705 +
6706 +
6707 +
6708  
6709   # Check whether --enable-libtool-lock was given.
6710   if test "${enable_libtool_lock+set}" = set; then :
# Line 6440 | Line 6831 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6831    CFLAGS="$CFLAGS -belf"
6832    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6833   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6834 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6834 > if ${lt_cv_cc_needs_belf+:} false; then :
6835    $as_echo_n "(cached) " >&6
6836   else
6837    ac_ext=c
# Line 6481 | Line 6872 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6872      CFLAGS="$SAVE_CFLAGS"
6873    fi
6874    ;;
6875 < sparc*-*solaris*)
6875 > *-*solaris*)
6876    # Find out which ABI we are using.
6877    echo 'int i;' > conftest.$ac_ext
6878    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6492 | Line 6883 | sparc*-*solaris*)
6883      case `/usr/bin/file conftest.o` in
6884      *64-bit*)
6885        case $lt_cv_prog_gnu_ld in
6886 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6886 >      yes*)
6887 >        case $host in
6888 >        i?86-*-solaris*)
6889 >          LD="${LD-ld} -m elf_x86_64"
6890 >          ;;
6891 >        sparc*-*-solaris*)
6892 >          LD="${LD-ld} -m elf64_sparc"
6893 >          ;;
6894 >        esac
6895 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6896 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6897 >          LD="${LD-ld}_sol2"
6898 >        fi
6899 >        ;;
6900        *)
6901          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6902            LD="${LD-ld} -64"
# Line 6508 | Line 6912 | esac
6912  
6913   need_locks="$enable_libtool_lock"
6914  
6915 + if test -n "$ac_tool_prefix"; then
6916 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6917 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6918 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6919 + $as_echo_n "checking for $ac_word... " >&6; }
6920 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6921 +  $as_echo_n "(cached) " >&6
6922 + else
6923 +  if test -n "$MANIFEST_TOOL"; then
6924 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6925 + else
6926 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 + for as_dir in $PATH
6928 + do
6929 +  IFS=$as_save_IFS
6930 +  test -z "$as_dir" && as_dir=.
6931 +    for ac_exec_ext in '' $ac_executable_extensions; do
6932 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6933 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6934 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6935 +    break 2
6936 +  fi
6937 + done
6938 +  done
6939 + IFS=$as_save_IFS
6940 +
6941 + fi
6942 + fi
6943 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6944 + if test -n "$MANIFEST_TOOL"; then
6945 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6946 + $as_echo "$MANIFEST_TOOL" >&6; }
6947 + else
6948 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6949 + $as_echo "no" >&6; }
6950 + fi
6951 +
6952 +
6953 + fi
6954 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6955 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6956 +  # Extract the first word of "mt", so it can be a program name with args.
6957 + set dummy mt; ac_word=$2
6958 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6959 + $as_echo_n "checking for $ac_word... " >&6; }
6960 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6961 +  $as_echo_n "(cached) " >&6
6962 + else
6963 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6964 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6965 + else
6966 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 + for as_dir in $PATH
6968 + do
6969 +  IFS=$as_save_IFS
6970 +  test -z "$as_dir" && as_dir=.
6971 +    for ac_exec_ext in '' $ac_executable_extensions; do
6972 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6973 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6974 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 +    break 2
6976 +  fi
6977 + done
6978 +  done
6979 + IFS=$as_save_IFS
6980 +
6981 + fi
6982 + fi
6983 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6984 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6985 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6986 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6987 + else
6988 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 + $as_echo "no" >&6; }
6990 + fi
6991 +
6992 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6993 +    MANIFEST_TOOL=":"
6994 +  else
6995 +    case $cross_compiling:$ac_tool_warned in
6996 + yes:)
6997 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6998 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6999 + ac_tool_warned=yes ;;
7000 + esac
7001 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7002 +  fi
7003 + else
7004 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7005 + fi
7006 +
7007 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7008 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7009 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7010 + if ${lt_cv_path_mainfest_tool+:} false; then :
7011 +  $as_echo_n "(cached) " >&6
7012 + else
7013 +  lt_cv_path_mainfest_tool=no
7014 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7015 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7016 +  cat conftest.err >&5
7017 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7018 +    lt_cv_path_mainfest_tool=yes
7019 +  fi
7020 +  rm -f conftest*
7021 + fi
7022 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7023 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7024 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7025 +  MANIFEST_TOOL=:
7026 + fi
7027 +
7028 +
7029 +
7030 +
7031 +
7032  
7033    case $host_os in
7034      rhapsody* | darwin*)
# Line 6516 | Line 7037 | need_locks="$enable_libtool_lock"
7037   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039   $as_echo_n "checking for $ac_word... " >&6; }
7040 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7040 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7041    $as_echo_n "(cached) " >&6
7042   else
7043    if test -n "$DSYMUTIL"; then
# Line 6556 | Line 7077 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7077   set dummy dsymutil; ac_word=$2
7078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079   $as_echo_n "checking for $ac_word... " >&6; }
7080 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7080 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7081    $as_echo_n "(cached) " >&6
7082   else
7083    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6608 | Line 7129 | fi
7129   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131   $as_echo_n "checking for $ac_word... " >&6; }
7132 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7132 > if ${ac_cv_prog_NMEDIT+:} false; then :
7133    $as_echo_n "(cached) " >&6
7134   else
7135    if test -n "$NMEDIT"; then
# Line 6648 | Line 7169 | if test -z "$ac_cv_prog_NMEDIT"; then
7169   set dummy nmedit; ac_word=$2
7170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171   $as_echo_n "checking for $ac_word... " >&6; }
7172 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7172 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7173    $as_echo_n "(cached) " >&6
7174   else
7175    if test -n "$ac_ct_NMEDIT"; then
# Line 6700 | Line 7221 | fi
7221   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223   $as_echo_n "checking for $ac_word... " >&6; }
7224 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7224 > if ${ac_cv_prog_LIPO+:} false; then :
7225    $as_echo_n "(cached) " >&6
7226   else
7227    if test -n "$LIPO"; then
# Line 6740 | Line 7261 | if test -z "$ac_cv_prog_LIPO"; then
7261   set dummy lipo; ac_word=$2
7262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263   $as_echo_n "checking for $ac_word... " >&6; }
7264 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7264 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7265    $as_echo_n "(cached) " >&6
7266   else
7267    if test -n "$ac_ct_LIPO"; then
# Line 6792 | Line 7313 | fi
7313   set dummy ${ac_tool_prefix}otool; ac_word=$2
7314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7315   $as_echo_n "checking for $ac_word... " >&6; }
7316 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7316 > if ${ac_cv_prog_OTOOL+:} false; then :
7317    $as_echo_n "(cached) " >&6
7318   else
7319    if test -n "$OTOOL"; then
# Line 6832 | Line 7353 | if test -z "$ac_cv_prog_OTOOL"; then
7353   set dummy otool; ac_word=$2
7354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355   $as_echo_n "checking for $ac_word... " >&6; }
7356 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7356 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7357    $as_echo_n "(cached) " >&6
7358   else
7359    if test -n "$ac_ct_OTOOL"; then
# Line 6884 | Line 7405 | fi
7405   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7407   $as_echo_n "checking for $ac_word... " >&6; }
7408 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7408 > if ${ac_cv_prog_OTOOL64+:} false; then :
7409    $as_echo_n "(cached) " >&6
7410   else
7411    if test -n "$OTOOL64"; then
# Line 6924 | Line 7445 | if test -z "$ac_cv_prog_OTOOL64"; then
7445   set dummy otool64; ac_word=$2
7446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7447   $as_echo_n "checking for $ac_word... " >&6; }
7448 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7448 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7449    $as_echo_n "(cached) " >&6
7450   else
7451    if test -n "$ac_ct_OTOOL64"; then
# Line 6999 | Line 7520 | fi
7520  
7521      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7522   $as_echo_n "checking for -single_module linker flag... " >&6; }
7523 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7523 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7524    $as_echo_n "(cached) " >&6
7525   else
7526    lt_cv_apple_cc_single_mod=no
# Line 7015 | Line 7536 | else
7536          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7537            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7538          _lt_result=$?
7539 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7539 >        # If there is a non-empty error log, and "single_module"
7540 >        # appears in it, assume the flag caused a linker warning
7541 >        if test -s conftest.err && $GREP single_module conftest.err; then
7542 >          cat conftest.err >&5
7543 >        # Otherwise, if the output was created with a 0 exit code from
7544 >        # the compiler, it worked.
7545 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7546            lt_cv_apple_cc_single_mod=yes
7547          else
7548            cat conftest.err >&5
# Line 7026 | Line 7553 | else
7553   fi
7554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7555   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7556 +
7557      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7558   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7559 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7559 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7560    $as_echo_n "(cached) " >&6
7561   else
7562    lt_cv_ld_exported_symbols_list=no
# Line 7058 | Line 7586 | rm -f core conftest.err conftest.$ac_obj
7586   fi
7587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7588   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7589 +
7590      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7591   $as_echo_n "checking for -force_load linker flag... " >&6; }
7592 < if test "${lt_cv_ld_force_load+set}" = set; then :
7592 > if ${lt_cv_ld_force_load+:} false; then :
7593    $as_echo_n "(cached) " >&6
7594   else
7595    lt_cv_ld_force_load=no
# Line 7079 | Line 7608 | _LT_EOF
7608        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7609        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7610        _lt_result=$?
7611 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7611 >      if test -s conftest.err && $GREP force_load conftest.err; then
7612 >        cat conftest.err >&5
7613 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7614          lt_cv_ld_force_load=yes
7615        else
7616          cat conftest.err >&5
# Line 7137 | Line 7668 | if test -n "$CPP" && test -d "$CPP"; the
7668    CPP=
7669   fi
7670   if test -z "$CPP"; then
7671 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7671 >  if ${ac_cv_prog_CPP+:} false; then :
7672    $as_echo_n "(cached) " >&6
7673   else
7674        # Double quotes because CPP needs to be expanded
# Line 7265 | Line 7796 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7796  
7797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7798   $as_echo_n "checking for ANSI C header files... " >&6; }
7799 < if test "${ac_cv_header_stdc+set}" = set; then :
7799 > if ${ac_cv_header_stdc+:} false; then :
7800    $as_echo_n "(cached) " >&6
7801   else
7802    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7396 | Line 7927 | for ac_header in dlfcn.h
7927   do :
7928    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7929   "
7930 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7930 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7931    cat >>confdefs.h <<_ACEOF
7932   #define HAVE_DLFCN_H 1
7933   _ACEOF
# Line 7482 | Line 8013 | fi
8013  
8014   # Check whether --with-pic was given.
8015   if test "${with_pic+set}" = set; then :
8016 <  withval=$with_pic; pic_mode="$withval"
8016 >  withval=$with_pic; lt_p=${PACKAGE-default}
8017 >    case $withval in
8018 >    yes|no) pic_mode=$withval ;;
8019 >    *)
8020 >      pic_mode=default
8021 >      # Look at the argument we got.  We use all the common list separators.
8022 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8023 >      for lt_pkg in $withval; do
8024 >        IFS="$lt_save_ifs"
8025 >        if test "X$lt_pkg" = "X$lt_p"; then
8026 >          pic_mode=yes
8027 >        fi
8028 >      done
8029 >      IFS="$lt_save_ifs"
8030 >      ;;
8031 >    esac
8032   else
8033    pic_mode=default
8034   fi
# Line 7560 | Line 8106 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8106  
8107  
8108  
8109 +
8110 +
8111 +
8112 +
8113   test -z "$LN_S" && LN_S="ln -s"
8114  
8115  
# Line 7581 | Line 8131 | fi
8131  
8132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8133   $as_echo_n "checking for objdir... " >&6; }
8134 < if test "${lt_cv_objdir+set}" = set; then :
8134 > if ${lt_cv_objdir+:} false; then :
8135    $as_echo_n "(cached) " >&6
8136   else
8137    rm -f .libs 2>/dev/null
# Line 7659 | Line 8209 | file_magic*)
8209    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8210      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8211   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8212 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8212 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8213    $as_echo_n "(cached) " >&6
8214   else
8215    case $MAGIC_CMD in
# Line 7725 | Line 8275 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8275    if test -n "$ac_tool_prefix"; then
8276      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8277   $as_echo_n "checking for file... " >&6; }
8278 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8278 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8279    $as_echo_n "(cached) " >&6
8280   else
8281    case $MAGIC_CMD in
# Line 7863 | Line 8413 | if test "$GCC" = yes; then
8413  
8414    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8415   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8416 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8416 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8417    $as_echo_n "(cached) " >&6
8418   else
8419    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7916 | Line 8466 | fi
8466   lt_prog_compiler_pic=
8467   lt_prog_compiler_static=
8468  
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; }
8469  
8470    if test "$GCC" = yes; then
8471      lt_prog_compiler_wl='-Wl,'
# Line 8017 | Line 8565 | $as_echo_n "checking for $compiler optio
8565      case $cc_basename in
8566      nvcc*) # Cuda Compiler Driver 2.2
8567        lt_prog_compiler_wl='-Xlinker '
8568 <      lt_prog_compiler_pic='-Xcompiler -fPIC'
8568 >      if test -n "$lt_prog_compiler_pic"; then
8569 >        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8570 >      fi
8571        ;;
8572      esac
8573    else
# Line 8082 | Line 8632 | $as_echo_n "checking for $compiler optio
8632          lt_prog_compiler_pic='--shared'
8633          lt_prog_compiler_static='--static'
8634          ;;
8635 +      nagfor*)
8636 +        # NAG Fortran compiler
8637 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8638 +        lt_prog_compiler_pic='-PIC'
8639 +        lt_prog_compiler_static='-Bstatic'
8640 +        ;;
8641        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8642          # Portland Group compilers (*not* the Pentium gcc compiler,
8643          # which looks to be a dead project)
# Line 8102 | Line 8658 | $as_echo_n "checking for $compiler optio
8658          ;;
8659        *)
8660          case `$CC -V 2>&1 | sed 5q` in
8661 <        *Sun\ F* | *Sun*Fortran*)
8661 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8662            # Sun Fortran 8.3 passes all unrecognized flags to the linker
8663            lt_prog_compiler_pic='-KPIC'
8664            lt_prog_compiler_static='-Bstatic'
8665            lt_prog_compiler_wl=''
8666            ;;
8667 +        *Sun\ F* | *Sun*Fortran*)
8668 +          lt_prog_compiler_pic='-KPIC'
8669 +          lt_prog_compiler_static='-Bstatic'
8670 +          lt_prog_compiler_wl='-Qoption ld '
8671 +          ;;
8672          *Sun\ C*)
8673            # Sun C 5.9
8674            lt_prog_compiler_pic='-KPIC'
8675            lt_prog_compiler_static='-Bstatic'
8676            lt_prog_compiler_wl='-Wl,'
8677            ;;
8678 +        *Intel*\ [CF]*Compiler*)
8679 +          lt_prog_compiler_wl='-Wl,'
8680 +          lt_prog_compiler_pic='-fPIC'
8681 +          lt_prog_compiler_static='-static'
8682 +          ;;
8683 +        *Portland\ Group*)
8684 +          lt_prog_compiler_wl='-Wl,'
8685 +          lt_prog_compiler_pic='-fpic'
8686 +          lt_prog_compiler_static='-Bstatic'
8687 +          ;;
8688          esac
8689          ;;
8690        esac
# Line 8201 | Line 8772 | case $host_os in
8772      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8773      ;;
8774   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
8775  
8776 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8777 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8778 + if ${lt_cv_prog_compiler_pic+:} false; then :
8779 +  $as_echo_n "(cached) " >&6
8780 + else
8781 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8782 + fi
8783 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8784 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8785 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8786  
8787   #
8788   # Check to make sure the PIC flag actually works.
# Line 8215 | Line 8790 | $as_echo "$lt_prog_compiler_pic" >&6; }
8790   if test -n "$lt_prog_compiler_pic"; then
8791    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8792   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8793 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8793 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8794    $as_echo_n "(cached) " >&6
8795   else
8796    lt_cv_prog_compiler_pic_works=no
# Line 8268 | Line 8843 | fi
8843  
8844  
8845  
8846 +
8847 +
8848 +
8849 +
8850 +
8851   #
8852   # Check to make sure the static flag actually works.
8853   #
8854   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8856   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8857 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8857 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8858    $as_echo_n "(cached) " >&6
8859   else
8860    lt_cv_prog_compiler_static_works=no
# Line 8317 | Line 8897 | fi
8897  
8898    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8899   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8900 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8900 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8901    $as_echo_n "(cached) " >&6
8902   else
8903    lt_cv_prog_compiler_c_o=no
# Line 8372 | Line 8952 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8952  
8953    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8954   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8955 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8955 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8956    $as_echo_n "(cached) " >&6
8957   else
8958    lt_cv_prog_compiler_c_o=no
# Line 8466 | Line 9046 | $as_echo_n "checking whether the $compil
9046    hardcode_direct=no
9047    hardcode_direct_absolute=no
9048    hardcode_libdir_flag_spec=
8469  hardcode_libdir_flag_spec_ld=
9049    hardcode_libdir_separator=
9050    hardcode_minus_L=no
9051    hardcode_shlibpath_var=unsupported
# Line 8618 | Line 9197 | _LT_EOF
9197        allow_undefined_flag=unsupported
9198        always_export_symbols=no
9199        enable_shared_with_static_runtimes=yes
9200 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9200 >      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'
9201 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9202  
9203        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9204          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 9246 | _LT_EOF
9246        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9247           && test "$tmp_diet" = no
9248        then
9249 <        tmp_addflag=
9249 >        tmp_addflag=' $pic_flag'
9250          tmp_sharedflag='-shared'
9251          case $cc_basename,$host_cpu in
9252          pgcc*)                          # Portland Group C compiler
# Line 8715 | Line 9295 | _LT_EOF
9295          xlf* | bgf* | bgxlf* | mpixlf*)
9296            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9297            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9298 <          hardcode_libdir_flag_spec=
8719 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9298 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9299            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9300            if test "x$supports_anon_versioning" = xyes; then
9301              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
# Line 8736 | Line 9315 | _LT_EOF
9315          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9316          wlarc=
9317        else
9318 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9318 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9320        fi
9321        ;;
9322  
# Line 8755 | Line 9334 | _LT_EOF
9334  
9335   _LT_EOF
9336        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9337 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9337 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9339        else
9340          ld_shlibs=no
9341        fi
# Line 8802 | Line 9381 | _LT_EOF
9381  
9382      *)
9383        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9384 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9384 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9386        else
9387          ld_shlibs=no
9388        fi
# Line 8933 | Line 9512 | _LT_EOF
9512          allow_undefined_flag='-berok'
9513          # Determine the default libpath from the value encoded in an
9514          # empty executable.
9515 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 >        if test "${lt_cv_aix_libpath+set}" = set; then
9516 >  aix_libpath=$lt_cv_aix_libpath
9517 > else
9518 >  if ${lt_cv_aix_libpath_+:} false; then :
9519 >  $as_echo_n "(cached) " >&6
9520 > else
9521 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522   /* end confdefs.h.  */
9523  
9524   int
# Line 8946 | Line 9531 | main ()
9531   _ACEOF
9532   if ac_fn_c_try_link "$LINENO"; then :
9533  
9534 < lt_aix_libpath_sed='
9535 <    /Import File Strings/,/^$/ {
9536 <        /^0/ {
9537 <            s/^0  *\(.*\)$/\1/
9538 <            p
9539 <        }
9540 <    }'
9541 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9542 < # Check for a 64-bit object if we didn't find anything.
9543 < if test -z "$aix_libpath"; then
9544 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 < fi
9534 >  lt_aix_libpath_sed='
9535 >      /Import File Strings/,/^$/ {
9536 >          /^0/ {
9537 >              s/^0  *\([^ ]*\) *$/\1/
9538 >              p
9539 >          }
9540 >      }'
9541 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9542 >  # Check for a 64-bit object if we didn't find anything.
9543 >  if test -z "$lt_cv_aix_libpath_"; then
9544 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 >  fi
9546   fi
9547   rm -f core conftest.err conftest.$ac_objext \
9548      conftest$ac_exeext conftest.$ac_ext
9549 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9549 >  if test -z "$lt_cv_aix_libpath_"; then
9550 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9551 >  fi
9552 >
9553 > fi
9554 >
9555 >  aix_libpath=$lt_cv_aix_libpath_
9556 > fi
9557  
9558          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9559          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 9565 | if test -z "$aix_libpath"; then aix_libp
9565          else
9566           # Determine the default libpath from the value encoded in an
9567           # empty executable.
9568 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 >         if test "${lt_cv_aix_libpath+set}" = set; then
9569 >  aix_libpath=$lt_cv_aix_libpath
9570 > else
9571 >  if ${lt_cv_aix_libpath_+:} false; then :
9572 >  $as_echo_n "(cached) " >&6
9573 > else
9574 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9575   /* end confdefs.h.  */
9576  
9577   int
# Line 8986 | Line 9584 | main ()
9584   _ACEOF
9585   if ac_fn_c_try_link "$LINENO"; then :
9586  
9587 < lt_aix_libpath_sed='
9588 <    /Import File Strings/,/^$/ {
9589 <        /^0/ {
9590 <            s/^0  *\(.*\)$/\1/
9591 <            p
9592 <        }
9593 <    }'
9594 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9595 < # Check for a 64-bit object if we didn't find anything.
9596 < if test -z "$aix_libpath"; then
9597 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9598 < fi
9587 >  lt_aix_libpath_sed='
9588 >      /Import File Strings/,/^$/ {
9589 >          /^0/ {
9590 >              s/^0  *\([^ ]*\) *$/\1/
9591 >              p
9592 >          }
9593 >      }'
9594 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9595 >  # Check for a 64-bit object if we didn't find anything.
9596 >  if test -z "$lt_cv_aix_libpath_"; then
9597 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9598 >  fi
9599   fi
9600   rm -f core conftest.err conftest.$ac_objext \
9601      conftest$ac_exeext conftest.$ac_ext
9602 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9602 >  if test -z "$lt_cv_aix_libpath_"; then
9603 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9604 >  fi
9605 >
9606 > fi
9607 >
9608 >  aix_libpath=$lt_cv_aix_libpath_
9609 > fi
9610  
9611           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9612            # Warning - without using the other run time loading flags,
# Line 9046 | Line 9651 | if test -z "$aix_libpath"; then aix_libp
9651        # Microsoft Visual C++.
9652        # hardcode_libdir_flag_spec is actually meaningless, as there is
9653        # no search path for DLLs.
9654 <      hardcode_libdir_flag_spec=' '
9655 <      allow_undefined_flag=unsupported
9656 <      # Tell ltmain to make .lib files, not .a files.
9657 <      libext=lib
9658 <      # Tell ltmain to make .dll files, not .so files.
9659 <      shrext_cmds=".dll"
9660 <      # FIXME: Setting linknames here is a bad hack.
9661 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9662 <      # The linker will automatically build a .lib file if we build a DLL.
9663 <      old_archive_from_new_cmds='true'
9664 <      # FIXME: Should let the user specify the lib program.
9665 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9666 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9667 <      enable_shared_with_static_runtimes=yes
9654 >      case $cc_basename in
9655 >      cl*)
9656 >        # Native MSVC
9657 >        hardcode_libdir_flag_spec=' '
9658 >        allow_undefined_flag=unsupported
9659 >        always_export_symbols=yes
9660 >        file_list_spec='@'
9661 >        # Tell ltmain to make .lib files, not .a files.
9662 >        libext=lib
9663 >        # Tell ltmain to make .dll files, not .so files.
9664 >        shrext_cmds=".dll"
9665 >        # FIXME: Setting linknames here is a bad hack.
9666 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9667 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9668 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9669 >          else
9670 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9671 >          fi~
9672 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9673 >          linknames='
9674 >        # The linker will not automatically build a static lib if we build a DLL.
9675 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9676 >        enable_shared_with_static_runtimes=yes
9677 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9678 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9679 >        # Don't use ranlib
9680 >        old_postinstall_cmds='chmod 644 $oldlib'
9681 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9682 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9683 >          case $lt_outputfile in
9684 >            *.exe|*.EXE) ;;
9685 >            *)
9686 >              lt_outputfile="$lt_outputfile.exe"
9687 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9688 >              ;;
9689 >          esac~
9690 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9691 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9692 >            $RM "$lt_outputfile.manifest";
9693 >          fi'
9694 >        ;;
9695 >      *)
9696 >        # Assume MSVC wrapper
9697 >        hardcode_libdir_flag_spec=' '
9698 >        allow_undefined_flag=unsupported
9699 >        # Tell ltmain to make .lib files, not .a files.
9700 >        libext=lib
9701 >        # Tell ltmain to make .dll files, not .so files.
9702 >        shrext_cmds=".dll"
9703 >        # FIXME: Setting linknames here is a bad hack.
9704 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9705 >        # The linker will automatically build a .lib file if we build a DLL.
9706 >        old_archive_from_new_cmds='true'
9707 >        # FIXME: Should let the user specify the lib program.
9708 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9709 >        enable_shared_with_static_runtimes=yes
9710 >        ;;
9711 >      esac
9712        ;;
9713  
9714      darwin* | rhapsody*)
# Line 9071 | Line 9720 | if test -z "$aix_libpath"; then aix_libp
9720    hardcode_shlibpath_var=unsupported
9721    if test "$lt_cv_ld_force_load" = "yes"; then
9722      whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9723 +
9724    else
9725      whole_archive_flag_spec=''
9726    fi
# Line 9099 | Line 9749 | if test -z "$aix_libpath"; then aix_libp
9749        hardcode_shlibpath_var=no
9750        ;;
9751  
9102    freebsd1*)
9103      ld_shlibs=no
9104      ;;
9105
9752      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9753      # support.  Future versions do this automatically, but an explicit c++rt0.o
9754      # does not break anything, and helps significantly (at the cost of a little
# Line 9115 | Line 9761 | if test -z "$aix_libpath"; then aix_libp
9761        ;;
9762  
9763      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9764 <    freebsd2*)
9764 >    freebsd2.*)
9765        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9766        hardcode_direct=yes
9767        hardcode_minus_L=yes
# Line 9124 | Line 9770 | if test -z "$aix_libpath"; then aix_libp
9770  
9771      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9772      freebsd* | dragonfly*)
9773 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9773 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9774        hardcode_libdir_flag_spec='-R$libdir'
9775        hardcode_direct=yes
9776        hardcode_shlibpath_var=no
# Line 9132 | Line 9778 | if test -z "$aix_libpath"; then aix_libp
9778  
9779      hpux9*)
9780        if test "$GCC" = yes; then
9781 <        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'
9781 >        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'
9782        else
9783          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'
9784        fi
# Line 9148 | Line 9794 | if test -z "$aix_libpath"; then aix_libp
9794  
9795      hpux10*)
9796        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9797 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9797 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9798        else
9799          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9800        fi
9801        if test "$with_gnu_ld" = no; then
9802          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9157        hardcode_libdir_flag_spec_ld='+b $libdir'
9803          hardcode_libdir_separator=:
9804          hardcode_direct=yes
9805          hardcode_direct_absolute=yes
# Line 9172 | Line 9817 | if test -z "$aix_libpath"; then aix_libp
9817            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9818            ;;
9819          ia64*)
9820 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9820 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9821            ;;
9822          *)
9823 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9823 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9824            ;;
9825          esac
9826        else
# Line 9192 | Line 9837 | if test -z "$aix_libpath"; then aix_libp
9837            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9838            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9839   $as_echo_n "checking if $CC understands -b... " >&6; }
9840 < if test "${lt_cv_prog_compiler__b+set}" = set; then :
9840 > if ${lt_cv_prog_compiler__b+:} false; then :
9841    $as_echo_n "(cached) " >&6
9842   else
9843    lt_cv_prog_compiler__b=no
# Line 9254 | Line 9899 | fi
9899  
9900      irix5* | irix6* | nonstopux*)
9901        if test "$GCC" = yes; then
9902 <        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'
9902 >        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'
9903          # Try to use the -exported_symbol ld option, if it does not
9904          # work, assume that -exports_file does not work either and
9905          # implicitly export all symbols.
9906 <        save_LDFLAGS="$LDFLAGS"
9907 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9908 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 >        # This should be the same for all languages, so no per-tag cache variable.
9907 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9908 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9909 > if ${lt_cv_irix_exported_symbol+:} false; then :
9910 >  $as_echo_n "(cached) " >&6
9911 > else
9912 >  save_LDFLAGS="$LDFLAGS"
9913 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9914 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915   /* end confdefs.h.  */
9916 < int foo(void) {}
9916 > int foo (void) { return 0; }
9917   _ACEOF
9918   if ac_fn_c_try_link "$LINENO"; then :
9919 <  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'
9920 <
9919 >  lt_cv_irix_exported_symbol=yes
9920 > else
9921 >  lt_cv_irix_exported_symbol=no
9922   fi
9923   rm -f core conftest.err conftest.$ac_objext \
9924      conftest$ac_exeext conftest.$ac_ext
9925 <        LDFLAGS="$save_LDFLAGS"
9925 >           LDFLAGS="$save_LDFLAGS"
9926 > fi
9927 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9928 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9929 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9930 >          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'
9931 >        fi
9932        else
9933          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'
9934          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 10013 | rm -f core conftest.err conftest.$ac_obj
10013      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10014        if test "$GCC" = yes; then
10015          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10016 <        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'
10016 >        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'
10017          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10018        else
10019          allow_undefined_flag=' -expect_unresolved \*'
# Line 9374 | Line 10032 | rm -f core conftest.err conftest.$ac_obj
10032        no_undefined_flag=' -z defs'
10033        if test "$GCC" = yes; then
10034          wlarc='${wl}'
10035 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10035 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10036          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10037 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10037 >          $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'
10038        else
10039          case `$CC -V 2>&1` in
10040          *"Compilers 5.0"*)
# Line 9564 | Line 10222 | x|xyes)
10222        # to ld, don't add -lc before -lgcc.
10223        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10224   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10225 < if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10225 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10226    $as_echo_n "(cached) " >&6
10227   else
10228    $RM conftest*
# Line 9765 | Line 10423 | esac
10423  
10424  
10425  
9768
9769
9770
9771
9772
10426    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10427   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10428  
# Line 9859 | Line 10512 | need_version=unknown
10512  
10513   case $host_os in
10514   aix3*)
10515 <  version_type=linux
10515 >  version_type=linux # correct to gnu/linux during the next big refactor
10516    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10517    shlibpath_var=LIBPATH
10518  
# Line 9868 | Line 10521 | aix3*)
10521    ;;
10522  
10523   aix[4-9]*)
10524 <  version_type=linux
10524 >  version_type=linux # correct to gnu/linux during the next big refactor
10525    need_lib_prefix=no
10526    need_version=no
10527    hardcode_into_libs=yes
# Line 9933 | Line 10586 | beos*)
10586    ;;
10587  
10588   bsdi[45]*)
10589 <  version_type=linux
10589 >  version_type=linux # correct to gnu/linux during the next big refactor
10590    need_version=no
10591    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9952 | Line 10605 | cygwin* | mingw* | pw32* | cegcc*)
10605    need_version=no
10606    need_lib_prefix=no
10607  
10608 <  case $GCC,$host_os in
10609 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10608 >  case $GCC,$cc_basename in
10609 >  yes,*)
10610 >    # gcc
10611      library_names_spec='$libname.dll.a'
10612      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10613      postinstall_cmds='base_file=`basename \${file}`~
# Line 9986 | Line 10640 | cygwin* | mingw* | pw32* | cegcc*)
10640        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10641        ;;
10642      esac
10643 +    dynamic_linker='Win32 ld.exe'
10644 +    ;;
10645 +
10646 +  *,cl*)
10647 +    # Native MSVC
10648 +    libname_spec='$name'
10649 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10650 +    library_names_spec='${libname}.dll.lib'
10651 +
10652 +    case $build_os in
10653 +    mingw*)
10654 +      sys_lib_search_path_spec=
10655 +      lt_save_ifs=$IFS
10656 +      IFS=';'
10657 +      for lt_path in $LIB
10658 +      do
10659 +        IFS=$lt_save_ifs
10660 +        # Let DOS variable expansion print the short 8.3 style file name.
10661 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10662 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10663 +      done
10664 +      IFS=$lt_save_ifs
10665 +      # Convert to MSYS style.
10666 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10667 +      ;;
10668 +    cygwin*)
10669 +      # Convert to unix form, then to dos form, then back to unix form
10670 +      # but this time dos style (no spaces!) so that the unix form looks
10671 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10672 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10673 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10674 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10675 +      ;;
10676 +    *)
10677 +      sys_lib_search_path_spec="$LIB"
10678 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10679 +        # It is most probably a Windows format PATH.
10680 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10681 +      else
10682 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10683 +      fi
10684 +      # FIXME: find the short name or the path components, as spaces are
10685 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10686 +      ;;
10687 +    esac
10688 +
10689 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10690 +    postinstall_cmds='base_file=`basename \${file}`~
10691 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10692 +      dldir=$destdir/`dirname \$dlpath`~
10693 +      test -d \$dldir || mkdir -p \$dldir~
10694 +      $install_prog $dir/$dlname \$dldir/$dlname'
10695 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10696 +      dlpath=$dir/\$dldll~
10697 +       $RM \$dlpath'
10698 +    shlibpath_overrides_runpath=yes
10699 +    dynamic_linker='Win32 link.exe'
10700      ;;
10701  
10702    *)
10703 +    # Assume MSVC wrapper
10704      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10705 +    dynamic_linker='Win32 ld.exe'
10706      ;;
10707    esac
9995  dynamic_linker='Win32 ld.exe'
10708    # FIXME: first we should search . and the directory the executable is in
10709    shlibpath_var=PATH
10710    ;;
# Line 10013 | Line 10725 | darwin* | rhapsody*)
10725    ;;
10726  
10727   dgux*)
10728 <  version_type=linux
10728 >  version_type=linux # correct to gnu/linux during the next big refactor
10729    need_lib_prefix=no
10730    need_version=no
10731    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10021 | Line 10733 | dgux*)
10733    shlibpath_var=LD_LIBRARY_PATH
10734    ;;
10735  
10024 freebsd1*)
10025  dynamic_linker=no
10026  ;;
10027
10736   freebsd* | dragonfly*)
10737    # DragonFly does not have aout.  When/if they implement a new
10738    # versioning mechanism, adjust this.
# Line 10032 | Line 10740 | freebsd* | dragonfly*)
10740      objformat=`/usr/bin/objformat`
10741    else
10742      case $host_os in
10743 <    freebsd[123]*) objformat=aout ;;
10743 >    freebsd[23].*) objformat=aout ;;
10744      *) objformat=elf ;;
10745      esac
10746    fi
# Line 10050 | Line 10758 | freebsd* | dragonfly*)
10758    esac
10759    shlibpath_var=LD_LIBRARY_PATH
10760    case $host_os in
10761 <  freebsd2*)
10761 >  freebsd2.*)
10762      shlibpath_overrides_runpath=yes
10763      ;;
10764    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10070 | Line 10778 | freebsd* | dragonfly*)
10778    ;;
10779  
10780   gnu*)
10781 <  version_type=linux
10781 >  version_type=linux # correct to gnu/linux during the next big refactor
10782    need_lib_prefix=no
10783    need_version=no
10784    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10785    soname_spec='${libname}${release}${shared_ext}$major'
10786    shlibpath_var=LD_LIBRARY_PATH
10787 +  shlibpath_overrides_runpath=no
10788    hardcode_into_libs=yes
10789    ;;
10790  
10791   haiku*)
10792 <  version_type=linux
10792 >  version_type=linux # correct to gnu/linux during the next big refactor
10793    need_lib_prefix=no
10794    need_version=no
10795    dynamic_linker="$host_os runtime_loader"
# Line 10141 | Line 10850 | hpux9* | hpux10* | hpux11*)
10850    ;;
10851  
10852   interix[3-9]*)
10853 <  version_type=linux
10853 >  version_type=linux # correct to gnu/linux during the next big refactor
10854    need_lib_prefix=no
10855    need_version=no
10856    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10157 | Line 10866 | irix5* | irix6* | nonstopux*)
10866      nonstopux*) version_type=nonstopux ;;
10867      *)
10868          if test "$lt_cv_prog_gnu_ld" = yes; then
10869 <                version_type=linux
10869 >                version_type=linux # correct to gnu/linux during the next big refactor
10870          else
10871                  version_type=irix
10872          fi ;;
# Line 10194 | Line 10903 | linux*oldld* | linux*aout* | linux*coff*
10903    dynamic_linker=no
10904    ;;
10905  
10906 < # This must be Linux ELF.
10906 > # This must be glibc/ELF.
10907   linux* | k*bsd*-gnu | kopensolaris*-gnu)
10908 <  version_type=linux
10908 >  version_type=linux # correct to gnu/linux during the next big refactor
10909    need_lib_prefix=no
10910    need_version=no
10911    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10206 | Line 10915 | linux* | k*bsd*-gnu | kopensolaris*-gnu)
10915    shlibpath_overrides_runpath=no
10916  
10917    # Some binutils ld are patched to set DT_RUNPATH
10918 <  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10918 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10919    $as_echo_n "(cached) " >&6
10920   else
10921    lt_cv_shlibpath_overrides_runpath=no
# Line 10278 | Line 10987 | netbsd*)
10987    ;;
10988  
10989   newsos6)
10990 <  version_type=linux
10990 >  version_type=linux # correct to gnu/linux during the next big refactor
10991    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992    shlibpath_var=LD_LIBRARY_PATH
10993    shlibpath_overrides_runpath=yes
# Line 10347 | Line 11056 | rdos*)
11056    ;;
11057  
11058   solaris*)
11059 <  version_type=linux
11059 >  version_type=linux # correct to gnu/linux during the next big refactor
11060    need_lib_prefix=no
11061    need_version=no
11062    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10372 | Line 11081 | sunos4*)
11081    ;;
11082  
11083   sysv4 | sysv4.3*)
11084 <  version_type=linux
11084 >  version_type=linux # correct to gnu/linux during the next big refactor
11085    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11086    soname_spec='${libname}${release}${shared_ext}$major'
11087    shlibpath_var=LD_LIBRARY_PATH
# Line 10396 | Line 11105 | sysv4 | sysv4.3*)
11105  
11106   sysv4*MP*)
11107    if test -d /usr/nec ;then
11108 <    version_type=linux
11108 >    version_type=linux # correct to gnu/linux during the next big refactor
11109      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11110      soname_spec='$libname${shared_ext}.$major'
11111      shlibpath_var=LD_LIBRARY_PATH
# Line 10427 | Line 11136 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11136  
11137   tpf*)
11138    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11139 <  version_type=linux
11139 >  version_type=linux # correct to gnu/linux during the next big refactor
11140    need_lib_prefix=no
11141    need_version=no
11142    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10437 | Line 11146 | tpf*)
11146    ;;
11147  
11148   uts4*)
11149 <  version_type=linux
11149 >  version_type=linux # correct to gnu/linux during the next big refactor
11150    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11151    soname_spec='${libname}${release}${shared_ext}$major'
11152    shlibpath_var=LD_LIBRARY_PATH
# Line 10626 | Line 11335 | else
11335    # if libdl is installed we need to link against it
11336      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11337   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11338 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11338 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11339    $as_echo_n "(cached) " >&6
11340   else
11341    ac_check_lib_save_LIBS=$LIBS
# Line 10660 | Line 11369 | LIBS=$ac_check_lib_save_LIBS
11369   fi
11370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11371   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11372 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11372 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11373    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11374   else
11375  
# Line 10674 | Line 11383 | fi
11383  
11384    *)
11385      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11386 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11386 > if test "x$ac_cv_func_shl_load" = xyes; then :
11387    lt_cv_dlopen="shl_load"
11388   else
11389    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11390   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11391 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11391 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11392    $as_echo_n "(cached) " >&6
11393   else
11394    ac_check_lib_save_LIBS=$LIBS
# Line 10713 | Line 11422 | LIBS=$ac_check_lib_save_LIBS
11422   fi
11423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11424   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11425 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11425 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11426    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11427   else
11428    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11429 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11429 > if test "x$ac_cv_func_dlopen" = xyes; then :
11430    lt_cv_dlopen="dlopen"
11431   else
11432    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11433   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11434 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11434 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11435    $as_echo_n "(cached) " >&6
11436   else
11437    ac_check_lib_save_LIBS=$LIBS
# Line 10756 | Line 11465 | LIBS=$ac_check_lib_save_LIBS
11465   fi
11466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11467   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11468 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11468 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11469    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11470   else
11471    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11472   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11473 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11473 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11474    $as_echo_n "(cached) " >&6
11475   else
11476    ac_check_lib_save_LIBS=$LIBS
# Line 10795 | Line 11504 | LIBS=$ac_check_lib_save_LIBS
11504   fi
11505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11506   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11507 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11507 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11508    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11509   else
11510    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11511   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11512 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11512 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11513    $as_echo_n "(cached) " >&6
11514   else
11515    ac_check_lib_save_LIBS=$LIBS
# Line 10834 | Line 11543 | LIBS=$ac_check_lib_save_LIBS
11543   fi
11544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11545   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11546 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11546 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11547    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11548   fi
11549  
# Line 10875 | Line 11584 | fi
11584  
11585      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11586   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11587 < if test "${lt_cv_dlopen_self+set}" = set; then :
11587 > if ${lt_cv_dlopen_self+:} false; then :
11588    $as_echo_n "(cached) " >&6
11589   else
11590            if test "$cross_compiling" = yes; then :
# Line 10928 | Line 11637 | else
11637   /* When -fvisbility=hidden is used, assume the code has been annotated
11638     correspondingly for the symbols needed.  */
11639   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11640 < void fnord () __attribute__((visibility("default")));
11640 > int fnord () __attribute__((visibility("default")));
11641   #endif
11642  
11643 < void fnord () { int i=42; }
11643 > int fnord () { return 42; }
11644   int main ()
11645   {
11646    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10981 | Line 11690 | $as_echo "$lt_cv_dlopen_self" >&6; }
11690        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11691        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11692   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11693 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11693 > if ${lt_cv_dlopen_self_static+:} false; then :
11694    $as_echo_n "(cached) " >&6
11695   else
11696            if test "$cross_compiling" = yes; then :
# Line 11034 | Line 11743 | else
11743   /* When -fvisbility=hidden is used, assume the code has been annotated
11744     correspondingly for the symbols needed.  */
11745   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11746 < void fnord () __attribute__((visibility("default")));
11746 > int fnord () __attribute__((visibility("default")));
11747   #endif
11748  
11749 < void fnord () { int i=42; }
11749 > int fnord () { return 42; }
11750   int main ()
11751   {
11752    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11219 | Line 11928 | CC="$lt_save_CC"
11928  
11929  
11930  
11931 +
11932 +
11933          ac_config_commands="$ac_config_commands libtool"
11934  
11935  
# Line 11229 | Line 11940 | CC="$lt_save_CC"
11940  
11941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11942   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11943 < if test "${libltdl_cv_shlibext+set}" = set; then :
11943 > if ${libltdl_cv_shlibext+:} false; then :
11944    $as_echo_n "(cached) " >&6
11945   else
11946  
11947   module=yes
11948   eval libltdl_cv_shlibext=$shrext_cmds
11949 + module=no
11950 + eval libltdl_cv_shrext=$shrext_cmds
11951  
11952   fi
11953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11246 | Line 11959 | cat >>confdefs.h <<_ACEOF
11959   _ACEOF
11960  
11961   fi
11962 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11963 +
11964 + cat >>confdefs.h <<_ACEOF
11965 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11966 + _ACEOF
11967 +
11968 + fi
11969  
11970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11971   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11972 < if test "${lt_cv_module_path_var+set}" = set; then :
11972 > if ${lt_cv_module_path_var+:} false; then :
11973    $as_echo_n "(cached) " >&6
11974   else
11975    lt_cv_module_path_var="$shlibpath_var"
# Line 11266 | Line 11986 | fi
11986  
11987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11988   $as_echo_n "checking for the default library search path... " >&6; }
11989 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
11989 > if ${lt_cv_sys_dlsearch_path+:} false; then :
11990    $as_echo_n "(cached) " >&6
11991   else
11992    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11303 | Line 12023 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12023   LIBADD_DLOPEN=
12024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12025   $as_echo_n "checking for library containing dlopen... " >&6; }
12026 < if test "${ac_cv_search_dlopen+set}" = set; then :
12026 > if ${ac_cv_search_dlopen+:} false; then :
12027    $as_echo_n "(cached) " >&6
12028   else
12029    ac_func_search_save_LIBS=$LIBS
# Line 11337 | Line 12057 | for ac_lib in '' dl; do
12057   fi
12058   rm -f core conftest.err conftest.$ac_objext \
12059      conftest$ac_exeext
12060 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12060 >  if ${ac_cv_search_dlopen+:} false; then :
12061    break
12062   fi
12063   done
12064 < if test "${ac_cv_search_dlopen+set}" = set; then :
12064 > if ${ac_cv_search_dlopen+:} false; then :
12065  
12066   else
12067    ac_cv_search_dlopen=no
# Line 11386 | Line 12106 | $as_echo "#define HAVE_LIBDL 1" >>confde
12106   else
12107    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12108   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12109 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12109 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12110    $as_echo_n "(cached) " >&6
12111   else
12112    ac_check_lib_save_LIBS=$LIBS
# Line 11420 | Line 12140 | LIBS=$ac_check_lib_save_LIBS
12140   fi
12141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12142   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12143 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12143 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12144  
12145   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12146  
# Line 11440 | Line 12160 | then
12160    for ac_func in dlerror
12161   do :
12162    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12163 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12163 > if test "x$ac_cv_func_dlerror" = xyes; then :
12164    cat >>confdefs.h <<_ACEOF
12165   #define HAVE_DLERROR 1
12166   _ACEOF
# Line 11454 | Line 12174 | fi
12174  
12175   LIBADD_SHL_LOAD=
12176   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12177 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12177 > if test "x$ac_cv_func_shl_load" = xyes; then :
12178  
12179   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12180  
# Line 11462 | Line 12182 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12182   else
12183    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12184   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12185 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12185 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12186    $as_echo_n "(cached) " >&6
12187   else
12188    ac_check_lib_save_LIBS=$LIBS
# Line 11496 | Line 12216 | LIBS=$ac_check_lib_save_LIBS
12216   fi
12217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12218   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12219 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12219 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12220  
12221   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12222  
# Line 11512 | Line 12232 | case $host_os in
12232   darwin[1567].*)
12233   # We only want this for pre-Mac OS X 10.4.
12234    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12235 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12235 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12236  
12237   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12238  
# Line 11526 | Line 12246 | beos*)
12246   cygwin* | mingw* | os2* | pw32*)
12247    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12248   "
12249 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12249 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12250    ac_have_decl=1
12251   else
12252    ac_have_decl=0
# Line 11542 | Line 12262 | esac
12262  
12263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12264   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12265 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12265 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12266    $as_echo_n "(cached) " >&6
12267   else
12268    ac_check_lib_save_LIBS=$LIBS
# Line 11576 | Line 12296 | LIBS=$ac_check_lib_save_LIBS
12296   fi
12297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12298   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12299 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12299 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12300  
12301   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12302  
# Line 11610 | Line 12330 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12330  
12331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12332   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12333 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12333 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12334    $as_echo_n "(cached) " >&6
12335   else
12336    lt_cv_sys_symbol_underscore=no
# Line 11660 | Line 12380 | if test x"$lt_cv_sys_symbol_underscore"
12380       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12381          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12382   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12383 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12383 > if ${libltdl_cv_need_uscore+:} false; then :
12384    $as_echo_n "(cached) " >&6
12385   else
12386    libltdl_cv_need_uscore=unknown
# Line 11716 | Line 12436 | else
12436   /* When -fvisbility=hidden is used, assume the code has been annotated
12437     correspondingly for the symbols needed.  */
12438   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12439 < void fnord () __attribute__((visibility("default")));
12439 > int fnord () __attribute__((visibility("default")));
12440   #endif
12441  
12442 < void fnord () { int i=42; }
12442 > int fnord () { return 42; }
12443   int main ()
12444   {
12445    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11776 | Line 12496 | fi
12496  
12497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12498   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12499 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12499 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12500    $as_echo_n "(cached) " >&6
12501   else
12502    # PORTME does your system automatically load deplibs for dlopen?
# Line 11882 | Line 12602 | for ac_header in argz.h
12602   do :
12603    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12604   "
12605 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12605 > if test "x$ac_cv_header_argz_h" = xyes; then :
12606    cat >>confdefs.h <<_ACEOF
12607   #define HAVE_ARGZ_H 1
12608   _ACEOF
# Line 11896 | Line 12616 | ac_fn_c_check_type "$LINENO" "error_t" "
12616   #  include <argz.h>
12617   #endif
12618   "
12619 < if test "x$ac_cv_type_error_t" = x""yes; then :
12619 > if test "x$ac_cv_type_error_t" = xyes; then :
12620  
12621   cat >>confdefs.h <<_ACEOF
12622   #define HAVE_ERROR_T 1
# Line 11936 | Line 12656 | done
12656   if test -z "$ARGZ_H"; then :
12657    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12658   $as_echo_n "checking if argz actually works... " >&6; }
12659 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12659 > if ${lt_cv_sys_argz_works+:} false; then :
12660    $as_echo_n "(cached) " >&6
12661   else
12662    case $host_os in #(
# Line 11967 | Line 12687 | else
12687   fi
12688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12689   $as_echo "$lt_cv_sys_argz_works" >&6; }
12690 <     if test $lt_cv_sys_argz_works = yes; then :
12690 >     if test "$lt_cv_sys_argz_works" = yes; then :
12691  
12692   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12693  
# Line 11984 | Line 12704 | fi
12704  
12705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12706   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12707 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12707 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12708    $as_echo_n "(cached) " >&6
12709   else
12710    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 12026 | Line 12746 | if test "x$with_included_ltdl" != xyes;
12746    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12747  
12748   "
12749 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12749 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12750    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12751              #include <ltdl.h>
12752   "
12753 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12753 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12754    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12755   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12756 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12756 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12757    $as_echo_n "(cached) " >&6
12758   else
12759    ac_check_lib_save_LIBS=$LIBS
# Line 12067 | Line 12787 | LIBS=$ac_check_lib_save_LIBS
12787   fi
12788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12789   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12790 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12790 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12791    with_included_ltdl=no
12792   else
12793    with_included_ltdl=yes
# Line 12267 | Line 12987 | cat >>confdefs.h <<_ACEOF
12987   _ACEOF
12988  
12989  
12990 + name=
12991 + eval "lt_libprefix=\"$libname_spec\""
12992 +
12993 + cat >>confdefs.h <<_ACEOF
12994 + #define LT_LIBPREFIX "$lt_libprefix"
12995 + _ACEOF
12996 +
12997 +
12998   name=ltdl
12999 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
12999 > eval "LTDLOPEN=\"$libname_spec\""
13000  
13001  
13002  
# Line 12286 | Line 13014 | LIBTOOL="$LIBTOOL --silent"
13014  
13015    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13016   $as_echo_n "checking for library containing socket... " >&6; }
13017 < if test "${ac_cv_search_socket+set}" = set; then :
13017 > if ${ac_cv_search_socket+:} false; then :
13018    $as_echo_n "(cached) " >&6
13019   else
13020    ac_func_search_save_LIBS=$LIBS
# Line 12320 | Line 13048 | for ac_lib in '' socket; do
13048   fi
13049   rm -f core conftest.err conftest.$ac_objext \
13050      conftest$ac_exeext
13051 <  if test "${ac_cv_search_socket+set}" = set; then :
13051 >  if ${ac_cv_search_socket+:} false; then :
13052    break
13053   fi
13054   done
13055 < if test "${ac_cv_search_socket+set}" = set; then :
13055 > if ${ac_cv_search_socket+:} false; then :
13056  
13057   else
13058    ac_cv_search_socket=no
# Line 12344 | Line 13072 | fi
13072  
13073    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13074   $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13075 < if test "${ac_cv_search_inet_ntoa+set}" = set; then :
13075 > if ${ac_cv_search_inet_ntoa+:} false; then :
13076    $as_echo_n "(cached) " >&6
13077   else
13078    ac_func_search_save_LIBS=$LIBS
# Line 12378 | Line 13106 | for ac_lib in '' nsl; do
13106   fi
13107   rm -f core conftest.err conftest.$ac_objext \
13108      conftest$ac_exeext
13109 <  if test "${ac_cv_search_inet_ntoa+set}" = set; then :
13109 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13110    break
13111   fi
13112   done
13113 < if test "${ac_cv_search_inet_ntoa+set}" = set; then :
13113 > if ${ac_cv_search_inet_ntoa+:} false; then :
13114  
13115   else
13116    ac_cv_search_inet_ntoa=no
# Line 12400 | Line 13128 | fi
13128  
13129    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13130   $as_echo_n "checking for library containing inet_aton... " >&6; }
13131 < if test "${ac_cv_search_inet_aton+set}" = set; then :
13131 > if ${ac_cv_search_inet_aton+:} false; then :
13132    $as_echo_n "(cached) " >&6
13133   else
13134    ac_func_search_save_LIBS=$LIBS
# Line 12434 | Line 13162 | for ac_lib in '' resolv; do
13162   fi
13163   rm -f core conftest.err conftest.$ac_objext \
13164      conftest$ac_exeext
13165 <  if test "${ac_cv_search_inet_aton+set}" = set; then :
13165 >  if ${ac_cv_search_inet_aton+:} false; then :
13166    break
13167   fi
13168   done
13169 < if test "${ac_cv_search_inet_aton+set}" = set; then :
13169 > if ${ac_cv_search_inet_aton+:} false; then :
13170  
13171   else
13172    ac_cv_search_inet_aton=no
# Line 12471 | Line 13199 | done
13199     #include <netdb.h>
13200  
13201   "
13202 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13202 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13203  
13204   cat >>confdefs.h <<_ACEOF
13205   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12484 | Line 13212 | ac_fn_c_check_type "$LINENO" "struct soc
13212     #include <netdb.h>
13213  
13214   "
13215 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13215 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13216  
13217   cat >>confdefs.h <<_ACEOF
13218   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12497 | Line 13225 | ac_fn_c_check_type "$LINENO" "struct add
13225     #include <netdb.h>
13226  
13227   "
13228 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13228 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13229  
13230   cat >>confdefs.h <<_ACEOF
13231   #define HAVE_STRUCT_ADDRINFO 1
# Line 12509 | Line 13237 | fi
13237    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13238    <sys/socket.h>
13239   "
13240 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13240 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13241  
13242   cat >>confdefs.h <<_ACEOF
13243   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12520 | Line 13248 | fi
13248  
13249  
13250  
13251 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13252 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13253 <
12526 < cat >>confdefs.h <<_ACEOF
12527 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12528 < _ACEOF
12529 <
12530 <
12531 < else
13251 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13252 > "
13253 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13254  
13255   $as_echo "#define IPV6 1" >>confdefs.h
13256  
# Line 12539 | Line 13261 | fi
13261   # Checks for typedefs, structures, and compiler characteristics.
13262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13263   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13264 < if test "${ac_cv_c_bigendian+set}" = set; then :
13264 > if ${ac_cv_c_bigendian+:} false; then :
13265    $as_echo_n "(cached) " >&6
13266   else
13267    ac_cv_c_bigendian=unknown
# Line 12790 | Line 13512 | done
13512  
13513  
13514  
13515 +
13516 +
13517   # Checks for header files.
13518  
13519  
# Line 12856 | Line 13580 | fi
13580  
13581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13582   $as_echo_n "checking for library containing crypt... " >&6; }
13583 < if test "${ac_cv_search_crypt+set}" = set; then :
13583 > if ${ac_cv_search_crypt+:} false; then :
13584    $as_echo_n "(cached) " >&6
13585   else
13586    ac_func_search_save_LIBS=$LIBS
# Line 12890 | Line 13614 | for ac_lib in '' crypt; do
13614   fi
13615   rm -f core conftest.err conftest.$ac_objext \
13616      conftest$ac_exeext
13617 <  if test "${ac_cv_search_crypt+set}" = set; then :
13617 >  if ${ac_cv_search_crypt+:} false; then :
13618    break
13619   fi
13620   done
13621 < if test "${ac_cv_search_crypt+set}" = set; then :
13621 > if ${ac_cv_search_crypt+:} false; then :
13622  
13623   else
13624    ac_cv_search_crypt=no
# Line 12930 | Line 13654 | fi
13654   if test "$zlib" = "yes"; then :
13655  
13656    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13657 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
13657 > if test "x$ac_cv_header_zlib_h" = xyes; then :
13658    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13659   $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13660 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13660 > if ${ac_cv_lib_z_zlibVersion+:} false; then :
13661    $as_echo_n "(cached) " >&6
13662   else
13663    ac_check_lib_save_LIBS=$LIBS
# Line 12967 | Line 13691 | LIBS=$ac_check_lib_save_LIBS
13691   fi
13692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13693   $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13694 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
13694 > if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13695  
13696        LIBS="-lz $LIBS"
13697  
# Line 13005 | Line 13729 | fi
13729   if test "$libpcre" = "yes"; then :
13730  
13731    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13732 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13732 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13733    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13734   $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13735 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13735 > if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13736    $as_echo_n "(cached) " >&6
13737   else
13738    ac_check_lib_save_LIBS=$LIBS
# Line 13042 | Line 13766 | LIBS=$ac_check_lib_save_LIBS
13766   fi
13767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13768   $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13769 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13769 > if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13770  
13771        LIBS="-lpcre $LIBS"
13772  
# Line 13137 | Line 13861 | else
13861    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13862   /* end confdefs.h.  */
13863  
13864 +
13865      #include <openssl/opensslv.h>
13866      #include <stdlib.h>
13867   int
13868   main ()
13869   {
13870 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13870 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13871    ;
13872    return 0;
13873   }
# Line 13163 | Line 13888 | $as_echo "found" >&6; }
13888  
13889      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13890   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13891 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13891 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13892    $as_echo_n "(cached) " >&6
13893   else
13894    ac_check_lib_save_LIBS=$LIBS
# Line 13197 | Line 13922 | LIBS=$ac_check_lib_save_LIBS
13922   fi
13923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13924   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13925 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13925 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13926    cat >>confdefs.h <<_ACEOF
13927   #define HAVE_LIBCRYPTO 1
13928   _ACEOF
# Line 13472 | Line 14197 | else
14197   #endif
14198   _syscall1(int, epoll_create, int, size)
14199   #endif
13475 main() { return epoll_create(256) == -1 ? 1 : 0; }
14200  
14201 + int
14202 + main ()
14203 + {
14204 + return epoll_create(256) == -1 ? 1 : 0
14205 +  ;
14206 +  return 0;
14207 + }
14208   _ACEOF
14209   if ac_fn_c_try_run "$LINENO"; then :
14210    is_epoll_mechanism_available="yes"
# Line 13549 | Line 14280 | else
14280    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281   /* end confdefs.h.  */
14282  
14283 + #define _GNU_SOURCE
14284   #include <fcntl.h>
14285 < #ifdef F_SETSIG
13554 < main () { return 0; } /* F_SETSIG defined */
13555 < #else
13556 < main () { return 1; } /* F_SETSIG not defined */
13557 < #endif
14285 > static unsigned int have_f_setsig = 0;
14286  
14287   int
14288   main ()
14289   {
14290  
14291 + #ifdef F_SETSIG
14292 +  have_f_setsig = 1;
14293 + #endif
14294 +  return have_f_setsig == 0;
14295 +
14296    ;
14297    return 0;
14298   }
# Line 13749 | Line 14482 | _ACEOF
14482  
14483  
14484  
13752
13753 # Check whether --with-syslog-facility was given.
13754 if test "${with_syslog_facility+set}" = set; then :
13755  withval=$with_syslog_facility; syslog_facility="$withval"
13756 else
13757  syslog_facility="LOG_LOCAL4"
13758 fi
13759
13760
13761 cat >>confdefs.h <<_ACEOF
13762 #define LOG_FACILITY $syslog_facility
13763 _ACEOF
13764
13765
13766
14485    # Check whether --enable-efnet was given.
14486   if test "${enable_efnet+set}" = set; then :
14487    enableval=$enable_efnet; efnet="$enableval"
# Line 13776 | Line 14494 | fi
14494  
14495   $as_echo "#define EFNET 1" >>confdefs.h
14496  
13779
13780 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13781
14497          else
14498                  use_efnet="no"
14499    fi
# Line 13837 | Line 14552 | fi
14552    fi
14553  
14554  
13840  for ac_header in syslog.h sys/syslog.h
13841 do :
13842  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13843 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13844 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13845  cat >>confdefs.h <<_ACEOF
13846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13847 _ACEOF
13848
13849 fi
13850
13851 done
13852
13853  # Check whether --enable-syslog was given.
13854 if test "${enable_syslog+set}" = set; then :
13855  enableval=$enable_syslog; syslog="$enableval"
13856 else
13857  syslog="no"
13858 fi
13859
13860  if test "$enableval" != "no" ; then
13861    for option in $enableval ; do
13862      case "$option" in
13863        users)
13864 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13865 ;;
13866        oper)
13867 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13868 ;;
13869        yes) : ;;
13870        *) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13871      esac
13872    done
13873
13874 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13875
13876  fi
13877
13878
14555  
14556    prefix_NONE=
14557    exec_prefix_NONE=
# Line 14029 | Line 14705 | $as_echo "$as_me: WARNING: cache variabl
14705       :end' >>confcache
14706   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14707    if test -w "$cache_file"; then
14708 <    test "x$cache_file" != "x/dev/null" &&
14708 >    if test "x$cache_file" != "x/dev/null"; then
14709        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14710   $as_echo "$as_me: updating cache $cache_file" >&6;}
14711 <    cat confcache >$cache_file
14711 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14712 >        cat confcache >"$cache_file"
14713 >      else
14714 >        case $cache_file in #(
14715 >        */* | ?:*)
14716 >          mv -f confcache "$cache_file"$$ &&
14717 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14718 >        *)
14719 >          mv -f confcache "$cache_file" ;;
14720 >        esac
14721 >      fi
14722 >    fi
14723    else
14724      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14725   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 14122 | Line 14809 | if test -z "${EFNET_TRUE}" && test -z "$
14809   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14810   fi
14811  
14812 < : ${CONFIG_STATUS=./config.status}
14812 > : "${CONFIG_STATUS=./config.status}"
14813   ac_write_fail=0
14814   ac_clean_files_save=$ac_clean_files
14815   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14223 | Line 14910 | fi
14910   IFS=" ""        $as_nl"
14911  
14912   # Find who we are.  Look in the path if we contain no directory separator.
14913 + as_myself=
14914   case $0 in #((
14915    *[\\/]* ) as_myself=$0 ;;
14916    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14529 | Line 15217 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15217   # report actual input values of CONFIG_FILES etc. instead of their
15218   # values after options handling.
15219   ac_log="
15220 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15221 < generated by GNU Autoconf 2.67.  Invocation command line was
15220 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15221 > generated by GNU Autoconf 2.68.  Invocation command line was
15222  
15223    CONFIG_FILES    = $CONFIG_FILES
15224    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14595 | Line 15283 | _ACEOF
15283   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15284   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15285   ac_cs_version="\\
15286 < ircd-hybrid config.status 7.3-rc1
15287 < configured by $0, generated by GNU Autoconf 2.67,
15286 > ircd-hybrid config.status 8beta1
15287 > configured by $0, generated by GNU Autoconf 2.68,
15288    with options \\"\$ac_cs_config\\"
15289  
15290   Copyright (C) 2010 Free Software Foundation, Inc.
# Line 14732 | Line 15420 | pic_mode='`$ECHO "$pic_mode" | $SED "$de
15420   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15421   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15422   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15423 + PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15424   host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15425   host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15426   host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
# Line 14752 | Line 15441 | exeext='`$ECHO "$exeext" | $SED "$delay_
15441   lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15442   lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15443   lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15444 + lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15445 + lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15446   reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15447   reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15448   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15449   deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15450   file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15451 + file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15452 + want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15453 + DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15454 + sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15455   AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15456   AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15457 + archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15458   STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15459   RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15460   old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
# Line 14773 | Line 15469 | lt_cv_sys_global_symbol_pipe='`$ECHO "$l
15469   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15470   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15471   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"`'
15472 + nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15473 + lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15474   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15475   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15476   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"`'
15477   lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15478 + lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15479   lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15480   lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15481   need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15482 + MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15483   DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15484   NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15485   LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
# Line 14804 | Line 15503 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SE
15503   allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15504   no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15505   hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14807 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15506   hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15507   hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15508   hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
# Line 14813 | Line 15511 | hardcode_shlibpath_var='`$ECHO "$hardcod
15511   hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15512   inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15513   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"`'
15514   always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15515   export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15516   exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15517   include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15518   prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15519 + postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15520   file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15521   variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15522   need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
# Line 14860 | Line 15558 | _LTECHO_EOF'
15558   # Quote evaled strings.
15559   for var in SHELL \
15560   ECHO \
15561 + PATH_SEPARATOR \
15562   SED \
15563   GREP \
15564   EGREP \
# Line 14873 | Line 15572 | reload_flag \
15572   OBJDUMP \
15573   deplibs_check_method \
15574   file_magic_cmd \
15575 + file_magic_glob \
15576 + want_nocaseglob \
15577 + DLLTOOL \
15578 + sharedlib_from_linklib_cmd \
15579   AR \
15580   AR_FLAGS \
15581 + archiver_list_spec \
15582   STRIP \
15583   RANLIB \
15584   CC \
# Line 14884 | Line 15588 | lt_cv_sys_global_symbol_pipe \
15588   lt_cv_sys_global_symbol_to_cdecl \
15589   lt_cv_sys_global_symbol_to_c_name_address \
15590   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15591 + nm_file_list_spec \
15592   lt_prog_compiler_no_builtin_flag \
14888 lt_prog_compiler_wl \
15593   lt_prog_compiler_pic \
15594 + lt_prog_compiler_wl \
15595   lt_prog_compiler_static \
15596   lt_cv_prog_compiler_c_o \
15597   need_locks \
15598 + MANIFEST_TOOL \
15599   DSYMUTIL \
15600   NMEDIT \
15601   LIPO \
# Line 14903 | Line 15609 | with_gnu_ld \
15609   allow_undefined_flag \
15610   no_undefined_flag \
15611   hardcode_libdir_flag_spec \
14906 hardcode_libdir_flag_spec_ld \
15612   hardcode_libdir_separator \
14908 fix_srcfile_path \
15613   exclude_expsyms \
15614   include_expsyms \
15615   file_list_spec \
# Line 14941 | Line 15645 | module_cmds \
15645   module_expsym_cmds \
15646   export_symbols_cmds \
15647   prelink_cmds \
15648 + postlink_cmds \
15649   postinstall_cmds \
15650   postuninstall_cmds \
15651   finish_cmds \
# Line 15026 | Line 15731 | fi
15731   # after its creation but before its name has been assigned to `$tmp'.
15732   $debug ||
15733   {
15734 <  tmp=
15734 >  tmp= ac_tmp=
15735    trap 'exit_status=$?
15736 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15736 >  : "${ac_tmp:=$tmp}"
15737 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15738   ' 0
15739    trap 'as_fn_exit 1' 1 2 13 15
15740   }
# Line 15036 | Line 15742 | $debug ||
15742  
15743   {
15744    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15745 <  test -n "$tmp" && test -d "$tmp"
15745 >  test -d "$tmp"
15746   }  ||
15747   {
15748    tmp=./conf$$-$RANDOM
15749    (umask 077 && mkdir "$tmp")
15750   } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15751 + ac_tmp=$tmp
15752  
15753   # Set up the scripts for CONFIG_FILES section.
15754   # No need to generate them if there are no CONFIG_FILES.
# Line 15063 | Line 15770 | else
15770    ac_cs_awk_cr=$ac_cr
15771   fi
15772  
15773 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15773 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15774   _ACEOF
15775  
15776  
# Line 15091 | Line 15798 | done
15798   rm -f conf$$subs.sh
15799  
15800   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15801 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15801 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15802   _ACEOF
15803   sed -n '
15804   h
# Line 15139 | Line 15846 | t delim
15846   rm -f conf$$subs.awk
15847   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15848   _ACAWK
15849 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15849 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15850    for (key in S) S_is_set[key] = 1
15851    FS = ""
15852  
# Line 15171 | Line 15878 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15878    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15879   else
15880    cat
15881 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15881 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15882    || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15883   _ACEOF
15884  
# Line 15205 | Line 15912 | fi # test -n "$CONFIG_FILES"
15912   # No need to generate them if there are no CONFIG_HEADERS.
15913   # This happens for instance with `./config.status Makefile'.
15914   if test -n "$CONFIG_HEADERS"; then
15915 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15915 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15916   BEGIN {
15917   _ACEOF
15918  
# Line 15217 | Line 15924 | _ACEOF
15924   # handling of long lines.
15925   ac_delim='%!_!# '
15926   for ac_last_try in false false :; do
15927 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15928 <  if test -z "$ac_t"; then
15927 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15928 >  if test -z "$ac_tt"; then
15929      break
15930    elif $ac_last_try; then
15931      as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
# Line 15338 | Line 16045 | do
16045      for ac_f
16046      do
16047        case $ac_f in
16048 <      -) ac_f="$tmp/stdin";;
16048 >      -) ac_f="$ac_tmp/stdin";;
16049        *) # Look for the file first in the build tree, then in the source tree
16050           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16051           # because $ac_f cannot contain `:'.
# Line 15373 | Line 16080 | $as_echo "$as_me: creating $ac_file" >&6
16080      esac
16081  
16082      case $ac_tag in
16083 <    *:-:* | *:-) cat >"$tmp/stdin" \
16083 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16084        || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16085      esac
16086      ;;
# Line 15510 | Line 16217 | s&@INSTALL@&$ac_INSTALL&;t t
16217   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16218   $ac_datarootdir_hack
16219   "
16220 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16221 <  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16220 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16221 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16222  
16223   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16224 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16225 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16224 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16225 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16226 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16227    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16228   which seems to be undefined.  Please make sure it is defined" >&5
16229   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16230   which seems to be undefined.  Please make sure it is defined" >&2;}
16231  
16232 <  rm -f "$tmp/stdin"
16232 >  rm -f "$ac_tmp/stdin"
16233    case $ac_file in
16234 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16235 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16234 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16235 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16236    esac \
16237    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16238   ;;
# Line 15535 | Line 16243 | which seems to be undefined.  Please mak
16243    if test x"$ac_file" != x-; then
16244      {
16245        $as_echo "/* $configure_input  */" \
16246 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16247 <    } >"$tmp/config.h" \
16246 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16247 >    } >"$ac_tmp/config.h" \
16248        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16249 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16249 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16250        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16251   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16252      else
16253        rm -f "$ac_file"
16254 <      mv "$tmp/config.h" "$ac_file" \
16254 >      mv "$ac_tmp/config.h" "$ac_file" \
16255          || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16256      fi
16257    else
16258      $as_echo "/* $configure_input  */" \
16259 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16259 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16260        || as_fn_error $? "could not create -" "$LINENO" 5
16261    fi
16262   # Compute "$ac_file"'s index in $config_headers.
# Line 15710 | Line 16418 | $as_echo X"$file" |
16418   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16419   #
16420   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16421 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16422 < #                 Inc.
16421 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16422 > #                 Foundation, Inc.
16423   #   Written by Gordon Matzigkeit, 1996
16424   #
16425   #   This file is part of GNU Libtool.
# Line 15765 | Line 16473 | SHELL=$lt_SHELL
16473   # An echo program that protects backslashes.
16474   ECHO=$lt_ECHO
16475  
16476 + # The PATH separator for the build system.
16477 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16478 +
16479   # The host system.
16480   host_alias=$host_alias
16481   host=$host
# Line 15814 | Line 16525 | SP2NL=$lt_lt_SP2NL
16525   # turn newlines into spaces.
16526   NL2SP=$lt_lt_NL2SP
16527  
16528 + # convert \$build file names to \$host format.
16529 + to_host_file_cmd=$lt_cv_to_host_file_cmd
16530 +
16531 + # convert \$build files to toolchain format.
16532 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16533 +
16534   # An object symbol dumper.
16535   OBJDUMP=$lt_OBJDUMP
16536  
16537   # Method to check whether dependent libraries are shared objects.
16538   deplibs_check_method=$lt_deplibs_check_method
16539  
16540 < # Command to use when deplibs_check_method == "file_magic".
16540 > # Command to use when deplibs_check_method = "file_magic".
16541   file_magic_cmd=$lt_file_magic_cmd
16542  
16543 + # How to find potential files when deplibs_check_method = "file_magic".
16544 + file_magic_glob=$lt_file_magic_glob
16545 +
16546 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16547 + want_nocaseglob=$lt_want_nocaseglob
16548 +
16549 + # DLL creation program.
16550 + DLLTOOL=$lt_DLLTOOL
16551 +
16552 + # Command to associate shared and link libraries.
16553 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16554 +
16555   # The archiver.
16556   AR=$lt_AR
16557 +
16558 + # Flags to create an archive.
16559   AR_FLAGS=$lt_AR_FLAGS
16560  
16561 + # How to feed a file listing to the archiver.
16562 + archiver_list_spec=$lt_archiver_list_spec
16563 +
16564   # A symbol stripping program.
16565   STRIP=$lt_STRIP
16566  
# Line 15856 | Line 16590 | global_symbol_to_c_name_address=$lt_lt_c
16590   # Transform the output of nm in a C name address pair when lib prefix is needed.
16591   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16592  
16593 + # Specify filename containing input files for \$NM.
16594 + nm_file_list_spec=$lt_nm_file_list_spec
16595 +
16596 + # The root where to search for dependent libraries,and in which our libraries should be installed.
16597 + lt_sysroot=$lt_sysroot
16598 +
16599   # The name of the directory that contains temporary libtool files.
16600   objdir=$objdir
16601  
# Line 15865 | Line 16605 | MAGIC_CMD=$MAGIC_CMD
16605   # Must we lock files when doing compilation?
16606   need_locks=$lt_need_locks
16607  
16608 + # Manifest tool.
16609 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16610 +
16611   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16612   DSYMUTIL=$lt_DSYMUTIL
16613  
# Line 15979 | Line 16722 | with_gcc=$GCC
16722   # Compiler flag to turn off builtin functions.
16723   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16724  
15982 # How to pass a linker flag through the compiler.
15983 wl=$lt_lt_prog_compiler_wl
15984
16725   # Additional compiler flags for building library objects.
16726   pic_flag=$lt_lt_prog_compiler_pic
16727  
16728 + # How to pass a linker flag through the compiler.
16729 + wl=$lt_lt_prog_compiler_wl
16730 +
16731   # Compiler flag to prevent dynamic linking.
16732   link_static_flag=$lt_lt_prog_compiler_static
16733  
# Line 16034 | Line 16777 | no_undefined_flag=$lt_no_undefined_flag
16777   # This must work even if \$libdir does not exist
16778   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16779  
16037 # If ld is used when linking, flag to hardcode \$libdir into a binary
16038 # during linking.  This must work even if \$libdir does not exist.
16039 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16040
16780   # Whether we need a single "-rpath" flag with a separated argument.
16781   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16782  
# Line 16071 | Line 16810 | inherit_rpath=$inherit_rpath
16810   # Whether libtool must link a program against all its dependency libraries.
16811   link_all_deplibs=$link_all_deplibs
16812  
16074 # Fix the shell variable \$srcfile for the compiler.
16075 fix_srcfile_path=$lt_fix_srcfile_path
16076
16813   # Set to "yes" if exported symbols are required.
16814   always_export_symbols=$always_export_symbols
16815  
# Line 16089 | Line 16825 | include_expsyms=$lt_include_expsyms
16825   # Commands necessary for linking programs (against libraries) with templates.
16826   prelink_cmds=$lt_prelink_cmds
16827  
16828 + # Commands necessary for finishing linking programs.
16829 + postlink_cmds=$lt_postlink_cmds
16830 +
16831   # Specify filename containing input files.
16832   file_list_spec=$lt_file_list_spec
16833  
# Line 16121 | Line 16860 | ltmain="$ac_aux_dir/ltmain.sh"
16860    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16861    # text mode, it properly converts lines to CR/LF.  This bash problem
16862    # is reportedly fixed, but why not run on old versions too?
16863 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16864 <    || (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
16863 >  sed '$q' "$ltmain" >> "$cfgfile" \
16864 >     || (rm -f "$cfgfile"; exit 1)
16865  
16866 +  if test x"$xsi_shell" = xyes; then
16867 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16868 + func_dirname ()\
16869 + {\
16870 + \    case ${1} in\
16871 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16872 + \      *  ) func_dirname_result="${3}" ;;\
16873 + \    esac\
16874 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16875 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16876 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16877 + test 0 -eq $? || _lt_function_replace_fail=:
16878 +
16879 +
16880 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16881 + func_basename ()\
16882 + {\
16883 + \    func_basename_result="${1##*/}"\
16884 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16885 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16886 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16887 + test 0 -eq $? || _lt_function_replace_fail=:
16888 +
16889 +
16890 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16891 + func_dirname_and_basename ()\
16892 + {\
16893 + \    case ${1} in\
16894 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16895 + \      *  ) func_dirname_result="${3}" ;;\
16896 + \    esac\
16897 + \    func_basename_result="${1##*/}"\
16898 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16899 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16900 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16901 + test 0 -eq $? || _lt_function_replace_fail=:
16902 +
16903 +
16904 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16905 + func_stripname ()\
16906 + {\
16907 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16908 + \    # positional parameters, so assign one to ordinary parameter first.\
16909 + \    func_stripname_result=${3}\
16910 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16911 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16912 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16913 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16914 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16915 + test 0 -eq $? || _lt_function_replace_fail=:
16916 +
16917 +
16918 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16919 + func_split_long_opt ()\
16920 + {\
16921 + \    func_split_long_opt_name=${1%%=*}\
16922 + \    func_split_long_opt_arg=${1#*=}\
16923 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16924 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16925 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16926 + test 0 -eq $? || _lt_function_replace_fail=:
16927 +
16928 +
16929 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16930 + func_split_short_opt ()\
16931 + {\
16932 + \    func_split_short_opt_arg=${1#??}\
16933 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16934 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16935 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16936 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16937 + test 0 -eq $? || _lt_function_replace_fail=:
16938 +
16939 +
16940 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16941 + func_lo2o ()\
16942 + {\
16943 + \    case ${1} in\
16944 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16945 + \      *)    func_lo2o_result=${1} ;;\
16946 + \    esac\
16947 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16948 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16949 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16950 + test 0 -eq $? || _lt_function_replace_fail=:
16951 +
16952 +
16953 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16954 + func_xform ()\
16955 + {\
16956 +    func_xform_result=${1%.*}.lo\
16957 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16958 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16959 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16960 + test 0 -eq $? || _lt_function_replace_fail=:
16961 +
16962 +
16963 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16964 + func_arith ()\
16965 + {\
16966 +    func_arith_result=$(( $* ))\
16967 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16968 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16969 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16970 + test 0 -eq $? || _lt_function_replace_fail=:
16971 +
16972 +
16973 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16974 + func_len ()\
16975 + {\
16976 +    func_len_result=${#1}\
16977 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16978 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16979 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16980 + test 0 -eq $? || _lt_function_replace_fail=:
16981 +
16982 + fi
16983 +
16984 + if test x"$lt_shell_append" = xyes; then
16985 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16986 + func_append ()\
16987 + {\
16988 +    eval "${1}+=\\${2}"\
16989 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16990 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16991 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16992 + test 0 -eq $? || _lt_function_replace_fail=:
16993 +
16994 +
16995 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16996 + func_append_quoted ()\
16997 + {\
16998 + \    func_quote_for_eval "${2}"\
16999 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17000 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17001 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17002 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17003 + test 0 -eq $? || _lt_function_replace_fail=:
17004 +
17005 +
17006 +  # Save a `func_append' function call where possible by direct use of '+='
17007 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17008 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17009 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17010 +  test 0 -eq $? || _lt_function_replace_fail=:
17011 + else
17012 +  # Save a `func_append' function call even when '+=' is not available
17013 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17014 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17015 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17016 +  test 0 -eq $? || _lt_function_replace_fail=:
17017 + fi
17018 +
17019 + if test x"$_lt_function_replace_fail" = x":"; then
17020 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17021 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17022 + fi
17023  
16324  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16325    || (rm -f "$cfgfile"; exit 1)
17024  
17025 <  mv -f "$cfgfile" "$ofile" ||
17025 >   mv -f "$cfgfile" "$ofile" ||
17026      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17027    chmod +x "$ofile"
17028  

Diff Legend

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