| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 2347 2013-07-03 19:09:32Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 4294 2014-07-20 10:33:10Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
| 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='TRUNK' |
| 597 |
< |
PACKAGE_STRING='ircd-hybrid TRUNK' |
| 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 |
|
|
| 812 |
|
enable_epoll |
| 813 |
|
enable_devpoll |
| 814 |
|
enable_poll |
| 815 |
– |
enable_select |
| 816 |
– |
enable_halfops |
| 815 |
|
enable_debugging |
| 816 |
|
enable_warnings |
| 817 |
|
' |
| 1366 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1367 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1368 |
|
cat <<_ACEOF |
| 1369 |
< |
\`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems. |
| 1369 |
> |
\`configure' configures ircd-hybrid 8.2.0rc1 to adapt to many kinds of systems. |
| 1370 |
|
|
| 1371 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1372 |
|
|
| 1436 |
|
|
| 1437 |
|
if test -n "$ac_init_help"; then |
| 1438 |
|
case $ac_init_help in |
| 1439 |
< |
short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";; |
| 1439 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc1:";; |
| 1440 |
|
esac |
| 1441 |
|
cat <<\_ACEOF |
| 1442 |
|
|
| 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 |
|
|
| 1564 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1565 |
|
if $ac_init_version; then |
| 1566 |
|
cat <<\_ACEOF |
| 1567 |
< |
ircd-hybrid configure TRUNK |
| 1567 |
> |
ircd-hybrid configure 8.2.0rc1 |
| 1568 |
|
generated by GNU Autoconf 2.69 |
| 1569 |
|
|
| 1570 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 2090 |
|
This file contains any messages produced by compilers while |
| 2091 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2092 |
|
|
| 2093 |
< |
It was created by ircd-hybrid $as_me TRUNK, which was |
| 2093 |
> |
It was created by ircd-hybrid $as_me 8.2.0rc1, which was |
| 2094 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 2095 |
|
|
| 2096 |
|
$ $0 $@ |
| 2964 |
|
|
| 2965 |
|
# Define the identity of the package. |
| 2966 |
|
PACKAGE='ircd-hybrid' |
| 2967 |
< |
VERSION='TRUNK' |
| 2967 |
> |
VERSION='8.2.0rc1' |
| 2968 |
|
|
| 2969 |
|
|
| 2970 |
|
cat >>confdefs.h <<_ACEOF |
| 3079 |
|
MAINT=$MAINTAINER_MODE_TRUE |
| 3080 |
|
|
| 3081 |
|
|
| 3082 |
+ |
|
| 3083 |
|
ac_config_headers="$ac_config_headers config.h" |
| 3084 |
|
|
| 3085 |
|
|
| 8556 |
|
$RM -r conftest* |
| 8557 |
|
|
| 8558 |
|
|
| 8559 |
+ |
## CAVEAT EMPTOR: |
| 8560 |
+ |
## There is no encapsulation within the following macros, do not change |
| 8561 |
+ |
## the running order or otherwise move them around unless you know exactly |
| 8562 |
+ |
## what you are doing... |
| 8563 |
|
if test -n "$compiler"; then |
| 8564 |
|
|
| 8565 |
|
lt_prog_compiler_no_builtin_flag= |
| 13173 |
|
|
| 13174 |
|
# Checks for libraries. |
| 13175 |
|
|
| 13176 |
+ |
|
| 13177 |
+ |
if test "X$CC" != "X"; then |
| 13178 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
| 13179 |
+ |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
| 13180 |
+ |
if ${ssp_cv_cc+:} false; then : |
| 13181 |
+ |
$as_echo_n "(cached) " >&6 |
| 13182 |
+ |
else |
| 13183 |
+ |
ssp_old_cflags="$CFLAGS" |
| 13184 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
| 13185 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13186 |
+ |
/* end confdefs.h. */ |
| 13187 |
+ |
|
| 13188 |
+ |
int |
| 13189 |
+ |
main () |
| 13190 |
+ |
{ |
| 13191 |
+ |
|
| 13192 |
+ |
; |
| 13193 |
+ |
return 0; |
| 13194 |
+ |
} |
| 13195 |
+ |
_ACEOF |
| 13196 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13197 |
+ |
ssp_cv_cc=yes |
| 13198 |
+ |
else |
| 13199 |
+ |
ssp_cv_cc=no |
| 13200 |
+ |
fi |
| 13201 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13202 |
+ |
CFLAGS="$ssp_old_cflags" |
| 13203 |
+ |
|
| 13204 |
+ |
fi |
| 13205 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 13206 |
+ |
$as_echo "$ssp_cv_cc" >&6; } |
| 13207 |
+ |
if test $ssp_cv_cc = yes; then |
| 13208 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
| 13209 |
+ |
|
| 13210 |
+ |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 13211 |
+ |
|
| 13212 |
+ |
fi |
| 13213 |
+ |
fi |
| 13214 |
+ |
|
| 13215 |
+ |
|
| 13216 |
+ |
|
| 13217 |
+ |
|
| 13218 |
+ |
|
| 13219 |
+ |
|
| 13220 |
+ |
for flag in -fno-strict-aliasing; do |
| 13221 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13222 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13223 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13224 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13225 |
+ |
$as_echo_n "(cached) " >&6 |
| 13226 |
+ |
else |
| 13227 |
+ |
|
| 13228 |
+ |
ax_check_save_flags=$CFLAGS |
| 13229 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13230 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13231 |
+ |
/* end confdefs.h. */ |
| 13232 |
+ |
|
| 13233 |
+ |
int |
| 13234 |
+ |
main () |
| 13235 |
+ |
{ |
| 13236 |
+ |
|
| 13237 |
+ |
; |
| 13238 |
+ |
return 0; |
| 13239 |
+ |
} |
| 13240 |
+ |
_ACEOF |
| 13241 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13242 |
+ |
eval "$as_CACHEVAR=yes" |
| 13243 |
+ |
else |
| 13244 |
+ |
eval "$as_CACHEVAR=no" |
| 13245 |
+ |
fi |
| 13246 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13247 |
+ |
CFLAGS=$ax_check_save_flags |
| 13248 |
+ |
fi |
| 13249 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13250 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13251 |
+ |
$as_echo "$ac_res" >&6; } |
| 13252 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 13253 |
+ |
if ${CFLAGS+:} false; then : |
| 13254 |
+ |
case " $CFLAGS " in |
| 13255 |
+ |
*" $flag "*) |
| 13256 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13257 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13258 |
+ |
ac_status=$? |
| 13259 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13260 |
+ |
test $ac_status = 0; } |
| 13261 |
+ |
;; |
| 13262 |
+ |
*) |
| 13263 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 13264 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 13265 |
+ |
ac_status=$? |
| 13266 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13267 |
+ |
test $ac_status = 0; } |
| 13268 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13269 |
+ |
;; |
| 13270 |
+ |
esac |
| 13271 |
+ |
else |
| 13272 |
+ |
CFLAGS="$flag" |
| 13273 |
+ |
fi |
| 13274 |
+ |
|
| 13275 |
+ |
else |
| 13276 |
+ |
: |
| 13277 |
+ |
fi |
| 13278 |
+ |
|
| 13279 |
+ |
done |
| 13280 |
+ |
|
| 13281 |
+ |
|
| 13282 |
+ |
|
| 13283 |
|
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 13284 |
|
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 13285 |
|
|
| 13939 |
|
fi |
| 13940 |
|
|
| 13941 |
|
|
| 13942 |
+ |
|
| 13943 |
|
# Check whether --enable-openssl was given. |
| 13944 |
|
if test "${enable_openssl+set}" = set; then : |
| 13945 |
|
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 13994 |
|
fi |
| 13995 |
|
|
| 13996 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 13997 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5 |
| 13998 |
< |
$as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; } |
| 13997 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5 |
| 13998 |
> |
$as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; } |
| 13999 |
|
if test "$cross_compiling" = yes; then : |
| 14000 |
|
cf_openssl_version_ok=no |
| 14001 |
|
else |
| 14008 |
|
int |
| 14009 |
|
main () |
| 14010 |
|
{ |
| 14011 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000)); |
| 14011 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
| 14012 |
|
; |
| 14013 |
|
return 0; |
| 14014 |
|
} |
| 14217 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 14218 |
|
fi |
| 14219 |
|
|
| 14111 |
– |
# Check whether --enable-select was given. |
| 14112 |
– |
if test "${enable_select+set}" = set; then : |
| 14113 |
– |
enableval=$enable_select; desired_iopoll_mechanism="select" |
| 14114 |
– |
fi |
| 14115 |
– |
|
| 14220 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
| 14221 |
|
$as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; } |
| 14222 |
|
iopoll_mechanism_none=0 |
| 14444 |
|
fi |
| 14445 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14446 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14343 |
– |
iopoll_mechanism_select=5 |
| 14344 |
– |
|
| 14345 |
– |
cat >>confdefs.h <<_ACEOF |
| 14346 |
– |
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 14347 |
– |
_ACEOF |
| 14348 |
– |
|
| 14349 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14350 |
– |
/* end confdefs.h. */ |
| 14351 |
– |
/* Define select to an innocuous variant, in case <limits.h> declares select. |
| 14352 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 14353 |
– |
#define select innocuous_select |
| 14354 |
– |
|
| 14355 |
– |
/* System header to define __stub macros and hopefully few prototypes, |
| 14356 |
– |
which can conflict with char select (); below. |
| 14357 |
– |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 14358 |
– |
<limits.h> exists even on freestanding compilers. */ |
| 14359 |
– |
|
| 14360 |
– |
#ifdef __STDC__ |
| 14361 |
– |
# include <limits.h> |
| 14362 |
– |
#else |
| 14363 |
– |
# include <assert.h> |
| 14364 |
– |
#endif |
| 14365 |
– |
|
| 14366 |
– |
#undef select |
| 14367 |
– |
|
| 14368 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 14369 |
– |
Use char because int might match the return type of a GCC |
| 14370 |
– |
builtin and then its argument prototype would still apply. */ |
| 14371 |
– |
#ifdef __cplusplus |
| 14372 |
– |
extern "C" |
| 14373 |
– |
#endif |
| 14374 |
– |
char select (); |
| 14375 |
– |
/* The GNU C library defines this for functions which it implements |
| 14376 |
– |
to always fail with ENOSYS. Some functions are actually named |
| 14377 |
– |
something starting with __ and the normal name is an alias. */ |
| 14378 |
– |
#if defined __stub_select || defined __stub___select |
| 14379 |
– |
choke me |
| 14380 |
– |
#endif |
| 14381 |
– |
|
| 14382 |
– |
int |
| 14383 |
– |
main () |
| 14384 |
– |
{ |
| 14385 |
– |
return select (); |
| 14386 |
– |
; |
| 14387 |
– |
return 0; |
| 14388 |
– |
} |
| 14389 |
– |
_ACEOF |
| 14390 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 14391 |
– |
is_select_mechanism_available="yes" |
| 14392 |
– |
else |
| 14393 |
– |
is_select_mechanism_available="no" |
| 14394 |
– |
fi |
| 14395 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 14396 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 14447 |
|
optimal_iopoll_mechanism="none" |
| 14448 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
| 14448 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important |
| 14449 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 14450 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 14451 |
|
optimal_iopoll_mechanism="$mechanism" |
| 14482 |
|
|
| 14483 |
|
|
| 14484 |
|
|
| 14435 |
– |
# Check whether --enable-halfops was given. |
| 14436 |
– |
if test "${enable_halfops+set}" = set; then : |
| 14437 |
– |
enableval=$enable_halfops; halfops="$enableval" |
| 14438 |
– |
else |
| 14439 |
– |
halfops="no" |
| 14440 |
– |
fi |
| 14441 |
– |
|
| 14442 |
– |
if test "$halfops" = "yes" ; then |
| 14443 |
– |
|
| 14444 |
– |
$as_echo "#define HALFOPS 1" >>confdefs.h |
| 14445 |
– |
|
| 14446 |
– |
fi |
| 14447 |
– |
|
| 14448 |
– |
|
| 14485 |
|
# Check whether --enable-debugging was given. |
| 14486 |
|
if test "${enable_debugging+set}" = set; then : |
| 14487 |
|
enableval=$enable_debugging; debugging="$enableval" |
| 14502 |
|
fi |
| 14503 |
|
|
| 14504 |
|
if test "$warnings" = "yes" ; then |
| 14505 |
< |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
| 14505 |
> |
|
| 14506 |
> |
|
| 14507 |
> |
|
| 14508 |
> |
|
| 14509 |
> |
for flag in -Wall; do |
| 14510 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14511 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14512 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14513 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14514 |
> |
$as_echo_n "(cached) " >&6 |
| 14515 |
> |
else |
| 14516 |
> |
|
| 14517 |
> |
ax_check_save_flags=$CFLAGS |
| 14518 |
> |
CFLAGS="$CFLAGS $flag" |
| 14519 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14520 |
> |
/* end confdefs.h. */ |
| 14521 |
> |
|
| 14522 |
> |
int |
| 14523 |
> |
main () |
| 14524 |
> |
{ |
| 14525 |
> |
|
| 14526 |
> |
; |
| 14527 |
> |
return 0; |
| 14528 |
> |
} |
| 14529 |
> |
_ACEOF |
| 14530 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14531 |
> |
eval "$as_CACHEVAR=yes" |
| 14532 |
> |
else |
| 14533 |
> |
eval "$as_CACHEVAR=no" |
| 14534 |
> |
fi |
| 14535 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14536 |
> |
CFLAGS=$ax_check_save_flags |
| 14537 |
> |
fi |
| 14538 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14539 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14540 |
> |
$as_echo "$ac_res" >&6; } |
| 14541 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14542 |
> |
if ${CFLAGS+:} false; then : |
| 14543 |
> |
case " $CFLAGS " in |
| 14544 |
> |
*" $flag "*) |
| 14545 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14546 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14547 |
> |
ac_status=$? |
| 14548 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14549 |
> |
test $ac_status = 0; } |
| 14550 |
> |
;; |
| 14551 |
> |
*) |
| 14552 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14553 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14554 |
> |
ac_status=$? |
| 14555 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14556 |
> |
test $ac_status = 0; } |
| 14557 |
> |
CFLAGS="$CFLAGS $flag" |
| 14558 |
> |
;; |
| 14559 |
> |
esac |
| 14560 |
> |
else |
| 14561 |
> |
CFLAGS="$flag" |
| 14562 |
> |
fi |
| 14563 |
> |
|
| 14564 |
> |
else |
| 14565 |
> |
: |
| 14566 |
> |
fi |
| 14567 |
> |
|
| 14568 |
> |
done |
| 14569 |
> |
|
| 14570 |
> |
|
| 14571 |
> |
|
| 14572 |
> |
|
| 14573 |
> |
|
| 14574 |
> |
for flag in -Wextra; do |
| 14575 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14576 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14577 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14578 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14579 |
> |
$as_echo_n "(cached) " >&6 |
| 14580 |
> |
else |
| 14581 |
> |
|
| 14582 |
> |
ax_check_save_flags=$CFLAGS |
| 14583 |
> |
CFLAGS="$CFLAGS $flag" |
| 14584 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14585 |
> |
/* end confdefs.h. */ |
| 14586 |
> |
|
| 14587 |
> |
int |
| 14588 |
> |
main () |
| 14589 |
> |
{ |
| 14590 |
> |
|
| 14591 |
> |
; |
| 14592 |
> |
return 0; |
| 14593 |
> |
} |
| 14594 |
> |
_ACEOF |
| 14595 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14596 |
> |
eval "$as_CACHEVAR=yes" |
| 14597 |
> |
else |
| 14598 |
> |
eval "$as_CACHEVAR=no" |
| 14599 |
> |
fi |
| 14600 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14601 |
> |
CFLAGS=$ax_check_save_flags |
| 14602 |
> |
fi |
| 14603 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14604 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14605 |
> |
$as_echo "$ac_res" >&6; } |
| 14606 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14607 |
> |
if ${CFLAGS+:} false; then : |
| 14608 |
> |
case " $CFLAGS " in |
| 14609 |
> |
*" $flag "*) |
| 14610 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14611 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14612 |
> |
ac_status=$? |
| 14613 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14614 |
> |
test $ac_status = 0; } |
| 14615 |
> |
;; |
| 14616 |
> |
*) |
| 14617 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14618 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14619 |
> |
ac_status=$? |
| 14620 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14621 |
> |
test $ac_status = 0; } |
| 14622 |
> |
CFLAGS="$CFLAGS $flag" |
| 14623 |
> |
;; |
| 14624 |
> |
esac |
| 14625 |
> |
else |
| 14626 |
> |
CFLAGS="$flag" |
| 14627 |
> |
fi |
| 14628 |
> |
|
| 14629 |
> |
else |
| 14630 |
> |
: |
| 14631 |
> |
fi |
| 14632 |
> |
|
| 14633 |
> |
done |
| 14634 |
> |
|
| 14635 |
> |
|
| 14636 |
> |
|
| 14637 |
> |
|
| 14638 |
> |
|
| 14639 |
> |
for flag in -Wno-unused; do |
| 14640 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14641 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14642 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14643 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14644 |
> |
$as_echo_n "(cached) " >&6 |
| 14645 |
> |
else |
| 14646 |
> |
|
| 14647 |
> |
ax_check_save_flags=$CFLAGS |
| 14648 |
> |
CFLAGS="$CFLAGS $flag" |
| 14649 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14650 |
> |
/* end confdefs.h. */ |
| 14651 |
> |
|
| 14652 |
> |
int |
| 14653 |
> |
main () |
| 14654 |
> |
{ |
| 14655 |
> |
|
| 14656 |
> |
; |
| 14657 |
> |
return 0; |
| 14658 |
> |
} |
| 14659 |
> |
_ACEOF |
| 14660 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14661 |
> |
eval "$as_CACHEVAR=yes" |
| 14662 |
> |
else |
| 14663 |
> |
eval "$as_CACHEVAR=no" |
| 14664 |
> |
fi |
| 14665 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14666 |
> |
CFLAGS=$ax_check_save_flags |
| 14667 |
> |
fi |
| 14668 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14669 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14670 |
> |
$as_echo "$ac_res" >&6; } |
| 14671 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14672 |
> |
if ${CFLAGS+:} false; then : |
| 14673 |
> |
case " $CFLAGS " in |
| 14674 |
> |
*" $flag "*) |
| 14675 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14676 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14677 |
> |
ac_status=$? |
| 14678 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14679 |
> |
test $ac_status = 0; } |
| 14680 |
> |
;; |
| 14681 |
> |
*) |
| 14682 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14683 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14684 |
> |
ac_status=$? |
| 14685 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14686 |
> |
test $ac_status = 0; } |
| 14687 |
> |
CFLAGS="$CFLAGS $flag" |
| 14688 |
> |
;; |
| 14689 |
> |
esac |
| 14690 |
> |
else |
| 14691 |
> |
CFLAGS="$flag" |
| 14692 |
> |
fi |
| 14693 |
> |
|
| 14694 |
> |
else |
| 14695 |
> |
: |
| 14696 |
> |
fi |
| 14697 |
> |
|
| 14698 |
> |
done |
| 14699 |
> |
|
| 14700 |
> |
|
| 14701 |
> |
|
| 14702 |
> |
|
| 14703 |
> |
|
| 14704 |
> |
for flag in -Wcast-qual; do |
| 14705 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14706 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14707 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14708 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14709 |
> |
$as_echo_n "(cached) " >&6 |
| 14710 |
> |
else |
| 14711 |
> |
|
| 14712 |
> |
ax_check_save_flags=$CFLAGS |
| 14713 |
> |
CFLAGS="$CFLAGS $flag" |
| 14714 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14715 |
> |
/* end confdefs.h. */ |
| 14716 |
> |
|
| 14717 |
> |
int |
| 14718 |
> |
main () |
| 14719 |
> |
{ |
| 14720 |
> |
|
| 14721 |
> |
; |
| 14722 |
> |
return 0; |
| 14723 |
> |
} |
| 14724 |
> |
_ACEOF |
| 14725 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14726 |
> |
eval "$as_CACHEVAR=yes" |
| 14727 |
> |
else |
| 14728 |
> |
eval "$as_CACHEVAR=no" |
| 14729 |
> |
fi |
| 14730 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14731 |
> |
CFLAGS=$ax_check_save_flags |
| 14732 |
> |
fi |
| 14733 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14734 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14735 |
> |
$as_echo "$ac_res" >&6; } |
| 14736 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14737 |
> |
if ${CFLAGS+:} false; then : |
| 14738 |
> |
case " $CFLAGS " in |
| 14739 |
> |
*" $flag "*) |
| 14740 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14741 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14742 |
> |
ac_status=$? |
| 14743 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14744 |
> |
test $ac_status = 0; } |
| 14745 |
> |
;; |
| 14746 |
> |
*) |
| 14747 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14748 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14749 |
> |
ac_status=$? |
| 14750 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14751 |
> |
test $ac_status = 0; } |
| 14752 |
> |
CFLAGS="$CFLAGS $flag" |
| 14753 |
> |
;; |
| 14754 |
> |
esac |
| 14755 |
> |
else |
| 14756 |
> |
CFLAGS="$flag" |
| 14757 |
> |
fi |
| 14758 |
> |
|
| 14759 |
> |
else |
| 14760 |
> |
: |
| 14761 |
> |
fi |
| 14762 |
> |
|
| 14763 |
> |
done |
| 14764 |
> |
|
| 14765 |
> |
|
| 14766 |
> |
|
| 14767 |
> |
|
| 14768 |
> |
|
| 14769 |
> |
for flag in -Wcast-align; do |
| 14770 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14771 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14772 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14773 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14774 |
> |
$as_echo_n "(cached) " >&6 |
| 14775 |
> |
else |
| 14776 |
> |
|
| 14777 |
> |
ax_check_save_flags=$CFLAGS |
| 14778 |
> |
CFLAGS="$CFLAGS $flag" |
| 14779 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14780 |
> |
/* end confdefs.h. */ |
| 14781 |
> |
|
| 14782 |
> |
int |
| 14783 |
> |
main () |
| 14784 |
> |
{ |
| 14785 |
> |
|
| 14786 |
> |
; |
| 14787 |
> |
return 0; |
| 14788 |
> |
} |
| 14789 |
> |
_ACEOF |
| 14790 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14791 |
> |
eval "$as_CACHEVAR=yes" |
| 14792 |
> |
else |
| 14793 |
> |
eval "$as_CACHEVAR=no" |
| 14794 |
> |
fi |
| 14795 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14796 |
> |
CFLAGS=$ax_check_save_flags |
| 14797 |
> |
fi |
| 14798 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14799 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14800 |
> |
$as_echo "$ac_res" >&6; } |
| 14801 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14802 |
> |
if ${CFLAGS+:} false; then : |
| 14803 |
> |
case " $CFLAGS " in |
| 14804 |
> |
*" $flag "*) |
| 14805 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14806 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14807 |
> |
ac_status=$? |
| 14808 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14809 |
> |
test $ac_status = 0; } |
| 14810 |
> |
;; |
| 14811 |
> |
*) |
| 14812 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14813 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14814 |
> |
ac_status=$? |
| 14815 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14816 |
> |
test $ac_status = 0; } |
| 14817 |
> |
CFLAGS="$CFLAGS $flag" |
| 14818 |
> |
;; |
| 14819 |
> |
esac |
| 14820 |
> |
else |
| 14821 |
> |
CFLAGS="$flag" |
| 14822 |
> |
fi |
| 14823 |
> |
|
| 14824 |
> |
else |
| 14825 |
> |
: |
| 14826 |
> |
fi |
| 14827 |
> |
|
| 14828 |
> |
done |
| 14829 |
> |
|
| 14830 |
> |
|
| 14831 |
> |
|
| 14832 |
> |
|
| 14833 |
> |
|
| 14834 |
> |
for flag in -Wbad-function-cast; do |
| 14835 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14836 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14837 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14838 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14839 |
> |
$as_echo_n "(cached) " >&6 |
| 14840 |
> |
else |
| 14841 |
> |
|
| 14842 |
> |
ax_check_save_flags=$CFLAGS |
| 14843 |
> |
CFLAGS="$CFLAGS $flag" |
| 14844 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14845 |
> |
/* end confdefs.h. */ |
| 14846 |
> |
|
| 14847 |
> |
int |
| 14848 |
> |
main () |
| 14849 |
> |
{ |
| 14850 |
> |
|
| 14851 |
> |
; |
| 14852 |
> |
return 0; |
| 14853 |
> |
} |
| 14854 |
> |
_ACEOF |
| 14855 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14856 |
> |
eval "$as_CACHEVAR=yes" |
| 14857 |
> |
else |
| 14858 |
> |
eval "$as_CACHEVAR=no" |
| 14859 |
> |
fi |
| 14860 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14861 |
> |
CFLAGS=$ax_check_save_flags |
| 14862 |
> |
fi |
| 14863 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14864 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14865 |
> |
$as_echo "$ac_res" >&6; } |
| 14866 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14867 |
> |
if ${CFLAGS+:} false; then : |
| 14868 |
> |
case " $CFLAGS " in |
| 14869 |
> |
*" $flag "*) |
| 14870 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14871 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14872 |
> |
ac_status=$? |
| 14873 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14874 |
> |
test $ac_status = 0; } |
| 14875 |
> |
;; |
| 14876 |
> |
*) |
| 14877 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14878 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14879 |
> |
ac_status=$? |
| 14880 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14881 |
> |
test $ac_status = 0; } |
| 14882 |
> |
CFLAGS="$CFLAGS $flag" |
| 14883 |
> |
;; |
| 14884 |
> |
esac |
| 14885 |
> |
else |
| 14886 |
> |
CFLAGS="$flag" |
| 14887 |
> |
fi |
| 14888 |
> |
|
| 14889 |
> |
else |
| 14890 |
> |
: |
| 14891 |
> |
fi |
| 14892 |
> |
|
| 14893 |
> |
done |
| 14894 |
> |
|
| 14895 |
> |
|
| 14896 |
> |
|
| 14897 |
> |
|
| 14898 |
> |
|
| 14899 |
> |
for flag in -Wlogical-op; do |
| 14900 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14901 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14902 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14903 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14904 |
> |
$as_echo_n "(cached) " >&6 |
| 14905 |
> |
else |
| 14906 |
> |
|
| 14907 |
> |
ax_check_save_flags=$CFLAGS |
| 14908 |
> |
CFLAGS="$CFLAGS $flag" |
| 14909 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14910 |
> |
/* end confdefs.h. */ |
| 14911 |
> |
|
| 14912 |
> |
int |
| 14913 |
> |
main () |
| 14914 |
> |
{ |
| 14915 |
> |
|
| 14916 |
> |
; |
| 14917 |
> |
return 0; |
| 14918 |
> |
} |
| 14919 |
> |
_ACEOF |
| 14920 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14921 |
> |
eval "$as_CACHEVAR=yes" |
| 14922 |
> |
else |
| 14923 |
> |
eval "$as_CACHEVAR=no" |
| 14924 |
> |
fi |
| 14925 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14926 |
> |
CFLAGS=$ax_check_save_flags |
| 14927 |
> |
fi |
| 14928 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14929 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14930 |
> |
$as_echo "$ac_res" >&6; } |
| 14931 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14932 |
> |
if ${CFLAGS+:} false; then : |
| 14933 |
> |
case " $CFLAGS " in |
| 14934 |
> |
*" $flag "*) |
| 14935 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14936 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14937 |
> |
ac_status=$? |
| 14938 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14939 |
> |
test $ac_status = 0; } |
| 14940 |
> |
;; |
| 14941 |
> |
*) |
| 14942 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14943 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14944 |
> |
ac_status=$? |
| 14945 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14946 |
> |
test $ac_status = 0; } |
| 14947 |
> |
CFLAGS="$CFLAGS $flag" |
| 14948 |
> |
;; |
| 14949 |
> |
esac |
| 14950 |
> |
else |
| 14951 |
> |
CFLAGS="$flag" |
| 14952 |
> |
fi |
| 14953 |
> |
|
| 14954 |
> |
else |
| 14955 |
> |
: |
| 14956 |
> |
fi |
| 14957 |
> |
|
| 14958 |
> |
done |
| 14959 |
> |
|
| 14960 |
> |
|
| 14961 |
> |
|
| 14962 |
> |
|
| 14963 |
> |
|
| 14964 |
> |
for flag in -Wmissing-declarations; do |
| 14965 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14966 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14967 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14968 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14969 |
> |
$as_echo_n "(cached) " >&6 |
| 14970 |
> |
else |
| 14971 |
> |
|
| 14972 |
> |
ax_check_save_flags=$CFLAGS |
| 14973 |
> |
CFLAGS="$CFLAGS $flag" |
| 14974 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14975 |
> |
/* end confdefs.h. */ |
| 14976 |
> |
|
| 14977 |
> |
int |
| 14978 |
> |
main () |
| 14979 |
> |
{ |
| 14980 |
> |
|
| 14981 |
> |
; |
| 14982 |
> |
return 0; |
| 14983 |
> |
} |
| 14984 |
> |
_ACEOF |
| 14985 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14986 |
> |
eval "$as_CACHEVAR=yes" |
| 14987 |
> |
else |
| 14988 |
> |
eval "$as_CACHEVAR=no" |
| 14989 |
> |
fi |
| 14990 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14991 |
> |
CFLAGS=$ax_check_save_flags |
| 14992 |
> |
fi |
| 14993 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14994 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14995 |
> |
$as_echo "$ac_res" >&6; } |
| 14996 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14997 |
> |
if ${CFLAGS+:} false; then : |
| 14998 |
> |
case " $CFLAGS " in |
| 14999 |
> |
*" $flag "*) |
| 15000 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15001 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15002 |
> |
ac_status=$? |
| 15003 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15004 |
> |
test $ac_status = 0; } |
| 15005 |
> |
;; |
| 15006 |
> |
*) |
| 15007 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15008 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15009 |
> |
ac_status=$? |
| 15010 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15011 |
> |
test $ac_status = 0; } |
| 15012 |
> |
CFLAGS="$CFLAGS $flag" |
| 15013 |
> |
;; |
| 15014 |
> |
esac |
| 15015 |
> |
else |
| 15016 |
> |
CFLAGS="$flag" |
| 15017 |
> |
fi |
| 15018 |
> |
|
| 15019 |
> |
else |
| 15020 |
> |
: |
| 15021 |
> |
fi |
| 15022 |
> |
|
| 15023 |
> |
done |
| 15024 |
> |
|
| 15025 |
> |
|
| 15026 |
> |
|
| 15027 |
> |
|
| 15028 |
> |
|
| 15029 |
> |
for flag in -Wmissing-include-dirs; do |
| 15030 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15031 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15032 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15033 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15034 |
> |
$as_echo_n "(cached) " >&6 |
| 15035 |
> |
else |
| 15036 |
> |
|
| 15037 |
> |
ax_check_save_flags=$CFLAGS |
| 15038 |
> |
CFLAGS="$CFLAGS $flag" |
| 15039 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15040 |
> |
/* end confdefs.h. */ |
| 15041 |
> |
|
| 15042 |
> |
int |
| 15043 |
> |
main () |
| 15044 |
> |
{ |
| 15045 |
> |
|
| 15046 |
> |
; |
| 15047 |
> |
return 0; |
| 15048 |
> |
} |
| 15049 |
> |
_ACEOF |
| 15050 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15051 |
> |
eval "$as_CACHEVAR=yes" |
| 15052 |
> |
else |
| 15053 |
> |
eval "$as_CACHEVAR=no" |
| 15054 |
> |
fi |
| 15055 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15056 |
> |
CFLAGS=$ax_check_save_flags |
| 15057 |
> |
fi |
| 15058 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15059 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15060 |
> |
$as_echo "$ac_res" >&6; } |
| 15061 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15062 |
> |
if ${CFLAGS+:} false; then : |
| 15063 |
> |
case " $CFLAGS " in |
| 15064 |
> |
*" $flag "*) |
| 15065 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15066 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15067 |
> |
ac_status=$? |
| 15068 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15069 |
> |
test $ac_status = 0; } |
| 15070 |
> |
;; |
| 15071 |
> |
*) |
| 15072 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15073 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15074 |
> |
ac_status=$? |
| 15075 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15076 |
> |
test $ac_status = 0; } |
| 15077 |
> |
CFLAGS="$CFLAGS $flag" |
| 15078 |
> |
;; |
| 15079 |
> |
esac |
| 15080 |
> |
else |
| 15081 |
> |
CFLAGS="$flag" |
| 15082 |
> |
fi |
| 15083 |
> |
|
| 15084 |
> |
else |
| 15085 |
> |
: |
| 15086 |
> |
fi |
| 15087 |
> |
|
| 15088 |
> |
done |
| 15089 |
> |
|
| 15090 |
> |
|
| 15091 |
> |
|
| 15092 |
> |
|
| 15093 |
> |
|
| 15094 |
> |
for flag in -Wmissing-prototypes; do |
| 15095 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15096 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15097 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15098 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15099 |
> |
$as_echo_n "(cached) " >&6 |
| 15100 |
> |
else |
| 15101 |
> |
|
| 15102 |
> |
ax_check_save_flags=$CFLAGS |
| 15103 |
> |
CFLAGS="$CFLAGS $flag" |
| 15104 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15105 |
> |
/* end confdefs.h. */ |
| 15106 |
> |
|
| 15107 |
> |
int |
| 15108 |
> |
main () |
| 15109 |
> |
{ |
| 15110 |
> |
|
| 15111 |
> |
; |
| 15112 |
> |
return 0; |
| 15113 |
> |
} |
| 15114 |
> |
_ACEOF |
| 15115 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15116 |
> |
eval "$as_CACHEVAR=yes" |
| 15117 |
> |
else |
| 15118 |
> |
eval "$as_CACHEVAR=no" |
| 15119 |
> |
fi |
| 15120 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15121 |
> |
CFLAGS=$ax_check_save_flags |
| 15122 |
> |
fi |
| 15123 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15124 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15125 |
> |
$as_echo "$ac_res" >&6; } |
| 15126 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15127 |
> |
if ${CFLAGS+:} false; then : |
| 15128 |
> |
case " $CFLAGS " in |
| 15129 |
> |
*" $flag "*) |
| 15130 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15131 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15132 |
> |
ac_status=$? |
| 15133 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15134 |
> |
test $ac_status = 0; } |
| 15135 |
> |
;; |
| 15136 |
> |
*) |
| 15137 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15138 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15139 |
> |
ac_status=$? |
| 15140 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15141 |
> |
test $ac_status = 0; } |
| 15142 |
> |
CFLAGS="$CFLAGS $flag" |
| 15143 |
> |
;; |
| 15144 |
> |
esac |
| 15145 |
> |
else |
| 15146 |
> |
CFLAGS="$flag" |
| 15147 |
> |
fi |
| 15148 |
> |
|
| 15149 |
> |
else |
| 15150 |
> |
: |
| 15151 |
> |
fi |
| 15152 |
> |
|
| 15153 |
> |
done |
| 15154 |
> |
|
| 15155 |
> |
|
| 15156 |
> |
|
| 15157 |
> |
|
| 15158 |
> |
|
| 15159 |
> |
for flag in -Wnested-externs; do |
| 15160 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15161 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15162 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15163 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15164 |
> |
$as_echo_n "(cached) " >&6 |
| 15165 |
> |
else |
| 15166 |
> |
|
| 15167 |
> |
ax_check_save_flags=$CFLAGS |
| 15168 |
> |
CFLAGS="$CFLAGS $flag" |
| 15169 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15170 |
> |
/* end confdefs.h. */ |
| 15171 |
> |
|
| 15172 |
> |
int |
| 15173 |
> |
main () |
| 15174 |
> |
{ |
| 15175 |
> |
|
| 15176 |
> |
; |
| 15177 |
> |
return 0; |
| 15178 |
> |
} |
| 15179 |
> |
_ACEOF |
| 15180 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15181 |
> |
eval "$as_CACHEVAR=yes" |
| 15182 |
> |
else |
| 15183 |
> |
eval "$as_CACHEVAR=no" |
| 15184 |
> |
fi |
| 15185 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15186 |
> |
CFLAGS=$ax_check_save_flags |
| 15187 |
> |
fi |
| 15188 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15189 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15190 |
> |
$as_echo "$ac_res" >&6; } |
| 15191 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15192 |
> |
if ${CFLAGS+:} false; then : |
| 15193 |
> |
case " $CFLAGS " in |
| 15194 |
> |
*" $flag "*) |
| 15195 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15196 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15197 |
> |
ac_status=$? |
| 15198 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15199 |
> |
test $ac_status = 0; } |
| 15200 |
> |
;; |
| 15201 |
> |
*) |
| 15202 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15203 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15204 |
> |
ac_status=$? |
| 15205 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15206 |
> |
test $ac_status = 0; } |
| 15207 |
> |
CFLAGS="$CFLAGS $flag" |
| 15208 |
> |
;; |
| 15209 |
> |
esac |
| 15210 |
> |
else |
| 15211 |
> |
CFLAGS="$flag" |
| 15212 |
> |
fi |
| 15213 |
> |
|
| 15214 |
> |
else |
| 15215 |
> |
: |
| 15216 |
> |
fi |
| 15217 |
> |
|
| 15218 |
> |
done |
| 15219 |
> |
|
| 15220 |
> |
|
| 15221 |
> |
|
| 15222 |
> |
|
| 15223 |
> |
|
| 15224 |
> |
for flag in -Wpointer-arith; do |
| 15225 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15226 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15227 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15228 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15229 |
> |
$as_echo_n "(cached) " >&6 |
| 15230 |
> |
else |
| 15231 |
> |
|
| 15232 |
> |
ax_check_save_flags=$CFLAGS |
| 15233 |
> |
CFLAGS="$CFLAGS $flag" |
| 15234 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15235 |
> |
/* end confdefs.h. */ |
| 15236 |
> |
|
| 15237 |
> |
int |
| 15238 |
> |
main () |
| 15239 |
> |
{ |
| 15240 |
> |
|
| 15241 |
> |
; |
| 15242 |
> |
return 0; |
| 15243 |
> |
} |
| 15244 |
> |
_ACEOF |
| 15245 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15246 |
> |
eval "$as_CACHEVAR=yes" |
| 15247 |
> |
else |
| 15248 |
> |
eval "$as_CACHEVAR=no" |
| 15249 |
> |
fi |
| 15250 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15251 |
> |
CFLAGS=$ax_check_save_flags |
| 15252 |
> |
fi |
| 15253 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15254 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15255 |
> |
$as_echo "$ac_res" >&6; } |
| 15256 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15257 |
> |
if ${CFLAGS+:} false; then : |
| 15258 |
> |
case " $CFLAGS " in |
| 15259 |
> |
*" $flag "*) |
| 15260 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15261 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15262 |
> |
ac_status=$? |
| 15263 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15264 |
> |
test $ac_status = 0; } |
| 15265 |
> |
;; |
| 15266 |
> |
*) |
| 15267 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15268 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15269 |
> |
ac_status=$? |
| 15270 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15271 |
> |
test $ac_status = 0; } |
| 15272 |
> |
CFLAGS="$CFLAGS $flag" |
| 15273 |
> |
;; |
| 15274 |
> |
esac |
| 15275 |
> |
else |
| 15276 |
> |
CFLAGS="$flag" |
| 15277 |
> |
fi |
| 15278 |
> |
|
| 15279 |
> |
else |
| 15280 |
> |
: |
| 15281 |
> |
fi |
| 15282 |
> |
|
| 15283 |
> |
done |
| 15284 |
> |
|
| 15285 |
> |
|
| 15286 |
> |
|
| 15287 |
> |
|
| 15288 |
> |
|
| 15289 |
> |
for flag in -Wredundant-decls; do |
| 15290 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15291 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15292 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15293 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15294 |
> |
$as_echo_n "(cached) " >&6 |
| 15295 |
> |
else |
| 15296 |
> |
|
| 15297 |
> |
ax_check_save_flags=$CFLAGS |
| 15298 |
> |
CFLAGS="$CFLAGS $flag" |
| 15299 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15300 |
> |
/* end confdefs.h. */ |
| 15301 |
> |
|
| 15302 |
> |
int |
| 15303 |
> |
main () |
| 15304 |
> |
{ |
| 15305 |
> |
|
| 15306 |
> |
; |
| 15307 |
> |
return 0; |
| 15308 |
> |
} |
| 15309 |
> |
_ACEOF |
| 15310 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15311 |
> |
eval "$as_CACHEVAR=yes" |
| 15312 |
> |
else |
| 15313 |
> |
eval "$as_CACHEVAR=no" |
| 15314 |
> |
fi |
| 15315 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15316 |
> |
CFLAGS=$ax_check_save_flags |
| 15317 |
> |
fi |
| 15318 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15319 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15320 |
> |
$as_echo "$ac_res" >&6; } |
| 15321 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15322 |
> |
if ${CFLAGS+:} false; then : |
| 15323 |
> |
case " $CFLAGS " in |
| 15324 |
> |
*" $flag "*) |
| 15325 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15326 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15327 |
> |
ac_status=$? |
| 15328 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15329 |
> |
test $ac_status = 0; } |
| 15330 |
> |
;; |
| 15331 |
> |
*) |
| 15332 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15333 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15334 |
> |
ac_status=$? |
| 15335 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15336 |
> |
test $ac_status = 0; } |
| 15337 |
> |
CFLAGS="$CFLAGS $flag" |
| 15338 |
> |
;; |
| 15339 |
> |
esac |
| 15340 |
> |
else |
| 15341 |
> |
CFLAGS="$flag" |
| 15342 |
> |
fi |
| 15343 |
> |
|
| 15344 |
> |
else |
| 15345 |
> |
: |
| 15346 |
> |
fi |
| 15347 |
> |
|
| 15348 |
> |
done |
| 15349 |
> |
|
| 15350 |
> |
|
| 15351 |
> |
|
| 15352 |
> |
|
| 15353 |
> |
|
| 15354 |
> |
for flag in -Wshadow; do |
| 15355 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15356 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15357 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15358 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15359 |
> |
$as_echo_n "(cached) " >&6 |
| 15360 |
> |
else |
| 15361 |
> |
|
| 15362 |
> |
ax_check_save_flags=$CFLAGS |
| 15363 |
> |
CFLAGS="$CFLAGS $flag" |
| 15364 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15365 |
> |
/* end confdefs.h. */ |
| 15366 |
> |
|
| 15367 |
> |
int |
| 15368 |
> |
main () |
| 15369 |
> |
{ |
| 15370 |
> |
|
| 15371 |
> |
; |
| 15372 |
> |
return 0; |
| 15373 |
> |
} |
| 15374 |
> |
_ACEOF |
| 15375 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15376 |
> |
eval "$as_CACHEVAR=yes" |
| 15377 |
> |
else |
| 15378 |
> |
eval "$as_CACHEVAR=no" |
| 15379 |
> |
fi |
| 15380 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15381 |
> |
CFLAGS=$ax_check_save_flags |
| 15382 |
> |
fi |
| 15383 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15384 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15385 |
> |
$as_echo "$ac_res" >&6; } |
| 15386 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15387 |
> |
if ${CFLAGS+:} false; then : |
| 15388 |
> |
case " $CFLAGS " in |
| 15389 |
> |
*" $flag "*) |
| 15390 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15391 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15392 |
> |
ac_status=$? |
| 15393 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15394 |
> |
test $ac_status = 0; } |
| 15395 |
> |
;; |
| 15396 |
> |
*) |
| 15397 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15398 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15399 |
> |
ac_status=$? |
| 15400 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15401 |
> |
test $ac_status = 0; } |
| 15402 |
> |
CFLAGS="$CFLAGS $flag" |
| 15403 |
> |
;; |
| 15404 |
> |
esac |
| 15405 |
> |
else |
| 15406 |
> |
CFLAGS="$flag" |
| 15407 |
> |
fi |
| 15408 |
> |
|
| 15409 |
> |
else |
| 15410 |
> |
: |
| 15411 |
> |
fi |
| 15412 |
> |
|
| 15413 |
> |
done |
| 15414 |
> |
|
| 15415 |
> |
|
| 15416 |
> |
|
| 15417 |
> |
|
| 15418 |
> |
|
| 15419 |
> |
for flag in -Wwrite-strings; do |
| 15420 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15421 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15422 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15423 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15424 |
> |
$as_echo_n "(cached) " >&6 |
| 15425 |
> |
else |
| 15426 |
> |
|
| 15427 |
> |
ax_check_save_flags=$CFLAGS |
| 15428 |
> |
CFLAGS="$CFLAGS $flag" |
| 15429 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15430 |
> |
/* end confdefs.h. */ |
| 15431 |
> |
|
| 15432 |
> |
int |
| 15433 |
> |
main () |
| 15434 |
> |
{ |
| 15435 |
> |
|
| 15436 |
> |
; |
| 15437 |
> |
return 0; |
| 15438 |
> |
} |
| 15439 |
> |
_ACEOF |
| 15440 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15441 |
> |
eval "$as_CACHEVAR=yes" |
| 15442 |
> |
else |
| 15443 |
> |
eval "$as_CACHEVAR=no" |
| 15444 |
> |
fi |
| 15445 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15446 |
> |
CFLAGS=$ax_check_save_flags |
| 15447 |
> |
fi |
| 15448 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15449 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15450 |
> |
$as_echo "$ac_res" >&6; } |
| 15451 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15452 |
> |
if ${CFLAGS+:} false; then : |
| 15453 |
> |
case " $CFLAGS " in |
| 15454 |
> |
*" $flag "*) |
| 15455 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15456 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15457 |
> |
ac_status=$? |
| 15458 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15459 |
> |
test $ac_status = 0; } |
| 15460 |
> |
;; |
| 15461 |
> |
*) |
| 15462 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15463 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15464 |
> |
ac_status=$? |
| 15465 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15466 |
> |
test $ac_status = 0; } |
| 15467 |
> |
CFLAGS="$CFLAGS $flag" |
| 15468 |
> |
;; |
| 15469 |
> |
esac |
| 15470 |
> |
else |
| 15471 |
> |
CFLAGS="$flag" |
| 15472 |
> |
fi |
| 15473 |
> |
|
| 15474 |
> |
else |
| 15475 |
> |
: |
| 15476 |
> |
fi |
| 15477 |
> |
|
| 15478 |
> |
done |
| 15479 |
> |
|
| 15480 |
> |
|
| 15481 |
> |
|
| 15482 |
> |
|
| 15483 |
> |
|
| 15484 |
> |
for flag in -Wundef; do |
| 15485 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15486 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15487 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15488 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15489 |
> |
$as_echo_n "(cached) " >&6 |
| 15490 |
> |
else |
| 15491 |
> |
|
| 15492 |
> |
ax_check_save_flags=$CFLAGS |
| 15493 |
> |
CFLAGS="$CFLAGS $flag" |
| 15494 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15495 |
> |
/* end confdefs.h. */ |
| 15496 |
> |
|
| 15497 |
> |
int |
| 15498 |
> |
main () |
| 15499 |
> |
{ |
| 15500 |
> |
|
| 15501 |
> |
; |
| 15502 |
> |
return 0; |
| 15503 |
> |
} |
| 15504 |
> |
_ACEOF |
| 15505 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15506 |
> |
eval "$as_CACHEVAR=yes" |
| 15507 |
> |
else |
| 15508 |
> |
eval "$as_CACHEVAR=no" |
| 15509 |
> |
fi |
| 15510 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15511 |
> |
CFLAGS=$ax_check_save_flags |
| 15512 |
> |
fi |
| 15513 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15514 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15515 |
> |
$as_echo "$ac_res" >&6; } |
| 15516 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15517 |
> |
if ${CFLAGS+:} false; then : |
| 15518 |
> |
case " $CFLAGS " in |
| 15519 |
> |
*" $flag "*) |
| 15520 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15521 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15522 |
> |
ac_status=$? |
| 15523 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15524 |
> |
test $ac_status = 0; } |
| 15525 |
> |
;; |
| 15526 |
> |
*) |
| 15527 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15528 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15529 |
> |
ac_status=$? |
| 15530 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15531 |
> |
test $ac_status = 0; } |
| 15532 |
> |
CFLAGS="$CFLAGS $flag" |
| 15533 |
> |
;; |
| 15534 |
> |
esac |
| 15535 |
> |
else |
| 15536 |
> |
CFLAGS="$flag" |
| 15537 |
> |
fi |
| 15538 |
> |
|
| 15539 |
> |
else |
| 15540 |
> |
: |
| 15541 |
> |
fi |
| 15542 |
> |
|
| 15543 |
> |
done |
| 15544 |
> |
|
| 15545 |
|
fi |
| 15546 |
|
|
| 15547 |
|
|
| 16198 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 16199 |
|
# values after options handling. |
| 16200 |
|
ac_log=" |
| 16201 |
< |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
| 16201 |
> |
This file was extended by ircd-hybrid $as_me 8.2.0rc1, which was |
| 16202 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 16203 |
|
|
| 16204 |
|
CONFIG_FILES = $CONFIG_FILES |
| 16264 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 16265 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 16266 |
|
ac_cs_version="\\ |
| 16267 |
< |
ircd-hybrid config.status TRUNK |
| 16267 |
> |
ircd-hybrid config.status 8.2.0rc1 |
| 16268 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 16269 |
|
with options \\"\$ac_cs_config\\" |
| 16270 |
|
|