| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1402 2012-05-09 18:42:45Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 2347 2013-07-03 19:09:32Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8beta1. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
| 5 |
|
# |
| 6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
|
# |
| 593 |
|
# Identity of this package. |
| 594 |
|
PACKAGE_NAME='ircd-hybrid' |
| 595 |
|
PACKAGE_TARNAME='ircd-hybrid' |
| 596 |
< |
PACKAGE_VERSION='8beta1' |
| 597 |
< |
PACKAGE_STRING='ircd-hybrid 8beta1' |
| 596 |
> |
PACKAGE_VERSION='TRUNK' |
| 597 |
> |
PACKAGE_STRING='ircd-hybrid TRUNK' |
| 598 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 599 |
|
PACKAGE_URL='' |
| 600 |
|
|
| 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 |
| 733 |
|
am__leading_dot |
| 734 |
|
SET_MAKE |
| 735 |
|
AWK |
| 736 |
+ |
mkdir_p |
| 737 |
|
MKDIR_P |
| 738 |
|
INSTALL_STRIP_PROGRAM |
| 739 |
|
STRIP |
| 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 |
| 805 |
|
with_ltdl_include |
| 806 |
|
with_ltdl_lib |
| 807 |
|
enable_ltdl_install |
| 808 |
< |
enable_libpcre |
| 808 |
> |
enable_libgeoip |
| 809 |
|
enable_openssl |
| 810 |
|
enable_assert |
| 805 |
– |
enable_small_net |
| 811 |
|
enable_kqueue |
| 812 |
|
enable_epoll |
| 813 |
|
enable_devpoll |
| 809 |
– |
enable_rtsigio |
| 814 |
|
enable_poll |
| 815 |
|
enable_select |
| 812 |
– |
with_nicklen |
| 813 |
– |
with_topiclen |
| 816 |
|
enable_halfops |
| 817 |
|
enable_debugging |
| 818 |
|
enable_warnings |
| 1368 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1369 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1370 |
|
cat <<_ACEOF |
| 1371 |
< |
\`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems. |
| 1371 |
> |
\`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems. |
| 1372 |
|
|
| 1373 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1374 |
|
|
| 1438 |
|
|
| 1439 |
|
if test -n "$ac_init_help"; then |
| 1440 |
|
case $ac_init_help in |
| 1441 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";; |
| 1441 |
> |
short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";; |
| 1442 |
|
esac |
| 1443 |
|
cat <<\_ACEOF |
| 1444 |
|
|
| 1446 |
|
--disable-option-checking ignore unrecognized --enable/--with options |
| 1447 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1448 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1449 |
+ |
--enable-silent-rules less verbose build output (undo: "make V=1") |
| 1450 |
+ |
--disable-silent-rules verbose build output (undo: "make V=0") |
| 1451 |
|
--enable-maintainer-mode |
| 1452 |
|
enable make rules and dependencies not useful (and |
| 1453 |
|
sometimes confusing) to the casual installer |
| 1461 |
|
optimize for fast installation [default=yes] |
| 1462 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1463 |
|
--enable-ltdl-install install libltdl |
| 1464 |
< |
--disable-libpcre Disable PCRE support |
| 1464 |
> |
--disable-libgeoip Disable GeoIP support |
| 1465 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1466 |
|
--disable-openssl Disable OpenSSL support. |
| 1467 |
|
--enable-assert Enable assert() statements |
| 1464 |
– |
--enable-small-net Enable small network support. |
| 1468 |
|
--enable-kqueue Force kqueue usage. |
| 1469 |
|
--enable-epoll Force epoll usage. |
| 1470 |
|
--enable-devpoll Force devpoll usage. |
| 1468 |
– |
--enable-rtsigio Force rtsigio usage. |
| 1471 |
|
--enable-poll Force poll usage. |
| 1472 |
|
--enable-select Force select usage. |
| 1473 |
|
--enable-halfops Enable halfops support. |
| 1485 |
|
--with-included-ltdl use the GNU ltdl sources included here |
| 1486 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1487 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1486 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
| 1487 |
– |
--with-topiclen=<value> Set topic length (default 160). |
| 1488 |
|
|
| 1489 |
|
Some influential environment variables: |
| 1490 |
|
CC C compiler command |
| 1568 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1569 |
|
if $ac_init_version; then |
| 1570 |
|
cat <<\_ACEOF |
| 1571 |
< |
ircd-hybrid configure 8beta1 |
| 1571 |
> |
ircd-hybrid configure TRUNK |
| 1572 |
|
generated by GNU Autoconf 2.69 |
| 1573 |
|
|
| 1574 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 2094 |
|
This file contains any messages produced by compilers while |
| 2095 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2096 |
|
|
| 2097 |
< |
It was created by ircd-hybrid $as_me 8beta1, which was |
| 2097 |
> |
It was created by ircd-hybrid $as_me TRUNK, which was |
| 2098 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 2099 |
|
|
| 2100 |
|
$ $0 $@ |
| 2374 |
|
>$cache_file |
| 2375 |
|
fi |
| 2376 |
|
|
| 2377 |
– |
as_fn_append ac_func_list " mmap" |
| 2377 |
|
as_fn_append ac_func_list " strtok_r" |
| 2378 |
|
as_fn_append ac_func_list " usleep" |
| 2379 |
|
as_fn_append ac_func_list " strlcat" |
| 2453 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2454 |
|
|
| 2455 |
|
|
| 2456 |
< |
am__api_version='1.12' |
| 2456 |
> |
am__api_version='1.14' |
| 2457 |
|
|
| 2458 |
|
ac_aux_dir= |
| 2459 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2666 |
|
esac |
| 2667 |
|
fi |
| 2668 |
|
# Use eval to expand $SHELL |
| 2669 |
< |
if eval "$MISSING --run true"; then |
| 2670 |
< |
am_missing_run="$MISSING --run " |
| 2669 |
> |
if eval "$MISSING --is-lightweight"; then |
| 2670 |
> |
am_missing_run="$MISSING " |
| 2671 |
|
else |
| 2672 |
|
am_missing_run= |
| 2673 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 2907 |
|
fi |
| 2908 |
|
rmdir .tst 2>/dev/null |
| 2909 |
|
|
| 2910 |
+ |
# Check whether --enable-silent-rules was given. |
| 2911 |
+ |
if test "${enable_silent_rules+set}" = set; then : |
| 2912 |
+ |
enableval=$enable_silent_rules; |
| 2913 |
+ |
fi |
| 2914 |
+ |
|
| 2915 |
+ |
case $enable_silent_rules in # ((( |
| 2916 |
+ |
yes) AM_DEFAULT_VERBOSITY=0;; |
| 2917 |
+ |
no) AM_DEFAULT_VERBOSITY=1;; |
| 2918 |
+ |
*) AM_DEFAULT_VERBOSITY=1;; |
| 2919 |
+ |
esac |
| 2920 |
+ |
am_make=${MAKE-make} |
| 2921 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 2922 |
+ |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 2923 |
+ |
if ${am_cv_make_support_nested_variables+:} false; then : |
| 2924 |
+ |
$as_echo_n "(cached) " >&6 |
| 2925 |
+ |
else |
| 2926 |
+ |
if $as_echo 'TRUE=$(BAR$(V)) |
| 2927 |
+ |
BAR0=false |
| 2928 |
+ |
BAR1=true |
| 2929 |
+ |
V=1 |
| 2930 |
+ |
am__doit: |
| 2931 |
+ |
@$(TRUE) |
| 2932 |
+ |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 2933 |
+ |
am_cv_make_support_nested_variables=yes |
| 2934 |
+ |
else |
| 2935 |
+ |
am_cv_make_support_nested_variables=no |
| 2936 |
+ |
fi |
| 2937 |
+ |
fi |
| 2938 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 2939 |
+ |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 2940 |
+ |
if test $am_cv_make_support_nested_variables = yes; then |
| 2941 |
+ |
AM_V='$(V)' |
| 2942 |
+ |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 2943 |
+ |
else |
| 2944 |
+ |
AM_V=$AM_DEFAULT_VERBOSITY |
| 2945 |
+ |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 2946 |
+ |
fi |
| 2947 |
+ |
AM_BACKSLASH='\' |
| 2948 |
+ |
|
| 2949 |
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 2950 |
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 2951 |
|
# is not polluted with repeated "-I." |
| 2968 |
|
|
| 2969 |
|
# Define the identity of the package. |
| 2970 |
|
PACKAGE='ircd-hybrid' |
| 2971 |
< |
VERSION='8beta1' |
| 2971 |
> |
VERSION='TRUNK' |
| 2972 |
|
|
| 2973 |
|
|
| 2974 |
|
cat >>confdefs.h <<_ACEOF |
| 2996 |
|
|
| 2997 |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 2998 |
|
|
| 2999 |
+ |
# For better backward compatibility. To be removed once Automake 1.9.x |
| 3000 |
+ |
# dies out for good. For more background, see: |
| 3001 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 3002 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 3003 |
+ |
mkdir_p='$(MKDIR_P)' |
| 3004 |
+ |
|
| 3005 |
|
# We need awk for the "check" target. The system "awk" is bad on |
| 3006 |
|
# some platforms. |
| 3007 |
|
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 3008 |
|
# in the wild :-( We should find a proper way to deprecate it ... |
| 3009 |
|
AMTAR='$${TAR-tar}' |
| 3010 |
|
|
| 3011 |
+ |
|
| 3012 |
+ |
# We'll loop over all known methods to create a tar archive until one works. |
| 3013 |
+ |
_am_tools='gnutar pax cpio none' |
| 3014 |
+ |
|
| 3015 |
|
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 3016 |
|
|
| 3017 |
|
|
| 3019 |
|
|
| 3020 |
|
|
| 3021 |
|
|
| 3022 |
+ |
# POSIX will say in a future version that running "rm -f" with no argument |
| 3023 |
+ |
# is OK; and we want to be able to make that assumption in our Makefile |
| 3024 |
+ |
# recipes. So use an aggressive probe to check that the usage we want is |
| 3025 |
+ |
# actually supported "in the wild" to an acceptable degree. |
| 3026 |
+ |
# See automake bug#10828. |
| 3027 |
+ |
# To make any issue more visible, cause the running configure to be aborted |
| 3028 |
+ |
# by default if the 'rm' program in use doesn't match our expectations; the |
| 3029 |
+ |
# user can still override this though. |
| 3030 |
+ |
if rm -f && rm -fr && rm -rf; then : OK; else |
| 3031 |
+ |
cat >&2 <<'END' |
| 3032 |
+ |
Oops! |
| 3033 |
+ |
|
| 3034 |
+ |
Your 'rm' program seems unable to run without file operands specified |
| 3035 |
+ |
on the command line, even when the '-f' option is present. This is contrary |
| 3036 |
+ |
to the behaviour of most rm programs out there, and not conforming with |
| 3037 |
+ |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
| 3038 |
+ |
|
| 3039 |
+ |
Please tell bug-automake@gnu.org about your system, including the value |
| 3040 |
+ |
of your $PATH and any error possibly output before this message. This |
| 3041 |
+ |
can help us improve future automake versions. |
| 3042 |
+ |
|
| 3043 |
+ |
END |
| 3044 |
+ |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
| 3045 |
+ |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
| 3046 |
+ |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
| 3047 |
+ |
echo >&2 |
| 3048 |
+ |
else |
| 3049 |
+ |
cat >&2 <<'END' |
| 3050 |
+ |
Aborting the configuration process, to ensure you take notice of the issue. |
| 3051 |
+ |
|
| 3052 |
+ |
You can download and install GNU coreutils to get an 'rm' implementation |
| 3053 |
+ |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 3054 |
+ |
|
| 3055 |
+ |
If you want to complete the configuration process using your problematic |
| 3056 |
+ |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3057 |
+ |
to "yes", and re-run configure. |
| 3058 |
+ |
|
| 3059 |
+ |
END |
| 3060 |
+ |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 3061 |
+ |
fi |
| 3062 |
+ |
fi |
| 3063 |
+ |
|
| 3064 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3065 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3066 |
|
# Check whether --enable-maintainer-mode was given. |
| 3940 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3941 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3942 |
|
|
| 3943 |
+ |
ac_ext=c |
| 3944 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 3945 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3946 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3947 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3948 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 3949 |
+ |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| 3950 |
+ |
if ${am_cv_prog_cc_c_o+:} false; then : |
| 3951 |
+ |
$as_echo_n "(cached) " >&6 |
| 3952 |
+ |
else |
| 3953 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3954 |
+ |
/* end confdefs.h. */ |
| 3955 |
+ |
|
| 3956 |
+ |
int |
| 3957 |
+ |
main () |
| 3958 |
+ |
{ |
| 3959 |
+ |
|
| 3960 |
+ |
; |
| 3961 |
+ |
return 0; |
| 3962 |
+ |
} |
| 3963 |
+ |
_ACEOF |
| 3964 |
+ |
# Make sure it works both with $CC and with simple cc. |
| 3965 |
+ |
# Following AC_PROG_CC_C_O, we do the test twice because some |
| 3966 |
+ |
# compilers refuse to overwrite an existing .o file with -o, |
| 3967 |
+ |
# though they will create one. |
| 3968 |
+ |
am_cv_prog_cc_c_o=yes |
| 3969 |
+ |
for am_i in 1 2; do |
| 3970 |
+ |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 3971 |
+ |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 3972 |
+ |
ac_status=$? |
| 3973 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3974 |
+ |
(exit $ac_status); } \ |
| 3975 |
+ |
&& test -f conftest2.$ac_objext; then |
| 3976 |
+ |
: OK |
| 3977 |
+ |
else |
| 3978 |
+ |
am_cv_prog_cc_c_o=no |
| 3979 |
+ |
break |
| 3980 |
+ |
fi |
| 3981 |
+ |
done |
| 3982 |
+ |
rm -f core conftest* |
| 3983 |
+ |
unset am_i |
| 3984 |
+ |
fi |
| 3985 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 3986 |
+ |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
| 3987 |
+ |
if test "$am_cv_prog_cc_c_o" != yes; then |
| 3988 |
+ |
# Losing compiler, so override with the script. |
| 3989 |
+ |
# FIXME: It is wrong to rewrite CC. |
| 3990 |
+ |
# But if we don't then we get into trouble of one sort or another. |
| 3991 |
+ |
# A longer-term fix would be to have automake use am__CC in this case, |
| 3992 |
+ |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 3993 |
+ |
CC="$am_aux_dir/compile $CC" |
| 3994 |
+ |
fi |
| 3995 |
+ |
ac_ext=c |
| 3996 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 3997 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3998 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3999 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4000 |
+ |
|
| 4001 |
+ |
|
| 4002 |
|
depcc="$CC" am_compiler_list= |
| 4003 |
|
|
| 4004 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 13172 |
|
|
| 13173 |
|
# Checks for libraries. |
| 13174 |
|
|
| 13175 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13176 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13177 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13175 |
> |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 13176 |
> |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 13177 |
> |
|
| 13178 |
> |
else |
| 13179 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
| 13180 |
> |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
| 13181 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13182 |
|
$as_echo_n "(cached) " >&6 |
| 13183 |
|
else |
| 13184 |
|
ac_func_search_save_LIBS=$LIBS |
| 13191 |
|
#ifdef __cplusplus |
| 13192 |
|
extern "C" |
| 13193 |
|
#endif |
| 13194 |
< |
char socket (); |
| 13194 |
> |
char getaddrinfo (); |
| 13195 |
|
int |
| 13196 |
|
main () |
| 13197 |
|
{ |
| 13198 |
< |
return socket (); |
| 13198 |
> |
return getaddrinfo (); |
| 13199 |
|
; |
| 13200 |
|
return 0; |
| 13201 |
|
} |
| 13202 |
|
_ACEOF |
| 13203 |
< |
for ac_lib in '' socket; do |
| 13203 |
> |
for ac_lib in '' nsl; do |
| 13204 |
|
if test -z "$ac_lib"; then |
| 13205 |
|
ac_res="none required" |
| 13206 |
|
else |
| 13208 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13209 |
|
fi |
| 13210 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13211 |
< |
ac_cv_search_socket=$ac_res |
| 13211 |
> |
ac_cv_search_getaddrinfo=$ac_res |
| 13212 |
|
fi |
| 13213 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13214 |
|
conftest$ac_exeext |
| 13215 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13215 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13216 |
|
break |
| 13217 |
|
fi |
| 13218 |
|
done |
| 13219 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13219 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13220 |
|
|
| 13221 |
|
else |
| 13222 |
< |
ac_cv_search_socket=no |
| 13222 |
> |
ac_cv_search_getaddrinfo=no |
| 13223 |
|
fi |
| 13224 |
|
rm conftest.$ac_ext |
| 13225 |
|
LIBS=$ac_func_search_save_LIBS |
| 13226 |
|
fi |
| 13227 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13228 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13229 |
< |
ac_res=$ac_cv_search_socket |
| 13227 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
| 13228 |
> |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
| 13229 |
> |
ac_res=$ac_cv_search_getaddrinfo |
| 13230 |
|
if test "$ac_res" != no; then : |
| 13231 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13232 |
|
|
| 13080 |
– |
else |
| 13081 |
– |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13233 |
|
fi |
| 13234 |
|
|
| 13235 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
| 13236 |
< |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
| 13237 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13235 |
> |
fi |
| 13236 |
> |
|
| 13237 |
> |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
| 13238 |
> |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
| 13239 |
> |
|
| 13240 |
> |
else |
| 13241 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
| 13242 |
> |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
| 13243 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13244 |
|
$as_echo_n "(cached) " >&6 |
| 13245 |
|
else |
| 13246 |
|
ac_func_search_save_LIBS=$LIBS |
| 13253 |
|
#ifdef __cplusplus |
| 13254 |
|
extern "C" |
| 13255 |
|
#endif |
| 13256 |
< |
char inet_ntoa (); |
| 13256 |
> |
char getnameinfo (); |
| 13257 |
|
int |
| 13258 |
|
main () |
| 13259 |
|
{ |
| 13260 |
< |
return inet_ntoa (); |
| 13260 |
> |
return getnameinfo (); |
| 13261 |
|
; |
| 13262 |
|
return 0; |
| 13263 |
|
} |
| 13270 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13271 |
|
fi |
| 13272 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13273 |
< |
ac_cv_search_inet_ntoa=$ac_res |
| 13273 |
> |
ac_cv_search_getnameinfo=$ac_res |
| 13274 |
|
fi |
| 13275 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13276 |
|
conftest$ac_exeext |
| 13277 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13277 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13278 |
|
break |
| 13279 |
|
fi |
| 13280 |
|
done |
| 13281 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13281 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13282 |
|
|
| 13283 |
|
else |
| 13284 |
< |
ac_cv_search_inet_ntoa=no |
| 13284 |
> |
ac_cv_search_getnameinfo=no |
| 13285 |
|
fi |
| 13286 |
|
rm conftest.$ac_ext |
| 13287 |
|
LIBS=$ac_func_search_save_LIBS |
| 13288 |
|
fi |
| 13289 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
| 13290 |
< |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
| 13291 |
< |
ac_res=$ac_cv_search_inet_ntoa |
| 13289 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
| 13290 |
> |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
| 13291 |
> |
ac_res=$ac_cv_search_getnameinfo |
| 13292 |
|
if test "$ac_res" != no; then : |
| 13293 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13294 |
|
|
| 13295 |
|
fi |
| 13296 |
|
|
| 13297 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
| 13298 |
< |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
| 13299 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13297 |
> |
fi |
| 13298 |
> |
|
| 13299 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13300 |
> |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13301 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13302 |
|
$as_echo_n "(cached) " >&6 |
| 13303 |
|
else |
| 13304 |
|
ac_func_search_save_LIBS=$LIBS |
| 13311 |
|
#ifdef __cplusplus |
| 13312 |
|
extern "C" |
| 13313 |
|
#endif |
| 13314 |
< |
char inet_aton (); |
| 13314 |
> |
char socket (); |
| 13315 |
|
int |
| 13316 |
|
main () |
| 13317 |
|
{ |
| 13318 |
< |
return inet_aton (); |
| 13318 |
> |
return socket (); |
| 13319 |
|
; |
| 13320 |
|
return 0; |
| 13321 |
|
} |
| 13322 |
|
_ACEOF |
| 13323 |
< |
for ac_lib in '' resolv; do |
| 13323 |
> |
for ac_lib in '' socket; do |
| 13324 |
|
if test -z "$ac_lib"; then |
| 13325 |
|
ac_res="none required" |
| 13326 |
|
else |
| 13328 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13329 |
|
fi |
| 13330 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13331 |
< |
ac_cv_search_inet_aton=$ac_res |
| 13331 |
> |
ac_cv_search_socket=$ac_res |
| 13332 |
|
fi |
| 13333 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13334 |
|
conftest$ac_exeext |
| 13335 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13335 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13336 |
|
break |
| 13337 |
|
fi |
| 13338 |
|
done |
| 13339 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13339 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13340 |
|
|
| 13341 |
|
else |
| 13342 |
< |
ac_cv_search_inet_aton=no |
| 13342 |
> |
ac_cv_search_socket=no |
| 13343 |
|
fi |
| 13344 |
|
rm conftest.$ac_ext |
| 13345 |
|
LIBS=$ac_func_search_save_LIBS |
| 13346 |
|
fi |
| 13347 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
| 13348 |
< |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
| 13349 |
< |
ac_res=$ac_cv_search_inet_aton |
| 13347 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13348 |
> |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13349 |
> |
ac_res=$ac_cv_search_socket |
| 13350 |
|
if test "$ac_res" != no; then : |
| 13351 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13352 |
|
|
| 13353 |
+ |
else |
| 13354 |
+ |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13355 |
|
fi |
| 13356 |
|
|
| 13196 |
– |
for ac_func in inet_aton inet_ntop inet_pton |
| 13197 |
– |
do : |
| 13198 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13199 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13200 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13201 |
– |
cat >>confdefs.h <<_ACEOF |
| 13202 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13203 |
– |
_ACEOF |
| 13204 |
– |
|
| 13205 |
– |
fi |
| 13206 |
– |
done |
| 13207 |
– |
|
| 13357 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
| 13358 |
|
#include <sys/socket.h> |
| 13359 |
|
#include <netdb.h> |
| 13670 |
|
|
| 13671 |
|
|
| 13672 |
|
|
| 13524 |
– |
|
| 13525 |
– |
|
| 13673 |
|
# Checks for header files. |
| 13674 |
|
|
| 13675 |
|
|
| 13761 |
|
fi |
| 13762 |
|
|
| 13763 |
|
|
| 13764 |
< |
# Check whether --enable-libpcre was given. |
| 13765 |
< |
if test "${enable_libpcre+set}" = set; then : |
| 13766 |
< |
enableval=$enable_libpcre; |
| 13767 |
< |
else |
| 13768 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 13769 |
< |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
| 13770 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5 |
| 13771 |
< |
$as_echo_n "checking for library containing pcre_study... " >&6; } |
| 13772 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
| 13764 |
> |
# Check whether --enable-libgeoip was given. |
| 13765 |
> |
if test "${enable_libgeoip+set}" = set; then : |
| 13766 |
> |
enableval=$enable_libgeoip; |
| 13767 |
> |
else |
| 13768 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 13769 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 13770 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 13771 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 13772 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13773 |
|
$as_echo_n "(cached) " >&6 |
| 13774 |
|
else |
| 13775 |
|
ac_func_search_save_LIBS=$LIBS |
| 13782 |
|
#ifdef __cplusplus |
| 13783 |
|
extern "C" |
| 13784 |
|
#endif |
| 13785 |
< |
char pcre_study (); |
| 13785 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
| 13786 |
|
int |
| 13787 |
|
main () |
| 13788 |
|
{ |
| 13789 |
< |
return pcre_study (); |
| 13789 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
| 13790 |
|
; |
| 13791 |
|
return 0; |
| 13792 |
|
} |
| 13793 |
|
_ACEOF |
| 13794 |
< |
for ac_lib in '' pcre; do |
| 13794 |
> |
for ac_lib in '' GeoIP; do |
| 13795 |
|
if test -z "$ac_lib"; then |
| 13796 |
|
ac_res="none required" |
| 13797 |
|
else |
| 13799 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13800 |
|
fi |
| 13801 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13802 |
< |
ac_cv_search_pcre_study=$ac_res |
| 13802 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 13803 |
|
fi |
| 13804 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13805 |
|
conftest$ac_exeext |
| 13806 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
| 13806 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13807 |
|
break |
| 13808 |
|
fi |
| 13809 |
|
done |
| 13810 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
| 13810 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13811 |
|
|
| 13812 |
|
else |
| 13813 |
< |
ac_cv_search_pcre_study=no |
| 13813 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 13814 |
|
fi |
| 13815 |
|
rm conftest.$ac_ext |
| 13816 |
|
LIBS=$ac_func_search_save_LIBS |
| 13817 |
|
fi |
| 13818 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5 |
| 13819 |
< |
$as_echo "$ac_cv_search_pcre_study" >&6; } |
| 13820 |
< |
ac_res=$ac_cv_search_pcre_study |
| 13818 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 13819 |
> |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 13820 |
> |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 13821 |
|
if test "$ac_res" != no; then : |
| 13822 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13823 |
|
|
| 13824 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 13824 |
> |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 13825 |
|
|
| 13826 |
|
fi |
| 13827 |
|
|
| 13918 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 13919 |
|
$as_echo "found" >&6; } |
| 13920 |
|
|
| 13921 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 13922 |
< |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 13923 |
< |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 13921 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 13922 |
> |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 13923 |
> |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 13924 |
|
$as_echo_n "(cached) " >&6 |
| 13925 |
|
else |
| 13926 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13927 |
< |
LIBS="-lssl $LIBS" |
| 13927 |
> |
LIBS="-lcrypto $LIBS" |
| 13928 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13929 |
|
/* end confdefs.h. */ |
| 13930 |
|
|
| 13934 |
|
#ifdef __cplusplus |
| 13935 |
|
extern "C" |
| 13936 |
|
#endif |
| 13937 |
< |
char SSL_connect (); |
| 13937 |
> |
char RSA_free (); |
| 13938 |
|
int |
| 13939 |
|
main () |
| 13940 |
|
{ |
| 13941 |
< |
return SSL_connect (); |
| 13941 |
> |
return RSA_free (); |
| 13942 |
|
; |
| 13943 |
|
return 0; |
| 13944 |
|
} |
| 13945 |
|
_ACEOF |
| 13946 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13947 |
< |
ac_cv_lib_ssl_SSL_connect=yes |
| 13947 |
> |
ac_cv_lib_crypto_RSA_free=yes |
| 13948 |
|
else |
| 13949 |
< |
ac_cv_lib_ssl_SSL_connect=no |
| 13949 |
> |
ac_cv_lib_crypto_RSA_free=no |
| 13950 |
|
fi |
| 13951 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13952 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13953 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13954 |
|
fi |
| 13955 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 13956 |
< |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 13957 |
< |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 13955 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 13956 |
> |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 13957 |
> |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 13958 |
|
cat >>confdefs.h <<_ACEOF |
| 13959 |
< |
#define HAVE_LIBSSL 1 |
| 13959 |
> |
#define HAVE_LIBCRYPTO 1 |
| 13960 |
|
_ACEOF |
| 13961 |
|
|
| 13962 |
< |
LIBS="-lssl $LIBS" |
| 13962 |
> |
LIBS="-lcrypto $LIBS" |
| 13963 |
|
|
| 13964 |
|
fi |
| 13965 |
|
|
| 13966 |
< |
if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then : |
| 13967 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 13968 |
< |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 13969 |
< |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 13966 |
> |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 13967 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 13968 |
> |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 13969 |
> |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 13970 |
|
$as_echo_n "(cached) " >&6 |
| 13971 |
|
else |
| 13972 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13973 |
< |
LIBS="-lcrypto $LIBS" |
| 13973 |
> |
LIBS="-lssl $LIBS" |
| 13974 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13975 |
|
/* end confdefs.h. */ |
| 13976 |
|
|
| 13980 |
|
#ifdef __cplusplus |
| 13981 |
|
extern "C" |
| 13982 |
|
#endif |
| 13983 |
< |
char RSA_free (); |
| 13983 |
> |
char SSL_connect (); |
| 13984 |
|
int |
| 13985 |
|
main () |
| 13986 |
|
{ |
| 13987 |
< |
return RSA_free (); |
| 13987 |
> |
return SSL_connect (); |
| 13988 |
|
; |
| 13989 |
|
return 0; |
| 13990 |
|
} |
| 13991 |
|
_ACEOF |
| 13992 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13993 |
< |
ac_cv_lib_crypto_RSA_free=yes |
| 13993 |
> |
ac_cv_lib_ssl_SSL_connect=yes |
| 13994 |
|
else |
| 13995 |
< |
ac_cv_lib_crypto_RSA_free=no |
| 13995 |
> |
ac_cv_lib_ssl_SSL_connect=no |
| 13996 |
|
fi |
| 13997 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13998 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13999 |
|
LIBS=$ac_check_lib_save_LIBS |
| 14000 |
|
fi |
| 14001 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 14002 |
< |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 14003 |
< |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 14001 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 14002 |
> |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 14003 |
> |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 14004 |
|
cat >>confdefs.h <<_ACEOF |
| 14005 |
< |
#define HAVE_LIBCRYPTO 1 |
| 14005 |
> |
#define HAVE_LIBSSL 1 |
| 14006 |
|
_ACEOF |
| 14007 |
|
|
| 14008 |
< |
LIBS="-lcrypto $LIBS" |
| 14008 |
> |
LIBS="-lssl $LIBS" |
| 14009 |
|
|
| 14010 |
|
fi |
| 14011 |
|
|
| 14018 |
|
fi |
| 14019 |
|
fi |
| 14020 |
|
|
| 14021 |
< |
if test "$ac_cv_lib_crypto_RSA_free" = yes; then |
| 14021 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 14022 |
|
ENABLE_SSL_TRUE= |
| 14023 |
|
ENABLE_SSL_FALSE='#' |
| 14024 |
|
else |
| 14043 |
|
fi |
| 14044 |
|
|
| 14045 |
|
|
| 14046 |
< |
# Check whether --enable-small-net was given. |
| 13900 |
< |
if test "${enable_small_net+set}" = set; then : |
| 13901 |
< |
enableval=$enable_small_net; small_net=$enableval |
| 13902 |
< |
else |
| 13903 |
< |
small_net=no |
| 13904 |
< |
fi |
| 13905 |
< |
|
| 13906 |
< |
|
| 13907 |
< |
if test "$small_net" = "yes"; then : |
| 13908 |
< |
|
| 13909 |
< |
|
| 13910 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h |
| 13911 |
< |
|
| 13912 |
< |
|
| 13913 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
| 14046 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 14047 |
|
|
| 14048 |
|
|
| 14049 |
< |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
| 14049 |
> |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
| 14050 |
|
|
| 14051 |
|
|
| 14052 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
| 14052 |
> |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
| 14053 |
|
|
| 14054 |
|
|
| 14055 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
| 14055 |
> |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 14056 |
|
|
| 14057 |
|
|
| 14058 |
< |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
| 14058 |
> |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 14059 |
|
|
| 14060 |
|
|
| 14061 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
| 14061 |
> |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
| 14062 |
|
|
| 14063 |
|
|
| 14064 |
< |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
| 14064 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
| 14065 |
|
|
| 14066 |
|
|
| 14067 |
< |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
| 14067 |
> |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
| 14068 |
|
|
| 14069 |
|
|
| 14070 |
< |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
| 14070 |
> |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
| 14071 |
|
|
| 13939 |
– |
else |
| 13940 |
– |
|
| 13941 |
– |
|
| 13942 |
– |
|
| 13943 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h |
| 13944 |
– |
|
| 13945 |
– |
|
| 13946 |
– |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
| 13947 |
– |
|
| 13948 |
– |
|
| 13949 |
– |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
| 14072 |
|
|
| 14073 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
| 14074 |
|
|
| 13952 |
– |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
| 14075 |
|
|
| 14076 |
+ |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 14077 |
|
|
| 13955 |
– |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
| 14078 |
|
|
| 14079 |
+ |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 14080 |
|
|
| 13958 |
– |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
| 14081 |
|
|
| 14082 |
+ |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 14083 |
|
|
| 13961 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
| 14084 |
|
|
| 14085 |
< |
|
| 13964 |
< |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
| 13965 |
< |
|
| 13966 |
< |
|
| 13967 |
< |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
| 13968 |
< |
|
| 13969 |
< |
|
| 13970 |
< |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
| 13971 |
< |
|
| 13972 |
< |
fi |
| 14085 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
| 14086 |
|
|
| 14087 |
|
|
| 14088 |
|
# Argument processing. |
| 14103 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
| 14104 |
|
fi |
| 14105 |
|
|
| 13993 |
– |
# Check whether --enable-rtsigio was given. |
| 13994 |
– |
if test "${enable_rtsigio+set}" = set; then : |
| 13995 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
| 13996 |
– |
fi |
| 13997 |
– |
|
| 14106 |
|
# Check whether --enable-poll was given. |
| 14107 |
|
if test "${enable_poll+set}" = set; then : |
| 14108 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 14286 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
| 14287 |
|
|
| 14288 |
|
fi |
| 14289 |
< |
iopoll_mechanism_rtsigio=4 |
| 14182 |
< |
|
| 14183 |
< |
cat >>confdefs.h <<_ACEOF |
| 14184 |
< |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
| 14185 |
< |
_ACEOF |
| 14186 |
< |
|
| 14187 |
< |
if test "$cross_compiling" = yes; then : |
| 14188 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14189 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14190 |
< |
as_fn_error $? "cannot run test program while cross compiling |
| 14191 |
< |
See \`config.log' for more details" "$LINENO" 5; } |
| 14192 |
< |
else |
| 14193 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14194 |
< |
/* end confdefs.h. */ |
| 14195 |
< |
|
| 14196 |
< |
#define _GNU_SOURCE |
| 14197 |
< |
#include <fcntl.h> |
| 14198 |
< |
static unsigned int have_f_setsig = 0; |
| 14199 |
< |
|
| 14200 |
< |
int |
| 14201 |
< |
main () |
| 14202 |
< |
{ |
| 14203 |
< |
|
| 14204 |
< |
#ifdef F_SETSIG |
| 14205 |
< |
have_f_setsig = 1; |
| 14206 |
< |
#endif |
| 14207 |
< |
return have_f_setsig == 0; |
| 14208 |
< |
|
| 14209 |
< |
; |
| 14210 |
< |
return 0; |
| 14211 |
< |
} |
| 14212 |
< |
_ACEOF |
| 14213 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 14214 |
< |
is_rtsigio_mechanism_available="yes" |
| 14215 |
< |
else |
| 14216 |
< |
is_rtsigio_mechanism_available="no" |
| 14217 |
< |
fi |
| 14218 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14219 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14220 |
< |
fi |
| 14221 |
< |
|
| 14222 |
< |
iopoll_mechanism_poll=5 |
| 14289 |
> |
iopoll_mechanism_poll=4 |
| 14290 |
|
|
| 14291 |
|
cat >>confdefs.h <<_ACEOF |
| 14292 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
| 14340 |
|
fi |
| 14341 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14342 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14343 |
< |
iopoll_mechanism_select=6 |
| 14343 |
> |
iopoll_mechanism_select=5 |
| 14344 |
|
|
| 14345 |
|
cat >>confdefs.h <<_ACEOF |
| 14346 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 14395 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14396 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14397 |
|
optimal_iopoll_mechanism="none" |
| 14398 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
| 14398 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
| 14399 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 14400 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 14401 |
|
optimal_iopoll_mechanism="$mechanism" |
| 14432 |
|
|
| 14433 |
|
|
| 14434 |
|
|
| 14368 |
– |
|
| 14369 |
– |
# Check whether --with-nicklen was given. |
| 14370 |
– |
if test "${with_nicklen+set}" = set; then : |
| 14371 |
– |
withval=$with_nicklen; nicklen="$withval" |
| 14372 |
– |
else |
| 14373 |
– |
nicklen="9" |
| 14374 |
– |
fi |
| 14375 |
– |
|
| 14376 |
– |
|
| 14377 |
– |
cat >>confdefs.h <<_ACEOF |
| 14378 |
– |
#define NICKLEN ($nicklen) |
| 14379 |
– |
_ACEOF |
| 14380 |
– |
|
| 14381 |
– |
|
| 14382 |
– |
|
| 14383 |
– |
|
| 14384 |
– |
# Check whether --with-topiclen was given. |
| 14385 |
– |
if test "${with_topiclen+set}" = set; then : |
| 14386 |
– |
withval=$with_topiclen; topiclen="$withval" |
| 14387 |
– |
else |
| 14388 |
– |
topiclen="160" |
| 14389 |
– |
fi |
| 14390 |
– |
|
| 14391 |
– |
|
| 14392 |
– |
cat >>confdefs.h <<_ACEOF |
| 14393 |
– |
#define TOPICLEN ($topiclen) |
| 14394 |
– |
_ACEOF |
| 14395 |
– |
|
| 14396 |
– |
|
| 14397 |
– |
|
| 14435 |
|
# Check whether --enable-halfops was given. |
| 14436 |
|
if test "${enable_halfops+set}" = set; then : |
| 14437 |
|
enableval=$enable_halfops; halfops="$enableval" |
| 14454 |
|
fi |
| 14455 |
|
|
| 14456 |
|
if test "$debugging" = "yes" ; then |
| 14420 |
– |
|
| 14421 |
– |
$as_echo "#define DEBUG 1" >>confdefs.h |
| 14422 |
– |
|
| 14457 |
|
CFLAGS="-Wall -g -O0" |
| 14424 |
– |
else |
| 14425 |
– |
|
| 14426 |
– |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 14427 |
– |
|
| 14458 |
|
fi |
| 14459 |
|
|
| 14460 |
|
|
| 14556 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 14557 |
|
|
| 14558 |
|
|
| 14559 |
< |
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" |
| 14559 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
| 14560 |
|
|
| 14561 |
|
|
| 14562 |
|
cat >confcache <<\_ACEOF |
| 15123 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 15124 |
|
# values after options handling. |
| 15125 |
|
ac_log=" |
| 15126 |
< |
This file was extended by ircd-hybrid $as_me 8beta1, which was |
| 15126 |
> |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
| 15127 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 15128 |
|
|
| 15129 |
|
CONFIG_FILES = $CONFIG_FILES |
| 15189 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15190 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 15191 |
|
ac_cs_version="\\ |
| 15192 |
< |
ircd-hybrid config.status 8beta1 |
| 15192 |
> |
ircd-hybrid config.status TRUNK |
| 15193 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 15194 |
|
with options \\"\$ac_cs_config\\" |
| 15195 |
|
|
| 15599 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 15600 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 15601 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 15572 |
– |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 15573 |
– |
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
| 15602 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 15603 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
| 15576 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
| 15604 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
| 15605 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
| 15606 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 15607 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
| 15581 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
| 15582 |
– |
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
| 15608 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 15609 |
|
|
| 15610 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 16202 |
|
|
| 16203 |
|
case $ac_file$ac_mode in |
| 16204 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 16205 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 16205 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
| 16206 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 16207 |
|
# if we detect the quoting. |
| 16208 |
|
case $CONFIG_FILES in |
| 16253 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 16254 |
|
test -z "$DEPDIR" && continue |
| 16255 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 16256 |
< |
test -z "am__include" && continue |
| 16256 |
> |
test -z "$am__include" && continue |
| 16257 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 16258 |
|
# Find all dependency output files, they are included files with |
| 16259 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |