--- ircd-hybrid-8/configure 2012/06/09 19:15:10 1431 +++ ircd-hybrid/trunk/configure 2013/07/06 16:31:07 2382 @@ -1,7 +1,7 @@ #! /bin/sh -# From configure.ac Id: configure.ac 1402 2012-05-09 18:42:45Z michael . +# From configure.ac Id: configure.ac 2347 2013-07-03 19:09:32Z michael . # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for ircd-hybrid 8beta1. +# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. # # Report bugs to . # @@ -593,8 +593,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='ircd-hybrid' PACKAGE_TARNAME='ircd-hybrid' -PACKAGE_VERSION='8beta1' -PACKAGE_STRING='ircd-hybrid 8beta1' +PACKAGE_VERSION='TRUNK' +PACKAGE_STRING='ircd-hybrid TRUNK' PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' PACKAGE_URL='' @@ -723,12 +723,17 @@ CC MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE +AM_BACKSLASH +AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK +mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP @@ -786,6 +791,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +enable_silent_rules enable_maintainer_mode enable_dependency_tracking enable_static @@ -799,18 +805,14 @@ with_included_ltdl with_ltdl_include with_ltdl_lib enable_ltdl_install -enable_libpcre +enable_libgeoip enable_openssl enable_assert -enable_small_net enable_kqueue enable_epoll enable_devpoll -enable_rtsigio enable_poll enable_select -with_nicklen -with_topiclen enable_halfops enable_debugging enable_warnings @@ -1366,7 +1368,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems. +\`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1436,7 +1438,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";; + short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";; esac cat <<\_ACEOF @@ -1444,6 +1446,8 @@ Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer @@ -1457,15 +1461,13 @@ Optional Features: optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-ltdl-install install libltdl - --disable-libpcre Disable PCRE support + --disable-libgeoip Disable GeoIP support --enable-openssl=DIR Enable OpenSSL support (DIR optional). --disable-openssl Disable OpenSSL support. --enable-assert Enable assert() statements - --enable-small-net Enable small network support. --enable-kqueue Force kqueue usage. --enable-epoll Force epoll usage. --enable-devpoll Force devpoll usage. - --enable-rtsigio Force rtsigio usage. --enable-poll Force poll usage. --enable-select Force select usage. --enable-halfops Enable halfops support. @@ -1483,8 +1485,6 @@ Optional Packages: --with-included-ltdl use the GNU ltdl sources included here --with-ltdl-include=DIR use the ltdl headers installed in DIR --with-ltdl-lib=DIR use the libltdl.la installed in DIR - --with-nicklen= Set nickname length (default 9). - --with-topiclen= Set topic length (default 160). Some influential environment variables: CC C compiler command @@ -1568,7 +1568,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ircd-hybrid configure 8beta1 +ircd-hybrid configure TRUNK generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2094,7 +2094,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ircd-hybrid $as_me 8beta1, which was +It was created by ircd-hybrid $as_me TRUNK, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2374,7 +2374,6 @@ $as_echo "$as_me: creating cache $cache_ >$cache_file fi -as_fn_append ac_func_list " mmap" as_fn_append ac_func_list " strtok_r" as_fn_append ac_func_list " usleep" as_fn_append ac_func_list " strlcat" @@ -2454,7 +2453,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLA ac_compiler_gnu=$ac_cv_c_compiler_gnu -am__api_version='1.12' +am__api_version='1.14' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do @@ -2667,8 +2666,8 @@ if test x"${MISSING+set}" != xset; then esac fi # Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 @@ -2908,6 +2907,45 @@ else fi rmdir .tst 2>/dev/null +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=1;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -2930,7 +2968,7 @@ fi # Define the identity of the package. PACKAGE='ircd-hybrid' - VERSION='8beta1' + VERSION='TRUNK' cat >>confdefs.h <<_ACEOF @@ -2958,12 +2996,22 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_ru MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +mkdir_p='$(MKDIR_P)' + # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar pax cpio none' + am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' @@ -2971,6 +3019,48 @@ am__tar='$${TAR-tar} chof - "$$tardir"' +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 + fi +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -3850,6 +3940,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS con ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } +if ${am_cv_prog_cc_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +$as_echo "$am_cv_prog_cc_c_o" >&6; } +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 @@ -13023,9 +13172,13 @@ LIBTOOL="$LIBTOOL --silent" # Checks for libraries. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 -$as_echo_n "checking for library containing socket... " >&6; } -if ${ac_cv_search_socket+:} false; then : + ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" +if test "x$ac_cv_func_getaddrinfo" = xyes; then : + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 +$as_echo_n "checking for library containing getaddrinfo... " >&6; } +if ${ac_cv_search_getaddrinfo+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -13038,16 +13191,16 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ #ifdef __cplusplus extern "C" #endif -char socket (); +char getaddrinfo (); int main () { -return socket (); +return getaddrinfo (); ; return 0; } _ACEOF -for ac_lib in '' socket; do +for ac_lib in '' nsl; do if test -z "$ac_lib"; then ac_res="none required" else @@ -13055,35 +13208,39 @@ for ac_lib in '' socket; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_socket=$ac_res + ac_cv_search_getaddrinfo=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if ${ac_cv_search_socket+:} false; then : + if ${ac_cv_search_getaddrinfo+:} false; then : break fi done -if ${ac_cv_search_socket+:} false; then : +if ${ac_cv_search_getaddrinfo+:} false; then : else - ac_cv_search_socket=no + ac_cv_search_getaddrinfo=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 -$as_echo "$ac_cv_search_socket" >&6; } -ac_res=$ac_cv_search_socket +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 +$as_echo "$ac_cv_search_getaddrinfo" >&6; } +ac_res=$ac_cv_search_getaddrinfo if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -else - as_fn_error $? "socket library not found" "$LINENO" 5 fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 -$as_echo_n "checking for library containing inet_ntoa... " >&6; } -if ${ac_cv_search_inet_ntoa+:} false; then : +fi + + ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" +if test "x$ac_cv_func_getnameinfo" = xyes; then : + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 +$as_echo_n "checking for library containing getnameinfo... " >&6; } +if ${ac_cv_search_getnameinfo+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -13096,11 +13253,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ #ifdef __cplusplus extern "C" #endif -char inet_ntoa (); +char getnameinfo (); int main () { -return inet_ntoa (); +return getnameinfo (); ; return 0; } @@ -13113,33 +13270,35 @@ for ac_lib in '' nsl; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_inet_ntoa=$ac_res + ac_cv_search_getnameinfo=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if ${ac_cv_search_inet_ntoa+:} false; then : + if ${ac_cv_search_getnameinfo+:} false; then : break fi done -if ${ac_cv_search_inet_ntoa+:} false; then : +if ${ac_cv_search_getnameinfo+:} false; then : else - ac_cv_search_inet_ntoa=no + ac_cv_search_getnameinfo=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 -$as_echo "$ac_cv_search_inet_ntoa" >&6; } -ac_res=$ac_cv_search_inet_ntoa +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 +$as_echo "$ac_cv_search_getnameinfo" >&6; } +ac_res=$ac_cv_search_getnameinfo if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 -$as_echo_n "checking for library containing inet_aton... " >&6; } -if ${ac_cv_search_inet_aton+:} false; then : +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 +$as_echo_n "checking for library containing socket... " >&6; } +if ${ac_cv_search_socket+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -13152,16 +13311,16 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ #ifdef __cplusplus extern "C" #endif -char inet_aton (); +char socket (); int main () { -return inet_aton (); +return socket (); ; return 0; } _ACEOF -for ac_lib in '' resolv; do +for ac_lib in '' socket; do if test -z "$ac_lib"; then ac_res="none required" else @@ -13169,42 +13328,32 @@ for ac_lib in '' resolv; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_inet_aton=$ac_res + ac_cv_search_socket=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if ${ac_cv_search_inet_aton+:} false; then : + if ${ac_cv_search_socket+:} false; then : break fi done -if ${ac_cv_search_inet_aton+:} false; then : +if ${ac_cv_search_socket+:} false; then : else - ac_cv_search_inet_aton=no + ac_cv_search_socket=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 -$as_echo "$ac_cv_search_inet_aton" >&6; } -ac_res=$ac_cv_search_inet_aton +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 +$as_echo "$ac_cv_search_socket" >&6; } +ac_res=$ac_cv_search_socket if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +else + as_fn_error $? "socket library not found" "$LINENO" 5 fi - for ac_func in inet_aton inet_ntop inet_pton -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include #include #include @@ -13521,8 +13670,6 @@ done - - # Checks for header files. @@ -13614,15 +13761,15 @@ if test "$ac_res" != no; then : fi -# Check whether --enable-libpcre was given. -if test "${enable_libpcre+set}" = set; then : - enableval=$enable_libpcre; -else - ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" -if test "x$ac_cv_header_pcre_h" = xyes; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5 -$as_echo_n "checking for library containing pcre_study... " >&6; } -if ${ac_cv_search_pcre_study+:} false; then : +# Check whether --enable-libgeoip was given. +if test "${enable_libgeoip+set}" = set; then : + enableval=$enable_libgeoip; +else + ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" +if test "x$ac_cv_header_GeoIP_h" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 +$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } +if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -13635,16 +13782,16 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ #ifdef __cplusplus extern "C" #endif -char pcre_study (); +char GeoIP_id_by_ipnum_v6_gl (); int main () { -return pcre_study (); +return GeoIP_id_by_ipnum_v6_gl (); ; return 0; } _ACEOF -for ac_lib in '' pcre; do +for ac_lib in '' GeoIP; do if test -z "$ac_lib"; then ac_res="none required" else @@ -13652,29 +13799,29 @@ for ac_lib in '' pcre; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_pcre_study=$ac_res + ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if ${ac_cv_search_pcre_study+:} false; then : + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : break fi done -if ${ac_cv_search_pcre_study+:} false; then : +if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : else - ac_cv_search_pcre_study=no + ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5 -$as_echo "$ac_cv_search_pcre_study" >&6; } -ac_res=$ac_cv_search_pcre_study +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 +$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } +ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h +$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h fi @@ -13771,13 +13918,13 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 -$as_echo_n "checking for SSL_connect in -lssl... " >&6; } -if ${ac_cv_lib_ssl_SSL_connect+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 +$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } +if ${ac_cv_lib_crypto_RSA_free+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lssl $LIBS" +LIBS="-lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -13787,43 +13934,43 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ #ifdef __cplusplus extern "C" #endif -char SSL_connect (); +char RSA_free (); int main () { -return SSL_connect (); +return RSA_free (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ssl_SSL_connect=yes + ac_cv_lib_crypto_RSA_free=yes else - ac_cv_lib_ssl_SSL_connect=no + ac_cv_lib_crypto_RSA_free=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 -$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } -if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 +$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } +if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LIBSSL 1 +#define HAVE_LIBCRYPTO 1 _ACEOF - LIBS="-lssl $LIBS" + LIBS="-lcrypto $LIBS" fi - if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 -$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } -if ${ac_cv_lib_crypto_RSA_free+:} false; then : + if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 +$as_echo_n "checking for SSL_connect in -lssl... " >&6; } +if ${ac_cv_lib_ssl_SSL_connect+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lcrypto $LIBS" +LIBS="-lssl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -13833,32 +13980,32 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ #ifdef __cplusplus extern "C" #endif -char RSA_free (); +char SSL_connect (); int main () { -return RSA_free (); +return SSL_connect (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_crypto_RSA_free=yes + ac_cv_lib_ssl_SSL_connect=yes else - ac_cv_lib_crypto_RSA_free=no + ac_cv_lib_ssl_SSL_connect=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 -$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } -if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 +$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } +if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LIBCRYPTO 1 +#define HAVE_LIBSSL 1 _ACEOF - LIBS="-lcrypto $LIBS" + LIBS="-lssl $LIBS" fi @@ -13871,7 +14018,7 @@ $as_echo "no - OpenSSL support disabled" fi fi - if test "$ac_cv_lib_crypto_RSA_free" = yes; then + if test "$ac_cv_lib_ssl_SSL_connect" = yes; then ENABLE_SSL_TRUE= ENABLE_SSL_FALSE='#' else @@ -13896,80 +14043,46 @@ $as_echo "#define NDEBUG 1" >>confdefs.h fi -# Check whether --enable-small-net was given. -if test "${enable_small_net+set}" = set; then : - enableval=$enable_small_net; small_net=$enableval -else - small_net=no -fi - - -if test "$small_net" = "yes"; then : - - -$as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h - - -$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h +$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h -$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h +$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h -$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h +$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h -$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h +$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h -$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h +$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h -$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h +$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h -$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h +$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h -$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h +$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h -$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h +$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h -else - - - -$as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h - - -$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h - - -$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h +$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h -$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h +$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h -$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h +$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h -$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h +$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h -$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h - -$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h - - -$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h - - -$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h - -fi +$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h # Argument processing. @@ -13990,11 +14103,6 @@ if test "${enable_devpoll+set}" = set; t enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" fi - # Check whether --enable-rtsigio was given. -if test "${enable_rtsigio+set}" = set; then : - enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" -fi - # Check whether --enable-poll was given. if test "${enable_poll+set}" = set; then : enableval=$enable_poll; desired_iopoll_mechanism="poll" @@ -14178,48 +14286,7 @@ rm -f core conftest.err conftest.$ac_obj $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h fi - iopoll_mechanism_rtsigio=4 - -cat >>confdefs.h <<_ACEOF -#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio -_ACEOF - - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#define _GNU_SOURCE -#include -static unsigned int have_f_setsig = 0; - -int -main () -{ - -#ifdef F_SETSIG - have_f_setsig = 1; -#endif - return have_f_setsig == 0; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - is_rtsigio_mechanism_available="yes" -else - is_rtsigio_mechanism_available="no" -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - iopoll_mechanism_poll=5 + iopoll_mechanism_poll=4 cat >>confdefs.h <<_ACEOF #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll @@ -14273,7 +14340,7 @@ else fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - iopoll_mechanism_select=6 + iopoll_mechanism_select=5 cat >>confdefs.h <<_ACEOF #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select @@ -14328,7 +14395,7 @@ fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext optimal_iopoll_mechanism="none" - for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important + for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then optimal_iopoll_mechanism="$mechanism" @@ -14365,36 +14432,6 @@ _ACEOF - -# Check whether --with-nicklen was given. -if test "${with_nicklen+set}" = set; then : - withval=$with_nicklen; nicklen="$withval" -else - nicklen="9" -fi - - -cat >>confdefs.h <<_ACEOF -#define NICKLEN ($nicklen) -_ACEOF - - - - -# Check whether --with-topiclen was given. -if test "${with_topiclen+set}" = set; then : - withval=$with_topiclen; topiclen="$withval" -else - topiclen="160" -fi - - -cat >>confdefs.h <<_ACEOF -#define TOPICLEN ($topiclen) -_ACEOF - - - # Check whether --enable-halfops was given. if test "${enable_halfops+set}" = set; then : enableval=$enable_halfops; halfops="$enableval" @@ -14417,14 +14454,7 @@ else fi if test "$debugging" = "yes" ; then - -$as_echo "#define DEBUG 1" >>confdefs.h - CFLAGS="-Wall -g -O0" - else - -$as_echo "#define NDEBUG 1" >>confdefs.h - fi @@ -14526,7 +14556,7 @@ _ACEOF test "$exec_prefix_NONE" && exec_prefix=NONE -ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" +ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" cat >confcache <<\_ACEOF @@ -15093,7 +15123,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ircd-hybrid $as_me 8beta1, which was +This file was extended by ircd-hybrid $as_me TRUNK, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15159,7 +15189,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -ircd-hybrid config.status 8beta1 +ircd-hybrid config.status TRUNK configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -15569,17 +15599,12 @@ do "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; - "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; - "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; - "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; - "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; @@ -16177,7 +16202,7 @@ $as_echo "$as_me: executing $ac_file com case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files + # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in @@ -16228,7 +16253,7 @@ $as_echo X"$mf" | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue + test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the