1 |
|
#! /bin/sh |
2 |
< |
# From configure.ac Id: configure.ac 1358 2012-04-22 13:49:23Z michael . |
2 |
> |
# From configure.ac Id: configure.ac 2594 2013-11-21 17:20:41Z 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 |
|
|
648 |
|
LIBDIR |
649 |
|
SYSCONFDIR |
650 |
|
PREFIX |
651 |
– |
EFNET_FALSE |
652 |
– |
EFNET_TRUE |
651 |
|
ENABLE_SSL_FALSE |
652 |
|
ENABLE_SSL_TRUE |
653 |
|
LTDLOPEN |
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 |
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 |
808 |
– |
enable_small_net |
811 |
|
enable_kqueue |
812 |
|
enable_epoll |
813 |
|
enable_devpoll |
812 |
– |
enable_rtsigio |
814 |
|
enable_poll |
815 |
|
enable_select |
815 |
– |
with_nicklen |
816 |
– |
with_topiclen |
817 |
– |
enable_efnet |
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 |
1468 |
– |
--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. |
1472 |
– |
--enable-rtsigio Force rtsigio usage. |
1471 |
|
--enable-poll Force poll usage. |
1472 |
|
--enable-select Force select usage. |
1475 |
– |
--enable-efnet For IRCDs running on EFnet. |
1473 |
|
--enable-halfops Enable halfops support. |
1474 |
|
--enable-debugging Enable debugging. |
1475 |
|
--enable-warnings Enable compiler warnings. |
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 |
1491 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
1492 |
– |
--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 |
|
|
2382 |
– |
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 |
2825 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2826 |
|
$as_echo "$MKDIR_P" >&6; } |
2827 |
|
|
2834 |
– |
mkdir_p="$MKDIR_P" |
2835 |
– |
case $mkdir_p in |
2836 |
– |
[\\/$]* | ?:[\\/]*) ;; |
2837 |
– |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
2838 |
– |
esac |
2839 |
– |
|
2828 |
|
for ac_prog in gawk mawk nawk awk |
2829 |
|
do |
2830 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
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. |
3083 |
|
MAINT=$MAINTAINER_MODE_TRUE |
3084 |
|
|
3085 |
|
|
3086 |
+ |
|
3087 |
|
ac_config_headers="$ac_config_headers config.h" |
3088 |
|
|
3089 |
|
|
3941 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3942 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3943 |
|
|
3944 |
+ |
ac_ext=c |
3945 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
3946 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3947 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3948 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3949 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
3950 |
+ |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
3951 |
+ |
if ${am_cv_prog_cc_c_o+:} false; then : |
3952 |
+ |
$as_echo_n "(cached) " >&6 |
3953 |
+ |
else |
3954 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3955 |
+ |
/* end confdefs.h. */ |
3956 |
+ |
|
3957 |
+ |
int |
3958 |
+ |
main () |
3959 |
+ |
{ |
3960 |
+ |
|
3961 |
+ |
; |
3962 |
+ |
return 0; |
3963 |
+ |
} |
3964 |
+ |
_ACEOF |
3965 |
+ |
# Make sure it works both with $CC and with simple cc. |
3966 |
+ |
# Following AC_PROG_CC_C_O, we do the test twice because some |
3967 |
+ |
# compilers refuse to overwrite an existing .o file with -o, |
3968 |
+ |
# though they will create one. |
3969 |
+ |
am_cv_prog_cc_c_o=yes |
3970 |
+ |
for am_i in 1 2; do |
3971 |
+ |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
3972 |
+ |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
3973 |
+ |
ac_status=$? |
3974 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3975 |
+ |
(exit $ac_status); } \ |
3976 |
+ |
&& test -f conftest2.$ac_objext; then |
3977 |
+ |
: OK |
3978 |
+ |
else |
3979 |
+ |
am_cv_prog_cc_c_o=no |
3980 |
+ |
break |
3981 |
+ |
fi |
3982 |
+ |
done |
3983 |
+ |
rm -f core conftest* |
3984 |
+ |
unset am_i |
3985 |
+ |
fi |
3986 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
3987 |
+ |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
3988 |
+ |
if test "$am_cv_prog_cc_c_o" != yes; then |
3989 |
+ |
# Losing compiler, so override with the script. |
3990 |
+ |
# FIXME: It is wrong to rewrite CC. |
3991 |
+ |
# But if we don't then we get into trouble of one sort or another. |
3992 |
+ |
# A longer-term fix would be to have automake use am__CC in this case, |
3993 |
+ |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
3994 |
+ |
CC="$am_aux_dir/compile $CC" |
3995 |
+ |
fi |
3996 |
+ |
ac_ext=c |
3997 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
3998 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3999 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4000 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4001 |
+ |
|
4002 |
+ |
|
4003 |
|
depcc="$CC" am_compiler_list= |
4004 |
|
|
4005 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
8560 |
|
$RM -r conftest* |
8561 |
|
|
8562 |
|
|
8563 |
+ |
## CAVEAT EMPTOR: |
8564 |
+ |
## There is no encapsulation within the following macros, do not change |
8565 |
+ |
## the running order or otherwise move them around unless you know exactly |
8566 |
+ |
## what you are doing... |
8567 |
|
if test -n "$compiler"; then |
8568 |
|
|
8569 |
|
lt_prog_compiler_no_builtin_flag= |
13177 |
|
|
13178 |
|
# Checks for libraries. |
13179 |
|
|
13180 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
13181 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
13182 |
< |
if ${ac_cv_search_socket+:} false; then : |
13180 |
> |
|
13181 |
> |
if test "X$CC" != "X"; then |
13182 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
13183 |
> |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
13184 |
> |
if ${ssp_cv_cc+:} false; then : |
13185 |
> |
$as_echo_n "(cached) " >&6 |
13186 |
> |
else |
13187 |
> |
ssp_old_cflags="$CFLAGS" |
13188 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
13189 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13190 |
> |
/* end confdefs.h. */ |
13191 |
> |
|
13192 |
> |
int |
13193 |
> |
main () |
13194 |
> |
{ |
13195 |
> |
|
13196 |
> |
; |
13197 |
> |
return 0; |
13198 |
> |
} |
13199 |
> |
_ACEOF |
13200 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
13201 |
> |
ssp_cv_cc=yes |
13202 |
> |
else |
13203 |
> |
ssp_cv_cc=no |
13204 |
> |
fi |
13205 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13206 |
> |
CFLAGS="$ssp_old_cflags" |
13207 |
> |
|
13208 |
> |
fi |
13209 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
13210 |
> |
$as_echo "$ssp_cv_cc" >&6; } |
13211 |
> |
if test $ssp_cv_cc = yes; then |
13212 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
13213 |
> |
|
13214 |
> |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
13215 |
> |
|
13216 |
> |
fi |
13217 |
> |
fi |
13218 |
> |
|
13219 |
> |
|
13220 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5 |
13221 |
> |
$as_echo_n "checking whether C compiler accepts ... " >&6; } |
13222 |
> |
if ${ax_cv_check_cflags__+:} false; then : |
13223 |
> |
$as_echo_n "(cached) " >&6 |
13224 |
> |
else |
13225 |
> |
|
13226 |
> |
ax_check_save_flags=$CFLAGS |
13227 |
> |
CFLAGS="$CFLAGS " |
13228 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13229 |
> |
/* end confdefs.h. */ |
13230 |
> |
|
13231 |
> |
int |
13232 |
> |
main () |
13233 |
> |
{ |
13234 |
> |
|
13235 |
> |
; |
13236 |
> |
return 0; |
13237 |
> |
} |
13238 |
> |
_ACEOF |
13239 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
13240 |
> |
ax_cv_check_cflags__=yes |
13241 |
> |
else |
13242 |
> |
ax_cv_check_cflags__=no |
13243 |
> |
fi |
13244 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13245 |
> |
CFLAGS=$ax_check_save_flags |
13246 |
> |
fi |
13247 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5 |
13248 |
> |
$as_echo "$ax_cv_check_cflags__" >&6; } |
13249 |
> |
if test x"$ax_cv_check_cflags__" = xyes; then : |
13250 |
> |
: |
13251 |
> |
else |
13252 |
> |
: |
13253 |
> |
fi |
13254 |
> |
|
13255 |
> |
if ${CFLAGS+:} false; then : |
13256 |
> |
case " $CFLAGS " in |
13257 |
> |
*" "*) |
13258 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5 |
13259 |
> |
(: CFLAGS already contains ) 2>&5 |
13260 |
> |
ac_status=$? |
13261 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13262 |
> |
test $ac_status = 0; } |
13263 |
> |
;; |
13264 |
> |
*) |
13265 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5 |
13266 |
> |
(: CFLAGS="$CFLAGS ") 2>&5 |
13267 |
> |
ac_status=$? |
13268 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13269 |
> |
test $ac_status = 0; } |
13270 |
> |
CFLAGS="$CFLAGS " |
13271 |
> |
;; |
13272 |
> |
esac |
13273 |
> |
else |
13274 |
> |
CFLAGS="" |
13275 |
> |
fi |
13276 |
> |
|
13277 |
> |
|
13278 |
> |
|
13279 |
> |
for flag in -fno-strict-aliasing; do |
13280 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
13281 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
13282 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
13283 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
13284 |
> |
$as_echo_n "(cached) " >&6 |
13285 |
> |
else |
13286 |
> |
|
13287 |
> |
ax_check_save_flags=$CFLAGS |
13288 |
> |
CFLAGS="$CFLAGS $flag" |
13289 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13290 |
> |
/* end confdefs.h. */ |
13291 |
> |
|
13292 |
> |
int |
13293 |
> |
main () |
13294 |
> |
{ |
13295 |
> |
|
13296 |
> |
; |
13297 |
> |
return 0; |
13298 |
> |
} |
13299 |
> |
_ACEOF |
13300 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
13301 |
> |
eval "$as_CACHEVAR=yes" |
13302 |
> |
else |
13303 |
> |
eval "$as_CACHEVAR=no" |
13304 |
> |
fi |
13305 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13306 |
> |
CFLAGS=$ax_check_save_flags |
13307 |
> |
fi |
13308 |
> |
eval ac_res=\$$as_CACHEVAR |
13309 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
13310 |
> |
$as_echo "$ac_res" >&6; } |
13311 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
13312 |
> |
if ${CFLAGS+:} false; then : |
13313 |
> |
case " $CFLAGS " in |
13314 |
> |
*" $flag "*) |
13315 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
13316 |
> |
(: CFLAGS already contains $flag) 2>&5 |
13317 |
> |
ac_status=$? |
13318 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13319 |
> |
test $ac_status = 0; } |
13320 |
> |
;; |
13321 |
> |
*) |
13322 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
13323 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
13324 |
> |
ac_status=$? |
13325 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13326 |
> |
test $ac_status = 0; } |
13327 |
> |
CFLAGS="$CFLAGS $flag" |
13328 |
> |
;; |
13329 |
> |
esac |
13330 |
> |
else |
13331 |
> |
CFLAGS="$flag" |
13332 |
> |
fi |
13333 |
> |
|
13334 |
> |
else |
13335 |
> |
: |
13336 |
> |
fi |
13337 |
> |
|
13338 |
> |
done |
13339 |
> |
|
13340 |
> |
|
13341 |
> |
|
13342 |
> |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
13343 |
> |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
13344 |
> |
|
13345 |
> |
else |
13346 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
13347 |
> |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
13348 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13349 |
|
$as_echo_n "(cached) " >&6 |
13350 |
|
else |
13351 |
|
ac_func_search_save_LIBS=$LIBS |
13358 |
|
#ifdef __cplusplus |
13359 |
|
extern "C" |
13360 |
|
#endif |
13361 |
< |
char socket (); |
13361 |
> |
char getaddrinfo (); |
13362 |
|
int |
13363 |
|
main () |
13364 |
|
{ |
13365 |
< |
return socket (); |
13365 |
> |
return getaddrinfo (); |
13366 |
|
; |
13367 |
|
return 0; |
13368 |
|
} |
13369 |
|
_ACEOF |
13370 |
< |
for ac_lib in '' socket; do |
13370 |
> |
for ac_lib in '' nsl; do |
13371 |
|
if test -z "$ac_lib"; then |
13372 |
|
ac_res="none required" |
13373 |
|
else |
13375 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13376 |
|
fi |
13377 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13378 |
< |
ac_cv_search_socket=$ac_res |
13378 |
> |
ac_cv_search_getaddrinfo=$ac_res |
13379 |
|
fi |
13380 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13381 |
|
conftest$ac_exeext |
13382 |
< |
if ${ac_cv_search_socket+:} false; then : |
13382 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13383 |
|
break |
13384 |
|
fi |
13385 |
|
done |
13386 |
< |
if ${ac_cv_search_socket+:} false; then : |
13386 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13387 |
|
|
13388 |
|
else |
13389 |
< |
ac_cv_search_socket=no |
13389 |
> |
ac_cv_search_getaddrinfo=no |
13390 |
|
fi |
13391 |
|
rm conftest.$ac_ext |
13392 |
|
LIBS=$ac_func_search_save_LIBS |
13393 |
|
fi |
13394 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
13395 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
13396 |
< |
ac_res=$ac_cv_search_socket |
13394 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
13395 |
> |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
13396 |
> |
ac_res=$ac_cv_search_getaddrinfo |
13397 |
|
if test "$ac_res" != no; then : |
13398 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13399 |
|
|
13091 |
– |
else |
13092 |
– |
as_fn_error $? "socket library not found" "$LINENO" 5 |
13400 |
|
fi |
13401 |
|
|
13402 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
13403 |
< |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
13404 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13402 |
> |
fi |
13403 |
> |
|
13404 |
> |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
13405 |
> |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
13406 |
> |
|
13407 |
> |
else |
13408 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
13409 |
> |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
13410 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
13411 |
|
$as_echo_n "(cached) " >&6 |
13412 |
|
else |
13413 |
|
ac_func_search_save_LIBS=$LIBS |
13420 |
|
#ifdef __cplusplus |
13421 |
|
extern "C" |
13422 |
|
#endif |
13423 |
< |
char inet_ntoa (); |
13423 |
> |
char getnameinfo (); |
13424 |
|
int |
13425 |
|
main () |
13426 |
|
{ |
13427 |
< |
return inet_ntoa (); |
13427 |
> |
return getnameinfo (); |
13428 |
|
; |
13429 |
|
return 0; |
13430 |
|
} |
13437 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13438 |
|
fi |
13439 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13440 |
< |
ac_cv_search_inet_ntoa=$ac_res |
13440 |
> |
ac_cv_search_getnameinfo=$ac_res |
13441 |
|
fi |
13442 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13443 |
|
conftest$ac_exeext |
13444 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13444 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
13445 |
|
break |
13446 |
|
fi |
13447 |
|
done |
13448 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13448 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
13449 |
|
|
13450 |
|
else |
13451 |
< |
ac_cv_search_inet_ntoa=no |
13451 |
> |
ac_cv_search_getnameinfo=no |
13452 |
|
fi |
13453 |
|
rm conftest.$ac_ext |
13454 |
|
LIBS=$ac_func_search_save_LIBS |
13455 |
|
fi |
13456 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
13457 |
< |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
13458 |
< |
ac_res=$ac_cv_search_inet_ntoa |
13456 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
13457 |
> |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
13458 |
> |
ac_res=$ac_cv_search_getnameinfo |
13459 |
|
if test "$ac_res" != no; then : |
13460 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13461 |
|
|
13462 |
|
fi |
13463 |
|
|
13464 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
13465 |
< |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
13466 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
13464 |
> |
fi |
13465 |
> |
|
13466 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
13467 |
> |
$as_echo_n "checking for library containing socket... " >&6; } |
13468 |
> |
if ${ac_cv_search_socket+:} false; then : |
13469 |
|
$as_echo_n "(cached) " >&6 |
13470 |
|
else |
13471 |
|
ac_func_search_save_LIBS=$LIBS |
13478 |
|
#ifdef __cplusplus |
13479 |
|
extern "C" |
13480 |
|
#endif |
13481 |
< |
char inet_aton (); |
13481 |
> |
char socket (); |
13482 |
|
int |
13483 |
|
main () |
13484 |
|
{ |
13485 |
< |
return inet_aton (); |
13485 |
> |
return socket (); |
13486 |
|
; |
13487 |
|
return 0; |
13488 |
|
} |
13489 |
|
_ACEOF |
13490 |
< |
for ac_lib in '' resolv; do |
13490 |
> |
for ac_lib in '' socket; do |
13491 |
|
if test -z "$ac_lib"; then |
13492 |
|
ac_res="none required" |
13493 |
|
else |
13495 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13496 |
|
fi |
13497 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13498 |
< |
ac_cv_search_inet_aton=$ac_res |
13498 |
> |
ac_cv_search_socket=$ac_res |
13499 |
|
fi |
13500 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13501 |
|
conftest$ac_exeext |
13502 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
13502 |
> |
if ${ac_cv_search_socket+:} false; then : |
13503 |
|
break |
13504 |
|
fi |
13505 |
|
done |
13506 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
13506 |
> |
if ${ac_cv_search_socket+:} false; then : |
13507 |
|
|
13508 |
|
else |
13509 |
< |
ac_cv_search_inet_aton=no |
13509 |
> |
ac_cv_search_socket=no |
13510 |
|
fi |
13511 |
|
rm conftest.$ac_ext |
13512 |
|
LIBS=$ac_func_search_save_LIBS |
13513 |
|
fi |
13514 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
13515 |
< |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
13516 |
< |
ac_res=$ac_cv_search_inet_aton |
13514 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
13515 |
> |
$as_echo "$ac_cv_search_socket" >&6; } |
13516 |
> |
ac_res=$ac_cv_search_socket |
13517 |
|
if test "$ac_res" != no; then : |
13518 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13519 |
|
|
13520 |
+ |
else |
13521 |
+ |
as_fn_error $? "socket library not found" "$LINENO" 5 |
13522 |
|
fi |
13523 |
|
|
13207 |
– |
for ac_func in inet_aton inet_ntop inet_pton |
13208 |
– |
do : |
13209 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13210 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13211 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13212 |
– |
cat >>confdefs.h <<_ACEOF |
13213 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13214 |
– |
_ACEOF |
13215 |
– |
|
13216 |
– |
fi |
13217 |
– |
done |
13218 |
– |
|
13524 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
13525 |
|
#include <sys/socket.h> |
13526 |
|
#include <netdb.h> |
13837 |
|
|
13838 |
|
|
13839 |
|
|
13535 |
– |
|
13536 |
– |
|
13840 |
|
# Checks for header files. |
13841 |
|
|
13842 |
|
|
13928 |
|
fi |
13929 |
|
|
13930 |
|
|
13931 |
< |
# Check whether --enable-libpcre was given. |
13932 |
< |
if test "${enable_libpcre+set}" = set; then : |
13933 |
< |
enableval=$enable_libpcre; |
13934 |
< |
else |
13935 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
13936 |
< |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
13937 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5 |
13938 |
< |
$as_echo_n "checking for library containing pcre_study... " >&6; } |
13939 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
13931 |
> |
# Check whether --enable-libgeoip was given. |
13932 |
> |
if test "${enable_libgeoip+set}" = set; then : |
13933 |
> |
enableval=$enable_libgeoip; |
13934 |
> |
else |
13935 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
13936 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
13937 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
13938 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
13939 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13940 |
|
$as_echo_n "(cached) " >&6 |
13941 |
|
else |
13942 |
|
ac_func_search_save_LIBS=$LIBS |
13949 |
|
#ifdef __cplusplus |
13950 |
|
extern "C" |
13951 |
|
#endif |
13952 |
< |
char pcre_study (); |
13952 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
13953 |
|
int |
13954 |
|
main () |
13955 |
|
{ |
13956 |
< |
return pcre_study (); |
13956 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
13957 |
|
; |
13958 |
|
return 0; |
13959 |
|
} |
13960 |
|
_ACEOF |
13961 |
< |
for ac_lib in '' pcre; do |
13961 |
> |
for ac_lib in '' GeoIP; do |
13962 |
|
if test -z "$ac_lib"; then |
13963 |
|
ac_res="none required" |
13964 |
|
else |
13966 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13967 |
|
fi |
13968 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13969 |
< |
ac_cv_search_pcre_study=$ac_res |
13969 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
13970 |
|
fi |
13971 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13972 |
|
conftest$ac_exeext |
13973 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
13973 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13974 |
|
break |
13975 |
|
fi |
13976 |
|
done |
13977 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
13977 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13978 |
|
|
13979 |
|
else |
13980 |
< |
ac_cv_search_pcre_study=no |
13980 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
13981 |
|
fi |
13982 |
|
rm conftest.$ac_ext |
13983 |
|
LIBS=$ac_func_search_save_LIBS |
13984 |
|
fi |
13985 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5 |
13986 |
< |
$as_echo "$ac_cv_search_pcre_study" >&6; } |
13987 |
< |
ac_res=$ac_cv_search_pcre_study |
13985 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
13986 |
> |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
13987 |
> |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
13988 |
|
if test "$ac_res" != no; then : |
13989 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13990 |
|
|
13991 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
13991 |
> |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
13992 |
|
|
13993 |
|
fi |
13994 |
|
|
13998 |
|
fi |
13999 |
|
|
14000 |
|
|
14001 |
+ |
|
14002 |
|
# Check whether --enable-openssl was given. |
14003 |
|
if test "${enable_openssl+set}" = set; then : |
14004 |
|
enableval=$enable_openssl; cf_enable_openssl=$enableval |
14086 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
14087 |
|
$as_echo "found" >&6; } |
14088 |
|
|
14089 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
14090 |
< |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
14091 |
< |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
14089 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
14090 |
> |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
14091 |
> |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
14092 |
|
$as_echo_n "(cached) " >&6 |
14093 |
|
else |
14094 |
|
ac_check_lib_save_LIBS=$LIBS |
14095 |
< |
LIBS="-lssl $LIBS" |
14095 |
> |
LIBS="-lcrypto $LIBS" |
14096 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14097 |
|
/* end confdefs.h. */ |
14098 |
|
|
14102 |
|
#ifdef __cplusplus |
14103 |
|
extern "C" |
14104 |
|
#endif |
14105 |
< |
char SSL_connect (); |
14105 |
> |
char RSA_free (); |
14106 |
|
int |
14107 |
|
main () |
14108 |
|
{ |
14109 |
< |
return SSL_connect (); |
14109 |
> |
return RSA_free (); |
14110 |
|
; |
14111 |
|
return 0; |
14112 |
|
} |
14113 |
|
_ACEOF |
14114 |
|
if ac_fn_c_try_link "$LINENO"; then : |
14115 |
< |
ac_cv_lib_ssl_SSL_connect=yes |
14115 |
> |
ac_cv_lib_crypto_RSA_free=yes |
14116 |
|
else |
14117 |
< |
ac_cv_lib_ssl_SSL_connect=no |
14117 |
> |
ac_cv_lib_crypto_RSA_free=no |
14118 |
|
fi |
14119 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14120 |
|
conftest$ac_exeext conftest.$ac_ext |
14121 |
|
LIBS=$ac_check_lib_save_LIBS |
14122 |
|
fi |
14123 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
14124 |
< |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
14125 |
< |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
14123 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
14124 |
> |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
14125 |
> |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
14126 |
|
cat >>confdefs.h <<_ACEOF |
14127 |
< |
#define HAVE_LIBSSL 1 |
14127 |
> |
#define HAVE_LIBCRYPTO 1 |
14128 |
|
_ACEOF |
14129 |
|
|
14130 |
< |
LIBS="-lssl $LIBS" |
14130 |
> |
LIBS="-lcrypto $LIBS" |
14131 |
|
|
14132 |
|
fi |
14133 |
|
|
14134 |
< |
if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then : |
14135 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
14136 |
< |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
14137 |
< |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
14134 |
> |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
14135 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
14136 |
> |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
14137 |
> |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
14138 |
|
$as_echo_n "(cached) " >&6 |
14139 |
|
else |
14140 |
|
ac_check_lib_save_LIBS=$LIBS |
14141 |
< |
LIBS="-lcrypto $LIBS" |
14141 |
> |
LIBS="-lssl $LIBS" |
14142 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14143 |
|
/* end confdefs.h. */ |
14144 |
|
|
14148 |
|
#ifdef __cplusplus |
14149 |
|
extern "C" |
14150 |
|
#endif |
14151 |
< |
char RSA_free (); |
14151 |
> |
char SSL_connect (); |
14152 |
|
int |
14153 |
|
main () |
14154 |
|
{ |
14155 |
< |
return RSA_free (); |
14155 |
> |
return SSL_connect (); |
14156 |
|
; |
14157 |
|
return 0; |
14158 |
|
} |
14159 |
|
_ACEOF |
14160 |
|
if ac_fn_c_try_link "$LINENO"; then : |
14161 |
< |
ac_cv_lib_crypto_RSA_free=yes |
14161 |
> |
ac_cv_lib_ssl_SSL_connect=yes |
14162 |
|
else |
14163 |
< |
ac_cv_lib_crypto_RSA_free=no |
14163 |
> |
ac_cv_lib_ssl_SSL_connect=no |
14164 |
|
fi |
14165 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14166 |
|
conftest$ac_exeext conftest.$ac_ext |
14167 |
|
LIBS=$ac_check_lib_save_LIBS |
14168 |
|
fi |
14169 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
14170 |
< |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
14171 |
< |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
14169 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
14170 |
> |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
14171 |
> |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
14172 |
|
cat >>confdefs.h <<_ACEOF |
14173 |
< |
#define HAVE_LIBCRYPTO 1 |
14173 |
> |
#define HAVE_LIBSSL 1 |
14174 |
|
_ACEOF |
14175 |
|
|
14176 |
< |
LIBS="-lcrypto $LIBS" |
14176 |
> |
LIBS="-lssl $LIBS" |
14177 |
|
|
14178 |
|
fi |
14179 |
|
|
14186 |
|
fi |
14187 |
|
fi |
14188 |
|
|
14189 |
< |
if test "$ac_cv_lib_crypto_RSA_free" = yes; then |
14189 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
14190 |
|
ENABLE_SSL_TRUE= |
14191 |
|
ENABLE_SSL_FALSE='#' |
14192 |
|
else |
14211 |
|
fi |
14212 |
|
|
14213 |
|
|
14214 |
< |
# Check whether --enable-small-net was given. |
13911 |
< |
if test "${enable_small_net+set}" = set; then : |
13912 |
< |
enableval=$enable_small_net; small_net=$enableval |
13913 |
< |
else |
13914 |
< |
small_net=no |
13915 |
< |
fi |
13916 |
< |
|
13917 |
< |
|
13918 |
< |
if test "$small_net" = "yes"; then : |
13919 |
< |
|
14214 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
14215 |
|
|
13921 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h |
14216 |
|
|
14217 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
14218 |
|
|
13924 |
– |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
14219 |
|
|
14220 |
+ |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
14221 |
|
|
13927 |
– |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
14222 |
|
|
14223 |
+ |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
14224 |
|
|
13930 |
– |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
14225 |
|
|
14226 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
14227 |
|
|
13933 |
– |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
14228 |
|
|
14229 |
+ |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
14230 |
|
|
13936 |
– |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
14231 |
|
|
14232 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
14233 |
|
|
13939 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
14234 |
|
|
14235 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
14236 |
|
|
13942 |
– |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
14237 |
|
|
14238 |
+ |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
14239 |
|
|
13945 |
– |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
14240 |
|
|
14241 |
< |
|
13948 |
< |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
13949 |
< |
|
13950 |
< |
else |
14241 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
14242 |
|
|
14243 |
|
|
14244 |
+ |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
14245 |
|
|
13954 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h |
14246 |
|
|
14247 |
+ |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
14248 |
|
|
13957 |
– |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
14249 |
|
|
14250 |
+ |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
14251 |
|
|
13960 |
– |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
14252 |
|
|
14253 |
< |
|
13963 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
13964 |
< |
|
13965 |
< |
|
13966 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
13967 |
< |
|
13968 |
< |
|
13969 |
< |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
13970 |
< |
|
13971 |
< |
|
13972 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
13973 |
< |
|
13974 |
< |
|
13975 |
< |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
13976 |
< |
|
13977 |
< |
|
13978 |
< |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
13979 |
< |
|
13980 |
< |
|
13981 |
< |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
13982 |
< |
|
13983 |
< |
fi |
14253 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
14254 |
|
|
14255 |
|
|
14256 |
|
# Argument processing. |
14271 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
14272 |
|
fi |
14273 |
|
|
14004 |
– |
# Check whether --enable-rtsigio was given. |
14005 |
– |
if test "${enable_rtsigio+set}" = set; then : |
14006 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
14007 |
– |
fi |
14008 |
– |
|
14274 |
|
# Check whether --enable-poll was given. |
14275 |
|
if test "${enable_poll+set}" = set; then : |
14276 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
14454 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
14455 |
|
|
14456 |
|
fi |
14457 |
< |
iopoll_mechanism_rtsigio=4 |
14193 |
< |
|
14194 |
< |
cat >>confdefs.h <<_ACEOF |
14195 |
< |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
14196 |
< |
_ACEOF |
14197 |
< |
|
14198 |
< |
if test "$cross_compiling" = yes; then : |
14199 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
14200 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
14201 |
< |
as_fn_error $? "cannot run test program while cross compiling |
14202 |
< |
See \`config.log' for more details" "$LINENO" 5; } |
14203 |
< |
else |
14204 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14205 |
< |
/* end confdefs.h. */ |
14206 |
< |
|
14207 |
< |
#define _GNU_SOURCE |
14208 |
< |
#include <fcntl.h> |
14209 |
< |
static unsigned int have_f_setsig = 0; |
14210 |
< |
|
14211 |
< |
int |
14212 |
< |
main () |
14213 |
< |
{ |
14214 |
< |
|
14215 |
< |
#ifdef F_SETSIG |
14216 |
< |
have_f_setsig = 1; |
14217 |
< |
#endif |
14218 |
< |
return have_f_setsig == 0; |
14219 |
< |
|
14220 |
< |
; |
14221 |
< |
return 0; |
14222 |
< |
} |
14223 |
< |
_ACEOF |
14224 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
14225 |
< |
is_rtsigio_mechanism_available="yes" |
14226 |
< |
else |
14227 |
< |
is_rtsigio_mechanism_available="no" |
14228 |
< |
fi |
14229 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
14230 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
14231 |
< |
fi |
14232 |
< |
|
14233 |
< |
iopoll_mechanism_poll=5 |
14457 |
> |
iopoll_mechanism_poll=4 |
14458 |
|
|
14459 |
|
cat >>confdefs.h <<_ACEOF |
14460 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
14508 |
|
fi |
14509 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14510 |
|
conftest$ac_exeext conftest.$ac_ext |
14511 |
< |
iopoll_mechanism_select=6 |
14511 |
> |
iopoll_mechanism_select=5 |
14512 |
|
|
14513 |
|
cat >>confdefs.h <<_ACEOF |
14514 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
14563 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14564 |
|
conftest$ac_exeext conftest.$ac_ext |
14565 |
|
optimal_iopoll_mechanism="none" |
14566 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
14566 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
14567 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
14568 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
14569 |
|
optimal_iopoll_mechanism="$mechanism" |
14600 |
|
|
14601 |
|
|
14602 |
|
|
14603 |
+ |
# Check whether --enable-halfops was given. |
14604 |
+ |
if test "${enable_halfops+set}" = set; then : |
14605 |
+ |
enableval=$enable_halfops; halfops="$enableval" |
14606 |
+ |
else |
14607 |
+ |
halfops="no" |
14608 |
+ |
fi |
14609 |
|
|
14610 |
< |
# Check whether --with-nicklen was given. |
14611 |
< |
if test "${with_nicklen+set}" = set; then : |
14612 |
< |
withval=$with_nicklen; nicklen="$withval" |
14610 |
> |
if test "$halfops" = "yes" ; then |
14611 |
> |
|
14612 |
> |
$as_echo "#define HALFOPS 1" >>confdefs.h |
14613 |
> |
|
14614 |
> |
fi |
14615 |
> |
|
14616 |
> |
|
14617 |
> |
# Check whether --enable-debugging was given. |
14618 |
> |
if test "${enable_debugging+set}" = set; then : |
14619 |
> |
enableval=$enable_debugging; debugging="$enableval" |
14620 |
|
else |
14621 |
< |
nicklen="9" |
14621 |
> |
debugging="no" |
14622 |
|
fi |
14623 |
|
|
14624 |
+ |
if test "$debugging" = "yes" ; then |
14625 |
+ |
CFLAGS="-Wall -g -O0" |
14626 |
+ |
fi |
14627 |
|
|
14628 |
< |
cat >>confdefs.h <<_ACEOF |
14629 |
< |
#define NICKLEN ($nicklen+1) |
14628 |
> |
|
14629 |
> |
# Check whether --enable-warnings was given. |
14630 |
> |
if test "${enable_warnings+set}" = set; then : |
14631 |
> |
enableval=$enable_warnings; warnings="$enableval" |
14632 |
> |
else |
14633 |
> |
warnings="no" |
14634 |
> |
fi |
14635 |
> |
|
14636 |
> |
if test "$warnings" = "yes" ; then |
14637 |
> |
|
14638 |
> |
|
14639 |
> |
for flag in -Wall; do |
14640 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14641 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14642 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14643 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14644 |
> |
$as_echo_n "(cached) " >&6 |
14645 |
> |
else |
14646 |
> |
|
14647 |
> |
ax_check_save_flags=$CFLAGS |
14648 |
> |
CFLAGS="$CFLAGS $flag" |
14649 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14650 |
> |
/* end confdefs.h. */ |
14651 |
> |
|
14652 |
> |
int |
14653 |
> |
main () |
14654 |
> |
{ |
14655 |
> |
|
14656 |
> |
; |
14657 |
> |
return 0; |
14658 |
> |
} |
14659 |
|
_ACEOF |
14660 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14661 |
+ |
eval "$as_CACHEVAR=yes" |
14662 |
+ |
else |
14663 |
+ |
eval "$as_CACHEVAR=no" |
14664 |
+ |
fi |
14665 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14666 |
+ |
CFLAGS=$ax_check_save_flags |
14667 |
+ |
fi |
14668 |
+ |
eval ac_res=\$$as_CACHEVAR |
14669 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14670 |
+ |
$as_echo "$ac_res" >&6; } |
14671 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14672 |
+ |
if ${CFLAGS+:} false; then : |
14673 |
+ |
case " $CFLAGS " in |
14674 |
+ |
*" $flag "*) |
14675 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14676 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14677 |
+ |
ac_status=$? |
14678 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14679 |
+ |
test $ac_status = 0; } |
14680 |
+ |
;; |
14681 |
+ |
*) |
14682 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14683 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14684 |
+ |
ac_status=$? |
14685 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14686 |
+ |
test $ac_status = 0; } |
14687 |
+ |
CFLAGS="$CFLAGS $flag" |
14688 |
+ |
;; |
14689 |
+ |
esac |
14690 |
+ |
else |
14691 |
+ |
CFLAGS="$flag" |
14692 |
+ |
fi |
14693 |
+ |
|
14694 |
+ |
else |
14695 |
+ |
: |
14696 |
+ |
fi |
14697 |
+ |
|
14698 |
+ |
done |
14699 |
+ |
|
14700 |
|
|
14701 |
|
|
14702 |
+ |
for flag in -Wextra; do |
14703 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14704 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14705 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14706 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
14707 |
+ |
$as_echo_n "(cached) " >&6 |
14708 |
+ |
else |
14709 |
+ |
|
14710 |
+ |
ax_check_save_flags=$CFLAGS |
14711 |
+ |
CFLAGS="$CFLAGS $flag" |
14712 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14713 |
+ |
/* end confdefs.h. */ |
14714 |
|
|
14715 |
+ |
int |
14716 |
+ |
main () |
14717 |
+ |
{ |
14718 |
|
|
14719 |
< |
# Check whether --with-topiclen was given. |
14720 |
< |
if test "${with_topiclen+set}" = set; then : |
14721 |
< |
withval=$with_topiclen; topiclen="$withval" |
14719 |
> |
; |
14720 |
> |
return 0; |
14721 |
> |
} |
14722 |
> |
_ACEOF |
14723 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14724 |
> |
eval "$as_CACHEVAR=yes" |
14725 |
|
else |
14726 |
< |
topiclen="160" |
14726 |
> |
eval "$as_CACHEVAR=no" |
14727 |
> |
fi |
14728 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14729 |
> |
CFLAGS=$ax_check_save_flags |
14730 |
> |
fi |
14731 |
> |
eval ac_res=\$$as_CACHEVAR |
14732 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14733 |
> |
$as_echo "$ac_res" >&6; } |
14734 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14735 |
> |
if ${CFLAGS+:} false; then : |
14736 |
> |
case " $CFLAGS " in |
14737 |
> |
*" $flag "*) |
14738 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14739 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14740 |
> |
ac_status=$? |
14741 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14742 |
> |
test $ac_status = 0; } |
14743 |
> |
;; |
14744 |
> |
*) |
14745 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14746 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14747 |
> |
ac_status=$? |
14748 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14749 |
> |
test $ac_status = 0; } |
14750 |
> |
CFLAGS="$CFLAGS $flag" |
14751 |
> |
;; |
14752 |
> |
esac |
14753 |
> |
else |
14754 |
> |
CFLAGS="$flag" |
14755 |
|
fi |
14756 |
|
|
14757 |
+ |
else |
14758 |
+ |
: |
14759 |
+ |
fi |
14760 |
|
|
14761 |
< |
cat >>confdefs.h <<_ACEOF |
14762 |
< |
#define TOPICLEN ($topiclen) |
14761 |
> |
done |
14762 |
> |
|
14763 |
> |
|
14764 |
> |
|
14765 |
> |
for flag in -Wno-unused; do |
14766 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14767 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14768 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14769 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14770 |
> |
$as_echo_n "(cached) " >&6 |
14771 |
> |
else |
14772 |
> |
|
14773 |
> |
ax_check_save_flags=$CFLAGS |
14774 |
> |
CFLAGS="$CFLAGS $flag" |
14775 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14776 |
> |
/* end confdefs.h. */ |
14777 |
> |
|
14778 |
> |
int |
14779 |
> |
main () |
14780 |
> |
{ |
14781 |
> |
|
14782 |
> |
; |
14783 |
> |
return 0; |
14784 |
> |
} |
14785 |
|
_ACEOF |
14786 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14787 |
+ |
eval "$as_CACHEVAR=yes" |
14788 |
+ |
else |
14789 |
+ |
eval "$as_CACHEVAR=no" |
14790 |
+ |
fi |
14791 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14792 |
+ |
CFLAGS=$ax_check_save_flags |
14793 |
+ |
fi |
14794 |
+ |
eval ac_res=\$$as_CACHEVAR |
14795 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14796 |
+ |
$as_echo "$ac_res" >&6; } |
14797 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14798 |
+ |
if ${CFLAGS+:} false; then : |
14799 |
+ |
case " $CFLAGS " in |
14800 |
+ |
*" $flag "*) |
14801 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14802 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14803 |
+ |
ac_status=$? |
14804 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14805 |
+ |
test $ac_status = 0; } |
14806 |
+ |
;; |
14807 |
+ |
*) |
14808 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14809 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14810 |
+ |
ac_status=$? |
14811 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14812 |
+ |
test $ac_status = 0; } |
14813 |
+ |
CFLAGS="$CFLAGS $flag" |
14814 |
+ |
;; |
14815 |
+ |
esac |
14816 |
+ |
else |
14817 |
+ |
CFLAGS="$flag" |
14818 |
+ |
fi |
14819 |
+ |
|
14820 |
+ |
else |
14821 |
+ |
: |
14822 |
+ |
fi |
14823 |
+ |
|
14824 |
+ |
done |
14825 |
+ |
|
14826 |
|
|
14827 |
|
|
14828 |
+ |
for flag in -Wcast-qual; do |
14829 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14830 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14831 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14832 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
14833 |
+ |
$as_echo_n "(cached) " >&6 |
14834 |
+ |
else |
14835 |
+ |
|
14836 |
+ |
ax_check_save_flags=$CFLAGS |
14837 |
+ |
CFLAGS="$CFLAGS $flag" |
14838 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14839 |
+ |
/* end confdefs.h. */ |
14840 |
+ |
|
14841 |
+ |
int |
14842 |
+ |
main () |
14843 |
+ |
{ |
14844 |
|
|
14845 |
< |
# Check whether --enable-efnet was given. |
14846 |
< |
if test "${enable_efnet+set}" = set; then : |
14847 |
< |
enableval=$enable_efnet; efnet="$enableval" |
14845 |
> |
; |
14846 |
> |
return 0; |
14847 |
> |
} |
14848 |
> |
_ACEOF |
14849 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14850 |
> |
eval "$as_CACHEVAR=yes" |
14851 |
|
else |
14852 |
< |
efnet="no" |
14852 |
> |
eval "$as_CACHEVAR=no" |
14853 |
> |
fi |
14854 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14855 |
> |
CFLAGS=$ax_check_save_flags |
14856 |
> |
fi |
14857 |
> |
eval ac_res=\$$as_CACHEVAR |
14858 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14859 |
> |
$as_echo "$ac_res" >&6; } |
14860 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14861 |
> |
if ${CFLAGS+:} false; then : |
14862 |
> |
case " $CFLAGS " in |
14863 |
> |
*" $flag "*) |
14864 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14865 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14866 |
> |
ac_status=$? |
14867 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14868 |
> |
test $ac_status = 0; } |
14869 |
> |
;; |
14870 |
> |
*) |
14871 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14872 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14873 |
> |
ac_status=$? |
14874 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14875 |
> |
test $ac_status = 0; } |
14876 |
> |
CFLAGS="$CFLAGS $flag" |
14877 |
> |
;; |
14878 |
> |
esac |
14879 |
> |
else |
14880 |
> |
CFLAGS="$flag" |
14881 |
> |
fi |
14882 |
> |
|
14883 |
> |
else |
14884 |
> |
: |
14885 |
|
fi |
14886 |
|
|
14887 |
< |
if test "$efnet" = "yes" ; then |
14417 |
< |
use_efnet="yes" |
14887 |
> |
done |
14888 |
|
|
14419 |
– |
$as_echo "#define EFNET 1" >>confdefs.h |
14889 |
|
|
14890 |
< |
else |
14891 |
< |
use_efnet="no" |
14892 |
< |
fi |
14893 |
< |
if test "$use_efnet" = "yes"; then |
14894 |
< |
EFNET_TRUE= |
14895 |
< |
EFNET_FALSE='#' |
14890 |
> |
|
14891 |
> |
for flag in -Wcast-align; do |
14892 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14893 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14894 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14895 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14896 |
> |
$as_echo_n "(cached) " >&6 |
14897 |
> |
else |
14898 |
> |
|
14899 |
> |
ax_check_save_flags=$CFLAGS |
14900 |
> |
CFLAGS="$CFLAGS $flag" |
14901 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14902 |
> |
/* end confdefs.h. */ |
14903 |
> |
|
14904 |
> |
int |
14905 |
> |
main () |
14906 |
> |
{ |
14907 |
> |
|
14908 |
> |
; |
14909 |
> |
return 0; |
14910 |
> |
} |
14911 |
> |
_ACEOF |
14912 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14913 |
> |
eval "$as_CACHEVAR=yes" |
14914 |
|
else |
14915 |
< |
EFNET_TRUE='#' |
14916 |
< |
EFNET_FALSE= |
14915 |
> |
eval "$as_CACHEVAR=no" |
14916 |
> |
fi |
14917 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14918 |
> |
CFLAGS=$ax_check_save_flags |
14919 |
> |
fi |
14920 |
> |
eval ac_res=\$$as_CACHEVAR |
14921 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14922 |
> |
$as_echo "$ac_res" >&6; } |
14923 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14924 |
> |
if ${CFLAGS+:} false; then : |
14925 |
> |
case " $CFLAGS " in |
14926 |
> |
*" $flag "*) |
14927 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14928 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14929 |
> |
ac_status=$? |
14930 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14931 |
> |
test $ac_status = 0; } |
14932 |
> |
;; |
14933 |
> |
*) |
14934 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14935 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14936 |
> |
ac_status=$? |
14937 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14938 |
> |
test $ac_status = 0; } |
14939 |
> |
CFLAGS="$CFLAGS $flag" |
14940 |
> |
;; |
14941 |
> |
esac |
14942 |
> |
else |
14943 |
> |
CFLAGS="$flag" |
14944 |
|
fi |
14945 |
|
|
14946 |
+ |
else |
14947 |
+ |
: |
14948 |
+ |
fi |
14949 |
|
|
14950 |
+ |
done |
14951 |
|
|
14952 |
< |
# Check whether --enable-halfops was given. |
14953 |
< |
if test "${enable_halfops+set}" = set; then : |
14954 |
< |
enableval=$enable_halfops; halfops="$enableval" |
14952 |
> |
|
14953 |
> |
|
14954 |
> |
for flag in -Wbad-function-cast; do |
14955 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14956 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14957 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14958 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14959 |
> |
$as_echo_n "(cached) " >&6 |
14960 |
|
else |
14961 |
< |
halfops="no" |
14961 |
> |
|
14962 |
> |
ax_check_save_flags=$CFLAGS |
14963 |
> |
CFLAGS="$CFLAGS $flag" |
14964 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14965 |
> |
/* end confdefs.h. */ |
14966 |
> |
|
14967 |
> |
int |
14968 |
> |
main () |
14969 |
> |
{ |
14970 |
> |
|
14971 |
> |
; |
14972 |
> |
return 0; |
14973 |
> |
} |
14974 |
> |
_ACEOF |
14975 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14976 |
> |
eval "$as_CACHEVAR=yes" |
14977 |
> |
else |
14978 |
> |
eval "$as_CACHEVAR=no" |
14979 |
> |
fi |
14980 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14981 |
> |
CFLAGS=$ax_check_save_flags |
14982 |
> |
fi |
14983 |
> |
eval ac_res=\$$as_CACHEVAR |
14984 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14985 |
> |
$as_echo "$ac_res" >&6; } |
14986 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14987 |
> |
if ${CFLAGS+:} false; then : |
14988 |
> |
case " $CFLAGS " in |
14989 |
> |
*" $flag "*) |
14990 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14991 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14992 |
> |
ac_status=$? |
14993 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14994 |
> |
test $ac_status = 0; } |
14995 |
> |
;; |
14996 |
> |
*) |
14997 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14998 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14999 |
> |
ac_status=$? |
15000 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15001 |
> |
test $ac_status = 0; } |
15002 |
> |
CFLAGS="$CFLAGS $flag" |
15003 |
> |
;; |
15004 |
> |
esac |
15005 |
> |
else |
15006 |
> |
CFLAGS="$flag" |
15007 |
|
fi |
15008 |
|
|
15009 |
< |
if test "$halfops" = "yes" ; then |
15009 |
> |
else |
15010 |
> |
: |
15011 |
> |
fi |
15012 |
|
|
15013 |
< |
$as_echo "#define HALFOPS 1" >>confdefs.h |
15013 |
> |
done |
15014 |
|
|
14445 |
– |
fi |
15015 |
|
|
15016 |
|
|
15017 |
< |
# Check whether --enable-debugging was given. |
15018 |
< |
if test "${enable_debugging+set}" = set; then : |
15019 |
< |
enableval=$enable_debugging; debugging="$enableval" |
15017 |
> |
for flag in -Wmissing-declarations; do |
15018 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15019 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15020 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15021 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15022 |
> |
$as_echo_n "(cached) " >&6 |
15023 |
|
else |
15024 |
< |
debugging="no" |
15024 |
> |
|
15025 |
> |
ax_check_save_flags=$CFLAGS |
15026 |
> |
CFLAGS="$CFLAGS $flag" |
15027 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15028 |
> |
/* end confdefs.h. */ |
15029 |
> |
|
15030 |
> |
int |
15031 |
> |
main () |
15032 |
> |
{ |
15033 |
> |
|
15034 |
> |
; |
15035 |
> |
return 0; |
15036 |
> |
} |
15037 |
> |
_ACEOF |
15038 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15039 |
> |
eval "$as_CACHEVAR=yes" |
15040 |
> |
else |
15041 |
> |
eval "$as_CACHEVAR=no" |
15042 |
> |
fi |
15043 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15044 |
> |
CFLAGS=$ax_check_save_flags |
15045 |
> |
fi |
15046 |
> |
eval ac_res=\$$as_CACHEVAR |
15047 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15048 |
> |
$as_echo "$ac_res" >&6; } |
15049 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15050 |
> |
if ${CFLAGS+:} false; then : |
15051 |
> |
case " $CFLAGS " in |
15052 |
> |
*" $flag "*) |
15053 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15054 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15055 |
> |
ac_status=$? |
15056 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15057 |
> |
test $ac_status = 0; } |
15058 |
> |
;; |
15059 |
> |
*) |
15060 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15061 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15062 |
> |
ac_status=$? |
15063 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15064 |
> |
test $ac_status = 0; } |
15065 |
> |
CFLAGS="$CFLAGS $flag" |
15066 |
> |
;; |
15067 |
> |
esac |
15068 |
> |
else |
15069 |
> |
CFLAGS="$flag" |
15070 |
|
fi |
15071 |
|
|
15072 |
< |
if test "$debugging" = "yes" ; then |
15072 |
> |
else |
15073 |
> |
: |
15074 |
> |
fi |
15075 |
|
|
15076 |
< |
$as_echo "#define DEBUG 1" >>confdefs.h |
15076 |
> |
done |
15077 |
|
|
14459 |
– |
CFLAGS="-Wall -g -O0" |
14460 |
– |
else |
15078 |
|
|
14462 |
– |
$as_echo "#define NDEBUG 1" >>confdefs.h |
15079 |
|
|
15080 |
< |
fi |
15080 |
> |
for flag in -Wmissing-prototypes; do |
15081 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15082 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15083 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15084 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15085 |
> |
$as_echo_n "(cached) " >&6 |
15086 |
> |
else |
15087 |
|
|
15088 |
+ |
ax_check_save_flags=$CFLAGS |
15089 |
+ |
CFLAGS="$CFLAGS $flag" |
15090 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15091 |
+ |
/* end confdefs.h. */ |
15092 |
|
|
15093 |
< |
# Check whether --enable-warnings was given. |
15094 |
< |
if test "${enable_warnings+set}" = set; then : |
15095 |
< |
enableval=$enable_warnings; warnings="$enableval" |
15093 |
> |
int |
15094 |
> |
main () |
15095 |
> |
{ |
15096 |
> |
|
15097 |
> |
; |
15098 |
> |
return 0; |
15099 |
> |
} |
15100 |
> |
_ACEOF |
15101 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15102 |
> |
eval "$as_CACHEVAR=yes" |
15103 |
|
else |
15104 |
< |
warnings="no" |
15104 |
> |
eval "$as_CACHEVAR=no" |
15105 |
> |
fi |
15106 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15107 |
> |
CFLAGS=$ax_check_save_flags |
15108 |
> |
fi |
15109 |
> |
eval ac_res=\$$as_CACHEVAR |
15110 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15111 |
> |
$as_echo "$ac_res" >&6; } |
15112 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15113 |
> |
if ${CFLAGS+:} false; then : |
15114 |
> |
case " $CFLAGS " in |
15115 |
> |
*" $flag "*) |
15116 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15117 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15118 |
> |
ac_status=$? |
15119 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15120 |
> |
test $ac_status = 0; } |
15121 |
> |
;; |
15122 |
> |
*) |
15123 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15124 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15125 |
> |
ac_status=$? |
15126 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15127 |
> |
test $ac_status = 0; } |
15128 |
> |
CFLAGS="$CFLAGS $flag" |
15129 |
> |
;; |
15130 |
> |
esac |
15131 |
> |
else |
15132 |
> |
CFLAGS="$flag" |
15133 |
|
fi |
15134 |
|
|
15135 |
< |
if test "$warnings" = "yes" ; then |
15136 |
< |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
15135 |
> |
else |
15136 |
> |
: |
15137 |
> |
fi |
15138 |
> |
|
15139 |
> |
done |
15140 |
> |
|
15141 |
> |
|
15142 |
> |
|
15143 |
> |
for flag in -Wnested-externs; do |
15144 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15145 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15146 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15147 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15148 |
> |
$as_echo_n "(cached) " >&6 |
15149 |
> |
else |
15150 |
> |
|
15151 |
> |
ax_check_save_flags=$CFLAGS |
15152 |
> |
CFLAGS="$CFLAGS $flag" |
15153 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15154 |
> |
/* end confdefs.h. */ |
15155 |
> |
|
15156 |
> |
int |
15157 |
> |
main () |
15158 |
> |
{ |
15159 |
> |
|
15160 |
> |
; |
15161 |
> |
return 0; |
15162 |
> |
} |
15163 |
> |
_ACEOF |
15164 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15165 |
> |
eval "$as_CACHEVAR=yes" |
15166 |
> |
else |
15167 |
> |
eval "$as_CACHEVAR=no" |
15168 |
> |
fi |
15169 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15170 |
> |
CFLAGS=$ax_check_save_flags |
15171 |
> |
fi |
15172 |
> |
eval ac_res=\$$as_CACHEVAR |
15173 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15174 |
> |
$as_echo "$ac_res" >&6; } |
15175 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15176 |
> |
if ${CFLAGS+:} false; then : |
15177 |
> |
case " $CFLAGS " in |
15178 |
> |
*" $flag "*) |
15179 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15180 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15181 |
> |
ac_status=$? |
15182 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15183 |
> |
test $ac_status = 0; } |
15184 |
> |
;; |
15185 |
> |
*) |
15186 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15187 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15188 |
> |
ac_status=$? |
15189 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15190 |
> |
test $ac_status = 0; } |
15191 |
> |
CFLAGS="$CFLAGS $flag" |
15192 |
> |
;; |
15193 |
> |
esac |
15194 |
> |
else |
15195 |
> |
CFLAGS="$flag" |
15196 |
> |
fi |
15197 |
> |
|
15198 |
> |
else |
15199 |
> |
: |
15200 |
> |
fi |
15201 |
> |
|
15202 |
> |
done |
15203 |
> |
|
15204 |
> |
|
15205 |
> |
|
15206 |
> |
for flag in -Wredundant-decls; do |
15207 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15208 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15209 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15210 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15211 |
> |
$as_echo_n "(cached) " >&6 |
15212 |
> |
else |
15213 |
> |
|
15214 |
> |
ax_check_save_flags=$CFLAGS |
15215 |
> |
CFLAGS="$CFLAGS $flag" |
15216 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15217 |
> |
/* end confdefs.h. */ |
15218 |
> |
|
15219 |
> |
int |
15220 |
> |
main () |
15221 |
> |
{ |
15222 |
> |
|
15223 |
> |
; |
15224 |
> |
return 0; |
15225 |
> |
} |
15226 |
> |
_ACEOF |
15227 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15228 |
> |
eval "$as_CACHEVAR=yes" |
15229 |
> |
else |
15230 |
> |
eval "$as_CACHEVAR=no" |
15231 |
> |
fi |
15232 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15233 |
> |
CFLAGS=$ax_check_save_flags |
15234 |
> |
fi |
15235 |
> |
eval ac_res=\$$as_CACHEVAR |
15236 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15237 |
> |
$as_echo "$ac_res" >&6; } |
15238 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15239 |
> |
if ${CFLAGS+:} false; then : |
15240 |
> |
case " $CFLAGS " in |
15241 |
> |
*" $flag "*) |
15242 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15243 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15244 |
> |
ac_status=$? |
15245 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15246 |
> |
test $ac_status = 0; } |
15247 |
> |
;; |
15248 |
> |
*) |
15249 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15250 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15251 |
> |
ac_status=$? |
15252 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15253 |
> |
test $ac_status = 0; } |
15254 |
> |
CFLAGS="$CFLAGS $flag" |
15255 |
> |
;; |
15256 |
> |
esac |
15257 |
> |
else |
15258 |
> |
CFLAGS="$flag" |
15259 |
> |
fi |
15260 |
> |
|
15261 |
> |
else |
15262 |
> |
: |
15263 |
> |
fi |
15264 |
> |
|
15265 |
> |
done |
15266 |
> |
|
15267 |
> |
|
15268 |
> |
|
15269 |
> |
for flag in -Wshadow; do |
15270 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15271 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15272 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15273 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15274 |
> |
$as_echo_n "(cached) " >&6 |
15275 |
> |
else |
15276 |
> |
|
15277 |
> |
ax_check_save_flags=$CFLAGS |
15278 |
> |
CFLAGS="$CFLAGS $flag" |
15279 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15280 |
> |
/* end confdefs.h. */ |
15281 |
> |
|
15282 |
> |
int |
15283 |
> |
main () |
15284 |
> |
{ |
15285 |
> |
|
15286 |
> |
; |
15287 |
> |
return 0; |
15288 |
> |
} |
15289 |
> |
_ACEOF |
15290 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15291 |
> |
eval "$as_CACHEVAR=yes" |
15292 |
> |
else |
15293 |
> |
eval "$as_CACHEVAR=no" |
15294 |
> |
fi |
15295 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15296 |
> |
CFLAGS=$ax_check_save_flags |
15297 |
> |
fi |
15298 |
> |
eval ac_res=\$$as_CACHEVAR |
15299 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15300 |
> |
$as_echo "$ac_res" >&6; } |
15301 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15302 |
> |
if ${CFLAGS+:} false; then : |
15303 |
> |
case " $CFLAGS " in |
15304 |
> |
*" $flag "*) |
15305 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15306 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15307 |
> |
ac_status=$? |
15308 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15309 |
> |
test $ac_status = 0; } |
15310 |
> |
;; |
15311 |
> |
*) |
15312 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15313 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15314 |
> |
ac_status=$? |
15315 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15316 |
> |
test $ac_status = 0; } |
15317 |
> |
CFLAGS="$CFLAGS $flag" |
15318 |
> |
;; |
15319 |
> |
esac |
15320 |
> |
else |
15321 |
> |
CFLAGS="$flag" |
15322 |
> |
fi |
15323 |
> |
|
15324 |
> |
else |
15325 |
> |
: |
15326 |
> |
fi |
15327 |
> |
|
15328 |
> |
done |
15329 |
> |
|
15330 |
> |
|
15331 |
> |
|
15332 |
> |
for flag in -Wwrite-strings; do |
15333 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15334 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15335 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15336 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15337 |
> |
$as_echo_n "(cached) " >&6 |
15338 |
> |
else |
15339 |
> |
|
15340 |
> |
ax_check_save_flags=$CFLAGS |
15341 |
> |
CFLAGS="$CFLAGS $flag" |
15342 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15343 |
> |
/* end confdefs.h. */ |
15344 |
> |
|
15345 |
> |
int |
15346 |
> |
main () |
15347 |
> |
{ |
15348 |
> |
|
15349 |
> |
; |
15350 |
> |
return 0; |
15351 |
> |
} |
15352 |
> |
_ACEOF |
15353 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15354 |
> |
eval "$as_CACHEVAR=yes" |
15355 |
> |
else |
15356 |
> |
eval "$as_CACHEVAR=no" |
15357 |
> |
fi |
15358 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15359 |
> |
CFLAGS=$ax_check_save_flags |
15360 |
> |
fi |
15361 |
> |
eval ac_res=\$$as_CACHEVAR |
15362 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15363 |
> |
$as_echo "$ac_res" >&6; } |
15364 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15365 |
> |
if ${CFLAGS+:} false; then : |
15366 |
> |
case " $CFLAGS " in |
15367 |
> |
*" $flag "*) |
15368 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15369 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15370 |
> |
ac_status=$? |
15371 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15372 |
> |
test $ac_status = 0; } |
15373 |
> |
;; |
15374 |
> |
*) |
15375 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15376 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15377 |
> |
ac_status=$? |
15378 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15379 |
> |
test $ac_status = 0; } |
15380 |
> |
CFLAGS="$CFLAGS $flag" |
15381 |
> |
;; |
15382 |
> |
esac |
15383 |
> |
else |
15384 |
> |
CFLAGS="$flag" |
15385 |
> |
fi |
15386 |
> |
|
15387 |
> |
else |
15388 |
> |
: |
15389 |
> |
fi |
15390 |
> |
|
15391 |
> |
done |
15392 |
> |
|
15393 |
> |
|
15394 |
> |
|
15395 |
> |
for flag in -Wundef; do |
15396 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15397 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15398 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15399 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15400 |
> |
$as_echo_n "(cached) " >&6 |
15401 |
> |
else |
15402 |
> |
|
15403 |
> |
ax_check_save_flags=$CFLAGS |
15404 |
> |
CFLAGS="$CFLAGS $flag" |
15405 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15406 |
> |
/* end confdefs.h. */ |
15407 |
> |
|
15408 |
> |
int |
15409 |
> |
main () |
15410 |
> |
{ |
15411 |
> |
|
15412 |
> |
; |
15413 |
> |
return 0; |
15414 |
> |
} |
15415 |
> |
_ACEOF |
15416 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15417 |
> |
eval "$as_CACHEVAR=yes" |
15418 |
> |
else |
15419 |
> |
eval "$as_CACHEVAR=no" |
15420 |
> |
fi |
15421 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15422 |
> |
CFLAGS=$ax_check_save_flags |
15423 |
> |
fi |
15424 |
> |
eval ac_res=\$$as_CACHEVAR |
15425 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15426 |
> |
$as_echo "$ac_res" >&6; } |
15427 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15428 |
> |
if ${CFLAGS+:} false; then : |
15429 |
> |
case " $CFLAGS " in |
15430 |
> |
*" $flag "*) |
15431 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15432 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15433 |
> |
ac_status=$? |
15434 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15435 |
> |
test $ac_status = 0; } |
15436 |
> |
;; |
15437 |
> |
*) |
15438 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15439 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15440 |
> |
ac_status=$? |
15441 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15442 |
> |
test $ac_status = 0; } |
15443 |
> |
CFLAGS="$CFLAGS $flag" |
15444 |
> |
;; |
15445 |
> |
esac |
15446 |
> |
else |
15447 |
> |
CFLAGS="$flag" |
15448 |
> |
fi |
15449 |
> |
|
15450 |
> |
else |
15451 |
> |
: |
15452 |
> |
fi |
15453 |
> |
|
15454 |
> |
done |
15455 |
> |
|
15456 |
|
fi |
15457 |
|
|
15458 |
|
|
15542 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
15543 |
|
|
15544 |
|
|
15545 |
< |
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" |
15545 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
15546 |
|
|
15547 |
|
|
15548 |
|
cat >confcache <<\_ACEOF |
15712 |
|
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
15713 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
15714 |
|
fi |
14735 |
– |
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
14736 |
– |
as_fn_error $? "conditional \"EFNET\" was never defined. |
14737 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14738 |
– |
fi |
15715 |
|
|
15716 |
|
: "${CONFIG_STATUS=./config.status}" |
15717 |
|
ac_write_fail=0 |
16109 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
16110 |
|
# values after options handling. |
16111 |
|
ac_log=" |
16112 |
< |
This file was extended by ircd-hybrid $as_me 8beta1, which was |
16112 |
> |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
16113 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
16114 |
|
|
16115 |
|
CONFIG_FILES = $CONFIG_FILES |
16175 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16176 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
16177 |
|
ac_cs_version="\\ |
16178 |
< |
ircd-hybrid config.status 8beta1 |
16178 |
> |
ircd-hybrid config.status TRUNK |
16179 |
|
configured by $0, generated by GNU Autoconf 2.69, |
16180 |
|
with options \\"\$ac_cs_config\\" |
16181 |
|
|
16585 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
16586 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
16587 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
15612 |
– |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
15613 |
– |
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
16588 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
16589 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
15616 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
16590 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
16591 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
16592 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
16593 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
15621 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
15622 |
– |
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
16594 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
16595 |
|
|
16596 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
17188 |
|
|
17189 |
|
case $ac_file$ac_mode in |
17190 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
17191 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
17191 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
17192 |
|
# are listed without --file. Let's play safe and only enable the eval |
17193 |
|
# if we detect the quoting. |
17194 |
|
case $CONFIG_FILES in |
17239 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
17240 |
|
test -z "$DEPDIR" && continue |
17241 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
17242 |
< |
test -z "am__include" && continue |
17242 |
> |
test -z "$am__include" && continue |
17243 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
17244 |
|
# Find all dependency output files, they are included files with |
17245 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |