| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1494 2012-08-03 16:22:42Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 4181 2014-07-06 13:11:44Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8beta3. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0rc1. |
| 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='8beta3' |
| 597 |
< |
PACKAGE_STRING='ircd-hybrid 8beta3' |
| 596 |
> |
PACKAGE_VERSION='8.2.0rc1' |
| 597 |
> |
PACKAGE_STRING='ircd-hybrid 8.2.0rc1' |
| 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 |
| 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 |
| 806 |
– |
enable_small_net |
| 811 |
|
enable_kqueue |
| 812 |
|
enable_epoll |
| 813 |
|
enable_devpoll |
| 810 |
– |
enable_rtsigio |
| 814 |
|
enable_poll |
| 815 |
|
enable_select |
| 813 |
– |
with_nicklen |
| 814 |
– |
with_topiclen |
| 815 |
– |
enable_halfops |
| 816 |
|
enable_debugging |
| 817 |
|
enable_warnings |
| 818 |
|
' |
| 1367 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1368 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1369 |
|
cat <<_ACEOF |
| 1370 |
< |
\`configure' configures ircd-hybrid 8beta3 to adapt to many kinds of systems. |
| 1370 |
> |
\`configure' configures ircd-hybrid 8.2.0rc1 to adapt to many kinds of systems. |
| 1371 |
|
|
| 1372 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1373 |
|
|
| 1437 |
|
|
| 1438 |
|
if test -n "$ac_init_help"; then |
| 1439 |
|
case $ac_init_help in |
| 1440 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 8beta3:";; |
| 1440 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc1:";; |
| 1441 |
|
esac |
| 1442 |
|
cat <<\_ACEOF |
| 1443 |
|
|
| 1445 |
|
--disable-option-checking ignore unrecognized --enable/--with options |
| 1446 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1447 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1448 |
+ |
--enable-silent-rules less verbose build output (undo: "make V=1") |
| 1449 |
+ |
--disable-silent-rules verbose build output (undo: "make V=0") |
| 1450 |
|
--enable-maintainer-mode |
| 1451 |
|
enable make rules and dependencies not useful (and |
| 1452 |
|
sometimes confusing) to the casual installer |
| 1460 |
|
optimize for fast installation [default=yes] |
| 1461 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1462 |
|
--enable-ltdl-install install libltdl |
| 1463 |
< |
--disable-libpcre Disable PCRE support |
| 1463 |
> |
--disable-libgeoip Disable GeoIP support |
| 1464 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1465 |
|
--disable-openssl Disable OpenSSL support. |
| 1466 |
|
--enable-assert Enable assert() statements |
| 1465 |
– |
--enable-small-net Enable small network support. |
| 1467 |
|
--enable-kqueue Force kqueue usage. |
| 1468 |
|
--enable-epoll Force epoll usage. |
| 1469 |
|
--enable-devpoll Force devpoll usage. |
| 1469 |
– |
--enable-rtsigio Force rtsigio usage. |
| 1470 |
|
--enable-poll Force poll usage. |
| 1471 |
|
--enable-select Force select usage. |
| 1472 |
– |
--enable-halfops Enable halfops support. |
| 1472 |
|
--enable-debugging Enable debugging. |
| 1473 |
|
--enable-warnings Enable compiler warnings. |
| 1474 |
|
|
| 1483 |
|
--with-included-ltdl use the GNU ltdl sources included here |
| 1484 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1485 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1487 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
| 1488 |
– |
--with-topiclen=<value> Set topic length (default 160). |
| 1486 |
|
|
| 1487 |
|
Some influential environment variables: |
| 1488 |
|
CC C compiler command |
| 1566 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1567 |
|
if $ac_init_version; then |
| 1568 |
|
cat <<\_ACEOF |
| 1569 |
< |
ircd-hybrid configure 8beta3 |
| 1569 |
> |
ircd-hybrid configure 8.2.0rc1 |
| 1570 |
|
generated by GNU Autoconf 2.69 |
| 1571 |
|
|
| 1572 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 2092 |
|
This file contains any messages produced by compilers while |
| 2093 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2094 |
|
|
| 2095 |
< |
It was created by ircd-hybrid $as_me 8beta3, which was |
| 2095 |
> |
It was created by ircd-hybrid $as_me 8.2.0rc1, which was |
| 2096 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 2097 |
|
|
| 2098 |
|
$ $0 $@ |
| 2372 |
|
>$cache_file |
| 2373 |
|
fi |
| 2374 |
|
|
| 2378 |
– |
as_fn_append ac_func_list " mmap" |
| 2375 |
|
as_fn_append ac_func_list " strtok_r" |
| 2376 |
|
as_fn_append ac_func_list " usleep" |
| 2377 |
|
as_fn_append ac_func_list " strlcat" |
| 2451 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2452 |
|
|
| 2453 |
|
|
| 2454 |
< |
am__api_version='1.12' |
| 2454 |
> |
am__api_version='1.14' |
| 2455 |
|
|
| 2456 |
|
ac_aux_dir= |
| 2457 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2664 |
|
esac |
| 2665 |
|
fi |
| 2666 |
|
# Use eval to expand $SHELL |
| 2667 |
< |
if eval "$MISSING --run true"; then |
| 2668 |
< |
am_missing_run="$MISSING --run " |
| 2667 |
> |
if eval "$MISSING --is-lightweight"; then |
| 2668 |
> |
am_missing_run="$MISSING " |
| 2669 |
|
else |
| 2670 |
|
am_missing_run= |
| 2671 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 2905 |
|
fi |
| 2906 |
|
rmdir .tst 2>/dev/null |
| 2907 |
|
|
| 2908 |
+ |
# Check whether --enable-silent-rules was given. |
| 2909 |
+ |
if test "${enable_silent_rules+set}" = set; then : |
| 2910 |
+ |
enableval=$enable_silent_rules; |
| 2911 |
+ |
fi |
| 2912 |
+ |
|
| 2913 |
+ |
case $enable_silent_rules in # ((( |
| 2914 |
+ |
yes) AM_DEFAULT_VERBOSITY=0;; |
| 2915 |
+ |
no) AM_DEFAULT_VERBOSITY=1;; |
| 2916 |
+ |
*) AM_DEFAULT_VERBOSITY=1;; |
| 2917 |
+ |
esac |
| 2918 |
+ |
am_make=${MAKE-make} |
| 2919 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 2920 |
+ |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 2921 |
+ |
if ${am_cv_make_support_nested_variables+:} false; then : |
| 2922 |
+ |
$as_echo_n "(cached) " >&6 |
| 2923 |
+ |
else |
| 2924 |
+ |
if $as_echo 'TRUE=$(BAR$(V)) |
| 2925 |
+ |
BAR0=false |
| 2926 |
+ |
BAR1=true |
| 2927 |
+ |
V=1 |
| 2928 |
+ |
am__doit: |
| 2929 |
+ |
@$(TRUE) |
| 2930 |
+ |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 2931 |
+ |
am_cv_make_support_nested_variables=yes |
| 2932 |
+ |
else |
| 2933 |
+ |
am_cv_make_support_nested_variables=no |
| 2934 |
+ |
fi |
| 2935 |
+ |
fi |
| 2936 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 2937 |
+ |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 2938 |
+ |
if test $am_cv_make_support_nested_variables = yes; then |
| 2939 |
+ |
AM_V='$(V)' |
| 2940 |
+ |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 2941 |
+ |
else |
| 2942 |
+ |
AM_V=$AM_DEFAULT_VERBOSITY |
| 2943 |
+ |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 2944 |
+ |
fi |
| 2945 |
+ |
AM_BACKSLASH='\' |
| 2946 |
+ |
|
| 2947 |
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 2948 |
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 2949 |
|
# is not polluted with repeated "-I." |
| 2966 |
|
|
| 2967 |
|
# Define the identity of the package. |
| 2968 |
|
PACKAGE='ircd-hybrid' |
| 2969 |
< |
VERSION='8beta3' |
| 2969 |
> |
VERSION='8.2.0rc1' |
| 2970 |
|
|
| 2971 |
|
|
| 2972 |
|
cat >>confdefs.h <<_ACEOF |
| 3006 |
|
# in the wild :-( We should find a proper way to deprecate it ... |
| 3007 |
|
AMTAR='$${TAR-tar}' |
| 3008 |
|
|
| 3009 |
+ |
|
| 3010 |
+ |
# We'll loop over all known methods to create a tar archive until one works. |
| 3011 |
+ |
_am_tools='gnutar pax cpio none' |
| 3012 |
+ |
|
| 3013 |
|
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 3014 |
|
|
| 3015 |
|
|
| 3017 |
|
|
| 3018 |
|
|
| 3019 |
|
|
| 3020 |
+ |
# POSIX will say in a future version that running "rm -f" with no argument |
| 3021 |
+ |
# is OK; and we want to be able to make that assumption in our Makefile |
| 3022 |
+ |
# recipes. So use an aggressive probe to check that the usage we want is |
| 3023 |
+ |
# actually supported "in the wild" to an acceptable degree. |
| 3024 |
+ |
# See automake bug#10828. |
| 3025 |
+ |
# To make any issue more visible, cause the running configure to be aborted |
| 3026 |
+ |
# by default if the 'rm' program in use doesn't match our expectations; the |
| 3027 |
+ |
# user can still override this though. |
| 3028 |
+ |
if rm -f && rm -fr && rm -rf; then : OK; else |
| 3029 |
+ |
cat >&2 <<'END' |
| 3030 |
+ |
Oops! |
| 3031 |
+ |
|
| 3032 |
+ |
Your 'rm' program seems unable to run without file operands specified |
| 3033 |
+ |
on the command line, even when the '-f' option is present. This is contrary |
| 3034 |
+ |
to the behaviour of most rm programs out there, and not conforming with |
| 3035 |
+ |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
| 3036 |
+ |
|
| 3037 |
+ |
Please tell bug-automake@gnu.org about your system, including the value |
| 3038 |
+ |
of your $PATH and any error possibly output before this message. This |
| 3039 |
+ |
can help us improve future automake versions. |
| 3040 |
+ |
|
| 3041 |
+ |
END |
| 3042 |
+ |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
| 3043 |
+ |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
| 3044 |
+ |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
| 3045 |
+ |
echo >&2 |
| 3046 |
+ |
else |
| 3047 |
+ |
cat >&2 <<'END' |
| 3048 |
+ |
Aborting the configuration process, to ensure you take notice of the issue. |
| 3049 |
+ |
|
| 3050 |
+ |
You can download and install GNU coreutils to get an 'rm' implementation |
| 3051 |
+ |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 3052 |
+ |
|
| 3053 |
+ |
If you want to complete the configuration process using your problematic |
| 3054 |
+ |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3055 |
+ |
to "yes", and re-run configure. |
| 3056 |
+ |
|
| 3057 |
+ |
END |
| 3058 |
+ |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 3059 |
+ |
fi |
| 3060 |
+ |
fi |
| 3061 |
+ |
|
| 3062 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3063 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3064 |
|
# Check whether --enable-maintainer-mode was given. |
| 3081 |
|
MAINT=$MAINTAINER_MODE_TRUE |
| 3082 |
|
|
| 3083 |
|
|
| 3084 |
+ |
|
| 3085 |
|
ac_config_headers="$ac_config_headers config.h" |
| 3086 |
|
|
| 3087 |
|
|
| 3939 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3940 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3941 |
|
|
| 3942 |
+ |
ac_ext=c |
| 3943 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 3944 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3945 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3946 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3947 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 3948 |
+ |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| 3949 |
+ |
if ${am_cv_prog_cc_c_o+:} false; then : |
| 3950 |
+ |
$as_echo_n "(cached) " >&6 |
| 3951 |
+ |
else |
| 3952 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3953 |
+ |
/* end confdefs.h. */ |
| 3954 |
+ |
|
| 3955 |
+ |
int |
| 3956 |
+ |
main () |
| 3957 |
+ |
{ |
| 3958 |
+ |
|
| 3959 |
+ |
; |
| 3960 |
+ |
return 0; |
| 3961 |
+ |
} |
| 3962 |
+ |
_ACEOF |
| 3963 |
+ |
# Make sure it works both with $CC and with simple cc. |
| 3964 |
+ |
# Following AC_PROG_CC_C_O, we do the test twice because some |
| 3965 |
+ |
# compilers refuse to overwrite an existing .o file with -o, |
| 3966 |
+ |
# though they will create one. |
| 3967 |
+ |
am_cv_prog_cc_c_o=yes |
| 3968 |
+ |
for am_i in 1 2; do |
| 3969 |
+ |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 3970 |
+ |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 3971 |
+ |
ac_status=$? |
| 3972 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3973 |
+ |
(exit $ac_status); } \ |
| 3974 |
+ |
&& test -f conftest2.$ac_objext; then |
| 3975 |
+ |
: OK |
| 3976 |
+ |
else |
| 3977 |
+ |
am_cv_prog_cc_c_o=no |
| 3978 |
+ |
break |
| 3979 |
+ |
fi |
| 3980 |
+ |
done |
| 3981 |
+ |
rm -f core conftest* |
| 3982 |
+ |
unset am_i |
| 3983 |
+ |
fi |
| 3984 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 3985 |
+ |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
| 3986 |
+ |
if test "$am_cv_prog_cc_c_o" != yes; then |
| 3987 |
+ |
# Losing compiler, so override with the script. |
| 3988 |
+ |
# FIXME: It is wrong to rewrite CC. |
| 3989 |
+ |
# But if we don't then we get into trouble of one sort or another. |
| 3990 |
+ |
# A longer-term fix would be to have automake use am__CC in this case, |
| 3991 |
+ |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 3992 |
+ |
CC="$am_aux_dir/compile $CC" |
| 3993 |
+ |
fi |
| 3994 |
+ |
ac_ext=c |
| 3995 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 3996 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3997 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3998 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3999 |
+ |
|
| 4000 |
+ |
|
| 4001 |
|
depcc="$CC" am_compiler_list= |
| 4002 |
|
|
| 4003 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 8558 |
|
$RM -r conftest* |
| 8559 |
|
|
| 8560 |
|
|
| 8561 |
+ |
## CAVEAT EMPTOR: |
| 8562 |
+ |
## There is no encapsulation within the following macros, do not change |
| 8563 |
+ |
## the running order or otherwise move them around unless you know exactly |
| 8564 |
+ |
## what you are doing... |
| 8565 |
|
if test -n "$compiler"; then |
| 8566 |
|
|
| 8567 |
|
lt_prog_compiler_no_builtin_flag= |
| 13175 |
|
|
| 13176 |
|
# Checks for libraries. |
| 13177 |
|
|
| 13178 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13179 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13180 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13178 |
> |
|
| 13179 |
> |
if test "X$CC" != "X"; then |
| 13180 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
| 13181 |
> |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
| 13182 |
> |
if ${ssp_cv_cc+:} false; then : |
| 13183 |
> |
$as_echo_n "(cached) " >&6 |
| 13184 |
> |
else |
| 13185 |
> |
ssp_old_cflags="$CFLAGS" |
| 13186 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
| 13187 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13188 |
> |
/* end confdefs.h. */ |
| 13189 |
> |
|
| 13190 |
> |
int |
| 13191 |
> |
main () |
| 13192 |
> |
{ |
| 13193 |
> |
|
| 13194 |
> |
; |
| 13195 |
> |
return 0; |
| 13196 |
> |
} |
| 13197 |
> |
_ACEOF |
| 13198 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13199 |
> |
ssp_cv_cc=yes |
| 13200 |
> |
else |
| 13201 |
> |
ssp_cv_cc=no |
| 13202 |
> |
fi |
| 13203 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13204 |
> |
CFLAGS="$ssp_old_cflags" |
| 13205 |
> |
|
| 13206 |
> |
fi |
| 13207 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 13208 |
> |
$as_echo "$ssp_cv_cc" >&6; } |
| 13209 |
> |
if test $ssp_cv_cc = yes; then |
| 13210 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
| 13211 |
> |
|
| 13212 |
> |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 13213 |
> |
|
| 13214 |
> |
fi |
| 13215 |
> |
fi |
| 13216 |
> |
|
| 13217 |
> |
|
| 13218 |
> |
|
| 13219 |
> |
|
| 13220 |
> |
|
| 13221 |
> |
|
| 13222 |
> |
for flag in -fno-strict-aliasing; do |
| 13223 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13224 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13225 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13226 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 13227 |
> |
$as_echo_n "(cached) " >&6 |
| 13228 |
> |
else |
| 13229 |
> |
|
| 13230 |
> |
ax_check_save_flags=$CFLAGS |
| 13231 |
> |
CFLAGS="$CFLAGS $flag" |
| 13232 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13233 |
> |
/* end confdefs.h. */ |
| 13234 |
> |
|
| 13235 |
> |
int |
| 13236 |
> |
main () |
| 13237 |
> |
{ |
| 13238 |
> |
|
| 13239 |
> |
; |
| 13240 |
> |
return 0; |
| 13241 |
> |
} |
| 13242 |
> |
_ACEOF |
| 13243 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13244 |
> |
eval "$as_CACHEVAR=yes" |
| 13245 |
> |
else |
| 13246 |
> |
eval "$as_CACHEVAR=no" |
| 13247 |
> |
fi |
| 13248 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13249 |
> |
CFLAGS=$ax_check_save_flags |
| 13250 |
> |
fi |
| 13251 |
> |
eval ac_res=\$$as_CACHEVAR |
| 13252 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13253 |
> |
$as_echo "$ac_res" >&6; } |
| 13254 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 13255 |
> |
if ${CFLAGS+:} false; then : |
| 13256 |
> |
case " $CFLAGS " in |
| 13257 |
> |
*" $flag "*) |
| 13258 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13259 |
> |
(: CFLAGS already contains $flag) 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 \$flag\""; } >&5 |
| 13266 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 13267 |
> |
ac_status=$? |
| 13268 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13269 |
> |
test $ac_status = 0; } |
| 13270 |
> |
CFLAGS="$CFLAGS $flag" |
| 13271 |
> |
;; |
| 13272 |
> |
esac |
| 13273 |
> |
else |
| 13274 |
> |
CFLAGS="$flag" |
| 13275 |
> |
fi |
| 13276 |
> |
|
| 13277 |
> |
else |
| 13278 |
> |
: |
| 13279 |
> |
fi |
| 13280 |
> |
|
| 13281 |
> |
done |
| 13282 |
> |
|
| 13283 |
> |
|
| 13284 |
> |
|
| 13285 |
> |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 13286 |
> |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 13287 |
> |
|
| 13288 |
> |
else |
| 13289 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
| 13290 |
> |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
| 13291 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13292 |
|
$as_echo_n "(cached) " >&6 |
| 13293 |
|
else |
| 13294 |
|
ac_func_search_save_LIBS=$LIBS |
| 13301 |
|
#ifdef __cplusplus |
| 13302 |
|
extern "C" |
| 13303 |
|
#endif |
| 13304 |
< |
char socket (); |
| 13304 |
> |
char getaddrinfo (); |
| 13305 |
|
int |
| 13306 |
|
main () |
| 13307 |
|
{ |
| 13308 |
< |
return socket (); |
| 13308 |
> |
return getaddrinfo (); |
| 13309 |
|
; |
| 13310 |
|
return 0; |
| 13311 |
|
} |
| 13312 |
|
_ACEOF |
| 13313 |
< |
for ac_lib in '' socket; do |
| 13313 |
> |
for ac_lib in '' nsl; do |
| 13314 |
|
if test -z "$ac_lib"; then |
| 13315 |
|
ac_res="none required" |
| 13316 |
|
else |
| 13318 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13319 |
|
fi |
| 13320 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13321 |
< |
ac_cv_search_socket=$ac_res |
| 13321 |
> |
ac_cv_search_getaddrinfo=$ac_res |
| 13322 |
|
fi |
| 13323 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13324 |
|
conftest$ac_exeext |
| 13325 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13325 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13326 |
|
break |
| 13327 |
|
fi |
| 13328 |
|
done |
| 13329 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13329 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13330 |
|
|
| 13331 |
|
else |
| 13332 |
< |
ac_cv_search_socket=no |
| 13332 |
> |
ac_cv_search_getaddrinfo=no |
| 13333 |
|
fi |
| 13334 |
|
rm conftest.$ac_ext |
| 13335 |
|
LIBS=$ac_func_search_save_LIBS |
| 13336 |
|
fi |
| 13337 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13338 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13339 |
< |
ac_res=$ac_cv_search_socket |
| 13337 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
| 13338 |
> |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
| 13339 |
> |
ac_res=$ac_cv_search_getaddrinfo |
| 13340 |
|
if test "$ac_res" != no; then : |
| 13341 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13342 |
|
|
| 13087 |
– |
else |
| 13088 |
– |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13343 |
|
fi |
| 13344 |
|
|
| 13345 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
| 13346 |
< |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
| 13347 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13345 |
> |
fi |
| 13346 |
> |
|
| 13347 |
> |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
| 13348 |
> |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
| 13349 |
> |
|
| 13350 |
> |
else |
| 13351 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
| 13352 |
> |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
| 13353 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13354 |
|
$as_echo_n "(cached) " >&6 |
| 13355 |
|
else |
| 13356 |
|
ac_func_search_save_LIBS=$LIBS |
| 13363 |
|
#ifdef __cplusplus |
| 13364 |
|
extern "C" |
| 13365 |
|
#endif |
| 13366 |
< |
char inet_ntoa (); |
| 13366 |
> |
char getnameinfo (); |
| 13367 |
|
int |
| 13368 |
|
main () |
| 13369 |
|
{ |
| 13370 |
< |
return inet_ntoa (); |
| 13370 |
> |
return getnameinfo (); |
| 13371 |
|
; |
| 13372 |
|
return 0; |
| 13373 |
|
} |
| 13380 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13381 |
|
fi |
| 13382 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13383 |
< |
ac_cv_search_inet_ntoa=$ac_res |
| 13383 |
> |
ac_cv_search_getnameinfo=$ac_res |
| 13384 |
|
fi |
| 13385 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13386 |
|
conftest$ac_exeext |
| 13387 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13387 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13388 |
|
break |
| 13389 |
|
fi |
| 13390 |
|
done |
| 13391 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13391 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13392 |
|
|
| 13393 |
|
else |
| 13394 |
< |
ac_cv_search_inet_ntoa=no |
| 13394 |
> |
ac_cv_search_getnameinfo=no |
| 13395 |
|
fi |
| 13396 |
|
rm conftest.$ac_ext |
| 13397 |
|
LIBS=$ac_func_search_save_LIBS |
| 13398 |
|
fi |
| 13399 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
| 13400 |
< |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
| 13401 |
< |
ac_res=$ac_cv_search_inet_ntoa |
| 13399 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
| 13400 |
> |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
| 13401 |
> |
ac_res=$ac_cv_search_getnameinfo |
| 13402 |
|
if test "$ac_res" != no; then : |
| 13403 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13404 |
|
|
| 13405 |
|
fi |
| 13406 |
|
|
| 13407 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
| 13408 |
< |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
| 13409 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13407 |
> |
fi |
| 13408 |
> |
|
| 13409 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13410 |
> |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13411 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13412 |
|
$as_echo_n "(cached) " >&6 |
| 13413 |
|
else |
| 13414 |
|
ac_func_search_save_LIBS=$LIBS |
| 13421 |
|
#ifdef __cplusplus |
| 13422 |
|
extern "C" |
| 13423 |
|
#endif |
| 13424 |
< |
char inet_aton (); |
| 13424 |
> |
char socket (); |
| 13425 |
|
int |
| 13426 |
|
main () |
| 13427 |
|
{ |
| 13428 |
< |
return inet_aton (); |
| 13428 |
> |
return socket (); |
| 13429 |
|
; |
| 13430 |
|
return 0; |
| 13431 |
|
} |
| 13432 |
|
_ACEOF |
| 13433 |
< |
for ac_lib in '' resolv; do |
| 13433 |
> |
for ac_lib in '' socket; do |
| 13434 |
|
if test -z "$ac_lib"; then |
| 13435 |
|
ac_res="none required" |
| 13436 |
|
else |
| 13438 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13439 |
|
fi |
| 13440 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13441 |
< |
ac_cv_search_inet_aton=$ac_res |
| 13441 |
> |
ac_cv_search_socket=$ac_res |
| 13442 |
|
fi |
| 13443 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13444 |
|
conftest$ac_exeext |
| 13445 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13445 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13446 |
|
break |
| 13447 |
|
fi |
| 13448 |
|
done |
| 13449 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13449 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13450 |
|
|
| 13451 |
|
else |
| 13452 |
< |
ac_cv_search_inet_aton=no |
| 13452 |
> |
ac_cv_search_socket=no |
| 13453 |
|
fi |
| 13454 |
|
rm conftest.$ac_ext |
| 13455 |
|
LIBS=$ac_func_search_save_LIBS |
| 13456 |
|
fi |
| 13457 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
| 13458 |
< |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
| 13459 |
< |
ac_res=$ac_cv_search_inet_aton |
| 13457 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13458 |
> |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13459 |
> |
ac_res=$ac_cv_search_socket |
| 13460 |
|
if test "$ac_res" != no; then : |
| 13461 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13462 |
|
|
| 13463 |
+ |
else |
| 13464 |
+ |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13465 |
|
fi |
| 13466 |
|
|
| 13203 |
– |
for ac_func in inet_aton inet_ntop inet_pton |
| 13204 |
– |
do : |
| 13205 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13206 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13207 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13208 |
– |
cat >>confdefs.h <<_ACEOF |
| 13209 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13210 |
– |
_ACEOF |
| 13211 |
– |
|
| 13212 |
– |
fi |
| 13213 |
– |
done |
| 13214 |
– |
|
| 13467 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
| 13468 |
|
#include <sys/socket.h> |
| 13469 |
|
#include <netdb.h> |
| 13780 |
|
|
| 13781 |
|
|
| 13782 |
|
|
| 13531 |
– |
|
| 13532 |
– |
|
| 13783 |
|
# Checks for header files. |
| 13784 |
|
|
| 13785 |
|
|
| 13871 |
|
fi |
| 13872 |
|
|
| 13873 |
|
|
| 13874 |
< |
# Check whether --enable-libpcre was given. |
| 13875 |
< |
if test "${enable_libpcre+set}" = set; then : |
| 13876 |
< |
enableval=$enable_libpcre; |
| 13877 |
< |
else |
| 13878 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 13879 |
< |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
| 13880 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5 |
| 13881 |
< |
$as_echo_n "checking for library containing pcre_study... " >&6; } |
| 13882 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
| 13874 |
> |
# Check whether --enable-libgeoip was given. |
| 13875 |
> |
if test "${enable_libgeoip+set}" = set; then : |
| 13876 |
> |
enableval=$enable_libgeoip; |
| 13877 |
> |
else |
| 13878 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 13879 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 13880 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 13881 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 13882 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13883 |
|
$as_echo_n "(cached) " >&6 |
| 13884 |
|
else |
| 13885 |
|
ac_func_search_save_LIBS=$LIBS |
| 13892 |
|
#ifdef __cplusplus |
| 13893 |
|
extern "C" |
| 13894 |
|
#endif |
| 13895 |
< |
char pcre_study (); |
| 13895 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
| 13896 |
|
int |
| 13897 |
|
main () |
| 13898 |
|
{ |
| 13899 |
< |
return pcre_study (); |
| 13899 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
| 13900 |
|
; |
| 13901 |
|
return 0; |
| 13902 |
|
} |
| 13903 |
|
_ACEOF |
| 13904 |
< |
for ac_lib in '' pcre; do |
| 13904 |
> |
for ac_lib in '' GeoIP; do |
| 13905 |
|
if test -z "$ac_lib"; then |
| 13906 |
|
ac_res="none required" |
| 13907 |
|
else |
| 13909 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13910 |
|
fi |
| 13911 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13912 |
< |
ac_cv_search_pcre_study=$ac_res |
| 13912 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 13913 |
|
fi |
| 13914 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13915 |
|
conftest$ac_exeext |
| 13916 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
| 13916 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13917 |
|
break |
| 13918 |
|
fi |
| 13919 |
|
done |
| 13920 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
| 13920 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13921 |
|
|
| 13922 |
|
else |
| 13923 |
< |
ac_cv_search_pcre_study=no |
| 13923 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 13924 |
|
fi |
| 13925 |
|
rm conftest.$ac_ext |
| 13926 |
|
LIBS=$ac_func_search_save_LIBS |
| 13927 |
|
fi |
| 13928 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5 |
| 13929 |
< |
$as_echo "$ac_cv_search_pcre_study" >&6; } |
| 13930 |
< |
ac_res=$ac_cv_search_pcre_study |
| 13928 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 13929 |
> |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 13930 |
> |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 13931 |
|
if test "$ac_res" != no; then : |
| 13932 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13933 |
|
|
| 13934 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 13934 |
> |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 13935 |
|
|
| 13936 |
|
fi |
| 13937 |
|
|
| 13941 |
|
fi |
| 13942 |
|
|
| 13943 |
|
|
| 13944 |
+ |
|
| 13945 |
|
# Check whether --enable-openssl was given. |
| 13946 |
|
if test "${enable_openssl+set}" = set; then : |
| 13947 |
|
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 13996 |
|
fi |
| 13997 |
|
|
| 13998 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 13999 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5 |
| 14000 |
< |
$as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; } |
| 13999 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8m or above" >&5 |
| 14000 |
> |
$as_echo_n "checking for OpenSSL 0.9.8m or above... " >&6; } |
| 14001 |
|
if test "$cross_compiling" = yes; then : |
| 14002 |
|
cf_openssl_version_ok=no |
| 14003 |
|
else |
| 14010 |
|
int |
| 14011 |
|
main () |
| 14012 |
|
{ |
| 14013 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000)); |
| 14013 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080dfL)); |
| 14014 |
|
; |
| 14015 |
|
return 0; |
| 14016 |
|
} |
| 14154 |
|
fi |
| 14155 |
|
|
| 14156 |
|
|
| 14157 |
< |
# Check whether --enable-small-net was given. |
| 13907 |
< |
if test "${enable_small_net+set}" = set; then : |
| 13908 |
< |
enableval=$enable_small_net; small_net=$enableval |
| 13909 |
< |
else |
| 13910 |
< |
small_net=no |
| 13911 |
< |
fi |
| 13912 |
< |
|
| 13913 |
< |
|
| 13914 |
< |
if test "$small_net" = "yes"; then : |
| 13915 |
< |
|
| 13916 |
< |
|
| 13917 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h |
| 13918 |
< |
|
| 13919 |
< |
|
| 13920 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
| 13921 |
< |
|
| 14157 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 14158 |
|
|
| 13923 |
– |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
| 14159 |
|
|
| 14160 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
| 14161 |
|
|
| 13926 |
– |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
| 14162 |
|
|
| 14163 |
+ |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
| 14164 |
|
|
| 13929 |
– |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
| 14165 |
|
|
| 14166 |
+ |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 14167 |
|
|
| 13932 |
– |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
| 14168 |
|
|
| 14169 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 14170 |
|
|
| 13935 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
| 14171 |
|
|
| 14172 |
+ |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
| 14173 |
|
|
| 13938 |
– |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
| 14174 |
|
|
| 14175 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
| 14176 |
|
|
| 13941 |
– |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
| 14177 |
|
|
| 14178 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
| 14179 |
|
|
| 13944 |
– |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
| 14180 |
|
|
| 14181 |
< |
else |
| 13947 |
< |
|
| 13948 |
< |
|
| 13949 |
< |
|
| 13950 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h |
| 13951 |
< |
|
| 13952 |
< |
|
| 13953 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
| 13954 |
< |
|
| 13955 |
< |
|
| 13956 |
< |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
| 14181 |
> |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
| 14182 |
|
|
| 14183 |
|
|
| 14184 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
| 14184 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
| 14185 |
|
|
| 14186 |
|
|
| 14187 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
| 14187 |
> |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 14188 |
|
|
| 14189 |
|
|
| 14190 |
< |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
| 14190 |
> |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 14191 |
|
|
| 14192 |
|
|
| 14193 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
| 14193 |
> |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 14194 |
|
|
| 14195 |
|
|
| 14196 |
< |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
| 13972 |
< |
|
| 13973 |
< |
|
| 13974 |
< |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
| 13975 |
< |
|
| 13976 |
< |
|
| 13977 |
< |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
| 13978 |
< |
|
| 13979 |
< |
fi |
| 14196 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
| 14197 |
|
|
| 14198 |
|
|
| 14199 |
|
# Argument processing. |
| 14214 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
| 14215 |
|
fi |
| 14216 |
|
|
| 14000 |
– |
# Check whether --enable-rtsigio was given. |
| 14001 |
– |
if test "${enable_rtsigio+set}" = set; then : |
| 14002 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
| 14003 |
– |
fi |
| 14004 |
– |
|
| 14217 |
|
# Check whether --enable-poll was given. |
| 14218 |
|
if test "${enable_poll+set}" = set; then : |
| 14219 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 14397 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
| 14398 |
|
|
| 14399 |
|
fi |
| 14400 |
< |
iopoll_mechanism_rtsigio=4 |
| 14189 |
< |
|
| 14190 |
< |
cat >>confdefs.h <<_ACEOF |
| 14191 |
< |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
| 14192 |
< |
_ACEOF |
| 14193 |
< |
|
| 14194 |
< |
if test "$cross_compiling" = yes; then : |
| 14195 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14196 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14197 |
< |
as_fn_error $? "cannot run test program while cross compiling |
| 14198 |
< |
See \`config.log' for more details" "$LINENO" 5; } |
| 14199 |
< |
else |
| 14200 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14201 |
< |
/* end confdefs.h. */ |
| 14202 |
< |
|
| 14203 |
< |
#define _GNU_SOURCE |
| 14204 |
< |
#include <fcntl.h> |
| 14205 |
< |
static unsigned int have_f_setsig = 0; |
| 14206 |
< |
|
| 14207 |
< |
int |
| 14208 |
< |
main () |
| 14209 |
< |
{ |
| 14210 |
< |
|
| 14211 |
< |
#ifdef F_SETSIG |
| 14212 |
< |
have_f_setsig = 1; |
| 14213 |
< |
#endif |
| 14214 |
< |
return have_f_setsig == 0; |
| 14215 |
< |
|
| 14216 |
< |
; |
| 14217 |
< |
return 0; |
| 14218 |
< |
} |
| 14219 |
< |
_ACEOF |
| 14220 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 14221 |
< |
is_rtsigio_mechanism_available="yes" |
| 14222 |
< |
else |
| 14223 |
< |
is_rtsigio_mechanism_available="no" |
| 14224 |
< |
fi |
| 14225 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14226 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14227 |
< |
fi |
| 14228 |
< |
|
| 14229 |
< |
iopoll_mechanism_poll=5 |
| 14400 |
> |
iopoll_mechanism_poll=4 |
| 14401 |
|
|
| 14402 |
|
cat >>confdefs.h <<_ACEOF |
| 14403 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
| 14451 |
|
fi |
| 14452 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14453 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14454 |
< |
iopoll_mechanism_select=6 |
| 14454 |
> |
iopoll_mechanism_select=5 |
| 14455 |
|
|
| 14456 |
|
cat >>confdefs.h <<_ACEOF |
| 14457 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 14506 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14507 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14508 |
|
optimal_iopoll_mechanism="none" |
| 14509 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
| 14509 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
| 14510 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 14511 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 14512 |
|
optimal_iopoll_mechanism="$mechanism" |
| 14543 |
|
|
| 14544 |
|
|
| 14545 |
|
|
| 14546 |
+ |
# Check whether --enable-debugging was given. |
| 14547 |
+ |
if test "${enable_debugging+set}" = set; then : |
| 14548 |
+ |
enableval=$enable_debugging; debugging="$enableval" |
| 14549 |
+ |
else |
| 14550 |
+ |
debugging="no" |
| 14551 |
+ |
fi |
| 14552 |
|
|
| 14553 |
< |
# Check whether --with-nicklen was given. |
| 14554 |
< |
if test "${with_nicklen+set}" = set; then : |
| 14555 |
< |
withval=$with_nicklen; nicklen="$withval" |
| 14553 |
> |
if test "$debugging" = "yes" ; then |
| 14554 |
> |
CFLAGS="-Wall -g -O0" |
| 14555 |
> |
fi |
| 14556 |
> |
|
| 14557 |
> |
|
| 14558 |
> |
# Check whether --enable-warnings was given. |
| 14559 |
> |
if test "${enable_warnings+set}" = set; then : |
| 14560 |
> |
enableval=$enable_warnings; warnings="$enableval" |
| 14561 |
|
else |
| 14562 |
< |
nicklen="9" |
| 14562 |
> |
warnings="no" |
| 14563 |
|
fi |
| 14564 |
|
|
| 14565 |
+ |
if test "$warnings" = "yes" ; then |
| 14566 |
+ |
|
| 14567 |
|
|
| 14568 |
< |
cat >>confdefs.h <<_ACEOF |
| 14569 |
< |
#define NICKLEN ($nicklen) |
| 14568 |
> |
|
| 14569 |
> |
|
| 14570 |
> |
for flag in -Wall; do |
| 14571 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14572 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14573 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14574 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14575 |
> |
$as_echo_n "(cached) " >&6 |
| 14576 |
> |
else |
| 14577 |
> |
|
| 14578 |
> |
ax_check_save_flags=$CFLAGS |
| 14579 |
> |
CFLAGS="$CFLAGS $flag" |
| 14580 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14581 |
> |
/* end confdefs.h. */ |
| 14582 |
> |
|
| 14583 |
> |
int |
| 14584 |
> |
main () |
| 14585 |
> |
{ |
| 14586 |
> |
|
| 14587 |
> |
; |
| 14588 |
> |
return 0; |
| 14589 |
> |
} |
| 14590 |
|
_ACEOF |
| 14591 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14592 |
+ |
eval "$as_CACHEVAR=yes" |
| 14593 |
+ |
else |
| 14594 |
+ |
eval "$as_CACHEVAR=no" |
| 14595 |
+ |
fi |
| 14596 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14597 |
+ |
CFLAGS=$ax_check_save_flags |
| 14598 |
+ |
fi |
| 14599 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14600 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14601 |
+ |
$as_echo "$ac_res" >&6; } |
| 14602 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14603 |
+ |
if ${CFLAGS+:} false; then : |
| 14604 |
+ |
case " $CFLAGS " in |
| 14605 |
+ |
*" $flag "*) |
| 14606 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14607 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14608 |
+ |
ac_status=$? |
| 14609 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14610 |
+ |
test $ac_status = 0; } |
| 14611 |
+ |
;; |
| 14612 |
+ |
*) |
| 14613 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14614 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14615 |
+ |
ac_status=$? |
| 14616 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14617 |
+ |
test $ac_status = 0; } |
| 14618 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14619 |
+ |
;; |
| 14620 |
+ |
esac |
| 14621 |
+ |
else |
| 14622 |
+ |
CFLAGS="$flag" |
| 14623 |
+ |
fi |
| 14624 |
+ |
|
| 14625 |
+ |
else |
| 14626 |
+ |
: |
| 14627 |
+ |
fi |
| 14628 |
+ |
|
| 14629 |
+ |
done |
| 14630 |
+ |
|
| 14631 |
+ |
|
| 14632 |
|
|
| 14633 |
|
|
| 14634 |
|
|
| 14635 |
+ |
for flag in -Wextra; do |
| 14636 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14637 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14638 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14639 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 14640 |
+ |
$as_echo_n "(cached) " >&6 |
| 14641 |
+ |
else |
| 14642 |
|
|
| 14643 |
< |
# Check whether --with-topiclen was given. |
| 14644 |
< |
if test "${with_topiclen+set}" = set; then : |
| 14645 |
< |
withval=$with_topiclen; topiclen="$withval" |
| 14643 |
> |
ax_check_save_flags=$CFLAGS |
| 14644 |
> |
CFLAGS="$CFLAGS $flag" |
| 14645 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14646 |
> |
/* end confdefs.h. */ |
| 14647 |
> |
|
| 14648 |
> |
int |
| 14649 |
> |
main () |
| 14650 |
> |
{ |
| 14651 |
> |
|
| 14652 |
> |
; |
| 14653 |
> |
return 0; |
| 14654 |
> |
} |
| 14655 |
> |
_ACEOF |
| 14656 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14657 |
> |
eval "$as_CACHEVAR=yes" |
| 14658 |
|
else |
| 14659 |
< |
topiclen="160" |
| 14659 |
> |
eval "$as_CACHEVAR=no" |
| 14660 |
> |
fi |
| 14661 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14662 |
> |
CFLAGS=$ax_check_save_flags |
| 14663 |
> |
fi |
| 14664 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14665 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14666 |
> |
$as_echo "$ac_res" >&6; } |
| 14667 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14668 |
> |
if ${CFLAGS+:} false; then : |
| 14669 |
> |
case " $CFLAGS " in |
| 14670 |
> |
*" $flag "*) |
| 14671 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14672 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14673 |
> |
ac_status=$? |
| 14674 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14675 |
> |
test $ac_status = 0; } |
| 14676 |
> |
;; |
| 14677 |
> |
*) |
| 14678 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14679 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14680 |
> |
ac_status=$? |
| 14681 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14682 |
> |
test $ac_status = 0; } |
| 14683 |
> |
CFLAGS="$CFLAGS $flag" |
| 14684 |
> |
;; |
| 14685 |
> |
esac |
| 14686 |
> |
else |
| 14687 |
> |
CFLAGS="$flag" |
| 14688 |
|
fi |
| 14689 |
|
|
| 14690 |
+ |
else |
| 14691 |
+ |
: |
| 14692 |
+ |
fi |
| 14693 |
|
|
| 14694 |
< |
cat >>confdefs.h <<_ACEOF |
| 14695 |
< |
#define TOPICLEN ($topiclen) |
| 14694 |
> |
done |
| 14695 |
> |
|
| 14696 |
> |
|
| 14697 |
> |
|
| 14698 |
> |
|
| 14699 |
> |
|
| 14700 |
> |
for flag in -Wno-unused; do |
| 14701 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14702 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14703 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14704 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14705 |
> |
$as_echo_n "(cached) " >&6 |
| 14706 |
> |
else |
| 14707 |
> |
|
| 14708 |
> |
ax_check_save_flags=$CFLAGS |
| 14709 |
> |
CFLAGS="$CFLAGS $flag" |
| 14710 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14711 |
> |
/* end confdefs.h. */ |
| 14712 |
> |
|
| 14713 |
> |
int |
| 14714 |
> |
main () |
| 14715 |
> |
{ |
| 14716 |
> |
|
| 14717 |
> |
; |
| 14718 |
> |
return 0; |
| 14719 |
> |
} |
| 14720 |
|
_ACEOF |
| 14721 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14722 |
+ |
eval "$as_CACHEVAR=yes" |
| 14723 |
+ |
else |
| 14724 |
+ |
eval "$as_CACHEVAR=no" |
| 14725 |
+ |
fi |
| 14726 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14727 |
+ |
CFLAGS=$ax_check_save_flags |
| 14728 |
+ |
fi |
| 14729 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14730 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14731 |
+ |
$as_echo "$ac_res" >&6; } |
| 14732 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14733 |
+ |
if ${CFLAGS+:} false; then : |
| 14734 |
+ |
case " $CFLAGS " in |
| 14735 |
+ |
*" $flag "*) |
| 14736 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14737 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14738 |
+ |
ac_status=$? |
| 14739 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14740 |
+ |
test $ac_status = 0; } |
| 14741 |
+ |
;; |
| 14742 |
+ |
*) |
| 14743 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14744 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14745 |
+ |
ac_status=$? |
| 14746 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14747 |
+ |
test $ac_status = 0; } |
| 14748 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14749 |
+ |
;; |
| 14750 |
+ |
esac |
| 14751 |
+ |
else |
| 14752 |
+ |
CFLAGS="$flag" |
| 14753 |
+ |
fi |
| 14754 |
+ |
|
| 14755 |
+ |
else |
| 14756 |
+ |
: |
| 14757 |
+ |
fi |
| 14758 |
+ |
|
| 14759 |
+ |
done |
| 14760 |
|
|
| 14761 |
|
|
| 14762 |
|
|
| 14763 |
< |
# Check whether --enable-halfops was given. |
| 14764 |
< |
if test "${enable_halfops+set}" = set; then : |
| 14765 |
< |
enableval=$enable_halfops; halfops="$enableval" |
| 14763 |
> |
|
| 14764 |
> |
|
| 14765 |
> |
for flag in -Wcast-qual; 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 |
< |
halfops="no" |
| 14821 |
> |
: |
| 14822 |
|
fi |
| 14823 |
|
|
| 14824 |
< |
if test "$halfops" = "yes" ; then |
| 14824 |
> |
done |
| 14825 |
|
|
| 14414 |
– |
$as_echo "#define HALFOPS 1" >>confdefs.h |
| 14826 |
|
|
| 14416 |
– |
fi |
| 14827 |
|
|
| 14828 |
|
|
| 14829 |
< |
# Check whether --enable-debugging was given. |
| 14830 |
< |
if test "${enable_debugging+set}" = set; then : |
| 14831 |
< |
enableval=$enable_debugging; debugging="$enableval" |
| 14829 |
> |
|
| 14830 |
> |
for flag in -Wcast-align; do |
| 14831 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14832 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14833 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14834 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14835 |
> |
$as_echo_n "(cached) " >&6 |
| 14836 |
|
else |
| 14837 |
< |
debugging="no" |
| 14837 |
> |
|
| 14838 |
> |
ax_check_save_flags=$CFLAGS |
| 14839 |
> |
CFLAGS="$CFLAGS $flag" |
| 14840 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14841 |
> |
/* end confdefs.h. */ |
| 14842 |
> |
|
| 14843 |
> |
int |
| 14844 |
> |
main () |
| 14845 |
> |
{ |
| 14846 |
> |
|
| 14847 |
> |
; |
| 14848 |
> |
return 0; |
| 14849 |
> |
} |
| 14850 |
> |
_ACEOF |
| 14851 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14852 |
> |
eval "$as_CACHEVAR=yes" |
| 14853 |
> |
else |
| 14854 |
> |
eval "$as_CACHEVAR=no" |
| 14855 |
> |
fi |
| 14856 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14857 |
> |
CFLAGS=$ax_check_save_flags |
| 14858 |
> |
fi |
| 14859 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14860 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14861 |
> |
$as_echo "$ac_res" >&6; } |
| 14862 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14863 |
> |
if ${CFLAGS+:} false; then : |
| 14864 |
> |
case " $CFLAGS " in |
| 14865 |
> |
*" $flag "*) |
| 14866 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14867 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14868 |
> |
ac_status=$? |
| 14869 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14870 |
> |
test $ac_status = 0; } |
| 14871 |
> |
;; |
| 14872 |
> |
*) |
| 14873 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14874 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14875 |
> |
ac_status=$? |
| 14876 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14877 |
> |
test $ac_status = 0; } |
| 14878 |
> |
CFLAGS="$CFLAGS $flag" |
| 14879 |
> |
;; |
| 14880 |
> |
esac |
| 14881 |
> |
else |
| 14882 |
> |
CFLAGS="$flag" |
| 14883 |
|
fi |
| 14884 |
|
|
| 14885 |
< |
if test "$debugging" = "yes" ; then |
| 14885 |
> |
else |
| 14886 |
> |
: |
| 14887 |
> |
fi |
| 14888 |
|
|
| 14889 |
< |
$as_echo "#define DEBUG 1" >>confdefs.h |
| 14889 |
> |
done |
| 14890 |
|
|
| 14430 |
– |
CFLAGS="-Wall -g -O0" |
| 14431 |
– |
else |
| 14891 |
|
|
| 14433 |
– |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 14892 |
|
|
| 14435 |
– |
fi |
| 14893 |
|
|
| 14894 |
|
|
| 14895 |
< |
# Check whether --enable-warnings was given. |
| 14896 |
< |
if test "${enable_warnings+set}" = set; then : |
| 14897 |
< |
enableval=$enable_warnings; warnings="$enableval" |
| 14895 |
> |
for flag in -Wbad-function-cast; do |
| 14896 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14897 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14898 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14899 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14900 |
> |
$as_echo_n "(cached) " >&6 |
| 14901 |
|
else |
| 14902 |
< |
warnings="no" |
| 14902 |
> |
|
| 14903 |
> |
ax_check_save_flags=$CFLAGS |
| 14904 |
> |
CFLAGS="$CFLAGS $flag" |
| 14905 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14906 |
> |
/* end confdefs.h. */ |
| 14907 |
> |
|
| 14908 |
> |
int |
| 14909 |
> |
main () |
| 14910 |
> |
{ |
| 14911 |
> |
|
| 14912 |
> |
; |
| 14913 |
> |
return 0; |
| 14914 |
> |
} |
| 14915 |
> |
_ACEOF |
| 14916 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14917 |
> |
eval "$as_CACHEVAR=yes" |
| 14918 |
> |
else |
| 14919 |
> |
eval "$as_CACHEVAR=no" |
| 14920 |
> |
fi |
| 14921 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14922 |
> |
CFLAGS=$ax_check_save_flags |
| 14923 |
> |
fi |
| 14924 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14925 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14926 |
> |
$as_echo "$ac_res" >&6; } |
| 14927 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14928 |
> |
if ${CFLAGS+:} false; then : |
| 14929 |
> |
case " $CFLAGS " in |
| 14930 |
> |
*" $flag "*) |
| 14931 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14932 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14933 |
> |
ac_status=$? |
| 14934 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14935 |
> |
test $ac_status = 0; } |
| 14936 |
> |
;; |
| 14937 |
> |
*) |
| 14938 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14939 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14940 |
> |
ac_status=$? |
| 14941 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14942 |
> |
test $ac_status = 0; } |
| 14943 |
> |
CFLAGS="$CFLAGS $flag" |
| 14944 |
> |
;; |
| 14945 |
> |
esac |
| 14946 |
> |
else |
| 14947 |
> |
CFLAGS="$flag" |
| 14948 |
|
fi |
| 14949 |
|
|
| 14950 |
< |
if test "$warnings" = "yes" ; then |
| 14951 |
< |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
| 14950 |
> |
else |
| 14951 |
> |
: |
| 14952 |
> |
fi |
| 14953 |
> |
|
| 14954 |
> |
done |
| 14955 |
> |
|
| 14956 |
> |
|
| 14957 |
> |
|
| 14958 |
> |
|
| 14959 |
> |
|
| 14960 |
> |
for flag in -Wlogical-op; do |
| 14961 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14962 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14963 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14964 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14965 |
> |
$as_echo_n "(cached) " >&6 |
| 14966 |
> |
else |
| 14967 |
> |
|
| 14968 |
> |
ax_check_save_flags=$CFLAGS |
| 14969 |
> |
CFLAGS="$CFLAGS $flag" |
| 14970 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14971 |
> |
/* end confdefs.h. */ |
| 14972 |
> |
|
| 14973 |
> |
int |
| 14974 |
> |
main () |
| 14975 |
> |
{ |
| 14976 |
> |
|
| 14977 |
> |
; |
| 14978 |
> |
return 0; |
| 14979 |
> |
} |
| 14980 |
> |
_ACEOF |
| 14981 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14982 |
> |
eval "$as_CACHEVAR=yes" |
| 14983 |
> |
else |
| 14984 |
> |
eval "$as_CACHEVAR=no" |
| 14985 |
> |
fi |
| 14986 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14987 |
> |
CFLAGS=$ax_check_save_flags |
| 14988 |
> |
fi |
| 14989 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14990 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14991 |
> |
$as_echo "$ac_res" >&6; } |
| 14992 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14993 |
> |
if ${CFLAGS+:} false; then : |
| 14994 |
> |
case " $CFLAGS " in |
| 14995 |
> |
*" $flag "*) |
| 14996 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14997 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14998 |
> |
ac_status=$? |
| 14999 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15000 |
> |
test $ac_status = 0; } |
| 15001 |
> |
;; |
| 15002 |
> |
*) |
| 15003 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15004 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15005 |
> |
ac_status=$? |
| 15006 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15007 |
> |
test $ac_status = 0; } |
| 15008 |
> |
CFLAGS="$CFLAGS $flag" |
| 15009 |
> |
;; |
| 15010 |
> |
esac |
| 15011 |
> |
else |
| 15012 |
> |
CFLAGS="$flag" |
| 15013 |
> |
fi |
| 15014 |
> |
|
| 15015 |
> |
else |
| 15016 |
> |
: |
| 15017 |
> |
fi |
| 15018 |
> |
|
| 15019 |
> |
done |
| 15020 |
> |
|
| 15021 |
> |
|
| 15022 |
> |
|
| 15023 |
> |
|
| 15024 |
> |
|
| 15025 |
> |
for flag in -Wmissing-declarations; do |
| 15026 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15027 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15028 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15029 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15030 |
> |
$as_echo_n "(cached) " >&6 |
| 15031 |
> |
else |
| 15032 |
> |
|
| 15033 |
> |
ax_check_save_flags=$CFLAGS |
| 15034 |
> |
CFLAGS="$CFLAGS $flag" |
| 15035 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15036 |
> |
/* end confdefs.h. */ |
| 15037 |
> |
|
| 15038 |
> |
int |
| 15039 |
> |
main () |
| 15040 |
> |
{ |
| 15041 |
> |
|
| 15042 |
> |
; |
| 15043 |
> |
return 0; |
| 15044 |
> |
} |
| 15045 |
> |
_ACEOF |
| 15046 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15047 |
> |
eval "$as_CACHEVAR=yes" |
| 15048 |
> |
else |
| 15049 |
> |
eval "$as_CACHEVAR=no" |
| 15050 |
> |
fi |
| 15051 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15052 |
> |
CFLAGS=$ax_check_save_flags |
| 15053 |
> |
fi |
| 15054 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15055 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15056 |
> |
$as_echo "$ac_res" >&6; } |
| 15057 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15058 |
> |
if ${CFLAGS+:} false; then : |
| 15059 |
> |
case " $CFLAGS " in |
| 15060 |
> |
*" $flag "*) |
| 15061 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15062 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15063 |
> |
ac_status=$? |
| 15064 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15065 |
> |
test $ac_status = 0; } |
| 15066 |
> |
;; |
| 15067 |
> |
*) |
| 15068 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15069 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15070 |
> |
ac_status=$? |
| 15071 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15072 |
> |
test $ac_status = 0; } |
| 15073 |
> |
CFLAGS="$CFLAGS $flag" |
| 15074 |
> |
;; |
| 15075 |
> |
esac |
| 15076 |
> |
else |
| 15077 |
> |
CFLAGS="$flag" |
| 15078 |
> |
fi |
| 15079 |
> |
|
| 15080 |
> |
else |
| 15081 |
> |
: |
| 15082 |
> |
fi |
| 15083 |
> |
|
| 15084 |
> |
done |
| 15085 |
> |
|
| 15086 |
> |
|
| 15087 |
> |
|
| 15088 |
> |
|
| 15089 |
> |
|
| 15090 |
> |
for flag in -Wmissing-include-dirs; do |
| 15091 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15092 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15093 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15094 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15095 |
> |
$as_echo_n "(cached) " >&6 |
| 15096 |
> |
else |
| 15097 |
> |
|
| 15098 |
> |
ax_check_save_flags=$CFLAGS |
| 15099 |
> |
CFLAGS="$CFLAGS $flag" |
| 15100 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15101 |
> |
/* end confdefs.h. */ |
| 15102 |
> |
|
| 15103 |
> |
int |
| 15104 |
> |
main () |
| 15105 |
> |
{ |
| 15106 |
> |
|
| 15107 |
> |
; |
| 15108 |
> |
return 0; |
| 15109 |
> |
} |
| 15110 |
> |
_ACEOF |
| 15111 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15112 |
> |
eval "$as_CACHEVAR=yes" |
| 15113 |
> |
else |
| 15114 |
> |
eval "$as_CACHEVAR=no" |
| 15115 |
> |
fi |
| 15116 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15117 |
> |
CFLAGS=$ax_check_save_flags |
| 15118 |
> |
fi |
| 15119 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15120 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15121 |
> |
$as_echo "$ac_res" >&6; } |
| 15122 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15123 |
> |
if ${CFLAGS+:} false; then : |
| 15124 |
> |
case " $CFLAGS " in |
| 15125 |
> |
*" $flag "*) |
| 15126 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15127 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15128 |
> |
ac_status=$? |
| 15129 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15130 |
> |
test $ac_status = 0; } |
| 15131 |
> |
;; |
| 15132 |
> |
*) |
| 15133 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15134 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15135 |
> |
ac_status=$? |
| 15136 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15137 |
> |
test $ac_status = 0; } |
| 15138 |
> |
CFLAGS="$CFLAGS $flag" |
| 15139 |
> |
;; |
| 15140 |
> |
esac |
| 15141 |
> |
else |
| 15142 |
> |
CFLAGS="$flag" |
| 15143 |
> |
fi |
| 15144 |
> |
|
| 15145 |
> |
else |
| 15146 |
> |
: |
| 15147 |
> |
fi |
| 15148 |
> |
|
| 15149 |
> |
done |
| 15150 |
> |
|
| 15151 |
> |
|
| 15152 |
> |
|
| 15153 |
> |
|
| 15154 |
> |
|
| 15155 |
> |
for flag in -Wmissing-prototypes; do |
| 15156 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15157 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15158 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15159 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15160 |
> |
$as_echo_n "(cached) " >&6 |
| 15161 |
> |
else |
| 15162 |
> |
|
| 15163 |
> |
ax_check_save_flags=$CFLAGS |
| 15164 |
> |
CFLAGS="$CFLAGS $flag" |
| 15165 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15166 |
> |
/* end confdefs.h. */ |
| 15167 |
> |
|
| 15168 |
> |
int |
| 15169 |
> |
main () |
| 15170 |
> |
{ |
| 15171 |
> |
|
| 15172 |
> |
; |
| 15173 |
> |
return 0; |
| 15174 |
> |
} |
| 15175 |
> |
_ACEOF |
| 15176 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15177 |
> |
eval "$as_CACHEVAR=yes" |
| 15178 |
> |
else |
| 15179 |
> |
eval "$as_CACHEVAR=no" |
| 15180 |
> |
fi |
| 15181 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15182 |
> |
CFLAGS=$ax_check_save_flags |
| 15183 |
> |
fi |
| 15184 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15185 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15186 |
> |
$as_echo "$ac_res" >&6; } |
| 15187 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15188 |
> |
if ${CFLAGS+:} false; then : |
| 15189 |
> |
case " $CFLAGS " in |
| 15190 |
> |
*" $flag "*) |
| 15191 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15192 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15193 |
> |
ac_status=$? |
| 15194 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15195 |
> |
test $ac_status = 0; } |
| 15196 |
> |
;; |
| 15197 |
> |
*) |
| 15198 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15199 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15200 |
> |
ac_status=$? |
| 15201 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15202 |
> |
test $ac_status = 0; } |
| 15203 |
> |
CFLAGS="$CFLAGS $flag" |
| 15204 |
> |
;; |
| 15205 |
> |
esac |
| 15206 |
> |
else |
| 15207 |
> |
CFLAGS="$flag" |
| 15208 |
> |
fi |
| 15209 |
> |
|
| 15210 |
> |
else |
| 15211 |
> |
: |
| 15212 |
> |
fi |
| 15213 |
> |
|
| 15214 |
> |
done |
| 15215 |
> |
|
| 15216 |
> |
|
| 15217 |
> |
|
| 15218 |
> |
|
| 15219 |
> |
|
| 15220 |
> |
for flag in -Wnested-externs; do |
| 15221 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15222 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15223 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15224 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15225 |
> |
$as_echo_n "(cached) " >&6 |
| 15226 |
> |
else |
| 15227 |
> |
|
| 15228 |
> |
ax_check_save_flags=$CFLAGS |
| 15229 |
> |
CFLAGS="$CFLAGS $flag" |
| 15230 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15231 |
> |
/* end confdefs.h. */ |
| 15232 |
> |
|
| 15233 |
> |
int |
| 15234 |
> |
main () |
| 15235 |
> |
{ |
| 15236 |
> |
|
| 15237 |
> |
; |
| 15238 |
> |
return 0; |
| 15239 |
> |
} |
| 15240 |
> |
_ACEOF |
| 15241 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15242 |
> |
eval "$as_CACHEVAR=yes" |
| 15243 |
> |
else |
| 15244 |
> |
eval "$as_CACHEVAR=no" |
| 15245 |
> |
fi |
| 15246 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15247 |
> |
CFLAGS=$ax_check_save_flags |
| 15248 |
> |
fi |
| 15249 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15250 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15251 |
> |
$as_echo "$ac_res" >&6; } |
| 15252 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15253 |
> |
if ${CFLAGS+:} false; then : |
| 15254 |
> |
case " $CFLAGS " in |
| 15255 |
> |
*" $flag "*) |
| 15256 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15257 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15258 |
> |
ac_status=$? |
| 15259 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15260 |
> |
test $ac_status = 0; } |
| 15261 |
> |
;; |
| 15262 |
> |
*) |
| 15263 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15264 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15265 |
> |
ac_status=$? |
| 15266 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15267 |
> |
test $ac_status = 0; } |
| 15268 |
> |
CFLAGS="$CFLAGS $flag" |
| 15269 |
> |
;; |
| 15270 |
> |
esac |
| 15271 |
> |
else |
| 15272 |
> |
CFLAGS="$flag" |
| 15273 |
> |
fi |
| 15274 |
> |
|
| 15275 |
> |
else |
| 15276 |
> |
: |
| 15277 |
> |
fi |
| 15278 |
> |
|
| 15279 |
> |
done |
| 15280 |
> |
|
| 15281 |
> |
|
| 15282 |
> |
|
| 15283 |
> |
|
| 15284 |
> |
|
| 15285 |
> |
for flag in -Wpointer-arith; do |
| 15286 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15287 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15288 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15289 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15290 |
> |
$as_echo_n "(cached) " >&6 |
| 15291 |
> |
else |
| 15292 |
> |
|
| 15293 |
> |
ax_check_save_flags=$CFLAGS |
| 15294 |
> |
CFLAGS="$CFLAGS $flag" |
| 15295 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15296 |
> |
/* end confdefs.h. */ |
| 15297 |
> |
|
| 15298 |
> |
int |
| 15299 |
> |
main () |
| 15300 |
> |
{ |
| 15301 |
> |
|
| 15302 |
> |
; |
| 15303 |
> |
return 0; |
| 15304 |
> |
} |
| 15305 |
> |
_ACEOF |
| 15306 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15307 |
> |
eval "$as_CACHEVAR=yes" |
| 15308 |
> |
else |
| 15309 |
> |
eval "$as_CACHEVAR=no" |
| 15310 |
> |
fi |
| 15311 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15312 |
> |
CFLAGS=$ax_check_save_flags |
| 15313 |
> |
fi |
| 15314 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15315 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15316 |
> |
$as_echo "$ac_res" >&6; } |
| 15317 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15318 |
> |
if ${CFLAGS+:} false; then : |
| 15319 |
> |
case " $CFLAGS " in |
| 15320 |
> |
*" $flag "*) |
| 15321 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15322 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15323 |
> |
ac_status=$? |
| 15324 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15325 |
> |
test $ac_status = 0; } |
| 15326 |
> |
;; |
| 15327 |
> |
*) |
| 15328 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15329 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15330 |
> |
ac_status=$? |
| 15331 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15332 |
> |
test $ac_status = 0; } |
| 15333 |
> |
CFLAGS="$CFLAGS $flag" |
| 15334 |
> |
;; |
| 15335 |
> |
esac |
| 15336 |
> |
else |
| 15337 |
> |
CFLAGS="$flag" |
| 15338 |
> |
fi |
| 15339 |
> |
|
| 15340 |
> |
else |
| 15341 |
> |
: |
| 15342 |
> |
fi |
| 15343 |
> |
|
| 15344 |
> |
done |
| 15345 |
> |
|
| 15346 |
> |
|
| 15347 |
> |
|
| 15348 |
> |
|
| 15349 |
> |
|
| 15350 |
> |
for flag in -Wredundant-decls; do |
| 15351 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15352 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15353 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15354 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15355 |
> |
$as_echo_n "(cached) " >&6 |
| 15356 |
> |
else |
| 15357 |
> |
|
| 15358 |
> |
ax_check_save_flags=$CFLAGS |
| 15359 |
> |
CFLAGS="$CFLAGS $flag" |
| 15360 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15361 |
> |
/* end confdefs.h. */ |
| 15362 |
> |
|
| 15363 |
> |
int |
| 15364 |
> |
main () |
| 15365 |
> |
{ |
| 15366 |
> |
|
| 15367 |
> |
; |
| 15368 |
> |
return 0; |
| 15369 |
> |
} |
| 15370 |
> |
_ACEOF |
| 15371 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15372 |
> |
eval "$as_CACHEVAR=yes" |
| 15373 |
> |
else |
| 15374 |
> |
eval "$as_CACHEVAR=no" |
| 15375 |
> |
fi |
| 15376 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15377 |
> |
CFLAGS=$ax_check_save_flags |
| 15378 |
> |
fi |
| 15379 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15380 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15381 |
> |
$as_echo "$ac_res" >&6; } |
| 15382 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15383 |
> |
if ${CFLAGS+:} false; then : |
| 15384 |
> |
case " $CFLAGS " in |
| 15385 |
> |
*" $flag "*) |
| 15386 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15387 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15388 |
> |
ac_status=$? |
| 15389 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15390 |
> |
test $ac_status = 0; } |
| 15391 |
> |
;; |
| 15392 |
> |
*) |
| 15393 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15394 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15395 |
> |
ac_status=$? |
| 15396 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15397 |
> |
test $ac_status = 0; } |
| 15398 |
> |
CFLAGS="$CFLAGS $flag" |
| 15399 |
> |
;; |
| 15400 |
> |
esac |
| 15401 |
> |
else |
| 15402 |
> |
CFLAGS="$flag" |
| 15403 |
> |
fi |
| 15404 |
> |
|
| 15405 |
> |
else |
| 15406 |
> |
: |
| 15407 |
> |
fi |
| 15408 |
> |
|
| 15409 |
> |
done |
| 15410 |
> |
|
| 15411 |
> |
|
| 15412 |
> |
|
| 15413 |
> |
|
| 15414 |
> |
|
| 15415 |
> |
for flag in -Wshadow; do |
| 15416 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15417 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15418 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15419 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15420 |
> |
$as_echo_n "(cached) " >&6 |
| 15421 |
> |
else |
| 15422 |
> |
|
| 15423 |
> |
ax_check_save_flags=$CFLAGS |
| 15424 |
> |
CFLAGS="$CFLAGS $flag" |
| 15425 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15426 |
> |
/* end confdefs.h. */ |
| 15427 |
> |
|
| 15428 |
> |
int |
| 15429 |
> |
main () |
| 15430 |
> |
{ |
| 15431 |
> |
|
| 15432 |
> |
; |
| 15433 |
> |
return 0; |
| 15434 |
> |
} |
| 15435 |
> |
_ACEOF |
| 15436 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15437 |
> |
eval "$as_CACHEVAR=yes" |
| 15438 |
> |
else |
| 15439 |
> |
eval "$as_CACHEVAR=no" |
| 15440 |
> |
fi |
| 15441 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15442 |
> |
CFLAGS=$ax_check_save_flags |
| 15443 |
> |
fi |
| 15444 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15445 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15446 |
> |
$as_echo "$ac_res" >&6; } |
| 15447 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15448 |
> |
if ${CFLAGS+:} false; then : |
| 15449 |
> |
case " $CFLAGS " in |
| 15450 |
> |
*" $flag "*) |
| 15451 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15452 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15453 |
> |
ac_status=$? |
| 15454 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15455 |
> |
test $ac_status = 0; } |
| 15456 |
> |
;; |
| 15457 |
> |
*) |
| 15458 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15459 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15460 |
> |
ac_status=$? |
| 15461 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15462 |
> |
test $ac_status = 0; } |
| 15463 |
> |
CFLAGS="$CFLAGS $flag" |
| 15464 |
> |
;; |
| 15465 |
> |
esac |
| 15466 |
> |
else |
| 15467 |
> |
CFLAGS="$flag" |
| 15468 |
> |
fi |
| 15469 |
> |
|
| 15470 |
> |
else |
| 15471 |
> |
: |
| 15472 |
> |
fi |
| 15473 |
> |
|
| 15474 |
> |
done |
| 15475 |
> |
|
| 15476 |
> |
|
| 15477 |
> |
|
| 15478 |
> |
|
| 15479 |
> |
|
| 15480 |
> |
for flag in -Wwrite-strings; do |
| 15481 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15482 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15483 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15484 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15485 |
> |
$as_echo_n "(cached) " >&6 |
| 15486 |
> |
else |
| 15487 |
> |
|
| 15488 |
> |
ax_check_save_flags=$CFLAGS |
| 15489 |
> |
CFLAGS="$CFLAGS $flag" |
| 15490 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15491 |
> |
/* end confdefs.h. */ |
| 15492 |
> |
|
| 15493 |
> |
int |
| 15494 |
> |
main () |
| 15495 |
> |
{ |
| 15496 |
> |
|
| 15497 |
> |
; |
| 15498 |
> |
return 0; |
| 15499 |
> |
} |
| 15500 |
> |
_ACEOF |
| 15501 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15502 |
> |
eval "$as_CACHEVAR=yes" |
| 15503 |
> |
else |
| 15504 |
> |
eval "$as_CACHEVAR=no" |
| 15505 |
> |
fi |
| 15506 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15507 |
> |
CFLAGS=$ax_check_save_flags |
| 15508 |
> |
fi |
| 15509 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15510 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15511 |
> |
$as_echo "$ac_res" >&6; } |
| 15512 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15513 |
> |
if ${CFLAGS+:} false; then : |
| 15514 |
> |
case " $CFLAGS " in |
| 15515 |
> |
*" $flag "*) |
| 15516 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15517 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15518 |
> |
ac_status=$? |
| 15519 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15520 |
> |
test $ac_status = 0; } |
| 15521 |
> |
;; |
| 15522 |
> |
*) |
| 15523 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15524 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15525 |
> |
ac_status=$? |
| 15526 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15527 |
> |
test $ac_status = 0; } |
| 15528 |
> |
CFLAGS="$CFLAGS $flag" |
| 15529 |
> |
;; |
| 15530 |
> |
esac |
| 15531 |
> |
else |
| 15532 |
> |
CFLAGS="$flag" |
| 15533 |
> |
fi |
| 15534 |
> |
|
| 15535 |
> |
else |
| 15536 |
> |
: |
| 15537 |
> |
fi |
| 15538 |
> |
|
| 15539 |
> |
done |
| 15540 |
> |
|
| 15541 |
> |
|
| 15542 |
> |
|
| 15543 |
> |
|
| 15544 |
> |
|
| 15545 |
> |
for flag in -Wundef; do |
| 15546 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15547 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15548 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15549 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15550 |
> |
$as_echo_n "(cached) " >&6 |
| 15551 |
> |
else |
| 15552 |
> |
|
| 15553 |
> |
ax_check_save_flags=$CFLAGS |
| 15554 |
> |
CFLAGS="$CFLAGS $flag" |
| 15555 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15556 |
> |
/* end confdefs.h. */ |
| 15557 |
> |
|
| 15558 |
> |
int |
| 15559 |
> |
main () |
| 15560 |
> |
{ |
| 15561 |
> |
|
| 15562 |
> |
; |
| 15563 |
> |
return 0; |
| 15564 |
> |
} |
| 15565 |
> |
_ACEOF |
| 15566 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15567 |
> |
eval "$as_CACHEVAR=yes" |
| 15568 |
> |
else |
| 15569 |
> |
eval "$as_CACHEVAR=no" |
| 15570 |
> |
fi |
| 15571 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15572 |
> |
CFLAGS=$ax_check_save_flags |
| 15573 |
> |
fi |
| 15574 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15575 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15576 |
> |
$as_echo "$ac_res" >&6; } |
| 15577 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15578 |
> |
if ${CFLAGS+:} false; then : |
| 15579 |
> |
case " $CFLAGS " in |
| 15580 |
> |
*" $flag "*) |
| 15581 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15582 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15583 |
> |
ac_status=$? |
| 15584 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15585 |
> |
test $ac_status = 0; } |
| 15586 |
> |
;; |
| 15587 |
> |
*) |
| 15588 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15589 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15590 |
> |
ac_status=$? |
| 15591 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15592 |
> |
test $ac_status = 0; } |
| 15593 |
> |
CFLAGS="$CFLAGS $flag" |
| 15594 |
> |
;; |
| 15595 |
> |
esac |
| 15596 |
> |
else |
| 15597 |
> |
CFLAGS="$flag" |
| 15598 |
> |
fi |
| 15599 |
> |
|
| 15600 |
> |
else |
| 15601 |
> |
: |
| 15602 |
> |
fi |
| 15603 |
> |
|
| 15604 |
> |
done |
| 15605 |
> |
|
| 15606 |
|
fi |
| 15607 |
|
|
| 15608 |
|
|
| 15692 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 15693 |
|
|
| 15694 |
|
|
| 15695 |
< |
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" |
| 15695 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
| 15696 |
|
|
| 15697 |
|
|
| 15698 |
|
cat >confcache <<\_ACEOF |
| 16259 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 16260 |
|
# values after options handling. |
| 16261 |
|
ac_log=" |
| 16262 |
< |
This file was extended by ircd-hybrid $as_me 8beta3, which was |
| 16262 |
> |
This file was extended by ircd-hybrid $as_me 8.2.0rc1, which was |
| 16263 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 16264 |
|
|
| 16265 |
|
CONFIG_FILES = $CONFIG_FILES |
| 16325 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 16326 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 16327 |
|
ac_cs_version="\\ |
| 16328 |
< |
ircd-hybrid config.status 8beta3 |
| 16328 |
> |
ircd-hybrid config.status 8.2.0rc1 |
| 16329 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 16330 |
|
with options \\"\$ac_cs_config\\" |
| 16331 |
|
|
| 16735 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 16736 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 16737 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 15579 |
– |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 15580 |
– |
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
| 16738 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 16739 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
| 15583 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
| 16740 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
| 16741 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
| 16742 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 16743 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
| 15588 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
| 15589 |
– |
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
| 16744 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 16745 |
|
|
| 16746 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 17338 |
|
|
| 17339 |
|
case $ac_file$ac_mode in |
| 17340 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 17341 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 17341 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
| 17342 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 17343 |
|
# if we detect the quoting. |
| 17344 |
|
case $CONFIG_FILES in |
| 17389 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 17390 |
|
test -z "$DEPDIR" && continue |
| 17391 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 17392 |
< |
test -z "am__include" && continue |
| 17392 |
> |
test -z "$am__include" && continue |
| 17393 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 17394 |
|
# Find all dependency output files, they are included files with |
| 17395 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |