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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1095 by michael, Mon Aug 2 20:14:21 2010 UTC vs.
ircd-hybrid/branches/8.0.x/configure (file contents), Revision 1905 by michael, Sat Apr 27 21:18:07 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1092 2010-03-25 11:10:59Z michael .
2 > # From configure.ac Id: configure.ac 1871 2013-04-26 08:53:04Z 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.69 for ircd-hybrid 8.0.8.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 < # Foundation, Inc.
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
11   #
12   # This configure script is free software; the Free Software Foundation
# Line 92 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 + as_myself=
94   case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 136 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 169 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
# Line 222 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        BASH_ENV=/dev/null
254 <        ENV=/dev/null
255 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 <        export CONFIG_SHELL
257 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 332 | Line 368 | $as_echo X"$as_dir" |
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 453 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 487 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 508 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
513 < else
514 <  if ls -dL / >/dev/null 2>&1; then
515 <    as_ls_L_option=L
516 <  else
517 <    as_ls_L_option=
518 <  fi
519 <  as_test_x='
520 <    eval sh -c '\''
521 <      if test -d "$1"; then
522 <        test -d "$1/.";
523 <      else
524 <        case $1 in #(
525 <        -*)set "./$1";;
526 <        esac;
527 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528 <        ???[sx]*):;;*)false;;esac;fi
529 <    '\'' sh
530 <  '
531 < fi
532 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 565 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.3-rc1'
597 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
596 > PACKAGE_VERSION='8.0.8'
597 > PACKAGE_STRING='ircd-hybrid 8.0.8'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 620 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
623 EFNET_FALSE
624 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
627 ENABLE_PCRE_FALSE
628 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
655   CONVENIENCE_LTDL_FALSE
# Line 650 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 + MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 679 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 695 | Line 723 | CC
723   MAINT
724   MAINTAINER_MODE_FALSE
725   MAINTAINER_MODE_TRUE
726 + AM_BACKSLASH
727 + AM_DEFAULT_VERBOSITY
728 + AM_DEFAULT_V
729 + AM_V
730   am__untar
731   am__tar
732   AMTAR
# Line 759 | Line 791 | SHELL'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
797   enable_static
# Line 766 | Line 799 | enable_shared
799   with_pic
800   enable_fast_install
801   with_gnu_ld
802 + with_sysroot
803   enable_libtool_lock
804   with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
774 with_zlib_path
775 enable_zlib
776 with_libpcre_path
808   enable_libpcre
809   enable_openssl
810   enable_assert
780 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
784 enable_rtsigio
814   enable_poll
815   enable_select
787 with_nicklen
788 with_topiclen
789 with_syslog_facility
790 enable_efnet
816   enable_halfops
817   enable_debugging
818   enable_warnings
794 enable_syslog
819   '
820        ac_precious_vars='build_alias
821   host_alias
# Line 1208 | Line 1232 | Try \`$0 --help' for more information"
1232      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1235 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236      ;;
1237  
1238    esac
# Line 1259 | Line 1283 | target=$target_alias
1283   if test "x$host_alias" != x; then
1284    if test "x$build_alias" = x; then
1285      cross_compiling=maybe
1262    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1263    If a cross compiler is detected then cross compile mode will be used" >&2
1286    elif test "x$build_alias" != "x$host_alias"; then
1287      cross_compiling=yes
1288    fi
# Line 1346 | Line 1368 | if test "$ac_init_help" = "long"; then
1368    # Omit some internal or obsolete options to make the list less imposing.
1369    # This message is too long to be a string in the A/UX 3.1 sh.
1370    cat <<_ACEOF
1371 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1371 > \`configure' configures ircd-hybrid 8.0.8 to adapt to many kinds of systems.
1372  
1373   Usage: $0 [OPTION]... [VAR=VALUE]...
1374  
# Line 1416 | Line 1438 | fi
1438  
1439   if test -n "$ac_init_help"; then
1440    case $ac_init_help in
1441 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1441 >     short | recursive ) echo "Configuration of ircd-hybrid 8.0.8:";;
1442     esac
1443    cat <<\_ACEOF
1444  
# Line 1424 | Line 1446 | Optional Features:
1446    --disable-option-checking  ignore unrecognized --enable/--with options
1447    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1448    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1449 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1450 <                          (and sometimes confusing) to the casual installer
1451 <  --disable-dependency-tracking  speeds up one-time build
1452 <  --enable-dependency-tracking   do not reject slow dependency extractors
1449 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1450 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1451 >  --enable-maintainer-mode
1452 >                          enable make rules and dependencies not useful (and
1453 >                          sometimes confusing) to the casual installer
1454 >  --enable-dependency-tracking
1455 >                          do not reject slow dependency extractors
1456 >  --disable-dependency-tracking
1457 >                          speeds up one-time build
1458    --enable-static[=PKGS]  build static libraries [default=no]
1459    --enable-shared[=PKGS]  build shared libraries [default=yes]
1460    --enable-fast-install[=PKGS]
1461                            optimize for fast installation [default=yes]
1462    --disable-libtool-lock  avoid locking (might break parallel builds)
1463    --enable-ltdl-install   install libltdl
1437  --disable-zlib          Disable ziplinks support
1464    --disable-libpcre       Disable PCRE support
1465    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1466    --disable-openssl            Disable OpenSSL support.
1467    --enable-assert         Enable assert() statements
1442  --enable-small-net      Enable small network support.
1468    --enable-kqueue         Force kqueue usage.
1469    --enable-epoll          Force epoll usage.
1470    --enable-devpoll        Force devpoll usage.
1446  --enable-rtsigio        Force rtsigio usage.
1471    --enable-poll           Force poll usage.
1472    --enable-select         Force select usage.
1449  --enable-efnet          For IRCDs running on EFnet.
1473    --enable-halfops        Enable halfops support.
1474    --enable-debugging      Enable debugging.
1475    --enable-warnings       Enable compiler warnings.
1453  --enable-syslog="EVENTS"
1454                          Enable syslog for events: users oper (space
1455                          separated in quotes; default: disabled).
1476  
1477   Optional Packages:
1478    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1479    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1480 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1480 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1481                            both]
1482    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1483 +  --with-sysroot=DIR Search for dependent libraries within DIR
1484 +                        (or the compiler's sysroot if not specified).
1485    --with-included-ltdl    use the GNU ltdl sources included here
1486    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1487    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1466  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1467  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1468  --with-nicklen=<value>  Set nickname length (default 9).
1469  --with-topiclen=<value> Set topic length (default 160).
1470  --with-syslog-facility=LOG
1471                          Define the syslog facility to use (default:
1472                          LOG_LOCAL4)
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1479 | Line 1494 | Some influential environment variables:
1494    LIBS        libraries to pass to the linker, e.g. -l<library>
1495    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1496                you have headers in a nonstandard directory <include dir>
1497 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1498 <              the first program found out of: `bison -y', `byacc', `yacc'.
1497 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1498 >              Defaults to the first program found out of: `bison -y', `byacc',
1499 >              `yacc'.
1500    YFLAGS      The list of arguments that will be passed by default to $YACC.
1501                This script will default YFLAGS to the empty string to avoid a
1502                default value of `-d' given by some make applications.
# Line 1552 | Line 1568 | fi
1568   test -n "$ac_init_help" && exit $ac_status
1569   if $ac_init_version; then
1570    cat <<\_ACEOF
1571 < ircd-hybrid configure 7.3-rc1
1572 < generated by GNU Autoconf 2.67
1571 > ircd-hybrid configure 8.0.8
1572 > generated by GNU Autoconf 2.69
1573  
1574 < Copyright (C) 2010 Free Software Foundation, Inc.
1574 > Copyright (C) 2012 Free Software Foundation, Inc.
1575   This configure script is free software; the Free Software Foundation
1576   gives unlimited permission to copy, distribute and modify it.
1577   _ACEOF
# Line 1599 | Line 1615 | sed 's/^/| /' conftest.$ac_ext >&5
1615  
1616          ac_retval=1
1617   fi
1618 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1618 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619    as_fn_set_status $ac_retval
1620  
1621   } # ac_fn_c_try_compile
# Line 1631 | Line 1647 | $as_echo "$ac_try_echo"; } >&5
1647           test ! -s conftest.err
1648         } && test -s conftest$ac_exeext && {
1649           test "$cross_compiling" = yes ||
1650 <         $as_test_x conftest$ac_exeext
1650 >         test -x conftest$ac_exeext
1651         }; then :
1652    ac_retval=0
1653   else
# Line 1645 | Line 1661 | fi
1661    # interfere with the next link command; also delete a directory that is
1662    # left behind by Apple's compiler.  We do this before executing the actions.
1663    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1664 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665    as_fn_set_status $ac_retval
1666  
1667   } # ac_fn_c_try_link
# Line 1659 | Line 1675 | ac_fn_c_check_header_compile ()
1675    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677   $as_echo_n "checking for $2... " >&6; }
1678 < if eval "test \"\${$3+set}\"" = set; then :
1678 > if eval \${$3+:} false; then :
1679    $as_echo_n "(cached) " >&6
1680   else
1681    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1677 | Line 1693 | fi
1693   eval ac_res=\$$3
1694                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695   $as_echo "$ac_res" >&6; }
1696 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697  
1698   } # ac_fn_c_check_header_compile
1699  
# Line 1713 | Line 1729 | sed 's/^/| /' conftest.$ac_ext >&5
1729  
1730      ac_retval=1
1731   fi
1732 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733    as_fn_set_status $ac_retval
1734  
1735   } # ac_fn_c_try_cpp
# Line 1755 | Line 1771 | sed 's/^/| /' conftest.$ac_ext >&5
1771         ac_retval=$ac_status
1772   fi
1773    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775    as_fn_set_status $ac_retval
1776  
1777   } # ac_fn_c_try_run
# Line 1768 | Line 1784 | ac_fn_c_check_func ()
1784    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786   $as_echo_n "checking for $2... " >&6; }
1787 < if eval "test \"\${$3+set}\"" = set; then :
1787 > if eval \${$3+:} false; then :
1788    $as_echo_n "(cached) " >&6
1789   else
1790    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1823 | Line 1839 | fi
1839   eval ac_res=\$$3
1840                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841   $as_echo "$ac_res" >&6; }
1842 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843  
1844   } # ac_fn_c_check_func
1845  
# Line 1838 | Line 1854 | ac_fn_c_check_decl ()
1854    as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1855    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1856   $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1857 < if eval "test \"\${$3+set}\"" = set; then :
1857 > if eval \${$3+:} false; then :
1858    $as_echo_n "(cached) " >&6
1859   else
1860    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1869 | Line 1885 | fi
1885   eval ac_res=\$$3
1886                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887   $as_echo "$ac_res" >&6; }
1888 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889  
1890   } # ac_fn_c_check_decl
1891  
# Line 1882 | Line 1898 | ac_fn_c_check_type ()
1898    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900   $as_echo_n "checking for $2... " >&6; }
1901 < if eval "test \"\${$3+set}\"" = set; then :
1901 > if eval \${$3+:} false; then :
1902    $as_echo_n "(cached) " >&6
1903   else
1904    eval "$3=no"
# Line 1923 | Line 1939 | fi
1939   eval ac_res=\$$3
1940                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941   $as_echo "$ac_res" >&6; }
1942 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943  
1944   } # ac_fn_c_check_type
1945  
# Line 1936 | Line 1952 | ac_fn_c_check_member ()
1952    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1954   $as_echo_n "checking for $2.$3... " >&6; }
1955 < if eval "test \"\${$4+set}\"" = set; then :
1955 > if eval \${$4+:} false; then :
1956    $as_echo_n "(cached) " >&6
1957   else
1958    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1980 | Line 1996 | fi
1996   eval ac_res=\$$4
1997                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998   $as_echo "$ac_res" >&6; }
1999 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1999 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000  
2001   } # ac_fn_c_check_member
2002  
# Line 1992 | Line 2008 | $as_echo "$ac_res" >&6; }
2008   ac_fn_c_check_header_mongrel ()
2009   {
2010    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 <  if eval "test \"\${$3+set}\"" = set; then :
2011 >  if eval \${$3+:} false; then :
2012    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013   $as_echo_n "checking for $2... " >&6; }
2014 < if eval "test \"\${$3+set}\"" = set; then :
2014 > if eval \${$3+:} false; then :
2015    $as_echo_n "(cached) " >&6
2016   fi
2017   eval ac_res=\$$3
# Line 2062 | Line 2078 | $as_echo "$as_me: WARNING: $2: proceedin
2078   esac
2079    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080   $as_echo_n "checking for $2... " >&6; }
2081 < if eval "test \"\${$3+set}\"" = set; then :
2081 > if eval \${$3+:} false; then :
2082    $as_echo_n "(cached) " >&6
2083   else
2084    eval "$3=\$ac_header_compiler"
# Line 2071 | Line 2087 | eval ac_res=\$$3
2087                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088   $as_echo "$ac_res" >&6; }
2089   fi
2090 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2090 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2091  
2092   } # ac_fn_c_check_header_mongrel
2093   cat >config.log <<_ACEOF
2094   This file contains any messages produced by compilers while
2095   running configure, to aid debugging if configure makes a mistake.
2096  
2097 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2098 < generated by GNU Autoconf 2.67.  Invocation command line was
2097 > It was created by ircd-hybrid $as_me 8.0.8, which was
2098 > generated by GNU Autoconf 2.69.  Invocation command line was
2099  
2100    $ $0 $@
2101  
# Line 2364 | Line 2380 | as_fn_append ac_func_list " usleep"
2380   as_fn_append ac_func_list " strlcat"
2381   as_fn_append ac_func_list " strlcpy"
2382   as_fn_append ac_header_list " crypt.h"
2367 as_fn_append ac_header_list " inttypes.h"
2368 as_fn_append ac_header_list " stdint.h"
2383   as_fn_append ac_header_list " sys/resource.h"
2384   as_fn_append ac_header_list " sys/param.h"
2371 as_fn_append ac_header_list " errno.h"
2372 as_fn_append ac_header_list " sys/syslog.h"
2385   as_fn_append ac_header_list " types.h"
2386   as_fn_append ac_header_list " socket.h"
2387   as_fn_append ac_header_list " sys/wait.h"
2388   as_fn_append ac_header_list " wait.h"
2377 as_fn_append ac_header_list " link.h"
2389   # Check that the precious variables saved in the cache have kept the same
2390   # value.
2391   ac_cache_corrupted=false
# Line 2443 | Line 2454 | ac_link='$CC -o conftest$ac_exeext $CFLA
2454   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2455  
2456  
2457 < am__api_version='1.11'
2457 > am__api_version='1.13'
2458  
2459   ac_aux_dir=
2460   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2491 | Line 2502 | ac_configure="$SHELL $ac_aux_dir/configu
2502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2503   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2504   if test -z "$INSTALL"; then
2505 < if test "${ac_cv_path_install+set}" = set; then :
2505 > if ${ac_cv_path_install+:} false; then :
2506    $as_echo_n "(cached) " >&6
2507   else
2508    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2511 | Line 2522 | case $as_dir/ in #((
2522      # by default.
2523      for ac_prog in ginstall scoinst install; do
2524        for ac_exec_ext in '' $ac_executable_extensions; do
2525 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2525 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2526            if test $ac_prog = install &&
2527              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2528              # AIX install.  It has an incompatible calling convention.
# Line 2569 | Line 2580 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2580  
2581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2582   $as_echo_n "checking whether build environment is sane... " >&6; }
2572 # Just in case
2573 sleep 1
2574 echo timestamp > conftest.file
2583   # Reject unsafe characters in $srcdir or the absolute working directory
2584   # name.  Accept space and tab only in the latter.
2585   am_lf='
# Line 2582 | Line 2590 | case `pwd` in
2590   esac
2591   case $srcdir in
2592    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2593 <    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2593 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2594   esac
2595  
2596 < # Do `set' in a subshell so we don't clobber the current shell's
2596 > # Do 'set' in a subshell so we don't clobber the current shell's
2597   # arguments.  Must try -L first in case configure is actually a
2598   # symlink; some systems play weird games with the mod time of symlinks
2599   # (eg FreeBSD returns the mod time of the symlink's containing
2600   # directory).
2601   if (
2602 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2603 <   if test "$*" = "X"; then
2604 <      # -L didn't work.
2605 <      set X `ls -t "$srcdir/configure" conftest.file`
2606 <   fi
2607 <   rm -f conftest.file
2608 <   if test "$*" != "X $srcdir/configure conftest.file" \
2609 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2610 <
2611 <      # If neither matched, then we have a broken ls.  This can happen
2604 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2605 <      # broken ls alias from the environment.  This has actually
2606 <      # happened.  Such a system could not be considered "sane".
2607 <      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2608 < alias in your environment" "$LINENO" 5
2609 <   fi
2602 >   am_has_slept=no
2603 >   for am_try in 1 2; do
2604 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2605 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606 >     if test "$*" = "X"; then
2607 >        # -L didn't work.
2608 >        set X `ls -t "$srcdir/configure" conftest.file`
2609 >     fi
2610 >     if test "$*" != "X $srcdir/configure conftest.file" \
2611 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2612  
2613 +        # If neither matched, then we have a broken ls.  This can happen
2614 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2615 +        # broken ls alias from the environment.  This has actually
2616 +        # happened.  Such a system could not be considered "sane".
2617 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2618 +  alias in your environment" "$LINENO" 5
2619 +     fi
2620 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2621 +       break
2622 +     fi
2623 +     # Just in case.
2624 +     sleep 1
2625 +     am_has_slept=yes
2626 +   done
2627     test "$2" = conftest.file
2628     )
2629   then
# Line 2619 | Line 2635 | Check your system clock" "$LINENO" 5
2635   fi
2636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2637   $as_echo "yes" >&6; }
2638 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2639 + # generated files are strictly newer.
2640 + am_sleep_pid=
2641 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2642 +  ( sleep 1 ) &
2643 +  am_sleep_pid=$!
2644 + fi
2645 +
2646 + rm -f conftest.file
2647 +
2648   test "$program_prefix" != NONE &&
2649    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2650   # Use a double $ so make ignores it.
# Line 2641 | Line 2667 | if test x"${MISSING+set}" != xset; then
2667    esac
2668   fi
2669   # Use eval to expand $SHELL
2670 < if eval "$MISSING --run true"; then
2671 <  am_missing_run="$MISSING --run "
2670 > if eval "$MISSING --is-lightweight"; then
2671 >  am_missing_run="$MISSING "
2672   else
2673    am_missing_run=
2674 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2675 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2674 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2675 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2676   fi
2677  
2678   if test x"${install_sh}" != xset; then
# Line 2658 | Line 2684 | if test x"${install_sh}" != xset; then
2684    esac
2685   fi
2686  
2687 < # Installed binaries are usually stripped using `strip' when the user
2688 < # run `make install-strip'.  However `strip' might not be the right
2687 > # Installed binaries are usually stripped using 'strip' when the user
2688 > # run "make install-strip".  However 'strip' might not be the right
2689   # tool to use in cross-compilation environments, therefore Automake
2690 < # will honor the `STRIP' environment variable to overrule this program.
2690 > # will honor the 'STRIP' environment variable to overrule this program.
2691   if test "$cross_compiling" != no; then
2692    if test -n "$ac_tool_prefix"; then
2693    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2694   set dummy ${ac_tool_prefix}strip; ac_word=$2
2695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696   $as_echo_n "checking for $ac_word... " >&6; }
2697 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2697 > if ${ac_cv_prog_STRIP+:} false; then :
2698    $as_echo_n "(cached) " >&6
2699   else
2700    if test -n "$STRIP"; then
# Line 2680 | Line 2706 | do
2706    IFS=$as_save_IFS
2707    test -z "$as_dir" && as_dir=.
2708      for ac_exec_ext in '' $ac_executable_extensions; do
2709 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2711      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712      break 2
# Line 2708 | Line 2734 | if test -z "$ac_cv_prog_STRIP"; then
2734   set dummy strip; ac_word=$2
2735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2736   $as_echo_n "checking for $ac_word... " >&6; }
2737 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2737 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2738    $as_echo_n "(cached) " >&6
2739   else
2740    if test -n "$ac_ct_STRIP"; then
# Line 2720 | Line 2746 | do
2746    IFS=$as_save_IFS
2747    test -z "$as_dir" && as_dir=.
2748      for ac_exec_ext in '' $ac_executable_extensions; do
2749 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2750      ac_cv_prog_ac_ct_STRIP="strip"
2751      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752      break 2
# Line 2761 | Line 2787 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2788   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2789   if test -z "$MKDIR_P"; then
2790 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2790 >  if ${ac_cv_path_mkdir+:} false; then :
2791    $as_echo_n "(cached) " >&6
2792   else
2793    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2771 | Line 2797 | do
2797    test -z "$as_dir" && as_dir=.
2798      for ac_prog in mkdir gmkdir; do
2799           for ac_exec_ext in '' $ac_executable_extensions; do
2800 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2800 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2801             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2802               'mkdir (GNU coreutils) '* | \
2803               'mkdir (coreutils) '* | \
# Line 2800 | Line 2826 | fi
2826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2827   $as_echo "$MKDIR_P" >&6; }
2828  
2803 mkdir_p="$MKDIR_P"
2804 case $mkdir_p in
2805  [\\/$]* | ?:[\\/]*) ;;
2806  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2807 esac
2808
2829   for ac_prog in gawk mawk nawk awk
2830   do
2831    # Extract the first word of "$ac_prog", so it can be a program name with args.
2832   set dummy $ac_prog; ac_word=$2
2833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834   $as_echo_n "checking for $ac_word... " >&6; }
2835 < if test "${ac_cv_prog_AWK+set}" = set; then :
2835 > if ${ac_cv_prog_AWK+:} false; then :
2836    $as_echo_n "(cached) " >&6
2837   else
2838    if test -n "$AWK"; then
# Line 2824 | Line 2844 | do
2844    IFS=$as_save_IFS
2845    test -z "$as_dir" && as_dir=.
2846      for ac_exec_ext in '' $ac_executable_extensions; do
2847 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2848      ac_cv_prog_AWK="$ac_prog"
2849      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850      break 2
# Line 2852 | Line 2872 | done
2872   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2873   set x ${MAKE-make}
2874   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2875 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2875 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2876    $as_echo_n "(cached) " >&6
2877   else
2878    cat >conftest.make <<\_ACEOF
# Line 2888 | Line 2908 | else
2908   fi
2909   rmdir .tst 2>/dev/null
2910  
2911 + # Check whether --enable-silent-rules was given.
2912 + if test "${enable_silent_rules+set}" = set; then :
2913 +  enableval=$enable_silent_rules;
2914 + fi
2915 +
2916 + case $enable_silent_rules in # (((
2917 +  yes) AM_DEFAULT_VERBOSITY=0;;
2918 +   no) AM_DEFAULT_VERBOSITY=1;;
2919 +    *) AM_DEFAULT_VERBOSITY=1;;
2920 + esac
2921 + am_make=${MAKE-make}
2922 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2923 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2924 + if ${am_cv_make_support_nested_variables+:} false; then :
2925 +  $as_echo_n "(cached) " >&6
2926 + else
2927 +  if $as_echo 'TRUE=$(BAR$(V))
2928 + BAR0=false
2929 + BAR1=true
2930 + V=1
2931 + am__doit:
2932 +        @$(TRUE)
2933 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2934 +  am_cv_make_support_nested_variables=yes
2935 + else
2936 +  am_cv_make_support_nested_variables=no
2937 + fi
2938 + fi
2939 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2940 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2941 + if test $am_cv_make_support_nested_variables = yes; then
2942 +    AM_V='$(V)'
2943 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2944 + else
2945 +  AM_V=$AM_DEFAULT_VERBOSITY
2946 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2947 + fi
2948 + AM_BACKSLASH='\'
2949 +
2950   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2951    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2952    # is not polluted with repeated "-I."
# Line 2910 | Line 2969 | fi
2969  
2970   # Define the identity of the package.
2971   PACKAGE='ircd-hybrid'
2972 < VERSION='7.3-rc1'
2972 > VERSION='8.0.8'
2973  
2974  
2975   cat >>confdefs.h <<_ACEOF
# Line 2938 | Line 2997 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2997  
2998   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2999  
3000 + # For better backward compatibility.  To be removed once Automake 1.9.x
3001 + # dies out for good.  For more background, see:
3002 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3003 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3004 + mkdir_p='$(MKDIR_P)'
3005 +
3006   # We need awk for the "check" target.  The system "awk" is bad on
3007   # some platforms.
3008 < # Always define AMTAR for backward compatibility.
3008 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3009 > # in the wild :-(  We should find a proper way to deprecate it ...
3010 > AMTAR='$${TAR-tar}'
3011  
3012 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2946 <
2947 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3012 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3013  
3014  
3015  
# Line 2997 | Line 3062 | am__quote=
3062   _am_result=none
3063   # First try GNU make style include.
3064   echo "include confinc" > confmf
3065 < # Ignore all kinds of additional output from `make'.
3065 > # Ignore all kinds of additional output from 'make'.
3066   case `$am_make -s -f confmf 2> /dev/null` in #(
3067   *the\ am__doit\ target*)
3068    am__include=include
# Line 3030 | Line 3095 | fi
3095   if test "x$enable_dependency_tracking" != xno; then
3096    am_depcomp="$ac_aux_dir/depcomp"
3097    AMDEPBACKSLASH='\'
3098 +  am__nodep='_no'
3099   fi
3100   if test "x$enable_dependency_tracking" != xno; then
3101    AMDEP_TRUE=
# Line 3050 | Line 3116 | if test -n "$ac_tool_prefix"; then
3116   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118   $as_echo_n "checking for $ac_word... " >&6; }
3119 < if test "${ac_cv_prog_CC+set}" = set; then :
3119 > if ${ac_cv_prog_CC+:} false; then :
3120    $as_echo_n "(cached) " >&6
3121   else
3122    if test -n "$CC"; then
# Line 3062 | Line 3128 | do
3128    IFS=$as_save_IFS
3129    test -z "$as_dir" && as_dir=.
3130      for ac_exec_ext in '' $ac_executable_extensions; do
3131 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3131 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3133      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134      break 2
# Line 3090 | Line 3156 | if test -z "$ac_cv_prog_CC"; then
3156   set dummy gcc; ac_word=$2
3157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158   $as_echo_n "checking for $ac_word... " >&6; }
3159 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3159 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3160    $as_echo_n "(cached) " >&6
3161   else
3162    if test -n "$ac_ct_CC"; then
# Line 3102 | Line 3168 | do
3168    IFS=$as_save_IFS
3169    test -z "$as_dir" && as_dir=.
3170      for ac_exec_ext in '' $ac_executable_extensions; do
3171 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172      ac_cv_prog_ac_ct_CC="gcc"
3173      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3174      break 2
# Line 3143 | Line 3209 | if test -z "$CC"; then
3209   set dummy ${ac_tool_prefix}cc; ac_word=$2
3210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3211   $as_echo_n "checking for $ac_word... " >&6; }
3212 < if test "${ac_cv_prog_CC+set}" = set; then :
3212 > if ${ac_cv_prog_CC+:} false; then :
3213    $as_echo_n "(cached) " >&6
3214   else
3215    if test -n "$CC"; then
# Line 3155 | Line 3221 | do
3221    IFS=$as_save_IFS
3222    test -z "$as_dir" && as_dir=.
3223      for ac_exec_ext in '' $ac_executable_extensions; do
3224 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3224 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3225      ac_cv_prog_CC="${ac_tool_prefix}cc"
3226      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227      break 2
# Line 3183 | Line 3249 | if test -z "$CC"; then
3249   set dummy cc; ac_word=$2
3250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251   $as_echo_n "checking for $ac_word... " >&6; }
3252 < if test "${ac_cv_prog_CC+set}" = set; then :
3252 > if ${ac_cv_prog_CC+:} false; then :
3253    $as_echo_n "(cached) " >&6
3254   else
3255    if test -n "$CC"; then
# Line 3196 | Line 3262 | do
3262    IFS=$as_save_IFS
3263    test -z "$as_dir" && as_dir=.
3264      for ac_exec_ext in '' $ac_executable_extensions; do
3265 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3267         ac_prog_rejected=yes
3268         continue
# Line 3242 | Line 3308 | if test -z "$CC"; then
3308   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3310   $as_echo_n "checking for $ac_word... " >&6; }
3311 < if test "${ac_cv_prog_CC+set}" = set; then :
3311 > if ${ac_cv_prog_CC+:} false; then :
3312    $as_echo_n "(cached) " >&6
3313   else
3314    if test -n "$CC"; then
# Line 3254 | Line 3320 | do
3320    IFS=$as_save_IFS
3321    test -z "$as_dir" && as_dir=.
3322      for ac_exec_ext in '' $ac_executable_extensions; do
3323 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3324      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3325      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3326      break 2
# Line 3286 | Line 3352 | do
3352   set dummy $ac_prog; ac_word=$2
3353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3354   $as_echo_n "checking for $ac_word... " >&6; }
3355 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3355 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3356    $as_echo_n "(cached) " >&6
3357   else
3358    if test -n "$ac_ct_CC"; then
# Line 3298 | Line 3364 | do
3364    IFS=$as_save_IFS
3365    test -z "$as_dir" && as_dir=.
3366      for ac_exec_ext in '' $ac_executable_extensions; do
3367 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3367 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3368      ac_cv_prog_ac_ct_CC="$ac_prog"
3369      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370      break 2
# Line 3569 | Line 3635 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3635   ac_clean_files=$ac_clean_files_save
3636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3637   $as_echo_n "checking for suffix of object files... " >&6; }
3638 < if test "${ac_cv_objext+set}" = set; then :
3638 > if ${ac_cv_objext+:} false; then :
3639    $as_echo_n "(cached) " >&6
3640   else
3641    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3620 | Line 3686 | OBJEXT=$ac_cv_objext
3686   ac_objext=$OBJEXT
3687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3688   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3689 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3689 > if ${ac_cv_c_compiler_gnu+:} false; then :
3690    $as_echo_n "(cached) " >&6
3691   else
3692    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3657 | Line 3723 | ac_test_CFLAGS=${CFLAGS+set}
3723   ac_save_CFLAGS=$CFLAGS
3724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3725   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3726 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3726 > if ${ac_cv_prog_cc_g+:} false; then :
3727    $as_echo_n "(cached) " >&6
3728   else
3729    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3735 | Line 3801 | else
3801   fi
3802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3803   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3804 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3804 > if ${ac_cv_prog_cc_c89+:} false; then :
3805    $as_echo_n "(cached) " >&6
3806   else
3807    ac_cv_prog_cc_c89=no
# Line 3744 | Line 3810 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3810   /* end confdefs.h.  */
3811   #include <stdarg.h>
3812   #include <stdio.h>
3813 < #include <sys/types.h>
3748 < #include <sys/stat.h>
3813 > struct stat;
3814   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3815   struct buf { int x; };
3816   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3834 | Line 3899 | depcc="$CC"   am_compiler_list=
3899  
3900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3901   $as_echo_n "checking dependency style of $depcc... " >&6; }
3902 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3902 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3903    $as_echo_n "(cached) " >&6
3904   else
3905    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3906    # We make a subdir and do the tests there.  Otherwise we can end up
3907    # making bogus files that we don't know about and never remove.  For
3908    # instance it was reported that on HP-UX the gcc test will end up
3909 <  # making a dummy file named `D' -- because `-MD' means `put the output
3910 <  # in D'.
3909 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3910 >  # in D".
3911 >  rm -rf conftest.dir
3912    mkdir conftest.dir
3913    # Copy depcomp to subdir because otherwise we won't find it if we're
3914    # using a relative directory.
# Line 3876 | Line 3942 | else
3942      : > sub/conftest.c
3943      for i in 1 2 3 4 5 6; do
3944        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3945 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3946 <      # Solaris 8's {/usr,}/bin/sh.
3947 <      touch sub/conftst$i.h
3945 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3946 >      # Solaris 10 /bin/sh.
3947 >      echo '/* dummy */' > sub/conftst$i.h
3948      done
3949      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3950  
3951 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3951 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3952      # mode.  It turns out that the SunPro C++ compiler does not properly
3953 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3954 <    # versions had trouble with output in subdirs
3953 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3954 >    # versions had trouble with output in subdirs.
3955      am__obj=sub/conftest.${OBJEXT-o}
3956      am__minus_obj="-o $am__obj"
3957      case $depmode in
# Line 3894 | Line 3960 | else
3960        test "$am__universal" = false || continue
3961        ;;
3962      nosideeffect)
3963 <      # after this tag, mechanisms are not by side-effect, so they'll
3964 <      # only be used when explicitly requested
3963 >      # After this tag, mechanisms are not by side-effect, so they'll
3964 >      # only be used when explicitly requested.
3965        if test "x$enable_dependency_tracking" = xyes; then
3966          continue
3967        else
3968          break
3969        fi
3970        ;;
3971 <    msvisualcpp | msvcmsys)
3972 <      # This compiler won't grok `-c -o', but also, the minuso test has
3971 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3972 >      # This compiler won't grok '-c -o', but also, the minuso test has
3973        # not run yet.  These depmodes are late enough in the game, and
3974        # so weak that their functioning should not be impacted.
3975        am__obj=conftest.${OBJEXT-o}
# Line 3959 | Line 4025 | fi
4025  
4026     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4027   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4028 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4028 > if ${ac_cv_prog_cc_c99+:} false; then :
4029    $as_echo_n "(cached) " >&6
4030   else
4031    ac_cv_prog_cc_c99=no
# Line 4103 | Line 4169 | main ()
4169    return 0;
4170   }
4171   _ACEOF
4172 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4172 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4173   do
4174    CC="$ac_save_CC $ac_arg"
4175    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4135 | Line 4201 | fi
4201  
4202  
4203   if test "$ac_cv_prog_cc_c99" = "no"; then :
4204 <  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4204 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4205   fi
4206   for ac_prog in 'bison -y' byacc
4207   do
# Line 4143 | Line 4209 | do
4209   set dummy $ac_prog; ac_word=$2
4210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4211   $as_echo_n "checking for $ac_word... " >&6; }
4212 < if test "${ac_cv_prog_YACC+set}" = set; then :
4212 > if ${ac_cv_prog_YACC+:} false; then :
4213    $as_echo_n "(cached) " >&6
4214   else
4215    if test -n "$YACC"; then
# Line 4155 | Line 4221 | do
4221    IFS=$as_save_IFS
4222    test -z "$as_dir" && as_dir=.
4223      for ac_exec_ext in '' $ac_executable_extensions; do
4224 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4224 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4225      ac_cv_prog_YACC="$ac_prog"
4226      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4227      break 2
# Line 4187 | Line 4253 | do
4253   set dummy $ac_prog; ac_word=$2
4254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4255   $as_echo_n "checking for $ac_word... " >&6; }
4256 < if test "${ac_cv_prog_LEX+set}" = set; then :
4256 > if ${ac_cv_prog_LEX+:} false; then :
4257    $as_echo_n "(cached) " >&6
4258   else
4259    if test -n "$LEX"; then
# Line 4199 | Line 4265 | do
4265    IFS=$as_save_IFS
4266    test -z "$as_dir" && as_dir=.
4267      for ac_exec_ext in '' $ac_executable_extensions; do
4268 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4268 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4269      ac_cv_prog_LEX="$ac_prog"
4270      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271      break 2
# Line 4231 | Line 4297 | a { ECHO; }
4297   b { REJECT; }
4298   c { yymore (); }
4299   d { yyless (1); }
4300 < e { yyless (input () != 0); }
4300 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4301 >    yyless ((input () != 0)); }
4302   f { unput (yytext[0]); }
4303   . { BEGIN INITIAL; }
4304   %%
# Line 4257 | Line 4324 | $as_echo "$ac_try_echo"; } >&5
4324    test $ac_status = 0; }
4325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4326   $as_echo_n "checking lex output file root... " >&6; }
4327 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4327 > if ${ac_cv_prog_lex_root+:} false; then :
4328    $as_echo_n "(cached) " >&6
4329   else
4330  
# Line 4276 | Line 4343 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4343   if test -z "${LEXLIB+set}"; then
4344    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4345   $as_echo_n "checking lex library... " >&6; }
4346 < if test "${ac_cv_lib_lex+set}" = set; then :
4346 > if ${ac_cv_lib_lex+:} false; then :
4347    $as_echo_n "(cached) " >&6
4348   else
4349  
# Line 4306 | Line 4373 | fi
4373  
4374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4375   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4376 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4376 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4377    $as_echo_n "(cached) " >&6
4378   else
4379    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4317 | Line 4384 | ac_save_LIBS=$LIBS
4384   LIBS="$LEXLIB $ac_save_LIBS"
4385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4386   /* end confdefs.h.  */
4387 < #define YYTEXT_POINTER 1
4387 >
4388 >  #define YYTEXT_POINTER 1
4389   `cat $LEX_OUTPUT_ROOT.c`
4390   _ACEOF
4391   if ac_fn_c_try_link "$LINENO"; then :
# Line 4359 | Line 4427 | esac
4427  
4428  
4429  
4430 < macro_version='2.2.10'
4431 < macro_revision='1.3175'
4430 > macro_version='2.4.2'
4431 > macro_revision='1.3337'
4432  
4433  
4434  
# Line 4382 | Line 4450 | $SHELL "$ac_aux_dir/config.sub" sun4 >/d
4450  
4451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4452   $as_echo_n "checking build system type... " >&6; }
4453 < if test "${ac_cv_build+set}" = set; then :
4453 > if ${ac_cv_build+:} false; then :
4454    $as_echo_n "(cached) " >&6
4455   else
4456    ac_build_alias=$build_alias
# Line 4416 | Line 4484 | case $build_os in *\ *) build_os=`echo "
4484  
4485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4486   $as_echo_n "checking host system type... " >&6; }
4487 < if test "${ac_cv_host+set}" = set; then :
4487 > if ${ac_cv_host+:} false; then :
4488    $as_echo_n "(cached) " >&6
4489   else
4490    if test "x$host_alias" = x; then
# Line 4471 | Line 4539 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4540   $as_echo_n "checking how to print strings... " >&6; }
4541   # Test print first, because it will be a builtin if present.
4542 < if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4542 > if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4543     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4544    ECHO='print -r --'
4545   elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
# Line 4518 | Line 4586 | esac
4586  
4587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4588   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4589 < if test "${ac_cv_path_SED+set}" = set; then :
4589 > if ${ac_cv_path_SED+:} false; then :
4590    $as_echo_n "(cached) " >&6
4591   else
4592              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4538 | Line 4606 | do
4606      for ac_prog in sed gsed; do
4607      for ac_exec_ext in '' $ac_executable_extensions; do
4608        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4609 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4609 >      as_fn_executable_p "$ac_path_SED" || continue
4610   # Check for GNU ac_path_SED and select it if it is found.
4611    # Check for GNU $ac_path_SED
4612   case `"$ac_path_SED" --version 2>&1` in
# Line 4600 | Line 4668 | Xsed="$SED -e 1s/^X//"
4668  
4669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4670   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4671 < if test "${ac_cv_path_GREP+set}" = set; then :
4671 > if ${ac_cv_path_GREP+:} false; then :
4672    $as_echo_n "(cached) " >&6
4673   else
4674    if test -z "$GREP"; then
# Line 4614 | Line 4682 | do
4682      for ac_prog in grep ggrep; do
4683      for ac_exec_ext in '' $ac_executable_extensions; do
4684        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4685 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4685 >      as_fn_executable_p "$ac_path_GREP" || continue
4686   # Check for GNU ac_path_GREP and select it if it is found.
4687    # Check for GNU $ac_path_GREP
4688   case `"$ac_path_GREP" --version 2>&1` in
# Line 4663 | Line 4731 | $as_echo "$ac_cv_path_GREP" >&6; }
4731  
4732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4733   $as_echo_n "checking for egrep... " >&6; }
4734 < if test "${ac_cv_path_EGREP+set}" = set; then :
4734 > if ${ac_cv_path_EGREP+:} false; then :
4735    $as_echo_n "(cached) " >&6
4736   else
4737    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4680 | Line 4748 | do
4748      for ac_prog in egrep; do
4749      for ac_exec_ext in '' $ac_executable_extensions; do
4750        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4751 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4751 >      as_fn_executable_p "$ac_path_EGREP" || continue
4752   # Check for GNU ac_path_EGREP and select it if it is found.
4753    # Check for GNU $ac_path_EGREP
4754   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4730 | Line 4798 | $as_echo "$ac_cv_path_EGREP" >&6; }
4798  
4799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4800   $as_echo_n "checking for fgrep... " >&6; }
4801 < if test "${ac_cv_path_FGREP+set}" = set; then :
4801 > if ${ac_cv_path_FGREP+:} false; then :
4802    $as_echo_n "(cached) " >&6
4803   else
4804    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4747 | Line 4815 | do
4815      for ac_prog in fgrep; do
4816      for ac_exec_ext in '' $ac_executable_extensions; do
4817        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4818 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4818 >      as_fn_executable_p "$ac_path_FGREP" || continue
4819   # Check for GNU ac_path_FGREP and select it if it is found.
4820    # Check for GNU $ac_path_FGREP
4821   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4861 | Line 4929 | else
4929    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4930   $as_echo_n "checking for non-GNU ld... " >&6; }
4931   fi
4932 < if test "${lt_cv_path_LD+set}" = set; then :
4932 > if ${lt_cv_path_LD+:} false; then :
4933    $as_echo_n "(cached) " >&6
4934   else
4935    if test -z "$LD"; then
# Line 4901 | Line 4969 | fi
4969   test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4971   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4972 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4972 > if ${lt_cv_prog_gnu_ld+:} false; then :
4973    $as_echo_n "(cached) " >&6
4974   else
4975    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4928 | Line 4996 | with_gnu_ld=$lt_cv_prog_gnu_ld
4996  
4997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4998   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4999 < if test "${lt_cv_path_NM+set}" = set; then :
4999 > if ${lt_cv_path_NM+:} false; then :
5000    $as_echo_n "(cached) " >&6
5001   else
5002    if test -n "$NM"; then
# Line 4991 | Line 5059 | else
5059   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061   $as_echo_n "checking for $ac_word... " >&6; }
5062 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5062 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5063    $as_echo_n "(cached) " >&6
5064   else
5065    if test -n "$DUMPBIN"; then
# Line 5003 | Line 5071 | do
5071    IFS=$as_save_IFS
5072    test -z "$as_dir" && as_dir=.
5073      for ac_exec_ext in '' $ac_executable_extensions; do
5074 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5074 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5075      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5076      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5077      break 2
# Line 5035 | Line 5103 | do
5103   set dummy $ac_prog; ac_word=$2
5104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105   $as_echo_n "checking for $ac_word... " >&6; }
5106 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5106 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5107    $as_echo_n "(cached) " >&6
5108   else
5109    if test -n "$ac_ct_DUMPBIN"; then
# Line 5047 | Line 5115 | do
5115    IFS=$as_save_IFS
5116    test -z "$as_dir" && as_dir=.
5117      for ac_exec_ext in '' $ac_executable_extensions; do
5118 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5119      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5120      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121      break 2
# Line 5107 | Line 5175 | test -z "$NM" && NM=nm
5175  
5176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5177   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5178 < if test "${lt_cv_nm_interface+set}" = set; then :
5178 > if ${lt_cv_nm_interface+:} false; then :
5179    $as_echo_n "(cached) " >&6
5180   else
5181    lt_cv_nm_interface="BSD nm"
# Line 5142 | Line 5210 | fi
5210   # find the maximum length of command line arguments
5211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5212   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5213 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5213 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5214    $as_echo_n "(cached) " >&6
5215   else
5216      i=0
# Line 5205 | Line 5273 | else
5273      lt_cv_sys_max_cmd_len=196608
5274      ;;
5275  
5276 +  os2*)
5277 +    # The test takes a long time on OS/2.
5278 +    lt_cv_sys_max_cmd_len=8192
5279 +    ;;
5280 +
5281    osf*)
5282      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5283      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5244 | Line 5317 | else
5317        # If test is not a shell built-in, we'll probably end up computing a
5318        # maximum length that is only half of the actual maximum length, but
5319        # we can't tell.
5320 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5320 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5321                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5322                test $i != 17 # 1/2 MB should be enough
5323        do
# Line 5287 | Line 5360 | $as_echo_n "checking whether the shell u
5360   # Try some XSI features
5361   xsi_shell=no
5362   ( _lt_dummy="a/b/c"
5363 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5364 <      = c,a/b,, \
5363 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5364 >      = c,a/b,b/c, \
5365      && eval 'test $(( 1 + 1 )) -eq 2 \
5366      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5367    && xsi_shell=yes
# Line 5337 | Line 5410 | esac
5410  
5411  
5412  
5413 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5414 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5415 + if ${lt_cv_to_host_file_cmd+:} false; then :
5416 +  $as_echo_n "(cached) " >&6
5417 + else
5418 +  case $host in
5419 +  *-*-mingw* )
5420 +    case $build in
5421 +      *-*-mingw* ) # actually msys
5422 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5423 +        ;;
5424 +      *-*-cygwin* )
5425 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5426 +        ;;
5427 +      * ) # otherwise, assume *nix
5428 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5429 +        ;;
5430 +    esac
5431 +    ;;
5432 +  *-*-cygwin* )
5433 +    case $build in
5434 +      *-*-mingw* ) # actually msys
5435 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5436 +        ;;
5437 +      *-*-cygwin* )
5438 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5439 +        ;;
5440 +      * ) # otherwise, assume *nix
5441 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5442 +        ;;
5443 +    esac
5444 +    ;;
5445 +  * ) # unhandled hosts (and "normal" native builds)
5446 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5447 +    ;;
5448 + esac
5449 +
5450 + fi
5451 +
5452 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5453 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5454 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5455 +
5456 +
5457 +
5458 +
5459 +
5460 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5461 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5462 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5463 +  $as_echo_n "(cached) " >&6
5464 + else
5465 +  #assume ordinary cross tools, or native build.
5466 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5467 + case $host in
5468 +  *-*-mingw* )
5469 +    case $build in
5470 +      *-*-mingw* ) # actually msys
5471 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5472 +        ;;
5473 +    esac
5474 +    ;;
5475 + esac
5476 +
5477 + fi
5478 +
5479 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5480 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5481 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5482 +
5483 +
5484 +
5485 +
5486 +
5487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5488   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5489 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5489 > if ${lt_cv_ld_reload_flag+:} false; then :
5490    $as_echo_n "(cached) " >&6
5491   else
5492    lt_cv_ld_reload_flag='-r'
# Line 5353 | Line 5500 | case $reload_flag in
5500   esac
5501   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5502   case $host_os in
5503 +  cygwin* | mingw* | pw32* | cegcc*)
5504 +    if test "$GCC" != yes; then
5505 +      reload_cmds=false
5506 +    fi
5507 +    ;;
5508    darwin*)
5509      if test "$GCC" = yes; then
5510        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5375 | Line 5527 | if test -n "$ac_tool_prefix"; then
5527   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5529   $as_echo_n "checking for $ac_word... " >&6; }
5530 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5530 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5531    $as_echo_n "(cached) " >&6
5532   else
5533    if test -n "$OBJDUMP"; then
# Line 5387 | Line 5539 | do
5539    IFS=$as_save_IFS
5540    test -z "$as_dir" && as_dir=.
5541      for ac_exec_ext in '' $ac_executable_extensions; do
5542 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5542 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5543      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5544      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545      break 2
# Line 5415 | Line 5567 | if test -z "$ac_cv_prog_OBJDUMP"; then
5567   set dummy objdump; ac_word=$2
5568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569   $as_echo_n "checking for $ac_word... " >&6; }
5570 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5570 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5571    $as_echo_n "(cached) " >&6
5572   else
5573    if test -n "$ac_ct_OBJDUMP"; then
# Line 5427 | Line 5579 | do
5579    IFS=$as_save_IFS
5580    test -z "$as_dir" && as_dir=.
5581      for ac_exec_ext in '' $ac_executable_extensions; do
5582 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5582 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5584      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585      break 2
# Line 5474 | Line 5626 | test -z "$OBJDUMP" && OBJDUMP=objdump
5626  
5627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5628   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5629 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5629 > if ${lt_cv_deplibs_check_method+:} false; then :
5630    $as_echo_n "(cached) " >&6
5631   else
5632    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5594 | Line 5746 | irix5* | irix6* | nonstopux*)
5746    lt_cv_deplibs_check_method=pass_all
5747    ;;
5748  
5749 < # This must be Linux ELF.
5749 > # This must be glibc/ELF.
5750   linux* | k*bsd*-gnu | kopensolaris*-gnu)
5751    lt_cv_deplibs_check_method=pass_all
5752    ;;
# Line 5676 | Line 5828 | esac
5828   fi
5829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5830   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5831 +
5832 + file_magic_glob=
5833 + want_nocaseglob=no
5834 + if test "$build" = "$host"; then
5835 +  case $host_os in
5836 +  mingw* | pw32*)
5837 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5838 +      want_nocaseglob=yes
5839 +    else
5840 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5841 +    fi
5842 +    ;;
5843 +  esac
5844 + fi
5845 +
5846   file_magic_cmd=$lt_cv_file_magic_cmd
5847   deplibs_check_method=$lt_cv_deplibs_check_method
5848   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5691 | Line 5858 | test -z "$deplibs_check_method" && depli
5858  
5859  
5860  
5861 +
5862 +
5863 +
5864 +
5865 +
5866 +
5867 +
5868 +
5869 +
5870 +
5871   if test -n "$ac_tool_prefix"; then
5872 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5873 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5872 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5873 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875   $as_echo_n "checking for $ac_word... " >&6; }
5876 < if test "${ac_cv_prog_AR+set}" = set; then :
5876 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5877 >  $as_echo_n "(cached) " >&6
5878 > else
5879 >  if test -n "$DLLTOOL"; then
5880 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5881 > else
5882 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 > for as_dir in $PATH
5884 > do
5885 >  IFS=$as_save_IFS
5886 >  test -z "$as_dir" && as_dir=.
5887 >    for ac_exec_ext in '' $ac_executable_extensions; do
5888 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5889 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5890 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 >    break 2
5892 >  fi
5893 > done
5894 >  done
5895 > IFS=$as_save_IFS
5896 >
5897 > fi
5898 > fi
5899 > DLLTOOL=$ac_cv_prog_DLLTOOL
5900 > if test -n "$DLLTOOL"; then
5901 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5902 > $as_echo "$DLLTOOL" >&6; }
5903 > else
5904 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905 > $as_echo "no" >&6; }
5906 > fi
5907 >
5908 >
5909 > fi
5910 > if test -z "$ac_cv_prog_DLLTOOL"; then
5911 >  ac_ct_DLLTOOL=$DLLTOOL
5912 >  # Extract the first word of "dlltool", so it can be a program name with args.
5913 > set dummy dlltool; ac_word=$2
5914 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 > $as_echo_n "checking for $ac_word... " >&6; }
5916 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5917 >  $as_echo_n "(cached) " >&6
5918 > else
5919 >  if test -n "$ac_ct_DLLTOOL"; then
5920 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5921 > else
5922 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 > for as_dir in $PATH
5924 > do
5925 >  IFS=$as_save_IFS
5926 >  test -z "$as_dir" && as_dir=.
5927 >    for ac_exec_ext in '' $ac_executable_extensions; do
5928 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5929 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5930 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 >    break 2
5932 >  fi
5933 > done
5934 >  done
5935 > IFS=$as_save_IFS
5936 >
5937 > fi
5938 > fi
5939 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5940 > if test -n "$ac_ct_DLLTOOL"; then
5941 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5942 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5943 > else
5944 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 > $as_echo "no" >&6; }
5946 > fi
5947 >
5948 >  if test "x$ac_ct_DLLTOOL" = x; then
5949 >    DLLTOOL="false"
5950 >  else
5951 >    case $cross_compiling:$ac_tool_warned in
5952 > yes:)
5953 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5954 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5955 > ac_tool_warned=yes ;;
5956 > esac
5957 >    DLLTOOL=$ac_ct_DLLTOOL
5958 >  fi
5959 > else
5960 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
5961 > fi
5962 >
5963 > test -z "$DLLTOOL" && DLLTOOL=dlltool
5964 >
5965 >
5966 >
5967 >
5968 >
5969 >
5970 >
5971 >
5972 >
5973 >
5974 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5975 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5976 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5977 >  $as_echo_n "(cached) " >&6
5978 > else
5979 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
5980 >
5981 > case $host_os in
5982 > cygwin* | mingw* | pw32* | cegcc*)
5983 >  # two different shell functions defined in ltmain.sh
5984 >  # decide which to use based on capabilities of $DLLTOOL
5985 >  case `$DLLTOOL --help 2>&1` in
5986 >  *--identify-strict*)
5987 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5988 >    ;;
5989 >  *)
5990 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5991 >    ;;
5992 >  esac
5993 >  ;;
5994 > *)
5995 >  # fallback: assume linklib IS sharedlib
5996 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5997 >  ;;
5998 > esac
5999 >
6000 > fi
6001 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6002 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6003 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6004 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6005 >
6006 >
6007 >
6008 >
6009 >
6010 >
6011 >
6012 > if test -n "$ac_tool_prefix"; then
6013 >  for ac_prog in ar
6014 >  do
6015 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6016 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6017 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 > $as_echo_n "checking for $ac_word... " >&6; }
6019 > if ${ac_cv_prog_AR+:} false; then :
6020    $as_echo_n "(cached) " >&6
6021   else
6022    if test -n "$AR"; then
# Line 5708 | Line 6028 | do
6028    IFS=$as_save_IFS
6029    test -z "$as_dir" && as_dir=.
6030      for ac_exec_ext in '' $ac_executable_extensions; do
6031 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6032 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6031 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6033      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034      break 2
6035    fi
# Line 5729 | Line 6049 | $as_echo "no" >&6; }
6049   fi
6050  
6051  
6052 +    test -n "$AR" && break
6053 +  done
6054   fi
6055 < if test -z "$ac_cv_prog_AR"; then
6055 > if test -z "$AR"; then
6056    ac_ct_AR=$AR
6057 <  # Extract the first word of "ar", so it can be a program name with args.
6058 < set dummy ar; ac_word=$2
6057 >  for ac_prog in ar
6058 > do
6059 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6060 > set dummy $ac_prog; ac_word=$2
6061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062   $as_echo_n "checking for $ac_word... " >&6; }
6063 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6063 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6064    $as_echo_n "(cached) " >&6
6065   else
6066    if test -n "$ac_ct_AR"; then
# Line 5748 | Line 6072 | do
6072    IFS=$as_save_IFS
6073    test -z "$as_dir" && as_dir=.
6074      for ac_exec_ext in '' $ac_executable_extensions; do
6075 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 <    ac_cv_prog_ac_ct_AR="ar"
6075 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6077      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078      break 2
6079    fi
# Line 5768 | Line 6092 | else
6092   $as_echo "no" >&6; }
6093   fi
6094  
6095 +
6096 +  test -n "$ac_ct_AR" && break
6097 + done
6098 +
6099    if test "x$ac_ct_AR" = x; then
6100      AR="false"
6101    else
# Line 5779 | Line 6107 | ac_tool_warned=yes ;;
6107   esac
6108      AR=$ac_ct_AR
6109    fi
5782 else
5783  AR="$ac_cv_prog_AR"
6110   fi
6111  
6112 < test -z "$AR" && AR=ar
6113 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6112 > : ${AR=ar}
6113 > : ${AR_FLAGS=cru}
6114 >
6115  
6116  
6117  
# Line 5795 | Line 6122 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6122  
6123  
6124  
6125 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6126 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6127 + if ${lt_cv_ar_at_file+:} false; then :
6128 +  $as_echo_n "(cached) " >&6
6129 + else
6130 +  lt_cv_ar_at_file=no
6131 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6132 + /* end confdefs.h.  */
6133 +
6134 + int
6135 + main ()
6136 + {
6137 +
6138 +  ;
6139 +  return 0;
6140 + }
6141 + _ACEOF
6142 + if ac_fn_c_try_compile "$LINENO"; then :
6143 +  echo conftest.$ac_objext > conftest.lst
6144 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6145 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6146 +  (eval $lt_ar_try) 2>&5
6147 +  ac_status=$?
6148 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6149 +  test $ac_status = 0; }
6150 +      if test "$ac_status" -eq 0; then
6151 +        # Ensure the archiver fails upon bogus file names.
6152 +        rm -f conftest.$ac_objext libconftest.a
6153 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6154 +  (eval $lt_ar_try) 2>&5
6155 +  ac_status=$?
6156 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6157 +  test $ac_status = 0; }
6158 +        if test "$ac_status" -ne 0; then
6159 +          lt_cv_ar_at_file=@
6160 +        fi
6161 +      fi
6162 +      rm -f conftest.* libconftest.a
6163 +
6164 + fi
6165 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6166 +
6167 + fi
6168 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6169 + $as_echo "$lt_cv_ar_at_file" >&6; }
6170 +
6171 + if test "x$lt_cv_ar_at_file" = xno; then
6172 +  archiver_list_spec=
6173 + else
6174 +  archiver_list_spec=$lt_cv_ar_at_file
6175 + fi
6176 +
6177 +
6178 +
6179 +
6180 +
6181 +
6182  
6183   if test -n "$ac_tool_prefix"; then
6184    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6185   set dummy ${ac_tool_prefix}strip; ac_word=$2
6186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187   $as_echo_n "checking for $ac_word... " >&6; }
6188 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6188 > if ${ac_cv_prog_STRIP+:} false; then :
6189    $as_echo_n "(cached) " >&6
6190   else
6191    if test -n "$STRIP"; then
# Line 5813 | Line 6197 | do
6197    IFS=$as_save_IFS
6198    test -z "$as_dir" && as_dir=.
6199      for ac_exec_ext in '' $ac_executable_extensions; do
6200 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6202      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203      break 2
# Line 5841 | Line 6225 | if test -z "$ac_cv_prog_STRIP"; then
6225   set dummy strip; ac_word=$2
6226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6227   $as_echo_n "checking for $ac_word... " >&6; }
6228 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6228 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6229    $as_echo_n "(cached) " >&6
6230   else
6231    if test -n "$ac_ct_STRIP"; then
# Line 5853 | Line 6237 | do
6237    IFS=$as_save_IFS
6238    test -z "$as_dir" && as_dir=.
6239      for ac_exec_ext in '' $ac_executable_extensions; do
6240 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6240 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6241      ac_cv_prog_ac_ct_STRIP="strip"
6242      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6243      break 2
# Line 5900 | Line 6284 | if test -n "$ac_tool_prefix"; then
6284   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6286   $as_echo_n "checking for $ac_word... " >&6; }
6287 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6287 > if ${ac_cv_prog_RANLIB+:} false; then :
6288    $as_echo_n "(cached) " >&6
6289   else
6290    if test -n "$RANLIB"; then
# Line 5912 | Line 6296 | do
6296    IFS=$as_save_IFS
6297    test -z "$as_dir" && as_dir=.
6298      for ac_exec_ext in '' $ac_executable_extensions; do
6299 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6299 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6300      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6301      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6302      break 2
# Line 5940 | Line 6324 | if test -z "$ac_cv_prog_RANLIB"; then
6324   set dummy ranlib; ac_word=$2
6325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6326   $as_echo_n "checking for $ac_word... " >&6; }
6327 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6327 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6328    $as_echo_n "(cached) " >&6
6329   else
6330    if test -n "$ac_ct_RANLIB"; then
# Line 5952 | Line 6336 | do
6336    IFS=$as_save_IFS
6337    test -z "$as_dir" && as_dir=.
6338      for ac_exec_ext in '' $ac_executable_extensions; do
6339 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6340      ac_cv_prog_ac_ct_RANLIB="ranlib"
6341      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6342      break 2
# Line 6002 | Line 6386 | old_postuninstall_cmds=
6386   if test -n "$RANLIB"; then
6387    case $host_os in
6388    openbsd*)
6389 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6389 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6390      ;;
6391    *)
6392 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6392 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6393      ;;
6394    esac
6395 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6395 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6396   fi
6397  
6398   case $host_os in
# Line 6069 | Line 6453 | compiler=$CC
6453   # Check for command to grab the raw symbol name followed by C symbol from nm.
6454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6455   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6456 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6456 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6457    $as_echo_n "(cached) " >&6
6458   else
6459  
# Line 6130 | Line 6514 | esac
6514   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6515  
6516   # Transform an extracted symbol line into symbol name and symbol address
6517 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6518 < 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'"
6517 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6518 > 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'"
6519  
6520   # Handle CRLF in mingw tool chain
6521   opt_cr=
# Line 6155 | Line 6539 | for ac_symprfx in "" "_"; do
6539      # which start with @ or ?.
6540      lt_cv_sys_global_symbol_pipe="$AWK '"\
6541   "     {last_section=section; section=\$ 3};"\
6542 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6543   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6544   "     \$ 0!~/External *\|/{next};"\
6545   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6167 | Line 6552 | for ac_symprfx in "" "_"; do
6552    else
6553      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6554    fi
6555 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6556  
6557    # Check to see that the pipe works correctly.
6558    pipe_works=no
# Line 6208 | Line 6594 | _LT_EOF
6594        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6595          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6596            cat <<_LT_EOF > conftest.$ac_ext
6597 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6598 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6599 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6600 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6601 + # define LT_DLSYM_CONST
6602 + #elif defined(__osf__)
6603 + /* This system does not cope well with relocations in const data.  */
6604 + # define LT_DLSYM_CONST
6605 + #else
6606 + # define LT_DLSYM_CONST const
6607 + #endif
6608 +
6609   #ifdef __cplusplus
6610   extern "C" {
6611   #endif
# Line 6219 | Line 6617 | _LT_EOF
6617            cat <<_LT_EOF >> conftest.$ac_ext
6618  
6619   /* The mapping between symbol names and symbols.  */
6620 < const struct {
6620 > LT_DLSYM_CONST struct {
6621    const char *name;
6622    void       *address;
6623   }
# Line 6245 | Line 6643 | static const void *lt_preloaded_setup()
6643   _LT_EOF
6644            # Now try linking the two files.
6645            mv conftest.$ac_objext conftstm.$ac_objext
6646 <          lt_save_LIBS="$LIBS"
6647 <          lt_save_CFLAGS="$CFLAGS"
6646 >          lt_globsym_save_LIBS=$LIBS
6647 >          lt_globsym_save_CFLAGS=$CFLAGS
6648            LIBS="conftstm.$ac_objext"
6649            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6650            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6256 | Line 6654 | _LT_EOF
6654    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6655              pipe_works=yes
6656            fi
6657 <          LIBS="$lt_save_LIBS"
6658 <          CFLAGS="$lt_save_CFLAGS"
6657 >          LIBS=$lt_globsym_save_LIBS
6658 >          CFLAGS=$lt_globsym_save_CFLAGS
6659          else
6660            echo "cannot find nm_test_func in $nlist" >&5
6661          fi
# Line 6294 | Line 6692 | else
6692   $as_echo "ok" >&6; }
6693   fi
6694  
6695 + # Response file support.
6696 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6697 +  nm_file_list_spec='@'
6698 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6699 +  nm_file_list_spec='@'
6700 + fi
6701 +
6702 +
6703 +
6704  
6705  
6706  
# Line 6315 | Line 6722 | fi
6722  
6723  
6724  
6725 +
6726 +
6727 +
6728 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6729 + $as_echo_n "checking for sysroot... " >&6; }
6730 +
6731 + # Check whether --with-sysroot was given.
6732 + if test "${with_sysroot+set}" = set; then :
6733 +  withval=$with_sysroot;
6734 + else
6735 +  with_sysroot=no
6736 + fi
6737 +
6738 +
6739 + lt_sysroot=
6740 + case ${with_sysroot} in #(
6741 + yes)
6742 +   if test "$GCC" = yes; then
6743 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6744 +   fi
6745 +   ;; #(
6746 + /*)
6747 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6748 +   ;; #(
6749 + no|'')
6750 +   ;; #(
6751 + *)
6752 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6753 + $as_echo "${with_sysroot}" >&6; }
6754 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6755 +   ;;
6756 + esac
6757 +
6758 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6759 + $as_echo "${lt_sysroot:-no}" >&6; }
6760 +
6761 +
6762 +
6763 +
6764 +
6765   # Check whether --enable-libtool-lock was given.
6766   if test "${enable_libtool_lock+set}" = set; then :
6767    enableval=$enable_libtool_lock;
# Line 6440 | Line 6887 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6887    CFLAGS="$CFLAGS -belf"
6888    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6889   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6890 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6890 > if ${lt_cv_cc_needs_belf+:} false; then :
6891    $as_echo_n "(cached) " >&6
6892   else
6893    ac_ext=c
# Line 6481 | Line 6928 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6928      CFLAGS="$SAVE_CFLAGS"
6929    fi
6930    ;;
6931 < sparc*-*solaris*)
6931 > *-*solaris*)
6932    # Find out which ABI we are using.
6933    echo 'int i;' > conftest.$ac_ext
6934    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6492 | Line 6939 | sparc*-*solaris*)
6939      case `/usr/bin/file conftest.o` in
6940      *64-bit*)
6941        case $lt_cv_prog_gnu_ld in
6942 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6942 >      yes*)
6943 >        case $host in
6944 >        i?86-*-solaris*)
6945 >          LD="${LD-ld} -m elf_x86_64"
6946 >          ;;
6947 >        sparc*-*-solaris*)
6948 >          LD="${LD-ld} -m elf64_sparc"
6949 >          ;;
6950 >        esac
6951 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6952 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6953 >          LD="${LD-ld}_sol2"
6954 >        fi
6955 >        ;;
6956        *)
6957          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6958            LD="${LD-ld} -64"
# Line 6508 | Line 6968 | esac
6968  
6969   need_locks="$enable_libtool_lock"
6970  
6971 + if test -n "$ac_tool_prefix"; then
6972 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6973 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6974 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6975 + $as_echo_n "checking for $ac_word... " >&6; }
6976 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6977 +  $as_echo_n "(cached) " >&6
6978 + else
6979 +  if test -n "$MANIFEST_TOOL"; then
6980 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6981 + else
6982 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6983 + for as_dir in $PATH
6984 + do
6985 +  IFS=$as_save_IFS
6986 +  test -z "$as_dir" && as_dir=.
6987 +    for ac_exec_ext in '' $ac_executable_extensions; do
6988 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6989 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6990 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6991 +    break 2
6992 +  fi
6993 + done
6994 +  done
6995 + IFS=$as_save_IFS
6996 +
6997 + fi
6998 + fi
6999 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7000 + if test -n "$MANIFEST_TOOL"; then
7001 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7002 + $as_echo "$MANIFEST_TOOL" >&6; }
7003 + else
7004 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7005 + $as_echo "no" >&6; }
7006 + fi
7007 +
7008 +
7009 + fi
7010 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7011 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7012 +  # Extract the first word of "mt", so it can be a program name with args.
7013 + set dummy mt; ac_word=$2
7014 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 + $as_echo_n "checking for $ac_word... " >&6; }
7016 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7017 +  $as_echo_n "(cached) " >&6
7018 + else
7019 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7020 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7021 + else
7022 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7023 + for as_dir in $PATH
7024 + do
7025 +  IFS=$as_save_IFS
7026 +  test -z "$as_dir" && as_dir=.
7027 +    for ac_exec_ext in '' $ac_executable_extensions; do
7028 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7030 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7031 +    break 2
7032 +  fi
7033 + done
7034 +  done
7035 + IFS=$as_save_IFS
7036 +
7037 + fi
7038 + fi
7039 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7040 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7041 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7042 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7043 + else
7044 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045 + $as_echo "no" >&6; }
7046 + fi
7047 +
7048 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7049 +    MANIFEST_TOOL=":"
7050 +  else
7051 +    case $cross_compiling:$ac_tool_warned in
7052 + yes:)
7053 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7054 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7055 + ac_tool_warned=yes ;;
7056 + esac
7057 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7058 +  fi
7059 + else
7060 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7061 + fi
7062 +
7063 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7064 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7065 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7066 + if ${lt_cv_path_mainfest_tool+:} false; then :
7067 +  $as_echo_n "(cached) " >&6
7068 + else
7069 +  lt_cv_path_mainfest_tool=no
7070 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7071 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7072 +  cat conftest.err >&5
7073 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7074 +    lt_cv_path_mainfest_tool=yes
7075 +  fi
7076 +  rm -f conftest*
7077 + fi
7078 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7079 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7080 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7081 +  MANIFEST_TOOL=:
7082 + fi
7083 +
7084 +
7085 +
7086 +
7087 +
7088  
7089    case $host_os in
7090      rhapsody* | darwin*)
# Line 6516 | Line 7093 | need_locks="$enable_libtool_lock"
7093   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7095   $as_echo_n "checking for $ac_word... " >&6; }
7096 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7096 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7097    $as_echo_n "(cached) " >&6
7098   else
7099    if test -n "$DSYMUTIL"; then
# Line 6528 | Line 7105 | do
7105    IFS=$as_save_IFS
7106    test -z "$as_dir" && as_dir=.
7107      for ac_exec_ext in '' $ac_executable_extensions; do
7108 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7108 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7109      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7110      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7111      break 2
# Line 6556 | Line 7133 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7133   set dummy dsymutil; ac_word=$2
7134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135   $as_echo_n "checking for $ac_word... " >&6; }
7136 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7136 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7137    $as_echo_n "(cached) " >&6
7138   else
7139    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6568 | Line 7145 | do
7145    IFS=$as_save_IFS
7146    test -z "$as_dir" && as_dir=.
7147      for ac_exec_ext in '' $ac_executable_extensions; do
7148 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7148 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7149      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7150      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7151      break 2
# Line 6608 | Line 7185 | fi
7185   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187   $as_echo_n "checking for $ac_word... " >&6; }
7188 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7188 > if ${ac_cv_prog_NMEDIT+:} false; then :
7189    $as_echo_n "(cached) " >&6
7190   else
7191    if test -n "$NMEDIT"; then
# Line 6620 | Line 7197 | do
7197    IFS=$as_save_IFS
7198    test -z "$as_dir" && as_dir=.
7199      for ac_exec_ext in '' $ac_executable_extensions; do
7200 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7200 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7201      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7202      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7203      break 2
# Line 6648 | Line 7225 | if test -z "$ac_cv_prog_NMEDIT"; then
7225   set dummy nmedit; ac_word=$2
7226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227   $as_echo_n "checking for $ac_word... " >&6; }
7228 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7228 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7229    $as_echo_n "(cached) " >&6
7230   else
7231    if test -n "$ac_ct_NMEDIT"; then
# Line 6660 | Line 7237 | do
7237    IFS=$as_save_IFS
7238    test -z "$as_dir" && as_dir=.
7239      for ac_exec_ext in '' $ac_executable_extensions; do
7240 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7240 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7241      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7242      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7243      break 2
# Line 6700 | Line 7277 | fi
7277   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7279   $as_echo_n "checking for $ac_word... " >&6; }
7280 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7280 > if ${ac_cv_prog_LIPO+:} false; then :
7281    $as_echo_n "(cached) " >&6
7282   else
7283    if test -n "$LIPO"; then
# Line 6712 | Line 7289 | do
7289    IFS=$as_save_IFS
7290    test -z "$as_dir" && as_dir=.
7291      for ac_exec_ext in '' $ac_executable_extensions; do
7292 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7292 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7293      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7294      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7295      break 2
# Line 6740 | Line 7317 | if test -z "$ac_cv_prog_LIPO"; then
7317   set dummy lipo; ac_word=$2
7318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7319   $as_echo_n "checking for $ac_word... " >&6; }
7320 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7320 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7321    $as_echo_n "(cached) " >&6
7322   else
7323    if test -n "$ac_ct_LIPO"; then
# Line 6752 | Line 7329 | do
7329    IFS=$as_save_IFS
7330    test -z "$as_dir" && as_dir=.
7331      for ac_exec_ext in '' $ac_executable_extensions; do
7332 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7332 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7333      ac_cv_prog_ac_ct_LIPO="lipo"
7334      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7335      break 2
# Line 6792 | Line 7369 | fi
7369   set dummy ${ac_tool_prefix}otool; ac_word=$2
7370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371   $as_echo_n "checking for $ac_word... " >&6; }
7372 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7372 > if ${ac_cv_prog_OTOOL+:} false; then :
7373    $as_echo_n "(cached) " >&6
7374   else
7375    if test -n "$OTOOL"; then
# Line 6804 | Line 7381 | do
7381    IFS=$as_save_IFS
7382    test -z "$as_dir" && as_dir=.
7383      for ac_exec_ext in '' $ac_executable_extensions; do
7384 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7384 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7385      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7386      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7387      break 2
# Line 6832 | Line 7409 | if test -z "$ac_cv_prog_OTOOL"; then
7409   set dummy otool; ac_word=$2
7410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411   $as_echo_n "checking for $ac_word... " >&6; }
7412 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7412 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7413    $as_echo_n "(cached) " >&6
7414   else
7415    if test -n "$ac_ct_OTOOL"; then
# Line 6844 | Line 7421 | do
7421    IFS=$as_save_IFS
7422    test -z "$as_dir" && as_dir=.
7423      for ac_exec_ext in '' $ac_executable_extensions; do
7424 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7424 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7425      ac_cv_prog_ac_ct_OTOOL="otool"
7426      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7427      break 2
# Line 6884 | Line 7461 | fi
7461   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7463   $as_echo_n "checking for $ac_word... " >&6; }
7464 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7464 > if ${ac_cv_prog_OTOOL64+:} false; then :
7465    $as_echo_n "(cached) " >&6
7466   else
7467    if test -n "$OTOOL64"; then
# Line 6896 | Line 7473 | do
7473    IFS=$as_save_IFS
7474    test -z "$as_dir" && as_dir=.
7475      for ac_exec_ext in '' $ac_executable_extensions; do
7476 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7476 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7477      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7478      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7479      break 2
# Line 6924 | Line 7501 | if test -z "$ac_cv_prog_OTOOL64"; then
7501   set dummy otool64; ac_word=$2
7502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7503   $as_echo_n "checking for $ac_word... " >&6; }
7504 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7504 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7505    $as_echo_n "(cached) " >&6
7506   else
7507    if test -n "$ac_ct_OTOOL64"; then
# Line 6936 | Line 7513 | do
7513    IFS=$as_save_IFS
7514    test -z "$as_dir" && as_dir=.
7515      for ac_exec_ext in '' $ac_executable_extensions; do
7516 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7516 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7517      ac_cv_prog_ac_ct_OTOOL64="otool64"
7518      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7519      break 2
# Line 6999 | Line 7576 | fi
7576  
7577      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7578   $as_echo_n "checking for -single_module linker flag... " >&6; }
7579 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7579 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7580    $as_echo_n "(cached) " >&6
7581   else
7582    lt_cv_apple_cc_single_mod=no
# Line 7015 | Line 7592 | else
7592          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7593            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7594          _lt_result=$?
7595 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7595 >        # If there is a non-empty error log, and "single_module"
7596 >        # appears in it, assume the flag caused a linker warning
7597 >        if test -s conftest.err && $GREP single_module conftest.err; then
7598 >          cat conftest.err >&5
7599 >        # Otherwise, if the output was created with a 0 exit code from
7600 >        # the compiler, it worked.
7601 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7602            lt_cv_apple_cc_single_mod=yes
7603          else
7604            cat conftest.err >&5
# Line 7026 | Line 7609 | else
7609   fi
7610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7611   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7612 +
7613      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7614   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7615 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7615 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7616    $as_echo_n "(cached) " >&6
7617   else
7618    lt_cv_ld_exported_symbols_list=no
# Line 7058 | Line 7642 | rm -f core conftest.err conftest.$ac_obj
7642   fi
7643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7644   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7645 +
7646      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7647   $as_echo_n "checking for -force_load linker flag... " >&6; }
7648 < if test "${lt_cv_ld_force_load+set}" = set; then :
7648 > if ${lt_cv_ld_force_load+:} false; then :
7649    $as_echo_n "(cached) " >&6
7650   else
7651    lt_cv_ld_force_load=no
# Line 7079 | Line 7664 | _LT_EOF
7664        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7665        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7666        _lt_result=$?
7667 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7667 >      if test -s conftest.err && $GREP force_load conftest.err; then
7668 >        cat conftest.err >&5
7669 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7670          lt_cv_ld_force_load=yes
7671        else
7672          cat conftest.err >&5
# Line 7137 | Line 7724 | if test -n "$CPP" && test -d "$CPP"; the
7724    CPP=
7725   fi
7726   if test -z "$CPP"; then
7727 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7727 >  if ${ac_cv_prog_CPP+:} false; then :
7728    $as_echo_n "(cached) " >&6
7729   else
7730        # Double quotes because CPP needs to be expanded
# Line 7265 | Line 7852 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7852  
7853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7854   $as_echo_n "checking for ANSI C header files... " >&6; }
7855 < if test "${ac_cv_header_stdc+set}" = set; then :
7855 > if ${ac_cv_header_stdc+:} false; then :
7856    $as_echo_n "(cached) " >&6
7857   else
7858    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7396 | Line 7983 | for ac_header in dlfcn.h
7983   do :
7984    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7985   "
7986 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7986 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7987    cat >>confdefs.h <<_ACEOF
7988   #define HAVE_DLFCN_H 1
7989   _ACEOF
# Line 7482 | Line 8069 | fi
8069  
8070   # Check whether --with-pic was given.
8071   if test "${with_pic+set}" = set; then :
8072 <  withval=$with_pic; pic_mode="$withval"
8072 >  withval=$with_pic; lt_p=${PACKAGE-default}
8073 >    case $withval in
8074 >    yes|no) pic_mode=$withval ;;
8075 >    *)
8076 >      pic_mode=default
8077 >      # Look at the argument we got.  We use all the common list separators.
8078 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8079 >      for lt_pkg in $withval; do
8080 >        IFS="$lt_save_ifs"
8081 >        if test "X$lt_pkg" = "X$lt_p"; then
8082 >          pic_mode=yes
8083 >        fi
8084 >      done
8085 >      IFS="$lt_save_ifs"
8086 >      ;;
8087 >    esac
8088   else
8089    pic_mode=default
8090   fi
# Line 7560 | Line 8162 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8162  
8163  
8164  
8165 +
8166 +
8167 +
8168 +
8169   test -z "$LN_S" && LN_S="ln -s"
8170  
8171  
# Line 7581 | Line 8187 | fi
8187  
8188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8189   $as_echo_n "checking for objdir... " >&6; }
8190 < if test "${lt_cv_objdir+set}" = set; then :
8190 > if ${lt_cv_objdir+:} false; then :
8191    $as_echo_n "(cached) " >&6
8192   else
8193    rm -f .libs 2>/dev/null
# Line 7659 | Line 8265 | file_magic*)
8265    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8266      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8267   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8268 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8269    $as_echo_n "(cached) " >&6
8270   else
8271    case $MAGIC_CMD in
# Line 7725 | Line 8331 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8331    if test -n "$ac_tool_prefix"; then
8332      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8333   $as_echo_n "checking for file... " >&6; }
8334 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8335    $as_echo_n "(cached) " >&6
8336   else
8337    case $MAGIC_CMD in
# Line 7863 | Line 8469 | if test "$GCC" = yes; then
8469  
8470    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8471   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8472 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8472 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8473    $as_echo_n "(cached) " >&6
8474   else
8475    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7916 | Line 8522 | fi
8522   lt_prog_compiler_pic=
8523   lt_prog_compiler_static=
8524  
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; }
8525  
8526    if test "$GCC" = yes; then
8527      lt_prog_compiler_wl='-Wl,'
# Line 8017 | Line 8621 | $as_echo_n "checking for $compiler optio
8621      case $cc_basename in
8622      nvcc*) # Cuda Compiler Driver 2.2
8623        lt_prog_compiler_wl='-Xlinker '
8624 <      lt_prog_compiler_pic='-Xcompiler -fPIC'
8624 >      if test -n "$lt_prog_compiler_pic"; then
8625 >        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8626 >      fi
8627        ;;
8628      esac
8629    else
# Line 8082 | Line 8688 | $as_echo_n "checking for $compiler optio
8688          lt_prog_compiler_pic='--shared'
8689          lt_prog_compiler_static='--static'
8690          ;;
8691 +      nagfor*)
8692 +        # NAG Fortran compiler
8693 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8694 +        lt_prog_compiler_pic='-PIC'
8695 +        lt_prog_compiler_static='-Bstatic'
8696 +        ;;
8697        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8698          # Portland Group compilers (*not* the Pentium gcc compiler,
8699          # which looks to be a dead project)
# Line 8102 | Line 8714 | $as_echo_n "checking for $compiler optio
8714          ;;
8715        *)
8716          case `$CC -V 2>&1 | sed 5q` in
8717 <        *Sun\ F* | *Sun*Fortran*)
8717 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8718            # Sun Fortran 8.3 passes all unrecognized flags to the linker
8719            lt_prog_compiler_pic='-KPIC'
8720            lt_prog_compiler_static='-Bstatic'
8721            lt_prog_compiler_wl=''
8722            ;;
8723 +        *Sun\ F* | *Sun*Fortran*)
8724 +          lt_prog_compiler_pic='-KPIC'
8725 +          lt_prog_compiler_static='-Bstatic'
8726 +          lt_prog_compiler_wl='-Qoption ld '
8727 +          ;;
8728          *Sun\ C*)
8729            # Sun C 5.9
8730            lt_prog_compiler_pic='-KPIC'
8731            lt_prog_compiler_static='-Bstatic'
8732            lt_prog_compiler_wl='-Wl,'
8733            ;;
8734 +        *Intel*\ [CF]*Compiler*)
8735 +          lt_prog_compiler_wl='-Wl,'
8736 +          lt_prog_compiler_pic='-fPIC'
8737 +          lt_prog_compiler_static='-static'
8738 +          ;;
8739 +        *Portland\ Group*)
8740 +          lt_prog_compiler_wl='-Wl,'
8741 +          lt_prog_compiler_pic='-fpic'
8742 +          lt_prog_compiler_static='-Bstatic'
8743 +          ;;
8744          esac
8745          ;;
8746        esac
# Line 8201 | Line 8828 | case $host_os in
8828      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8829      ;;
8830   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
8831  
8832 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8833 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8834 + if ${lt_cv_prog_compiler_pic+:} false; then :
8835 +  $as_echo_n "(cached) " >&6
8836 + else
8837 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8838 + fi
8839 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8840 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8841 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8842  
8843   #
8844   # Check to make sure the PIC flag actually works.
# Line 8215 | Line 8846 | $as_echo "$lt_prog_compiler_pic" >&6; }
8846   if test -n "$lt_prog_compiler_pic"; then
8847    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8848   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8849 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8849 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8850    $as_echo_n "(cached) " >&6
8851   else
8852    lt_cv_prog_compiler_pic_works=no
# Line 8268 | Line 8899 | fi
8899  
8900  
8901  
8902 +
8903 +
8904 +
8905 +
8906 +
8907   #
8908   # Check to make sure the static flag actually works.
8909   #
8910   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8912   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8913 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8913 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8914    $as_echo_n "(cached) " >&6
8915   else
8916    lt_cv_prog_compiler_static_works=no
# Line 8317 | Line 8953 | fi
8953  
8954    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8955   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8956 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8956 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8957    $as_echo_n "(cached) " >&6
8958   else
8959    lt_cv_prog_compiler_c_o=no
# Line 8372 | Line 9008 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9008  
9009    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9010   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9011 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9011 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9012    $as_echo_n "(cached) " >&6
9013   else
9014    lt_cv_prog_compiler_c_o=no
# Line 8466 | Line 9102 | $as_echo_n "checking whether the $compil
9102    hardcode_direct=no
9103    hardcode_direct_absolute=no
9104    hardcode_libdir_flag_spec=
8469  hardcode_libdir_flag_spec_ld=
9105    hardcode_libdir_separator=
9106    hardcode_minus_L=no
9107    hardcode_shlibpath_var=unsupported
# Line 8618 | Line 9253 | _LT_EOF
9253        allow_undefined_flag=unsupported
9254        always_export_symbols=no
9255        enable_shared_with_static_runtimes=yes
9256 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9256 >      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'
9257 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9258  
9259        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9260          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 9302 | _LT_EOF
9302        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9303           && test "$tmp_diet" = no
9304        then
9305 <        tmp_addflag=
9305 >        tmp_addflag=' $pic_flag'
9306          tmp_sharedflag='-shared'
9307          case $cc_basename,$host_cpu in
9308          pgcc*)                          # Portland Group C compiler
# Line 8715 | Line 9351 | _LT_EOF
9351          xlf* | bgf* | bgxlf* | mpixlf*)
9352            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9353            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9354 <          hardcode_libdir_flag_spec=
8719 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9354 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9355            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9356            if test "x$supports_anon_versioning" = xyes; then
9357              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
# Line 8736 | Line 9371 | _LT_EOF
9371          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9372          wlarc=
9373        else
9374 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9375 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9374 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9375 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9376        fi
9377        ;;
9378  
# Line 8755 | Line 9390 | _LT_EOF
9390  
9391   _LT_EOF
9392        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9393 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9394 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9393 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9394 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9395        else
9396          ld_shlibs=no
9397        fi
# Line 8802 | Line 9437 | _LT_EOF
9437  
9438      *)
9439        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9440 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9441 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9440 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9441 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9442        else
9443          ld_shlibs=no
9444        fi
# Line 8933 | Line 9568 | _LT_EOF
9568          allow_undefined_flag='-berok'
9569          # Determine the default libpath from the value encoded in an
9570          # empty executable.
9571 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 >        if test "${lt_cv_aix_libpath+set}" = set; then
9572 >  aix_libpath=$lt_cv_aix_libpath
9573 > else
9574 >  if ${lt_cv_aix_libpath_+:} false; then :
9575 >  $as_echo_n "(cached) " >&6
9576 > else
9577 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9578   /* end confdefs.h.  */
9579  
9580   int
# Line 8946 | Line 9587 | main ()
9587   _ACEOF
9588   if ac_fn_c_try_link "$LINENO"; then :
9589  
9590 < lt_aix_libpath_sed='
9591 <    /Import File Strings/,/^$/ {
9592 <        /^0/ {
9593 <            s/^0  *\(.*\)$/\1/
9594 <            p
9595 <        }
9596 <    }'
9597 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9598 < # Check for a 64-bit object if we didn't find anything.
9599 < if test -z "$aix_libpath"; then
9600 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9601 < fi
9590 >  lt_aix_libpath_sed='
9591 >      /Import File Strings/,/^$/ {
9592 >          /^0/ {
9593 >              s/^0  *\([^ ]*\) *$/\1/
9594 >              p
9595 >          }
9596 >      }'
9597 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9598 >  # Check for a 64-bit object if we didn't find anything.
9599 >  if test -z "$lt_cv_aix_libpath_"; then
9600 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9601 >  fi
9602   fi
9603   rm -f core conftest.err conftest.$ac_objext \
9604      conftest$ac_exeext conftest.$ac_ext
9605 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9605 >  if test -z "$lt_cv_aix_libpath_"; then
9606 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9607 >  fi
9608 >
9609 > fi
9610 >
9611 >  aix_libpath=$lt_cv_aix_libpath_
9612 > fi
9613  
9614          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9615          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 9621 | if test -z "$aix_libpath"; then aix_libp
9621          else
9622           # Determine the default libpath from the value encoded in an
9623           # empty executable.
9624 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9624 >         if test "${lt_cv_aix_libpath+set}" = set; then
9625 >  aix_libpath=$lt_cv_aix_libpath
9626 > else
9627 >  if ${lt_cv_aix_libpath_+:} false; then :
9628 >  $as_echo_n "(cached) " >&6
9629 > else
9630 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631   /* end confdefs.h.  */
9632  
9633   int
# Line 8986 | Line 9640 | main ()
9640   _ACEOF
9641   if ac_fn_c_try_link "$LINENO"; then :
9642  
9643 < lt_aix_libpath_sed='
9644 <    /Import File Strings/,/^$/ {
9645 <        /^0/ {
9646 <            s/^0  *\(.*\)$/\1/
9647 <            p
9648 <        }
9649 <    }'
9650 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9651 < # Check for a 64-bit object if we didn't find anything.
9652 < if test -z "$aix_libpath"; then
9653 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 < fi
9643 >  lt_aix_libpath_sed='
9644 >      /Import File Strings/,/^$/ {
9645 >          /^0/ {
9646 >              s/^0  *\([^ ]*\) *$/\1/
9647 >              p
9648 >          }
9649 >      }'
9650 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9651 >  # Check for a 64-bit object if we didn't find anything.
9652 >  if test -z "$lt_cv_aix_libpath_"; then
9653 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 >  fi
9655   fi
9656   rm -f core conftest.err conftest.$ac_objext \
9657      conftest$ac_exeext conftest.$ac_ext
9658 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9658 >  if test -z "$lt_cv_aix_libpath_"; then
9659 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9660 >  fi
9661 >
9662 > fi
9663 >
9664 >  aix_libpath=$lt_cv_aix_libpath_
9665 > fi
9666  
9667           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9668            # Warning - without using the other run time loading flags,
# Line 9046 | Line 9707 | if test -z "$aix_libpath"; then aix_libp
9707        # Microsoft Visual C++.
9708        # hardcode_libdir_flag_spec is actually meaningless, as there is
9709        # no search path for DLLs.
9710 <      hardcode_libdir_flag_spec=' '
9711 <      allow_undefined_flag=unsupported
9712 <      # Tell ltmain to make .lib files, not .a files.
9713 <      libext=lib
9714 <      # Tell ltmain to make .dll files, not .so files.
9715 <      shrext_cmds=".dll"
9716 <      # FIXME: Setting linknames here is a bad hack.
9717 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9718 <      # The linker will automatically build a .lib file if we build a DLL.
9719 <      old_archive_from_new_cmds='true'
9720 <      # FIXME: Should let the user specify the lib program.
9721 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9722 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9723 <      enable_shared_with_static_runtimes=yes
9710 >      case $cc_basename in
9711 >      cl*)
9712 >        # Native MSVC
9713 >        hardcode_libdir_flag_spec=' '
9714 >        allow_undefined_flag=unsupported
9715 >        always_export_symbols=yes
9716 >        file_list_spec='@'
9717 >        # Tell ltmain to make .lib files, not .a files.
9718 >        libext=lib
9719 >        # Tell ltmain to make .dll files, not .so files.
9720 >        shrext_cmds=".dll"
9721 >        # FIXME: Setting linknames here is a bad hack.
9722 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9723 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9724 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9725 >          else
9726 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9727 >          fi~
9728 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9729 >          linknames='
9730 >        # The linker will not automatically build a static lib if we build a DLL.
9731 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9732 >        enable_shared_with_static_runtimes=yes
9733 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9734 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9735 >        # Don't use ranlib
9736 >        old_postinstall_cmds='chmod 644 $oldlib'
9737 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9738 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9739 >          case $lt_outputfile in
9740 >            *.exe|*.EXE) ;;
9741 >            *)
9742 >              lt_outputfile="$lt_outputfile.exe"
9743 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9744 >              ;;
9745 >          esac~
9746 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9747 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9748 >            $RM "$lt_outputfile.manifest";
9749 >          fi'
9750 >        ;;
9751 >      *)
9752 >        # Assume MSVC wrapper
9753 >        hardcode_libdir_flag_spec=' '
9754 >        allow_undefined_flag=unsupported
9755 >        # Tell ltmain to make .lib files, not .a files.
9756 >        libext=lib
9757 >        # Tell ltmain to make .dll files, not .so files.
9758 >        shrext_cmds=".dll"
9759 >        # FIXME: Setting linknames here is a bad hack.
9760 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9761 >        # The linker will automatically build a .lib file if we build a DLL.
9762 >        old_archive_from_new_cmds='true'
9763 >        # FIXME: Should let the user specify the lib program.
9764 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9765 >        enable_shared_with_static_runtimes=yes
9766 >        ;;
9767 >      esac
9768        ;;
9769  
9770      darwin* | rhapsody*)
# Line 9071 | Line 9776 | if test -z "$aix_libpath"; then aix_libp
9776    hardcode_shlibpath_var=unsupported
9777    if test "$lt_cv_ld_force_load" = "yes"; then
9778      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\"`'
9779 +
9780    else
9781      whole_archive_flag_spec=''
9782    fi
# Line 9099 | Line 9805 | if test -z "$aix_libpath"; then aix_libp
9805        hardcode_shlibpath_var=no
9806        ;;
9807  
9102    freebsd1*)
9103      ld_shlibs=no
9104      ;;
9105
9808      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9809      # support.  Future versions do this automatically, but an explicit c++rt0.o
9810      # does not break anything, and helps significantly (at the cost of a little
# Line 9115 | Line 9817 | if test -z "$aix_libpath"; then aix_libp
9817        ;;
9818  
9819      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9820 <    freebsd2*)
9820 >    freebsd2.*)
9821        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9822        hardcode_direct=yes
9823        hardcode_minus_L=yes
# Line 9124 | Line 9826 | if test -z "$aix_libpath"; then aix_libp
9826  
9827      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9828      freebsd* | dragonfly*)
9829 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9829 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9830        hardcode_libdir_flag_spec='-R$libdir'
9831        hardcode_direct=yes
9832        hardcode_shlibpath_var=no
# Line 9132 | Line 9834 | if test -z "$aix_libpath"; then aix_libp
9834  
9835      hpux9*)
9836        if test "$GCC" = yes; then
9837 <        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'
9837 >        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'
9838        else
9839          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'
9840        fi
# Line 9148 | Line 9850 | if test -z "$aix_libpath"; then aix_libp
9850  
9851      hpux10*)
9852        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9853 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9853 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9854        else
9855          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9856        fi
9857        if test "$with_gnu_ld" = no; then
9858          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9157        hardcode_libdir_flag_spec_ld='+b $libdir'
9859          hardcode_libdir_separator=:
9860          hardcode_direct=yes
9861          hardcode_direct_absolute=yes
# Line 9172 | Line 9873 | if test -z "$aix_libpath"; then aix_libp
9873            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9874            ;;
9875          ia64*)
9876 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9876 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9877            ;;
9878          *)
9879 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9879 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9880            ;;
9881          esac
9882        else
# Line 9192 | Line 9893 | if test -z "$aix_libpath"; then aix_libp
9893            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9894            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9895   $as_echo_n "checking if $CC understands -b... " >&6; }
9896 < if test "${lt_cv_prog_compiler__b+set}" = set; then :
9896 > if ${lt_cv_prog_compiler__b+:} false; then :
9897    $as_echo_n "(cached) " >&6
9898   else
9899    lt_cv_prog_compiler__b=no
# Line 9254 | Line 9955 | fi
9955  
9956      irix5* | irix6* | nonstopux*)
9957        if test "$GCC" = yes; then
9958 <        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'
9958 >        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'
9959          # Try to use the -exported_symbol ld option, if it does not
9960          # work, assume that -exports_file does not work either and
9961          # implicitly export all symbols.
9962 <        save_LDFLAGS="$LDFLAGS"
9963 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9964 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 >        # This should be the same for all languages, so no per-tag cache variable.
9963 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9964 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9965 > if ${lt_cv_irix_exported_symbol+:} false; then :
9966 >  $as_echo_n "(cached) " >&6
9967 > else
9968 >  save_LDFLAGS="$LDFLAGS"
9969 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9970 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971   /* end confdefs.h.  */
9972 < int foo(void) {}
9972 > int foo (void) { return 0; }
9973   _ACEOF
9974   if ac_fn_c_try_link "$LINENO"; then :
9975 <  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'
9976 <
9975 >  lt_cv_irix_exported_symbol=yes
9976 > else
9977 >  lt_cv_irix_exported_symbol=no
9978   fi
9979   rm -f core conftest.err conftest.$ac_objext \
9980      conftest$ac_exeext conftest.$ac_ext
9981 <        LDFLAGS="$save_LDFLAGS"
9981 >           LDFLAGS="$save_LDFLAGS"
9982 > fi
9983 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9984 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9985 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9986 >          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'
9987 >        fi
9988        else
9989          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'
9990          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 10069 | rm -f core conftest.err conftest.$ac_obj
10069      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10070        if test "$GCC" = yes; then
10071          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10072 <        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'
10072 >        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'
10073          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10074        else
10075          allow_undefined_flag=' -expect_unresolved \*'
# Line 9374 | Line 10088 | rm -f core conftest.err conftest.$ac_obj
10088        no_undefined_flag=' -z defs'
10089        if test "$GCC" = yes; then
10090          wlarc='${wl}'
10091 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10092          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10093 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10093 >          $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'
10094        else
10095          case `$CC -V 2>&1` in
10096          *"Compilers 5.0"*)
# Line 9564 | Line 10278 | x|xyes)
10278        # to ld, don't add -lc before -lgcc.
10279        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10280   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10281 < if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10281 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10282    $as_echo_n "(cached) " >&6
10283   else
10284    $RM conftest*
# Line 9765 | Line 10479 | esac
10479  
10480  
10481  
9768
9769
9770
9771
9772
10482    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10483   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10484  
# Line 9859 | Line 10568 | need_version=unknown
10568  
10569   case $host_os in
10570   aix3*)
10571 <  version_type=linux
10571 >  version_type=linux # correct to gnu/linux during the next big refactor
10572    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10573    shlibpath_var=LIBPATH
10574  
# Line 9868 | Line 10577 | aix3*)
10577    ;;
10578  
10579   aix[4-9]*)
10580 <  version_type=linux
10580 >  version_type=linux # correct to gnu/linux during the next big refactor
10581    need_lib_prefix=no
10582    need_version=no
10583    hardcode_into_libs=yes
# Line 9933 | Line 10642 | beos*)
10642    ;;
10643  
10644   bsdi[45]*)
10645 <  version_type=linux
10645 >  version_type=linux # correct to gnu/linux during the next big refactor
10646    need_version=no
10647    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9952 | Line 10661 | cygwin* | mingw* | pw32* | cegcc*)
10661    need_version=no
10662    need_lib_prefix=no
10663  
10664 <  case $GCC,$host_os in
10665 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10664 >  case $GCC,$cc_basename in
10665 >  yes,*)
10666 >    # gcc
10667      library_names_spec='$libname.dll.a'
10668      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10669      postinstall_cmds='base_file=`basename \${file}`~
# Line 9986 | Line 10696 | cygwin* | mingw* | pw32* | cegcc*)
10696        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10697        ;;
10698      esac
10699 +    dynamic_linker='Win32 ld.exe'
10700 +    ;;
10701 +
10702 +  *,cl*)
10703 +    # Native MSVC
10704 +    libname_spec='$name'
10705 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10706 +    library_names_spec='${libname}.dll.lib'
10707 +
10708 +    case $build_os in
10709 +    mingw*)
10710 +      sys_lib_search_path_spec=
10711 +      lt_save_ifs=$IFS
10712 +      IFS=';'
10713 +      for lt_path in $LIB
10714 +      do
10715 +        IFS=$lt_save_ifs
10716 +        # Let DOS variable expansion print the short 8.3 style file name.
10717 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10718 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10719 +      done
10720 +      IFS=$lt_save_ifs
10721 +      # Convert to MSYS style.
10722 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10723 +      ;;
10724 +    cygwin*)
10725 +      # Convert to unix form, then to dos form, then back to unix form
10726 +      # but this time dos style (no spaces!) so that the unix form looks
10727 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10728 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10729 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10730 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10731 +      ;;
10732 +    *)
10733 +      sys_lib_search_path_spec="$LIB"
10734 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10735 +        # It is most probably a Windows format PATH.
10736 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10737 +      else
10738 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10739 +      fi
10740 +      # FIXME: find the short name or the path components, as spaces are
10741 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10742 +      ;;
10743 +    esac
10744 +
10745 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10746 +    postinstall_cmds='base_file=`basename \${file}`~
10747 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10748 +      dldir=$destdir/`dirname \$dlpath`~
10749 +      test -d \$dldir || mkdir -p \$dldir~
10750 +      $install_prog $dir/$dlname \$dldir/$dlname'
10751 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10752 +      dlpath=$dir/\$dldll~
10753 +       $RM \$dlpath'
10754 +    shlibpath_overrides_runpath=yes
10755 +    dynamic_linker='Win32 link.exe'
10756      ;;
10757  
10758    *)
10759 +    # Assume MSVC wrapper
10760      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10761 +    dynamic_linker='Win32 ld.exe'
10762      ;;
10763    esac
9995  dynamic_linker='Win32 ld.exe'
10764    # FIXME: first we should search . and the directory the executable is in
10765    shlibpath_var=PATH
10766    ;;
# Line 10013 | Line 10781 | darwin* | rhapsody*)
10781    ;;
10782  
10783   dgux*)
10784 <  version_type=linux
10784 >  version_type=linux # correct to gnu/linux during the next big refactor
10785    need_lib_prefix=no
10786    need_version=no
10787    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10021 | Line 10789 | dgux*)
10789    shlibpath_var=LD_LIBRARY_PATH
10790    ;;
10791  
10024 freebsd1*)
10025  dynamic_linker=no
10026  ;;
10027
10792   freebsd* | dragonfly*)
10793    # DragonFly does not have aout.  When/if they implement a new
10794    # versioning mechanism, adjust this.
# Line 10032 | Line 10796 | freebsd* | dragonfly*)
10796      objformat=`/usr/bin/objformat`
10797    else
10798      case $host_os in
10799 <    freebsd[123]*) objformat=aout ;;
10799 >    freebsd[23].*) objformat=aout ;;
10800      *) objformat=elf ;;
10801      esac
10802    fi
# Line 10050 | Line 10814 | freebsd* | dragonfly*)
10814    esac
10815    shlibpath_var=LD_LIBRARY_PATH
10816    case $host_os in
10817 <  freebsd2*)
10817 >  freebsd2.*)
10818      shlibpath_overrides_runpath=yes
10819      ;;
10820    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10070 | Line 10834 | freebsd* | dragonfly*)
10834    ;;
10835  
10836   gnu*)
10837 <  version_type=linux
10837 >  version_type=linux # correct to gnu/linux during the next big refactor
10838    need_lib_prefix=no
10839    need_version=no
10840    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10841    soname_spec='${libname}${release}${shared_ext}$major'
10842    shlibpath_var=LD_LIBRARY_PATH
10843 +  shlibpath_overrides_runpath=no
10844    hardcode_into_libs=yes
10845    ;;
10846  
10847   haiku*)
10848 <  version_type=linux
10848 >  version_type=linux # correct to gnu/linux during the next big refactor
10849    need_lib_prefix=no
10850    need_version=no
10851    dynamic_linker="$host_os runtime_loader"
# Line 10141 | Line 10906 | hpux9* | hpux10* | hpux11*)
10906    ;;
10907  
10908   interix[3-9]*)
10909 <  version_type=linux
10909 >  version_type=linux # correct to gnu/linux during the next big refactor
10910    need_lib_prefix=no
10911    need_version=no
10912    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10157 | Line 10922 | irix5* | irix6* | nonstopux*)
10922      nonstopux*) version_type=nonstopux ;;
10923      *)
10924          if test "$lt_cv_prog_gnu_ld" = yes; then
10925 <                version_type=linux
10925 >                version_type=linux # correct to gnu/linux during the next big refactor
10926          else
10927                  version_type=irix
10928          fi ;;
# Line 10194 | Line 10959 | linux*oldld* | linux*aout* | linux*coff*
10959    dynamic_linker=no
10960    ;;
10961  
10962 < # This must be Linux ELF.
10962 > # This must be glibc/ELF.
10963   linux* | k*bsd*-gnu | kopensolaris*-gnu)
10964 <  version_type=linux
10964 >  version_type=linux # correct to gnu/linux during the next big refactor
10965    need_lib_prefix=no
10966    need_version=no
10967    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10206 | Line 10971 | linux* | k*bsd*-gnu | kopensolaris*-gnu)
10971    shlibpath_overrides_runpath=no
10972  
10973    # Some binutils ld are patched to set DT_RUNPATH
10974 <  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10974 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10975    $as_echo_n "(cached) " >&6
10976   else
10977    lt_cv_shlibpath_overrides_runpath=no
# Line 10278 | Line 11043 | netbsd*)
11043    ;;
11044  
11045   newsos6)
11046 <  version_type=linux
11046 >  version_type=linux # correct to gnu/linux during the next big refactor
11047    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048    shlibpath_var=LD_LIBRARY_PATH
11049    shlibpath_overrides_runpath=yes
# Line 10347 | Line 11112 | rdos*)
11112    ;;
11113  
11114   solaris*)
11115 <  version_type=linux
11115 >  version_type=linux # correct to gnu/linux during the next big refactor
11116    need_lib_prefix=no
11117    need_version=no
11118    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10372 | Line 11137 | sunos4*)
11137    ;;
11138  
11139   sysv4 | sysv4.3*)
11140 <  version_type=linux
11140 >  version_type=linux # correct to gnu/linux during the next big refactor
11141    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142    soname_spec='${libname}${release}${shared_ext}$major'
11143    shlibpath_var=LD_LIBRARY_PATH
# Line 10396 | Line 11161 | sysv4 | sysv4.3*)
11161  
11162   sysv4*MP*)
11163    if test -d /usr/nec ;then
11164 <    version_type=linux
11164 >    version_type=linux # correct to gnu/linux during the next big refactor
11165      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11166      soname_spec='$libname${shared_ext}.$major'
11167      shlibpath_var=LD_LIBRARY_PATH
# Line 10427 | Line 11192 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11192  
11193   tpf*)
11194    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11195 <  version_type=linux
11195 >  version_type=linux # correct to gnu/linux during the next big refactor
11196    need_lib_prefix=no
11197    need_version=no
11198    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10437 | Line 11202 | tpf*)
11202    ;;
11203  
11204   uts4*)
11205 <  version_type=linux
11205 >  version_type=linux # correct to gnu/linux during the next big refactor
11206    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11207    soname_spec='${libname}${release}${shared_ext}$major'
11208    shlibpath_var=LD_LIBRARY_PATH
# Line 10626 | Line 11391 | else
11391    # if libdl is installed we need to link against it
11392      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11393   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11394 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11394 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11395    $as_echo_n "(cached) " >&6
11396   else
11397    ac_check_lib_save_LIBS=$LIBS
# Line 10660 | Line 11425 | LIBS=$ac_check_lib_save_LIBS
11425   fi
11426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11427   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11428 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11428 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11429    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11430   else
11431  
# Line 10674 | Line 11439 | fi
11439  
11440    *)
11441      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11442 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11442 > if test "x$ac_cv_func_shl_load" = xyes; then :
11443    lt_cv_dlopen="shl_load"
11444   else
11445    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11446   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11447 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11447 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11448    $as_echo_n "(cached) " >&6
11449   else
11450    ac_check_lib_save_LIBS=$LIBS
# Line 10713 | Line 11478 | LIBS=$ac_check_lib_save_LIBS
11478   fi
11479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11480   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11481 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11481 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11482    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11483   else
11484    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11485 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11485 > if test "x$ac_cv_func_dlopen" = xyes; then :
11486    lt_cv_dlopen="dlopen"
11487   else
11488    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11489   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11490 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11490 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11491    $as_echo_n "(cached) " >&6
11492   else
11493    ac_check_lib_save_LIBS=$LIBS
# Line 10756 | Line 11521 | LIBS=$ac_check_lib_save_LIBS
11521   fi
11522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11523   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11524 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11524 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11525    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11526   else
11527    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11528   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11529 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11529 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11530    $as_echo_n "(cached) " >&6
11531   else
11532    ac_check_lib_save_LIBS=$LIBS
# Line 10795 | Line 11560 | LIBS=$ac_check_lib_save_LIBS
11560   fi
11561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11562   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11563 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11563 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11564    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11565   else
11566    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11567   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11568 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11568 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11569    $as_echo_n "(cached) " >&6
11570   else
11571    ac_check_lib_save_LIBS=$LIBS
# Line 10834 | Line 11599 | LIBS=$ac_check_lib_save_LIBS
11599   fi
11600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11601   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11602 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11602 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11603    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11604   fi
11605  
# Line 10875 | Line 11640 | fi
11640  
11641      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11642   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11643 < if test "${lt_cv_dlopen_self+set}" = set; then :
11643 > if ${lt_cv_dlopen_self+:} false; then :
11644    $as_echo_n "(cached) " >&6
11645   else
11646            if test "$cross_compiling" = yes; then :
# Line 10928 | Line 11693 | else
11693   /* When -fvisbility=hidden is used, assume the code has been annotated
11694     correspondingly for the symbols needed.  */
11695   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11696 < void fnord () __attribute__((visibility("default")));
11696 > int fnord () __attribute__((visibility("default")));
11697   #endif
11698  
11699 < void fnord () { int i=42; }
11699 > int fnord () { return 42; }
11700   int main ()
11701   {
11702    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10981 | Line 11746 | $as_echo "$lt_cv_dlopen_self" >&6; }
11746        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11747        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11748   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11749 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11749 > if ${lt_cv_dlopen_self_static+:} false; then :
11750    $as_echo_n "(cached) " >&6
11751   else
11752            if test "$cross_compiling" = yes; then :
# Line 11034 | Line 11799 | else
11799   /* When -fvisbility=hidden is used, assume the code has been annotated
11800     correspondingly for the symbols needed.  */
11801   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11802 < void fnord () __attribute__((visibility("default")));
11802 > int fnord () __attribute__((visibility("default")));
11803   #endif
11804  
11805 < void fnord () { int i=42; }
11805 > int fnord () { return 42; }
11806   int main ()
11807   {
11808    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11219 | Line 11984 | CC="$lt_save_CC"
11984  
11985  
11986  
11987 +
11988 +
11989          ac_config_commands="$ac_config_commands libtool"
11990  
11991  
# Line 11229 | Line 11996 | CC="$lt_save_CC"
11996  
11997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11998   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11999 < if test "${libltdl_cv_shlibext+set}" = set; then :
11999 > if ${libltdl_cv_shlibext+:} false; then :
12000    $as_echo_n "(cached) " >&6
12001   else
12002  
12003   module=yes
12004   eval libltdl_cv_shlibext=$shrext_cmds
12005 + module=no
12006 + eval libltdl_cv_shrext=$shrext_cmds
12007  
12008   fi
12009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11246 | Line 12015 | cat >>confdefs.h <<_ACEOF
12015   _ACEOF
12016  
12017   fi
12018 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12019 +
12020 + cat >>confdefs.h <<_ACEOF
12021 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12022 + _ACEOF
12023 +
12024 + fi
12025  
12026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12027   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12028 < if test "${lt_cv_module_path_var+set}" = set; then :
12028 > if ${lt_cv_module_path_var+:} false; then :
12029    $as_echo_n "(cached) " >&6
12030   else
12031    lt_cv_module_path_var="$shlibpath_var"
# Line 11266 | Line 12042 | fi
12042  
12043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12044   $as_echo_n "checking for the default library search path... " >&6; }
12045 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12045 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12046    $as_echo_n "(cached) " >&6
12047   else
12048    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11303 | Line 12079 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12079   LIBADD_DLOPEN=
12080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12081   $as_echo_n "checking for library containing dlopen... " >&6; }
12082 < if test "${ac_cv_search_dlopen+set}" = set; then :
12082 > if ${ac_cv_search_dlopen+:} false; then :
12083    $as_echo_n "(cached) " >&6
12084   else
12085    ac_func_search_save_LIBS=$LIBS
# Line 11337 | Line 12113 | for ac_lib in '' dl; do
12113   fi
12114   rm -f core conftest.err conftest.$ac_objext \
12115      conftest$ac_exeext
12116 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12116 >  if ${ac_cv_search_dlopen+:} false; then :
12117    break
12118   fi
12119   done
12120 < if test "${ac_cv_search_dlopen+set}" = set; then :
12120 > if ${ac_cv_search_dlopen+:} false; then :
12121  
12122   else
12123    ac_cv_search_dlopen=no
# Line 11386 | Line 12162 | $as_echo "#define HAVE_LIBDL 1" >>confde
12162   else
12163    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12164   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12165 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12165 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12166    $as_echo_n "(cached) " >&6
12167   else
12168    ac_check_lib_save_LIBS=$LIBS
# Line 11420 | Line 12196 | LIBS=$ac_check_lib_save_LIBS
12196   fi
12197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12198   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12199 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12199 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12200  
12201   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12202  
# Line 11440 | Line 12216 | then
12216    for ac_func in dlerror
12217   do :
12218    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12219 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12219 > if test "x$ac_cv_func_dlerror" = xyes; then :
12220    cat >>confdefs.h <<_ACEOF
12221   #define HAVE_DLERROR 1
12222   _ACEOF
# Line 11454 | Line 12230 | fi
12230  
12231   LIBADD_SHL_LOAD=
12232   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12233 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12233 > if test "x$ac_cv_func_shl_load" = xyes; then :
12234  
12235   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12236  
# Line 11462 | Line 12238 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12238   else
12239    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12240   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12241 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12241 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12242    $as_echo_n "(cached) " >&6
12243   else
12244    ac_check_lib_save_LIBS=$LIBS
# Line 11496 | Line 12272 | LIBS=$ac_check_lib_save_LIBS
12272   fi
12273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12274   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12275 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12275 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12276  
12277   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12278  
# Line 11512 | Line 12288 | case $host_os in
12288   darwin[1567].*)
12289   # We only want this for pre-Mac OS X 10.4.
12290    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12291 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12291 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12292  
12293   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12294  
# Line 11526 | Line 12302 | beos*)
12302   cygwin* | mingw* | os2* | pw32*)
12303    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12304   "
12305 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12305 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12306    ac_have_decl=1
12307   else
12308    ac_have_decl=0
# Line 11542 | Line 12318 | esac
12318  
12319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12320   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12321 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12321 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12322    $as_echo_n "(cached) " >&6
12323   else
12324    ac_check_lib_save_LIBS=$LIBS
# Line 11576 | Line 12352 | LIBS=$ac_check_lib_save_LIBS
12352   fi
12353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12354   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12355 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12355 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12356  
12357   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12358  
# Line 11610 | Line 12386 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12386  
12387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12388   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12389 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12389 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12390    $as_echo_n "(cached) " >&6
12391   else
12392    lt_cv_sys_symbol_underscore=no
# Line 11660 | Line 12436 | if test x"$lt_cv_sys_symbol_underscore"
12436       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12437          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12438   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12439 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12439 > if ${libltdl_cv_need_uscore+:} false; then :
12440    $as_echo_n "(cached) " >&6
12441   else
12442    libltdl_cv_need_uscore=unknown
# Line 11716 | Line 12492 | else
12492   /* When -fvisbility=hidden is used, assume the code has been annotated
12493     correspondingly for the symbols needed.  */
12494   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12495 < void fnord () __attribute__((visibility("default")));
12495 > int fnord () __attribute__((visibility("default")));
12496   #endif
12497  
12498 < void fnord () { int i=42; }
12498 > int fnord () { return 42; }
12499   int main ()
12500   {
12501    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11776 | Line 12552 | fi
12552  
12553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12554   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12555 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12555 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12556    $as_echo_n "(cached) " >&6
12557   else
12558    # PORTME does your system automatically load deplibs for dlopen?
# Line 11882 | Line 12658 | for ac_header in argz.h
12658   do :
12659    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12660   "
12661 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12661 > if test "x$ac_cv_header_argz_h" = xyes; then :
12662    cat >>confdefs.h <<_ACEOF
12663   #define HAVE_ARGZ_H 1
12664   _ACEOF
# Line 11896 | Line 12672 | ac_fn_c_check_type "$LINENO" "error_t" "
12672   #  include <argz.h>
12673   #endif
12674   "
12675 < if test "x$ac_cv_type_error_t" = x""yes; then :
12675 > if test "x$ac_cv_type_error_t" = xyes; then :
12676  
12677   cat >>confdefs.h <<_ACEOF
12678   #define HAVE_ERROR_T 1
# Line 11936 | Line 12712 | done
12712   if test -z "$ARGZ_H"; then :
12713    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12714   $as_echo_n "checking if argz actually works... " >&6; }
12715 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12715 > if ${lt_cv_sys_argz_works+:} false; then :
12716    $as_echo_n "(cached) " >&6
12717   else
12718    case $host_os in #(
# Line 11967 | Line 12743 | else
12743   fi
12744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12745   $as_echo "$lt_cv_sys_argz_works" >&6; }
12746 <     if test $lt_cv_sys_argz_works = yes; then :
12746 >     if test "$lt_cv_sys_argz_works" = yes; then :
12747  
12748   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12749  
# Line 11984 | Line 12760 | fi
12760  
12761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12762   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12763 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12763 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12764    $as_echo_n "(cached) " >&6
12765   else
12766    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 12026 | Line 12802 | if test "x$with_included_ltdl" != xyes;
12802    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12803  
12804   "
12805 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12805 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12806    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12807              #include <ltdl.h>
12808   "
12809 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12809 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12810    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12811   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12812 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12812 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12813    $as_echo_n "(cached) " >&6
12814   else
12815    ac_check_lib_save_LIBS=$LIBS
# Line 12067 | Line 12843 | LIBS=$ac_check_lib_save_LIBS
12843   fi
12844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12845   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12846 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12846 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12847    with_included_ltdl=no
12848   else
12849    with_included_ltdl=yes
# Line 12267 | Line 13043 | cat >>confdefs.h <<_ACEOF
13043   _ACEOF
13044  
13045  
13046 + name=
13047 + eval "lt_libprefix=\"$libname_spec\""
13048 +
13049 + cat >>confdefs.h <<_ACEOF
13050 + #define LT_LIBPREFIX "$lt_libprefix"
13051 + _ACEOF
13052 +
13053 +
13054   name=ltdl
13055 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13055 > eval "LTDLOPEN=\"$libname_spec\""
13056  
13057  
13058  
# Line 12284 | Line 13068 | LIBTOOL="$LIBTOOL --silent"
13068  
13069   # Checks for libraries.
13070  
13071 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13072 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13073 +
13074 + else
13075 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13076 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13077 + if ${ac_cv_search_getaddrinfo+:} false; then :
13078 +  $as_echo_n "(cached) " >&6
13079 + else
13080 +  ac_func_search_save_LIBS=$LIBS
13081 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 + /* end confdefs.h.  */
13083 +
13084 + /* Override any GCC internal prototype to avoid an error.
13085 +   Use char because int might match the return type of a GCC
13086 +   builtin and then its argument prototype would still apply.  */
13087 + #ifdef __cplusplus
13088 + extern "C"
13089 + #endif
13090 + char getaddrinfo ();
13091 + int
13092 + main ()
13093 + {
13094 + return getaddrinfo ();
13095 +  ;
13096 +  return 0;
13097 + }
13098 + _ACEOF
13099 + for ac_lib in '' nsl; do
13100 +  if test -z "$ac_lib"; then
13101 +    ac_res="none required"
13102 +  else
13103 +    ac_res=-l$ac_lib
13104 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13105 +  fi
13106 +  if ac_fn_c_try_link "$LINENO"; then :
13107 +  ac_cv_search_getaddrinfo=$ac_res
13108 + fi
13109 + rm -f core conftest.err conftest.$ac_objext \
13110 +    conftest$ac_exeext
13111 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13112 +  break
13113 + fi
13114 + done
13115 + if ${ac_cv_search_getaddrinfo+:} false; then :
13116 +
13117 + else
13118 +  ac_cv_search_getaddrinfo=no
13119 + fi
13120 + rm conftest.$ac_ext
13121 + LIBS=$ac_func_search_save_LIBS
13122 + fi
13123 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13124 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13125 + ac_res=$ac_cv_search_getaddrinfo
13126 + if test "$ac_res" != no; then :
13127 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13128 +
13129 + fi
13130 +
13131 + fi
13132 +
13133 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13134 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13135 +
13136 + else
13137 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13138 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13139 + if ${ac_cv_search_getnameinfo+:} false; then :
13140 +  $as_echo_n "(cached) " >&6
13141 + else
13142 +  ac_func_search_save_LIBS=$LIBS
13143 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 + /* end confdefs.h.  */
13145 +
13146 + /* Override any GCC internal prototype to avoid an error.
13147 +   Use char because int might match the return type of a GCC
13148 +   builtin and then its argument prototype would still apply.  */
13149 + #ifdef __cplusplus
13150 + extern "C"
13151 + #endif
13152 + char getnameinfo ();
13153 + int
13154 + main ()
13155 + {
13156 + return getnameinfo ();
13157 +  ;
13158 +  return 0;
13159 + }
13160 + _ACEOF
13161 + for ac_lib in '' nsl; do
13162 +  if test -z "$ac_lib"; then
13163 +    ac_res="none required"
13164 +  else
13165 +    ac_res=-l$ac_lib
13166 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13167 +  fi
13168 +  if ac_fn_c_try_link "$LINENO"; then :
13169 +  ac_cv_search_getnameinfo=$ac_res
13170 + fi
13171 + rm -f core conftest.err conftest.$ac_objext \
13172 +    conftest$ac_exeext
13173 +  if ${ac_cv_search_getnameinfo+:} false; then :
13174 +  break
13175 + fi
13176 + done
13177 + if ${ac_cv_search_getnameinfo+:} false; then :
13178 +
13179 + else
13180 +  ac_cv_search_getnameinfo=no
13181 + fi
13182 + rm conftest.$ac_ext
13183 + LIBS=$ac_func_search_save_LIBS
13184 + fi
13185 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13186 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13187 + ac_res=$ac_cv_search_getnameinfo
13188 + if test "$ac_res" != no; then :
13189 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13190 +
13191 + fi
13192 +
13193 + fi
13194 +
13195    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13196   $as_echo_n "checking for library containing socket... " >&6; }
13197 < if test "${ac_cv_search_socket+set}" = set; then :
13197 > if ${ac_cv_search_socket+:} false; then :
13198    $as_echo_n "(cached) " >&6
13199   else
13200    ac_func_search_save_LIBS=$LIBS
# Line 12320 | Line 13228 | for ac_lib in '' socket; do
13228   fi
13229   rm -f core conftest.err conftest.$ac_objext \
13230      conftest$ac_exeext
13231 <  if test "${ac_cv_search_socket+set}" = set; then :
13231 >  if ${ac_cv_search_socket+:} false; then :
13232    break
13233   fi
13234   done
13235 < if test "${ac_cv_search_socket+set}" = set; then :
13235 > if ${ac_cv_search_socket+:} false; then :
13236  
13237   else
13238    ac_cv_search_socket=no
# Line 12342 | Line 13250 | else
13250    as_fn_error $? "socket library not found" "$LINENO" 5
13251   fi
13252  
12345  for ac_func in inet_aton inet_ntop inet_pton
12346 do :
12347  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12348 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12349 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12350  cat >>confdefs.h <<_ACEOF
12351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12352 _ACEOF
12353
12354 fi
12355 done
12356
13253    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13254     #include <sys/socket.h>
13255     #include <netdb.h>
13256  
13257   "
13258 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13258 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13259  
13260   cat >>confdefs.h <<_ACEOF
13261   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12372 | Line 13268 | ac_fn_c_check_type "$LINENO" "struct soc
13268     #include <netdb.h>
13269  
13270   "
13271 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13271 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13272  
13273   cat >>confdefs.h <<_ACEOF
13274   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12385 | Line 13281 | ac_fn_c_check_type "$LINENO" "struct add
13281     #include <netdb.h>
13282  
13283   "
13284 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13284 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13285  
13286   cat >>confdefs.h <<_ACEOF
13287   #define HAVE_STRUCT_ADDRINFO 1
# Line 12397 | Line 13293 | fi
13293    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13294    <sys/socket.h>
13295   "
13296 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13296 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13297  
13298   cat >>confdefs.h <<_ACEOF
13299   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12408 | Line 13304 | fi
13304  
13305  
13306  
13307 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13308 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13309 <
12414 < cat >>confdefs.h <<_ACEOF
12415 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12416 < _ACEOF
12417 <
12418 <
12419 < else
13307 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13308 > "
13309 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13310  
13311   $as_echo "#define IPV6 1" >>confdefs.h
13312  
# Line 12427 | Line 13317 | fi
13317   # Checks for typedefs, structures, and compiler characteristics.
13318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13319   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13320 < if test "${ac_cv_c_bigendian+set}" = set; then :
13320 > if ${ac_cv_c_bigendian+:} false; then :
13321    $as_echo_n "(cached) " >&6
13322   else
13323    ac_cv_c_bigendian=unknown
# Line 12712 | Line 13602 | done
13602  
13603  
13604  
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725 # check for /dev/null so we can use it to hold evil fd's
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12727 $as_echo_n "checking for /dev/null... " >&6; }
12728 if test -c /dev/null; then :
12729
12730
12731 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12732
12733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12734 $as_echo "yes" >&6; }
12735 else
12736
12737
12738 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12739
12740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12741 $as_echo "no - using devnull.log" >&6; }
12742 fi
12743
12744
13605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13606   $as_echo_n "checking for library containing crypt... " >&6; }
13607 < if test "${ac_cv_search_crypt+set}" = set; then :
13607 > if ${ac_cv_search_crypt+:} false; then :
13608    $as_echo_n "(cached) " >&6
13609   else
13610    ac_func_search_save_LIBS=$LIBS
# Line 12778 | Line 13638 | for ac_lib in '' crypt; do
13638   fi
13639   rm -f core conftest.err conftest.$ac_objext \
13640      conftest$ac_exeext
13641 <  if test "${ac_cv_search_crypt+set}" = set; then :
13641 >  if ${ac_cv_search_crypt+:} false; then :
13642    break
13643   fi
13644   done
13645 < if test "${ac_cv_search_crypt+set}" = set; then :
13645 > if ${ac_cv_search_crypt+:} false; then :
13646  
13647   else
13648    ac_cv_search_crypt=no
# Line 12799 | Line 13659 | if test "$ac_res" != no; then :
13659   fi
13660  
13661  
12802
12803
12804 # Check whether --with-zlib-path was given.
12805 if test "${with_zlib_path+set}" = set; then :
12806  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12807 fi
12808
12809
12810 # Check whether --enable-zlib was given.
12811 if test "${enable_zlib+set}" = set; then :
12812  enableval=$enable_zlib; zlib=$enableval
12813 else
12814  zlib=yes
12815 fi
12816
12817
12818 if test "$zlib" = "yes"; then :
12819
12820  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12821 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12823 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12824 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12825  $as_echo_n "(cached) " >&6
12826 else
12827  ac_check_lib_save_LIBS=$LIBS
12828 LIBS="-lz  $LIBS"
12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h.  */
12831
12832 /* Override any GCC internal prototype to avoid an error.
12833   Use char because int might match the return type of a GCC
12834   builtin and then its argument prototype would still apply.  */
12835 #ifdef __cplusplus
12836 extern "C"
12837 #endif
12838 char zlibVersion ();
12839 int
12840 main ()
12841 {
12842 return zlibVersion ();
12843  ;
12844  return 0;
12845 }
12846 _ACEOF
12847 if ac_fn_c_try_link "$LINENO"; then :
12848  ac_cv_lib_z_zlibVersion=yes
12849 else
12850  ac_cv_lib_z_zlibVersion=no
12851 fi
12852 rm -f core conftest.err conftest.$ac_objext \
12853    conftest$ac_exeext conftest.$ac_ext
12854 LIBS=$ac_check_lib_save_LIBS
12855 fi
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12857 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12858 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12859
12860      LIBS="-lz $LIBS"
12861
12862 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12863
12864
12865 else
12866  zlib=no
12867 fi
12868
12869
12870 else
12871  zlib=no
12872 fi
12873
12874
12875
12876 fi
12877
12878
12879 # Check whether --with-libpcre-path was given.
12880 if test "${with_libpcre_path+set}" = set; then :
12881  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12882 fi
12883
12884
13662   # Check whether --enable-libpcre was given.
13663   if test "${enable_libpcre+set}" = set; then :
13664 <  enableval=$enable_libpcre; libpcre=$enableval
13664 >  enableval=$enable_libpcre;
13665   else
12889  libpcre=yes
12890 fi
12891
12892
12893 if test "$libpcre" = "yes"; then :
12894
13666    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13667 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13668 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13669 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13670 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13667 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13668 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13669 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13670 > if ${ac_cv_search_pcre_study+:} false; then :
13671    $as_echo_n "(cached) " >&6
13672   else
13673 <  ac_check_lib_save_LIBS=$LIBS
12903 < LIBS="-lpcre  $LIBS"
13673 >  ac_func_search_save_LIBS=$LIBS
13674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13675   /* end confdefs.h.  */
13676  
# Line 12919 | Line 13689 | return pcre_study ();
13689    return 0;
13690   }
13691   _ACEOF
13692 < if ac_fn_c_try_link "$LINENO"; then :
13693 <  ac_cv_lib_pcre_pcre_study=yes
13694 < else
13695 <  ac_cv_lib_pcre_pcre_study=no
13692 > for ac_lib in '' pcre; do
13693 >  if test -z "$ac_lib"; then
13694 >    ac_res="none required"
13695 >  else
13696 >    ac_res=-l$ac_lib
13697 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13698 >  fi
13699 >  if ac_fn_c_try_link "$LINENO"; then :
13700 >  ac_cv_search_pcre_study=$ac_res
13701   fi
13702   rm -f core conftest.err conftest.$ac_objext \
13703 <    conftest$ac_exeext conftest.$ac_ext
13704 < LIBS=$ac_check_lib_save_LIBS
13703 >    conftest$ac_exeext
13704 >  if ${ac_cv_search_pcre_study+:} false; then :
13705 >  break
13706   fi
13707 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13708 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12933 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12934 <
12935 <      LIBS="-lpcre $LIBS"
12936 <
12937 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
12938 <
13707 > done
13708 > if ${ac_cv_search_pcre_study+:} false; then :
13709  
13710   else
13711 <  libpcre=no
13711 >  ac_cv_search_pcre_study=no
13712 > fi
13713 > rm conftest.$ac_ext
13714 > LIBS=$ac_func_search_save_LIBS
13715   fi
13716 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13717 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13718 + ac_res=$ac_cv_search_pcre_study
13719 + if test "$ac_res" != no; then :
13720 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13721  
13722 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13723  
12945 else
12946  libpcre=no
13724   fi
13725  
13726 + fi
13727  
13728  
13729   fi
12952 if test "$libpcre" = yes; then
12953  ENABLE_PCRE_TRUE=
12954  ENABLE_PCRE_FALSE='#'
12955 else
12956  ENABLE_PCRE_TRUE='#'
12957  ENABLE_PCRE_FALSE=
12958 fi
12959
13730  
13731  
13732   # Check whether --enable-openssl was given.
# Line 12998 | Line 13768 | if test "$cf_enable_openssl" != "no"; th
13768    fi
13769  
13770        if test ! -z "$cf_openssl_basedir"; then
13001    LIBS="-lcrypto -lssl $LIBS"
13771      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13772   $as_echo "$cf_openssl_basedir" >&6; }
13773      cf_enable_openssl="yes"
13005
13006 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13007
13774    else
13775      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13776   $as_echo "not found. Please check your path." >&6; }
# Line 13017 | Line 13783 | $as_echo "disabled" >&6; }
13783   fi
13784  
13785   if test "$cf_enable_openssl" != "no"; then :
13786 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13787 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13786 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13787 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13788    if test "$cross_compiling" = yes; then :
13789    cf_openssl_version_ok=no
13790   else
13791    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792   /* end confdefs.h.  */
13793  
13794 +
13795      #include <openssl/opensslv.h>
13796      #include <stdlib.h>
13797   int
13798   main ()
13799   {
13800 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13800 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13801    ;
13802    return 0;
13803   }
# Line 13051 | Line 13818 | $as_echo "found" >&6; }
13818  
13819      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13820   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13821 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13821 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13822    $as_echo_n "(cached) " >&6
13823   else
13824    ac_check_lib_save_LIBS=$LIBS
# Line 13085 | Line 13852 | LIBS=$ac_check_lib_save_LIBS
13852   fi
13853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13854   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13855 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13855 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13856    cat >>confdefs.h <<_ACEOF
13857   #define HAVE_LIBCRYPTO 1
13858   _ACEOF
# Line 13095 | Line 13862 | _ACEOF
13862   fi
13863  
13864      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13865 <  for ac_func in EVP_bf_cfb           \
13866 <                      EVP_cast5_cfb        \
13867 <                      EVP_idea_cfb         \
13868 <                      EVP_rc5_32_12_16_cfb \
13869 <                      EVP_des_ede3_cfb     \
13870 <                      EVP_des_cfb
13871 < do :
13872 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13873 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13874 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13865 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13866 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13867 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13868 >  $as_echo_n "(cached) " >&6
13869 > else
13870 >  ac_check_lib_save_LIBS=$LIBS
13871 > LIBS="-lssl  $LIBS"
13872 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13873 > /* end confdefs.h.  */
13874 >
13875 > /* Override any GCC internal prototype to avoid an error.
13876 >   Use char because int might match the return type of a GCC
13877 >   builtin and then its argument prototype would still apply.  */
13878 > #ifdef __cplusplus
13879 > extern "C"
13880 > #endif
13881 > char SSL_connect ();
13882 > int
13883 > main ()
13884 > {
13885 > return SSL_connect ();
13886 >  ;
13887 >  return 0;
13888 > }
13889 > _ACEOF
13890 > if ac_fn_c_try_link "$LINENO"; then :
13891 >  ac_cv_lib_ssl_SSL_connect=yes
13892 > else
13893 >  ac_cv_lib_ssl_SSL_connect=no
13894 > fi
13895 > rm -f core conftest.err conftest.$ac_objext \
13896 >    conftest$ac_exeext conftest.$ac_ext
13897 > LIBS=$ac_check_lib_save_LIBS
13898 > fi
13899 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13900 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13901 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13902    cat >>confdefs.h <<_ACEOF
13903 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13903 > #define HAVE_LIBSSL 1
13904   _ACEOF
13905  
13906 +  LIBS="-lssl $LIBS"
13907 +
13908   fi
13113 done
13909  
13910   fi
13911  
# Line 13121 | Line 13916 | $as_echo "no - OpenSSL support disabled"
13916   fi
13917   fi
13918  
13919 < if test "$cf_enable_openssl" = yes; then
13919 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
13920    ENABLE_SSL_TRUE=
13921    ENABLE_SSL_FALSE='#'
13922   else
# Line 13146 | Line 13941 | $as_echo "#define NDEBUG 1" >>confdefs.h
13941   fi
13942  
13943  
13149 # Check whether --enable-small-net was given.
13150 if test "${enable_small_net+set}" = set; then :
13151  enableval=$enable_small_net; small_net=$enableval
13152 else
13153  small_net=no
13154 fi
13155
13156
13157 if test "$small_net" = "yes"; then :
13158
13159
13160 $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13161
13162
13163 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13164
13165
13166 $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13167
13168
13169 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13170
13944  
13945 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13173 <
13174 <
13175 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13176 <
13177 <
13178 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13179 <
13180 <
13181 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13182 <
13183 <
13184 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13185 <
13186 <
13187 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13188 <
13189 < else
13190 <
13191 <
13192 <
13193 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13945 > $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13946  
13947  
13948   $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
# Line 13208 | Line 13960 | $as_echo "#define LCLIENT_HEAP_SIZE 512"
13960   $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13961  
13962  
13211 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13212
13213
13963   $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13964  
13965  
13966 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13966 > $as_echo "#define AUTH_HEAP_SIZE 256" >>confdefs.h
13967  
13968  
13969 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13969 > $as_echo "#define DNS_HEAP_SIZE 256" >>confdefs.h
13970  
13222 fi
13971  
13972  
13973   # Argument processing.
# Line 13240 | Line 13988 | if test "${enable_devpoll+set}" = set; t
13988    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13989   fi
13990  
13243  # Check whether --enable-rtsigio was given.
13244 if test "${enable_rtsigio+set}" = set; then :
13245  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13246 fi
13247
13991    # Check whether --enable-poll was given.
13992   if test "${enable_poll+set}" = set; then :
13993    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 13360 | Line 14103 | else
14103   #endif
14104   _syscall1(int, epoll_create, int, size)
14105   #endif
13363 main() { return epoll_create(256) == -1 ? 1 : 0; }
14106  
14107 + int
14108 + main ()
14109 + {
14110 + return epoll_create(256) == -1 ? 1 : 0
14111 +  ;
14112 +  return 0;
14113 + }
14114   _ACEOF
14115   if ac_fn_c_try_run "$LINENO"; then :
14116    is_epoll_mechanism_available="yes"
# Line 13422 | Line 14171 | rm -f core conftest.err conftest.$ac_obj
14171   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14172  
14173    fi
14174 <      iopoll_mechanism_rtsigio=4
13426 <
13427 < cat >>confdefs.h <<_ACEOF
13428 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13429 < _ACEOF
13430 <
13431 <  if test "$cross_compiling" = yes; then :
13432 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13433 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13434 < as_fn_error $? "cannot run test program while cross compiling
13435 < See \`config.log' for more details" "$LINENO" 5; }
13436 < else
13437 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13438 < /* end confdefs.h.  */
13439 <
13440 < #include <fcntl.h>
13441 < #ifdef F_SETSIG
13442 < main () { return 0; } /* F_SETSIG defined */
13443 < #else
13444 < main () { return 1; } /* F_SETSIG not defined */
13445 < #endif
13446 <
13447 < int
13448 < main ()
13449 < {
13450 <
13451 <  ;
13452 <  return 0;
13453 < }
13454 < _ACEOF
13455 < if ac_fn_c_try_run "$LINENO"; then :
13456 <  is_rtsigio_mechanism_available="yes"
13457 < else
13458 <  is_rtsigio_mechanism_available="no"
13459 < fi
13460 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13461 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13462 < fi
13463 <
13464 <      iopoll_mechanism_poll=5
14174 >      iopoll_mechanism_poll=4
14175  
14176   cat >>confdefs.h <<_ACEOF
14177   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13515 | Line 14225 | else
14225   fi
14226   rm -f core conftest.err conftest.$ac_objext \
14227      conftest$ac_exeext conftest.$ac_ext
14228 <      iopoll_mechanism_select=6
14228 >      iopoll_mechanism_select=5
14229  
14230   cat >>confdefs.h <<_ACEOF
14231   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 13570 | Line 14280 | fi
14280   rm -f core conftest.err conftest.$ac_objext \
14281      conftest$ac_exeext conftest.$ac_ext
14282        optimal_iopoll_mechanism="none"
14283 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14283 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14284      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14285      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14286        optimal_iopoll_mechanism="$mechanism"
# Line 13607 | Line 14317 | _ACEOF
14317  
14318  
14319  
13610
13611 # Check whether --with-nicklen was given.
13612 if test "${with_nicklen+set}" = set; then :
13613  withval=$with_nicklen; nicklen="$withval"
13614 else
13615  nicklen="9"
13616 fi
13617
13618
13619 cat >>confdefs.h <<_ACEOF
13620 #define NICKLEN ($nicklen+1)
13621 _ACEOF
13622
13623
13624
13625
13626 # Check whether --with-topiclen was given.
13627 if test "${with_topiclen+set}" = set; then :
13628  withval=$with_topiclen; topiclen="$withval"
13629 else
13630  topiclen="160"
13631 fi
13632
13633
13634 cat >>confdefs.h <<_ACEOF
13635 #define TOPICLEN ($topiclen)
13636 _ACEOF
13637
13638
13639
13640
13641 # Check whether --with-syslog-facility was given.
13642 if test "${with_syslog_facility+set}" = set; then :
13643  withval=$with_syslog_facility; syslog_facility="$withval"
13644 else
13645  syslog_facility="LOG_LOCAL4"
13646 fi
13647
13648
13649 cat >>confdefs.h <<_ACEOF
13650 #define LOG_FACILITY $syslog_facility
13651 _ACEOF
13652
13653
13654
13655  # Check whether --enable-efnet was given.
13656 if test "${enable_efnet+set}" = set; then :
13657  enableval=$enable_efnet; efnet="$enableval"
13658 else
13659  efnet="no"
13660 fi
13661
13662  if test "$efnet" = "yes" ; then
13663                use_efnet="yes"
13664
13665 $as_echo "#define EFNET 1" >>confdefs.h
13666
13667
13668 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13669
13670        else
13671                use_efnet="no"
13672  fi
13673   if test "$use_efnet" = "yes"; then
13674  EFNET_TRUE=
13675  EFNET_FALSE='#'
13676 else
13677  EFNET_TRUE='#'
13678  EFNET_FALSE=
13679 fi
13680
13681
13682
14320    # Check whether --enable-halfops was given.
14321   if test "${enable_halfops+set}" = set; then :
14322    enableval=$enable_halfops; halfops="$enableval"
# Line 13702 | Line 14339 | else
14339   fi
14340  
14341    if test "$debugging" = "yes" ; then
13705
13706 $as_echo "#define DEBUG 1" >>confdefs.h
13707
14342      CFLAGS="-Wall -g -O0"
13709  else
13710
13711 $as_echo "#define NDEBUG 1" >>confdefs.h
13712
14343    fi
14344  
14345  
# Line 13725 | Line 14355 | fi
14355    fi
14356  
14357  
13728  for ac_header in syslog.h sys/syslog.h
13729 do :
13730  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13731 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13732 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13733  cat >>confdefs.h <<_ACEOF
13734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13735 _ACEOF
13736
13737 fi
13738
13739 done
13740
13741  # Check whether --enable-syslog was given.
13742 if test "${enable_syslog+set}" = set; then :
13743  enableval=$enable_syslog; syslog="$enableval"
13744 else
13745  syslog="no"
13746 fi
13747
13748  if test "$enableval" != "no" ; then
13749    for option in $enableval ; do
13750      case "$option" in
13751        users)
13752 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13753 ;;
13754        oper)
13755 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13756 ;;
13757        yes) : ;;
13758        *) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13759      esac
13760    done
13761
13762 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13763
13764  fi
13765
13766
14358  
14359    prefix_NONE=
14360    exec_prefix_NONE=
# Line 13850 | Line 14441 | _ACEOF
14441    test "$exec_prefix_NONE" && exec_prefix=NONE
14442  
14443  
14444 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14444 > ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14445  
14446  
14447   cat >confcache <<\_ACEOF
# Line 13917 | Line 14508 | $as_echo "$as_me: WARNING: cache variabl
14508       :end' >>confcache
14509   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14510    if test -w "$cache_file"; then
14511 <    test "x$cache_file" != "x/dev/null" &&
14511 >    if test "x$cache_file" != "x/dev/null"; then
14512        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14513   $as_echo "$as_me: updating cache $cache_file" >&6;}
14514 <    cat confcache >$cache_file
14514 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14515 >        cat confcache >"$cache_file"
14516 >      else
14517 >        case $cache_file in #(
14518 >        */* | ?:*)
14519 >          mv -f confcache "$cache_file"$$ &&
14520 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14521 >        *)
14522 >          mv -f confcache "$cache_file" ;;
14523 >        esac
14524 >      fi
14525 >    fi
14526    else
14527      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14528   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13951 | Line 14553 | LIBOBJS=$ac_libobjs
14553   LTLIBOBJS=$ac_ltlibobjs
14554  
14555  
14556 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14557 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14558 +   if test -n "$am_sleep_pid"; then
14559 +     # Hide warnings about reused PIDs.
14560 +     wait $am_sleep_pid 2>/dev/null
14561 +   fi
14562 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14563 + $as_echo "done" >&6; }
14564   if test -n "$EXEEXT"; then
14565    am__EXEEXT_TRUE=
14566    am__EXEEXT_FALSE='#'
# Line 13997 | Line 14607 | LT_CONFIG_H=config.h
14607  
14608  
14609  
14000 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14001  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14003 fi
14610   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14611    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14612   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14613   fi
14008 if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14009  as_fn_error $? "conditional \"EFNET\" was never defined.
14010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14011 fi
14614  
14615 < : ${CONFIG_STATUS=./config.status}
14615 > : "${CONFIG_STATUS=./config.status}"
14616   ac_write_fail=0
14617   ac_clean_files_save=$ac_clean_files
14618   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14111 | Line 14713 | fi
14713   IFS=" ""        $as_nl"
14714  
14715   # Find who we are.  Look in the path if we contain no directory separator.
14716 + as_myself=
14717   case $0 in #((
14718    *[\\/]* ) as_myself=$0 ;;
14719    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14306 | Line 14909 | if (echo >conf$$.file) 2>/dev/null; then
14909      # ... but there are two gotchas:
14910      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14911      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14912 <    # In both cases, we have to default to `cp -p'.
14912 >    # In both cases, we have to default to `cp -pR'.
14913      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14914 <      as_ln_s='cp -p'
14914 >      as_ln_s='cp -pR'
14915    elif ln conf$$.file conf$$ 2>/dev/null; then
14916      as_ln_s=ln
14917    else
14918 <    as_ln_s='cp -p'
14918 >    as_ln_s='cp -pR'
14919    fi
14920   else
14921 <  as_ln_s='cp -p'
14921 >  as_ln_s='cp -pR'
14922   fi
14923   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14924   rmdir conf$$.dir 2>/dev/null
# Line 14375 | Line 14978 | else
14978    as_mkdir_p=false
14979   fi
14980  
14981 < if test -x / >/dev/null 2>&1; then
14982 <  as_test_x='test -x'
14983 < else
14984 <  if ls -dL / >/dev/null 2>&1; then
14985 <    as_ls_L_option=L
14986 <  else
14987 <    as_ls_L_option=
14988 <  fi
14989 <  as_test_x='
14990 <    eval sh -c '\''
14388 <      if test -d "$1"; then
14389 <        test -d "$1/.";
14390 <      else
14391 <        case $1 in #(
14392 <        -*)set "./$1";;
14393 <        esac;
14394 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14395 <        ???[sx]*):;;*)false;;esac;fi
14396 <    '\'' sh
14397 <  '
14398 < fi
14399 < as_executable_p=$as_test_x
14981 >
14982 > # as_fn_executable_p FILE
14983 > # -----------------------
14984 > # Test if FILE is an executable regular file.
14985 > as_fn_executable_p ()
14986 > {
14987 >  test -f "$1" && test -x "$1"
14988 > } # as_fn_executable_p
14989 > as_test_x='test -x'
14990 > as_executable_p=as_fn_executable_p
14991  
14992   # Sed expression to map a string onto a valid CPP name.
14993   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14417 | Line 15008 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15008   # report actual input values of CONFIG_FILES etc. instead of their
15009   # values after options handling.
15010   ac_log="
15011 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15012 < generated by GNU Autoconf 2.67.  Invocation command line was
15011 > This file was extended by ircd-hybrid $as_me 8.0.8, which was
15012 > generated by GNU Autoconf 2.69.  Invocation command line was
15013  
15014    CONFIG_FILES    = $CONFIG_FILES
15015    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14483 | Line 15074 | _ACEOF
15074   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15075   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15076   ac_cs_version="\\
15077 < ircd-hybrid config.status 7.3-rc1
15078 < configured by $0, generated by GNU Autoconf 2.67,
15077 > ircd-hybrid config.status 8.0.8
15078 > configured by $0, generated by GNU Autoconf 2.69,
15079    with options \\"\$ac_cs_config\\"
15080  
15081 < Copyright (C) 2010 Free Software Foundation, Inc.
15081 > Copyright (C) 2012 Free Software Foundation, Inc.
15082   This config.status script is free software; the Free Software Foundation
15083   gives unlimited permission to copy, distribute and modify it."
15084  
# Line 14578 | Line 15169 | fi
15169   _ACEOF
15170   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15171   if \$ac_cs_recheck; then
15172 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15172 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15173    shift
15174    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15175    CONFIG_SHELL='$SHELL'
# Line 14620 | Line 15211 | pic_mode='`$ECHO "$pic_mode" | $SED "$de
15211   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15212   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15213   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15214 + PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15215   host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15216   host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15217   host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
# Line 14640 | Line 15232 | exeext='`$ECHO "$exeext" | $SED "$delay_
15232   lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15233   lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15234   lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15235 + lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15236 + lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15237   reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15238   reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15239   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15240   deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15241   file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15242 + file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15243 + want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15244 + DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15245 + sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15246   AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15247   AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15248 + archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15249   STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15250   RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15251   old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
# Line 14661 | Line 15260 | lt_cv_sys_global_symbol_pipe='`$ECHO "$l
15260   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15261   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15262   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"`'
15263 + nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15264 + lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15265   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15266   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15267   lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14667 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15268   lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15269 + lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15270   lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15271   lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15272   need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15273 + MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15274   DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15275   NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15276   LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
# Line 14692 | Line 15294 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SE
15294   allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15295   no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15296   hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14695 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15297   hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15298   hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15299   hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
# Line 14701 | Line 15302 | hardcode_shlibpath_var='`$ECHO "$hardcod
15302   hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15303   inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15304   link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14704 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15305   always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15306   export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15307   exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15308   include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15309   prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15310 + postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15311   file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15312   variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15313   need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
# Line 14748 | Line 15349 | _LTECHO_EOF'
15349   # Quote evaled strings.
15350   for var in SHELL \
15351   ECHO \
15352 + PATH_SEPARATOR \
15353   SED \
15354   GREP \
15355   EGREP \
# Line 14761 | Line 15363 | reload_flag \
15363   OBJDUMP \
15364   deplibs_check_method \
15365   file_magic_cmd \
15366 + file_magic_glob \
15367 + want_nocaseglob \
15368 + DLLTOOL \
15369 + sharedlib_from_linklib_cmd \
15370   AR \
15371   AR_FLAGS \
15372 + archiver_list_spec \
15373   STRIP \
15374   RANLIB \
15375   CC \
# Line 14772 | Line 15379 | lt_cv_sys_global_symbol_pipe \
15379   lt_cv_sys_global_symbol_to_cdecl \
15380   lt_cv_sys_global_symbol_to_c_name_address \
15381   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15382 + nm_file_list_spec \
15383   lt_prog_compiler_no_builtin_flag \
14776 lt_prog_compiler_wl \
15384   lt_prog_compiler_pic \
15385 + lt_prog_compiler_wl \
15386   lt_prog_compiler_static \
15387   lt_cv_prog_compiler_c_o \
15388   need_locks \
15389 + MANIFEST_TOOL \
15390   DSYMUTIL \
15391   NMEDIT \
15392   LIPO \
# Line 14791 | Line 15400 | with_gnu_ld \
15400   allow_undefined_flag \
15401   no_undefined_flag \
15402   hardcode_libdir_flag_spec \
14794 hardcode_libdir_flag_spec_ld \
15403   hardcode_libdir_separator \
14796 fix_srcfile_path \
15404   exclude_expsyms \
15405   include_expsyms \
15406   file_list_spec \
# Line 14829 | Line 15436 | module_cmds \
15436   module_expsym_cmds \
15437   export_symbols_cmds \
15438   prelink_cmds \
15439 + postlink_cmds \
15440   postinstall_cmds \
15441   postuninstall_cmds \
15442   finish_cmds \
# Line 14876 | Line 15484 | do
15484      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15485      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15486      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14879    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14880    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15487      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15488      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15489      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
# Line 14914 | Line 15520 | fi
15520   # after its creation but before its name has been assigned to `$tmp'.
15521   $debug ||
15522   {
15523 <  tmp=
15523 >  tmp= ac_tmp=
15524    trap 'exit_status=$?
15525 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15525 >  : "${ac_tmp:=$tmp}"
15526 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15527   ' 0
15528    trap 'as_fn_exit 1' 1 2 13 15
15529   }
# Line 14924 | Line 15531 | $debug ||
15531  
15532   {
15533    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15534 <  test -n "$tmp" && test -d "$tmp"
15534 >  test -d "$tmp"
15535   }  ||
15536   {
15537    tmp=./conf$$-$RANDOM
15538    (umask 077 && mkdir "$tmp")
15539   } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15540 + ac_tmp=$tmp
15541  
15542   # Set up the scripts for CONFIG_FILES section.
15543   # No need to generate them if there are no CONFIG_FILES.
# Line 14951 | Line 15559 | else
15559    ac_cs_awk_cr=$ac_cr
15560   fi
15561  
15562 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15562 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15563   _ACEOF
15564  
15565  
# Line 14979 | Line 15587 | done
15587   rm -f conf$$subs.sh
15588  
15589   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15590 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15590 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15591   _ACEOF
15592   sed -n '
15593   h
# Line 15027 | Line 15635 | t delim
15635   rm -f conf$$subs.awk
15636   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15637   _ACAWK
15638 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15638 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15639    for (key in S) S_is_set[key] = 1
15640    FS = ""
15641  
# Line 15059 | Line 15667 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15667    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15668   else
15669    cat
15670 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15670 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15671    || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15672   _ACEOF
15673  
# Line 15093 | Line 15701 | fi # test -n "$CONFIG_FILES"
15701   # No need to generate them if there are no CONFIG_HEADERS.
15702   # This happens for instance with `./config.status Makefile'.
15703   if test -n "$CONFIG_HEADERS"; then
15704 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15704 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15705   BEGIN {
15706   _ACEOF
15707  
# Line 15105 | Line 15713 | _ACEOF
15713   # handling of long lines.
15714   ac_delim='%!_!# '
15715   for ac_last_try in false false :; do
15716 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15717 <  if test -z "$ac_t"; then
15716 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15717 >  if test -z "$ac_tt"; then
15718      break
15719    elif $ac_last_try; then
15720      as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
# Line 15226 | Line 15834 | do
15834      for ac_f
15835      do
15836        case $ac_f in
15837 <      -) ac_f="$tmp/stdin";;
15837 >      -) ac_f="$ac_tmp/stdin";;
15838        *) # Look for the file first in the build tree, then in the source tree
15839           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15840           # because $ac_f cannot contain `:'.
# Line 15261 | Line 15869 | $as_echo "$as_me: creating $ac_file" >&6
15869      esac
15870  
15871      case $ac_tag in
15872 <    *:-:* | *:-) cat >"$tmp/stdin" \
15872 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15873        || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15874      esac
15875      ;;
# Line 15398 | Line 16006 | s&@INSTALL@&$ac_INSTALL&;t t
16006   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16007   $ac_datarootdir_hack
16008   "
16009 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16010 <  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16009 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16010 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16011  
16012   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16013 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16014 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16013 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16014 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16015 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16016    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16017   which seems to be undefined.  Please make sure it is defined" >&5
16018   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16019   which seems to be undefined.  Please make sure it is defined" >&2;}
16020  
16021 <  rm -f "$tmp/stdin"
16021 >  rm -f "$ac_tmp/stdin"
16022    case $ac_file in
16023 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16024 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16023 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16024 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16025    esac \
16026    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16027   ;;
# Line 15423 | Line 16032 | which seems to be undefined.  Please mak
16032    if test x"$ac_file" != x-; then
16033      {
16034        $as_echo "/* $configure_input  */" \
16035 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16036 <    } >"$tmp/config.h" \
16035 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16036 >    } >"$ac_tmp/config.h" \
16037        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16038 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16038 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16039        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16040   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16041      else
16042        rm -f "$ac_file"
16043 <      mv "$tmp/config.h" "$ac_file" \
16043 >      mv "$ac_tmp/config.h" "$ac_file" \
16044          || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16045      fi
16046    else
16047      $as_echo "/* $configure_input  */" \
16048 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16048 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16049        || as_fn_error $? "could not create -" "$LINENO" 5
16050    fi
16051   # Compute "$ac_file"'s index in $config_headers.
# Line 15483 | Line 16092 | $as_echo "$as_me: executing $ac_file com
16092  
16093    case $ac_file$ac_mode in
16094      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16095 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16095 >  # Older Autoconf quotes --file arguments for eval, but not when files
16096    # are listed without --file.  Let's play safe and only enable the eval
16097    # if we detect the quoting.
16098    case $CONFIG_FILES in
# Line 15496 | Line 16105 | $as_echo "$as_me: executing $ac_file com
16105      # Strip MF so we end up with the name of the file.
16106      mf=`echo "$mf" | sed -e 's/:.*$//'`
16107      # Check whether this is an Automake generated Makefile or not.
16108 <    # We used to match only the files named `Makefile.in', but
16108 >    # We used to match only the files named 'Makefile.in', but
16109      # some people rename them; so instead we look at the file content.
16110      # Grep'ing the first line is not enough: some people post-process
16111      # each Makefile.in and add a new line on top of each file to say so.
# Line 15530 | Line 16139 | $as_echo X"$mf" |
16139        continue
16140      fi
16141      # Extract the definition of DEPDIR, am__include, and am__quote
16142 <    # from the Makefile without running `make'.
16142 >    # from the Makefile without running 'make'.
16143      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16144      test -z "$DEPDIR" && continue
16145      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16146      test -z "am__include" && continue
16147      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15539    # When using ansi2knr, U may be empty or an underscore; expand it
15540    U=`sed -n 's/^U = //p' < "$mf"`
16148      # Find all dependency output files, they are included files with
16149      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16150      # simplest approach to changing $(DEPDIR) to its actual value in the
16151      # expansion.
16152      for file in `sed -n "
16153        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16154 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16154 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16155        # Make sure the directory exists.
16156        test -f "$dirpart/$file" && continue
16157        fdir=`$as_dirname -- "$file" ||
# Line 15598 | Line 16205 | $as_echo X"$file" |
16205   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16206   #
16207   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16208 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16209 < #                 Inc.
16208 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16209 > #                 Foundation, Inc.
16210   #   Written by Gordon Matzigkeit, 1996
16211   #
16212   #   This file is part of GNU Libtool.
# Line 15653 | Line 16260 | SHELL=$lt_SHELL
16260   # An echo program that protects backslashes.
16261   ECHO=$lt_ECHO
16262  
16263 + # The PATH separator for the build system.
16264 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16265 +
16266   # The host system.
16267   host_alias=$host_alias
16268   host=$host
# Line 15702 | Line 16312 | SP2NL=$lt_lt_SP2NL
16312   # turn newlines into spaces.
16313   NL2SP=$lt_lt_NL2SP
16314  
16315 + # convert \$build file names to \$host format.
16316 + to_host_file_cmd=$lt_cv_to_host_file_cmd
16317 +
16318 + # convert \$build files to toolchain format.
16319 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16320 +
16321   # An object symbol dumper.
16322   OBJDUMP=$lt_OBJDUMP
16323  
16324   # Method to check whether dependent libraries are shared objects.
16325   deplibs_check_method=$lt_deplibs_check_method
16326  
16327 < # Command to use when deplibs_check_method == "file_magic".
16327 > # Command to use when deplibs_check_method = "file_magic".
16328   file_magic_cmd=$lt_file_magic_cmd
16329  
16330 + # How to find potential files when deplibs_check_method = "file_magic".
16331 + file_magic_glob=$lt_file_magic_glob
16332 +
16333 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16334 + want_nocaseglob=$lt_want_nocaseglob
16335 +
16336 + # DLL creation program.
16337 + DLLTOOL=$lt_DLLTOOL
16338 +
16339 + # Command to associate shared and link libraries.
16340 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16341 +
16342   # The archiver.
16343   AR=$lt_AR
16344 +
16345 + # Flags to create an archive.
16346   AR_FLAGS=$lt_AR_FLAGS
16347  
16348 + # How to feed a file listing to the archiver.
16349 + archiver_list_spec=$lt_archiver_list_spec
16350 +
16351   # A symbol stripping program.
16352   STRIP=$lt_STRIP
16353  
# Line 15744 | Line 16377 | global_symbol_to_c_name_address=$lt_lt_c
16377   # Transform the output of nm in a C name address pair when lib prefix is needed.
16378   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16379  
16380 + # Specify filename containing input files for \$NM.
16381 + nm_file_list_spec=$lt_nm_file_list_spec
16382 +
16383 + # The root where to search for dependent libraries,and in which our libraries should be installed.
16384 + lt_sysroot=$lt_sysroot
16385 +
16386   # The name of the directory that contains temporary libtool files.
16387   objdir=$objdir
16388  
# Line 15753 | Line 16392 | MAGIC_CMD=$MAGIC_CMD
16392   # Must we lock files when doing compilation?
16393   need_locks=$lt_need_locks
16394  
16395 + # Manifest tool.
16396 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16397 +
16398   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16399   DSYMUTIL=$lt_DSYMUTIL
16400  
# Line 15867 | Line 16509 | with_gcc=$GCC
16509   # Compiler flag to turn off builtin functions.
16510   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16511  
15870 # How to pass a linker flag through the compiler.
15871 wl=$lt_lt_prog_compiler_wl
15872
16512   # Additional compiler flags for building library objects.
16513   pic_flag=$lt_lt_prog_compiler_pic
16514  
16515 + # How to pass a linker flag through the compiler.
16516 + wl=$lt_lt_prog_compiler_wl
16517 +
16518   # Compiler flag to prevent dynamic linking.
16519   link_static_flag=$lt_lt_prog_compiler_static
16520  
# Line 15922 | Line 16564 | no_undefined_flag=$lt_no_undefined_flag
16564   # This must work even if \$libdir does not exist
16565   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16566  
15925 # If ld is used when linking, flag to hardcode \$libdir into a binary
15926 # during linking.  This must work even if \$libdir does not exist.
15927 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15928
16567   # Whether we need a single "-rpath" flag with a separated argument.
16568   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16569  
# Line 15959 | Line 16597 | inherit_rpath=$inherit_rpath
16597   # Whether libtool must link a program against all its dependency libraries.
16598   link_all_deplibs=$link_all_deplibs
16599  
15962 # Fix the shell variable \$srcfile for the compiler.
15963 fix_srcfile_path=$lt_fix_srcfile_path
15964
16600   # Set to "yes" if exported symbols are required.
16601   always_export_symbols=$always_export_symbols
16602  
# Line 15977 | Line 16612 | include_expsyms=$lt_include_expsyms
16612   # Commands necessary for linking programs (against libraries) with templates.
16613   prelink_cmds=$lt_prelink_cmds
16614  
16615 + # Commands necessary for finishing linking programs.
16616 + postlink_cmds=$lt_postlink_cmds
16617 +
16618   # Specify filename containing input files.
16619   file_list_spec=$lt_file_list_spec
16620  
# Line 16009 | Line 16647 | ltmain="$ac_aux_dir/ltmain.sh"
16647    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16648    # text mode, it properly converts lines to CR/LF.  This bash problem
16649    # is reportedly fixed, but why not run on old versions too?
16650 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16651 <    || (rm -f "$cfgfile"; exit 1)
16014 <
16015 <  case $xsi_shell in
16016 <  yes)
16017 <    cat << \_LT_EOF >> "$cfgfile"
16018 <
16019 < # func_dirname file append nondir_replacement
16020 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16021 < # otherwise set result to NONDIR_REPLACEMENT.
16022 < func_dirname ()
16023 < {
16024 <  case ${1} in
16025 <    */*) func_dirname_result="${1%/*}${2}" ;;
16026 <    *  ) func_dirname_result="${3}" ;;
16027 <  esac
16028 < }
16029 <
16030 < # func_basename file
16031 < func_basename ()
16032 < {
16033 <  func_basename_result="${1##*/}"
16034 < }
16035 <
16036 < # func_dirname_and_basename file append nondir_replacement
16037 < # perform func_basename and func_dirname in a single function
16038 < # call:
16039 < #   dirname:  Compute the dirname of FILE.  If nonempty,
16040 < #             add APPEND to the result, otherwise set result
16041 < #             to NONDIR_REPLACEMENT.
16042 < #             value returned in "$func_dirname_result"
16043 < #   basename: Compute filename of FILE.
16044 < #             value retuned in "$func_basename_result"
16045 < # Implementation must be kept synchronized with func_dirname
16046 < # and func_basename. For efficiency, we do not delegate to
16047 < # those functions but instead duplicate the functionality here.
16048 < func_dirname_and_basename ()
16049 < {
16050 <  case ${1} in
16051 <    */*) func_dirname_result="${1%/*}${2}" ;;
16052 <    *  ) func_dirname_result="${3}" ;;
16053 <  esac
16054 <  func_basename_result="${1##*/}"
16055 < }
16056 <
16057 < # func_stripname prefix suffix name
16058 < # strip PREFIX and SUFFIX off of NAME.
16059 < # PREFIX and SUFFIX must not contain globbing or regex special
16060 < # characters, hashes, percent signs, but SUFFIX may contain a leading
16061 < # dot (in which case that matches only a dot).
16062 < func_stripname ()
16063 < {
16064 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16065 <  # positional parameters, so assign one to ordinary parameter first.
16066 <  func_stripname_result=${3}
16067 <  func_stripname_result=${func_stripname_result#"${1}"}
16068 <  func_stripname_result=${func_stripname_result%"${2}"}
16069 < }
16070 <
16071 < # func_opt_split
16072 < func_opt_split ()
16073 < {
16074 <  func_opt_split_opt=${1%%=*}
16075 <  func_opt_split_arg=${1#*=}
16076 < }
16077 <
16078 < # func_lo2o object
16079 < func_lo2o ()
16080 < {
16081 <  case ${1} in
16082 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16083 <    *)    func_lo2o_result=${1} ;;
16084 <  esac
16085 < }
16086 <
16087 < # func_xform libobj-or-source
16088 < func_xform ()
16089 < {
16090 <  func_xform_result=${1%.*}.lo
16091 < }
16092 <
16093 < # func_arith arithmetic-term...
16094 < func_arith ()
16095 < {
16096 <  func_arith_result=$(( $* ))
16097 < }
16098 <
16099 < # func_len string
16100 < # STRING may not start with a hyphen.
16101 < func_len ()
16102 < {
16103 <  func_len_result=${#1}
16104 < }
16105 <
16106 < _LT_EOF
16107 <    ;;
16108 <  *) # Bourne compatible functions.
16109 <    cat << \_LT_EOF >> "$cfgfile"
16110 <
16111 < # func_dirname file append nondir_replacement
16112 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16113 < # otherwise set result to NONDIR_REPLACEMENT.
16114 < func_dirname ()
16115 < {
16116 <  # Extract subdirectory from the argument.
16117 <  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
16118 <  if test "X$func_dirname_result" = "X${1}"; then
16119 <    func_dirname_result="${3}"
16120 <  else
16121 <    func_dirname_result="$func_dirname_result${2}"
16122 <  fi
16123 < }
16124 <
16125 < # func_basename file
16126 < func_basename ()
16127 < {
16128 <  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
16129 < }
16130 <
16131 <
16132 < # func_stripname prefix suffix name
16133 < # strip PREFIX and SUFFIX off of NAME.
16134 < # PREFIX and SUFFIX must not contain globbing or regex special
16135 < # characters, hashes, percent signs, but SUFFIX may contain a leading
16136 < # dot (in which case that matches only a dot).
16137 < # func_strip_suffix prefix name
16138 < func_stripname ()
16139 < {
16140 <  case ${2} in
16141 <    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16142 <    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16143 <  esac
16144 < }
16145 <
16146 < # sed scripts:
16147 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16148 < my_sed_long_arg='1s/^-[^=]*=//'
16149 <
16150 < # func_opt_split
16151 < func_opt_split ()
16152 < {
16153 <  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16154 <  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16155 < }
16156 <
16157 < # func_lo2o object
16158 < func_lo2o ()
16159 < {
16160 <  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
16161 < }
16162 <
16163 < # func_xform libobj-or-source
16164 < func_xform ()
16165 < {
16166 <  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16167 < }
16168 <
16169 < # func_arith arithmetic-term...
16170 < func_arith ()
16171 < {
16172 <  func_arith_result=`expr "$@"`
16173 < }
16174 <
16175 < # func_len string
16176 < # STRING may not start with a hyphen.
16177 < func_len ()
16178 < {
16179 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16180 < }
16181 <
16182 < _LT_EOF
16183 < esac
16184 <
16185 < case $lt_shell_append in
16186 <  yes)
16187 <    cat << \_LT_EOF >> "$cfgfile"
16188 <
16189 < # func_append var value
16190 < # Append VALUE to the end of shell variable VAR.
16191 < func_append ()
16192 < {
16193 <  eval "$1+=\$2"
16194 < }
16195 < _LT_EOF
16196 <    ;;
16197 <  *)
16198 <    cat << \_LT_EOF >> "$cfgfile"
16199 <
16200 < # func_append var value
16201 < # Append VALUE to the end of shell variable VAR.
16202 < func_append ()
16203 < {
16204 <  eval "$1=\$$1\$2"
16205 < }
16206 <
16207 < _LT_EOF
16208 <    ;;
16209 <  esac
16650 >  sed '$q' "$ltmain" >> "$cfgfile" \
16651 >     || (rm -f "$cfgfile"; exit 1)
16652  
16653 +  if test x"$xsi_shell" = xyes; then
16654 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16655 + func_dirname ()\
16656 + {\
16657 + \    case ${1} in\
16658 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16659 + \      *  ) func_dirname_result="${3}" ;;\
16660 + \    esac\
16661 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16662 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16663 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16664 + test 0 -eq $? || _lt_function_replace_fail=:
16665 +
16666 +
16667 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16668 + func_basename ()\
16669 + {\
16670 + \    func_basename_result="${1##*/}"\
16671 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16672 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16673 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16674 + test 0 -eq $? || _lt_function_replace_fail=:
16675 +
16676 +
16677 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16678 + func_dirname_and_basename ()\
16679 + {\
16680 + \    case ${1} in\
16681 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16682 + \      *  ) func_dirname_result="${3}" ;;\
16683 + \    esac\
16684 + \    func_basename_result="${1##*/}"\
16685 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16686 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16687 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16688 + test 0 -eq $? || _lt_function_replace_fail=:
16689 +
16690 +
16691 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16692 + func_stripname ()\
16693 + {\
16694 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16695 + \    # positional parameters, so assign one to ordinary parameter first.\
16696 + \    func_stripname_result=${3}\
16697 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16698 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16699 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16700 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16701 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16702 + test 0 -eq $? || _lt_function_replace_fail=:
16703 +
16704 +
16705 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16706 + func_split_long_opt ()\
16707 + {\
16708 + \    func_split_long_opt_name=${1%%=*}\
16709 + \    func_split_long_opt_arg=${1#*=}\
16710 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16711 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16712 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16713 + test 0 -eq $? || _lt_function_replace_fail=:
16714 +
16715 +
16716 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16717 + func_split_short_opt ()\
16718 + {\
16719 + \    func_split_short_opt_arg=${1#??}\
16720 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16721 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16722 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16723 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16724 + test 0 -eq $? || _lt_function_replace_fail=:
16725 +
16726 +
16727 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16728 + func_lo2o ()\
16729 + {\
16730 + \    case ${1} in\
16731 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16732 + \      *)    func_lo2o_result=${1} ;;\
16733 + \    esac\
16734 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16735 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16736 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16737 + test 0 -eq $? || _lt_function_replace_fail=:
16738 +
16739 +
16740 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16741 + func_xform ()\
16742 + {\
16743 +    func_xform_result=${1%.*}.lo\
16744 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16745 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16746 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16747 + test 0 -eq $? || _lt_function_replace_fail=:
16748 +
16749 +
16750 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16751 + func_arith ()\
16752 + {\
16753 +    func_arith_result=$(( $* ))\
16754 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16755 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16756 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16757 + test 0 -eq $? || _lt_function_replace_fail=:
16758 +
16759 +
16760 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16761 + func_len ()\
16762 + {\
16763 +    func_len_result=${#1}\
16764 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16765 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16766 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16767 + test 0 -eq $? || _lt_function_replace_fail=:
16768 +
16769 + fi
16770 +
16771 + if test x"$lt_shell_append" = xyes; then
16772 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16773 + func_append ()\
16774 + {\
16775 +    eval "${1}+=\\${2}"\
16776 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16777 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16778 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16779 + test 0 -eq $? || _lt_function_replace_fail=:
16780 +
16781 +
16782 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16783 + func_append_quoted ()\
16784 + {\
16785 + \    func_quote_for_eval "${2}"\
16786 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16787 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16788 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16789 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16790 + test 0 -eq $? || _lt_function_replace_fail=:
16791 +
16792 +
16793 +  # Save a `func_append' function call where possible by direct use of '+='
16794 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16795 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16796 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16797 +  test 0 -eq $? || _lt_function_replace_fail=:
16798 + else
16799 +  # Save a `func_append' function call even when '+=' is not available
16800 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16801 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16802 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16803 +  test 0 -eq $? || _lt_function_replace_fail=:
16804 + fi
16805 +
16806 + if test x"$_lt_function_replace_fail" = x":"; then
16807 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16808 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16809 + fi
16810  
16212  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16213    || (rm -f "$cfgfile"; exit 1)
16811  
16812 <  mv -f "$cfgfile" "$ofile" ||
16812 >   mv -f "$cfgfile" "$ofile" ||
16813      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16814    chmod +x "$ofile"
16815  

Diff Legend

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