1 |
|
#! /bin/sh |
2 |
< |
# From configure.ac Id: configure.ac 1720 2012-12-28 21:06:21Z michael . |
2 |
> |
# From configure.ac Id: configure.ac 4360 2014-08-02 20:40:29Z michael . |
3 |
|
# Guess values for system-dependent variables and create Makefiles. |
4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
5 |
|
# |
805 |
|
with_ltdl_include |
806 |
|
with_ltdl_lib |
807 |
|
enable_ltdl_install |
808 |
< |
enable_libpcre |
808 |
> |
enable_libgeoip |
809 |
|
enable_openssl |
810 |
|
enable_assert |
811 |
|
enable_kqueue |
812 |
|
enable_epoll |
813 |
|
enable_devpoll |
814 |
|
enable_poll |
815 |
– |
enable_select |
816 |
– |
enable_halfops |
815 |
|
enable_debugging |
816 |
|
enable_warnings |
817 |
|
' |
1459 |
|
optimize for fast installation [default=yes] |
1460 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
1461 |
|
--enable-ltdl-install install libltdl |
1462 |
< |
--disable-libpcre Disable PCRE support |
1462 |
> |
--disable-libgeoip Disable GeoIP support |
1463 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
1464 |
|
--disable-openssl Disable OpenSSL support. |
1465 |
|
--enable-assert Enable assert() statements |
1467 |
|
--enable-epoll Force epoll usage. |
1468 |
|
--enable-devpoll Force devpoll usage. |
1469 |
|
--enable-poll Force poll usage. |
1472 |
– |
--enable-select Force select usage. |
1473 |
– |
--enable-halfops Enable halfops support. |
1470 |
|
--enable-debugging Enable debugging. |
1471 |
|
--enable-warnings Enable compiler warnings. |
1472 |
|
|
1939 |
|
|
1940 |
|
} # ac_fn_c_check_type |
1941 |
|
|
1946 |
– |
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
1947 |
– |
# ---------------------------------------------------- |
1948 |
– |
# Tries to find if the field MEMBER exists in type AGGR, after including |
1949 |
– |
# INCLUDES, setting cache variable VAR accordingly. |
1950 |
– |
ac_fn_c_check_member () |
1951 |
– |
{ |
1952 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1953 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1954 |
– |
$as_echo_n "checking for $2.$3... " >&6; } |
1955 |
– |
if eval \${$4+:} false; then : |
1956 |
– |
$as_echo_n "(cached) " >&6 |
1957 |
– |
else |
1958 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1959 |
– |
/* end confdefs.h. */ |
1960 |
– |
$5 |
1961 |
– |
int |
1962 |
– |
main () |
1963 |
– |
{ |
1964 |
– |
static $2 ac_aggr; |
1965 |
– |
if (ac_aggr.$3) |
1966 |
– |
return 0; |
1967 |
– |
; |
1968 |
– |
return 0; |
1969 |
– |
} |
1970 |
– |
_ACEOF |
1971 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
1972 |
– |
eval "$4=yes" |
1973 |
– |
else |
1974 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1975 |
– |
/* end confdefs.h. */ |
1976 |
– |
$5 |
1977 |
– |
int |
1978 |
– |
main () |
1979 |
– |
{ |
1980 |
– |
static $2 ac_aggr; |
1981 |
– |
if (sizeof ac_aggr.$3) |
1982 |
– |
return 0; |
1983 |
– |
; |
1984 |
– |
return 0; |
1985 |
– |
} |
1986 |
– |
_ACEOF |
1987 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
1988 |
– |
eval "$4=yes" |
1989 |
– |
else |
1990 |
– |
eval "$4=no" |
1991 |
– |
fi |
1992 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1993 |
– |
fi |
1994 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1995 |
– |
fi |
1996 |
– |
eval ac_res=\$$4 |
1997 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1998 |
– |
$as_echo "$ac_res" >&6; } |
1999 |
– |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2000 |
– |
|
2001 |
– |
} # ac_fn_c_check_member |
2002 |
– |
|
1942 |
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1943 |
|
# ------------------------------------------------------- |
1944 |
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
2392 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2393 |
|
|
2394 |
|
|
2395 |
< |
am__api_version='1.13' |
2395 |
> |
am__api_version='1.14' |
2396 |
|
|
2397 |
|
ac_aux_dir= |
2398 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2947 |
|
# in the wild :-( We should find a proper way to deprecate it ... |
2948 |
|
AMTAR='$${TAR-tar}' |
2949 |
|
|
2950 |
+ |
|
2951 |
+ |
# We'll loop over all known methods to create a tar archive until one works. |
2952 |
+ |
_am_tools='gnutar pax cpio none' |
2953 |
+ |
|
2954 |
|
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
2955 |
|
|
2956 |
|
|
2958 |
|
|
2959 |
|
|
2960 |
|
|
2961 |
+ |
# POSIX will say in a future version that running "rm -f" with no argument |
2962 |
+ |
# is OK; and we want to be able to make that assumption in our Makefile |
2963 |
+ |
# recipes. So use an aggressive probe to check that the usage we want is |
2964 |
+ |
# actually supported "in the wild" to an acceptable degree. |
2965 |
+ |
# See automake bug#10828. |
2966 |
+ |
# To make any issue more visible, cause the running configure to be aborted |
2967 |
+ |
# by default if the 'rm' program in use doesn't match our expectations; the |
2968 |
+ |
# user can still override this though. |
2969 |
+ |
if rm -f && rm -fr && rm -rf; then : OK; else |
2970 |
+ |
cat >&2 <<'END' |
2971 |
+ |
Oops! |
2972 |
+ |
|
2973 |
+ |
Your 'rm' program seems unable to run without file operands specified |
2974 |
+ |
on the command line, even when the '-f' option is present. This is contrary |
2975 |
+ |
to the behaviour of most rm programs out there, and not conforming with |
2976 |
+ |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
2977 |
+ |
|
2978 |
+ |
Please tell bug-automake@gnu.org about your system, including the value |
2979 |
+ |
of your $PATH and any error possibly output before this message. This |
2980 |
+ |
can help us improve future automake versions. |
2981 |
+ |
|
2982 |
+ |
END |
2983 |
+ |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
2984 |
+ |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
2985 |
+ |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
2986 |
+ |
echo >&2 |
2987 |
+ |
else |
2988 |
+ |
cat >&2 <<'END' |
2989 |
+ |
Aborting the configuration process, to ensure you take notice of the issue. |
2990 |
+ |
|
2991 |
+ |
You can download and install GNU coreutils to get an 'rm' implementation |
2992 |
+ |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
2993 |
+ |
|
2994 |
+ |
If you want to complete the configuration process using your problematic |
2995 |
+ |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
2996 |
+ |
to "yes", and re-run configure. |
2997 |
+ |
|
2998 |
+ |
END |
2999 |
+ |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
3000 |
+ |
fi |
3001 |
+ |
fi |
3002 |
+ |
|
3003 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3004 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3005 |
|
# Check whether --enable-maintainer-mode was given. |
3022 |
|
MAINT=$MAINTAINER_MODE_TRUE |
3023 |
|
|
3024 |
|
|
3025 |
+ |
|
3026 |
|
ac_config_headers="$ac_config_headers config.h" |
3027 |
|
|
3028 |
|
|
3880 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3881 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3882 |
|
|
3883 |
+ |
ac_ext=c |
3884 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
3885 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3886 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3887 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3888 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
3889 |
+ |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
3890 |
+ |
if ${am_cv_prog_cc_c_o+:} false; then : |
3891 |
+ |
$as_echo_n "(cached) " >&6 |
3892 |
+ |
else |
3893 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3894 |
+ |
/* end confdefs.h. */ |
3895 |
+ |
|
3896 |
+ |
int |
3897 |
+ |
main () |
3898 |
+ |
{ |
3899 |
+ |
|
3900 |
+ |
; |
3901 |
+ |
return 0; |
3902 |
+ |
} |
3903 |
+ |
_ACEOF |
3904 |
+ |
# Make sure it works both with $CC and with simple cc. |
3905 |
+ |
# Following AC_PROG_CC_C_O, we do the test twice because some |
3906 |
+ |
# compilers refuse to overwrite an existing .o file with -o, |
3907 |
+ |
# though they will create one. |
3908 |
+ |
am_cv_prog_cc_c_o=yes |
3909 |
+ |
for am_i in 1 2; do |
3910 |
+ |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
3911 |
+ |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
3912 |
+ |
ac_status=$? |
3913 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3914 |
+ |
(exit $ac_status); } \ |
3915 |
+ |
&& test -f conftest2.$ac_objext; then |
3916 |
+ |
: OK |
3917 |
+ |
else |
3918 |
+ |
am_cv_prog_cc_c_o=no |
3919 |
+ |
break |
3920 |
+ |
fi |
3921 |
+ |
done |
3922 |
+ |
rm -f core conftest* |
3923 |
+ |
unset am_i |
3924 |
+ |
fi |
3925 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
3926 |
+ |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
3927 |
+ |
if test "$am_cv_prog_cc_c_o" != yes; then |
3928 |
+ |
# Losing compiler, so override with the script. |
3929 |
+ |
# FIXME: It is wrong to rewrite CC. |
3930 |
+ |
# But if we don't then we get into trouble of one sort or another. |
3931 |
+ |
# A longer-term fix would be to have automake use am__CC in this case, |
3932 |
+ |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
3933 |
+ |
CC="$am_aux_dir/compile $CC" |
3934 |
+ |
fi |
3935 |
+ |
ac_ext=c |
3936 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
3937 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3938 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3939 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3940 |
+ |
|
3941 |
+ |
|
3942 |
|
depcc="$CC" am_compiler_list= |
3943 |
|
|
3944 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
8499 |
|
$RM -r conftest* |
8500 |
|
|
8501 |
|
|
8502 |
+ |
## CAVEAT EMPTOR: |
8503 |
+ |
## There is no encapsulation within the following macros, do not change |
8504 |
+ |
## the running order or otherwise move them around unless you know exactly |
8505 |
+ |
## what you are doing... |
8506 |
|
if test -n "$compiler"; then |
8507 |
|
|
8508 |
|
lt_prog_compiler_no_builtin_flag= |
13116 |
|
|
13117 |
|
# Checks for libraries. |
13118 |
|
|
13119 |
+ |
|
13120 |
+ |
if test "X$CC" != "X"; then |
13121 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
13122 |
+ |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
13123 |
+ |
if ${ssp_cv_cc+:} false; then : |
13124 |
+ |
$as_echo_n "(cached) " >&6 |
13125 |
+ |
else |
13126 |
+ |
ssp_old_cflags="$CFLAGS" |
13127 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
13128 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13129 |
+ |
/* end confdefs.h. */ |
13130 |
+ |
|
13131 |
+ |
int |
13132 |
+ |
main () |
13133 |
+ |
{ |
13134 |
+ |
|
13135 |
+ |
; |
13136 |
+ |
return 0; |
13137 |
+ |
} |
13138 |
+ |
_ACEOF |
13139 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
13140 |
+ |
ssp_cv_cc=yes |
13141 |
+ |
else |
13142 |
+ |
ssp_cv_cc=no |
13143 |
+ |
fi |
13144 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13145 |
+ |
CFLAGS="$ssp_old_cflags" |
13146 |
+ |
|
13147 |
+ |
fi |
13148 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
13149 |
+ |
$as_echo "$ssp_cv_cc" >&6; } |
13150 |
+ |
if test $ssp_cv_cc = yes; then |
13151 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
13152 |
+ |
|
13153 |
+ |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
13154 |
+ |
|
13155 |
+ |
fi |
13156 |
+ |
fi |
13157 |
+ |
|
13158 |
+ |
|
13159 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5 |
13160 |
+ |
$as_echo_n "checking whether libssp exists... " >&6; } |
13161 |
+ |
if ${ssp_cv_lib+:} false; then : |
13162 |
+ |
$as_echo_n "(cached) " >&6 |
13163 |
+ |
else |
13164 |
+ |
ssp_old_libs="$LIBS" |
13165 |
+ |
LIBS="$LIBS -lssp" |
13166 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13167 |
+ |
/* end confdefs.h. */ |
13168 |
+ |
|
13169 |
+ |
int |
13170 |
+ |
main () |
13171 |
+ |
{ |
13172 |
+ |
|
13173 |
+ |
; |
13174 |
+ |
return 0; |
13175 |
+ |
} |
13176 |
+ |
_ACEOF |
13177 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
13178 |
+ |
ssp_cv_lib=yes |
13179 |
+ |
else |
13180 |
+ |
ssp_cv_lib=no |
13181 |
+ |
fi |
13182 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
13183 |
+ |
conftest$ac_exeext conftest.$ac_ext |
13184 |
+ |
LIBS="$ssp_old_libs" |
13185 |
+ |
|
13186 |
+ |
fi |
13187 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5 |
13188 |
+ |
$as_echo "$ssp_cv_lib" >&6; } |
13189 |
+ |
if test $ssp_cv_lib = yes; then |
13190 |
+ |
LIBS="$LIBS -lssp" |
13191 |
+ |
fi |
13192 |
+ |
|
13193 |
+ |
|
13194 |
+ |
|
13195 |
+ |
|
13196 |
+ |
|
13197 |
+ |
|
13198 |
+ |
for flag in -fno-strict-aliasing; do |
13199 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
13200 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
13201 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
13202 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
13203 |
+ |
$as_echo_n "(cached) " >&6 |
13204 |
+ |
else |
13205 |
+ |
|
13206 |
+ |
ax_check_save_flags=$CFLAGS |
13207 |
+ |
CFLAGS="$CFLAGS $flag" |
13208 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13209 |
+ |
/* end confdefs.h. */ |
13210 |
+ |
|
13211 |
+ |
int |
13212 |
+ |
main () |
13213 |
+ |
{ |
13214 |
+ |
|
13215 |
+ |
; |
13216 |
+ |
return 0; |
13217 |
+ |
} |
13218 |
+ |
_ACEOF |
13219 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
13220 |
+ |
eval "$as_CACHEVAR=yes" |
13221 |
+ |
else |
13222 |
+ |
eval "$as_CACHEVAR=no" |
13223 |
+ |
fi |
13224 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13225 |
+ |
CFLAGS=$ax_check_save_flags |
13226 |
+ |
fi |
13227 |
+ |
eval ac_res=\$$as_CACHEVAR |
13228 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
13229 |
+ |
$as_echo "$ac_res" >&6; } |
13230 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
13231 |
+ |
if ${CFLAGS+:} false; then : |
13232 |
+ |
case " $CFLAGS " in |
13233 |
+ |
*" $flag "*) |
13234 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
13235 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
13236 |
+ |
ac_status=$? |
13237 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13238 |
+ |
test $ac_status = 0; } |
13239 |
+ |
;; |
13240 |
+ |
*) |
13241 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
13242 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
13243 |
+ |
ac_status=$? |
13244 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13245 |
+ |
test $ac_status = 0; } |
13246 |
+ |
CFLAGS="$CFLAGS $flag" |
13247 |
+ |
;; |
13248 |
+ |
esac |
13249 |
+ |
else |
13250 |
+ |
CFLAGS="$flag" |
13251 |
+ |
fi |
13252 |
+ |
|
13253 |
+ |
else |
13254 |
+ |
: |
13255 |
+ |
fi |
13256 |
+ |
|
13257 |
+ |
done |
13258 |
+ |
|
13259 |
+ |
|
13260 |
|
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
13261 |
|
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
13262 |
|
|
13439 |
|
as_fn_error $? "socket library not found" "$LINENO" 5 |
13440 |
|
fi |
13441 |
|
|
13442 |
+ |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
13443 |
+ |
" |
13444 |
+ |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
13445 |
+ |
|
13446 |
+ |
$as_echo "#define IPV6 1" >>confdefs.h |
13447 |
+ |
|
13448 |
+ |
fi |
13449 |
+ |
|
13450 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
13451 |
|
#include <sys/socket.h> |
13452 |
|
#include <netdb.h> |
13487 |
|
|
13488 |
|
fi |
13489 |
|
|
13292 |
– |
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
13293 |
– |
<sys/socket.h> |
13294 |
– |
" |
13295 |
– |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : |
13296 |
– |
|
13297 |
– |
cat >>confdefs.h <<_ACEOF |
13298 |
– |
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
13299 |
– |
_ACEOF |
13300 |
– |
|
13301 |
– |
|
13302 |
– |
fi |
13303 |
– |
|
13304 |
– |
|
13305 |
– |
|
13306 |
– |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
13307 |
– |
" |
13308 |
– |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
13309 |
– |
|
13310 |
– |
$as_echo "#define IPV6 1" >>confdefs.h |
13311 |
– |
|
13312 |
– |
fi |
13313 |
– |
|
13490 |
|
|
13491 |
|
|
13492 |
|
# Checks for typedefs, structures, and compiler characteristics. |
13832 |
|
fi |
13833 |
|
|
13834 |
|
|
13835 |
< |
# Check whether --enable-libpcre was given. |
13836 |
< |
if test "${enable_libpcre+set}" = set; then : |
13837 |
< |
enableval=$enable_libpcre; |
13838 |
< |
else |
13839 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
13840 |
< |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
13841 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5 |
13842 |
< |
$as_echo_n "checking for library containing pcre_study... " >&6; } |
13843 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
13835 |
> |
# Check whether --enable-libgeoip was given. |
13836 |
> |
if test "${enable_libgeoip+set}" = set; then : |
13837 |
> |
enableval=$enable_libgeoip; |
13838 |
> |
else |
13839 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
13840 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
13841 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
13842 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
13843 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13844 |
|
$as_echo_n "(cached) " >&6 |
13845 |
|
else |
13846 |
|
ac_func_search_save_LIBS=$LIBS |
13853 |
|
#ifdef __cplusplus |
13854 |
|
extern "C" |
13855 |
|
#endif |
13856 |
< |
char pcre_study (); |
13856 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
13857 |
|
int |
13858 |
|
main () |
13859 |
|
{ |
13860 |
< |
return pcre_study (); |
13860 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
13861 |
|
; |
13862 |
|
return 0; |
13863 |
|
} |
13864 |
|
_ACEOF |
13865 |
< |
for ac_lib in '' pcre; do |
13865 |
> |
for ac_lib in '' GeoIP; do |
13866 |
|
if test -z "$ac_lib"; then |
13867 |
|
ac_res="none required" |
13868 |
|
else |
13870 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13871 |
|
fi |
13872 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13873 |
< |
ac_cv_search_pcre_study=$ac_res |
13873 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
13874 |
|
fi |
13875 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13876 |
|
conftest$ac_exeext |
13877 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
13877 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13878 |
|
break |
13879 |
|
fi |
13880 |
|
done |
13881 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
13881 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13882 |
|
|
13883 |
|
else |
13884 |
< |
ac_cv_search_pcre_study=no |
13884 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
13885 |
|
fi |
13886 |
|
rm conftest.$ac_ext |
13887 |
|
LIBS=$ac_func_search_save_LIBS |
13888 |
|
fi |
13889 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5 |
13890 |
< |
$as_echo "$ac_cv_search_pcre_study" >&6; } |
13891 |
< |
ac_res=$ac_cv_search_pcre_study |
13889 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
13890 |
> |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
13891 |
> |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
13892 |
|
if test "$ac_res" != no; then : |
13893 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13894 |
|
|
13895 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
13895 |
> |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
13896 |
|
|
13897 |
|
fi |
13898 |
|
|
13902 |
|
fi |
13903 |
|
|
13904 |
|
|
13905 |
+ |
|
13906 |
|
# Check whether --enable-openssl was given. |
13907 |
|
if test "${enable_openssl+set}" = set; then : |
13908 |
|
enableval=$enable_openssl; cf_enable_openssl=$enableval |
13957 |
|
fi |
13958 |
|
|
13959 |
|
if test "$cf_enable_openssl" != "no"; then : |
13960 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8s or above" >&5 |
13961 |
< |
$as_echo_n "checking for OpenSSL 0.9.8s or above... " >&6; } |
13960 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5 |
13961 |
> |
$as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; } |
13962 |
|
if test "$cross_compiling" = yes; then : |
13963 |
|
cf_openssl_version_ok=no |
13964 |
|
else |
13971 |
|
int |
13972 |
|
main () |
13973 |
|
{ |
13974 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x0090813f)); |
13974 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
13975 |
|
; |
13976 |
|
return 0; |
13977 |
|
} |
14115 |
|
fi |
14116 |
|
|
14117 |
|
|
14118 |
+ |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
14119 |
|
|
13942 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h |
14120 |
|
|
14121 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
14122 |
|
|
13945 |
– |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 64*1024" >>confdefs.h |
14123 |
|
|
14124 |
+ |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
14125 |
|
|
13948 |
– |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 32*1024" >>confdefs.h |
14126 |
|
|
14127 |
+ |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
14128 |
|
|
13951 |
– |
$as_echo "#define MP_CHUNK_SIZE_BAN 16*1024" >>confdefs.h |
14129 |
|
|
14130 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
14131 |
|
|
13954 |
– |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 256*1024" >>confdefs.h |
14132 |
|
|
14133 |
+ |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
14134 |
|
|
13957 |
– |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 128*1024" >>confdefs.h |
14135 |
|
|
14136 |
< |
|
13960 |
< |
$as_echo "#define MP_CHUNK_SIZE_DNODE 8*1024" >>confdefs.h |
14136 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
14137 |
|
|
14138 |
|
|
14139 |
|
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
14140 |
|
|
14141 |
|
|
14142 |
< |
$as_echo "#define MP_CHUNK_SIZE_AUTH 32*1024" >>confdefs.h |
14142 |
> |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
14143 |
> |
|
14144 |
> |
|
14145 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
14146 |
> |
|
14147 |
|
|
14148 |
+ |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
14149 |
|
|
13969 |
– |
$as_echo "#define MP_CHUNK_SIZE_DNS 16*1024" >>confdefs.h |
14150 |
|
|
14151 |
+ |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
14152 |
|
|
14153 |
< |
$as_echo "#define MP_CHUNK_SIZE_WATCH 4*1024" >>confdefs.h |
14153 |
> |
|
14154 |
> |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
14155 |
> |
|
14156 |
> |
|
14157 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
14158 |
|
|
14159 |
|
|
14160 |
|
# Argument processing. |
14161 |
|
|
14162 |
< |
desired_iopoll_mechanism="none" |
14163 |
< |
# Check whether --enable-kqueue was given. |
14162 |
> |
desired_iopoll_mechanism="none" |
14163 |
> |
|
14164 |
> |
# Check whether --enable-kqueue was given. |
14165 |
|
if test "${enable_kqueue+set}" = set; then : |
14166 |
|
enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue" |
14167 |
|
fi |
14181 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
14182 |
|
fi |
14183 |
|
|
13998 |
– |
# Check whether --enable-select was given. |
13999 |
– |
if test "${enable_select+set}" = set; then : |
14000 |
– |
enableval=$enable_select; desired_iopoll_mechanism="select" |
14001 |
– |
fi |
14184 |
|
|
14185 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
14185 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
14186 |
|
$as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; } |
14187 |
+ |
|
14188 |
|
iopoll_mechanism_none=0 |
14189 |
|
|
14190 |
|
cat >>confdefs.h <<_ACEOF |
14191 |
|
#define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none |
14192 |
|
_ACEOF |
14193 |
|
|
14194 |
< |
iopoll_mechanism_kqueue=1 |
14194 |
> |
|
14195 |
> |
iopoll_mechanism_kqueue=1 |
14196 |
|
|
14197 |
|
cat >>confdefs.h <<_ACEOF |
14198 |
|
#define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue |
14246 |
|
fi |
14247 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14248 |
|
conftest$ac_exeext conftest.$ac_ext |
14249 |
< |
iopoll_mechanism_epoll=2 |
14249 |
> |
|
14250 |
> |
iopoll_mechanism_epoll=2 |
14251 |
|
|
14252 |
|
cat >>confdefs.h <<_ACEOF |
14253 |
|
#define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll |
14254 |
|
_ACEOF |
14255 |
|
|
14071 |
– |
if test "$cross_compiling" = yes; then : |
14072 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
14073 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
14074 |
– |
as_fn_error $? "cannot run test program while cross compiling |
14075 |
– |
See \`config.log' for more details" "$LINENO" 5; } |
14076 |
– |
else |
14256 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14257 |
|
/* end confdefs.h. */ |
14079 |
– |
|
14258 |
|
#include <sys/epoll.h> |
14081 |
– |
#include <sys/syscall.h> |
14082 |
– |
#if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY) |
14083 |
– |
#if !defined(__NR_epoll_create) |
14084 |
– |
#if defined(__ia64__) |
14085 |
– |
#define __NR_epoll_create 1243 |
14086 |
– |
#elif defined(__x86_64__) |
14087 |
– |
#define __NR_epoll_create 214 |
14088 |
– |
#elif defined(__sparc64__) || defined(__sparc__) |
14089 |
– |
#define __NR_epoll_create 193 |
14090 |
– |
#elif defined(__s390__) || defined(__m68k__) |
14091 |
– |
#define __NR_epoll_create 249 |
14092 |
– |
#elif defined(__ppc64__) || defined(__ppc__) |
14093 |
– |
#define __NR_epoll_create 236 |
14094 |
– |
#elif defined(__parisc__) || defined(__arm26__) || defined(__arm__) |
14095 |
– |
#define __NR_epoll_create 224 |
14096 |
– |
#elif defined(__alpha__) |
14097 |
– |
#define __NR_epoll_create 407 |
14098 |
– |
#elif defined(__sh64__) |
14099 |
– |
#define __NR_epoll_create 282 |
14100 |
– |
#elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__) |
14101 |
– |
#define __NR_epoll_create 254 |
14102 |
– |
#else |
14103 |
– |
#error No system call numbers defined for epoll family. |
14104 |
– |
#endif |
14105 |
– |
#endif |
14106 |
– |
_syscall1(int, epoll_create, int, size) |
14107 |
– |
#endif |
14108 |
– |
|
14259 |
|
int |
14260 |
|
main () |
14261 |
|
{ |
14262 |
< |
return epoll_create(256) == -1 ? 1 : 0 |
14262 |
> |
epoll_create(256); |
14263 |
|
; |
14264 |
|
return 0; |
14265 |
|
} |
14266 |
|
_ACEOF |
14267 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
14267 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
14268 |
|
is_epoll_mechanism_available="yes" |
14269 |
|
else |
14270 |
|
is_epoll_mechanism_available="no" |
14271 |
|
fi |
14272 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
14273 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
14124 |
< |
fi |
14272 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
14273 |
> |
conftest$ac_exeext conftest.$ac_ext |
14274 |
|
|
14275 |
< |
iopoll_mechanism_devpoll=3 |
14275 |
> |
iopoll_mechanism_devpoll=3 |
14276 |
|
|
14277 |
|
cat >>confdefs.h <<_ACEOF |
14278 |
|
#define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll |
14322 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
14323 |
|
|
14324 |
|
fi |
14325 |
< |
iopoll_mechanism_poll=4 |
14325 |
> |
|
14326 |
> |
iopoll_mechanism_poll=4 |
14327 |
|
|
14328 |
|
cat >>confdefs.h <<_ACEOF |
14329 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
14377 |
|
fi |
14378 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14379 |
|
conftest$ac_exeext conftest.$ac_ext |
14230 |
– |
iopoll_mechanism_select=5 |
14380 |
|
|
14381 |
< |
cat >>confdefs.h <<_ACEOF |
14382 |
< |
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
14234 |
< |
_ACEOF |
14235 |
< |
|
14236 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14237 |
< |
/* end confdefs.h. */ |
14238 |
< |
/* Define select to an innocuous variant, in case <limits.h> declares select. |
14239 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
14240 |
< |
#define select innocuous_select |
14241 |
< |
|
14242 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
14243 |
< |
which can conflict with char select (); below. |
14244 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
14245 |
< |
<limits.h> exists even on freestanding compilers. */ |
14246 |
< |
|
14247 |
< |
#ifdef __STDC__ |
14248 |
< |
# include <limits.h> |
14249 |
< |
#else |
14250 |
< |
# include <assert.h> |
14251 |
< |
#endif |
14252 |
< |
|
14253 |
< |
#undef select |
14254 |
< |
|
14255 |
< |
/* Override any GCC internal prototype to avoid an error. |
14256 |
< |
Use char because int might match the return type of a GCC |
14257 |
< |
builtin and then its argument prototype would still apply. */ |
14258 |
< |
#ifdef __cplusplus |
14259 |
< |
extern "C" |
14260 |
< |
#endif |
14261 |
< |
char select (); |
14262 |
< |
/* The GNU C library defines this for functions which it implements |
14263 |
< |
to always fail with ENOSYS. Some functions are actually named |
14264 |
< |
something starting with __ and the normal name is an alias. */ |
14265 |
< |
#if defined __stub_select || defined __stub___select |
14266 |
< |
choke me |
14267 |
< |
#endif |
14268 |
< |
|
14269 |
< |
int |
14270 |
< |
main () |
14271 |
< |
{ |
14272 |
< |
return select (); |
14273 |
< |
; |
14274 |
< |
return 0; |
14275 |
< |
} |
14276 |
< |
_ACEOF |
14277 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
14278 |
< |
is_select_mechanism_available="yes" |
14279 |
< |
else |
14280 |
< |
is_select_mechanism_available="no" |
14281 |
< |
fi |
14282 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
14283 |
< |
conftest$ac_exeext conftest.$ac_ext |
14284 |
< |
optimal_iopoll_mechanism="none" |
14285 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
14381 |
> |
optimal_iopoll_mechanism="none" |
14382 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important |
14383 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
14384 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
14385 |
|
optimal_iopoll_mechanism="$mechanism" |
14386 |
|
break |
14387 |
|
fi |
14388 |
|
done |
14389 |
< |
if test "$desired_iopoll_mechanism" = "none" ; then |
14389 |
> |
|
14390 |
> |
if test "$desired_iopoll_mechanism" = "none" ; then |
14391 |
|
if test "$optimal_iopoll_mechanism" = "none" ; then |
14392 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
14393 |
|
$as_echo "none" >&6; } |
14409 |
|
as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
14410 |
|
fi |
14411 |
|
fi |
14412 |
< |
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
14412 |
> |
|
14413 |
> |
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
14414 |
|
|
14415 |
|
cat >>confdefs.h <<_ACEOF |
14416 |
|
#define USE_IOPOLL_MECHANISM $use_iopoll_mechanism |
14418 |
|
|
14419 |
|
|
14420 |
|
|
14322 |
– |
# Check whether --enable-halfops was given. |
14323 |
– |
if test "${enable_halfops+set}" = set; then : |
14324 |
– |
enableval=$enable_halfops; halfops="$enableval" |
14325 |
– |
else |
14326 |
– |
halfops="no" |
14327 |
– |
fi |
14328 |
– |
|
14329 |
– |
if test "$halfops" = "yes" ; then |
14330 |
– |
|
14331 |
– |
$as_echo "#define HALFOPS 1" >>confdefs.h |
14332 |
– |
|
14333 |
– |
fi |
14334 |
– |
|
14335 |
– |
|
14421 |
|
# Check whether --enable-debugging was given. |
14422 |
|
if test "${enable_debugging+set}" = set; then : |
14423 |
|
enableval=$enable_debugging; debugging="$enableval" |
14437 |
|
warnings="no" |
14438 |
|
fi |
14439 |
|
|
14440 |
+ |
|
14441 |
|
if test "$warnings" = "yes" ; then |
14442 |
< |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
14442 |
> |
|
14443 |
> |
|
14444 |
> |
|
14445 |
> |
|
14446 |
> |
for flag in -Wall; do |
14447 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14448 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14449 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14450 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14451 |
> |
$as_echo_n "(cached) " >&6 |
14452 |
> |
else |
14453 |
> |
|
14454 |
> |
ax_check_save_flags=$CFLAGS |
14455 |
> |
CFLAGS="$CFLAGS $flag" |
14456 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14457 |
> |
/* end confdefs.h. */ |
14458 |
> |
|
14459 |
> |
int |
14460 |
> |
main () |
14461 |
> |
{ |
14462 |
> |
|
14463 |
> |
; |
14464 |
> |
return 0; |
14465 |
> |
} |
14466 |
> |
_ACEOF |
14467 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14468 |
> |
eval "$as_CACHEVAR=yes" |
14469 |
> |
else |
14470 |
> |
eval "$as_CACHEVAR=no" |
14471 |
> |
fi |
14472 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14473 |
> |
CFLAGS=$ax_check_save_flags |
14474 |
> |
fi |
14475 |
> |
eval ac_res=\$$as_CACHEVAR |
14476 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14477 |
> |
$as_echo "$ac_res" >&6; } |
14478 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14479 |
> |
if ${CFLAGS+:} false; then : |
14480 |
> |
case " $CFLAGS " in |
14481 |
> |
*" $flag "*) |
14482 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14483 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14484 |
> |
ac_status=$? |
14485 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14486 |
> |
test $ac_status = 0; } |
14487 |
> |
;; |
14488 |
> |
*) |
14489 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14490 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14491 |
> |
ac_status=$? |
14492 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14493 |
> |
test $ac_status = 0; } |
14494 |
> |
CFLAGS="$CFLAGS $flag" |
14495 |
> |
;; |
14496 |
> |
esac |
14497 |
> |
else |
14498 |
> |
CFLAGS="$flag" |
14499 |
> |
fi |
14500 |
> |
|
14501 |
> |
else |
14502 |
> |
: |
14503 |
> |
fi |
14504 |
> |
|
14505 |
> |
done |
14506 |
> |
|
14507 |
> |
|
14508 |
> |
|
14509 |
> |
|
14510 |
> |
|
14511 |
> |
for flag in -Wextra; do |
14512 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14513 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14514 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14515 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14516 |
> |
$as_echo_n "(cached) " >&6 |
14517 |
> |
else |
14518 |
> |
|
14519 |
> |
ax_check_save_flags=$CFLAGS |
14520 |
> |
CFLAGS="$CFLAGS $flag" |
14521 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14522 |
> |
/* end confdefs.h. */ |
14523 |
> |
|
14524 |
> |
int |
14525 |
> |
main () |
14526 |
> |
{ |
14527 |
> |
|
14528 |
> |
; |
14529 |
> |
return 0; |
14530 |
> |
} |
14531 |
> |
_ACEOF |
14532 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14533 |
> |
eval "$as_CACHEVAR=yes" |
14534 |
> |
else |
14535 |
> |
eval "$as_CACHEVAR=no" |
14536 |
> |
fi |
14537 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14538 |
> |
CFLAGS=$ax_check_save_flags |
14539 |
> |
fi |
14540 |
> |
eval ac_res=\$$as_CACHEVAR |
14541 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14542 |
> |
$as_echo "$ac_res" >&6; } |
14543 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14544 |
> |
if ${CFLAGS+:} false; then : |
14545 |
> |
case " $CFLAGS " in |
14546 |
> |
*" $flag "*) |
14547 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14548 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14549 |
> |
ac_status=$? |
14550 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14551 |
> |
test $ac_status = 0; } |
14552 |
> |
;; |
14553 |
> |
*) |
14554 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14555 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14556 |
> |
ac_status=$? |
14557 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14558 |
> |
test $ac_status = 0; } |
14559 |
> |
CFLAGS="$CFLAGS $flag" |
14560 |
> |
;; |
14561 |
> |
esac |
14562 |
> |
else |
14563 |
> |
CFLAGS="$flag" |
14564 |
> |
fi |
14565 |
> |
|
14566 |
> |
else |
14567 |
> |
: |
14568 |
> |
fi |
14569 |
> |
|
14570 |
> |
done |
14571 |
> |
|
14572 |
> |
|
14573 |
> |
|
14574 |
> |
|
14575 |
> |
|
14576 |
> |
for flag in -Wno-unused; do |
14577 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14578 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14579 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14580 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14581 |
> |
$as_echo_n "(cached) " >&6 |
14582 |
> |
else |
14583 |
> |
|
14584 |
> |
ax_check_save_flags=$CFLAGS |
14585 |
> |
CFLAGS="$CFLAGS $flag" |
14586 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14587 |
> |
/* end confdefs.h. */ |
14588 |
> |
|
14589 |
> |
int |
14590 |
> |
main () |
14591 |
> |
{ |
14592 |
> |
|
14593 |
> |
; |
14594 |
> |
return 0; |
14595 |
> |
} |
14596 |
> |
_ACEOF |
14597 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14598 |
> |
eval "$as_CACHEVAR=yes" |
14599 |
> |
else |
14600 |
> |
eval "$as_CACHEVAR=no" |
14601 |
> |
fi |
14602 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14603 |
> |
CFLAGS=$ax_check_save_flags |
14604 |
> |
fi |
14605 |
> |
eval ac_res=\$$as_CACHEVAR |
14606 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14607 |
> |
$as_echo "$ac_res" >&6; } |
14608 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14609 |
> |
if ${CFLAGS+:} false; then : |
14610 |
> |
case " $CFLAGS " in |
14611 |
> |
*" $flag "*) |
14612 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14613 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14614 |
> |
ac_status=$? |
14615 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14616 |
> |
test $ac_status = 0; } |
14617 |
> |
;; |
14618 |
> |
*) |
14619 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14620 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14621 |
> |
ac_status=$? |
14622 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14623 |
> |
test $ac_status = 0; } |
14624 |
> |
CFLAGS="$CFLAGS $flag" |
14625 |
> |
;; |
14626 |
> |
esac |
14627 |
> |
else |
14628 |
> |
CFLAGS="$flag" |
14629 |
> |
fi |
14630 |
> |
|
14631 |
> |
else |
14632 |
> |
: |
14633 |
> |
fi |
14634 |
> |
|
14635 |
> |
done |
14636 |
> |
|
14637 |
> |
|
14638 |
> |
|
14639 |
> |
|
14640 |
> |
|
14641 |
> |
for flag in -Wcast-qual; do |
14642 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14643 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14644 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14645 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14646 |
> |
$as_echo_n "(cached) " >&6 |
14647 |
> |
else |
14648 |
> |
|
14649 |
> |
ax_check_save_flags=$CFLAGS |
14650 |
> |
CFLAGS="$CFLAGS $flag" |
14651 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14652 |
> |
/* end confdefs.h. */ |
14653 |
> |
|
14654 |
> |
int |
14655 |
> |
main () |
14656 |
> |
{ |
14657 |
> |
|
14658 |
> |
; |
14659 |
> |
return 0; |
14660 |
> |
} |
14661 |
> |
_ACEOF |
14662 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14663 |
> |
eval "$as_CACHEVAR=yes" |
14664 |
> |
else |
14665 |
> |
eval "$as_CACHEVAR=no" |
14666 |
> |
fi |
14667 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14668 |
> |
CFLAGS=$ax_check_save_flags |
14669 |
> |
fi |
14670 |
> |
eval ac_res=\$$as_CACHEVAR |
14671 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14672 |
> |
$as_echo "$ac_res" >&6; } |
14673 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14674 |
> |
if ${CFLAGS+:} false; then : |
14675 |
> |
case " $CFLAGS " in |
14676 |
> |
*" $flag "*) |
14677 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14678 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14679 |
> |
ac_status=$? |
14680 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14681 |
> |
test $ac_status = 0; } |
14682 |
> |
;; |
14683 |
> |
*) |
14684 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14685 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14686 |
> |
ac_status=$? |
14687 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14688 |
> |
test $ac_status = 0; } |
14689 |
> |
CFLAGS="$CFLAGS $flag" |
14690 |
> |
;; |
14691 |
> |
esac |
14692 |
> |
else |
14693 |
> |
CFLAGS="$flag" |
14694 |
> |
fi |
14695 |
> |
|
14696 |
> |
else |
14697 |
> |
: |
14698 |
> |
fi |
14699 |
> |
|
14700 |
> |
done |
14701 |
> |
|
14702 |
> |
|
14703 |
> |
|
14704 |
> |
|
14705 |
> |
|
14706 |
> |
for flag in -Wcast-align; do |
14707 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14708 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14709 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14710 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14711 |
> |
$as_echo_n "(cached) " >&6 |
14712 |
> |
else |
14713 |
> |
|
14714 |
> |
ax_check_save_flags=$CFLAGS |
14715 |
> |
CFLAGS="$CFLAGS $flag" |
14716 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14717 |
> |
/* end confdefs.h. */ |
14718 |
> |
|
14719 |
> |
int |
14720 |
> |
main () |
14721 |
> |
{ |
14722 |
> |
|
14723 |
> |
; |
14724 |
> |
return 0; |
14725 |
> |
} |
14726 |
> |
_ACEOF |
14727 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14728 |
> |
eval "$as_CACHEVAR=yes" |
14729 |
> |
else |
14730 |
> |
eval "$as_CACHEVAR=no" |
14731 |
> |
fi |
14732 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14733 |
> |
CFLAGS=$ax_check_save_flags |
14734 |
> |
fi |
14735 |
> |
eval ac_res=\$$as_CACHEVAR |
14736 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14737 |
> |
$as_echo "$ac_res" >&6; } |
14738 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14739 |
> |
if ${CFLAGS+:} false; then : |
14740 |
> |
case " $CFLAGS " in |
14741 |
> |
*" $flag "*) |
14742 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14743 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14744 |
> |
ac_status=$? |
14745 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14746 |
> |
test $ac_status = 0; } |
14747 |
> |
;; |
14748 |
> |
*) |
14749 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14750 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14751 |
> |
ac_status=$? |
14752 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14753 |
> |
test $ac_status = 0; } |
14754 |
> |
CFLAGS="$CFLAGS $flag" |
14755 |
> |
;; |
14756 |
> |
esac |
14757 |
> |
else |
14758 |
> |
CFLAGS="$flag" |
14759 |
> |
fi |
14760 |
> |
|
14761 |
> |
else |
14762 |
> |
: |
14763 |
> |
fi |
14764 |
> |
|
14765 |
> |
done |
14766 |
> |
|
14767 |
> |
|
14768 |
> |
|
14769 |
> |
|
14770 |
> |
|
14771 |
> |
for flag in -Wbad-function-cast; do |
14772 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14773 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14774 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14775 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14776 |
> |
$as_echo_n "(cached) " >&6 |
14777 |
> |
else |
14778 |
> |
|
14779 |
> |
ax_check_save_flags=$CFLAGS |
14780 |
> |
CFLAGS="$CFLAGS $flag" |
14781 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14782 |
> |
/* end confdefs.h. */ |
14783 |
> |
|
14784 |
> |
int |
14785 |
> |
main () |
14786 |
> |
{ |
14787 |
> |
|
14788 |
> |
; |
14789 |
> |
return 0; |
14790 |
> |
} |
14791 |
> |
_ACEOF |
14792 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14793 |
> |
eval "$as_CACHEVAR=yes" |
14794 |
> |
else |
14795 |
> |
eval "$as_CACHEVAR=no" |
14796 |
> |
fi |
14797 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14798 |
> |
CFLAGS=$ax_check_save_flags |
14799 |
> |
fi |
14800 |
> |
eval ac_res=\$$as_CACHEVAR |
14801 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14802 |
> |
$as_echo "$ac_res" >&6; } |
14803 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14804 |
> |
if ${CFLAGS+:} false; then : |
14805 |
> |
case " $CFLAGS " in |
14806 |
> |
*" $flag "*) |
14807 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14808 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14809 |
> |
ac_status=$? |
14810 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14811 |
> |
test $ac_status = 0; } |
14812 |
> |
;; |
14813 |
> |
*) |
14814 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14815 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14816 |
> |
ac_status=$? |
14817 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14818 |
> |
test $ac_status = 0; } |
14819 |
> |
CFLAGS="$CFLAGS $flag" |
14820 |
> |
;; |
14821 |
> |
esac |
14822 |
> |
else |
14823 |
> |
CFLAGS="$flag" |
14824 |
> |
fi |
14825 |
> |
|
14826 |
> |
else |
14827 |
> |
: |
14828 |
> |
fi |
14829 |
> |
|
14830 |
> |
done |
14831 |
> |
|
14832 |
> |
|
14833 |
> |
|
14834 |
> |
|
14835 |
> |
|
14836 |
> |
for flag in -Wlogical-op; do |
14837 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14838 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14839 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14840 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14841 |
> |
$as_echo_n "(cached) " >&6 |
14842 |
> |
else |
14843 |
> |
|
14844 |
> |
ax_check_save_flags=$CFLAGS |
14845 |
> |
CFLAGS="$CFLAGS $flag" |
14846 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14847 |
> |
/* end confdefs.h. */ |
14848 |
> |
|
14849 |
> |
int |
14850 |
> |
main () |
14851 |
> |
{ |
14852 |
> |
|
14853 |
> |
; |
14854 |
> |
return 0; |
14855 |
> |
} |
14856 |
> |
_ACEOF |
14857 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14858 |
> |
eval "$as_CACHEVAR=yes" |
14859 |
> |
else |
14860 |
> |
eval "$as_CACHEVAR=no" |
14861 |
> |
fi |
14862 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14863 |
> |
CFLAGS=$ax_check_save_flags |
14864 |
> |
fi |
14865 |
> |
eval ac_res=\$$as_CACHEVAR |
14866 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14867 |
> |
$as_echo "$ac_res" >&6; } |
14868 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14869 |
> |
if ${CFLAGS+:} false; then : |
14870 |
> |
case " $CFLAGS " in |
14871 |
> |
*" $flag "*) |
14872 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14873 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14874 |
> |
ac_status=$? |
14875 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14876 |
> |
test $ac_status = 0; } |
14877 |
> |
;; |
14878 |
> |
*) |
14879 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14880 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14881 |
> |
ac_status=$? |
14882 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14883 |
> |
test $ac_status = 0; } |
14884 |
> |
CFLAGS="$CFLAGS $flag" |
14885 |
> |
;; |
14886 |
> |
esac |
14887 |
> |
else |
14888 |
> |
CFLAGS="$flag" |
14889 |
> |
fi |
14890 |
> |
|
14891 |
> |
else |
14892 |
> |
: |
14893 |
> |
fi |
14894 |
> |
|
14895 |
> |
done |
14896 |
> |
|
14897 |
> |
|
14898 |
> |
|
14899 |
> |
|
14900 |
> |
|
14901 |
> |
for flag in -Wmissing-declarations; do |
14902 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14903 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14904 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14905 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14906 |
> |
$as_echo_n "(cached) " >&6 |
14907 |
> |
else |
14908 |
> |
|
14909 |
> |
ax_check_save_flags=$CFLAGS |
14910 |
> |
CFLAGS="$CFLAGS $flag" |
14911 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14912 |
> |
/* end confdefs.h. */ |
14913 |
> |
|
14914 |
> |
int |
14915 |
> |
main () |
14916 |
> |
{ |
14917 |
> |
|
14918 |
> |
; |
14919 |
> |
return 0; |
14920 |
> |
} |
14921 |
> |
_ACEOF |
14922 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14923 |
> |
eval "$as_CACHEVAR=yes" |
14924 |
> |
else |
14925 |
> |
eval "$as_CACHEVAR=no" |
14926 |
> |
fi |
14927 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14928 |
> |
CFLAGS=$ax_check_save_flags |
14929 |
> |
fi |
14930 |
> |
eval ac_res=\$$as_CACHEVAR |
14931 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14932 |
> |
$as_echo "$ac_res" >&6; } |
14933 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14934 |
> |
if ${CFLAGS+:} false; then : |
14935 |
> |
case " $CFLAGS " in |
14936 |
> |
*" $flag "*) |
14937 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14938 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14939 |
> |
ac_status=$? |
14940 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14941 |
> |
test $ac_status = 0; } |
14942 |
> |
;; |
14943 |
> |
*) |
14944 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14945 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14946 |
> |
ac_status=$? |
14947 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14948 |
> |
test $ac_status = 0; } |
14949 |
> |
CFLAGS="$CFLAGS $flag" |
14950 |
> |
;; |
14951 |
> |
esac |
14952 |
> |
else |
14953 |
> |
CFLAGS="$flag" |
14954 |
> |
fi |
14955 |
> |
|
14956 |
> |
else |
14957 |
> |
: |
14958 |
> |
fi |
14959 |
> |
|
14960 |
> |
done |
14961 |
> |
|
14962 |
> |
|
14963 |
> |
|
14964 |
> |
|
14965 |
> |
|
14966 |
> |
for flag in -Wmissing-include-dirs; do |
14967 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14968 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14969 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14970 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14971 |
> |
$as_echo_n "(cached) " >&6 |
14972 |
> |
else |
14973 |
> |
|
14974 |
> |
ax_check_save_flags=$CFLAGS |
14975 |
> |
CFLAGS="$CFLAGS $flag" |
14976 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14977 |
> |
/* end confdefs.h. */ |
14978 |
> |
|
14979 |
> |
int |
14980 |
> |
main () |
14981 |
> |
{ |
14982 |
> |
|
14983 |
> |
; |
14984 |
> |
return 0; |
14985 |
> |
} |
14986 |
> |
_ACEOF |
14987 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14988 |
> |
eval "$as_CACHEVAR=yes" |
14989 |
> |
else |
14990 |
> |
eval "$as_CACHEVAR=no" |
14991 |
> |
fi |
14992 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14993 |
> |
CFLAGS=$ax_check_save_flags |
14994 |
> |
fi |
14995 |
> |
eval ac_res=\$$as_CACHEVAR |
14996 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14997 |
> |
$as_echo "$ac_res" >&6; } |
14998 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14999 |
> |
if ${CFLAGS+:} false; then : |
15000 |
> |
case " $CFLAGS " in |
15001 |
> |
*" $flag "*) |
15002 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15003 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15004 |
> |
ac_status=$? |
15005 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15006 |
> |
test $ac_status = 0; } |
15007 |
> |
;; |
15008 |
> |
*) |
15009 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15010 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15011 |
> |
ac_status=$? |
15012 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15013 |
> |
test $ac_status = 0; } |
15014 |
> |
CFLAGS="$CFLAGS $flag" |
15015 |
> |
;; |
15016 |
> |
esac |
15017 |
> |
else |
15018 |
> |
CFLAGS="$flag" |
15019 |
> |
fi |
15020 |
> |
|
15021 |
> |
else |
15022 |
> |
: |
15023 |
> |
fi |
15024 |
> |
|
15025 |
> |
done |
15026 |
> |
|
15027 |
> |
|
15028 |
> |
|
15029 |
> |
|
15030 |
> |
|
15031 |
> |
for flag in -Wmissing-prototypes; do |
15032 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15033 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15034 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15035 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15036 |
> |
$as_echo_n "(cached) " >&6 |
15037 |
> |
else |
15038 |
> |
|
15039 |
> |
ax_check_save_flags=$CFLAGS |
15040 |
> |
CFLAGS="$CFLAGS $flag" |
15041 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15042 |
> |
/* end confdefs.h. */ |
15043 |
> |
|
15044 |
> |
int |
15045 |
> |
main () |
15046 |
> |
{ |
15047 |
> |
|
15048 |
> |
; |
15049 |
> |
return 0; |
15050 |
> |
} |
15051 |
> |
_ACEOF |
15052 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15053 |
> |
eval "$as_CACHEVAR=yes" |
15054 |
> |
else |
15055 |
> |
eval "$as_CACHEVAR=no" |
15056 |
> |
fi |
15057 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15058 |
> |
CFLAGS=$ax_check_save_flags |
15059 |
> |
fi |
15060 |
> |
eval ac_res=\$$as_CACHEVAR |
15061 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15062 |
> |
$as_echo "$ac_res" >&6; } |
15063 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15064 |
> |
if ${CFLAGS+:} false; then : |
15065 |
> |
case " $CFLAGS " in |
15066 |
> |
*" $flag "*) |
15067 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15068 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15069 |
> |
ac_status=$? |
15070 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15071 |
> |
test $ac_status = 0; } |
15072 |
> |
;; |
15073 |
> |
*) |
15074 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15075 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15076 |
> |
ac_status=$? |
15077 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15078 |
> |
test $ac_status = 0; } |
15079 |
> |
CFLAGS="$CFLAGS $flag" |
15080 |
> |
;; |
15081 |
> |
esac |
15082 |
> |
else |
15083 |
> |
CFLAGS="$flag" |
15084 |
> |
fi |
15085 |
> |
|
15086 |
> |
else |
15087 |
> |
: |
15088 |
> |
fi |
15089 |
> |
|
15090 |
> |
done |
15091 |
> |
|
15092 |
> |
|
15093 |
> |
|
15094 |
> |
|
15095 |
> |
|
15096 |
> |
for flag in -Wnested-externs; do |
15097 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15098 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15099 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15100 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15101 |
> |
$as_echo_n "(cached) " >&6 |
15102 |
> |
else |
15103 |
> |
|
15104 |
> |
ax_check_save_flags=$CFLAGS |
15105 |
> |
CFLAGS="$CFLAGS $flag" |
15106 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15107 |
> |
/* end confdefs.h. */ |
15108 |
> |
|
15109 |
> |
int |
15110 |
> |
main () |
15111 |
> |
{ |
15112 |
> |
|
15113 |
> |
; |
15114 |
> |
return 0; |
15115 |
> |
} |
15116 |
> |
_ACEOF |
15117 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15118 |
> |
eval "$as_CACHEVAR=yes" |
15119 |
> |
else |
15120 |
> |
eval "$as_CACHEVAR=no" |
15121 |
> |
fi |
15122 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15123 |
> |
CFLAGS=$ax_check_save_flags |
15124 |
> |
fi |
15125 |
> |
eval ac_res=\$$as_CACHEVAR |
15126 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15127 |
> |
$as_echo "$ac_res" >&6; } |
15128 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15129 |
> |
if ${CFLAGS+:} false; then : |
15130 |
> |
case " $CFLAGS " in |
15131 |
> |
*" $flag "*) |
15132 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15133 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15134 |
> |
ac_status=$? |
15135 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15136 |
> |
test $ac_status = 0; } |
15137 |
> |
;; |
15138 |
> |
*) |
15139 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15140 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15141 |
> |
ac_status=$? |
15142 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15143 |
> |
test $ac_status = 0; } |
15144 |
> |
CFLAGS="$CFLAGS $flag" |
15145 |
> |
;; |
15146 |
> |
esac |
15147 |
> |
else |
15148 |
> |
CFLAGS="$flag" |
15149 |
> |
fi |
15150 |
> |
|
15151 |
> |
else |
15152 |
> |
: |
15153 |
> |
fi |
15154 |
> |
|
15155 |
> |
done |
15156 |
> |
|
15157 |
> |
|
15158 |
> |
|
15159 |
> |
|
15160 |
> |
|
15161 |
> |
for flag in -Wpointer-arith; do |
15162 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15163 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15164 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15165 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15166 |
> |
$as_echo_n "(cached) " >&6 |
15167 |
> |
else |
15168 |
> |
|
15169 |
> |
ax_check_save_flags=$CFLAGS |
15170 |
> |
CFLAGS="$CFLAGS $flag" |
15171 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15172 |
> |
/* end confdefs.h. */ |
15173 |
> |
|
15174 |
> |
int |
15175 |
> |
main () |
15176 |
> |
{ |
15177 |
> |
|
15178 |
> |
; |
15179 |
> |
return 0; |
15180 |
> |
} |
15181 |
> |
_ACEOF |
15182 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15183 |
> |
eval "$as_CACHEVAR=yes" |
15184 |
> |
else |
15185 |
> |
eval "$as_CACHEVAR=no" |
15186 |
> |
fi |
15187 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15188 |
> |
CFLAGS=$ax_check_save_flags |
15189 |
> |
fi |
15190 |
> |
eval ac_res=\$$as_CACHEVAR |
15191 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15192 |
> |
$as_echo "$ac_res" >&6; } |
15193 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15194 |
> |
if ${CFLAGS+:} false; then : |
15195 |
> |
case " $CFLAGS " in |
15196 |
> |
*" $flag "*) |
15197 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15198 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15199 |
> |
ac_status=$? |
15200 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15201 |
> |
test $ac_status = 0; } |
15202 |
> |
;; |
15203 |
> |
*) |
15204 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15205 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15206 |
> |
ac_status=$? |
15207 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15208 |
> |
test $ac_status = 0; } |
15209 |
> |
CFLAGS="$CFLAGS $flag" |
15210 |
> |
;; |
15211 |
> |
esac |
15212 |
> |
else |
15213 |
> |
CFLAGS="$flag" |
15214 |
> |
fi |
15215 |
> |
|
15216 |
> |
else |
15217 |
> |
: |
15218 |
> |
fi |
15219 |
> |
|
15220 |
> |
done |
15221 |
> |
|
15222 |
> |
|
15223 |
> |
|
15224 |
> |
|
15225 |
> |
|
15226 |
> |
for flag in -Wredundant-decls; do |
15227 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15228 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15229 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15230 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15231 |
> |
$as_echo_n "(cached) " >&6 |
15232 |
> |
else |
15233 |
> |
|
15234 |
> |
ax_check_save_flags=$CFLAGS |
15235 |
> |
CFLAGS="$CFLAGS $flag" |
15236 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15237 |
> |
/* end confdefs.h. */ |
15238 |
> |
|
15239 |
> |
int |
15240 |
> |
main () |
15241 |
> |
{ |
15242 |
> |
|
15243 |
> |
; |
15244 |
> |
return 0; |
15245 |
> |
} |
15246 |
> |
_ACEOF |
15247 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15248 |
> |
eval "$as_CACHEVAR=yes" |
15249 |
> |
else |
15250 |
> |
eval "$as_CACHEVAR=no" |
15251 |
> |
fi |
15252 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15253 |
> |
CFLAGS=$ax_check_save_flags |
15254 |
> |
fi |
15255 |
> |
eval ac_res=\$$as_CACHEVAR |
15256 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15257 |
> |
$as_echo "$ac_res" >&6; } |
15258 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15259 |
> |
if ${CFLAGS+:} false; then : |
15260 |
> |
case " $CFLAGS " in |
15261 |
> |
*" $flag "*) |
15262 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15263 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15264 |
> |
ac_status=$? |
15265 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15266 |
> |
test $ac_status = 0; } |
15267 |
> |
;; |
15268 |
> |
*) |
15269 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15270 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15271 |
> |
ac_status=$? |
15272 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15273 |
> |
test $ac_status = 0; } |
15274 |
> |
CFLAGS="$CFLAGS $flag" |
15275 |
> |
;; |
15276 |
> |
esac |
15277 |
> |
else |
15278 |
> |
CFLAGS="$flag" |
15279 |
> |
fi |
15280 |
> |
|
15281 |
> |
else |
15282 |
> |
: |
15283 |
> |
fi |
15284 |
> |
|
15285 |
> |
done |
15286 |
> |
|
15287 |
> |
|
15288 |
> |
|
15289 |
> |
|
15290 |
> |
|
15291 |
> |
for flag in -Wshadow; do |
15292 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15293 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15294 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15295 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15296 |
> |
$as_echo_n "(cached) " >&6 |
15297 |
> |
else |
15298 |
> |
|
15299 |
> |
ax_check_save_flags=$CFLAGS |
15300 |
> |
CFLAGS="$CFLAGS $flag" |
15301 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15302 |
> |
/* end confdefs.h. */ |
15303 |
> |
|
15304 |
> |
int |
15305 |
> |
main () |
15306 |
> |
{ |
15307 |
> |
|
15308 |
> |
; |
15309 |
> |
return 0; |
15310 |
> |
} |
15311 |
> |
_ACEOF |
15312 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15313 |
> |
eval "$as_CACHEVAR=yes" |
15314 |
> |
else |
15315 |
> |
eval "$as_CACHEVAR=no" |
15316 |
> |
fi |
15317 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15318 |
> |
CFLAGS=$ax_check_save_flags |
15319 |
> |
fi |
15320 |
> |
eval ac_res=\$$as_CACHEVAR |
15321 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15322 |
> |
$as_echo "$ac_res" >&6; } |
15323 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15324 |
> |
if ${CFLAGS+:} false; then : |
15325 |
> |
case " $CFLAGS " in |
15326 |
> |
*" $flag "*) |
15327 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15328 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15329 |
> |
ac_status=$? |
15330 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15331 |
> |
test $ac_status = 0; } |
15332 |
> |
;; |
15333 |
> |
*) |
15334 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15335 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15336 |
> |
ac_status=$? |
15337 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15338 |
> |
test $ac_status = 0; } |
15339 |
> |
CFLAGS="$CFLAGS $flag" |
15340 |
> |
;; |
15341 |
> |
esac |
15342 |
> |
else |
15343 |
> |
CFLAGS="$flag" |
15344 |
> |
fi |
15345 |
> |
|
15346 |
> |
else |
15347 |
> |
: |
15348 |
> |
fi |
15349 |
> |
|
15350 |
> |
done |
15351 |
> |
|
15352 |
> |
|
15353 |
> |
|
15354 |
> |
|
15355 |
> |
|
15356 |
> |
for flag in -Wwrite-strings; do |
15357 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15358 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15359 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15360 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15361 |
> |
$as_echo_n "(cached) " >&6 |
15362 |
> |
else |
15363 |
> |
|
15364 |
> |
ax_check_save_flags=$CFLAGS |
15365 |
> |
CFLAGS="$CFLAGS $flag" |
15366 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15367 |
> |
/* end confdefs.h. */ |
15368 |
> |
|
15369 |
> |
int |
15370 |
> |
main () |
15371 |
> |
{ |
15372 |
> |
|
15373 |
> |
; |
15374 |
> |
return 0; |
15375 |
> |
} |
15376 |
> |
_ACEOF |
15377 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15378 |
> |
eval "$as_CACHEVAR=yes" |
15379 |
> |
else |
15380 |
> |
eval "$as_CACHEVAR=no" |
15381 |
> |
fi |
15382 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15383 |
> |
CFLAGS=$ax_check_save_flags |
15384 |
> |
fi |
15385 |
> |
eval ac_res=\$$as_CACHEVAR |
15386 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15387 |
> |
$as_echo "$ac_res" >&6; } |
15388 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15389 |
> |
if ${CFLAGS+:} false; then : |
15390 |
> |
case " $CFLAGS " in |
15391 |
> |
*" $flag "*) |
15392 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15393 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15394 |
> |
ac_status=$? |
15395 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15396 |
> |
test $ac_status = 0; } |
15397 |
> |
;; |
15398 |
> |
*) |
15399 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15400 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15401 |
> |
ac_status=$? |
15402 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15403 |
> |
test $ac_status = 0; } |
15404 |
> |
CFLAGS="$CFLAGS $flag" |
15405 |
> |
;; |
15406 |
> |
esac |
15407 |
> |
else |
15408 |
> |
CFLAGS="$flag" |
15409 |
> |
fi |
15410 |
> |
|
15411 |
> |
else |
15412 |
> |
: |
15413 |
> |
fi |
15414 |
> |
|
15415 |
> |
done |
15416 |
> |
|
15417 |
> |
|
15418 |
> |
|
15419 |
> |
|
15420 |
> |
|
15421 |
> |
for flag in -Wundef; do |
15422 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15423 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15424 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15425 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15426 |
> |
$as_echo_n "(cached) " >&6 |
15427 |
> |
else |
15428 |
> |
|
15429 |
> |
ax_check_save_flags=$CFLAGS |
15430 |
> |
CFLAGS="$CFLAGS $flag" |
15431 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15432 |
> |
/* end confdefs.h. */ |
15433 |
> |
|
15434 |
> |
int |
15435 |
> |
main () |
15436 |
> |
{ |
15437 |
> |
|
15438 |
> |
; |
15439 |
> |
return 0; |
15440 |
> |
} |
15441 |
> |
_ACEOF |
15442 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15443 |
> |
eval "$as_CACHEVAR=yes" |
15444 |
> |
else |
15445 |
> |
eval "$as_CACHEVAR=no" |
15446 |
> |
fi |
15447 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15448 |
> |
CFLAGS=$ax_check_save_flags |
15449 |
> |
fi |
15450 |
> |
eval ac_res=\$$as_CACHEVAR |
15451 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15452 |
> |
$as_echo "$ac_res" >&6; } |
15453 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15454 |
> |
if ${CFLAGS+:} false; then : |
15455 |
> |
case " $CFLAGS " in |
15456 |
> |
*" $flag "*) |
15457 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15458 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15459 |
> |
ac_status=$? |
15460 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15461 |
> |
test $ac_status = 0; } |
15462 |
> |
;; |
15463 |
> |
*) |
15464 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15465 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15466 |
> |
ac_status=$? |
15467 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15468 |
> |
test $ac_status = 0; } |
15469 |
> |
CFLAGS="$CFLAGS $flag" |
15470 |
> |
;; |
15471 |
> |
esac |
15472 |
> |
else |
15473 |
> |
CFLAGS="$flag" |
15474 |
> |
fi |
15475 |
> |
|
15476 |
> |
else |
15477 |
> |
: |
15478 |
> |
fi |
15479 |
> |
|
15480 |
> |
done |
15481 |
> |
|
15482 |
|
fi |
15483 |
|
|
15484 |
|
|
15568 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
15569 |
|
|
15570 |
|
|
15571 |
< |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" |
15571 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
15572 |
|
|
15573 |
|
|
15574 |
|
cat >confcache <<\_ACEOF |
16613 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
16614 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
16615 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
15491 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
16616 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
16617 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
16618 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
16619 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
15496 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
15497 |
– |
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
16620 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
16621 |
|
|
16622 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
17265 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
17266 |
|
test -z "$DEPDIR" && continue |
17267 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
17268 |
< |
test -z "am__include" && continue |
17268 |
> |
test -z "$am__include" && continue |
17269 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
17270 |
|
# Find all dependency output files, they are included files with |
17271 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |