| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 2594 2013-11-21 17:20:41Z 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 |
| 13213 |
|
fi |
| 13214 |
|
|
| 13215 |
|
|
| 13220 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5 |
| 13221 |
– |
$as_echo_n "checking whether C compiler accepts ... " >&6; } |
| 13222 |
– |
if ${ax_cv_check_cflags__+:} false; then : |
| 13223 |
– |
$as_echo_n "(cached) " >&6 |
| 13224 |
– |
else |
| 13225 |
– |
|
| 13226 |
– |
ax_check_save_flags=$CFLAGS |
| 13227 |
– |
CFLAGS="$CFLAGS " |
| 13228 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13229 |
– |
/* end confdefs.h. */ |
| 13230 |
– |
|
| 13231 |
– |
int |
| 13232 |
– |
main () |
| 13233 |
– |
{ |
| 13234 |
– |
|
| 13235 |
– |
; |
| 13236 |
– |
return 0; |
| 13237 |
– |
} |
| 13238 |
– |
_ACEOF |
| 13239 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13240 |
– |
ax_cv_check_cflags__=yes |
| 13241 |
– |
else |
| 13242 |
– |
ax_cv_check_cflags__=no |
| 13243 |
– |
fi |
| 13244 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13245 |
– |
CFLAGS=$ax_check_save_flags |
| 13246 |
– |
fi |
| 13247 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5 |
| 13248 |
– |
$as_echo "$ax_cv_check_cflags__" >&6; } |
| 13249 |
– |
if test x"$ax_cv_check_cflags__" = xyes; then : |
| 13250 |
– |
: |
| 13251 |
– |
else |
| 13252 |
– |
: |
| 13253 |
– |
fi |
| 13216 |
|
|
| 13255 |
– |
if ${CFLAGS+:} false; then : |
| 13256 |
– |
case " $CFLAGS " in |
| 13257 |
– |
*" "*) |
| 13258 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5 |
| 13259 |
– |
(: CFLAGS already contains ) 2>&5 |
| 13260 |
– |
ac_status=$? |
| 13261 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13262 |
– |
test $ac_status = 0; } |
| 13263 |
– |
;; |
| 13264 |
– |
*) |
| 13265 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5 |
| 13266 |
– |
(: CFLAGS="$CFLAGS ") 2>&5 |
| 13267 |
– |
ac_status=$? |
| 13268 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13269 |
– |
test $ac_status = 0; } |
| 13270 |
– |
CFLAGS="$CFLAGS " |
| 13271 |
– |
;; |
| 13272 |
– |
esac |
| 13273 |
– |
else |
| 13274 |
– |
CFLAGS="" |
| 13275 |
– |
fi |
| 13217 |
|
|
| 13218 |
|
|
| 13219 |
|
|
| 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 |
|
|
| 14279 |
– |
# Check whether --enable-select was given. |
| 14280 |
– |
if test "${enable_select+set}" = set; then : |
| 14281 |
– |
enableval=$enable_select; desired_iopoll_mechanism="select" |
| 14282 |
– |
fi |
| 14283 |
– |
|
| 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 |
| 14285 |
|
#define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll |
| 14286 |
|
_ACEOF |
| 14287 |
|
|
| 14352 |
– |
if test "$cross_compiling" = yes; then : |
| 14353 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14354 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14355 |
– |
as_fn_error $? "cannot run test program while cross compiling |
| 14356 |
– |
See \`config.log' for more details" "$LINENO" 5; } |
| 14357 |
– |
else |
| 14288 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14289 |
|
/* end confdefs.h. */ |
| 14360 |
– |
|
| 14290 |
|
#include <sys/epoll.h> |
| 14362 |
– |
#include <sys/syscall.h> |
| 14363 |
– |
#if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY) |
| 14364 |
– |
#if !defined(__NR_epoll_create) |
| 14365 |
– |
#if defined(__ia64__) |
| 14366 |
– |
#define __NR_epoll_create 1243 |
| 14367 |
– |
#elif defined(__x86_64__) |
| 14368 |
– |
#define __NR_epoll_create 214 |
| 14369 |
– |
#elif defined(__sparc64__) || defined(__sparc__) |
| 14370 |
– |
#define __NR_epoll_create 193 |
| 14371 |
– |
#elif defined(__s390__) || defined(__m68k__) |
| 14372 |
– |
#define __NR_epoll_create 249 |
| 14373 |
– |
#elif defined(__ppc64__) || defined(__ppc__) |
| 14374 |
– |
#define __NR_epoll_create 236 |
| 14375 |
– |
#elif defined(__parisc__) || defined(__arm26__) || defined(__arm__) |
| 14376 |
– |
#define __NR_epoll_create 224 |
| 14377 |
– |
#elif defined(__alpha__) |
| 14378 |
– |
#define __NR_epoll_create 407 |
| 14379 |
– |
#elif defined(__sh64__) |
| 14380 |
– |
#define __NR_epoll_create 282 |
| 14381 |
– |
#elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__) |
| 14382 |
– |
#define __NR_epoll_create 254 |
| 14383 |
– |
#else |
| 14384 |
– |
#error No system call numbers defined for epoll family. |
| 14385 |
– |
#endif |
| 14386 |
– |
#endif |
| 14387 |
– |
_syscall1(int, epoll_create, int, size) |
| 14388 |
– |
#endif |
| 14389 |
– |
|
| 14291 |
|
int |
| 14292 |
|
main () |
| 14293 |
|
{ |
| 14294 |
< |
return epoll_create(256) == -1 ? 1 : 0 |
| 14294 |
> |
epol_create(256); |
| 14295 |
|
; |
| 14296 |
|
return 0; |
| 14297 |
|
} |
| 14298 |
|
_ACEOF |
| 14299 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 14299 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 14300 |
|
is_epoll_mechanism_available="yes" |
| 14301 |
|
else |
| 14302 |
|
is_epoll_mechanism_available="no" |
| 14303 |
|
fi |
| 14304 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14305 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14405 |
< |
fi |
| 14406 |
< |
|
| 14304 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 14305 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 14306 |
|
iopoll_mechanism_devpoll=3 |
| 14307 |
|
|
| 14308 |
|
cat >>confdefs.h <<_ACEOF |
| 14407 |
|
fi |
| 14408 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14409 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14511 |
– |
iopoll_mechanism_select=5 |
| 14512 |
– |
|
| 14513 |
– |
cat >>confdefs.h <<_ACEOF |
| 14514 |
– |
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 14515 |
– |
_ACEOF |
| 14516 |
– |
|
| 14517 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14518 |
– |
/* end confdefs.h. */ |
| 14519 |
– |
/* Define select to an innocuous variant, in case <limits.h> declares select. |
| 14520 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 14521 |
– |
#define select innocuous_select |
| 14522 |
– |
|
| 14523 |
– |
/* System header to define __stub macros and hopefully few prototypes, |
| 14524 |
– |
which can conflict with char select (); below. |
| 14525 |
– |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 14526 |
– |
<limits.h> exists even on freestanding compilers. */ |
| 14527 |
– |
|
| 14528 |
– |
#ifdef __STDC__ |
| 14529 |
– |
# include <limits.h> |
| 14530 |
– |
#else |
| 14531 |
– |
# include <assert.h> |
| 14532 |
– |
#endif |
| 14533 |
– |
|
| 14534 |
– |
#undef select |
| 14535 |
– |
|
| 14536 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 14537 |
– |
Use char because int might match the return type of a GCC |
| 14538 |
– |
builtin and then its argument prototype would still apply. */ |
| 14539 |
– |
#ifdef __cplusplus |
| 14540 |
– |
extern "C" |
| 14541 |
– |
#endif |
| 14542 |
– |
char select (); |
| 14543 |
– |
/* The GNU C library defines this for functions which it implements |
| 14544 |
– |
to always fail with ENOSYS. Some functions are actually named |
| 14545 |
– |
something starting with __ and the normal name is an alias. */ |
| 14546 |
– |
#if defined __stub_select || defined __stub___select |
| 14547 |
– |
choke me |
| 14548 |
– |
#endif |
| 14549 |
– |
|
| 14550 |
– |
int |
| 14551 |
– |
main () |
| 14552 |
– |
{ |
| 14553 |
– |
return select (); |
| 14554 |
– |
; |
| 14555 |
– |
return 0; |
| 14556 |
– |
} |
| 14557 |
– |
_ACEOF |
| 14558 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 14559 |
– |
is_select_mechanism_available="yes" |
| 14560 |
– |
else |
| 14561 |
– |
is_select_mechanism_available="no" |
| 14562 |
– |
fi |
| 14563 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 14564 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 14410 |
|
optimal_iopoll_mechanism="none" |
| 14411 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
| 14411 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important |
| 14412 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 14413 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 14414 |
|
optimal_iopoll_mechanism="$mechanism" |
| 14445 |
|
|
| 14446 |
|
|
| 14447 |
|
|
| 14603 |
– |
# Check whether --enable-halfops was given. |
| 14604 |
– |
if test "${enable_halfops+set}" = set; then : |
| 14605 |
– |
enableval=$enable_halfops; halfops="$enableval" |
| 14606 |
– |
else |
| 14607 |
– |
halfops="no" |
| 14608 |
– |
fi |
| 14609 |
– |
|
| 14610 |
– |
if test "$halfops" = "yes" ; then |
| 14611 |
– |
|
| 14612 |
– |
$as_echo "#define HALFOPS 1" >>confdefs.h |
| 14613 |
– |
|
| 14614 |
– |
fi |
| 14615 |
– |
|
| 14616 |
– |
|
| 14448 |
|
# Check whether --enable-debugging was given. |
| 14449 |
|
if test "${enable_debugging+set}" = set; then : |
| 14450 |
|
enableval=$enable_debugging; debugging="$enableval" |
| 14467 |
|
if test "$warnings" = "yes" ; then |
| 14468 |
|
|
| 14469 |
|
|
| 14470 |
+ |
|
| 14471 |
+ |
|
| 14472 |
|
for flag in -Wall; do |
| 14473 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14474 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14532 |
|
|
| 14533 |
|
|
| 14534 |
|
|
| 14535 |
+ |
|
| 14536 |
+ |
|
| 14537 |
|
for flag in -Wextra; do |
| 14538 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14539 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14597 |
|
|
| 14598 |
|
|
| 14599 |
|
|
| 14600 |
+ |
|
| 14601 |
+ |
|
| 14602 |
|
for flag in -Wno-unused; do |
| 14603 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14604 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14662 |
|
|
| 14663 |
|
|
| 14664 |
|
|
| 14665 |
+ |
|
| 14666 |
+ |
|
| 14667 |
|
for flag in -Wcast-qual; do |
| 14668 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14669 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14727 |
|
|
| 14728 |
|
|
| 14729 |
|
|
| 14730 |
+ |
|
| 14731 |
+ |
|
| 14732 |
|
for flag in -Wcast-align; do |
| 14733 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14734 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14792 |
|
|
| 14793 |
|
|
| 14794 |
|
|
| 14795 |
+ |
|
| 14796 |
+ |
|
| 14797 |
|
for flag in -Wbad-function-cast; do |
| 14798 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14799 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14857 |
|
|
| 14858 |
|
|
| 14859 |
|
|
| 14860 |
+ |
|
| 14861 |
+ |
|
| 14862 |
+ |
for flag in -Wlogical-op; do |
| 14863 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14864 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14865 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14866 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 14867 |
+ |
$as_echo_n "(cached) " >&6 |
| 14868 |
+ |
else |
| 14869 |
+ |
|
| 14870 |
+ |
ax_check_save_flags=$CFLAGS |
| 14871 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14872 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14873 |
+ |
/* end confdefs.h. */ |
| 14874 |
+ |
|
| 14875 |
+ |
int |
| 14876 |
+ |
main () |
| 14877 |
+ |
{ |
| 14878 |
+ |
|
| 14879 |
+ |
; |
| 14880 |
+ |
return 0; |
| 14881 |
+ |
} |
| 14882 |
+ |
_ACEOF |
| 14883 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14884 |
+ |
eval "$as_CACHEVAR=yes" |
| 14885 |
+ |
else |
| 14886 |
+ |
eval "$as_CACHEVAR=no" |
| 14887 |
+ |
fi |
| 14888 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14889 |
+ |
CFLAGS=$ax_check_save_flags |
| 14890 |
+ |
fi |
| 14891 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14892 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14893 |
+ |
$as_echo "$ac_res" >&6; } |
| 14894 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14895 |
+ |
if ${CFLAGS+:} false; then : |
| 14896 |
+ |
case " $CFLAGS " in |
| 14897 |
+ |
*" $flag "*) |
| 14898 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14899 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14900 |
+ |
ac_status=$? |
| 14901 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14902 |
+ |
test $ac_status = 0; } |
| 14903 |
+ |
;; |
| 14904 |
+ |
*) |
| 14905 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14906 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14907 |
+ |
ac_status=$? |
| 14908 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14909 |
+ |
test $ac_status = 0; } |
| 14910 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14911 |
+ |
;; |
| 14912 |
+ |
esac |
| 14913 |
+ |
else |
| 14914 |
+ |
CFLAGS="$flag" |
| 14915 |
+ |
fi |
| 14916 |
+ |
|
| 14917 |
+ |
else |
| 14918 |
+ |
: |
| 14919 |
+ |
fi |
| 14920 |
+ |
|
| 14921 |
+ |
done |
| 14922 |
+ |
|
| 14923 |
+ |
|
| 14924 |
+ |
|
| 14925 |
+ |
|
| 14926 |
+ |
|
| 14927 |
|
for flag in -Wmissing-declarations; do |
| 14928 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14929 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14987 |
|
|
| 14988 |
|
|
| 14989 |
|
|
| 14990 |
+ |
|
| 14991 |
+ |
|
| 14992 |
+ |
for flag in -Wmissing-include-dirs; do |
| 14993 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14994 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14995 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14996 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 14997 |
+ |
$as_echo_n "(cached) " >&6 |
| 14998 |
+ |
else |
| 14999 |
+ |
|
| 15000 |
+ |
ax_check_save_flags=$CFLAGS |
| 15001 |
+ |
CFLAGS="$CFLAGS $flag" |
| 15002 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15003 |
+ |
/* end confdefs.h. */ |
| 15004 |
+ |
|
| 15005 |
+ |
int |
| 15006 |
+ |
main () |
| 15007 |
+ |
{ |
| 15008 |
+ |
|
| 15009 |
+ |
; |
| 15010 |
+ |
return 0; |
| 15011 |
+ |
} |
| 15012 |
+ |
_ACEOF |
| 15013 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15014 |
+ |
eval "$as_CACHEVAR=yes" |
| 15015 |
+ |
else |
| 15016 |
+ |
eval "$as_CACHEVAR=no" |
| 15017 |
+ |
fi |
| 15018 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15019 |
+ |
CFLAGS=$ax_check_save_flags |
| 15020 |
+ |
fi |
| 15021 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 15022 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15023 |
+ |
$as_echo "$ac_res" >&6; } |
| 15024 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15025 |
+ |
if ${CFLAGS+:} false; then : |
| 15026 |
+ |
case " $CFLAGS " in |
| 15027 |
+ |
*" $flag "*) |
| 15028 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15029 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 15030 |
+ |
ac_status=$? |
| 15031 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15032 |
+ |
test $ac_status = 0; } |
| 15033 |
+ |
;; |
| 15034 |
+ |
*) |
| 15035 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15036 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15037 |
+ |
ac_status=$? |
| 15038 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15039 |
+ |
test $ac_status = 0; } |
| 15040 |
+ |
CFLAGS="$CFLAGS $flag" |
| 15041 |
+ |
;; |
| 15042 |
+ |
esac |
| 15043 |
+ |
else |
| 15044 |
+ |
CFLAGS="$flag" |
| 15045 |
+ |
fi |
| 15046 |
+ |
|
| 15047 |
+ |
else |
| 15048 |
+ |
: |
| 15049 |
+ |
fi |
| 15050 |
+ |
|
| 15051 |
+ |
done |
| 15052 |
+ |
|
| 15053 |
+ |
|
| 15054 |
+ |
|
| 15055 |
+ |
|
| 15056 |
+ |
|
| 15057 |
|
for flag in -Wmissing-prototypes; do |
| 15058 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15059 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15117 |
|
|
| 15118 |
|
|
| 15119 |
|
|
| 15120 |
+ |
|
| 15121 |
+ |
|
| 15122 |
|
for flag in -Wnested-externs; do |
| 15123 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15124 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15182 |
|
|
| 15183 |
|
|
| 15184 |
|
|
| 15185 |
+ |
|
| 15186 |
+ |
|
| 15187 |
+ |
for flag in -Wpointer-arith; do |
| 15188 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15189 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15190 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15191 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 15192 |
+ |
$as_echo_n "(cached) " >&6 |
| 15193 |
+ |
else |
| 15194 |
+ |
|
| 15195 |
+ |
ax_check_save_flags=$CFLAGS |
| 15196 |
+ |
CFLAGS="$CFLAGS $flag" |
| 15197 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15198 |
+ |
/* end confdefs.h. */ |
| 15199 |
+ |
|
| 15200 |
+ |
int |
| 15201 |
+ |
main () |
| 15202 |
+ |
{ |
| 15203 |
+ |
|
| 15204 |
+ |
; |
| 15205 |
+ |
return 0; |
| 15206 |
+ |
} |
| 15207 |
+ |
_ACEOF |
| 15208 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15209 |
+ |
eval "$as_CACHEVAR=yes" |
| 15210 |
+ |
else |
| 15211 |
+ |
eval "$as_CACHEVAR=no" |
| 15212 |
+ |
fi |
| 15213 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15214 |
+ |
CFLAGS=$ax_check_save_flags |
| 15215 |
+ |
fi |
| 15216 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 15217 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15218 |
+ |
$as_echo "$ac_res" >&6; } |
| 15219 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15220 |
+ |
if ${CFLAGS+:} false; then : |
| 15221 |
+ |
case " $CFLAGS " in |
| 15222 |
+ |
*" $flag "*) |
| 15223 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15224 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 15225 |
+ |
ac_status=$? |
| 15226 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15227 |
+ |
test $ac_status = 0; } |
| 15228 |
+ |
;; |
| 15229 |
+ |
*) |
| 15230 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15231 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15232 |
+ |
ac_status=$? |
| 15233 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15234 |
+ |
test $ac_status = 0; } |
| 15235 |
+ |
CFLAGS="$CFLAGS $flag" |
| 15236 |
+ |
;; |
| 15237 |
+ |
esac |
| 15238 |
+ |
else |
| 15239 |
+ |
CFLAGS="$flag" |
| 15240 |
+ |
fi |
| 15241 |
+ |
|
| 15242 |
+ |
else |
| 15243 |
+ |
: |
| 15244 |
+ |
fi |
| 15245 |
+ |
|
| 15246 |
+ |
done |
| 15247 |
+ |
|
| 15248 |
+ |
|
| 15249 |
+ |
|
| 15250 |
+ |
|
| 15251 |
+ |
|
| 15252 |
|
for flag in -Wredundant-decls; do |
| 15253 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15254 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15312 |
|
|
| 15313 |
|
|
| 15314 |
|
|
| 15315 |
+ |
|
| 15316 |
+ |
|
| 15317 |
|
for flag in -Wshadow; do |
| 15318 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15319 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15377 |
|
|
| 15378 |
|
|
| 15379 |
|
|
| 15380 |
+ |
|
| 15381 |
+ |
|
| 15382 |
|
for flag in -Wwrite-strings; do |
| 15383 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15384 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15442 |
|
|
| 15443 |
|
|
| 15444 |
|
|
| 15445 |
+ |
|
| 15446 |
+ |
|
| 15447 |
|
for flag in -Wundef; do |
| 15448 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15449 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16161 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 16162 |
|
# values after options handling. |
| 16163 |
|
ac_log=" |
| 16164 |
< |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
| 16164 |
> |
This file was extended by ircd-hybrid $as_me 8.2.0rc1, which was |
| 16165 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 16166 |
|
|
| 16167 |
|
CONFIG_FILES = $CONFIG_FILES |
| 16227 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 16228 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 16229 |
|
ac_cs_version="\\ |
| 16230 |
< |
ircd-hybrid config.status TRUNK |
| 16230 |
> |
ircd-hybrid config.status 8.2.0rc1 |
| 16231 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 16232 |
|
with options \\"\$ac_cs_config\\" |
| 16233 |
|
|