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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1095 by michael, Mon Aug 2 20:14:21 2010 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 3814 by michael, Tue Jun 3 20:13:35 2014 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 3724 2014-05-31 16:27:09Z 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 TRUNK.
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='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
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
808 < with_zlib_path
775 < enable_zlib
776 < with_libpcre_path
777 < enable_libpcre
808 > enable_libgeoip
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
791 – enable_halfops
816   enable_debugging
817   enable_warnings
794 – enable_syslog
818   '
819        ac_precious_vars='build_alias
820   host_alias
# Line 1208 | Line 1231 | Try \`$0 --help' for more information"
1231      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1234 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1235      ;;
1236  
1237    esac
# Line 1259 | Line 1282 | target=$target_alias
1282   if test "x$host_alias" != x; then
1283    if test "x$build_alias" = x; then
1284      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
1285    elif test "x$build_alias" != "x$host_alias"; then
1286      cross_compiling=yes
1287    fi
# Line 1346 | Line 1367 | if test "$ac_init_help" = "long"; then
1367    # Omit some internal or obsolete options to make the list less imposing.
1368    # This message is too long to be a string in the A/UX 3.1 sh.
1369    cat <<_ACEOF
1370 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1370 > \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1371  
1372   Usage: $0 [OPTION]... [VAR=VALUE]...
1373  
# Line 1416 | Line 1437 | fi
1437  
1438   if test -n "$ac_init_help"; then
1439    case $ac_init_help in
1440 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1440 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1441     esac
1442    cat <<\_ACEOF
1443  
# Line 1424 | Line 1445 | Optional Features:
1445    --disable-option-checking  ignore unrecognized --enable/--with options
1446    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1447    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1448 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1449 <                          (and sometimes confusing) to the casual installer
1450 <  --disable-dependency-tracking  speeds up one-time build
1451 <  --enable-dependency-tracking   do not reject slow dependency extractors
1448 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1449 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1450 >  --enable-maintainer-mode
1451 >                          enable make rules and dependencies not useful (and
1452 >                          sometimes confusing) to the casual installer
1453 >  --enable-dependency-tracking
1454 >                          do not reject slow dependency extractors
1455 >  --disable-dependency-tracking
1456 >                          speeds up one-time build
1457    --enable-static[=PKGS]  build static libraries [default=no]
1458    --enable-shared[=PKGS]  build shared libraries [default=yes]
1459    --enable-fast-install[=PKGS]
1460                            optimize for fast installation [default=yes]
1461    --disable-libtool-lock  avoid locking (might break parallel builds)
1462    --enable-ltdl-install   install libltdl
1463 <  --disable-zlib          Disable ziplinks support
1438 <  --disable-libpcre       Disable PCRE support
1463 >  --disable-libgeoip      Disable GeoIP support
1464    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1465    --disable-openssl            Disable OpenSSL support.
1466    --enable-assert         Enable assert() statements
1442 –  --enable-small-net      Enable small network support.
1467    --enable-kqueue         Force kqueue usage.
1468    --enable-epoll          Force epoll usage.
1469    --enable-devpoll        Force devpoll usage.
1446 –  --enable-rtsigio        Force rtsigio usage.
1470    --enable-poll           Force poll usage.
1471    --enable-select         Force select usage.
1449 –  --enable-efnet          For IRCDs running on EFnet.
1450 –  --enable-halfops        Enable halfops support.
1472    --enable-debugging      Enable debugging.
1473    --enable-warnings       Enable compiler warnings.
1453 –  --enable-syslog="EVENTS"
1454 –                          Enable syslog for events: users oper (space
1455 –                          separated in quotes; default: disabled).
1474  
1475   Optional Packages:
1476    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1477    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1478 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1478 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1479                            both]
1480    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1481 +  --with-sysroot=DIR Search for dependent libraries within DIR
1482 +                        (or the compiler's sysroot if not specified).
1483    --with-included-ltdl    use the GNU ltdl sources included here
1484    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1485    --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)
1486  
1487   Some influential environment variables:
1488    CC          C compiler command
# Line 1479 | Line 1492 | Some influential environment variables:
1492    LIBS        libraries to pass to the linker, e.g. -l<library>
1493    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1494                you have headers in a nonstandard directory <include dir>
1495 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1496 <              the first program found out of: `bison -y', `byacc', `yacc'.
1495 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1496 >              Defaults to the first program found out of: `bison -y', `byacc',
1497 >              `yacc'.
1498    YFLAGS      The list of arguments that will be passed by default to $YACC.
1499                This script will default YFLAGS to the empty string to avoid a
1500                default value of `-d' given by some make applications.
# Line 1552 | Line 1566 | fi
1566   test -n "$ac_init_help" && exit $ac_status
1567   if $ac_init_version; then
1568    cat <<\_ACEOF
1569 < ircd-hybrid configure 7.3-rc1
1570 < generated by GNU Autoconf 2.67
1569 > ircd-hybrid configure TRUNK
1570 > generated by GNU Autoconf 2.69
1571  
1572 < Copyright (C) 2010 Free Software Foundation, Inc.
1572 > Copyright (C) 2012 Free Software Foundation, Inc.
1573   This configure script is free software; the Free Software Foundation
1574   gives unlimited permission to copy, distribute and modify it.
1575   _ACEOF
# Line 1599 | Line 1613 | sed 's/^/| /' conftest.$ac_ext >&5
1613  
1614          ac_retval=1
1615   fi
1616 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1616 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617    as_fn_set_status $ac_retval
1618  
1619   } # ac_fn_c_try_compile
# Line 1631 | Line 1645 | $as_echo "$ac_try_echo"; } >&5
1645           test ! -s conftest.err
1646         } && test -s conftest$ac_exeext && {
1647           test "$cross_compiling" = yes ||
1648 <         $as_test_x conftest$ac_exeext
1648 >         test -x conftest$ac_exeext
1649         }; then :
1650    ac_retval=0
1651   else
# Line 1645 | Line 1659 | fi
1659    # interfere with the next link command; also delete a directory that is
1660    # left behind by Apple's compiler.  We do this before executing the actions.
1661    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1662 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1662 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663    as_fn_set_status $ac_retval
1664  
1665   } # ac_fn_c_try_link
# Line 1659 | Line 1673 | ac_fn_c_check_header_compile ()
1673    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675   $as_echo_n "checking for $2... " >&6; }
1676 < if eval "test \"\${$3+set}\"" = set; then :
1676 > if eval \${$3+:} false; then :
1677    $as_echo_n "(cached) " >&6
1678   else
1679    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1677 | Line 1691 | fi
1691   eval ac_res=\$$3
1692                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693   $as_echo "$ac_res" >&6; }
1694 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1694 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695  
1696   } # ac_fn_c_check_header_compile
1697  
# Line 1713 | Line 1727 | sed 's/^/| /' conftest.$ac_ext >&5
1727  
1728      ac_retval=1
1729   fi
1730 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1730 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731    as_fn_set_status $ac_retval
1732  
1733   } # ac_fn_c_try_cpp
# Line 1755 | Line 1769 | sed 's/^/| /' conftest.$ac_ext >&5
1769         ac_retval=$ac_status
1770   fi
1771    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1772 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773    as_fn_set_status $ac_retval
1774  
1775   } # ac_fn_c_try_run
# Line 1768 | Line 1782 | ac_fn_c_check_func ()
1782    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784   $as_echo_n "checking for $2... " >&6; }
1785 < if eval "test \"\${$3+set}\"" = set; then :
1785 > if eval \${$3+:} false; then :
1786    $as_echo_n "(cached) " >&6
1787   else
1788    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1823 | Line 1837 | fi
1837   eval ac_res=\$$3
1838                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839   $as_echo "$ac_res" >&6; }
1840 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841  
1842   } # ac_fn_c_check_func
1843  
# Line 1838 | Line 1852 | ac_fn_c_check_decl ()
1852    as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1853    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1854   $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1855 < if eval "test \"\${$3+set}\"" = set; then :
1855 > if eval \${$3+:} false; then :
1856    $as_echo_n "(cached) " >&6
1857   else
1858    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1869 | Line 1883 | fi
1883   eval ac_res=\$$3
1884                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1885   $as_echo "$ac_res" >&6; }
1886 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887  
1888   } # ac_fn_c_check_decl
1889  
# Line 1882 | Line 1896 | ac_fn_c_check_type ()
1896    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898   $as_echo_n "checking for $2... " >&6; }
1899 < if eval "test \"\${$3+set}\"" = set; then :
1899 > if eval \${$3+:} false; then :
1900    $as_echo_n "(cached) " >&6
1901   else
1902    eval "$3=no"
# Line 1923 | Line 1937 | fi
1937   eval ac_res=\$$3
1938                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939   $as_echo "$ac_res" >&6; }
1940 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941  
1942   } # ac_fn_c_check_type
1943  
# Line 1936 | Line 1950 | ac_fn_c_check_member ()
1950    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1952   $as_echo_n "checking for $2.$3... " >&6; }
1953 < if eval "test \"\${$4+set}\"" = set; then :
1953 > if eval \${$4+:} false; then :
1954    $as_echo_n "(cached) " >&6
1955   else
1956    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1980 | Line 1994 | fi
1994   eval ac_res=\$$4
1995                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996   $as_echo "$ac_res" >&6; }
1997 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1997 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998  
1999   } # ac_fn_c_check_member
2000  
# Line 1992 | Line 2006 | $as_echo "$ac_res" >&6; }
2006   ac_fn_c_check_header_mongrel ()
2007   {
2008    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009 <  if eval "test \"\${$3+set}\"" = set; then :
2009 >  if eval \${$3+:} false; then :
2010    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2011   $as_echo_n "checking for $2... " >&6; }
2012 < if eval "test \"\${$3+set}\"" = set; then :
2012 > if eval \${$3+:} false; then :
2013    $as_echo_n "(cached) " >&6
2014   fi
2015   eval ac_res=\$$3
# Line 2062 | Line 2076 | $as_echo "$as_me: WARNING: $2: proceedin
2076   esac
2077    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2078   $as_echo_n "checking for $2... " >&6; }
2079 < if eval "test \"\${$3+set}\"" = set; then :
2079 > if eval \${$3+:} false; then :
2080    $as_echo_n "(cached) " >&6
2081   else
2082    eval "$3=\$ac_header_compiler"
# Line 2071 | Line 2085 | eval ac_res=\$$3
2085                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2086   $as_echo "$ac_res" >&6; }
2087   fi
2088 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2088 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2089  
2090   } # ac_fn_c_check_header_mongrel
2091   cat >config.log <<_ACEOF
2092   This file contains any messages produced by compilers while
2093   running configure, to aid debugging if configure makes a mistake.
2094  
2095 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2096 < generated by GNU Autoconf 2.67.  Invocation command line was
2095 > It was created by ircd-hybrid $as_me TRUNK, which was
2096 > generated by GNU Autoconf 2.69.  Invocation command line was
2097  
2098    $ $0 $@
2099  
# Line 2358 | Line 2372 | $as_echo "$as_me: creating cache $cache_
2372    >$cache_file
2373   fi
2374  
2361 – as_fn_append ac_func_list " mmap"
2375   as_fn_append ac_func_list " strtok_r"
2376   as_fn_append ac_func_list " usleep"
2377   as_fn_append ac_func_list " strlcat"
2378   as_fn_append ac_func_list " strlcpy"
2379   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"
2380   as_fn_append ac_header_list " sys/resource.h"
2381   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"
2382   as_fn_append ac_header_list " types.h"
2383   as_fn_append ac_header_list " socket.h"
2384   as_fn_append ac_header_list " sys/wait.h"
2385   as_fn_append ac_header_list " wait.h"
2377 – as_fn_append ac_header_list " link.h"
2386   # Check that the precious variables saved in the cache have kept the same
2387   # value.
2388   ac_cache_corrupted=false
# Line 2443 | Line 2451 | ac_link='$CC -o conftest$ac_exeext $CFLA
2451   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2452  
2453  
2454 < am__api_version='1.11'
2454 > am__api_version='1.14'
2455  
2456   ac_aux_dir=
2457   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2491 | Line 2499 | ac_configure="$SHELL $ac_aux_dir/configu
2499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2500   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2501   if test -z "$INSTALL"; then
2502 < if test "${ac_cv_path_install+set}" = set; then :
2502 > if ${ac_cv_path_install+:} false; then :
2503    $as_echo_n "(cached) " >&6
2504   else
2505    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2511 | Line 2519 | case $as_dir/ in #((
2519      # by default.
2520      for ac_prog in ginstall scoinst install; do
2521        for ac_exec_ext in '' $ac_executable_extensions; do
2522 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2522 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2523            if test $ac_prog = install &&
2524              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2525              # AIX install.  It has an incompatible calling convention.
# Line 2569 | Line 2577 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2577  
2578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2579   $as_echo_n "checking whether build environment is sane... " >&6; }
2572 – # Just in case
2573 – sleep 1
2574 – echo timestamp > conftest.file
2580   # Reject unsafe characters in $srcdir or the absolute working directory
2581   # name.  Accept space and tab only in the latter.
2582   am_lf='
# Line 2582 | Line 2587 | case `pwd` in
2587   esac
2588   case $srcdir in
2589    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2590 <    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2590 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2591   esac
2592  
2593 < # Do `set' in a subshell so we don't clobber the current shell's
2593 > # Do 'set' in a subshell so we don't clobber the current shell's
2594   # arguments.  Must try -L first in case configure is actually a
2595   # symlink; some systems play weird games with the mod time of symlinks
2596   # (eg FreeBSD returns the mod time of the symlink's containing
2597   # directory).
2598   if (
2599 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2600 <   if test "$*" = "X"; then
2601 <      # -L didn't work.
2602 <      set X `ls -t "$srcdir/configure" conftest.file`
2603 <   fi
2604 <   rm -f conftest.file
2605 <   if test "$*" != "X $srcdir/configure conftest.file" \
2606 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2607 <
2608 <      # 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
2599 >   am_has_slept=no
2600 >   for am_try in 1 2; do
2601 >     echo "timestamp, slept: $am_has_slept" > conftest.file
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 >     if test "$*" != "X $srcdir/configure conftest.file" \
2608 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2609  
2610 +        # If neither matched, then we have a broken ls.  This can happen
2611 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2612 +        # broken ls alias from the environment.  This has actually
2613 +        # happened.  Such a system could not be considered "sane".
2614 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2615 +  alias in your environment" "$LINENO" 5
2616 +     fi
2617 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2618 +       break
2619 +     fi
2620 +     # Just in case.
2621 +     sleep 1
2622 +     am_has_slept=yes
2623 +   done
2624     test "$2" = conftest.file
2625     )
2626   then
# Line 2619 | Line 2632 | Check your system clock" "$LINENO" 5
2632   fi
2633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2634   $as_echo "yes" >&6; }
2635 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2636 + # generated files are strictly newer.
2637 + am_sleep_pid=
2638 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2639 +  ( sleep 1 ) &
2640 +  am_sleep_pid=$!
2641 + fi
2642 +
2643 + rm -f conftest.file
2644 +
2645   test "$program_prefix" != NONE &&
2646    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2647   # Use a double $ so make ignores it.
# Line 2641 | Line 2664 | if test x"${MISSING+set}" != xset; then
2664    esac
2665   fi
2666   # Use eval to expand $SHELL
2667 < if eval "$MISSING --run true"; then
2668 <  am_missing_run="$MISSING --run "
2667 > if eval "$MISSING --is-lightweight"; then
2668 >  am_missing_run="$MISSING "
2669   else
2670    am_missing_run=
2671 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2672 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2671 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2672 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2673   fi
2674  
2675   if test x"${install_sh}" != xset; then
# Line 2658 | Line 2681 | if test x"${install_sh}" != xset; then
2681    esac
2682   fi
2683  
2684 < # Installed binaries are usually stripped using `strip' when the user
2685 < # run `make install-strip'.  However `strip' might not be the right
2684 > # Installed binaries are usually stripped using 'strip' when the user
2685 > # run "make install-strip".  However 'strip' might not be the right
2686   # tool to use in cross-compilation environments, therefore Automake
2687 < # will honor the `STRIP' environment variable to overrule this program.
2687 > # will honor the 'STRIP' environment variable to overrule this program.
2688   if test "$cross_compiling" != no; then
2689    if test -n "$ac_tool_prefix"; then
2690    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2691   set dummy ${ac_tool_prefix}strip; ac_word=$2
2692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2693   $as_echo_n "checking for $ac_word... " >&6; }
2694 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2694 > if ${ac_cv_prog_STRIP+:} false; then :
2695    $as_echo_n "(cached) " >&6
2696   else
2697    if test -n "$STRIP"; then
# Line 2680 | Line 2703 | do
2703    IFS=$as_save_IFS
2704    test -z "$as_dir" && as_dir=.
2705      for ac_exec_ext in '' $ac_executable_extensions; do
2706 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2707      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2708      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709      break 2
# Line 2708 | Line 2731 | if test -z "$ac_cv_prog_STRIP"; then
2731   set dummy strip; ac_word=$2
2732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733   $as_echo_n "checking for $ac_word... " >&6; }
2734 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2734 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2735    $as_echo_n "(cached) " >&6
2736   else
2737    if test -n "$ac_ct_STRIP"; then
# Line 2720 | Line 2743 | do
2743    IFS=$as_save_IFS
2744    test -z "$as_dir" && as_dir=.
2745      for ac_exec_ext in '' $ac_executable_extensions; do
2746 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2747      ac_cv_prog_ac_ct_STRIP="strip"
2748      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749      break 2
# Line 2761 | Line 2784 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2785   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2786   if test -z "$MKDIR_P"; then
2787 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2787 >  if ${ac_cv_path_mkdir+:} false; then :
2788    $as_echo_n "(cached) " >&6
2789   else
2790    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2771 | Line 2794 | do
2794    test -z "$as_dir" && as_dir=.
2795      for ac_prog in mkdir gmkdir; do
2796           for ac_exec_ext in '' $ac_executable_extensions; do
2797 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2797 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2798             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2799               'mkdir (GNU coreutils) '* | \
2800               'mkdir (coreutils) '* | \
# Line 2800 | Line 2823 | fi
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2824   $as_echo "$MKDIR_P" >&6; }
2825  
2803 – mkdir_p="$MKDIR_P"
2804 – case $mkdir_p in
2805 –  [\\/$]* | ?:[\\/]*) ;;
2806 –  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2807 – esac
2808 –
2826   for ac_prog in gawk mawk nawk awk
2827   do
2828    # Extract the first word of "$ac_prog", so it can be a program name with args.
2829   set dummy $ac_prog; ac_word=$2
2830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831   $as_echo_n "checking for $ac_word... " >&6; }
2832 < if test "${ac_cv_prog_AWK+set}" = set; then :
2832 > if ${ac_cv_prog_AWK+:} false; then :
2833    $as_echo_n "(cached) " >&6
2834   else
2835    if test -n "$AWK"; then
# Line 2824 | Line 2841 | do
2841    IFS=$as_save_IFS
2842    test -z "$as_dir" && as_dir=.
2843      for ac_exec_ext in '' $ac_executable_extensions; do
2844 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2845      ac_cv_prog_AWK="$ac_prog"
2846      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847      break 2
# Line 2852 | Line 2869 | done
2869   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2870   set x ${MAKE-make}
2871   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2872 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2872 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2873    $as_echo_n "(cached) " >&6
2874   else
2875    cat >conftest.make <<\_ACEOF
# Line 2888 | Line 2905 | else
2905   fi
2906   rmdir .tst 2>/dev/null
2907  
2908 + # Check whether --enable-silent-rules was given.
2909 + if test "${enable_silent_rules+set}" = set; then :
2910 +  enableval=$enable_silent_rules;
2911 + fi
2912 +
2913 + case $enable_silent_rules in # (((
2914 +  yes) AM_DEFAULT_VERBOSITY=0;;
2915 +   no) AM_DEFAULT_VERBOSITY=1;;
2916 +    *) AM_DEFAULT_VERBOSITY=1;;
2917 + esac
2918 + am_make=${MAKE-make}
2919 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2920 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2921 + if ${am_cv_make_support_nested_variables+:} false; then :
2922 +  $as_echo_n "(cached) " >&6
2923 + else
2924 +  if $as_echo 'TRUE=$(BAR$(V))
2925 + BAR0=false
2926 + BAR1=true
2927 + V=1
2928 + am__doit:
2929 +        @$(TRUE)
2930 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2931 +  am_cv_make_support_nested_variables=yes
2932 + else
2933 +  am_cv_make_support_nested_variables=no
2934 + fi
2935 + fi
2936 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2937 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2938 + if test $am_cv_make_support_nested_variables = yes; then
2939 +    AM_V='$(V)'
2940 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2941 + else
2942 +  AM_V=$AM_DEFAULT_VERBOSITY
2943 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2944 + fi
2945 + AM_BACKSLASH='\'
2946 +
2947   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2948    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2949    # is not polluted with repeated "-I."
# Line 2910 | Line 2966 | fi
2966  
2967   # Define the identity of the package.
2968   PACKAGE='ircd-hybrid'
2969 < VERSION='7.3-rc1'
2969 > VERSION='TRUNK'
2970  
2971  
2972   cat >>confdefs.h <<_ACEOF
# Line 2938 | Line 2994 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2994  
2995   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2996  
2997 + # For better backward compatibility.  To be removed once Automake 1.9.x
2998 + # dies out for good.  For more background, see:
2999 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3000 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3001 + mkdir_p='$(MKDIR_P)'
3002 +
3003   # We need awk for the "check" target.  The system "awk" is bad on
3004   # some platforms.
3005 < # Always define AMTAR for backward compatibility.
3005 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3006 > # in the wild :-(  We should find a proper way to deprecate it ...
3007 > AMTAR='$${TAR-tar}'
3008 >
3009 >
3010 > # We'll loop over all known methods to create a tar archive until one works.
3011 > _am_tools='gnutar  pax cpio none'
3012 >
3013 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3014  
2945 – AMTAR=${AMTAR-"${am_missing_run}tar"}
3015  
2947 – am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3016  
3017  
3018  
3019  
3020 + # POSIX will say in a future version that running "rm -f" with no argument
3021 + # is OK; and we want to be able to make that assumption in our Makefile
3022 + # recipes.  So use an aggressive probe to check that the usage we want is
3023 + # actually supported "in the wild" to an acceptable degree.
3024 + # See automake bug#10828.
3025 + # To make any issue more visible, cause the running configure to be aborted
3026 + # by default if the 'rm' program in use doesn't match our expectations; the
3027 + # user can still override this though.
3028 + if rm -f && rm -fr && rm -rf; then : OK; else
3029 +  cat >&2 <<'END'
3030 + Oops!
3031  
3032 + Your 'rm' program seems unable to run without file operands specified
3033 + on the command line, even when the '-f' option is present.  This is contrary
3034 + to the behaviour of most rm programs out there, and not conforming with
3035 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3036 +
3037 + Please tell bug-automake@gnu.org about your system, including the value
3038 + of your $PATH and any error possibly output before this message.  This
3039 + can help us improve future automake versions.
3040 +
3041 + END
3042 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3043 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3044 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3045 +    echo >&2
3046 +  else
3047 +    cat >&2 <<'END'
3048 + Aborting the configuration process, to ensure you take notice of the issue.
3049 +
3050 + You can download and install GNU coreutils to get an 'rm' implementation
3051 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3052 +
3053 + If you want to complete the configuration process using your problematic
3054 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3055 + to "yes", and re-run configure.
3056 +
3057 + END
3058 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3059 +  fi
3060 + fi
3061  
3062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3063   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Line 2973 | Line 3081 | fi
3081    MAINT=$MAINTAINER_MODE_TRUE
3082  
3083  
3084 +
3085   ac_config_headers="$ac_config_headers config.h"
3086  
3087  
# Line 2997 | Line 3106 | am__quote=
3106   _am_result=none
3107   # First try GNU make style include.
3108   echo "include confinc" > confmf
3109 < # Ignore all kinds of additional output from `make'.
3109 > # Ignore all kinds of additional output from 'make'.
3110   case `$am_make -s -f confmf 2> /dev/null` in #(
3111   *the\ am__doit\ target*)
3112    am__include=include
# Line 3030 | Line 3139 | fi
3139   if test "x$enable_dependency_tracking" != xno; then
3140    am_depcomp="$ac_aux_dir/depcomp"
3141    AMDEPBACKSLASH='\'
3142 +  am__nodep='_no'
3143   fi
3144   if test "x$enable_dependency_tracking" != xno; then
3145    AMDEP_TRUE=
# Line 3050 | Line 3160 | if test -n "$ac_tool_prefix"; then
3160   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162   $as_echo_n "checking for $ac_word... " >&6; }
3163 < if test "${ac_cv_prog_CC+set}" = set; then :
3163 > if ${ac_cv_prog_CC+:} false; then :
3164    $as_echo_n "(cached) " >&6
3165   else
3166    if test -n "$CC"; then
# Line 3062 | Line 3172 | do
3172    IFS=$as_save_IFS
3173    test -z "$as_dir" && as_dir=.
3174      for ac_exec_ext in '' $ac_executable_extensions; do
3175 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3177      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178      break 2
# Line 3090 | Line 3200 | if test -z "$ac_cv_prog_CC"; then
3200   set dummy gcc; ac_word=$2
3201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202   $as_echo_n "checking for $ac_word... " >&6; }
3203 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3203 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3204    $as_echo_n "(cached) " >&6
3205   else
3206    if test -n "$ac_ct_CC"; then
# Line 3102 | Line 3212 | do
3212    IFS=$as_save_IFS
3213    test -z "$as_dir" && as_dir=.
3214      for ac_exec_ext in '' $ac_executable_extensions; do
3215 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216      ac_cv_prog_ac_ct_CC="gcc"
3217      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218      break 2
# Line 3143 | Line 3253 | if test -z "$CC"; then
3253   set dummy ${ac_tool_prefix}cc; ac_word=$2
3254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255   $as_echo_n "checking for $ac_word... " >&6; }
3256 < if test "${ac_cv_prog_CC+set}" = set; then :
3256 > if ${ac_cv_prog_CC+:} false; then :
3257    $as_echo_n "(cached) " >&6
3258   else
3259    if test -n "$CC"; then
# Line 3155 | Line 3265 | do
3265    IFS=$as_save_IFS
3266    test -z "$as_dir" && as_dir=.
3267      for ac_exec_ext in '' $ac_executable_extensions; do
3268 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269      ac_cv_prog_CC="${ac_tool_prefix}cc"
3270      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271      break 2
# Line 3183 | Line 3293 | if test -z "$CC"; then
3293   set dummy cc; ac_word=$2
3294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295   $as_echo_n "checking for $ac_word... " >&6; }
3296 < if test "${ac_cv_prog_CC+set}" = set; then :
3296 > if ${ac_cv_prog_CC+:} false; then :
3297    $as_echo_n "(cached) " >&6
3298   else
3299    if test -n "$CC"; then
# Line 3196 | Line 3306 | do
3306    IFS=$as_save_IFS
3307    test -z "$as_dir" && as_dir=.
3308      for ac_exec_ext in '' $ac_executable_extensions; do
3309 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3310      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3311         ac_prog_rejected=yes
3312         continue
# Line 3242 | Line 3352 | if test -z "$CC"; then
3352   set dummy $ac_tool_prefix$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_CC+set}" = set; then :
3355 > if ${ac_cv_prog_CC+:} false; then :
3356    $as_echo_n "(cached) " >&6
3357   else
3358    if test -n "$CC"; then
# Line 3254 | 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_CC="$ac_tool_prefix$ac_prog"
3369      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370      break 2
# Line 3286 | Line 3396 | do
3396   set dummy $ac_prog; ac_word=$2
3397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398   $as_echo_n "checking for $ac_word... " >&6; }
3399 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3399 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3400    $as_echo_n "(cached) " >&6
3401   else
3402    if test -n "$ac_ct_CC"; then
# Line 3298 | Line 3408 | do
3408    IFS=$as_save_IFS
3409    test -z "$as_dir" && as_dir=.
3410      for ac_exec_ext in '' $ac_executable_extensions; do
3411 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412      ac_cv_prog_ac_ct_CC="$ac_prog"
3413      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414      break 2
# Line 3569 | Line 3679 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3679   ac_clean_files=$ac_clean_files_save
3680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3681   $as_echo_n "checking for suffix of object files... " >&6; }
3682 < if test "${ac_cv_objext+set}" = set; then :
3682 > if ${ac_cv_objext+:} false; then :
3683    $as_echo_n "(cached) " >&6
3684   else
3685    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3620 | Line 3730 | OBJEXT=$ac_cv_objext
3730   ac_objext=$OBJEXT
3731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3732   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3733 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3733 > if ${ac_cv_c_compiler_gnu+:} false; then :
3734    $as_echo_n "(cached) " >&6
3735   else
3736    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3657 | Line 3767 | ac_test_CFLAGS=${CFLAGS+set}
3767   ac_save_CFLAGS=$CFLAGS
3768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3769   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3770 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3770 > if ${ac_cv_prog_cc_g+:} false; then :
3771    $as_echo_n "(cached) " >&6
3772   else
3773    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3735 | Line 3845 | else
3845   fi
3846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3847   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3848 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3848 > if ${ac_cv_prog_cc_c89+:} false; then :
3849    $as_echo_n "(cached) " >&6
3850   else
3851    ac_cv_prog_cc_c89=no
# Line 3744 | Line 3854 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3854   /* end confdefs.h.  */
3855   #include <stdarg.h>
3856   #include <stdio.h>
3857 < #include <sys/types.h>
3748 < #include <sys/stat.h>
3857 > struct stat;
3858   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3859   struct buf { int x; };
3860   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3830 | Line 3939 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3939   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941  
3942 + ac_ext=c
3943 + ac_cpp='$CPP $CPPFLAGS'
3944 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3945 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3946 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3947 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3948 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3949 + if ${am_cv_prog_cc_c_o+:} false; then :
3950 +  $as_echo_n "(cached) " >&6
3951 + else
3952 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 + /* end confdefs.h.  */
3954 +
3955 + int
3956 + main ()
3957 + {
3958 +
3959 +  ;
3960 +  return 0;
3961 + }
3962 + _ACEOF
3963 +  # Make sure it works both with $CC and with simple cc.
3964 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3965 +  # compilers refuse to overwrite an existing .o file with -o,
3966 +  # though they will create one.
3967 +  am_cv_prog_cc_c_o=yes
3968 +  for am_i in 1 2; do
3969 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3970 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3971 +   ac_status=$?
3972 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 +   (exit $ac_status); } \
3974 +         && test -f conftest2.$ac_objext; then
3975 +      : OK
3976 +    else
3977 +      am_cv_prog_cc_c_o=no
3978 +      break
3979 +    fi
3980 +  done
3981 +  rm -f core conftest*
3982 +  unset am_i
3983 + fi
3984 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3985 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3986 + if test "$am_cv_prog_cc_c_o" != yes; then
3987 +   # Losing compiler, so override with the script.
3988 +   # FIXME: It is wrong to rewrite CC.
3989 +   # But if we don't then we get into trouble of one sort or another.
3990 +   # A longer-term fix would be to have automake use am__CC in this case,
3991 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3992 +   CC="$am_aux_dir/compile $CC"
3993 + fi
3994 + ac_ext=c
3995 + ac_cpp='$CPP $CPPFLAGS'
3996 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3997 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3998 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3999 +
4000 +
4001   depcc="$CC"   am_compiler_list=
4002  
4003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4004   $as_echo_n "checking dependency style of $depcc... " >&6; }
4005 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4005 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4006    $as_echo_n "(cached) " >&6
4007   else
4008    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4009    # We make a subdir and do the tests there.  Otherwise we can end up
4010    # making bogus files that we don't know about and never remove.  For
4011    # instance it was reported that on HP-UX the gcc test will end up
4012 <  # making a dummy file named `D' -- because `-MD' means `put the output
4013 <  # in D'.
4012 >  # making a dummy file named 'D' -- because '-MD' means "put the output
4013 >  # in D".
4014 >  rm -rf conftest.dir
4015    mkdir conftest.dir
4016    # Copy depcomp to subdir because otherwise we won't find it if we're
4017    # using a relative directory.
# Line 3876 | Line 4045 | else
4045      : > sub/conftest.c
4046      for i in 1 2 3 4 5 6; do
4047        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4048 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4049 <      # Solaris 8's {/usr,}/bin/sh.
4050 <      touch sub/conftst$i.h
4048 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4049 >      # Solaris 10 /bin/sh.
4050 >      echo '/* dummy */' > sub/conftst$i.h
4051      done
4052      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4053  
4054 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4054 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4055      # mode.  It turns out that the SunPro C++ compiler does not properly
4056 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4057 <    # versions had trouble with output in subdirs
4056 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4057 >    # versions had trouble with output in subdirs.
4058      am__obj=sub/conftest.${OBJEXT-o}
4059      am__minus_obj="-o $am__obj"
4060      case $depmode in
# Line 3894 | Line 4063 | else
4063        test "$am__universal" = false || continue
4064        ;;
4065      nosideeffect)
4066 <      # after this tag, mechanisms are not by side-effect, so they'll
4067 <      # only be used when explicitly requested
4066 >      # After this tag, mechanisms are not by side-effect, so they'll
4067 >      # only be used when explicitly requested.
4068        if test "x$enable_dependency_tracking" = xyes; then
4069          continue
4070        else
4071          break
4072        fi
4073        ;;
4074 <    msvisualcpp | msvcmsys)
4075 <      # This compiler won't grok `-c -o', but also, the minuso test has
4074 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4075 >      # This compiler won't grok '-c -o', but also, the minuso test has
4076        # not run yet.  These depmodes are late enough in the game, and
4077        # so weak that their functioning should not be impacted.
4078        am__obj=conftest.${OBJEXT-o}
# Line 3959 | Line 4128 | fi
4128  
4129     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4130   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4131 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4131 > if ${ac_cv_prog_cc_c99+:} false; then :
4132    $as_echo_n "(cached) " >&6
4133   else
4134    ac_cv_prog_cc_c99=no
# Line 4103 | Line 4272 | main ()
4272    return 0;
4273   }
4274   _ACEOF
4275 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4275 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4276   do
4277    CC="$ac_save_CC $ac_arg"
4278    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4135 | Line 4304 | fi
4304  
4305  
4306   if test "$ac_cv_prog_cc_c99" = "no"; then :
4307 <  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4307 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4308   fi
4309   for ac_prog in 'bison -y' byacc
4310   do
# Line 4143 | Line 4312 | do
4312   set dummy $ac_prog; ac_word=$2
4313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314   $as_echo_n "checking for $ac_word... " >&6; }
4315 < if test "${ac_cv_prog_YACC+set}" = set; then :
4315 > if ${ac_cv_prog_YACC+:} false; then :
4316    $as_echo_n "(cached) " >&6
4317   else
4318    if test -n "$YACC"; then
# Line 4155 | Line 4324 | do
4324    IFS=$as_save_IFS
4325    test -z "$as_dir" && as_dir=.
4326      for ac_exec_ext in '' $ac_executable_extensions; do
4327 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4327 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4328      ac_cv_prog_YACC="$ac_prog"
4329      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330      break 2
# Line 4187 | Line 4356 | do
4356   set dummy $ac_prog; ac_word=$2
4357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358   $as_echo_n "checking for $ac_word... " >&6; }
4359 < if test "${ac_cv_prog_LEX+set}" = set; then :
4359 > if ${ac_cv_prog_LEX+:} false; then :
4360    $as_echo_n "(cached) " >&6
4361   else
4362    if test -n "$LEX"; then
# Line 4199 | Line 4368 | do
4368    IFS=$as_save_IFS
4369    test -z "$as_dir" && as_dir=.
4370      for ac_exec_ext in '' $ac_executable_extensions; do
4371 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4372      ac_cv_prog_LEX="$ac_prog"
4373      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374      break 2
# Line 4231 | Line 4400 | a { ECHO; }
4400   b { REJECT; }
4401   c { yymore (); }
4402   d { yyless (1); }
4403 < e { yyless (input () != 0); }
4403 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4404 >    yyless ((input () != 0)); }
4405   f { unput (yytext[0]); }
4406   . { BEGIN INITIAL; }
4407   %%
# Line 4257 | Line 4427 | $as_echo "$ac_try_echo"; } >&5
4427    test $ac_status = 0; }
4428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4429   $as_echo_n "checking lex output file root... " >&6; }
4430 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4430 > if ${ac_cv_prog_lex_root+:} false; then :
4431    $as_echo_n "(cached) " >&6
4432   else
4433  
# Line 4276 | Line 4446 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4446   if test -z "${LEXLIB+set}"; then
4447    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4448   $as_echo_n "checking lex library... " >&6; }
4449 < if test "${ac_cv_lib_lex+set}" = set; then :
4449 > if ${ac_cv_lib_lex+:} false; then :
4450    $as_echo_n "(cached) " >&6
4451   else
4452  
# Line 4306 | Line 4476 | fi
4476  
4477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4478   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4479 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4479 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4480    $as_echo_n "(cached) " >&6
4481   else
4482    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4317 | Line 4487 | ac_save_LIBS=$LIBS
4487   LIBS="$LEXLIB $ac_save_LIBS"
4488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489   /* end confdefs.h.  */
4490 < #define YYTEXT_POINTER 1
4490 >
4491 >  #define YYTEXT_POINTER 1
4492   `cat $LEX_OUTPUT_ROOT.c`
4493   _ACEOF
4494   if ac_fn_c_try_link "$LINENO"; then :
# Line 4359 | Line 4530 | esac
4530  
4531  
4532  
4533 < macro_version='2.2.10'
4534 < macro_revision='1.3175'
4533 > macro_version='2.4.2'
4534 > macro_revision='1.3337'
4535  
4536  
4537  
# Line 4382 | Line 4553 | $SHELL "$ac_aux_dir/config.sub" sun4 >/d
4553  
4554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4555   $as_echo_n "checking build system type... " >&6; }
4556 < if test "${ac_cv_build+set}" = set; then :
4556 > if ${ac_cv_build+:} false; then :
4557    $as_echo_n "(cached) " >&6
4558   else
4559    ac_build_alias=$build_alias
# Line 4416 | Line 4587 | case $build_os in *\ *) build_os=`echo "
4587  
4588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4589   $as_echo_n "checking host system type... " >&6; }
4590 < if test "${ac_cv_host+set}" = set; then :
4590 > if ${ac_cv_host+:} false; then :
4591    $as_echo_n "(cached) " >&6
4592   else
4593    if test "x$host_alias" = x; then
# Line 4471 | Line 4642 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4643   $as_echo_n "checking how to print strings... " >&6; }
4644   # Test print first, because it will be a builtin if present.
4645 < if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4645 > if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4646     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4647    ECHO='print -r --'
4648   elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
# Line 4518 | Line 4689 | esac
4689  
4690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4691   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4692 < if test "${ac_cv_path_SED+set}" = set; then :
4692 > if ${ac_cv_path_SED+:} false; then :
4693    $as_echo_n "(cached) " >&6
4694   else
4695              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4538 | Line 4709 | do
4709      for ac_prog in sed gsed; do
4710      for ac_exec_ext in '' $ac_executable_extensions; do
4711        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4712 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4712 >      as_fn_executable_p "$ac_path_SED" || continue
4713   # Check for GNU ac_path_SED and select it if it is found.
4714    # Check for GNU $ac_path_SED
4715   case `"$ac_path_SED" --version 2>&1` in
# Line 4600 | Line 4771 | Xsed="$SED -e 1s/^X//"
4771  
4772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4773   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4774 < if test "${ac_cv_path_GREP+set}" = set; then :
4774 > if ${ac_cv_path_GREP+:} false; then :
4775    $as_echo_n "(cached) " >&6
4776   else
4777    if test -z "$GREP"; then
# Line 4614 | Line 4785 | do
4785      for ac_prog in grep ggrep; do
4786      for ac_exec_ext in '' $ac_executable_extensions; do
4787        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4788 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4788 >      as_fn_executable_p "$ac_path_GREP" || continue
4789   # Check for GNU ac_path_GREP and select it if it is found.
4790    # Check for GNU $ac_path_GREP
4791   case `"$ac_path_GREP" --version 2>&1` in
# Line 4663 | Line 4834 | $as_echo "$ac_cv_path_GREP" >&6; }
4834  
4835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4836   $as_echo_n "checking for egrep... " >&6; }
4837 < if test "${ac_cv_path_EGREP+set}" = set; then :
4837 > if ${ac_cv_path_EGREP+:} false; then :
4838    $as_echo_n "(cached) " >&6
4839   else
4840    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4680 | Line 4851 | do
4851      for ac_prog in egrep; do
4852      for ac_exec_ext in '' $ac_executable_extensions; do
4853        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4854 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4854 >      as_fn_executable_p "$ac_path_EGREP" || continue
4855   # Check for GNU ac_path_EGREP and select it if it is found.
4856    # Check for GNU $ac_path_EGREP
4857   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4730 | Line 4901 | $as_echo "$ac_cv_path_EGREP" >&6; }
4901  
4902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4903   $as_echo_n "checking for fgrep... " >&6; }
4904 < if test "${ac_cv_path_FGREP+set}" = set; then :
4904 > if ${ac_cv_path_FGREP+:} false; then :
4905    $as_echo_n "(cached) " >&6
4906   else
4907    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4747 | Line 4918 | do
4918      for ac_prog in fgrep; do
4919      for ac_exec_ext in '' $ac_executable_extensions; do
4920        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4921 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4921 >      as_fn_executable_p "$ac_path_FGREP" || continue
4922   # Check for GNU ac_path_FGREP and select it if it is found.
4923    # Check for GNU $ac_path_FGREP
4924   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4861 | Line 5032 | else
5032    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5033   $as_echo_n "checking for non-GNU ld... " >&6; }
5034   fi
5035 < if test "${lt_cv_path_LD+set}" = set; then :
5035 > if ${lt_cv_path_LD+:} false; then :
5036    $as_echo_n "(cached) " >&6
5037   else
5038    if test -z "$LD"; then
# Line 4901 | Line 5072 | fi
5072   test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5074   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5075 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5075 > if ${lt_cv_prog_gnu_ld+:} false; then :
5076    $as_echo_n "(cached) " >&6
5077   else
5078    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4928 | Line 5099 | with_gnu_ld=$lt_cv_prog_gnu_ld
5099  
5100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5101   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5102 < if test "${lt_cv_path_NM+set}" = set; then :
5102 > if ${lt_cv_path_NM+:} false; then :
5103    $as_echo_n "(cached) " >&6
5104   else
5105    if test -n "$NM"; then
# Line 4991 | Line 5162 | else
5162   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164   $as_echo_n "checking for $ac_word... " >&6; }
5165 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5165 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5166    $as_echo_n "(cached) " >&6
5167   else
5168    if test -n "$DUMPBIN"; then
# Line 5003 | Line 5174 | do
5174    IFS=$as_save_IFS
5175    test -z "$as_dir" && as_dir=.
5176      for ac_exec_ext in '' $ac_executable_extensions; do
5177 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5179      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180      break 2
# Line 5035 | Line 5206 | do
5206   set dummy $ac_prog; ac_word=$2
5207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208   $as_echo_n "checking for $ac_word... " >&6; }
5209 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5209 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5210    $as_echo_n "(cached) " >&6
5211   else
5212    if test -n "$ac_ct_DUMPBIN"; then
# Line 5047 | Line 5218 | do
5218    IFS=$as_save_IFS
5219    test -z "$as_dir" && as_dir=.
5220      for ac_exec_ext in '' $ac_executable_extensions; do
5221 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5223      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224      break 2
# Line 5107 | Line 5278 | test -z "$NM" && NM=nm
5278  
5279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5280   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5281 < if test "${lt_cv_nm_interface+set}" = set; then :
5281 > if ${lt_cv_nm_interface+:} false; then :
5282    $as_echo_n "(cached) " >&6
5283   else
5284    lt_cv_nm_interface="BSD nm"
# Line 5142 | Line 5313 | fi
5313   # find the maximum length of command line arguments
5314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5315   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5316 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5316 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5317    $as_echo_n "(cached) " >&6
5318   else
5319      i=0
# Line 5205 | Line 5376 | else
5376      lt_cv_sys_max_cmd_len=196608
5377      ;;
5378  
5379 +  os2*)
5380 +    # The test takes a long time on OS/2.
5381 +    lt_cv_sys_max_cmd_len=8192
5382 +    ;;
5383 +
5384    osf*)
5385      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5386      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5244 | Line 5420 | else
5420        # If test is not a shell built-in, we'll probably end up computing a
5421        # maximum length that is only half of the actual maximum length, but
5422        # we can't tell.
5423 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5423 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5424                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5425                test $i != 17 # 1/2 MB should be enough
5426        do
# Line 5287 | Line 5463 | $as_echo_n "checking whether the shell u
5463   # Try some XSI features
5464   xsi_shell=no
5465   ( _lt_dummy="a/b/c"
5466 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5467 <      = c,a/b,, \
5466 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5467 >      = c,a/b,b/c, \
5468      && eval 'test $(( 1 + 1 )) -eq 2 \
5469      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5470    && xsi_shell=yes
# Line 5337 | Line 5513 | esac
5513  
5514  
5515  
5516 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5517 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5518 + if ${lt_cv_to_host_file_cmd+:} false; then :
5519 +  $as_echo_n "(cached) " >&6
5520 + else
5521 +  case $host in
5522 +  *-*-mingw* )
5523 +    case $build in
5524 +      *-*-mingw* ) # actually msys
5525 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5526 +        ;;
5527 +      *-*-cygwin* )
5528 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5529 +        ;;
5530 +      * ) # otherwise, assume *nix
5531 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5532 +        ;;
5533 +    esac
5534 +    ;;
5535 +  *-*-cygwin* )
5536 +    case $build in
5537 +      *-*-mingw* ) # actually msys
5538 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5539 +        ;;
5540 +      *-*-cygwin* )
5541 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5542 +        ;;
5543 +      * ) # otherwise, assume *nix
5544 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5545 +        ;;
5546 +    esac
5547 +    ;;
5548 +  * ) # unhandled hosts (and "normal" native builds)
5549 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5550 +    ;;
5551 + esac
5552 +
5553 + fi
5554 +
5555 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5556 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5557 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5558 +
5559 +
5560 +
5561 +
5562 +
5563 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5564 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5565 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5566 +  $as_echo_n "(cached) " >&6
5567 + else
5568 +  #assume ordinary cross tools, or native build.
5569 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5570 + case $host in
5571 +  *-*-mingw* )
5572 +    case $build in
5573 +      *-*-mingw* ) # actually msys
5574 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5575 +        ;;
5576 +    esac
5577 +    ;;
5578 + esac
5579 +
5580 + fi
5581 +
5582 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5583 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5584 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5585 +
5586 +
5587 +
5588 +
5589 +
5590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5591   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5592 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5592 > if ${lt_cv_ld_reload_flag+:} false; then :
5593    $as_echo_n "(cached) " >&6
5594   else
5595    lt_cv_ld_reload_flag='-r'
# Line 5353 | Line 5603 | case $reload_flag in
5603   esac
5604   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5605   case $host_os in
5606 +  cygwin* | mingw* | pw32* | cegcc*)
5607 +    if test "$GCC" != yes; then
5608 +      reload_cmds=false
5609 +    fi
5610 +    ;;
5611    darwin*)
5612      if test "$GCC" = yes; then
5613        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5375 | Line 5630 | if test -n "$ac_tool_prefix"; then
5630   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632   $as_echo_n "checking for $ac_word... " >&6; }
5633 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5633 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5634    $as_echo_n "(cached) " >&6
5635   else
5636    if test -n "$OBJDUMP"; then
# Line 5387 | Line 5642 | do
5642    IFS=$as_save_IFS
5643    test -z "$as_dir" && as_dir=.
5644      for ac_exec_ext in '' $ac_executable_extensions; do
5645 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5646      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5647      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5648      break 2
# Line 5415 | Line 5670 | if test -z "$ac_cv_prog_OBJDUMP"; then
5670   set dummy objdump; ac_word=$2
5671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672   $as_echo_n "checking for $ac_word... " >&6; }
5673 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5673 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5674    $as_echo_n "(cached) " >&6
5675   else
5676    if test -n "$ac_ct_OBJDUMP"; then
# Line 5427 | Line 5682 | do
5682    IFS=$as_save_IFS
5683    test -z "$as_dir" && as_dir=.
5684      for ac_exec_ext in '' $ac_executable_extensions; do
5685 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5685 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5686      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5687      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688      break 2
# Line 5474 | Line 5729 | test -z "$OBJDUMP" && OBJDUMP=objdump
5729  
5730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5731   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5732 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5732 > if ${lt_cv_deplibs_check_method+:} false; then :
5733    $as_echo_n "(cached) " >&6
5734   else
5735    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5594 | Line 5849 | irix5* | irix6* | nonstopux*)
5849    lt_cv_deplibs_check_method=pass_all
5850    ;;
5851  
5852 < # This must be Linux ELF.
5852 > # This must be glibc/ELF.
5853   linux* | k*bsd*-gnu | kopensolaris*-gnu)
5854    lt_cv_deplibs_check_method=pass_all
5855    ;;
# Line 5676 | Line 5931 | esac
5931   fi
5932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5933   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5934 +
5935 + file_magic_glob=
5936 + want_nocaseglob=no
5937 + if test "$build" = "$host"; then
5938 +  case $host_os in
5939 +  mingw* | pw32*)
5940 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5941 +      want_nocaseglob=yes
5942 +    else
5943 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5944 +    fi
5945 +    ;;
5946 +  esac
5947 + fi
5948 +
5949   file_magic_cmd=$lt_cv_file_magic_cmd
5950   deplibs_check_method=$lt_cv_deplibs_check_method
5951   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5691 | Line 5961 | test -z "$deplibs_check_method" && depli
5961  
5962  
5963  
5964 +
5965 +
5966 +
5967 +
5968 +
5969 +
5970 +
5971 +
5972 +
5973 +
5974   if test -n "$ac_tool_prefix"; then
5975 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5976 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5975 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5976 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5977 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978 > $as_echo_n "checking for $ac_word... " >&6; }
5979 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5980 >  $as_echo_n "(cached) " >&6
5981 > else
5982 >  if test -n "$DLLTOOL"; then
5983 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5984 > else
5985 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 > for as_dir in $PATH
5987 > do
5988 >  IFS=$as_save_IFS
5989 >  test -z "$as_dir" && as_dir=.
5990 >    for ac_exec_ext in '' $ac_executable_extensions; do
5991 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5993 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994 >    break 2
5995 >  fi
5996 > done
5997 >  done
5998 > IFS=$as_save_IFS
5999 >
6000 > fi
6001 > fi
6002 > DLLTOOL=$ac_cv_prog_DLLTOOL
6003 > if test -n "$DLLTOOL"; then
6004 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6005 > $as_echo "$DLLTOOL" >&6; }
6006 > else
6007 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 > $as_echo "no" >&6; }
6009 > fi
6010 >
6011 >
6012 > fi
6013 > if test -z "$ac_cv_prog_DLLTOOL"; then
6014 >  ac_ct_DLLTOOL=$DLLTOOL
6015 >  # Extract the first word of "dlltool", so it can be a program name with args.
6016 > set dummy dlltool; 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 test "${ac_cv_prog_AR+set}" = set; then :
6019 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6020 >  $as_echo_n "(cached) " >&6
6021 > else
6022 >  if test -n "$ac_ct_DLLTOOL"; then
6023 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6024 > else
6025 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 > for as_dir in $PATH
6027 > 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6033 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 >    break 2
6035 >  fi
6036 > done
6037 >  done
6038 > IFS=$as_save_IFS
6039 >
6040 > fi
6041 > fi
6042 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6043 > if test -n "$ac_ct_DLLTOOL"; then
6044 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6045 > $as_echo "$ac_ct_DLLTOOL" >&6; }
6046 > else
6047 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 > $as_echo "no" >&6; }
6049 > fi
6050 >
6051 >  if test "x$ac_ct_DLLTOOL" = x; then
6052 >    DLLTOOL="false"
6053 >  else
6054 >    case $cross_compiling:$ac_tool_warned in
6055 > yes:)
6056 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6057 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6058 > ac_tool_warned=yes ;;
6059 > esac
6060 >    DLLTOOL=$ac_ct_DLLTOOL
6061 >  fi
6062 > else
6063 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
6064 > fi
6065 >
6066 > test -z "$DLLTOOL" && DLLTOOL=dlltool
6067 >
6068 >
6069 >
6070 >
6071 >
6072 >
6073 >
6074 >
6075 >
6076 >
6077 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6078 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6079 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6080 >  $as_echo_n "(cached) " >&6
6081 > else
6082 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
6083 >
6084 > case $host_os in
6085 > cygwin* | mingw* | pw32* | cegcc*)
6086 >  # two different shell functions defined in ltmain.sh
6087 >  # decide which to use based on capabilities of $DLLTOOL
6088 >  case `$DLLTOOL --help 2>&1` in
6089 >  *--identify-strict*)
6090 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6091 >    ;;
6092 >  *)
6093 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6094 >    ;;
6095 >  esac
6096 >  ;;
6097 > *)
6098 >  # fallback: assume linklib IS sharedlib
6099 >  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6100 >  ;;
6101 > esac
6102 >
6103 > fi
6104 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6105 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6106 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6107 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6108 >
6109 >
6110 >
6111 >
6112 >
6113 >
6114 >
6115 > if test -n "$ac_tool_prefix"; then
6116 >  for ac_prog in ar
6117 >  do
6118 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6119 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6120 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 > $as_echo_n "checking for $ac_word... " >&6; }
6122 > if ${ac_cv_prog_AR+:} false; then :
6123    $as_echo_n "(cached) " >&6
6124   else
6125    if test -n "$AR"; then
# Line 5708 | Line 6131 | do
6131    IFS=$as_save_IFS
6132    test -z "$as_dir" && as_dir=.
6133      for ac_exec_ext in '' $ac_executable_extensions; do
6134 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6135 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6134 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6135 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6136      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6137      break 2
6138    fi
# Line 5729 | Line 6152 | $as_echo "no" >&6; }
6152   fi
6153  
6154  
6155 +    test -n "$AR" && break
6156 +  done
6157   fi
6158 < if test -z "$ac_cv_prog_AR"; then
6158 > if test -z "$AR"; then
6159    ac_ct_AR=$AR
6160 <  # Extract the first word of "ar", so it can be a program name with args.
6161 < set dummy ar; ac_word=$2
6160 >  for ac_prog in ar
6161 > do
6162 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6163 > set dummy $ac_prog; ac_word=$2
6164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165   $as_echo_n "checking for $ac_word... " >&6; }
6166 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6166 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6167    $as_echo_n "(cached) " >&6
6168   else
6169    if test -n "$ac_ct_AR"; then
# Line 5748 | Line 6175 | do
6175    IFS=$as_save_IFS
6176    test -z "$as_dir" && as_dir=.
6177      for ac_exec_ext in '' $ac_executable_extensions; do
6178 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6179 <    ac_cv_prog_ac_ct_AR="ar"
6178 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6180      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181      break 2
6182    fi
# Line 5768 | Line 6195 | else
6195   $as_echo "no" >&6; }
6196   fi
6197  
6198 +
6199 +  test -n "$ac_ct_AR" && break
6200 + done
6201 +
6202    if test "x$ac_ct_AR" = x; then
6203      AR="false"
6204    else
# Line 5779 | Line 6210 | ac_tool_warned=yes ;;
6210   esac
6211      AR=$ac_ct_AR
6212    fi
5782 – else
5783 –  AR="$ac_cv_prog_AR"
6213   fi
6214  
6215 < test -z "$AR" && AR=ar
6216 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6215 > : ${AR=ar}
6216 > : ${AR_FLAGS=cru}
6217 >
6218 >
6219 >
6220 >
6221 >
6222 >
6223 >
6224 >
6225 >
6226 >
6227 >
6228 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6229 > $as_echo_n "checking for archiver @FILE support... " >&6; }
6230 > if ${lt_cv_ar_at_file+:} false; then :
6231 >  $as_echo_n "(cached) " >&6
6232 > else
6233 >  lt_cv_ar_at_file=no
6234 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6235 > /* end confdefs.h.  */
6236 >
6237 > int
6238 > main ()
6239 > {
6240  
6241 +  ;
6242 +  return 0;
6243 + }
6244 + _ACEOF
6245 + if ac_fn_c_try_compile "$LINENO"; then :
6246 +  echo conftest.$ac_objext > conftest.lst
6247 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6248 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6249 +  (eval $lt_ar_try) 2>&5
6250 +  ac_status=$?
6251 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6252 +  test $ac_status = 0; }
6253 +      if test "$ac_status" -eq 0; then
6254 +        # Ensure the archiver fails upon bogus file names.
6255 +        rm -f conftest.$ac_objext libconftest.a
6256 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6257 +  (eval $lt_ar_try) 2>&5
6258 +  ac_status=$?
6259 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6260 +  test $ac_status = 0; }
6261 +        if test "$ac_status" -ne 0; then
6262 +          lt_cv_ar_at_file=@
6263 +        fi
6264 +      fi
6265 +      rm -f conftest.* libconftest.a
6266  
6267 + fi
6268 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6269  
6270 + fi
6271 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6272 + $as_echo "$lt_cv_ar_at_file" >&6; }
6273  
6274 + if test "x$lt_cv_ar_at_file" = xno; then
6275 +  archiver_list_spec=
6276 + else
6277 +  archiver_list_spec=$lt_cv_ar_at_file
6278 + fi
6279  
6280  
6281  
# Line 5801 | Line 6288 | if test -n "$ac_tool_prefix"; then
6288   set dummy ${ac_tool_prefix}strip; ac_word=$2
6289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290   $as_echo_n "checking for $ac_word... " >&6; }
6291 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6291 > if ${ac_cv_prog_STRIP+:} false; then :
6292    $as_echo_n "(cached) " >&6
6293   else
6294    if test -n "$STRIP"; then
# Line 5813 | Line 6300 | do
6300    IFS=$as_save_IFS
6301    test -z "$as_dir" && as_dir=.
6302      for ac_exec_ext in '' $ac_executable_extensions; do
6303 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6304      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6305      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306      break 2
# Line 5841 | Line 6328 | if test -z "$ac_cv_prog_STRIP"; then
6328   set dummy strip; ac_word=$2
6329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330   $as_echo_n "checking for $ac_word... " >&6; }
6331 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6331 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6332    $as_echo_n "(cached) " >&6
6333   else
6334    if test -n "$ac_ct_STRIP"; then
# Line 5853 | Line 6340 | do
6340    IFS=$as_save_IFS
6341    test -z "$as_dir" && as_dir=.
6342      for ac_exec_ext in '' $ac_executable_extensions; do
6343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344      ac_cv_prog_ac_ct_STRIP="strip"
6345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346      break 2
# Line 5900 | Line 6387 | if test -n "$ac_tool_prefix"; then
6387   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6389   $as_echo_n "checking for $ac_word... " >&6; }
6390 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6390 > if ${ac_cv_prog_RANLIB+:} false; then :
6391    $as_echo_n "(cached) " >&6
6392   else
6393    if test -n "$RANLIB"; then
# Line 5912 | Line 6399 | do
6399    IFS=$as_save_IFS
6400    test -z "$as_dir" && as_dir=.
6401      for ac_exec_ext in '' $ac_executable_extensions; do
6402 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6402 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6403      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6404      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6405      break 2
# Line 5940 | Line 6427 | if test -z "$ac_cv_prog_RANLIB"; then
6427   set dummy ranlib; ac_word=$2
6428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429   $as_echo_n "checking for $ac_word... " >&6; }
6430 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6430 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6431    $as_echo_n "(cached) " >&6
6432   else
6433    if test -n "$ac_ct_RANLIB"; then
# Line 5952 | Line 6439 | do
6439    IFS=$as_save_IFS
6440    test -z "$as_dir" && as_dir=.
6441      for ac_exec_ext in '' $ac_executable_extensions; do
6442 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443      ac_cv_prog_ac_ct_RANLIB="ranlib"
6444      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445      break 2
# Line 6002 | Line 6489 | old_postuninstall_cmds=
6489   if test -n "$RANLIB"; then
6490    case $host_os in
6491    openbsd*)
6492 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6492 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6493      ;;
6494    *)
6495 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6495 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6496      ;;
6497    esac
6498 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6498 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6499   fi
6500  
6501   case $host_os in
# Line 6069 | Line 6556 | compiler=$CC
6556   # Check for command to grab the raw symbol name followed by C symbol from nm.
6557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6558   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6559 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6559 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6560    $as_echo_n "(cached) " >&6
6561   else
6562  
# Line 6130 | Line 6617 | esac
6617   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6618  
6619   # Transform an extracted symbol line into symbol name and symbol address
6620 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6621 < 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'"
6620 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6621 > 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'"
6622  
6623   # Handle CRLF in mingw tool chain
6624   opt_cr=
# Line 6155 | Line 6642 | for ac_symprfx in "" "_"; do
6642      # which start with @ or ?.
6643      lt_cv_sys_global_symbol_pipe="$AWK '"\
6644   "     {last_section=section; section=\$ 3};"\
6645 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6646   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6647   "     \$ 0!~/External *\|/{next};"\
6648   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6167 | Line 6655 | for ac_symprfx in "" "_"; do
6655    else
6656      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6657    fi
6658 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6659  
6660    # Check to see that the pipe works correctly.
6661    pipe_works=no
# Line 6208 | Line 6697 | _LT_EOF
6697        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6698          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6699            cat <<_LT_EOF > conftest.$ac_ext
6700 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6701 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6702 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6703 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6704 + # define LT_DLSYM_CONST
6705 + #elif defined(__osf__)
6706 + /* This system does not cope well with relocations in const data.  */
6707 + # define LT_DLSYM_CONST
6708 + #else
6709 + # define LT_DLSYM_CONST const
6710 + #endif
6711 +
6712   #ifdef __cplusplus
6713   extern "C" {
6714   #endif
# Line 6219 | Line 6720 | _LT_EOF
6720            cat <<_LT_EOF >> conftest.$ac_ext
6721  
6722   /* The mapping between symbol names and symbols.  */
6723 < const struct {
6723 > LT_DLSYM_CONST struct {
6724    const char *name;
6725    void       *address;
6726   }
# Line 6245 | Line 6746 | static const void *lt_preloaded_setup()
6746   _LT_EOF
6747            # Now try linking the two files.
6748            mv conftest.$ac_objext conftstm.$ac_objext
6749 <          lt_save_LIBS="$LIBS"
6750 <          lt_save_CFLAGS="$CFLAGS"
6749 >          lt_globsym_save_LIBS=$LIBS
6750 >          lt_globsym_save_CFLAGS=$CFLAGS
6751            LIBS="conftstm.$ac_objext"
6752            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6753            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6256 | Line 6757 | _LT_EOF
6757    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6758              pipe_works=yes
6759            fi
6760 <          LIBS="$lt_save_LIBS"
6761 <          CFLAGS="$lt_save_CFLAGS"
6760 >          LIBS=$lt_globsym_save_LIBS
6761 >          CFLAGS=$lt_globsym_save_CFLAGS
6762          else
6763            echo "cannot find nm_test_func in $nlist" >&5
6764          fi
# Line 6294 | Line 6795 | else
6795   $as_echo "ok" >&6; }
6796   fi
6797  
6798 + # Response file support.
6799 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6800 +  nm_file_list_spec='@'
6801 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6802 +  nm_file_list_spec='@'
6803 + fi
6804 +
6805 +
6806  
6807  
6808  
# Line 6315 | Line 6824 | fi
6824  
6825  
6826  
6827 +
6828 +
6829 +
6830 +
6831 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6832 + $as_echo_n "checking for sysroot... " >&6; }
6833 +
6834 + # Check whether --with-sysroot was given.
6835 + if test "${with_sysroot+set}" = set; then :
6836 +  withval=$with_sysroot;
6837 + else
6838 +  with_sysroot=no
6839 + fi
6840 +
6841 +
6842 + lt_sysroot=
6843 + case ${with_sysroot} in #(
6844 + yes)
6845 +   if test "$GCC" = yes; then
6846 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6847 +   fi
6848 +   ;; #(
6849 + /*)
6850 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6851 +   ;; #(
6852 + no|'')
6853 +   ;; #(
6854 + *)
6855 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6856 + $as_echo "${with_sysroot}" >&6; }
6857 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6858 +   ;;
6859 + esac
6860 +
6861 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6862 + $as_echo "${lt_sysroot:-no}" >&6; }
6863 +
6864 +
6865 +
6866 +
6867 +
6868   # Check whether --enable-libtool-lock was given.
6869   if test "${enable_libtool_lock+set}" = set; then :
6870    enableval=$enable_libtool_lock;
# Line 6440 | Line 6990 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6990    CFLAGS="$CFLAGS -belf"
6991    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6992   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6993 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6993 > if ${lt_cv_cc_needs_belf+:} false; then :
6994    $as_echo_n "(cached) " >&6
6995   else
6996    ac_ext=c
# Line 6481 | Line 7031 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7031      CFLAGS="$SAVE_CFLAGS"
7032    fi
7033    ;;
7034 < sparc*-*solaris*)
7034 > *-*solaris*)
7035    # Find out which ABI we are using.
7036    echo 'int i;' > conftest.$ac_ext
7037    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6492 | Line 7042 | sparc*-*solaris*)
7042      case `/usr/bin/file conftest.o` in
7043      *64-bit*)
7044        case $lt_cv_prog_gnu_ld in
7045 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7045 >      yes*)
7046 >        case $host in
7047 >        i?86-*-solaris*)
7048 >          LD="${LD-ld} -m elf_x86_64"
7049 >          ;;
7050 >        sparc*-*-solaris*)
7051 >          LD="${LD-ld} -m elf64_sparc"
7052 >          ;;
7053 >        esac
7054 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7055 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7056 >          LD="${LD-ld}_sol2"
7057 >        fi
7058 >        ;;
7059        *)
7060          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7061            LD="${LD-ld} -64"
# Line 6508 | Line 7071 | esac
7071  
7072   need_locks="$enable_libtool_lock"
7073  
7074 + if test -n "$ac_tool_prefix"; then
7075 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7076 + set dummy ${ac_tool_prefix}mt; ac_word=$2
7077 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 + $as_echo_n "checking for $ac_word... " >&6; }
7079 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7080 +  $as_echo_n "(cached) " >&6
7081 + else
7082 +  if test -n "$MANIFEST_TOOL"; then
7083 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7084 + else
7085 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 + for as_dir in $PATH
7087 + do
7088 +  IFS=$as_save_IFS
7089 +  test -z "$as_dir" && as_dir=.
7090 +    for ac_exec_ext in '' $ac_executable_extensions; do
7091 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7093 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094 +    break 2
7095 +  fi
7096 + done
7097 +  done
7098 + IFS=$as_save_IFS
7099 +
7100 + fi
7101 + fi
7102 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7103 + if test -n "$MANIFEST_TOOL"; then
7104 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7105 + $as_echo "$MANIFEST_TOOL" >&6; }
7106 + else
7107 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 + $as_echo "no" >&6; }
7109 + fi
7110 +
7111 +
7112 + fi
7113 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7114 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7115 +  # Extract the first word of "mt", so it can be a program name with args.
7116 + set dummy mt; ac_word=$2
7117 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 + $as_echo_n "checking for $ac_word... " >&6; }
7119 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7120 +  $as_echo_n "(cached) " >&6
7121 + else
7122 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7123 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7124 + else
7125 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 + for as_dir in $PATH
7127 + do
7128 +  IFS=$as_save_IFS
7129 +  test -z "$as_dir" && as_dir=.
7130 +    for ac_exec_ext in '' $ac_executable_extensions; do
7131 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7133 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 +    break 2
7135 +  fi
7136 + done
7137 +  done
7138 + IFS=$as_save_IFS
7139 +
7140 + fi
7141 + fi
7142 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7143 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7144 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7145 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7146 + else
7147 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 + $as_echo "no" >&6; }
7149 + fi
7150 +
7151 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7152 +    MANIFEST_TOOL=":"
7153 +  else
7154 +    case $cross_compiling:$ac_tool_warned in
7155 + yes:)
7156 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7157 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7158 + ac_tool_warned=yes ;;
7159 + esac
7160 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7161 +  fi
7162 + else
7163 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7164 + fi
7165 +
7166 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7167 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7168 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7169 + if ${lt_cv_path_mainfest_tool+:} false; then :
7170 +  $as_echo_n "(cached) " >&6
7171 + else
7172 +  lt_cv_path_mainfest_tool=no
7173 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7174 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7175 +  cat conftest.err >&5
7176 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7177 +    lt_cv_path_mainfest_tool=yes
7178 +  fi
7179 +  rm -f conftest*
7180 + fi
7181 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7182 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7183 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7184 +  MANIFEST_TOOL=:
7185 + fi
7186 +
7187 +
7188 +
7189 +
7190 +
7191  
7192    case $host_os in
7193      rhapsody* | darwin*)
# Line 6516 | Line 7196 | need_locks="$enable_libtool_lock"
7196   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7198   $as_echo_n "checking for $ac_word... " >&6; }
7199 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7199 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7200    $as_echo_n "(cached) " >&6
7201   else
7202    if test -n "$DSYMUTIL"; then
# Line 6528 | Line 7208 | do
7208    IFS=$as_save_IFS
7209    test -z "$as_dir" && as_dir=.
7210      for ac_exec_ext in '' $ac_executable_extensions; do
7211 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7212      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7213      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214      break 2
# Line 6556 | Line 7236 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7236   set dummy dsymutil; ac_word=$2
7237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238   $as_echo_n "checking for $ac_word... " >&6; }
7239 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7239 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7240    $as_echo_n "(cached) " >&6
7241   else
7242    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6568 | Line 7248 | do
7248    IFS=$as_save_IFS
7249    test -z "$as_dir" && as_dir=.
7250      for ac_exec_ext in '' $ac_executable_extensions; do
7251 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7252      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7253      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7254      break 2
# Line 6608 | Line 7288 | fi
7288   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290   $as_echo_n "checking for $ac_word... " >&6; }
7291 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7291 > if ${ac_cv_prog_NMEDIT+:} false; then :
7292    $as_echo_n "(cached) " >&6
7293   else
7294    if test -n "$NMEDIT"; then
# Line 6620 | Line 7300 | do
7300    IFS=$as_save_IFS
7301    test -z "$as_dir" && as_dir=.
7302      for ac_exec_ext in '' $ac_executable_extensions; do
7303 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7303 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7304      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7305      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306      break 2
# Line 6648 | Line 7328 | if test -z "$ac_cv_prog_NMEDIT"; then
7328   set dummy nmedit; ac_word=$2
7329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330   $as_echo_n "checking for $ac_word... " >&6; }
7331 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7331 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7332    $as_echo_n "(cached) " >&6
7333   else
7334    if test -n "$ac_ct_NMEDIT"; then
# Line 6660 | Line 7340 | do
7340    IFS=$as_save_IFS
7341    test -z "$as_dir" && as_dir=.
7342      for ac_exec_ext in '' $ac_executable_extensions; do
7343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7344      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346      break 2
# Line 6700 | Line 7380 | fi
7380   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382   $as_echo_n "checking for $ac_word... " >&6; }
7383 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7383 > if ${ac_cv_prog_LIPO+:} false; then :
7384    $as_echo_n "(cached) " >&6
7385   else
7386    if test -n "$LIPO"; then
# Line 6712 | Line 7392 | do
7392    IFS=$as_save_IFS
7393    test -z "$as_dir" && as_dir=.
7394      for ac_exec_ext in '' $ac_executable_extensions; do
7395 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7396      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7397      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398      break 2
# Line 6740 | Line 7420 | if test -z "$ac_cv_prog_LIPO"; then
7420   set dummy lipo; ac_word=$2
7421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422   $as_echo_n "checking for $ac_word... " >&6; }
7423 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7423 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7424    $as_echo_n "(cached) " >&6
7425   else
7426    if test -n "$ac_ct_LIPO"; then
# Line 6752 | Line 7432 | do
7432    IFS=$as_save_IFS
7433    test -z "$as_dir" && as_dir=.
7434      for ac_exec_ext in '' $ac_executable_extensions; do
7435 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7435 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436      ac_cv_prog_ac_ct_LIPO="lipo"
7437      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438      break 2
# Line 6792 | Line 7472 | fi
7472   set dummy ${ac_tool_prefix}otool; ac_word=$2
7473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474   $as_echo_n "checking for $ac_word... " >&6; }
7475 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7475 > if ${ac_cv_prog_OTOOL+:} false; then :
7476    $as_echo_n "(cached) " >&6
7477   else
7478    if test -n "$OTOOL"; then
# Line 6804 | Line 7484 | do
7484    IFS=$as_save_IFS
7485    test -z "$as_dir" && as_dir=.
7486      for ac_exec_ext in '' $ac_executable_extensions; do
7487 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7489      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490      break 2
# Line 6832 | Line 7512 | if test -z "$ac_cv_prog_OTOOL"; then
7512   set dummy otool; ac_word=$2
7513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514   $as_echo_n "checking for $ac_word... " >&6; }
7515 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7515 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7516    $as_echo_n "(cached) " >&6
7517   else
7518    if test -n "$ac_ct_OTOOL"; then
# Line 6844 | Line 7524 | do
7524    IFS=$as_save_IFS
7525    test -z "$as_dir" && as_dir=.
7526      for ac_exec_ext in '' $ac_executable_extensions; do
7527 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7527 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528      ac_cv_prog_ac_ct_OTOOL="otool"
7529      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530      break 2
# Line 6884 | Line 7564 | fi
7564   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566   $as_echo_n "checking for $ac_word... " >&6; }
7567 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7567 > if ${ac_cv_prog_OTOOL64+:} false; then :
7568    $as_echo_n "(cached) " >&6
7569   else
7570    if test -n "$OTOOL64"; then
# Line 6896 | Line 7576 | do
7576    IFS=$as_save_IFS
7577    test -z "$as_dir" && as_dir=.
7578      for ac_exec_ext in '' $ac_executable_extensions; do
7579 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7580      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7581      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582      break 2
# Line 6924 | Line 7604 | if test -z "$ac_cv_prog_OTOOL64"; then
7604   set dummy otool64; ac_word=$2
7605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606   $as_echo_n "checking for $ac_word... " >&6; }
7607 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7607 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7608    $as_echo_n "(cached) " >&6
7609   else
7610    if test -n "$ac_ct_OTOOL64"; then
# Line 6936 | Line 7616 | do
7616    IFS=$as_save_IFS
7617    test -z "$as_dir" && as_dir=.
7618      for ac_exec_ext in '' $ac_executable_extensions; do
7619 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7619 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620      ac_cv_prog_ac_ct_OTOOL64="otool64"
7621      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622      break 2
# Line 6999 | Line 7679 | fi
7679  
7680      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7681   $as_echo_n "checking for -single_module linker flag... " >&6; }
7682 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7682 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7683    $as_echo_n "(cached) " >&6
7684   else
7685    lt_cv_apple_cc_single_mod=no
# Line 7015 | Line 7695 | else
7695          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7696            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7697          _lt_result=$?
7698 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7698 >        # If there is a non-empty error log, and "single_module"
7699 >        # appears in it, assume the flag caused a linker warning
7700 >        if test -s conftest.err && $GREP single_module conftest.err; then
7701 >          cat conftest.err >&5
7702 >        # Otherwise, if the output was created with a 0 exit code from
7703 >        # the compiler, it worked.
7704 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7705            lt_cv_apple_cc_single_mod=yes
7706          else
7707            cat conftest.err >&5
# Line 7026 | Line 7712 | else
7712   fi
7713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7714   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7715 +
7716      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7717   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7718 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7718 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7719    $as_echo_n "(cached) " >&6
7720   else
7721    lt_cv_ld_exported_symbols_list=no
# Line 7058 | Line 7745 | rm -f core conftest.err conftest.$ac_obj
7745   fi
7746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7747   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7748 +
7749      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7750   $as_echo_n "checking for -force_load linker flag... " >&6; }
7751 < if test "${lt_cv_ld_force_load+set}" = set; then :
7751 > if ${lt_cv_ld_force_load+:} false; then :
7752    $as_echo_n "(cached) " >&6
7753   else
7754    lt_cv_ld_force_load=no
# Line 7079 | Line 7767 | _LT_EOF
7767        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7768        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7769        _lt_result=$?
7770 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7770 >      if test -s conftest.err && $GREP force_load conftest.err; then
7771 >        cat conftest.err >&5
7772 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7773          lt_cv_ld_force_load=yes
7774        else
7775          cat conftest.err >&5
# Line 7137 | Line 7827 | if test -n "$CPP" && test -d "$CPP"; the
7827    CPP=
7828   fi
7829   if test -z "$CPP"; then
7830 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7830 >  if ${ac_cv_prog_CPP+:} false; then :
7831    $as_echo_n "(cached) " >&6
7832   else
7833        # Double quotes because CPP needs to be expanded
# Line 7265 | Line 7955 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7955  
7956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7957   $as_echo_n "checking for ANSI C header files... " >&6; }
7958 < if test "${ac_cv_header_stdc+set}" = set; then :
7958 > if ${ac_cv_header_stdc+:} false; then :
7959    $as_echo_n "(cached) " >&6
7960   else
7961    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7396 | Line 8086 | for ac_header in dlfcn.h
8086   do :
8087    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8088   "
8089 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8089 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8090    cat >>confdefs.h <<_ACEOF
8091   #define HAVE_DLFCN_H 1
8092   _ACEOF
# Line 7482 | Line 8172 | fi
8172  
8173   # Check whether --with-pic was given.
8174   if test "${with_pic+set}" = set; then :
8175 <  withval=$with_pic; pic_mode="$withval"
8175 >  withval=$with_pic; lt_p=${PACKAGE-default}
8176 >    case $withval in
8177 >    yes|no) pic_mode=$withval ;;
8178 >    *)
8179 >      pic_mode=default
8180 >      # Look at the argument we got.  We use all the common list separators.
8181 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8182 >      for lt_pkg in $withval; do
8183 >        IFS="$lt_save_ifs"
8184 >        if test "X$lt_pkg" = "X$lt_p"; then
8185 >          pic_mode=yes
8186 >        fi
8187 >      done
8188 >      IFS="$lt_save_ifs"
8189 >      ;;
8190 >    esac
8191   else
8192    pic_mode=default
8193   fi
# Line 7560 | Line 8265 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8265  
8266  
8267  
8268 +
8269 +
8270 +
8271 +
8272   test -z "$LN_S" && LN_S="ln -s"
8273  
8274  
# Line 7581 | Line 8290 | fi
8290  
8291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8292   $as_echo_n "checking for objdir... " >&6; }
8293 < if test "${lt_cv_objdir+set}" = set; then :
8293 > if ${lt_cv_objdir+:} false; then :
8294    $as_echo_n "(cached) " >&6
8295   else
8296    rm -f .libs 2>/dev/null
# Line 7659 | Line 8368 | file_magic*)
8368    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8369      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8370   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8371 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8371 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8372    $as_echo_n "(cached) " >&6
8373   else
8374    case $MAGIC_CMD in
# Line 7725 | Line 8434 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8434    if test -n "$ac_tool_prefix"; then
8435      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8436   $as_echo_n "checking for file... " >&6; }
8437 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8437 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8438    $as_echo_n "(cached) " >&6
8439   else
8440    case $MAGIC_CMD in
# Line 7849 | Line 8558 | _lt_linker_boilerplate=`cat conftest.err
8558   $RM -r conftest*
8559  
8560  
8561 + ## CAVEAT EMPTOR:
8562 + ## There is no encapsulation within the following macros, do not change
8563 + ## the running order or otherwise move them around unless you know exactly
8564 + ## what you are doing...
8565   if test -n "$compiler"; then
8566  
8567   lt_prog_compiler_no_builtin_flag=
# Line 7863 | Line 8576 | if test "$GCC" = yes; then
8576  
8577    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8578   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8579 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8579 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8580    $as_echo_n "(cached) " >&6
8581   else
8582    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7916 | Line 8629 | fi
8629   lt_prog_compiler_pic=
8630   lt_prog_compiler_static=
8631  
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; }
8632  
8633    if test "$GCC" = yes; then
8634      lt_prog_compiler_wl='-Wl,'
# Line 8017 | Line 8728 | $as_echo_n "checking for $compiler optio
8728      case $cc_basename in
8729      nvcc*) # Cuda Compiler Driver 2.2
8730        lt_prog_compiler_wl='-Xlinker '
8731 <      lt_prog_compiler_pic='-Xcompiler -fPIC'
8731 >      if test -n "$lt_prog_compiler_pic"; then
8732 >        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8733 >      fi
8734        ;;
8735      esac
8736    else
# Line 8082 | Line 8795 | $as_echo_n "checking for $compiler optio
8795          lt_prog_compiler_pic='--shared'
8796          lt_prog_compiler_static='--static'
8797          ;;
8798 +      nagfor*)
8799 +        # NAG Fortran compiler
8800 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8801 +        lt_prog_compiler_pic='-PIC'
8802 +        lt_prog_compiler_static='-Bstatic'
8803 +        ;;
8804        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8805          # Portland Group compilers (*not* the Pentium gcc compiler,
8806          # which looks to be a dead project)
# Line 8102 | Line 8821 | $as_echo_n "checking for $compiler optio
8821          ;;
8822        *)
8823          case `$CC -V 2>&1 | sed 5q` in
8824 <        *Sun\ F* | *Sun*Fortran*)
8824 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8825            # Sun Fortran 8.3 passes all unrecognized flags to the linker
8826            lt_prog_compiler_pic='-KPIC'
8827            lt_prog_compiler_static='-Bstatic'
8828            lt_prog_compiler_wl=''
8829            ;;
8830 +        *Sun\ F* | *Sun*Fortran*)
8831 +          lt_prog_compiler_pic='-KPIC'
8832 +          lt_prog_compiler_static='-Bstatic'
8833 +          lt_prog_compiler_wl='-Qoption ld '
8834 +          ;;
8835          *Sun\ C*)
8836            # Sun C 5.9
8837            lt_prog_compiler_pic='-KPIC'
8838            lt_prog_compiler_static='-Bstatic'
8839            lt_prog_compiler_wl='-Wl,'
8840            ;;
8841 +        *Intel*\ [CF]*Compiler*)
8842 +          lt_prog_compiler_wl='-Wl,'
8843 +          lt_prog_compiler_pic='-fPIC'
8844 +          lt_prog_compiler_static='-static'
8845 +          ;;
8846 +        *Portland\ Group*)
8847 +          lt_prog_compiler_wl='-Wl,'
8848 +          lt_prog_compiler_pic='-fpic'
8849 +          lt_prog_compiler_static='-Bstatic'
8850 +          ;;
8851          esac
8852          ;;
8853        esac
# Line 8201 | Line 8935 | case $host_os in
8935      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8936      ;;
8937   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 –
8938  
8939 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8940 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8941 + if ${lt_cv_prog_compiler_pic+:} false; then :
8942 +  $as_echo_n "(cached) " >&6
8943 + else
8944 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8945 + fi
8946 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8947 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8948 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8949  
8950   #
8951   # Check to make sure the PIC flag actually works.
# Line 8215 | Line 8953 | $as_echo "$lt_prog_compiler_pic" >&6; }
8953   if test -n "$lt_prog_compiler_pic"; then
8954    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8955   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8956 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8956 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8957    $as_echo_n "(cached) " >&6
8958   else
8959    lt_cv_prog_compiler_pic_works=no
# Line 8268 | Line 9006 | fi
9006  
9007  
9008  
9009 +
9010 +
9011 +
9012 +
9013 +
9014   #
9015   # Check to make sure the static flag actually works.
9016   #
9017   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9019   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9020 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9020 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9021    $as_echo_n "(cached) " >&6
9022   else
9023    lt_cv_prog_compiler_static_works=no
# Line 8317 | Line 9060 | fi
9060  
9061    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9062   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9063 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9063 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9064    $as_echo_n "(cached) " >&6
9065   else
9066    lt_cv_prog_compiler_c_o=no
# Line 8372 | Line 9115 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9115  
9116    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9117   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9118 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9118 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9119    $as_echo_n "(cached) " >&6
9120   else
9121    lt_cv_prog_compiler_c_o=no
# Line 8466 | Line 9209 | $as_echo_n "checking whether the $compil
9209    hardcode_direct=no
9210    hardcode_direct_absolute=no
9211    hardcode_libdir_flag_spec=
8469 –  hardcode_libdir_flag_spec_ld=
9212    hardcode_libdir_separator=
9213    hardcode_minus_L=no
9214    hardcode_shlibpath_var=unsupported
# Line 8618 | Line 9360 | _LT_EOF
9360        allow_undefined_flag=unsupported
9361        always_export_symbols=no
9362        enable_shared_with_static_runtimes=yes
9363 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9363 >      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'
9364 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9365  
9366        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9367          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 9409 | _LT_EOF
9409        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9410           && test "$tmp_diet" = no
9411        then
9412 <        tmp_addflag=
9412 >        tmp_addflag=' $pic_flag'
9413          tmp_sharedflag='-shared'
9414          case $cc_basename,$host_cpu in
9415          pgcc*)                          # Portland Group C compiler
# Line 8715 | Line 9458 | _LT_EOF
9458          xlf* | bgf* | bgxlf* | mpixlf*)
9459            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9460            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9461 <          hardcode_libdir_flag_spec=
8719 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9461 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9462            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9463            if test "x$supports_anon_versioning" = xyes; then
9464              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
# Line 8736 | Line 9478 | _LT_EOF
9478          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9479          wlarc=
9480        else
9481 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9482 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9481 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9482 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9483        fi
9484        ;;
9485  
# Line 8755 | Line 9497 | _LT_EOF
9497  
9498   _LT_EOF
9499        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9500 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9501 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9501 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9502        else
9503          ld_shlibs=no
9504        fi
# Line 8802 | Line 9544 | _LT_EOF
9544  
9545      *)
9546        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9547 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9548 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9547 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9548 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9549        else
9550          ld_shlibs=no
9551        fi
# Line 8933 | Line 9675 | _LT_EOF
9675          allow_undefined_flag='-berok'
9676          # Determine the default libpath from the value encoded in an
9677          # empty executable.
9678 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9678 >        if test "${lt_cv_aix_libpath+set}" = set; then
9679 >  aix_libpath=$lt_cv_aix_libpath
9680 > else
9681 >  if ${lt_cv_aix_libpath_+:} false; then :
9682 >  $as_echo_n "(cached) " >&6
9683 > else
9684 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685   /* end confdefs.h.  */
9686  
9687   int
# Line 8946 | Line 9694 | main ()
9694   _ACEOF
9695   if ac_fn_c_try_link "$LINENO"; then :
9696  
9697 < lt_aix_libpath_sed='
9698 <    /Import File Strings/,/^$/ {
9699 <        /^0/ {
9700 <            s/^0  *\(.*\)$/\1/
9701 <            p
9702 <        }
9703 <    }'
9704 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9705 < # Check for a 64-bit object if we didn't find anything.
9706 < if test -z "$aix_libpath"; then
9707 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9708 < fi
9697 >  lt_aix_libpath_sed='
9698 >      /Import File Strings/,/^$/ {
9699 >          /^0/ {
9700 >              s/^0  *\([^ ]*\) *$/\1/
9701 >              p
9702 >          }
9703 >      }'
9704 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9705 >  # Check for a 64-bit object if we didn't find anything.
9706 >  if test -z "$lt_cv_aix_libpath_"; then
9707 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9708 >  fi
9709   fi
9710   rm -f core conftest.err conftest.$ac_objext \
9711      conftest$ac_exeext conftest.$ac_ext
9712 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9712 >  if test -z "$lt_cv_aix_libpath_"; then
9713 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9714 >  fi
9715 >
9716 > fi
9717 >
9718 >  aix_libpath=$lt_cv_aix_libpath_
9719 > fi
9720  
9721          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9722          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 9728 | if test -z "$aix_libpath"; then aix_libp
9728          else
9729           # Determine the default libpath from the value encoded in an
9730           # empty executable.
9731 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9731 >         if test "${lt_cv_aix_libpath+set}" = set; then
9732 >  aix_libpath=$lt_cv_aix_libpath
9733 > else
9734 >  if ${lt_cv_aix_libpath_+:} false; then :
9735 >  $as_echo_n "(cached) " >&6
9736 > else
9737 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9738   /* end confdefs.h.  */
9739  
9740   int
# Line 8986 | Line 9747 | main ()
9747   _ACEOF
9748   if ac_fn_c_try_link "$LINENO"; then :
9749  
9750 < lt_aix_libpath_sed='
9751 <    /Import File Strings/,/^$/ {
9752 <        /^0/ {
9753 <            s/^0  *\(.*\)$/\1/
9754 <            p
9755 <        }
9756 <    }'
9757 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9758 < # Check for a 64-bit object if we didn't find anything.
9759 < if test -z "$aix_libpath"; then
9760 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9761 < fi
9750 >  lt_aix_libpath_sed='
9751 >      /Import File Strings/,/^$/ {
9752 >          /^0/ {
9753 >              s/^0  *\([^ ]*\) *$/\1/
9754 >              p
9755 >          }
9756 >      }'
9757 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9758 >  # Check for a 64-bit object if we didn't find anything.
9759 >  if test -z "$lt_cv_aix_libpath_"; then
9760 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9761 >  fi
9762   fi
9763   rm -f core conftest.err conftest.$ac_objext \
9764      conftest$ac_exeext conftest.$ac_ext
9765 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9765 >  if test -z "$lt_cv_aix_libpath_"; then
9766 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9767 >  fi
9768 >
9769 > fi
9770 >
9771 >  aix_libpath=$lt_cv_aix_libpath_
9772 > fi
9773  
9774           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9775            # Warning - without using the other run time loading flags,
# Line 9046 | Line 9814 | if test -z "$aix_libpath"; then aix_libp
9814        # Microsoft Visual C++.
9815        # hardcode_libdir_flag_spec is actually meaningless, as there is
9816        # no search path for DLLs.
9817 <      hardcode_libdir_flag_spec=' '
9818 <      allow_undefined_flag=unsupported
9819 <      # Tell ltmain to make .lib files, not .a files.
9820 <      libext=lib
9821 <      # Tell ltmain to make .dll files, not .so files.
9822 <      shrext_cmds=".dll"
9823 <      # FIXME: Setting linknames here is a bad hack.
9824 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9825 <      # The linker will automatically build a .lib file if we build a DLL.
9826 <      old_archive_from_new_cmds='true'
9827 <      # FIXME: Should let the user specify the lib program.
9828 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9829 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9830 <      enable_shared_with_static_runtimes=yes
9817 >      case $cc_basename in
9818 >      cl*)
9819 >        # Native MSVC
9820 >        hardcode_libdir_flag_spec=' '
9821 >        allow_undefined_flag=unsupported
9822 >        always_export_symbols=yes
9823 >        file_list_spec='@'
9824 >        # Tell ltmain to make .lib files, not .a files.
9825 >        libext=lib
9826 >        # Tell ltmain to make .dll files, not .so files.
9827 >        shrext_cmds=".dll"
9828 >        # FIXME: Setting linknames here is a bad hack.
9829 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9830 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9831 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9832 >          else
9833 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9834 >          fi~
9835 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9836 >          linknames='
9837 >        # The linker will not automatically build a static lib if we build a DLL.
9838 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9839 >        enable_shared_with_static_runtimes=yes
9840 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9841 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9842 >        # Don't use ranlib
9843 >        old_postinstall_cmds='chmod 644 $oldlib'
9844 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9845 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9846 >          case $lt_outputfile in
9847 >            *.exe|*.EXE) ;;
9848 >            *)
9849 >              lt_outputfile="$lt_outputfile.exe"
9850 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9851 >              ;;
9852 >          esac~
9853 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9854 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9855 >            $RM "$lt_outputfile.manifest";
9856 >          fi'
9857 >        ;;
9858 >      *)
9859 >        # Assume MSVC wrapper
9860 >        hardcode_libdir_flag_spec=' '
9861 >        allow_undefined_flag=unsupported
9862 >        # Tell ltmain to make .lib files, not .a files.
9863 >        libext=lib
9864 >        # Tell ltmain to make .dll files, not .so files.
9865 >        shrext_cmds=".dll"
9866 >        # FIXME: Setting linknames here is a bad hack.
9867 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9868 >        # The linker will automatically build a .lib file if we build a DLL.
9869 >        old_archive_from_new_cmds='true'
9870 >        # FIXME: Should let the user specify the lib program.
9871 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9872 >        enable_shared_with_static_runtimes=yes
9873 >        ;;
9874 >      esac
9875        ;;
9876  
9877      darwin* | rhapsody*)
# Line 9071 | Line 9883 | if test -z "$aix_libpath"; then aix_libp
9883    hardcode_shlibpath_var=unsupported
9884    if test "$lt_cv_ld_force_load" = "yes"; then
9885      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\"`'
9886 +
9887    else
9888      whole_archive_flag_spec=''
9889    fi
# Line 9099 | Line 9912 | if test -z "$aix_libpath"; then aix_libp
9912        hardcode_shlibpath_var=no
9913        ;;
9914  
9102 –    freebsd1*)
9103 –      ld_shlibs=no
9104 –      ;;
9105 –
9915      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9916      # support.  Future versions do this automatically, but an explicit c++rt0.o
9917      # does not break anything, and helps significantly (at the cost of a little
# Line 9115 | Line 9924 | if test -z "$aix_libpath"; then aix_libp
9924        ;;
9925  
9926      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9927 <    freebsd2*)
9927 >    freebsd2.*)
9928        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9929        hardcode_direct=yes
9930        hardcode_minus_L=yes
# Line 9124 | Line 9933 | if test -z "$aix_libpath"; then aix_libp
9933  
9934      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9935      freebsd* | dragonfly*)
9936 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9936 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9937        hardcode_libdir_flag_spec='-R$libdir'
9938        hardcode_direct=yes
9939        hardcode_shlibpath_var=no
# Line 9132 | Line 9941 | if test -z "$aix_libpath"; then aix_libp
9941  
9942      hpux9*)
9943        if test "$GCC" = yes; then
9944 <        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'
9944 >        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'
9945        else
9946          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'
9947        fi
# Line 9148 | Line 9957 | if test -z "$aix_libpath"; then aix_libp
9957  
9958      hpux10*)
9959        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9960 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9960 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9961        else
9962          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9963        fi
9964        if test "$with_gnu_ld" = no; then
9965          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9157 –        hardcode_libdir_flag_spec_ld='+b $libdir'
9966          hardcode_libdir_separator=:
9967          hardcode_direct=yes
9968          hardcode_direct_absolute=yes
# Line 9172 | Line 9980 | if test -z "$aix_libpath"; then aix_libp
9980            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9981            ;;
9982          ia64*)
9983 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9983 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9984            ;;
9985          *)
9986 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9986 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9987            ;;
9988          esac
9989        else
# Line 9192 | Line 10000 | if test -z "$aix_libpath"; then aix_libp
10000            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10001            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10002   $as_echo_n "checking if $CC understands -b... " >&6; }
10003 < if test "${lt_cv_prog_compiler__b+set}" = set; then :
10003 > if ${lt_cv_prog_compiler__b+:} false; then :
10004    $as_echo_n "(cached) " >&6
10005   else
10006    lt_cv_prog_compiler__b=no
# Line 9254 | Line 10062 | fi
10062  
10063      irix5* | irix6* | nonstopux*)
10064        if test "$GCC" = yes; then
10065 <        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'
10065 >        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'
10066          # Try to use the -exported_symbol ld option, if it does not
10067          # work, assume that -exports_file does not work either and
10068          # implicitly export all symbols.
10069 <        save_LDFLAGS="$LDFLAGS"
10070 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10071 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 >        # This should be the same for all languages, so no per-tag cache variable.
10070 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10071 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10072 > if ${lt_cv_irix_exported_symbol+:} false; then :
10073 >  $as_echo_n "(cached) " >&6
10074 > else
10075 >  save_LDFLAGS="$LDFLAGS"
10076 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10077 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078   /* end confdefs.h.  */
10079 < int foo(void) {}
10079 > int foo (void) { return 0; }
10080   _ACEOF
10081   if ac_fn_c_try_link "$LINENO"; then :
10082 <  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'
10083 <
10082 >  lt_cv_irix_exported_symbol=yes
10083 > else
10084 >  lt_cv_irix_exported_symbol=no
10085   fi
10086   rm -f core conftest.err conftest.$ac_objext \
10087      conftest$ac_exeext conftest.$ac_ext
10088 <        LDFLAGS="$save_LDFLAGS"
10088 >           LDFLAGS="$save_LDFLAGS"
10089 > fi
10090 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10091 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10092 >        if test "$lt_cv_irix_exported_symbol" = yes; then
10093 >          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'
10094 >        fi
10095        else
10096          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'
10097          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 10176 | rm -f core conftest.err conftest.$ac_obj
10176      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10177        if test "$GCC" = yes; then
10178          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10179 <        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'
10179 >        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'
10180          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10181        else
10182          allow_undefined_flag=' -expect_unresolved \*'
# Line 9374 | Line 10195 | rm -f core conftest.err conftest.$ac_obj
10195        no_undefined_flag=' -z defs'
10196        if test "$GCC" = yes; then
10197          wlarc='${wl}'
10198 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10198 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10199          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10200 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10200 >          $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'
10201        else
10202          case `$CC -V 2>&1` in
10203          *"Compilers 5.0"*)
# Line 9564 | Line 10385 | x|xyes)
10385        # to ld, don't add -lc before -lgcc.
10386        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10387   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10388 < if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10388 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10389    $as_echo_n "(cached) " >&6
10390   else
10391    $RM conftest*
# Line 9765 | Line 10586 | esac
10586  
10587  
10588  
9768 –
9769 –
9770 –
9771 –
9772 –
10589    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10590   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10591  
# Line 9859 | Line 10675 | need_version=unknown
10675  
10676   case $host_os in
10677   aix3*)
10678 <  version_type=linux
10678 >  version_type=linux # correct to gnu/linux during the next big refactor
10679    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10680    shlibpath_var=LIBPATH
10681  
# Line 9868 | Line 10684 | aix3*)
10684    ;;
10685  
10686   aix[4-9]*)
10687 <  version_type=linux
10687 >  version_type=linux # correct to gnu/linux during the next big refactor
10688    need_lib_prefix=no
10689    need_version=no
10690    hardcode_into_libs=yes
# Line 9933 | Line 10749 | beos*)
10749    ;;
10750  
10751   bsdi[45]*)
10752 <  version_type=linux
10752 >  version_type=linux # correct to gnu/linux during the next big refactor
10753    need_version=no
10754    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10755    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9952 | Line 10768 | cygwin* | mingw* | pw32* | cegcc*)
10768    need_version=no
10769    need_lib_prefix=no
10770  
10771 <  case $GCC,$host_os in
10772 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10771 >  case $GCC,$cc_basename in
10772 >  yes,*)
10773 >    # gcc
10774      library_names_spec='$libname.dll.a'
10775      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10776      postinstall_cmds='base_file=`basename \${file}`~
# Line 9986 | Line 10803 | cygwin* | mingw* | pw32* | cegcc*)
10803        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10804        ;;
10805      esac
10806 +    dynamic_linker='Win32 ld.exe'
10807 +    ;;
10808 +
10809 +  *,cl*)
10810 +    # Native MSVC
10811 +    libname_spec='$name'
10812 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10813 +    library_names_spec='${libname}.dll.lib'
10814 +
10815 +    case $build_os in
10816 +    mingw*)
10817 +      sys_lib_search_path_spec=
10818 +      lt_save_ifs=$IFS
10819 +      IFS=';'
10820 +      for lt_path in $LIB
10821 +      do
10822 +        IFS=$lt_save_ifs
10823 +        # Let DOS variable expansion print the short 8.3 style file name.
10824 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10825 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10826 +      done
10827 +      IFS=$lt_save_ifs
10828 +      # Convert to MSYS style.
10829 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10830 +      ;;
10831 +    cygwin*)
10832 +      # Convert to unix form, then to dos form, then back to unix form
10833 +      # but this time dos style (no spaces!) so that the unix form looks
10834 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10835 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10836 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10837 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10838 +      ;;
10839 +    *)
10840 +      sys_lib_search_path_spec="$LIB"
10841 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10842 +        # It is most probably a Windows format PATH.
10843 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10844 +      else
10845 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10846 +      fi
10847 +      # FIXME: find the short name or the path components, as spaces are
10848 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10849 +      ;;
10850 +    esac
10851 +
10852 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10853 +    postinstall_cmds='base_file=`basename \${file}`~
10854 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10855 +      dldir=$destdir/`dirname \$dlpath`~
10856 +      test -d \$dldir || mkdir -p \$dldir~
10857 +      $install_prog $dir/$dlname \$dldir/$dlname'
10858 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10859 +      dlpath=$dir/\$dldll~
10860 +       $RM \$dlpath'
10861 +    shlibpath_overrides_runpath=yes
10862 +    dynamic_linker='Win32 link.exe'
10863      ;;
10864  
10865    *)
10866 +    # Assume MSVC wrapper
10867      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10868 +    dynamic_linker='Win32 ld.exe'
10869      ;;
10870    esac
9995 –  dynamic_linker='Win32 ld.exe'
10871    # FIXME: first we should search . and the directory the executable is in
10872    shlibpath_var=PATH
10873    ;;
# Line 10013 | Line 10888 | darwin* | rhapsody*)
10888    ;;
10889  
10890   dgux*)
10891 <  version_type=linux
10891 >  version_type=linux # correct to gnu/linux during the next big refactor
10892    need_lib_prefix=no
10893    need_version=no
10894    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10021 | Line 10896 | dgux*)
10896    shlibpath_var=LD_LIBRARY_PATH
10897    ;;
10898  
10024 – freebsd1*)
10025 –  dynamic_linker=no
10026 –  ;;
10027 –
10899   freebsd* | dragonfly*)
10900    # DragonFly does not have aout.  When/if they implement a new
10901    # versioning mechanism, adjust this.
# Line 10032 | Line 10903 | freebsd* | dragonfly*)
10903      objformat=`/usr/bin/objformat`
10904    else
10905      case $host_os in
10906 <    freebsd[123]*) objformat=aout ;;
10906 >    freebsd[23].*) objformat=aout ;;
10907      *) objformat=elf ;;
10908      esac
10909    fi
# Line 10050 | Line 10921 | freebsd* | dragonfly*)
10921    esac
10922    shlibpath_var=LD_LIBRARY_PATH
10923    case $host_os in
10924 <  freebsd2*)
10924 >  freebsd2.*)
10925      shlibpath_overrides_runpath=yes
10926      ;;
10927    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10070 | Line 10941 | freebsd* | dragonfly*)
10941    ;;
10942  
10943   gnu*)
10944 <  version_type=linux
10944 >  version_type=linux # correct to gnu/linux during the next big refactor
10945    need_lib_prefix=no
10946    need_version=no
10947    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10948    soname_spec='${libname}${release}${shared_ext}$major'
10949    shlibpath_var=LD_LIBRARY_PATH
10950 +  shlibpath_overrides_runpath=no
10951    hardcode_into_libs=yes
10952    ;;
10953  
10954   haiku*)
10955 <  version_type=linux
10955 >  version_type=linux # correct to gnu/linux during the next big refactor
10956    need_lib_prefix=no
10957    need_version=no
10958    dynamic_linker="$host_os runtime_loader"
# Line 10141 | Line 11013 | hpux9* | hpux10* | hpux11*)
11013    ;;
11014  
11015   interix[3-9]*)
11016 <  version_type=linux
11016 >  version_type=linux # correct to gnu/linux during the next big refactor
11017    need_lib_prefix=no
11018    need_version=no
11019    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10157 | Line 11029 | irix5* | irix6* | nonstopux*)
11029      nonstopux*) version_type=nonstopux ;;
11030      *)
11031          if test "$lt_cv_prog_gnu_ld" = yes; then
11032 <                version_type=linux
11032 >                version_type=linux # correct to gnu/linux during the next big refactor
11033          else
11034                  version_type=irix
11035          fi ;;
# Line 10194 | Line 11066 | linux*oldld* | linux*aout* | linux*coff*
11066    dynamic_linker=no
11067    ;;
11068  
11069 < # This must be Linux ELF.
11069 > # This must be glibc/ELF.
11070   linux* | k*bsd*-gnu | kopensolaris*-gnu)
11071 <  version_type=linux
11071 >  version_type=linux # correct to gnu/linux during the next big refactor
11072    need_lib_prefix=no
11073    need_version=no
11074    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10206 | Line 11078 | linux* | k*bsd*-gnu | kopensolaris*-gnu)
11078    shlibpath_overrides_runpath=no
11079  
11080    # Some binutils ld are patched to set DT_RUNPATH
11081 <  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11081 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11082    $as_echo_n "(cached) " >&6
11083   else
11084    lt_cv_shlibpath_overrides_runpath=no
# Line 10278 | Line 11150 | netbsd*)
11150    ;;
11151  
11152   newsos6)
11153 <  version_type=linux
11153 >  version_type=linux # correct to gnu/linux during the next big refactor
11154    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11155    shlibpath_var=LD_LIBRARY_PATH
11156    shlibpath_overrides_runpath=yes
# Line 10347 | Line 11219 | rdos*)
11219    ;;
11220  
11221   solaris*)
11222 <  version_type=linux
11222 >  version_type=linux # correct to gnu/linux during the next big refactor
11223    need_lib_prefix=no
11224    need_version=no
11225    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10372 | Line 11244 | sunos4*)
11244    ;;
11245  
11246   sysv4 | sysv4.3*)
11247 <  version_type=linux
11247 >  version_type=linux # correct to gnu/linux during the next big refactor
11248    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11249    soname_spec='${libname}${release}${shared_ext}$major'
11250    shlibpath_var=LD_LIBRARY_PATH
# Line 10396 | Line 11268 | sysv4 | sysv4.3*)
11268  
11269   sysv4*MP*)
11270    if test -d /usr/nec ;then
11271 <    version_type=linux
11271 >    version_type=linux # correct to gnu/linux during the next big refactor
11272      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11273      soname_spec='$libname${shared_ext}.$major'
11274      shlibpath_var=LD_LIBRARY_PATH
# Line 10427 | Line 11299 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11299  
11300   tpf*)
11301    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11302 <  version_type=linux
11302 >  version_type=linux # correct to gnu/linux during the next big refactor
11303    need_lib_prefix=no
11304    need_version=no
11305    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10437 | Line 11309 | tpf*)
11309    ;;
11310  
11311   uts4*)
11312 <  version_type=linux
11312 >  version_type=linux # correct to gnu/linux during the next big refactor
11313    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314    soname_spec='${libname}${release}${shared_ext}$major'
11315    shlibpath_var=LD_LIBRARY_PATH
# Line 10626 | Line 11498 | else
11498    # if libdl is installed we need to link against it
11499      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11500   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11501 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11501 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11502    $as_echo_n "(cached) " >&6
11503   else
11504    ac_check_lib_save_LIBS=$LIBS
# Line 10660 | Line 11532 | LIBS=$ac_check_lib_save_LIBS
11532   fi
11533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11534   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11535 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11535 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11536    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11537   else
11538  
# Line 10674 | Line 11546 | fi
11546  
11547    *)
11548      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11549 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11549 > if test "x$ac_cv_func_shl_load" = xyes; then :
11550    lt_cv_dlopen="shl_load"
11551   else
11552    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11553   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11554 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11554 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11555    $as_echo_n "(cached) " >&6
11556   else
11557    ac_check_lib_save_LIBS=$LIBS
# Line 10713 | Line 11585 | LIBS=$ac_check_lib_save_LIBS
11585   fi
11586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11587   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11588 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11588 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11589    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11590   else
11591    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11592 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11592 > if test "x$ac_cv_func_dlopen" = xyes; then :
11593    lt_cv_dlopen="dlopen"
11594   else
11595    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11596   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11597 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11597 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11598    $as_echo_n "(cached) " >&6
11599   else
11600    ac_check_lib_save_LIBS=$LIBS
# Line 10756 | Line 11628 | LIBS=$ac_check_lib_save_LIBS
11628   fi
11629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11630   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11631 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11631 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11632    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11633   else
11634    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11635   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11636 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11636 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11637    $as_echo_n "(cached) " >&6
11638   else
11639    ac_check_lib_save_LIBS=$LIBS
# Line 10795 | Line 11667 | LIBS=$ac_check_lib_save_LIBS
11667   fi
11668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11669   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11670 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11670 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11671    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11672   else
11673    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11674   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11675 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11675 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11676    $as_echo_n "(cached) " >&6
11677   else
11678    ac_check_lib_save_LIBS=$LIBS
# Line 10834 | Line 11706 | LIBS=$ac_check_lib_save_LIBS
11706   fi
11707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11708   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11709 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11709 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11710    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11711   fi
11712  
# Line 10875 | Line 11747 | fi
11747  
11748      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11749   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11750 < if test "${lt_cv_dlopen_self+set}" = set; then :
11750 > if ${lt_cv_dlopen_self+:} false; then :
11751    $as_echo_n "(cached) " >&6
11752   else
11753            if test "$cross_compiling" = yes; then :
# Line 10928 | Line 11800 | else
11800   /* When -fvisbility=hidden is used, assume the code has been annotated
11801     correspondingly for the symbols needed.  */
11802   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11803 < void fnord () __attribute__((visibility("default")));
11803 > int fnord () __attribute__((visibility("default")));
11804   #endif
11805  
11806 < void fnord () { int i=42; }
11806 > int fnord () { return 42; }
11807   int main ()
11808   {
11809    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10981 | Line 11853 | $as_echo "$lt_cv_dlopen_self" >&6; }
11853        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11854        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11855   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11856 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11856 > if ${lt_cv_dlopen_self_static+:} false; then :
11857    $as_echo_n "(cached) " >&6
11858   else
11859            if test "$cross_compiling" = yes; then :
# Line 11034 | Line 11906 | else
11906   /* When -fvisbility=hidden is used, assume the code has been annotated
11907     correspondingly for the symbols needed.  */
11908   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11909 < void fnord () __attribute__((visibility("default")));
11909 > int fnord () __attribute__((visibility("default")));
11910   #endif
11911  
11912 < void fnord () { int i=42; }
11912 > int fnord () { return 42; }
11913   int main ()
11914   {
11915    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11219 | Line 12091 | CC="$lt_save_CC"
12091  
12092  
12093  
12094 +
12095 +
12096          ac_config_commands="$ac_config_commands libtool"
12097  
12098  
# Line 11229 | Line 12103 | CC="$lt_save_CC"
12103  
12104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12105   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12106 < if test "${libltdl_cv_shlibext+set}" = set; then :
12106 > if ${libltdl_cv_shlibext+:} false; then :
12107    $as_echo_n "(cached) " >&6
12108   else
12109  
12110   module=yes
12111   eval libltdl_cv_shlibext=$shrext_cmds
12112 + module=no
12113 + eval libltdl_cv_shrext=$shrext_cmds
12114  
12115   fi
12116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11246 | Line 12122 | cat >>confdefs.h <<_ACEOF
12122   _ACEOF
12123  
12124   fi
12125 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12126 +
12127 + cat >>confdefs.h <<_ACEOF
12128 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12129 + _ACEOF
12130 +
12131 + fi
12132  
12133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12134   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12135 < if test "${lt_cv_module_path_var+set}" = set; then :
12135 > if ${lt_cv_module_path_var+:} false; then :
12136    $as_echo_n "(cached) " >&6
12137   else
12138    lt_cv_module_path_var="$shlibpath_var"
# Line 11266 | Line 12149 | fi
12149  
12150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12151   $as_echo_n "checking for the default library search path... " >&6; }
12152 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12152 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12153    $as_echo_n "(cached) " >&6
12154   else
12155    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11303 | Line 12186 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12186   LIBADD_DLOPEN=
12187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12188   $as_echo_n "checking for library containing dlopen... " >&6; }
12189 < if test "${ac_cv_search_dlopen+set}" = set; then :
12189 > if ${ac_cv_search_dlopen+:} false; then :
12190    $as_echo_n "(cached) " >&6
12191   else
12192    ac_func_search_save_LIBS=$LIBS
# Line 11337 | Line 12220 | for ac_lib in '' dl; do
12220   fi
12221   rm -f core conftest.err conftest.$ac_objext \
12222      conftest$ac_exeext
12223 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12223 >  if ${ac_cv_search_dlopen+:} false; then :
12224    break
12225   fi
12226   done
12227 < if test "${ac_cv_search_dlopen+set}" = set; then :
12227 > if ${ac_cv_search_dlopen+:} false; then :
12228  
12229   else
12230    ac_cv_search_dlopen=no
# Line 11386 | Line 12269 | $as_echo "#define HAVE_LIBDL 1" >>confde
12269   else
12270    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12271   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12272 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12272 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12273    $as_echo_n "(cached) " >&6
12274   else
12275    ac_check_lib_save_LIBS=$LIBS
# Line 11420 | Line 12303 | LIBS=$ac_check_lib_save_LIBS
12303   fi
12304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12305   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12306 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12306 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12307  
12308   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12309  
# Line 11440 | Line 12323 | then
12323    for ac_func in dlerror
12324   do :
12325    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12326 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12326 > if test "x$ac_cv_func_dlerror" = xyes; then :
12327    cat >>confdefs.h <<_ACEOF
12328   #define HAVE_DLERROR 1
12329   _ACEOF
# Line 11454 | Line 12337 | fi
12337  
12338   LIBADD_SHL_LOAD=
12339   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12340 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12340 > if test "x$ac_cv_func_shl_load" = xyes; then :
12341  
12342   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12343  
# Line 11462 | Line 12345 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12345   else
12346    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12347   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12348 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12348 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12349    $as_echo_n "(cached) " >&6
12350   else
12351    ac_check_lib_save_LIBS=$LIBS
# Line 11496 | Line 12379 | LIBS=$ac_check_lib_save_LIBS
12379   fi
12380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12381   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12382 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12382 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12383  
12384   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12385  
# Line 11512 | Line 12395 | case $host_os in
12395   darwin[1567].*)
12396   # We only want this for pre-Mac OS X 10.4.
12397    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12398 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12398 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12399  
12400   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12401  
# Line 11526 | Line 12409 | beos*)
12409   cygwin* | mingw* | os2* | pw32*)
12410    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12411   "
12412 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12412 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12413    ac_have_decl=1
12414   else
12415    ac_have_decl=0
# Line 11542 | Line 12425 | esac
12425  
12426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12427   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12428 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12428 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12429    $as_echo_n "(cached) " >&6
12430   else
12431    ac_check_lib_save_LIBS=$LIBS
# Line 11576 | Line 12459 | LIBS=$ac_check_lib_save_LIBS
12459   fi
12460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12461   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12462 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12462 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12463  
12464   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12465  
# Line 11610 | Line 12493 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12493  
12494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12495   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12496 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12496 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12497    $as_echo_n "(cached) " >&6
12498   else
12499    lt_cv_sys_symbol_underscore=no
# Line 11660 | Line 12543 | if test x"$lt_cv_sys_symbol_underscore"
12543       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12544          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12545   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12546 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12546 > if ${libltdl_cv_need_uscore+:} false; then :
12547    $as_echo_n "(cached) " >&6
12548   else
12549    libltdl_cv_need_uscore=unknown
# Line 11716 | Line 12599 | else
12599   /* When -fvisbility=hidden is used, assume the code has been annotated
12600     correspondingly for the symbols needed.  */
12601   #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12602 < void fnord () __attribute__((visibility("default")));
12602 > int fnord () __attribute__((visibility("default")));
12603   #endif
12604  
12605 < void fnord () { int i=42; }
12605 > int fnord () { return 42; }
12606   int main ()
12607   {
12608    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11776 | Line 12659 | fi
12659  
12660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12661   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12662 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12662 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12663    $as_echo_n "(cached) " >&6
12664   else
12665    # PORTME does your system automatically load deplibs for dlopen?
# Line 11882 | Line 12765 | for ac_header in argz.h
12765   do :
12766    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12767   "
12768 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12768 > if test "x$ac_cv_header_argz_h" = xyes; then :
12769    cat >>confdefs.h <<_ACEOF
12770   #define HAVE_ARGZ_H 1
12771   _ACEOF
# Line 11896 | Line 12779 | ac_fn_c_check_type "$LINENO" "error_t" "
12779   #  include <argz.h>
12780   #endif
12781   "
12782 < if test "x$ac_cv_type_error_t" = x""yes; then :
12782 > if test "x$ac_cv_type_error_t" = xyes; then :
12783  
12784   cat >>confdefs.h <<_ACEOF
12785   #define HAVE_ERROR_T 1
# Line 11936 | Line 12819 | done
12819   if test -z "$ARGZ_H"; then :
12820    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12821   $as_echo_n "checking if argz actually works... " >&6; }
12822 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12822 > if ${lt_cv_sys_argz_works+:} false; then :
12823    $as_echo_n "(cached) " >&6
12824   else
12825    case $host_os in #(
# Line 11967 | Line 12850 | else
12850   fi
12851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12852   $as_echo "$lt_cv_sys_argz_works" >&6; }
12853 <     if test $lt_cv_sys_argz_works = yes; then :
12853 >     if test "$lt_cv_sys_argz_works" = yes; then :
12854  
12855   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12856  
# Line 11984 | Line 12867 | fi
12867  
12868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12869   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12870 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12870 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12871    $as_echo_n "(cached) " >&6
12872   else
12873    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 12026 | Line 12909 | if test "x$with_included_ltdl" != xyes;
12909    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12910  
12911   "
12912 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12912 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12913    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12914              #include <ltdl.h>
12915   "
12916 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12916 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12917    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12918   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12919 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12919 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12920    $as_echo_n "(cached) " >&6
12921   else
12922    ac_check_lib_save_LIBS=$LIBS
# Line 12067 | Line 12950 | LIBS=$ac_check_lib_save_LIBS
12950   fi
12951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12952   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12953 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12953 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12954    with_included_ltdl=no
12955   else
12956    with_included_ltdl=yes
# Line 12267 | Line 13150 | cat >>confdefs.h <<_ACEOF
13150   _ACEOF
13151  
13152  
13153 + name=
13154 + eval "lt_libprefix=\"$libname_spec\""
13155 +
13156 + cat >>confdefs.h <<_ACEOF
13157 + #define LT_LIBPREFIX "$lt_libprefix"
13158 + _ACEOF
13159 +
13160 +
13161   name=ltdl
13162 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13162 > eval "LTDLOPEN=\"$libname_spec\""
13163  
13164  
13165  
# Line 12284 | Line 13175 | LIBTOOL="$LIBTOOL --silent"
13175  
13176   # Checks for libraries.
13177  
13178 +
13179 +  if test "X$CC" != "X"; then
13180 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13181 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13182 + if ${ssp_cv_cc+:} false; then :
13183 +  $as_echo_n "(cached) " >&6
13184 + else
13185 +  ssp_old_cflags="$CFLAGS"
13186 +       CFLAGS="$CFLAGS -fstack-protector"
13187 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13188 + /* end confdefs.h.  */
13189 +
13190 + int
13191 + main ()
13192 + {
13193 +
13194 +  ;
13195 +  return 0;
13196 + }
13197 + _ACEOF
13198 + if ac_fn_c_try_compile "$LINENO"; then :
13199 +  ssp_cv_cc=yes
13200 + else
13201 +  ssp_cv_cc=no
13202 + fi
13203 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13204 +       CFLAGS="$ssp_old_cflags"
13205 +
13206 + fi
13207 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13208 + $as_echo "$ssp_cv_cc" >&6; }
13209 +    if test $ssp_cv_cc = yes; then
13210 +      CFLAGS="$CFLAGS -fstack-protector"
13211 +
13212 + $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13213 +
13214 +    fi
13215 +  fi
13216 +
13217 +
13218 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5
13219 + $as_echo_n "checking whether C compiler accepts ... " >&6; }
13220 + if ${ax_cv_check_cflags__+:} false; then :
13221 +  $as_echo_n "(cached) " >&6
13222 + else
13223 +
13224 +  ax_check_save_flags=$CFLAGS
13225 +  CFLAGS="$CFLAGS  "
13226 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13227 + /* end confdefs.h.  */
13228 +
13229 + int
13230 + main ()
13231 + {
13232 +
13233 +  ;
13234 +  return 0;
13235 + }
13236 + _ACEOF
13237 + if ac_fn_c_try_compile "$LINENO"; then :
13238 +  ax_cv_check_cflags__=yes
13239 + else
13240 +  ax_cv_check_cflags__=no
13241 + fi
13242 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13243 +  CFLAGS=$ax_check_save_flags
13244 + fi
13245 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5
13246 + $as_echo "$ax_cv_check_cflags__" >&6; }
13247 + if test x"$ax_cv_check_cflags__" = xyes; then :
13248 +  :
13249 + else
13250 +  :
13251 + fi
13252 +
13253 + if ${CFLAGS+:} false; then :
13254 +  case " $CFLAGS " in
13255 +    *"  "*)
13256 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
13257 +  (: CFLAGS already contains ) 2>&5
13258 +  ac_status=$?
13259 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 +  test $ac_status = 0; }
13261 +      ;;
13262 +    *)
13263 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
13264 +  (: CFLAGS="$CFLAGS ") 2>&5
13265 +  ac_status=$?
13266 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 +  test $ac_status = 0; }
13268 +      CFLAGS="$CFLAGS "
13269 +      ;;
13270 +   esac
13271 + else
13272 +  CFLAGS=""
13273 + fi
13274 +
13275 +
13276 +
13277 + for flag in -fno-strict-aliasing; do
13278 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13279 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13280 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13281 + if eval \${$as_CACHEVAR+:} false; then :
13282 +  $as_echo_n "(cached) " >&6
13283 + else
13284 +
13285 +  ax_check_save_flags=$CFLAGS
13286 +  CFLAGS="$CFLAGS  $flag"
13287 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13288 + /* end confdefs.h.  */
13289 +
13290 + int
13291 + main ()
13292 + {
13293 +
13294 +  ;
13295 +  return 0;
13296 + }
13297 + _ACEOF
13298 + if ac_fn_c_try_compile "$LINENO"; then :
13299 +  eval "$as_CACHEVAR=yes"
13300 + else
13301 +  eval "$as_CACHEVAR=no"
13302 + fi
13303 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13304 +  CFLAGS=$ax_check_save_flags
13305 + fi
13306 + eval ac_res=\$$as_CACHEVAR
13307 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13308 + $as_echo "$ac_res" >&6; }
13309 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13310 +  if ${CFLAGS+:} false; then :
13311 +  case " $CFLAGS " in
13312 +    *" $flag "*)
13313 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13314 +  (: CFLAGS already contains $flag) 2>&5
13315 +  ac_status=$?
13316 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13317 +  test $ac_status = 0; }
13318 +      ;;
13319 +    *)
13320 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13321 +  (: CFLAGS="$CFLAGS $flag") 2>&5
13322 +  ac_status=$?
13323 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13324 +  test $ac_status = 0; }
13325 +      CFLAGS="$CFLAGS $flag"
13326 +      ;;
13327 +   esac
13328 + else
13329 +  CFLAGS="$flag"
13330 + fi
13331 +
13332 + else
13333 +  :
13334 + fi
13335 +
13336 + done
13337 +
13338 +
13339 +
13340 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13341 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13342 +
13343 + else
13344 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13345 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13346 + if ${ac_cv_search_getaddrinfo+:} false; then :
13347 +  $as_echo_n "(cached) " >&6
13348 + else
13349 +  ac_func_search_save_LIBS=$LIBS
13350 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13351 + /* end confdefs.h.  */
13352 +
13353 + /* Override any GCC internal prototype to avoid an error.
13354 +   Use char because int might match the return type of a GCC
13355 +   builtin and then its argument prototype would still apply.  */
13356 + #ifdef __cplusplus
13357 + extern "C"
13358 + #endif
13359 + char getaddrinfo ();
13360 + int
13361 + main ()
13362 + {
13363 + return getaddrinfo ();
13364 +  ;
13365 +  return 0;
13366 + }
13367 + _ACEOF
13368 + for ac_lib in '' nsl; do
13369 +  if test -z "$ac_lib"; then
13370 +    ac_res="none required"
13371 +  else
13372 +    ac_res=-l$ac_lib
13373 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13374 +  fi
13375 +  if ac_fn_c_try_link "$LINENO"; then :
13376 +  ac_cv_search_getaddrinfo=$ac_res
13377 + fi
13378 + rm -f core conftest.err conftest.$ac_objext \
13379 +    conftest$ac_exeext
13380 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13381 +  break
13382 + fi
13383 + done
13384 + if ${ac_cv_search_getaddrinfo+:} false; then :
13385 +
13386 + else
13387 +  ac_cv_search_getaddrinfo=no
13388 + fi
13389 + rm conftest.$ac_ext
13390 + LIBS=$ac_func_search_save_LIBS
13391 + fi
13392 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13393 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13394 + ac_res=$ac_cv_search_getaddrinfo
13395 + if test "$ac_res" != no; then :
13396 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13397 +
13398 + fi
13399 +
13400 + fi
13401 +
13402 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13403 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13404 +
13405 + else
13406 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13407 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13408 + if ${ac_cv_search_getnameinfo+:} false; then :
13409 +  $as_echo_n "(cached) " >&6
13410 + else
13411 +  ac_func_search_save_LIBS=$LIBS
13412 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 + /* end confdefs.h.  */
13414 +
13415 + /* Override any GCC internal prototype to avoid an error.
13416 +   Use char because int might match the return type of a GCC
13417 +   builtin and then its argument prototype would still apply.  */
13418 + #ifdef __cplusplus
13419 + extern "C"
13420 + #endif
13421 + char getnameinfo ();
13422 + int
13423 + main ()
13424 + {
13425 + return getnameinfo ();
13426 +  ;
13427 +  return 0;
13428 + }
13429 + _ACEOF
13430 + for ac_lib in '' nsl; do
13431 +  if test -z "$ac_lib"; then
13432 +    ac_res="none required"
13433 +  else
13434 +    ac_res=-l$ac_lib
13435 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13436 +  fi
13437 +  if ac_fn_c_try_link "$LINENO"; then :
13438 +  ac_cv_search_getnameinfo=$ac_res
13439 + fi
13440 + rm -f core conftest.err conftest.$ac_objext \
13441 +    conftest$ac_exeext
13442 +  if ${ac_cv_search_getnameinfo+:} false; then :
13443 +  break
13444 + fi
13445 + done
13446 + if ${ac_cv_search_getnameinfo+:} false; then :
13447 +
13448 + else
13449 +  ac_cv_search_getnameinfo=no
13450 + fi
13451 + rm conftest.$ac_ext
13452 + LIBS=$ac_func_search_save_LIBS
13453 + fi
13454 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13455 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13456 + ac_res=$ac_cv_search_getnameinfo
13457 + if test "$ac_res" != no; then :
13458 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13459 +
13460 + fi
13461 +
13462 + fi
13463 +
13464    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13465   $as_echo_n "checking for library containing socket... " >&6; }
13466 < if test "${ac_cv_search_socket+set}" = set; then :
13466 > if ${ac_cv_search_socket+:} false; then :
13467    $as_echo_n "(cached) " >&6
13468   else
13469    ac_func_search_save_LIBS=$LIBS
# Line 12320 | Line 13497 | for ac_lib in '' socket; do
13497   fi
13498   rm -f core conftest.err conftest.$ac_objext \
13499      conftest$ac_exeext
13500 <  if test "${ac_cv_search_socket+set}" = set; then :
13500 >  if ${ac_cv_search_socket+:} false; then :
13501    break
13502   fi
13503   done
13504 < if test "${ac_cv_search_socket+set}" = set; then :
13504 > if ${ac_cv_search_socket+:} false; then :
13505  
13506   else
13507    ac_cv_search_socket=no
# Line 12342 | Line 13519 | else
13519    as_fn_error $? "socket library not found" "$LINENO" 5
13520   fi
13521  
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 –
13522    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13523     #include <sys/socket.h>
13524     #include <netdb.h>
13525  
13526   "
13527 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13527 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13528  
13529   cat >>confdefs.h <<_ACEOF
13530   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12372 | Line 13537 | ac_fn_c_check_type "$LINENO" "struct soc
13537     #include <netdb.h>
13538  
13539   "
13540 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13540 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13541  
13542   cat >>confdefs.h <<_ACEOF
13543   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12385 | Line 13550 | ac_fn_c_check_type "$LINENO" "struct add
13550     #include <netdb.h>
13551  
13552   "
13553 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13553 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13554  
13555   cat >>confdefs.h <<_ACEOF
13556   #define HAVE_STRUCT_ADDRINFO 1
# Line 12397 | Line 13562 | fi
13562    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13563    <sys/socket.h>
13564   "
13565 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13565 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13566  
13567   cat >>confdefs.h <<_ACEOF
13568   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12408 | Line 13573 | fi
13573  
13574  
13575  
13576 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13577 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13578 <
12414 < cat >>confdefs.h <<_ACEOF
12415 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12416 < _ACEOF
12417 <
12418 <
12419 < else
13576 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13577 > "
13578 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13579  
13580   $as_echo "#define IPV6 1" >>confdefs.h
13581  
# Line 12427 | Line 13586 | fi
13586   # Checks for typedefs, structures, and compiler characteristics.
13587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13588   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13589 < if test "${ac_cv_c_bigendian+set}" = set; then :
13589 > if ${ac_cv_c_bigendian+:} false; then :
13590    $as_echo_n "(cached) " >&6
13591   else
13592    ac_cv_c_bigendian=unknown
# Line 12676 | Line 13835 | done
13835  
13836  
13837  
12679 –
12680 –
13838   # Checks for header files.
13839  
13840  
# Line 12712 | Line 13869 | done
13869  
13870  
13871  
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 –
13872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13873   $as_echo_n "checking for library containing crypt... " >&6; }
13874 < if test "${ac_cv_search_crypt+set}" = set; then :
13874 > if ${ac_cv_search_crypt+:} false; then :
13875    $as_echo_n "(cached) " >&6
13876   else
13877    ac_func_search_save_LIBS=$LIBS
# Line 12778 | Line 13905 | for ac_lib in '' crypt; do
13905   fi
13906   rm -f core conftest.err conftest.$ac_objext \
13907      conftest$ac_exeext
13908 <  if test "${ac_cv_search_crypt+set}" = set; then :
13908 >  if ${ac_cv_search_crypt+:} false; then :
13909    break
13910   fi
13911   done
13912 < if test "${ac_cv_search_crypt+set}" = set; then :
13912 > if ${ac_cv_search_crypt+:} false; then :
13913  
13914   else
13915    ac_cv_search_crypt=no
# Line 12799 | Line 13926 | if test "$ac_res" != no; then :
13926   fi
13927  
13928  
13929 <
13930 <
13931 < # Check whether --with-zlib-path was given.
13932 < if test "${with_zlib_path+set}" = set; then :
13933 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13934 < fi
13935 <
13936 <
13937 < # 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 :
13929 > # Check whether --enable-libgeoip was given.
13930 > if test "${enable_libgeoip+set}" = set; then :
13931 >  enableval=$enable_libgeoip;
13932 > else
13933 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13934 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13935 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13936 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13937 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13938    $as_echo_n "(cached) " >&6
13939   else
13940 <  ac_check_lib_save_LIBS=$LIBS
12828 < LIBS="-lz  $LIBS"
13940 >  ac_func_search_save_LIBS=$LIBS
13941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942   /* end confdefs.h.  */
13943  
# Line 12835 | Line 13947 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13947   #ifdef __cplusplus
13948   extern "C"
13949   #endif
13950 < char zlibVersion ();
13950 > char GeoIP_id_by_ipnum_v6_gl ();
13951   int
13952   main ()
13953   {
13954 < return zlibVersion ();
13954 > return GeoIP_id_by_ipnum_v6_gl ();
13955    ;
13956    return 0;
13957   }
13958   _ACEOF
13959 < if ac_fn_c_try_link "$LINENO"; then :
13960 <  ac_cv_lib_z_zlibVersion=yes
13961 < else
13962 <  ac_cv_lib_z_zlibVersion=no
13959 > for ac_lib in '' GeoIP; do
13960 >  if test -z "$ac_lib"; then
13961 >    ac_res="none required"
13962 >  else
13963 >    ac_res=-l$ac_lib
13964 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13965 >  fi
13966 >  if ac_fn_c_try_link "$LINENO"; then :
13967 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13968   fi
13969   rm -f core conftest.err conftest.$ac_objext \
13970 <    conftest$ac_exeext conftest.$ac_ext
13971 < LIBS=$ac_check_lib_save_LIBS
13972 < 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 <
12885 < # Check whether --enable-libpcre was given.
12886 < if test "${enable_libpcre+set}" = set; then :
12887 <  enableval=$enable_libpcre; libpcre=$enableval
12888 < else
12889 <  libpcre=yes
13970 >    conftest$ac_exeext
13971 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13972 >  break
13973   fi
13974 + done
13975 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13976  
12892 –
12893 – if test "$libpcre" = "yes"; then :
12894 –
12895 –  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12896 – if test "x$ac_cv_header_pcre_h" = x""yes; then :
12897 –  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12898 – $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12899 – if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12900 –  $as_echo_n "(cached) " >&6
12901 – else
12902 –  ac_check_lib_save_LIBS=$LIBS
12903 – LIBS="-lpcre  $LIBS"
12904 – cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12905 – /* end confdefs.h.  */
12906 –
12907 – /* Override any GCC internal prototype to avoid an error.
12908 –   Use char because int might match the return type of a GCC
12909 –   builtin and then its argument prototype would still apply.  */
12910 – #ifdef __cplusplus
12911 – extern "C"
12912 – #endif
12913 – char pcre_study ();
12914 – int
12915 – main ()
12916 – {
12917 – return pcre_study ();
12918 –  ;
12919 –  return 0;
12920 – }
12921 – _ACEOF
12922 – if ac_fn_c_try_link "$LINENO"; then :
12923 –  ac_cv_lib_pcre_pcre_study=yes
13977   else
13978 <  ac_cv_lib_pcre_pcre_study=no
13978 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13979   fi
13980 < rm -f core conftest.err conftest.$ac_objext \
13981 <    conftest$ac_exeext conftest.$ac_ext
12929 < LIBS=$ac_check_lib_save_LIBS
13980 > rm conftest.$ac_ext
13981 > LIBS=$ac_func_search_save_LIBS
13982   fi
13983 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13984 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13985 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13986 <
13987 <      LIBS="-lpcre $LIBS"
12936 <
12937 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13983 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13984 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13985 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13986 > if test "$ac_res" != no; then :
13987 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13988  
13989 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13990  
12940 – else
12941 –  libpcre=no
13991   fi
13992  
12944 –
12945 – else
12946 –  libpcre=no
13993   fi
13994  
13995  
12950 –
12951 – 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=
13996   fi
13997  
13998  
# Line 12998 | Line 14036 | if test "$cf_enable_openssl" != "no"; th
14036    fi
14037  
14038        if test ! -z "$cf_openssl_basedir"; then
13001 –    LIBS="-lcrypto -lssl $LIBS"
14039      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14040   $as_echo "$cf_openssl_basedir" >&6; }
14041      cf_enable_openssl="yes"
13005 –
13006 – $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13007 –
14042    else
14043      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
14044   $as_echo "not found. Please check your path." >&6; }
# Line 13017 | Line 14051 | $as_echo "disabled" >&6; }
14051   fi
14052  
14053   if test "$cf_enable_openssl" != "no"; then :
14054 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14055 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14054 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
14055 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
14056    if test "$cross_compiling" = yes; then :
14057    cf_openssl_version_ok=no
14058   else
14059    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060   /* end confdefs.h.  */
14061  
14062 +
14063      #include <openssl/opensslv.h>
14064      #include <stdlib.h>
14065   int
14066   main ()
14067   {
14068 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14068 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14069    ;
14070    return 0;
14071   }
# Line 13051 | Line 14086 | $as_echo "found" >&6; }
14086  
14087      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14088   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14089 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14089 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14090    $as_echo_n "(cached) " >&6
14091   else
14092    ac_check_lib_save_LIBS=$LIBS
# Line 13085 | Line 14120 | LIBS=$ac_check_lib_save_LIBS
14120   fi
14121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14122   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14123 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
14123 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14124    cat >>confdefs.h <<_ACEOF
14125   #define HAVE_LIBCRYPTO 1
14126   _ACEOF
# Line 13095 | Line 14130 | _ACEOF
14130   fi
14131  
14132      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14133 <  for ac_func in EVP_bf_cfb           \
14134 <                      EVP_cast5_cfb        \
14135 <                      EVP_idea_cfb         \
14136 <                      EVP_rc5_32_12_16_cfb \
14137 <                      EVP_des_ede3_cfb     \
14138 <                      EVP_des_cfb
14139 < do :
14140 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14141 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14142 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14133 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14134 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14135 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14136 >  $as_echo_n "(cached) " >&6
14137 > else
14138 >  ac_check_lib_save_LIBS=$LIBS
14139 > LIBS="-lssl  $LIBS"
14140 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 > /* end confdefs.h.  */
14142 >
14143 > /* Override any GCC internal prototype to avoid an error.
14144 >   Use char because int might match the return type of a GCC
14145 >   builtin and then its argument prototype would still apply.  */
14146 > #ifdef __cplusplus
14147 > extern "C"
14148 > #endif
14149 > char SSL_connect ();
14150 > int
14151 > main ()
14152 > {
14153 > return SSL_connect ();
14154 >  ;
14155 >  return 0;
14156 > }
14157 > _ACEOF
14158 > if ac_fn_c_try_link "$LINENO"; then :
14159 >  ac_cv_lib_ssl_SSL_connect=yes
14160 > else
14161 >  ac_cv_lib_ssl_SSL_connect=no
14162 > fi
14163 > rm -f core conftest.err conftest.$ac_objext \
14164 >    conftest$ac_exeext conftest.$ac_ext
14165 > LIBS=$ac_check_lib_save_LIBS
14166 > fi
14167 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14168 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14169 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14170    cat >>confdefs.h <<_ACEOF
14171 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14171 > #define HAVE_LIBSSL 1
14172   _ACEOF
14173  
14174 +  LIBS="-lssl $LIBS"
14175 +
14176   fi
13113 – done
14177  
14178   fi
14179  
# Line 13121 | Line 14184 | $as_echo "no - OpenSSL support disabled"
14184   fi
14185   fi
14186  
14187 < if test "$cf_enable_openssl" = yes; then
14187 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14188    ENABLE_SSL_TRUE=
14189    ENABLE_SSL_FALSE='#'
14190   else
# Line 13146 | Line 14209 | $as_echo "#define NDEBUG 1" >>confdefs.h
14209   fi
14210  
14211  
14212 < # 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 <
14212 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14213  
13163 – $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14214  
14215 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14216  
13166 – $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14217  
14218 + $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14219  
13169 – $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14220  
14221 + $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14222  
13172 – $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14223  
14224 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14225  
13175 – $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14226  
14227 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14228  
13178 – $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14229  
14230 <
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
14230 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14231  
14232  
14233 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14234  
13193 – $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14235  
14236 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14237  
13196 – $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14238  
14239 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14240  
13199 – $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14241  
14242 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14243  
13202 – $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14244  
14245 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14246  
13205 – $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14247  
14248 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14249  
13208 – $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14250  
14251 <
13211 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13212 <
13213 <
13214 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13215 <
13216 <
13217 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13218 <
13219 <
13220 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13221 <
13222 < fi
14251 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14252  
14253  
14254   # Argument processing.
# Line 13240 | Line 14269 | if test "${enable_devpoll+set}" = set; t
14269    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14270   fi
14271  
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 –
14272    # Check whether --enable-poll was given.
14273   if test "${enable_poll+set}" = set; then :
14274    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 13360 | Line 14384 | else
14384   #endif
14385   _syscall1(int, epoll_create, int, size)
14386   #endif
13363 – main() { return epoll_create(256) == -1 ? 1 : 0; }
14387  
14388 + int
14389 + main ()
14390 + {
14391 + return epoll_create(256) == -1 ? 1 : 0
14392 +  ;
14393 +  return 0;
14394 + }
14395   _ACEOF
14396   if ac_fn_c_try_run "$LINENO"; then :
14397    is_epoll_mechanism_available="yes"
# Line 13422 | Line 14452 | rm -f core conftest.err conftest.$ac_obj
14452   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14453  
14454    fi
14455 <      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
14455 >      iopoll_mechanism_poll=4
14456  
14457   cat >>confdefs.h <<_ACEOF
14458   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13515 | Line 14506 | else
14506   fi
14507   rm -f core conftest.err conftest.$ac_objext \
14508      conftest$ac_exeext conftest.$ac_ext
14509 <      iopoll_mechanism_select=6
14509 >      iopoll_mechanism_select=5
14510  
14511   cat >>confdefs.h <<_ACEOF
14512   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 13570 | Line 14561 | fi
14561   rm -f core conftest.err conftest.$ac_objext \
14562      conftest$ac_exeext conftest.$ac_ext
14563        optimal_iopoll_mechanism="none"
14564 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14564 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14565      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14566      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14567        optimal_iopoll_mechanism="$mechanism"
# Line 13607 | Line 14598 | _ACEOF
14598  
14599  
14600  
14601 +  # Check whether --enable-debugging was given.
14602 + if test "${enable_debugging+set}" = set; then :
14603 +  enableval=$enable_debugging; debugging="$enableval"
14604 + else
14605 +  debugging="no"
14606 + fi
14607  
14608 < # Check whether --with-nicklen was given.
14609 < if test "${with_nicklen+set}" = set; then :
14610 <  withval=$with_nicklen; nicklen="$withval"
14608 >  if test "$debugging" = "yes" ; then
14609 >    CFLAGS="-Wall -g -O0"
14610 >  fi
14611 >
14612 >
14613 >  # Check whether --enable-warnings was given.
14614 > if test "${enable_warnings+set}" = set; then :
14615 >  enableval=$enable_warnings; warnings="$enableval"
14616   else
14617 <  nicklen="9"
14617 >  warnings="no"
14618   fi
14619  
14620 +  if test "$warnings" = "yes" ; then
14621 +
14622  
14623 < cat >>confdefs.h <<_ACEOF
14624 < #define NICKLEN ($nicklen+1)
14623 > for flag in -Wall; do
14624 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14625 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14626 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14627 > if eval \${$as_CACHEVAR+:} false; then :
14628 >  $as_echo_n "(cached) " >&6
14629 > else
14630 >
14631 >  ax_check_save_flags=$CFLAGS
14632 >  CFLAGS="$CFLAGS  $flag"
14633 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 > /* end confdefs.h.  */
14635 >
14636 > int
14637 > main ()
14638 > {
14639 >
14640 >  ;
14641 >  return 0;
14642 > }
14643   _ACEOF
14644 + if ac_fn_c_try_compile "$LINENO"; then :
14645 +  eval "$as_CACHEVAR=yes"
14646 + else
14647 +  eval "$as_CACHEVAR=no"
14648 + fi
14649 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14650 +  CFLAGS=$ax_check_save_flags
14651 + fi
14652 + eval ac_res=\$$as_CACHEVAR
14653 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14654 + $as_echo "$ac_res" >&6; }
14655 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14656 +  if ${CFLAGS+:} false; then :
14657 +  case " $CFLAGS " in
14658 +    *" $flag "*)
14659 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14660 +  (: CFLAGS already contains $flag) 2>&5
14661 +  ac_status=$?
14662 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14663 +  test $ac_status = 0; }
14664 +      ;;
14665 +    *)
14666 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14667 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14668 +  ac_status=$?
14669 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14670 +  test $ac_status = 0; }
14671 +      CFLAGS="$CFLAGS $flag"
14672 +      ;;
14673 +   esac
14674 + else
14675 +  CFLAGS="$flag"
14676 + fi
14677 +
14678 + else
14679 +  :
14680 + fi
14681 +
14682 + done
14683  
14684  
14685  
14686 + for flag in -Wextra; do
14687 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14688 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14689 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14690 + if eval \${$as_CACHEVAR+:} false; then :
14691 +  $as_echo_n "(cached) " >&6
14692 + else
14693 +
14694 +  ax_check_save_flags=$CFLAGS
14695 +  CFLAGS="$CFLAGS  $flag"
14696 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 + /* end confdefs.h.  */
14698 +
14699 + int
14700 + main ()
14701 + {
14702 +
14703 +  ;
14704 +  return 0;
14705 + }
14706 + _ACEOF
14707 + if ac_fn_c_try_compile "$LINENO"; then :
14708 +  eval "$as_CACHEVAR=yes"
14709 + else
14710 +  eval "$as_CACHEVAR=no"
14711 + fi
14712 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14713 +  CFLAGS=$ax_check_save_flags
14714 + fi
14715 + eval ac_res=\$$as_CACHEVAR
14716 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14717 + $as_echo "$ac_res" >&6; }
14718 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14719 +  if ${CFLAGS+:} false; then :
14720 +  case " $CFLAGS " in
14721 +    *" $flag "*)
14722 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14723 +  (: CFLAGS already contains $flag) 2>&5
14724 +  ac_status=$?
14725 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14726 +  test $ac_status = 0; }
14727 +      ;;
14728 +    *)
14729 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14730 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14731 +  ac_status=$?
14732 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14733 +  test $ac_status = 0; }
14734 +      CFLAGS="$CFLAGS $flag"
14735 +      ;;
14736 +   esac
14737 + else
14738 +  CFLAGS="$flag"
14739 + fi
14740  
13626 – # Check whether --with-topiclen was given.
13627 – if test "${with_topiclen+set}" = set; then :
13628 –  withval=$with_topiclen; topiclen="$withval"
14741   else
14742 <  topiclen="160"
14742 >  :
14743   fi
14744  
14745 + done
14746  
14747 < cat >>confdefs.h <<_ACEOF
14748 < #define TOPICLEN ($topiclen)
14747 >
14748 >
14749 > for flag in -Wno-unused; do
14750 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14751 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14752 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14753 > if eval \${$as_CACHEVAR+:} false; then :
14754 >  $as_echo_n "(cached) " >&6
14755 > else
14756 >
14757 >  ax_check_save_flags=$CFLAGS
14758 >  CFLAGS="$CFLAGS  $flag"
14759 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 > /* end confdefs.h.  */
14761 >
14762 > int
14763 > main ()
14764 > {
14765 >
14766 >  ;
14767 >  return 0;
14768 > }
14769   _ACEOF
14770 + if ac_fn_c_try_compile "$LINENO"; then :
14771 +  eval "$as_CACHEVAR=yes"
14772 + else
14773 +  eval "$as_CACHEVAR=no"
14774 + fi
14775 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14776 +  CFLAGS=$ax_check_save_flags
14777 + fi
14778 + eval ac_res=\$$as_CACHEVAR
14779 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14780 + $as_echo "$ac_res" >&6; }
14781 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14782 +  if ${CFLAGS+:} false; then :
14783 +  case " $CFLAGS " in
14784 +    *" $flag "*)
14785 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14786 +  (: CFLAGS already contains $flag) 2>&5
14787 +  ac_status=$?
14788 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14789 +  test $ac_status = 0; }
14790 +      ;;
14791 +    *)
14792 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14793 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14794 +  ac_status=$?
14795 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14796 +  test $ac_status = 0; }
14797 +      CFLAGS="$CFLAGS $flag"
14798 +      ;;
14799 +   esac
14800 + else
14801 +  CFLAGS="$flag"
14802 + fi
14803  
14804 + else
14805 +  :
14806 + fi
14807 +
14808 + done
14809 +
14810 +
14811 +
14812 + for flag in -Wcast-qual; do
14813 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14814 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14815 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14816 + if eval \${$as_CACHEVAR+:} false; then :
14817 +  $as_echo_n "(cached) " >&6
14818 + else
14819  
14820 +  ax_check_save_flags=$CFLAGS
14821 +  CFLAGS="$CFLAGS  $flag"
14822 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 + /* end confdefs.h.  */
14824  
14825 + int
14826 + main ()
14827 + {
14828 +
14829 +  ;
14830 +  return 0;
14831 + }
14832 + _ACEOF
14833 + if ac_fn_c_try_compile "$LINENO"; then :
14834 +  eval "$as_CACHEVAR=yes"
14835 + else
14836 +  eval "$as_CACHEVAR=no"
14837 + fi
14838 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14839 +  CFLAGS=$ax_check_save_flags
14840 + fi
14841 + eval ac_res=\$$as_CACHEVAR
14842 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14843 + $as_echo "$ac_res" >&6; }
14844 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14845 +  if ${CFLAGS+:} false; then :
14846 +  case " $CFLAGS " in
14847 +    *" $flag "*)
14848 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14849 +  (: CFLAGS already contains $flag) 2>&5
14850 +  ac_status=$?
14851 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14852 +  test $ac_status = 0; }
14853 +      ;;
14854 +    *)
14855 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14856 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14857 +  ac_status=$?
14858 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14859 +  test $ac_status = 0; }
14860 +      CFLAGS="$CFLAGS $flag"
14861 +      ;;
14862 +   esac
14863 + else
14864 +  CFLAGS="$flag"
14865 + fi
14866  
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"
14867   else
14868 <  syslog_facility="LOG_LOCAL4"
14868 >  :
14869   fi
14870  
14871 + done
14872  
14873 < cat >>confdefs.h <<_ACEOF
14874 < #define LOG_FACILITY $syslog_facility
14873 >
14874 >
14875 > for flag in -Wcast-align; do
14876 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14877 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14878 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14879 > if eval \${$as_CACHEVAR+:} false; then :
14880 >  $as_echo_n "(cached) " >&6
14881 > else
14882 >
14883 >  ax_check_save_flags=$CFLAGS
14884 >  CFLAGS="$CFLAGS  $flag"
14885 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 > /* end confdefs.h.  */
14887 >
14888 > int
14889 > main ()
14890 > {
14891 >
14892 >  ;
14893 >  return 0;
14894 > }
14895   _ACEOF
14896 + if ac_fn_c_try_compile "$LINENO"; then :
14897 +  eval "$as_CACHEVAR=yes"
14898 + else
14899 +  eval "$as_CACHEVAR=no"
14900 + fi
14901 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14902 +  CFLAGS=$ax_check_save_flags
14903 + fi
14904 + eval ac_res=\$$as_CACHEVAR
14905 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14906 + $as_echo "$ac_res" >&6; }
14907 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14908 +  if ${CFLAGS+:} false; then :
14909 +  case " $CFLAGS " in
14910 +    *" $flag "*)
14911 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14912 +  (: CFLAGS already contains $flag) 2>&5
14913 +  ac_status=$?
14914 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14915 +  test $ac_status = 0; }
14916 +      ;;
14917 +    *)
14918 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14919 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14920 +  ac_status=$?
14921 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14922 +  test $ac_status = 0; }
14923 +      CFLAGS="$CFLAGS $flag"
14924 +      ;;
14925 +   esac
14926 + else
14927 +  CFLAGS="$flag"
14928 + fi
14929 +
14930 + else
14931 +  :
14932 + fi
14933 +
14934 + done
14935  
14936  
14937  
14938 <  # Check whether --enable-efnet was given.
14939 < if test "${enable_efnet+set}" = set; then :
14940 <  enableval=$enable_efnet; efnet="$enableval"
14938 > for flag in -Wbad-function-cast; do
14939 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14940 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14941 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14942 > if eval \${$as_CACHEVAR+:} false; then :
14943 >  $as_echo_n "(cached) " >&6
14944 > else
14945 >
14946 >  ax_check_save_flags=$CFLAGS
14947 >  CFLAGS="$CFLAGS  $flag"
14948 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 > /* end confdefs.h.  */
14950 >
14951 > int
14952 > main ()
14953 > {
14954 >
14955 >  ;
14956 >  return 0;
14957 > }
14958 > _ACEOF
14959 > if ac_fn_c_try_compile "$LINENO"; then :
14960 >  eval "$as_CACHEVAR=yes"
14961 > else
14962 >  eval "$as_CACHEVAR=no"
14963 > fi
14964 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14965 >  CFLAGS=$ax_check_save_flags
14966 > fi
14967 > eval ac_res=\$$as_CACHEVAR
14968 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14969 > $as_echo "$ac_res" >&6; }
14970 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14971 >  if ${CFLAGS+:} false; then :
14972 >  case " $CFLAGS " in
14973 >    *" $flag "*)
14974 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14975 >  (: CFLAGS already contains $flag) 2>&5
14976 >  ac_status=$?
14977 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14978 >  test $ac_status = 0; }
14979 >      ;;
14980 >    *)
14981 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14982 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14983 >  ac_status=$?
14984 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14985 >  test $ac_status = 0; }
14986 >      CFLAGS="$CFLAGS $flag"
14987 >      ;;
14988 >   esac
14989 > else
14990 >  CFLAGS="$flag"
14991 > fi
14992 >
14993   else
14994 <  efnet="no"
14994 >  :
14995   fi
14996  
14997 <  if test "$efnet" = "yes" ; then
13663 <                use_efnet="yes"
14997 > done
14998  
13665 – $as_echo "#define EFNET 1" >>confdefs.h
14999  
15000  
15001 < $as_echo "#define TS5_ONLY 1" >>confdefs.h
15001 > for flag in -Wlogical-op; do
15002 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15003 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15004 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15005 > if eval \${$as_CACHEVAR+:} false; then :
15006 >  $as_echo_n "(cached) " >&6
15007 > else
15008  
15009 <        else
15010 <                use_efnet="no"
15011 <  fi
15012 <   if test "$use_efnet" = "yes"; then
15013 <  EFNET_TRUE=
15014 <  EFNET_FALSE='#'
15009 >  ax_check_save_flags=$CFLAGS
15010 >  CFLAGS="$CFLAGS  $flag"
15011 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 > /* end confdefs.h.  */
15013 >
15014 > int
15015 > main ()
15016 > {
15017 >
15018 >  ;
15019 >  return 0;
15020 > }
15021 > _ACEOF
15022 > if ac_fn_c_try_compile "$LINENO"; then :
15023 >  eval "$as_CACHEVAR=yes"
15024 > else
15025 >  eval "$as_CACHEVAR=no"
15026 > fi
15027 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15028 >  CFLAGS=$ax_check_save_flags
15029 > fi
15030 > eval ac_res=\$$as_CACHEVAR
15031 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15032 > $as_echo "$ac_res" >&6; }
15033 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15034 >  if ${CFLAGS+:} false; then :
15035 >  case " $CFLAGS " in
15036 >    *" $flag "*)
15037 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15038 >  (: CFLAGS already contains $flag) 2>&5
15039 >  ac_status=$?
15040 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15041 >  test $ac_status = 0; }
15042 >      ;;
15043 >    *)
15044 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15045 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15046 >  ac_status=$?
15047 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15048 >  test $ac_status = 0; }
15049 >      CFLAGS="$CFLAGS $flag"
15050 >      ;;
15051 >   esac
15052   else
15053 <  EFNET_TRUE='#'
13678 <  EFNET_FALSE=
15053 >  CFLAGS="$flag"
15054   fi
15055  
15056 + else
15057 +  :
15058 + fi
15059 +
15060 + done
15061 +
15062 +
15063 +
15064 + for flag in -Wmissing-declarations; do
15065 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15066 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15067 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15068 + if eval \${$as_CACHEVAR+:} false; then :
15069 +  $as_echo_n "(cached) " >&6
15070 + else
15071 +
15072 +  ax_check_save_flags=$CFLAGS
15073 +  CFLAGS="$CFLAGS  $flag"
15074 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 + /* end confdefs.h.  */
15076 +
15077 + int
15078 + main ()
15079 + {
15080  
15081 +  ;
15082 +  return 0;
15083 + }
15084 + _ACEOF
15085 + if ac_fn_c_try_compile "$LINENO"; then :
15086 +  eval "$as_CACHEVAR=yes"
15087 + else
15088 +  eval "$as_CACHEVAR=no"
15089 + fi
15090 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15091 +  CFLAGS=$ax_check_save_flags
15092 + fi
15093 + eval ac_res=\$$as_CACHEVAR
15094 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15095 + $as_echo "$ac_res" >&6; }
15096 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15097 +  if ${CFLAGS+:} false; then :
15098 +  case " $CFLAGS " in
15099 +    *" $flag "*)
15100 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15101 +  (: CFLAGS already contains $flag) 2>&5
15102 +  ac_status=$?
15103 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15104 +  test $ac_status = 0; }
15105 +      ;;
15106 +    *)
15107 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15108 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15109 +  ac_status=$?
15110 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15111 +  test $ac_status = 0; }
15112 +      CFLAGS="$CFLAGS $flag"
15113 +      ;;
15114 +   esac
15115 + else
15116 +  CFLAGS="$flag"
15117 + fi
15118  
13683 –  # Check whether --enable-halfops was given.
13684 – if test "${enable_halfops+set}" = set; then :
13685 –  enableval=$enable_halfops; halfops="$enableval"
15119   else
15120 <  halfops="no"
15120 >  :
15121   fi
15122  
15123 <  if test "$halfops" = "yes" ; then
15123 > done
15124  
13692 – $as_echo "#define HALFOPS 1" >>confdefs.h
15125  
13694 –  fi
15126  
15127 + for flag in -Wmissing-include-dirs; do
15128 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15129 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15130 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15131 + if eval \${$as_CACHEVAR+:} false; then :
15132 +  $as_echo_n "(cached) " >&6
15133 + else
15134  
15135 <  # Check whether --enable-debugging was given.
15136 < if test "${enable_debugging+set}" = set; then :
15137 <  enableval=$enable_debugging; debugging="$enableval"
15135 >  ax_check_save_flags=$CFLAGS
15136 >  CFLAGS="$CFLAGS  $flag"
15137 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 > /* end confdefs.h.  */
15139 >
15140 > int
15141 > main ()
15142 > {
15143 >
15144 >  ;
15145 >  return 0;
15146 > }
15147 > _ACEOF
15148 > if ac_fn_c_try_compile "$LINENO"; then :
15149 >  eval "$as_CACHEVAR=yes"
15150   else
15151 <  debugging="no"
15151 >  eval "$as_CACHEVAR=no"
15152 > fi
15153 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15154 >  CFLAGS=$ax_check_save_flags
15155 > fi
15156 > eval ac_res=\$$as_CACHEVAR
15157 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15158 > $as_echo "$ac_res" >&6; }
15159 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15160 >  if ${CFLAGS+:} false; then :
15161 >  case " $CFLAGS " in
15162 >    *" $flag "*)
15163 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15164 >  (: CFLAGS already contains $flag) 2>&5
15165 >  ac_status=$?
15166 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15167 >  test $ac_status = 0; }
15168 >      ;;
15169 >    *)
15170 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15171 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15172 >  ac_status=$?
15173 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15174 >  test $ac_status = 0; }
15175 >      CFLAGS="$CFLAGS $flag"
15176 >      ;;
15177 >   esac
15178 > else
15179 >  CFLAGS="$flag"
15180   fi
15181  
15182 <  if test "$debugging" = "yes" ; then
15182 > else
15183 >  :
15184 > fi
15185  
15186 < $as_echo "#define DEBUG 1" >>confdefs.h
15186 > done
15187  
13708 –    CFLAGS="-Wall -g -O0"
13709 –  else
15188  
13711 – $as_echo "#define NDEBUG 1" >>confdefs.h
15189  
15190 <  fi
15190 > for flag in -Wmissing-prototypes; do
15191 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15192 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15193 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15194 > if eval \${$as_CACHEVAR+:} false; then :
15195 >  $as_echo_n "(cached) " >&6
15196 > else
15197  
15198 +  ax_check_save_flags=$CFLAGS
15199 +  CFLAGS="$CFLAGS  $flag"
15200 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 + /* end confdefs.h.  */
15202  
15203 <  # Check whether --enable-warnings was given.
15204 < if test "${enable_warnings+set}" = set; then :
15205 <  enableval=$enable_warnings; warnings="$enableval"
15203 > int
15204 > main ()
15205 > {
15206 >
15207 >  ;
15208 >  return 0;
15209 > }
15210 > _ACEOF
15211 > if ac_fn_c_try_compile "$LINENO"; then :
15212 >  eval "$as_CACHEVAR=yes"
15213   else
15214 <  warnings="no"
15214 >  eval "$as_CACHEVAR=no"
15215 > fi
15216 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15217 >  CFLAGS=$ax_check_save_flags
15218 > fi
15219 > eval ac_res=\$$as_CACHEVAR
15220 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15221 > $as_echo "$ac_res" >&6; }
15222 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15223 >  if ${CFLAGS+:} false; then :
15224 >  case " $CFLAGS " in
15225 >    *" $flag "*)
15226 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15227 >  (: CFLAGS already contains $flag) 2>&5
15228 >  ac_status=$?
15229 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15230 >  test $ac_status = 0; }
15231 >      ;;
15232 >    *)
15233 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15234 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15235 >  ac_status=$?
15236 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15237 >  test $ac_status = 0; }
15238 >      CFLAGS="$CFLAGS $flag"
15239 >      ;;
15240 >   esac
15241 > else
15242 >  CFLAGS="$flag"
15243   fi
15244  
15245 <  if test "$warnings" = "yes" ; then
15246 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15247 <  fi
15245 > else
15246 >  :
15247 > fi
15248  
15249 + done
15250  
15251 <  for ac_header in syslog.h sys/syslog.h
15252 < do :
15253 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15254 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15255 < if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15256 <  cat >>confdefs.h <<_ACEOF
15257 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15251 >
15252 >
15253 > for flag in -Wnested-externs; do
15254 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15255 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15256 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15257 > if eval \${$as_CACHEVAR+:} false; then :
15258 >  $as_echo_n "(cached) " >&6
15259 > else
15260 >
15261 >  ax_check_save_flags=$CFLAGS
15262 >  CFLAGS="$CFLAGS  $flag"
15263 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 > /* end confdefs.h.  */
15265 >
15266 > int
15267 > main ()
15268 > {
15269 >
15270 >  ;
15271 >  return 0;
15272 > }
15273 > _ACEOF
15274 > if ac_fn_c_try_compile "$LINENO"; then :
15275 >  eval "$as_CACHEVAR=yes"
15276 > else
15277 >  eval "$as_CACHEVAR=no"
15278 > fi
15279 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15280 >  CFLAGS=$ax_check_save_flags
15281 > fi
15282 > eval ac_res=\$$as_CACHEVAR
15283 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15284 > $as_echo "$ac_res" >&6; }
15285 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15286 >  if ${CFLAGS+:} false; then :
15287 >  case " $CFLAGS " in
15288 >    *" $flag "*)
15289 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15290 >  (: CFLAGS already contains $flag) 2>&5
15291 >  ac_status=$?
15292 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15293 >  test $ac_status = 0; }
15294 >      ;;
15295 >    *)
15296 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15297 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15298 >  ac_status=$?
15299 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15300 >  test $ac_status = 0; }
15301 >      CFLAGS="$CFLAGS $flag"
15302 >      ;;
15303 >   esac
15304 > else
15305 >  CFLAGS="$flag"
15306 > fi
15307 >
15308 > else
15309 >  :
15310 > fi
15311 >
15312 > done
15313 >
15314 >
15315 >
15316 > for flag in -Wpointer-arith; do
15317 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15318 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15319 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15320 > if eval \${$as_CACHEVAR+:} false; then :
15321 >  $as_echo_n "(cached) " >&6
15322 > else
15323 >
15324 >  ax_check_save_flags=$CFLAGS
15325 >  CFLAGS="$CFLAGS  $flag"
15326 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15327 > /* end confdefs.h.  */
15328 >
15329 > int
15330 > main ()
15331 > {
15332 >
15333 >  ;
15334 >  return 0;
15335 > }
15336   _ACEOF
15337 + if ac_fn_c_try_compile "$LINENO"; then :
15338 +  eval "$as_CACHEVAR=yes"
15339 + else
15340 +  eval "$as_CACHEVAR=no"
15341 + fi
15342 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15343 +  CFLAGS=$ax_check_save_flags
15344 + fi
15345 + eval ac_res=\$$as_CACHEVAR
15346 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15347 + $as_echo "$ac_res" >&6; }
15348 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15349 +  if ${CFLAGS+:} false; then :
15350 +  case " $CFLAGS " in
15351 +    *" $flag "*)
15352 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15353 +  (: CFLAGS already contains $flag) 2>&5
15354 +  ac_status=$?
15355 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15356 +  test $ac_status = 0; }
15357 +      ;;
15358 +    *)
15359 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15360 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15361 +  ac_status=$?
15362 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15363 +  test $ac_status = 0; }
15364 +      CFLAGS="$CFLAGS $flag"
15365 +      ;;
15366 +   esac
15367 + else
15368 +  CFLAGS="$flag"
15369 + fi
15370  
15371 + else
15372 +  :
15373   fi
15374  
15375   done
15376  
15377 <  # Check whether --enable-syslog was given.
15378 < if test "${enable_syslog+set}" = set; then :
15379 <  enableval=$enable_syslog; syslog="$enableval"
15380 < else
15381 <  syslog="no"
15377 >
15378 >
15379 > for flag in -Wredundant-decls; do
15380 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15381 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15382 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15383 > if eval \${$as_CACHEVAR+:} false; then :
15384 >  $as_echo_n "(cached) " >&6
15385 > else
15386 >
15387 >  ax_check_save_flags=$CFLAGS
15388 >  CFLAGS="$CFLAGS  $flag"
15389 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 > /* end confdefs.h.  */
15391 >
15392 > int
15393 > main ()
15394 > {
15395 >
15396 >  ;
15397 >  return 0;
15398 > }
15399 > _ACEOF
15400 > if ac_fn_c_try_compile "$LINENO"; then :
15401 >  eval "$as_CACHEVAR=yes"
15402 > else
15403 >  eval "$as_CACHEVAR=no"
15404 > fi
15405 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15406 >  CFLAGS=$ax_check_save_flags
15407 > fi
15408 > eval ac_res=\$$as_CACHEVAR
15409 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15410 > $as_echo "$ac_res" >&6; }
15411 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15412 >  if ${CFLAGS+:} false; then :
15413 >  case " $CFLAGS " in
15414 >    *" $flag "*)
15415 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15416 >  (: CFLAGS already contains $flag) 2>&5
15417 >  ac_status=$?
15418 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15419 >  test $ac_status = 0; }
15420 >      ;;
15421 >    *)
15422 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15423 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15424 >  ac_status=$?
15425 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426 >  test $ac_status = 0; }
15427 >      CFLAGS="$CFLAGS $flag"
15428 >      ;;
15429 >   esac
15430 > else
15431 >  CFLAGS="$flag"
15432 > fi
15433 >
15434 > else
15435 >  :
15436   fi
15437  
15438 <  if test "$enableval" != "no" ; then
15439 <    for option in $enableval ; do
15440 <      case "$option" in
15441 <        users)
15442 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
15443 < ;;
15444 <        oper)
15445 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
15446 < ;;
15447 <        yes) : ;;
15448 <        *) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
15449 <      esac
15450 <    done
15438 > done
15439 >
15440 >
15441 >
15442 > for flag in -Wshadow; do
15443 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15444 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15445 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15446 > if eval \${$as_CACHEVAR+:} false; then :
15447 >  $as_echo_n "(cached) " >&6
15448 > else
15449 >
15450 >  ax_check_save_flags=$CFLAGS
15451 >  CFLAGS="$CFLAGS  $flag"
15452 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15453 > /* end confdefs.h.  */
15454 >
15455 > int
15456 > main ()
15457 > {
15458 >
15459 >  ;
15460 >  return 0;
15461 > }
15462 > _ACEOF
15463 > if ac_fn_c_try_compile "$LINENO"; then :
15464 >  eval "$as_CACHEVAR=yes"
15465 > else
15466 >  eval "$as_CACHEVAR=no"
15467 > fi
15468 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15469 >  CFLAGS=$ax_check_save_flags
15470 > fi
15471 > eval ac_res=\$$as_CACHEVAR
15472 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15473 > $as_echo "$ac_res" >&6; }
15474 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15475 >  if ${CFLAGS+:} false; then :
15476 >  case " $CFLAGS " in
15477 >    *" $flag "*)
15478 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15479 >  (: CFLAGS already contains $flag) 2>&5
15480 >  ac_status=$?
15481 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15482 >  test $ac_status = 0; }
15483 >      ;;
15484 >    *)
15485 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15486 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15487 >  ac_status=$?
15488 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15489 >  test $ac_status = 0; }
15490 >      CFLAGS="$CFLAGS $flag"
15491 >      ;;
15492 >   esac
15493 > else
15494 >  CFLAGS="$flag"
15495 > fi
15496 >
15497 > else
15498 >  :
15499 > fi
15500 >
15501 > done
15502 >
15503 >
15504 >
15505 > for flag in -Wwrite-strings; do
15506 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15507 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15508 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15509 > if eval \${$as_CACHEVAR+:} false; then :
15510 >  $as_echo_n "(cached) " >&6
15511 > else
15512 >
15513 >  ax_check_save_flags=$CFLAGS
15514 >  CFLAGS="$CFLAGS  $flag"
15515 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 > /* end confdefs.h.  */
15517 >
15518 > int
15519 > main ()
15520 > {
15521 >
15522 >  ;
15523 >  return 0;
15524 > }
15525 > _ACEOF
15526 > if ac_fn_c_try_compile "$LINENO"; then :
15527 >  eval "$as_CACHEVAR=yes"
15528 > else
15529 >  eval "$as_CACHEVAR=no"
15530 > fi
15531 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15532 >  CFLAGS=$ax_check_save_flags
15533 > fi
15534 > eval ac_res=\$$as_CACHEVAR
15535 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15536 > $as_echo "$ac_res" >&6; }
15537 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15538 >  if ${CFLAGS+:} false; then :
15539 >  case " $CFLAGS " in
15540 >    *" $flag "*)
15541 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15542 >  (: CFLAGS already contains $flag) 2>&5
15543 >  ac_status=$?
15544 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15545 >  test $ac_status = 0; }
15546 >      ;;
15547 >    *)
15548 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15549 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15550 >  ac_status=$?
15551 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15552 >  test $ac_status = 0; }
15553 >      CFLAGS="$CFLAGS $flag"
15554 >      ;;
15555 >   esac
15556 > else
15557 >  CFLAGS="$flag"
15558 > fi
15559 >
15560 > else
15561 >  :
15562 > fi
15563 >
15564 > done
15565 >
15566 >
15567  
15568 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
15568 > for flag in -Wundef; do
15569 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15570 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15571 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15572 > if eval \${$as_CACHEVAR+:} false; then :
15573 >  $as_echo_n "(cached) " >&6
15574 > else
15575 >
15576 >  ax_check_save_flags=$CFLAGS
15577 >  CFLAGS="$CFLAGS  $flag"
15578 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15579 > /* end confdefs.h.  */
15580 >
15581 > int
15582 > main ()
15583 > {
15584 >
15585 >  ;
15586 >  return 0;
15587 > }
15588 > _ACEOF
15589 > if ac_fn_c_try_compile "$LINENO"; then :
15590 >  eval "$as_CACHEVAR=yes"
15591 > else
15592 >  eval "$as_CACHEVAR=no"
15593 > fi
15594 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15595 >  CFLAGS=$ax_check_save_flags
15596 > fi
15597 > eval ac_res=\$$as_CACHEVAR
15598 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15599 > $as_echo "$ac_res" >&6; }
15600 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15601 >  if ${CFLAGS+:} false; then :
15602 >  case " $CFLAGS " in
15603 >    *" $flag "*)
15604 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15605 >  (: CFLAGS already contains $flag) 2>&5
15606 >  ac_status=$?
15607 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15608 >  test $ac_status = 0; }
15609 >      ;;
15610 >    *)
15611 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15612 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15613 >  ac_status=$?
15614 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15615 >  test $ac_status = 0; }
15616 >      CFLAGS="$CFLAGS $flag"
15617 >      ;;
15618 >   esac
15619 > else
15620 >  CFLAGS="$flag"
15621 > fi
15622 >
15623 > else
15624 >  :
15625 > fi
15626 >
15627 > done
15628  
15629    fi
15630  
# Line 13850 | Line 15715 | _ACEOF
15715    test "$exec_prefix_NONE" && exec_prefix=NONE
15716  
15717  
15718 < 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"
15718 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15719  
15720  
15721   cat >confcache <<\_ACEOF
# Line 13917 | Line 15782 | $as_echo "$as_me: WARNING: cache variabl
15782       :end' >>confcache
15783   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15784    if test -w "$cache_file"; then
15785 <    test "x$cache_file" != "x/dev/null" &&
15785 >    if test "x$cache_file" != "x/dev/null"; then
15786        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15787   $as_echo "$as_me: updating cache $cache_file" >&6;}
15788 <    cat confcache >$cache_file
15788 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
15789 >        cat confcache >"$cache_file"
15790 >      else
15791 >        case $cache_file in #(
15792 >        */* | ?:*)
15793 >          mv -f confcache "$cache_file"$$ &&
15794 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
15795 >        *)
15796 >          mv -f confcache "$cache_file" ;;
15797 >        esac
15798 >      fi
15799 >    fi
15800    else
15801      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15802   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13951 | Line 15827 | LIBOBJS=$ac_libobjs
15827   LTLIBOBJS=$ac_ltlibobjs
15828  
15829  
15830 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15831 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15832 +   if test -n "$am_sleep_pid"; then
15833 +     # Hide warnings about reused PIDs.
15834 +     wait $am_sleep_pid 2>/dev/null
15835 +   fi
15836 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15837 + $as_echo "done" >&6; }
15838   if test -n "$EXEEXT"; then
15839    am__EXEEXT_TRUE=
15840    am__EXEEXT_FALSE='#'
# Line 13997 | Line 15881 | LT_CONFIG_H=config.h
15881  
15882  
15883  
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
15884   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15885    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15886   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15887   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
15888  
15889 < : ${CONFIG_STATUS=./config.status}
15889 > : "${CONFIG_STATUS=./config.status}"
15890   ac_write_fail=0
15891   ac_clean_files_save=$ac_clean_files
15892   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14111 | Line 15987 | fi
15987   IFS=" ""        $as_nl"
15988  
15989   # Find who we are.  Look in the path if we contain no directory separator.
15990 + as_myself=
15991   case $0 in #((
15992    *[\\/]* ) as_myself=$0 ;;
15993    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14306 | Line 16183 | if (echo >conf$$.file) 2>/dev/null; then
16183      # ... but there are two gotchas:
16184      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16185      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16186 <    # In both cases, we have to default to `cp -p'.
16186 >    # In both cases, we have to default to `cp -pR'.
16187      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16188 <      as_ln_s='cp -p'
16188 >      as_ln_s='cp -pR'
16189    elif ln conf$$.file conf$$ 2>/dev/null; then
16190      as_ln_s=ln
16191    else
16192 <    as_ln_s='cp -p'
16192 >    as_ln_s='cp -pR'
16193    fi
16194   else
16195 <  as_ln_s='cp -p'
16195 >  as_ln_s='cp -pR'
16196   fi
16197   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16198   rmdir conf$$.dir 2>/dev/null
# Line 14375 | Line 16252 | else
16252    as_mkdir_p=false
16253   fi
16254  
16255 < if test -x / >/dev/null 2>&1; then
16256 <  as_test_x='test -x'
16257 < else
16258 <  if ls -dL / >/dev/null 2>&1; then
16259 <    as_ls_L_option=L
16260 <  else
16261 <    as_ls_L_option=
16262 <  fi
16263 <  as_test_x='
16264 <    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
16255 >
16256 > # as_fn_executable_p FILE
16257 > # -----------------------
16258 > # Test if FILE is an executable regular file.
16259 > as_fn_executable_p ()
16260 > {
16261 >  test -f "$1" && test -x "$1"
16262 > } # as_fn_executable_p
16263 > as_test_x='test -x'
16264 > as_executable_p=as_fn_executable_p
16265  
16266   # Sed expression to map a string onto a valid CPP name.
16267   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14417 | Line 16282 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16282   # report actual input values of CONFIG_FILES etc. instead of their
16283   # values after options handling.
16284   ac_log="
16285 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
16286 < generated by GNU Autoconf 2.67.  Invocation command line was
16285 > This file was extended by ircd-hybrid $as_me TRUNK, which was
16286 > generated by GNU Autoconf 2.69.  Invocation command line was
16287  
16288    CONFIG_FILES    = $CONFIG_FILES
16289    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14483 | Line 16348 | _ACEOF
16348   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16349   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16350   ac_cs_version="\\
16351 < ircd-hybrid config.status 7.3-rc1
16352 < configured by $0, generated by GNU Autoconf 2.67,
16351 > ircd-hybrid config.status TRUNK
16352 > configured by $0, generated by GNU Autoconf 2.69,
16353    with options \\"\$ac_cs_config\\"
16354  
16355 < Copyright (C) 2010 Free Software Foundation, Inc.
16355 > Copyright (C) 2012 Free Software Foundation, Inc.
16356   This config.status script is free software; the Free Software Foundation
16357   gives unlimited permission to copy, distribute and modify it."
16358  
# Line 14578 | Line 16443 | fi
16443   _ACEOF
16444   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16445   if \$ac_cs_recheck; then
16446 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16446 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16447    shift
16448    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16449    CONFIG_SHELL='$SHELL'
# Line 14620 | Line 16485 | pic_mode='`$ECHO "$pic_mode" | $SED "$de
16485   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16486   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16487   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16488 + PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16489   host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16490   host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16491   host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
# Line 14640 | Line 16506 | exeext='`$ECHO "$exeext" | $SED "$delay_
16506   lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16507   lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16508   lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16509 + lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16510 + lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16511   reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16512   reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16513   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16514   deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16515   file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16516 + file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16517 + want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16518 + DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16519 + sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16520   AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16521   AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16522 + archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16523   STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16524   RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16525   old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
# Line 14661 | Line 16534 | lt_cv_sys_global_symbol_pipe='`$ECHO "$l
16534   lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16535   lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16536   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"`'
16537 + nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16538 + lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16539   objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16540   MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16541   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"`'
16542   lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16543 + lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16544   lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16545   lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16546   need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16547 + MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16548   DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16549   NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16550   LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
# Line 14692 | Line 16568 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SE
16568   allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16569   no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16570   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"`'
16571   hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16572   hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16573   hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
# Line 14701 | Line 16576 | hardcode_shlibpath_var='`$ECHO "$hardcod
16576   hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16577   inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16578   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"`'
16579   always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16580   export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16581   exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16582   include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16583   prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16584 + postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16585   file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16586   variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16587   need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
# Line 14748 | Line 16623 | _LTECHO_EOF'
16623   # Quote evaled strings.
16624   for var in SHELL \
16625   ECHO \
16626 + PATH_SEPARATOR \
16627   SED \
16628   GREP \
16629   EGREP \
# Line 14761 | Line 16637 | reload_flag \
16637   OBJDUMP \
16638   deplibs_check_method \
16639   file_magic_cmd \
16640 + file_magic_glob \
16641 + want_nocaseglob \
16642 + DLLTOOL \
16643 + sharedlib_from_linklib_cmd \
16644   AR \
16645   AR_FLAGS \
16646 + archiver_list_spec \
16647   STRIP \
16648   RANLIB \
16649   CC \
# Line 14772 | Line 16653 | lt_cv_sys_global_symbol_pipe \
16653   lt_cv_sys_global_symbol_to_cdecl \
16654   lt_cv_sys_global_symbol_to_c_name_address \
16655   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16656 + nm_file_list_spec \
16657   lt_prog_compiler_no_builtin_flag \
14776 – lt_prog_compiler_wl \
16658   lt_prog_compiler_pic \
16659 + lt_prog_compiler_wl \
16660   lt_prog_compiler_static \
16661   lt_cv_prog_compiler_c_o \
16662   need_locks \
16663 + MANIFEST_TOOL \
16664   DSYMUTIL \
16665   NMEDIT \
16666   LIPO \
# Line 14791 | Line 16674 | with_gnu_ld \
16674   allow_undefined_flag \
16675   no_undefined_flag \
16676   hardcode_libdir_flag_spec \
14794 – hardcode_libdir_flag_spec_ld \
16677   hardcode_libdir_separator \
14796 – fix_srcfile_path \
16678   exclude_expsyms \
16679   include_expsyms \
16680   file_list_spec \
# Line 14829 | Line 16710 | module_cmds \
16710   module_expsym_cmds \
16711   export_symbols_cmds \
16712   prelink_cmds \
16713 + postlink_cmds \
16714   postinstall_cmds \
16715   postuninstall_cmds \
16716   finish_cmds \
# Line 14876 | Line 16758 | do
16758      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16759      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16760      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14879 –    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14880 –    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14881 –    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14882 –    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16761      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16762      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
14885 –    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16763      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16764      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16765      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16766      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14890 –    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14891 –    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16767      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16768  
16769    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 14914 | Line 16789 | fi
16789   # after its creation but before its name has been assigned to `$tmp'.
16790   $debug ||
16791   {
16792 <  tmp=
16792 >  tmp= ac_tmp=
16793    trap 'exit_status=$?
16794 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16794 >  : "${ac_tmp:=$tmp}"
16795 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16796   ' 0
16797    trap 'as_fn_exit 1' 1 2 13 15
16798   }
# Line 14924 | Line 16800 | $debug ||
16800  
16801   {
16802    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16803 <  test -n "$tmp" && test -d "$tmp"
16803 >  test -d "$tmp"
16804   }  ||
16805   {
16806    tmp=./conf$$-$RANDOM
16807    (umask 077 && mkdir "$tmp")
16808   } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16809 + ac_tmp=$tmp
16810  
16811   # Set up the scripts for CONFIG_FILES section.
16812   # No need to generate them if there are no CONFIG_FILES.
# Line 14951 | Line 16828 | else
16828    ac_cs_awk_cr=$ac_cr
16829   fi
16830  
16831 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
16831 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16832   _ACEOF
16833  
16834  
# Line 14979 | Line 16856 | done
16856   rm -f conf$$subs.sh
16857  
16858   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16859 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16859 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16860   _ACEOF
16861   sed -n '
16862   h
# Line 15027 | Line 16904 | t delim
16904   rm -f conf$$subs.awk
16905   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16906   _ACAWK
16907 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16907 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16908    for (key in S) S_is_set[key] = 1
16909    FS = ""
16910  
# Line 15059 | Line 16936 | if sed "s/$ac_cr//" < /dev/null > /dev/n
16936    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16937   else
16938    cat
16939 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16939 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16940    || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16941   _ACEOF
16942  
# Line 15093 | Line 16970 | fi # test -n "$CONFIG_FILES"
16970   # No need to generate them if there are no CONFIG_HEADERS.
16971   # This happens for instance with `./config.status Makefile'.
16972   if test -n "$CONFIG_HEADERS"; then
16973 < cat >"$tmp/defines.awk" <<\_ACAWK ||
16973 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16974   BEGIN {
16975   _ACEOF
16976  
# Line 15105 | Line 16982 | _ACEOF
16982   # handling of long lines.
16983   ac_delim='%!_!# '
16984   for ac_last_try in false false :; do
16985 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16986 <  if test -z "$ac_t"; then
16985 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16986 >  if test -z "$ac_tt"; then
16987      break
16988    elif $ac_last_try; then
16989      as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
# Line 15226 | Line 17103 | do
17103      for ac_f
17104      do
17105        case $ac_f in
17106 <      -) ac_f="$tmp/stdin";;
17106 >      -) ac_f="$ac_tmp/stdin";;
17107        *) # Look for the file first in the build tree, then in the source tree
17108           # (if the path is not absolute).  The absolute path cannot be DOS-style,
17109           # because $ac_f cannot contain `:'.
# Line 15261 | Line 17138 | $as_echo "$as_me: creating $ac_file" >&6
17138      esac
17139  
17140      case $ac_tag in
17141 <    *:-:* | *:-) cat >"$tmp/stdin" \
17141 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17142        || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17143      esac
17144      ;;
# Line 15398 | Line 17275 | s&@INSTALL@&$ac_INSTALL&;t t
17275   s&@MKDIR_P@&$ac_MKDIR_P&;t t
17276   $ac_datarootdir_hack
17277   "
17278 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17279 <  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17278 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17279 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17280  
17281   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17282 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17283 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17282 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17283 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17284 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17285    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17286   which seems to be undefined.  Please make sure it is defined" >&5
17287   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17288   which seems to be undefined.  Please make sure it is defined" >&2;}
17289  
17290 <  rm -f "$tmp/stdin"
17290 >  rm -f "$ac_tmp/stdin"
17291    case $ac_file in
17292 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
17293 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17292 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17293 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17294    esac \
17295    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17296   ;;
# Line 15423 | Line 17301 | which seems to be undefined.  Please mak
17301    if test x"$ac_file" != x-; then
17302      {
17303        $as_echo "/* $configure_input  */" \
17304 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17305 <    } >"$tmp/config.h" \
17304 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17305 >    } >"$ac_tmp/config.h" \
17306        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17307 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17307 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17308        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17309   $as_echo "$as_me: $ac_file is unchanged" >&6;}
17310      else
17311        rm -f "$ac_file"
17312 <      mv "$tmp/config.h" "$ac_file" \
17312 >      mv "$ac_tmp/config.h" "$ac_file" \
17313          || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17314      fi
17315    else
17316      $as_echo "/* $configure_input  */" \
17317 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17317 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17318        || as_fn_error $? "could not create -" "$LINENO" 5
17319    fi
17320   # Compute "$ac_file"'s index in $config_headers.
# Line 15483 | Line 17361 | $as_echo "$as_me: executing $ac_file com
17361  
17362    case $ac_file$ac_mode in
17363      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17364 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17364 >  # Older Autoconf quotes --file arguments for eval, but not when files
17365    # are listed without --file.  Let's play safe and only enable the eval
17366    # if we detect the quoting.
17367    case $CONFIG_FILES in
# Line 15496 | Line 17374 | $as_echo "$as_me: executing $ac_file com
17374      # Strip MF so we end up with the name of the file.
17375      mf=`echo "$mf" | sed -e 's/:.*$//'`
17376      # Check whether this is an Automake generated Makefile or not.
17377 <    # We used to match only the files named `Makefile.in', but
17377 >    # We used to match only the files named 'Makefile.in', but
17378      # some people rename them; so instead we look at the file content.
17379      # Grep'ing the first line is not enough: some people post-process
17380      # each Makefile.in and add a new line on top of each file to say so.
# Line 15530 | Line 17408 | $as_echo X"$mf" |
17408        continue
17409      fi
17410      # Extract the definition of DEPDIR, am__include, and am__quote
17411 <    # from the Makefile without running `make'.
17411 >    # from the Makefile without running 'make'.
17412      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17413      test -z "$DEPDIR" && continue
17414      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17415 <    test -z "am__include" && continue
17415 >    test -z "$am__include" && continue
17416      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"`
17417      # Find all dependency output files, they are included files with
17418      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17419      # simplest approach to changing $(DEPDIR) to its actual value in the
17420      # expansion.
17421      for file in `sed -n "
17422        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17423 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17423 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17424        # Make sure the directory exists.
17425        test -f "$dirpart/$file" && continue
17426        fdir=`$as_dirname -- "$file" ||
# Line 15598 | Line 17474 | $as_echo X"$file" |
17474   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17475   #
17476   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17477 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17478 < #                 Inc.
17477 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17478 > #                 Foundation, Inc.
17479   #   Written by Gordon Matzigkeit, 1996
17480   #
17481   #   This file is part of GNU Libtool.
# Line 15653 | Line 17529 | SHELL=$lt_SHELL
17529   # An echo program that protects backslashes.
17530   ECHO=$lt_ECHO
17531  
17532 + # The PATH separator for the build system.
17533 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
17534 +
17535   # The host system.
17536   host_alias=$host_alias
17537   host=$host
# Line 15702 | Line 17581 | SP2NL=$lt_lt_SP2NL
17581   # turn newlines into spaces.
17582   NL2SP=$lt_lt_NL2SP
17583  
17584 + # convert \$build file names to \$host format.
17585 + to_host_file_cmd=$lt_cv_to_host_file_cmd
17586 +
17587 + # convert \$build files to toolchain format.
17588 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17589 +
17590   # An object symbol dumper.
17591   OBJDUMP=$lt_OBJDUMP
17592  
17593   # Method to check whether dependent libraries are shared objects.
17594   deplibs_check_method=$lt_deplibs_check_method
17595  
17596 < # Command to use when deplibs_check_method == "file_magic".
17596 > # Command to use when deplibs_check_method = "file_magic".
17597   file_magic_cmd=$lt_file_magic_cmd
17598  
17599 + # How to find potential files when deplibs_check_method = "file_magic".
17600 + file_magic_glob=$lt_file_magic_glob
17601 +
17602 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17603 + want_nocaseglob=$lt_want_nocaseglob
17604 +
17605 + # DLL creation program.
17606 + DLLTOOL=$lt_DLLTOOL
17607 +
17608 + # Command to associate shared and link libraries.
17609 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17610 +
17611   # The archiver.
17612   AR=$lt_AR
17613 +
17614 + # Flags to create an archive.
17615   AR_FLAGS=$lt_AR_FLAGS
17616  
17617 + # How to feed a file listing to the archiver.
17618 + archiver_list_spec=$lt_archiver_list_spec
17619 +
17620   # A symbol stripping program.
17621   STRIP=$lt_STRIP
17622  
# Line 15744 | Line 17646 | global_symbol_to_c_name_address=$lt_lt_c
17646   # Transform the output of nm in a C name address pair when lib prefix is needed.
17647   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17648  
17649 + # Specify filename containing input files for \$NM.
17650 + nm_file_list_spec=$lt_nm_file_list_spec
17651 +
17652 + # The root where to search for dependent libraries,and in which our libraries should be installed.
17653 + lt_sysroot=$lt_sysroot
17654 +
17655   # The name of the directory that contains temporary libtool files.
17656   objdir=$objdir
17657  
# Line 15753 | Line 17661 | MAGIC_CMD=$MAGIC_CMD
17661   # Must we lock files when doing compilation?
17662   need_locks=$lt_need_locks
17663  
17664 + # Manifest tool.
17665 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
17666 +
17667   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17668   DSYMUTIL=$lt_DSYMUTIL
17669  
# Line 15867 | Line 17778 | with_gcc=$GCC
17778   # Compiler flag to turn off builtin functions.
17779   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17780  
15870 – # How to pass a linker flag through the compiler.
15871 – wl=$lt_lt_prog_compiler_wl
15872 –
17781   # Additional compiler flags for building library objects.
17782   pic_flag=$lt_lt_prog_compiler_pic
17783  
17784 + # How to pass a linker flag through the compiler.
17785 + wl=$lt_lt_prog_compiler_wl
17786 +
17787   # Compiler flag to prevent dynamic linking.
17788   link_static_flag=$lt_lt_prog_compiler_static
17789  
# Line 15922 | Line 17833 | no_undefined_flag=$lt_no_undefined_flag
17833   # This must work even if \$libdir does not exist
17834   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17835  
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 –
17836   # Whether we need a single "-rpath" flag with a separated argument.
17837   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17838  
# Line 15959 | Line 17866 | inherit_rpath=$inherit_rpath
17866   # Whether libtool must link a program against all its dependency libraries.
17867   link_all_deplibs=$link_all_deplibs
17868  
15962 – # Fix the shell variable \$srcfile for the compiler.
15963 – fix_srcfile_path=$lt_fix_srcfile_path
15964 –
17869   # Set to "yes" if exported symbols are required.
17870   always_export_symbols=$always_export_symbols
17871  
# Line 15977 | Line 17881 | include_expsyms=$lt_include_expsyms
17881   # Commands necessary for linking programs (against libraries) with templates.
17882   prelink_cmds=$lt_prelink_cmds
17883  
17884 + # Commands necessary for finishing linking programs.
17885 + postlink_cmds=$lt_postlink_cmds
17886 +
17887   # Specify filename containing input files.
17888   file_list_spec=$lt_file_list_spec
17889  
# Line 16009 | Line 17916 | ltmain="$ac_aux_dir/ltmain.sh"
17916    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17917    # text mode, it properly converts lines to CR/LF.  This bash problem
17918    # is reportedly fixed, but why not run on old versions too?
17919 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17920 <    || (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
17919 >  sed '$q' "$ltmain" >> "$cfgfile" \
17920 >     || (rm -f "$cfgfile"; exit 1)
17921  
17922 +  if test x"$xsi_shell" = xyes; then
17923 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17924 + func_dirname ()\
17925 + {\
17926 + \    case ${1} in\
17927 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17928 + \      *  ) func_dirname_result="${3}" ;;\
17929 + \    esac\
17930 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17931 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17932 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17933 + test 0 -eq $? || _lt_function_replace_fail=:
17934 +
17935 +
17936 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17937 + func_basename ()\
17938 + {\
17939 + \    func_basename_result="${1##*/}"\
17940 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17941 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17942 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17943 + test 0 -eq $? || _lt_function_replace_fail=:
17944 +
17945 +
17946 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17947 + func_dirname_and_basename ()\
17948 + {\
17949 + \    case ${1} in\
17950 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17951 + \      *  ) func_dirname_result="${3}" ;;\
17952 + \    esac\
17953 + \    func_basename_result="${1##*/}"\
17954 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17955 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17956 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17957 + test 0 -eq $? || _lt_function_replace_fail=:
17958 +
17959 +
17960 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17961 + func_stripname ()\
17962 + {\
17963 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17964 + \    # positional parameters, so assign one to ordinary parameter first.\
17965 + \    func_stripname_result=${3}\
17966 + \    func_stripname_result=${func_stripname_result#"${1}"}\
17967 + \    func_stripname_result=${func_stripname_result%"${2}"}\
17968 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17969 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17970 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17971 + test 0 -eq $? || _lt_function_replace_fail=:
17972 +
17973 +
17974 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17975 + func_split_long_opt ()\
17976 + {\
17977 + \    func_split_long_opt_name=${1%%=*}\
17978 + \    func_split_long_opt_arg=${1#*=}\
17979 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17980 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17981 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17982 + test 0 -eq $? || _lt_function_replace_fail=:
17983 +
17984 +
17985 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17986 + func_split_short_opt ()\
17987 + {\
17988 + \    func_split_short_opt_arg=${1#??}\
17989 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17990 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17991 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17992 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17993 + test 0 -eq $? || _lt_function_replace_fail=:
17994 +
17995 +
17996 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17997 + func_lo2o ()\
17998 + {\
17999 + \    case ${1} in\
18000 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18001 + \      *)    func_lo2o_result=${1} ;;\
18002 + \    esac\
18003 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18004 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18005 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18006 + test 0 -eq $? || _lt_function_replace_fail=:
18007 +
18008 +
18009 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
18010 + func_xform ()\
18011 + {\
18012 +    func_xform_result=${1%.*}.lo\
18013 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18014 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18015 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18016 + test 0 -eq $? || _lt_function_replace_fail=:
18017 +
18018 +
18019 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
18020 + func_arith ()\
18021 + {\
18022 +    func_arith_result=$(( $* ))\
18023 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18024 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18025 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18026 + test 0 -eq $? || _lt_function_replace_fail=:
18027 +
18028 +
18029 +  sed -e '/^func_len ()$/,/^} # func_len /c\
18030 + func_len ()\
18031 + {\
18032 +    func_len_result=${#1}\
18033 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18034 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18035 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18036 + test 0 -eq $? || _lt_function_replace_fail=:
18037 +
18038 + fi
18039 +
18040 + if test x"$lt_shell_append" = xyes; then
18041 +  sed -e '/^func_append ()$/,/^} # func_append /c\
18042 + func_append ()\
18043 + {\
18044 +    eval "${1}+=\\${2}"\
18045 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18046 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18047 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18048 + test 0 -eq $? || _lt_function_replace_fail=:
18049 +
18050 +
18051 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18052 + func_append_quoted ()\
18053 + {\
18054 + \    func_quote_for_eval "${2}"\
18055 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18056 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18057 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
18058 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18059 + test 0 -eq $? || _lt_function_replace_fail=:
18060 +
18061 +
18062 +  # Save a `func_append' function call where possible by direct use of '+='
18063 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18064 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
18065 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18066 +  test 0 -eq $? || _lt_function_replace_fail=:
18067 + else
18068 +  # Save a `func_append' function call even when '+=' is not available
18069 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18070 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
18071 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18072 +  test 0 -eq $? || _lt_function_replace_fail=:
18073 + fi
18074 +
18075 + if test x"$_lt_function_replace_fail" = x":"; then
18076 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18077 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18078 + fi
18079  
16212 –  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16213 –    || (rm -f "$cfgfile"; exit 1)
18080  
18081 <  mv -f "$cfgfile" "$ofile" ||
18081 >   mv -f "$cfgfile" "$ofile" ||
18082      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18083    chmod +x "$ofile"
18084  

Comparing:
ircd-hybrid-7.3/configure (property svn:eol-style), Revision 1095 by michael, Mon Aug 2 20:14:21 2010 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 3814 by michael, Tue Jun 3 20:13:35 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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