| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1292 2012-02-12 20:36:27Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 4363 2014-08-02 22:23:09Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0rc1. |
| 5 |
|
# |
| 6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
|
# |
| 8 |
|
# |
| 9 |
< |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 10 |
< |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
| 11 |
< |
# Foundation, Inc. |
| 9 |
> |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| 10 |
|
# |
| 11 |
|
# |
| 12 |
|
# This configure script is free software; the Free Software Foundation |
| 135 |
|
# CDPATH. |
| 136 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 137 |
|
|
| 138 |
+ |
# Use a proper internal environment variable to ensure we don't fall |
| 139 |
+ |
# into an infinite loop, continuously re-executing ourselves. |
| 140 |
+ |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
| 141 |
+ |
_as_can_reexec=no; export _as_can_reexec; |
| 142 |
+ |
# We cannot yet assume a decent shell, so we have to provide a |
| 143 |
+ |
# neutralization value for shells without unset; and this also |
| 144 |
+ |
# works around shells that cannot unset nonexistent variables. |
| 145 |
+ |
# Preserve -v and -x to the replacement shell. |
| 146 |
+ |
BASH_ENV=/dev/null |
| 147 |
+ |
ENV=/dev/null |
| 148 |
+ |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 149 |
+ |
case $- in # (((( |
| 150 |
+ |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 151 |
+ |
*v* ) as_opts=-v ;; |
| 152 |
+ |
*x* ) as_opts=-x ;; |
| 153 |
+ |
* ) as_opts= ;; |
| 154 |
+ |
esac |
| 155 |
+ |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 156 |
+ |
# Admittedly, this is quite paranoid, since all the known shells bail |
| 157 |
+ |
# out after a failed `exec'. |
| 158 |
+ |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 159 |
+ |
as_fn_exit 255 |
| 160 |
+ |
fi |
| 161 |
+ |
# We don't want this to propagate to other subprocesses. |
| 162 |
+ |
{ _as_can_reexec=; unset _as_can_reexec;} |
| 163 |
|
if test "x$CONFIG_SHELL" = x; then |
| 164 |
|
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| 165 |
|
emulate sh |
| 193 |
|
else |
| 194 |
|
exitcode=1; echo positional parameters were not saved. |
| 195 |
|
fi |
| 196 |
< |
test x\$exitcode = x0 || exit 1" |
| 196 |
> |
test x\$exitcode = x0 || exit 1 |
| 197 |
> |
test -x / || exit 1" |
| 198 |
|
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 199 |
|
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 200 |
|
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 247 |
|
|
| 248 |
|
|
| 249 |
|
if test "x$CONFIG_SHELL" != x; then : |
| 250 |
< |
# We cannot yet assume a decent shell, so we have to provide a |
| 251 |
< |
# neutralization value for shells without unset; and this also |
| 252 |
< |
# works around shells that cannot unset nonexistent variables. |
| 253 |
< |
# Preserve -v and -x to the replacement shell. |
| 254 |
< |
BASH_ENV=/dev/null |
| 255 |
< |
ENV=/dev/null |
| 256 |
< |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 257 |
< |
export CONFIG_SHELL |
| 258 |
< |
case $- in # (((( |
| 259 |
< |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 260 |
< |
*v* ) as_opts=-v ;; |
| 261 |
< |
*x* ) as_opts=-x ;; |
| 262 |
< |
* ) as_opts= ;; |
| 263 |
< |
esac |
| 264 |
< |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
| 250 |
> |
export CONFIG_SHELL |
| 251 |
> |
# We cannot yet assume a decent shell, so we have to provide a |
| 252 |
> |
# neutralization value for shells without unset; and this also |
| 253 |
> |
# works around shells that cannot unset nonexistent variables. |
| 254 |
> |
# Preserve -v and -x to the replacement shell. |
| 255 |
> |
BASH_ENV=/dev/null |
| 256 |
> |
ENV=/dev/null |
| 257 |
> |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 258 |
> |
case $- in # (((( |
| 259 |
> |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 260 |
> |
*v* ) as_opts=-v ;; |
| 261 |
> |
*x* ) as_opts=-x ;; |
| 262 |
> |
* ) as_opts= ;; |
| 263 |
> |
esac |
| 264 |
> |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 265 |
> |
# Admittedly, this is quite paranoid, since all the known shells bail |
| 266 |
> |
# out after a failed `exec'. |
| 267 |
> |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 268 |
> |
exit 255 |
| 269 |
|
fi |
| 270 |
|
|
| 271 |
|
if test x$as_have_required = xno; then : |
| 368 |
|
|
| 369 |
|
|
| 370 |
|
} # as_fn_mkdir_p |
| 371 |
+ |
|
| 372 |
+ |
# as_fn_executable_p FILE |
| 373 |
+ |
# ----------------------- |
| 374 |
+ |
# Test if FILE is an executable regular file. |
| 375 |
+ |
as_fn_executable_p () |
| 376 |
+ |
{ |
| 377 |
+ |
test -f "$1" && test -x "$1" |
| 378 |
+ |
} # as_fn_executable_p |
| 379 |
|
# as_fn_append VAR VALUE |
| 380 |
|
# ---------------------- |
| 381 |
|
# Append the text in VALUE to the end of the definition contained in VAR. Take |
| 497 |
|
chmod +x "$as_me.lineno" || |
| 498 |
|
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 499 |
|
|
| 500 |
+ |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 501 |
+ |
# already done that, so ensure we don't try to do so again and fall |
| 502 |
+ |
# in an infinite loop. This has already happened in practice. |
| 503 |
+ |
_as_can_reexec=no; export _as_can_reexec |
| 504 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
| 505 |
|
# (the dirname of $[0] is not the place where we might find the |
| 506 |
|
# original and so on. Autoconf is especially sensitive to this). |
| 535 |
|
# ... but there are two gotchas: |
| 536 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 537 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 538 |
< |
# In both cases, we have to default to `cp -p'. |
| 538 |
> |
# In both cases, we have to default to `cp -pR'. |
| 539 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 540 |
< |
as_ln_s='cp -p' |
| 540 |
> |
as_ln_s='cp -pR' |
| 541 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 542 |
|
as_ln_s=ln |
| 543 |
|
else |
| 544 |
< |
as_ln_s='cp -p' |
| 544 |
> |
as_ln_s='cp -pR' |
| 545 |
|
fi |
| 546 |
|
else |
| 547 |
< |
as_ln_s='cp -p' |
| 547 |
> |
as_ln_s='cp -pR' |
| 548 |
|
fi |
| 549 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 550 |
|
rmdir conf$$.dir 2>/dev/null |
| 556 |
|
as_mkdir_p=false |
| 557 |
|
fi |
| 558 |
|
|
| 559 |
< |
if test -x / >/dev/null 2>&1; then |
| 560 |
< |
as_test_x='test -x' |
| 521 |
< |
else |
| 522 |
< |
if ls -dL / >/dev/null 2>&1; then |
| 523 |
< |
as_ls_L_option=L |
| 524 |
< |
else |
| 525 |
< |
as_ls_L_option= |
| 526 |
< |
fi |
| 527 |
< |
as_test_x=' |
| 528 |
< |
eval sh -c '\'' |
| 529 |
< |
if test -d "$1"; then |
| 530 |
< |
test -d "$1/."; |
| 531 |
< |
else |
| 532 |
< |
case $1 in #( |
| 533 |
< |
-*)set "./$1";; |
| 534 |
< |
esac; |
| 535 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 536 |
< |
???[sx]*):;;*)false;;esac;fi |
| 537 |
< |
'\'' sh |
| 538 |
< |
' |
| 539 |
< |
fi |
| 540 |
< |
as_executable_p=$as_test_x |
| 559 |
> |
as_test_x='test -x' |
| 560 |
> |
as_executable_p=as_fn_executable_p |
| 561 |
|
|
| 562 |
|
# Sed expression to map a string onto a valid CPP name. |
| 563 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 593 |
|
# Identity of this package. |
| 594 |
|
PACKAGE_NAME='ircd-hybrid' |
| 595 |
|
PACKAGE_TARNAME='ircd-hybrid' |
| 596 |
< |
PACKAGE_VERSION='8beta1' |
| 597 |
< |
PACKAGE_STRING='ircd-hybrid 8beta1' |
| 596 |
> |
PACKAGE_VERSION='8.2.0rc1' |
| 597 |
> |
PACKAGE_STRING='ircd-hybrid 8.2.0rc1' |
| 598 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 599 |
|
PACKAGE_URL='' |
| 600 |
|
|
| 648 |
|
LIBDIR |
| 649 |
|
SYSCONFDIR |
| 650 |
|
PREFIX |
| 631 |
– |
EFNET_FALSE |
| 632 |
– |
EFNET_TRUE |
| 651 |
|
ENABLE_SSL_FALSE |
| 652 |
|
ENABLE_SSL_TRUE |
| 635 |
– |
ENABLE_PCRE_FALSE |
| 636 |
– |
ENABLE_PCRE_TRUE |
| 653 |
|
LTDLOPEN |
| 654 |
|
LT_CONFIG_H |
| 655 |
|
CONVENIENCE_LTDL_FALSE |
| 723 |
|
MAINT |
| 724 |
|
MAINTAINER_MODE_FALSE |
| 725 |
|
MAINTAINER_MODE_TRUE |
| 726 |
+ |
AM_BACKSLASH |
| 727 |
+ |
AM_DEFAULT_VERBOSITY |
| 728 |
+ |
AM_DEFAULT_V |
| 729 |
+ |
AM_V |
| 730 |
|
am__untar |
| 731 |
|
am__tar |
| 732 |
|
AMTAR |
| 791 |
|
ac_subst_files='' |
| 792 |
|
ac_user_opts=' |
| 793 |
|
enable_option_checking |
| 794 |
+ |
enable_silent_rules |
| 795 |
|
enable_maintainer_mode |
| 796 |
|
enable_dependency_tracking |
| 797 |
|
enable_static |
| 805 |
|
with_ltdl_include |
| 806 |
|
with_ltdl_lib |
| 807 |
|
enable_ltdl_install |
| 808 |
< |
with_libpcre_path |
| 788 |
< |
enable_libpcre |
| 789 |
< |
enable_openssl |
| 808 |
> |
enable_libgeoip |
| 809 |
|
enable_assert |
| 791 |
– |
enable_small_net |
| 810 |
|
enable_kqueue |
| 811 |
|
enable_epoll |
| 812 |
|
enable_devpoll |
| 795 |
– |
enable_rtsigio |
| 813 |
|
enable_poll |
| 797 |
– |
enable_select |
| 798 |
– |
with_nicklen |
| 799 |
– |
with_topiclen |
| 800 |
– |
enable_efnet |
| 801 |
– |
enable_halfops |
| 814 |
|
enable_debugging |
| 815 |
|
enable_warnings |
| 816 |
+ |
enable_openssl |
| 817 |
|
' |
| 818 |
|
ac_precious_vars='build_alias |
| 819 |
|
host_alias |
| 1281 |
|
if test "x$host_alias" != x; then |
| 1282 |
|
if test "x$build_alias" = x; then |
| 1283 |
|
cross_compiling=maybe |
| 1271 |
– |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
| 1272 |
– |
If a cross compiler is detected then cross compile mode will be used" >&2 |
| 1284 |
|
elif test "x$build_alias" != "x$host_alias"; then |
| 1285 |
|
cross_compiling=yes |
| 1286 |
|
fi |
| 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 8beta1 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 8beta1:";; |
| 1439 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc1:";; |
| 1440 |
|
esac |
| 1441 |
|
cat <<\_ACEOF |
| 1442 |
|
|
| 1444 |
|
--disable-option-checking ignore unrecognized --enable/--with options |
| 1445 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1446 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1447 |
< |
--enable-maintainer-mode enable make rules and dependencies not useful |
| 1448 |
< |
(and sometimes confusing) to the casual installer |
| 1449 |
< |
--disable-dependency-tracking speeds up one-time build |
| 1450 |
< |
--enable-dependency-tracking do not reject slow dependency extractors |
| 1447 |
> |
--enable-silent-rules less verbose build output (undo: "make V=1") |
| 1448 |
> |
--disable-silent-rules verbose build output (undo: "make V=0") |
| 1449 |
> |
--enable-maintainer-mode |
| 1450 |
> |
enable make rules and dependencies not useful (and |
| 1451 |
> |
sometimes confusing) to the casual installer |
| 1452 |
> |
--enable-dependency-tracking |
| 1453 |
> |
do not reject slow dependency extractors |
| 1454 |
> |
--disable-dependency-tracking |
| 1455 |
> |
speeds up one-time build |
| 1456 |
|
--enable-static[=PKGS] build static libraries [default=no] |
| 1457 |
|
--enable-shared[=PKGS] build shared libraries [default=yes] |
| 1458 |
|
--enable-fast-install[=PKGS] |
| 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 |
| 1447 |
< |
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1448 |
< |
--disable-openssl Disable OpenSSL support. |
| 1462 |
> |
--disable-libgeoip Disable GeoIP support |
| 1463 |
|
--enable-assert Enable assert() statements |
| 1450 |
– |
--enable-small-net Enable small network support. |
| 1464 |
|
--enable-kqueue Force kqueue usage. |
| 1465 |
|
--enable-epoll Force epoll usage. |
| 1466 |
|
--enable-devpoll Force devpoll usage. |
| 1454 |
– |
--enable-rtsigio Force rtsigio usage. |
| 1467 |
|
--enable-poll Force poll usage. |
| 1456 |
– |
--enable-select Force select usage. |
| 1457 |
– |
--enable-efnet For IRCDs running on EFnet. |
| 1458 |
– |
--enable-halfops Enable halfops support. |
| 1468 |
|
--enable-debugging Enable debugging. |
| 1469 |
|
--enable-warnings Enable compiler warnings. |
| 1470 |
+ |
--enable-openssl=DIR Enable LibreSSL/OpenSSL support (DIR optional). |
| 1471 |
+ |
--disable-openssl Disable LibreSSL/OpenSSL support. |
| 1472 |
|
|
| 1473 |
|
Optional Packages: |
| 1474 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1481 |
|
--with-included-ltdl use the GNU ltdl sources included here |
| 1482 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1483 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1473 |
– |
--with-libpcre-path=DIR Path to libpcre.so for PCRE support. |
| 1474 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
| 1475 |
– |
--with-topiclen=<value> Set topic length (default 160). |
| 1484 |
|
|
| 1485 |
|
Some influential environment variables: |
| 1486 |
|
CC C compiler command |
| 1564 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1565 |
|
if $ac_init_version; then |
| 1566 |
|
cat <<\_ACEOF |
| 1567 |
< |
ircd-hybrid configure 8beta1 |
| 1568 |
< |
generated by GNU Autoconf 2.68 |
| 1567 |
> |
ircd-hybrid configure 8.2.0rc1 |
| 1568 |
> |
generated by GNU Autoconf 2.69 |
| 1569 |
|
|
| 1570 |
< |
Copyright (C) 2010 Free Software Foundation, Inc. |
| 1570 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1571 |
|
This configure script is free software; the Free Software Foundation |
| 1572 |
|
gives unlimited permission to copy, distribute and modify it. |
| 1573 |
|
_ACEOF |
| 1643 |
|
test ! -s conftest.err |
| 1644 |
|
} && test -s conftest$ac_exeext && { |
| 1645 |
|
test "$cross_compiling" = yes || |
| 1646 |
< |
$as_test_x conftest$ac_exeext |
| 1646 |
> |
test -x conftest$ac_exeext |
| 1647 |
|
}; then : |
| 1648 |
|
ac_retval=0 |
| 1649 |
|
else |
| 1939 |
|
|
| 1940 |
|
} # ac_fn_c_check_type |
| 1941 |
|
|
| 1934 |
– |
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
| 1935 |
– |
# ---------------------------------------------------- |
| 1936 |
– |
# Tries to find if the field MEMBER exists in type AGGR, after including |
| 1937 |
– |
# INCLUDES, setting cache variable VAR accordingly. |
| 1938 |
– |
ac_fn_c_check_member () |
| 1939 |
– |
{ |
| 1940 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1941 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
| 1942 |
– |
$as_echo_n "checking for $2.$3... " >&6; } |
| 1943 |
– |
if eval \${$4+:} false; then : |
| 1944 |
– |
$as_echo_n "(cached) " >&6 |
| 1945 |
– |
else |
| 1946 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1947 |
– |
/* end confdefs.h. */ |
| 1948 |
– |
$5 |
| 1949 |
– |
int |
| 1950 |
– |
main () |
| 1951 |
– |
{ |
| 1952 |
– |
static $2 ac_aggr; |
| 1953 |
– |
if (ac_aggr.$3) |
| 1954 |
– |
return 0; |
| 1955 |
– |
; |
| 1956 |
– |
return 0; |
| 1957 |
– |
} |
| 1958 |
– |
_ACEOF |
| 1959 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1960 |
– |
eval "$4=yes" |
| 1961 |
– |
else |
| 1962 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1963 |
– |
/* end confdefs.h. */ |
| 1964 |
– |
$5 |
| 1965 |
– |
int |
| 1966 |
– |
main () |
| 1967 |
– |
{ |
| 1968 |
– |
static $2 ac_aggr; |
| 1969 |
– |
if (sizeof ac_aggr.$3) |
| 1970 |
– |
return 0; |
| 1971 |
– |
; |
| 1972 |
– |
return 0; |
| 1973 |
– |
} |
| 1974 |
– |
_ACEOF |
| 1975 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1976 |
– |
eval "$4=yes" |
| 1977 |
– |
else |
| 1978 |
– |
eval "$4=no" |
| 1979 |
– |
fi |
| 1980 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1981 |
– |
fi |
| 1982 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1983 |
– |
fi |
| 1984 |
– |
eval ac_res=\$$4 |
| 1985 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1986 |
– |
$as_echo "$ac_res" >&6; } |
| 1987 |
– |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1988 |
– |
|
| 1989 |
– |
} # ac_fn_c_check_member |
| 1990 |
– |
|
| 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 |
| 2033 |
|
This file contains any messages produced by compilers while |
| 2034 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2035 |
|
|
| 2036 |
< |
It was created by ircd-hybrid $as_me 8beta1, which was |
| 2037 |
< |
generated by GNU Autoconf 2.68. Invocation command line was |
| 2036 |
> |
It was created by ircd-hybrid $as_me 8.2.0rc1, which was |
| 2037 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
| 2038 |
|
|
| 2039 |
|
$ $0 $@ |
| 2040 |
|
|
| 2313 |
|
>$cache_file |
| 2314 |
|
fi |
| 2315 |
|
|
| 2365 |
– |
as_fn_append ac_func_list " mmap" |
| 2316 |
|
as_fn_append ac_func_list " strtok_r" |
| 2317 |
|
as_fn_append ac_func_list " usleep" |
| 2318 |
|
as_fn_append ac_func_list " strlcat" |
| 2319 |
|
as_fn_append ac_func_list " strlcpy" |
| 2370 |
– |
as_fn_append ac_func_list " socketpair" |
| 2320 |
|
as_fn_append ac_header_list " crypt.h" |
| 2372 |
– |
as_fn_append ac_header_list " inttypes.h" |
| 2373 |
– |
as_fn_append ac_header_list " stdint.h" |
| 2321 |
|
as_fn_append ac_header_list " sys/resource.h" |
| 2322 |
|
as_fn_append ac_header_list " sys/param.h" |
| 2376 |
– |
as_fn_append ac_header_list " errno.h" |
| 2377 |
– |
as_fn_append ac_header_list " sys/syslog.h" |
| 2323 |
|
as_fn_append ac_header_list " types.h" |
| 2324 |
|
as_fn_append ac_header_list " socket.h" |
| 2325 |
|
as_fn_append ac_header_list " sys/wait.h" |
| 2326 |
|
as_fn_append ac_header_list " wait.h" |
| 2382 |
– |
as_fn_append ac_header_list " link.h" |
| 2327 |
|
# Check that the precious variables saved in the cache have kept the same |
| 2328 |
|
# value. |
| 2329 |
|
ac_cache_corrupted=false |
| 2392 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2393 |
|
|
| 2394 |
|
|
| 2395 |
< |
am__api_version='1.11' |
| 2395 |
> |
am__api_version='1.14' |
| 2396 |
|
|
| 2397 |
|
ac_aux_dir= |
| 2398 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2460 |
|
# by default. |
| 2461 |
|
for ac_prog in ginstall scoinst install; do |
| 2462 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2463 |
< |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
| 2463 |
> |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 2464 |
|
if test $ac_prog = install && |
| 2465 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2466 |
|
# AIX install. It has an incompatible calling convention. |
| 2518 |
|
|
| 2519 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 2520 |
|
$as_echo_n "checking whether build environment is sane... " >&6; } |
| 2577 |
– |
# Just in case |
| 2578 |
– |
sleep 1 |
| 2579 |
– |
echo timestamp > conftest.file |
| 2521 |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
| 2522 |
|
# name. Accept space and tab only in the latter. |
| 2523 |
|
am_lf=' |
| 2528 |
|
esac |
| 2529 |
|
case $srcdir in |
| 2530 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 2531 |
< |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
| 2531 |
> |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 2532 |
|
esac |
| 2533 |
|
|
| 2534 |
< |
# Do `set' in a subshell so we don't clobber the current shell's |
| 2534 |
> |
# Do 'set' in a subshell so we don't clobber the current shell's |
| 2535 |
|
# arguments. Must try -L first in case configure is actually a |
| 2536 |
|
# symlink; some systems play weird games with the mod time of symlinks |
| 2537 |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
| 2538 |
|
# directory). |
| 2539 |
|
if ( |
| 2540 |
< |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 2541 |
< |
if test "$*" = "X"; then |
| 2542 |
< |
# -L didn't work. |
| 2543 |
< |
set X `ls -t "$srcdir/configure" conftest.file` |
| 2544 |
< |
fi |
| 2545 |
< |
rm -f conftest.file |
| 2546 |
< |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 2547 |
< |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 2548 |
< |
|
| 2549 |
< |
# If neither matched, then we have a broken ls. This can happen |
| 2609 |
< |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 2610 |
< |
# broken ls alias from the environment. This has actually |
| 2611 |
< |
# happened. Such a system could not be considered "sane". |
| 2612 |
< |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
| 2613 |
< |
alias in your environment" "$LINENO" 5 |
| 2614 |
< |
fi |
| 2540 |
> |
am_has_slept=no |
| 2541 |
> |
for am_try in 1 2; do |
| 2542 |
> |
echo "timestamp, slept: $am_has_slept" > conftest.file |
| 2543 |
> |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 2544 |
> |
if test "$*" = "X"; then |
| 2545 |
> |
# -L didn't work. |
| 2546 |
> |
set X `ls -t "$srcdir/configure" conftest.file` |
| 2547 |
> |
fi |
| 2548 |
> |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 2549 |
> |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 2550 |
|
|
| 2551 |
+ |
# If neither matched, then we have a broken ls. This can happen |
| 2552 |
+ |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 2553 |
+ |
# broken ls alias from the environment. This has actually |
| 2554 |
+ |
# happened. Such a system could not be considered "sane". |
| 2555 |
+ |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
| 2556 |
+ |
alias in your environment" "$LINENO" 5 |
| 2557 |
+ |
fi |
| 2558 |
+ |
if test "$2" = conftest.file || test $am_try -eq 2; then |
| 2559 |
+ |
break |
| 2560 |
+ |
fi |
| 2561 |
+ |
# Just in case. |
| 2562 |
+ |
sleep 1 |
| 2563 |
+ |
am_has_slept=yes |
| 2564 |
+ |
done |
| 2565 |
|
test "$2" = conftest.file |
| 2566 |
|
) |
| 2567 |
|
then |
| 2573 |
|
fi |
| 2574 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2575 |
|
$as_echo "yes" >&6; } |
| 2576 |
+ |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
| 2577 |
+ |
# generated files are strictly newer. |
| 2578 |
+ |
am_sleep_pid= |
| 2579 |
+ |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| 2580 |
+ |
( sleep 1 ) & |
| 2581 |
+ |
am_sleep_pid=$! |
| 2582 |
+ |
fi |
| 2583 |
+ |
|
| 2584 |
+ |
rm -f conftest.file |
| 2585 |
+ |
|
| 2586 |
|
test "$program_prefix" != NONE && |
| 2587 |
|
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 2588 |
|
# Use a double $ so make ignores it. |
| 2605 |
|
esac |
| 2606 |
|
fi |
| 2607 |
|
# Use eval to expand $SHELL |
| 2608 |
< |
if eval "$MISSING --run true"; then |
| 2609 |
< |
am_missing_run="$MISSING --run " |
| 2608 |
> |
if eval "$MISSING --is-lightweight"; then |
| 2609 |
> |
am_missing_run="$MISSING " |
| 2610 |
|
else |
| 2611 |
|
am_missing_run= |
| 2612 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
| 2613 |
< |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
| 2612 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 2613 |
> |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2614 |
|
fi |
| 2615 |
|
|
| 2616 |
|
if test x"${install_sh}" != xset; then |
| 2622 |
|
esac |
| 2623 |
|
fi |
| 2624 |
|
|
| 2625 |
< |
# Installed binaries are usually stripped using `strip' when the user |
| 2626 |
< |
# run `make install-strip'. However `strip' might not be the right |
| 2625 |
> |
# Installed binaries are usually stripped using 'strip' when the user |
| 2626 |
> |
# run "make install-strip". However 'strip' might not be the right |
| 2627 |
|
# tool to use in cross-compilation environments, therefore Automake |
| 2628 |
< |
# will honor the `STRIP' environment variable to overrule this program. |
| 2628 |
> |
# will honor the 'STRIP' environment variable to overrule this program. |
| 2629 |
|
if test "$cross_compiling" != no; then |
| 2630 |
|
if test -n "$ac_tool_prefix"; then |
| 2631 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 2644 |
|
IFS=$as_save_IFS |
| 2645 |
|
test -z "$as_dir" && as_dir=. |
| 2646 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2647 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2647 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2648 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 2649 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2650 |
|
break 2 |
| 2684 |
|
IFS=$as_save_IFS |
| 2685 |
|
test -z "$as_dir" && as_dir=. |
| 2686 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2687 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2687 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2688 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 2689 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2690 |
|
break 2 |
| 2735 |
|
test -z "$as_dir" && as_dir=. |
| 2736 |
|
for ac_prog in mkdir gmkdir; do |
| 2737 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2738 |
< |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
| 2738 |
> |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
| 2739 |
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 2740 |
|
'mkdir (GNU coreutils) '* | \ |
| 2741 |
|
'mkdir (coreutils) '* | \ |
| 2764 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 2765 |
|
$as_echo "$MKDIR_P" >&6; } |
| 2766 |
|
|
| 2808 |
– |
mkdir_p="$MKDIR_P" |
| 2809 |
– |
case $mkdir_p in |
| 2810 |
– |
[\\/$]* | ?:[\\/]*) ;; |
| 2811 |
– |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
| 2812 |
– |
esac |
| 2813 |
– |
|
| 2767 |
|
for ac_prog in gawk mawk nawk awk |
| 2768 |
|
do |
| 2769 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2782 |
|
IFS=$as_save_IFS |
| 2783 |
|
test -z "$as_dir" && as_dir=. |
| 2784 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2785 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2785 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2786 |
|
ac_cv_prog_AWK="$ac_prog" |
| 2787 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2788 |
|
break 2 |
| 2846 |
|
fi |
| 2847 |
|
rmdir .tst 2>/dev/null |
| 2848 |
|
|
| 2849 |
+ |
# Check whether --enable-silent-rules was given. |
| 2850 |
+ |
if test "${enable_silent_rules+set}" = set; then : |
| 2851 |
+ |
enableval=$enable_silent_rules; |
| 2852 |
+ |
fi |
| 2853 |
+ |
|
| 2854 |
+ |
case $enable_silent_rules in # ((( |
| 2855 |
+ |
yes) AM_DEFAULT_VERBOSITY=0;; |
| 2856 |
+ |
no) AM_DEFAULT_VERBOSITY=1;; |
| 2857 |
+ |
*) AM_DEFAULT_VERBOSITY=1;; |
| 2858 |
+ |
esac |
| 2859 |
+ |
am_make=${MAKE-make} |
| 2860 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 2861 |
+ |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 2862 |
+ |
if ${am_cv_make_support_nested_variables+:} false; then : |
| 2863 |
+ |
$as_echo_n "(cached) " >&6 |
| 2864 |
+ |
else |
| 2865 |
+ |
if $as_echo 'TRUE=$(BAR$(V)) |
| 2866 |
+ |
BAR0=false |
| 2867 |
+ |
BAR1=true |
| 2868 |
+ |
V=1 |
| 2869 |
+ |
am__doit: |
| 2870 |
+ |
@$(TRUE) |
| 2871 |
+ |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 2872 |
+ |
am_cv_make_support_nested_variables=yes |
| 2873 |
+ |
else |
| 2874 |
+ |
am_cv_make_support_nested_variables=no |
| 2875 |
+ |
fi |
| 2876 |
+ |
fi |
| 2877 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 2878 |
+ |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 2879 |
+ |
if test $am_cv_make_support_nested_variables = yes; then |
| 2880 |
+ |
AM_V='$(V)' |
| 2881 |
+ |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 2882 |
+ |
else |
| 2883 |
+ |
AM_V=$AM_DEFAULT_VERBOSITY |
| 2884 |
+ |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 2885 |
+ |
fi |
| 2886 |
+ |
AM_BACKSLASH='\' |
| 2887 |
+ |
|
| 2888 |
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 2889 |
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 2890 |
|
# is not polluted with repeated "-I." |
| 2907 |
|
|
| 2908 |
|
# Define the identity of the package. |
| 2909 |
|
PACKAGE='ircd-hybrid' |
| 2910 |
< |
VERSION='8beta1' |
| 2910 |
> |
VERSION='8.2.0rc1' |
| 2911 |
|
|
| 2912 |
|
|
| 2913 |
|
cat >>confdefs.h <<_ACEOF |
| 2935 |
|
|
| 2936 |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 2937 |
|
|
| 2938 |
+ |
# For better backward compatibility. To be removed once Automake 1.9.x |
| 2939 |
+ |
# dies out for good. For more background, see: |
| 2940 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2941 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2942 |
+ |
mkdir_p='$(MKDIR_P)' |
| 2943 |
+ |
|
| 2944 |
|
# We need awk for the "check" target. The system "awk" is bad on |
| 2945 |
|
# some platforms. |
| 2946 |
|
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 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 |
|
|
| 3047 |
|
_am_result=none |
| 3048 |
|
# First try GNU make style include. |
| 3049 |
|
echo "include confinc" > confmf |
| 3050 |
< |
# Ignore all kinds of additional output from `make'. |
| 3050 |
> |
# Ignore all kinds of additional output from 'make'. |
| 3051 |
|
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3052 |
|
*the\ am__doit\ target*) |
| 3053 |
|
am__include=include |
| 3113 |
|
IFS=$as_save_IFS |
| 3114 |
|
test -z "$as_dir" && as_dir=. |
| 3115 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3116 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3116 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3117 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3118 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3119 |
|
break 2 |
| 3153 |
|
IFS=$as_save_IFS |
| 3154 |
|
test -z "$as_dir" && as_dir=. |
| 3155 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3156 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3156 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3157 |
|
ac_cv_prog_ac_ct_CC="gcc" |
| 3158 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3159 |
|
break 2 |
| 3206 |
|
IFS=$as_save_IFS |
| 3207 |
|
test -z "$as_dir" && as_dir=. |
| 3208 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3209 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3209 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3210 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3211 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3212 |
|
break 2 |
| 3247 |
|
IFS=$as_save_IFS |
| 3248 |
|
test -z "$as_dir" && as_dir=. |
| 3249 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3250 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3250 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3251 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3252 |
|
ac_prog_rejected=yes |
| 3253 |
|
continue |
| 3305 |
|
IFS=$as_save_IFS |
| 3306 |
|
test -z "$as_dir" && as_dir=. |
| 3307 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3308 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3308 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3309 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3310 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3311 |
|
break 2 |
| 3349 |
|
IFS=$as_save_IFS |
| 3350 |
|
test -z "$as_dir" && as_dir=. |
| 3351 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3352 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3352 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3353 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3354 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3355 |
|
break 2 |
| 3795 |
|
/* end confdefs.h. */ |
| 3796 |
|
#include <stdarg.h> |
| 3797 |
|
#include <stdio.h> |
| 3798 |
< |
#include <sys/types.h> |
| 3754 |
< |
#include <sys/stat.h> |
| 3798 |
> |
struct stat; |
| 3799 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3800 |
|
struct buf { int x; }; |
| 3801 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 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 |
| 3950 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
| 3951 |
|
# making bogus files that we don't know about and never remove. For |
| 3952 |
|
# instance it was reported that on HP-UX the gcc test will end up |
| 3953 |
< |
# making a dummy file named `D' -- because `-MD' means `put the output |
| 3954 |
< |
# in D'. |
| 3953 |
> |
# making a dummy file named 'D' -- because '-MD' means "put the output |
| 3954 |
> |
# in D". |
| 3955 |
|
rm -rf conftest.dir |
| 3956 |
|
mkdir conftest.dir |
| 3957 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 3986 |
|
: > sub/conftest.c |
| 3987 |
|
for i in 1 2 3 4 5 6; do |
| 3988 |
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 3989 |
< |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 3990 |
< |
# Solaris 8's {/usr,}/bin/sh. |
| 3991 |
< |
touch sub/conftst$i.h |
| 3989 |
> |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 3990 |
> |
# Solaris 10 /bin/sh. |
| 3991 |
> |
echo '/* dummy */' > sub/conftst$i.h |
| 3992 |
|
done |
| 3993 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 3994 |
|
|
| 3995 |
< |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 3995 |
> |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 3996 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
| 3997 |
< |
# handle `-M -o', and we need to detect this. Also, some Intel |
| 3998 |
< |
# versions had trouble with output in subdirs |
| 3997 |
> |
# handle '-M -o', and we need to detect this. Also, some Intel |
| 3998 |
> |
# versions had trouble with output in subdirs. |
| 3999 |
|
am__obj=sub/conftest.${OBJEXT-o} |
| 4000 |
|
am__minus_obj="-o $am__obj" |
| 4001 |
|
case $depmode in |
| 4004 |
|
test "$am__universal" = false || continue |
| 4005 |
|
;; |
| 4006 |
|
nosideeffect) |
| 4007 |
< |
# after this tag, mechanisms are not by side-effect, so they'll |
| 4008 |
< |
# only be used when explicitly requested |
| 4007 |
> |
# After this tag, mechanisms are not by side-effect, so they'll |
| 4008 |
> |
# only be used when explicitly requested. |
| 4009 |
|
if test "x$enable_dependency_tracking" = xyes; then |
| 4010 |
|
continue |
| 4011 |
|
else |
| 4013 |
|
fi |
| 4014 |
|
;; |
| 4015 |
|
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 4016 |
< |
# This compiler won't grok `-c -o', but also, the minuso test has |
| 4016 |
> |
# This compiler won't grok '-c -o', but also, the minuso test has |
| 4017 |
|
# not run yet. These depmodes are late enough in the game, and |
| 4018 |
|
# so weak that their functioning should not be impacted. |
| 4019 |
|
am__obj=conftest.${OBJEXT-o} |
| 4213 |
|
return 0; |
| 4214 |
|
} |
| 4215 |
|
_ACEOF |
| 4216 |
< |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
| 4216 |
> |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
| 4217 |
|
do |
| 4218 |
|
CC="$ac_save_CC $ac_arg" |
| 4219 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
| 4245 |
|
|
| 4246 |
|
|
| 4247 |
|
if test "$ac_cv_prog_cc_c99" = "no"; then : |
| 4248 |
< |
as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5 |
| 4248 |
> |
as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5 |
| 4249 |
|
fi |
| 4250 |
|
for ac_prog in 'bison -y' byacc |
| 4251 |
|
do |
| 4265 |
|
IFS=$as_save_IFS |
| 4266 |
|
test -z "$as_dir" && as_dir=. |
| 4267 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4268 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4268 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4269 |
|
ac_cv_prog_YACC="$ac_prog" |
| 4270 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4271 |
|
break 2 |
| 4309 |
|
IFS=$as_save_IFS |
| 4310 |
|
test -z "$as_dir" && as_dir=. |
| 4311 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4312 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4312 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4313 |
|
ac_cv_prog_LEX="$ac_prog" |
| 4314 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4315 |
|
break 2 |
| 4341 |
|
b { REJECT; } |
| 4342 |
|
c { yymore (); } |
| 4343 |
|
d { yyless (1); } |
| 4344 |
< |
e { yyless (input () != 0); } |
| 4344 |
> |
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
| 4345 |
> |
yyless ((input () != 0)); } |
| 4346 |
|
f { unput (yytext[0]); } |
| 4347 |
|
. { BEGIN INITIAL; } |
| 4348 |
|
%% |
| 4650 |
|
for ac_prog in sed gsed; do |
| 4651 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4652 |
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
| 4653 |
< |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
| 4653 |
> |
as_fn_executable_p "$ac_path_SED" || continue |
| 4654 |
|
# Check for GNU ac_path_SED and select it if it is found. |
| 4655 |
|
# Check for GNU $ac_path_SED |
| 4656 |
|
case `"$ac_path_SED" --version 2>&1` in |
| 4726 |
|
for ac_prog in grep ggrep; do |
| 4727 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4728 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4729 |
< |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| 4729 |
> |
as_fn_executable_p "$ac_path_GREP" || continue |
| 4730 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
| 4731 |
|
# Check for GNU $ac_path_GREP |
| 4732 |
|
case `"$ac_path_GREP" --version 2>&1` in |
| 4792 |
|
for ac_prog in egrep; do |
| 4793 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4794 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4795 |
< |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| 4795 |
> |
as_fn_executable_p "$ac_path_EGREP" || continue |
| 4796 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
| 4797 |
|
# Check for GNU $ac_path_EGREP |
| 4798 |
|
case `"$ac_path_EGREP" --version 2>&1` in |
| 4859 |
|
for ac_prog in fgrep; do |
| 4860 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4861 |
|
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4862 |
< |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
| 4862 |
> |
as_fn_executable_p "$ac_path_FGREP" || continue |
| 4863 |
|
# Check for GNU ac_path_FGREP and select it if it is found. |
| 4864 |
|
# Check for GNU $ac_path_FGREP |
| 4865 |
|
case `"$ac_path_FGREP" --version 2>&1` in |
| 5115 |
|
IFS=$as_save_IFS |
| 5116 |
|
test -z "$as_dir" && as_dir=. |
| 5117 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5118 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5118 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5119 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 5120 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5121 |
|
break 2 |
| 5159 |
|
IFS=$as_save_IFS |
| 5160 |
|
test -z "$as_dir" && as_dir=. |
| 5161 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5162 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5162 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5163 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 5164 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5165 |
|
break 2 |
| 5583 |
|
IFS=$as_save_IFS |
| 5584 |
|
test -z "$as_dir" && as_dir=. |
| 5585 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5586 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5586 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5587 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 5588 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5589 |
|
break 2 |
| 5623 |
|
IFS=$as_save_IFS |
| 5624 |
|
test -z "$as_dir" && as_dir=. |
| 5625 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5626 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5626 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5627 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 5628 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5629 |
|
break 2 |
| 5929 |
|
IFS=$as_save_IFS |
| 5930 |
|
test -z "$as_dir" && as_dir=. |
| 5931 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5932 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5932 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5933 |
|
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
| 5934 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5935 |
|
break 2 |
| 5969 |
|
IFS=$as_save_IFS |
| 5970 |
|
test -z "$as_dir" && as_dir=. |
| 5971 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5972 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5972 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5973 |
|
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 5974 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5975 |
|
break 2 |
| 6072 |
|
IFS=$as_save_IFS |
| 6073 |
|
test -z "$as_dir" && as_dir=. |
| 6074 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6075 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6075 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6076 |
|
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 6077 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6078 |
|
break 2 |
| 6116 |
|
IFS=$as_save_IFS |
| 6117 |
|
test -z "$as_dir" && as_dir=. |
| 6118 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6119 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6119 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6120 |
|
ac_cv_prog_ac_ct_AR="$ac_prog" |
| 6121 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6122 |
|
break 2 |
| 6241 |
|
IFS=$as_save_IFS |
| 6242 |
|
test -z "$as_dir" && as_dir=. |
| 6243 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6244 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6244 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6245 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 6246 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6247 |
|
break 2 |
| 6281 |
|
IFS=$as_save_IFS |
| 6282 |
|
test -z "$as_dir" && as_dir=. |
| 6283 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6284 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6284 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6285 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 6286 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6287 |
|
break 2 |
| 6340 |
|
IFS=$as_save_IFS |
| 6341 |
|
test -z "$as_dir" && as_dir=. |
| 6342 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6343 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6343 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6344 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 6345 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6346 |
|
break 2 |
| 6380 |
|
IFS=$as_save_IFS |
| 6381 |
|
test -z "$as_dir" && as_dir=. |
| 6382 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6383 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6383 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6384 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 6385 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6386 |
|
break 2 |
| 7029 |
|
IFS=$as_save_IFS |
| 7030 |
|
test -z "$as_dir" && as_dir=. |
| 7031 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7032 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7032 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7033 |
|
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
| 7034 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7035 |
|
break 2 |
| 7069 |
|
IFS=$as_save_IFS |
| 7070 |
|
test -z "$as_dir" && as_dir=. |
| 7071 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7072 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7072 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7073 |
|
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
| 7074 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7075 |
|
break 2 |
| 7149 |
|
IFS=$as_save_IFS |
| 7150 |
|
test -z "$as_dir" && as_dir=. |
| 7151 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7152 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7152 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7153 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 7154 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7155 |
|
break 2 |
| 7189 |
|
IFS=$as_save_IFS |
| 7190 |
|
test -z "$as_dir" && as_dir=. |
| 7191 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7192 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7192 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7193 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 7194 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7195 |
|
break 2 |
| 7241 |
|
IFS=$as_save_IFS |
| 7242 |
|
test -z "$as_dir" && as_dir=. |
| 7243 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7244 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7244 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7245 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 7246 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7247 |
|
break 2 |
| 7281 |
|
IFS=$as_save_IFS |
| 7282 |
|
test -z "$as_dir" && as_dir=. |
| 7283 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7284 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7284 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7285 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 7286 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7287 |
|
break 2 |
| 7333 |
|
IFS=$as_save_IFS |
| 7334 |
|
test -z "$as_dir" && as_dir=. |
| 7335 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7336 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7336 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7337 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 7338 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7339 |
|
break 2 |
| 7373 |
|
IFS=$as_save_IFS |
| 7374 |
|
test -z "$as_dir" && as_dir=. |
| 7375 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7376 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7376 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7377 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
| 7378 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7379 |
|
break 2 |
| 7425 |
|
IFS=$as_save_IFS |
| 7426 |
|
test -z "$as_dir" && as_dir=. |
| 7427 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7428 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7428 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7429 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 7430 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7431 |
|
break 2 |
| 7465 |
|
IFS=$as_save_IFS |
| 7466 |
|
test -z "$as_dir" && as_dir=. |
| 7467 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7468 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7468 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7469 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
| 7470 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7471 |
|
break 2 |
| 7517 |
|
IFS=$as_save_IFS |
| 7518 |
|
test -z "$as_dir" && as_dir=. |
| 7519 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7520 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7520 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7521 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 7522 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7523 |
|
break 2 |
| 7557 |
|
IFS=$as_save_IFS |
| 7558 |
|
test -z "$as_dir" && as_dir=. |
| 7559 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7560 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7560 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7561 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 7562 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7563 |
|
break 2 |
| 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 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13120 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13121 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 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 |
> |
|
| 13263 |
> |
else |
| 13264 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
| 13265 |
> |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
| 13266 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13267 |
|
$as_echo_n "(cached) " >&6 |
| 13268 |
|
else |
| 13269 |
|
ac_func_search_save_LIBS=$LIBS |
| 13276 |
|
#ifdef __cplusplus |
| 13277 |
|
extern "C" |
| 13278 |
|
#endif |
| 13279 |
< |
char socket (); |
| 13279 |
> |
char getaddrinfo (); |
| 13280 |
|
int |
| 13281 |
|
main () |
| 13282 |
|
{ |
| 13283 |
< |
return socket (); |
| 13283 |
> |
return getaddrinfo (); |
| 13284 |
|
; |
| 13285 |
|
return 0; |
| 13286 |
|
} |
| 13287 |
|
_ACEOF |
| 13288 |
< |
for ac_lib in '' socket; do |
| 13288 |
> |
for ac_lib in '' nsl; do |
| 13289 |
|
if test -z "$ac_lib"; then |
| 13290 |
|
ac_res="none required" |
| 13291 |
|
else |
| 13293 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13294 |
|
fi |
| 13295 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13296 |
< |
ac_cv_search_socket=$ac_res |
| 13296 |
> |
ac_cv_search_getaddrinfo=$ac_res |
| 13297 |
|
fi |
| 13298 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13299 |
|
conftest$ac_exeext |
| 13300 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13300 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13301 |
|
break |
| 13302 |
|
fi |
| 13303 |
|
done |
| 13304 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13304 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13305 |
|
|
| 13306 |
|
else |
| 13307 |
< |
ac_cv_search_socket=no |
| 13307 |
> |
ac_cv_search_getaddrinfo=no |
| 13308 |
|
fi |
| 13309 |
|
rm conftest.$ac_ext |
| 13310 |
|
LIBS=$ac_func_search_save_LIBS |
| 13311 |
|
fi |
| 13312 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13313 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13314 |
< |
ac_res=$ac_cv_search_socket |
| 13312 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
| 13313 |
> |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
| 13314 |
> |
ac_res=$ac_cv_search_getaddrinfo |
| 13315 |
|
if test "$ac_res" != no; then : |
| 13316 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13317 |
|
|
| 13065 |
– |
else |
| 13066 |
– |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13318 |
|
fi |
| 13319 |
|
|
| 13320 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
| 13321 |
< |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
| 13322 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13320 |
> |
fi |
| 13321 |
> |
|
| 13322 |
> |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
| 13323 |
> |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
| 13324 |
> |
|
| 13325 |
> |
else |
| 13326 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
| 13327 |
> |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
| 13328 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13329 |
|
$as_echo_n "(cached) " >&6 |
| 13330 |
|
else |
| 13331 |
|
ac_func_search_save_LIBS=$LIBS |
| 13338 |
|
#ifdef __cplusplus |
| 13339 |
|
extern "C" |
| 13340 |
|
#endif |
| 13341 |
< |
char inet_ntoa (); |
| 13341 |
> |
char getnameinfo (); |
| 13342 |
|
int |
| 13343 |
|
main () |
| 13344 |
|
{ |
| 13345 |
< |
return inet_ntoa (); |
| 13345 |
> |
return getnameinfo (); |
| 13346 |
|
; |
| 13347 |
|
return 0; |
| 13348 |
|
} |
| 13355 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13356 |
|
fi |
| 13357 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13358 |
< |
ac_cv_search_inet_ntoa=$ac_res |
| 13358 |
> |
ac_cv_search_getnameinfo=$ac_res |
| 13359 |
|
fi |
| 13360 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13361 |
|
conftest$ac_exeext |
| 13362 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13362 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13363 |
|
break |
| 13364 |
|
fi |
| 13365 |
|
done |
| 13366 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13366 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13367 |
|
|
| 13368 |
|
else |
| 13369 |
< |
ac_cv_search_inet_ntoa=no |
| 13369 |
> |
ac_cv_search_getnameinfo=no |
| 13370 |
|
fi |
| 13371 |
|
rm conftest.$ac_ext |
| 13372 |
|
LIBS=$ac_func_search_save_LIBS |
| 13373 |
|
fi |
| 13374 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
| 13375 |
< |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
| 13376 |
< |
ac_res=$ac_cv_search_inet_ntoa |
| 13374 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
| 13375 |
> |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
| 13376 |
> |
ac_res=$ac_cv_search_getnameinfo |
| 13377 |
|
if test "$ac_res" != no; then : |
| 13378 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13379 |
|
|
| 13380 |
|
fi |
| 13381 |
|
|
| 13382 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
| 13383 |
< |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
| 13384 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13382 |
> |
fi |
| 13383 |
> |
|
| 13384 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13385 |
> |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13386 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13387 |
|
$as_echo_n "(cached) " >&6 |
| 13388 |
|
else |
| 13389 |
|
ac_func_search_save_LIBS=$LIBS |
| 13396 |
|
#ifdef __cplusplus |
| 13397 |
|
extern "C" |
| 13398 |
|
#endif |
| 13399 |
< |
char inet_aton (); |
| 13399 |
> |
char socket (); |
| 13400 |
|
int |
| 13401 |
|
main () |
| 13402 |
|
{ |
| 13403 |
< |
return inet_aton (); |
| 13403 |
> |
return socket (); |
| 13404 |
|
; |
| 13405 |
|
return 0; |
| 13406 |
|
} |
| 13407 |
|
_ACEOF |
| 13408 |
< |
for ac_lib in '' resolv; do |
| 13408 |
> |
for ac_lib in '' socket; do |
| 13409 |
|
if test -z "$ac_lib"; then |
| 13410 |
|
ac_res="none required" |
| 13411 |
|
else |
| 13413 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13414 |
|
fi |
| 13415 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13416 |
< |
ac_cv_search_inet_aton=$ac_res |
| 13416 |
> |
ac_cv_search_socket=$ac_res |
| 13417 |
|
fi |
| 13418 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13419 |
|
conftest$ac_exeext |
| 13420 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13420 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13421 |
|
break |
| 13422 |
|
fi |
| 13423 |
|
done |
| 13424 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13424 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13425 |
|
|
| 13426 |
|
else |
| 13427 |
< |
ac_cv_search_inet_aton=no |
| 13427 |
> |
ac_cv_search_socket=no |
| 13428 |
|
fi |
| 13429 |
|
rm conftest.$ac_ext |
| 13430 |
|
LIBS=$ac_func_search_save_LIBS |
| 13431 |
|
fi |
| 13432 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
| 13433 |
< |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
| 13434 |
< |
ac_res=$ac_cv_search_inet_aton |
| 13432 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13433 |
> |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13434 |
> |
ac_res=$ac_cv_search_socket |
| 13435 |
|
if test "$ac_res" != no; then : |
| 13436 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13437 |
|
|
| 13438 |
+ |
else |
| 13439 |
+ |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13440 |
|
fi |
| 13441 |
|
|
| 13442 |
< |
for ac_func in inet_aton inet_ntop inet_pton |
| 13443 |
< |
do : |
| 13444 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13445 |
< |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13446 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13186 |
< |
cat >>confdefs.h <<_ACEOF |
| 13187 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13188 |
< |
_ACEOF |
| 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 |
| 13191 |
– |
done |
| 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> |
| 13487 |
|
|
| 13488 |
|
fi |
| 13489 |
|
|
| 13233 |
– |
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
| 13234 |
– |
<sys/socket.h> |
| 13235 |
– |
" |
| 13236 |
– |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : |
| 13237 |
– |
|
| 13238 |
– |
cat >>confdefs.h <<_ACEOF |
| 13239 |
– |
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
| 13240 |
– |
_ACEOF |
| 13241 |
– |
|
| 13242 |
– |
|
| 13243 |
– |
fi |
| 13244 |
– |
|
| 13245 |
– |
|
| 13246 |
– |
|
| 13247 |
– |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
| 13248 |
– |
" |
| 13249 |
– |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
| 13250 |
– |
|
| 13251 |
– |
$as_echo "#define IPV6 1" >>confdefs.h |
| 13252 |
– |
|
| 13253 |
– |
fi |
| 13254 |
– |
|
| 13490 |
|
|
| 13491 |
|
|
| 13492 |
|
# Checks for typedefs, structures, and compiler characteristics. |
| 13741 |
|
|
| 13742 |
|
|
| 13743 |
|
|
| 13509 |
– |
|
| 13510 |
– |
|
| 13511 |
– |
|
| 13512 |
– |
|
| 13744 |
|
# Checks for header files. |
| 13745 |
|
|
| 13746 |
|
|
| 13775 |
|
|
| 13776 |
|
|
| 13777 |
|
|
| 13547 |
– |
|
| 13548 |
– |
|
| 13549 |
– |
|
| 13550 |
– |
|
| 13551 |
– |
|
| 13552 |
– |
|
| 13553 |
– |
|
| 13554 |
– |
|
| 13555 |
– |
|
| 13556 |
– |
|
| 13557 |
– |
# check for /dev/null so we can use it to hold evil fd's |
| 13558 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
| 13559 |
– |
$as_echo_n "checking for /dev/null... " >&6; } |
| 13560 |
– |
if test -c /dev/null; then : |
| 13561 |
– |
|
| 13562 |
– |
|
| 13563 |
– |
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
| 13564 |
– |
|
| 13565 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 13566 |
– |
$as_echo "yes" >&6; } |
| 13567 |
– |
else |
| 13568 |
– |
|
| 13569 |
– |
|
| 13570 |
– |
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
| 13571 |
– |
|
| 13572 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
| 13573 |
– |
$as_echo "no - using devnull.log" >&6; } |
| 13574 |
– |
fi |
| 13575 |
– |
|
| 13576 |
– |
|
| 13778 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
| 13779 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
| 13780 |
|
if ${ac_cv_search_crypt+:} false; then : |
| 13832 |
|
fi |
| 13833 |
|
|
| 13834 |
|
|
| 13835 |
< |
|
| 13836 |
< |
|
| 13837 |
< |
# Check whether --with-libpcre-path was given. |
| 13838 |
< |
if test "${with_libpcre_path+set}" = set; then : |
| 13839 |
< |
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
| 13840 |
< |
fi |
| 13841 |
< |
|
| 13842 |
< |
|
| 13843 |
< |
# Check whether --enable-libpcre was given. |
| 13643 |
< |
if test "${enable_libpcre+set}" = set; then : |
| 13644 |
< |
enableval=$enable_libpcre; libpcre=$enableval |
| 13645 |
< |
else |
| 13646 |
< |
libpcre=yes |
| 13647 |
< |
fi |
| 13648 |
< |
|
| 13649 |
< |
|
| 13650 |
< |
if test "$libpcre" = "yes"; then : |
| 13651 |
< |
|
| 13652 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 13653 |
< |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
| 13654 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
| 13655 |
< |
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
| 13656 |
< |
if ${ac_cv_lib_pcre_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_check_lib_save_LIBS=$LIBS |
| 13660 |
< |
LIBS="-lpcre $LIBS" |
| 13846 |
> |
ac_func_search_save_LIBS=$LIBS |
| 13847 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13848 |
|
/* end confdefs.h. */ |
| 13849 |
|
|
| 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 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13866 |
< |
ac_cv_lib_pcre_pcre_study=yes |
| 13867 |
< |
else |
| 13682 |
< |
ac_cv_lib_pcre_pcre_study=no |
| 13683 |
< |
fi |
| 13684 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13685 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 13686 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 13687 |
< |
fi |
| 13688 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
| 13689 |
< |
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
| 13690 |
< |
if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then : |
| 13691 |
< |
|
| 13692 |
< |
LIBS="-lpcre $LIBS" |
| 13693 |
< |
|
| 13694 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 13695 |
< |
|
| 13696 |
< |
|
| 13697 |
< |
else |
| 13698 |
< |
libpcre=no |
| 13699 |
< |
fi |
| 13700 |
< |
|
| 13701 |
< |
|
| 13702 |
< |
else |
| 13703 |
< |
libpcre=no |
| 13704 |
< |
fi |
| 13705 |
< |
|
| 13706 |
< |
|
| 13707 |
< |
|
| 13708 |
< |
fi |
| 13709 |
< |
if test "$libpcre" = yes; then |
| 13710 |
< |
ENABLE_PCRE_TRUE= |
| 13711 |
< |
ENABLE_PCRE_FALSE='#' |
| 13712 |
< |
else |
| 13713 |
< |
ENABLE_PCRE_TRUE='#' |
| 13714 |
< |
ENABLE_PCRE_FALSE= |
| 13715 |
< |
fi |
| 13716 |
< |
|
| 13717 |
< |
|
| 13718 |
< |
|
| 13719 |
< |
# Check whether --enable-openssl was given. |
| 13720 |
< |
if test "${enable_openssl+set}" = set; then : |
| 13721 |
< |
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 13722 |
< |
else |
| 13723 |
< |
cf_enable_openssl="auto" |
| 13724 |
< |
fi |
| 13725 |
< |
|
| 13726 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5 |
| 13727 |
< |
$as_echo_n "checking for OpenSSL... " >&6; } |
| 13728 |
< |
if test "$cf_enable_openssl" != "no"; then |
| 13729 |
< |
cf_openssl_basedir="" |
| 13730 |
< |
if test "$cf_enable_openssl" != "auto" && |
| 13731 |
< |
test "$cf_enable_openssl" != "yes"; then |
| 13732 |
< |
cf_openssl_basedir="${cf_enable_openssl}" |
| 13733 |
< |
else |
| 13734 |
< |
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\ |
| 13735 |
< |
/opt /opt/openssl /usr/local/openssl; do |
| 13736 |
< |
if test -f "${dirs}/include/openssl/opensslv.h"; then |
| 13737 |
< |
cf_openssl_basedir="${dirs}" |
| 13738 |
< |
break |
| 13739 |
< |
fi |
| 13740 |
< |
done |
| 13741 |
< |
unset dirs |
| 13742 |
< |
fi |
| 13743 |
< |
|
| 13744 |
< |
if test ! -z "$cf_openssl_basedir"; then |
| 13745 |
< |
if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then |
| 13746 |
< |
CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS" |
| 13747 |
< |
LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS" |
| 13748 |
< |
else |
| 13749 |
< |
cf_openssl_basedir="" |
| 13750 |
< |
fi |
| 13751 |
< |
else |
| 13752 |
< |
if test -f "/usr/include/openssl/opensslv.h"; then |
| 13753 |
< |
cf_openssl_basedir="/usr" |
| 13754 |
< |
fi |
| 13755 |
< |
fi |
| 13756 |
< |
|
| 13757 |
< |
if test ! -z "$cf_openssl_basedir"; then |
| 13758 |
< |
LIBS="-lcrypto -lssl $LIBS" |
| 13759 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 13760 |
< |
$as_echo "$cf_openssl_basedir" >&6; } |
| 13761 |
< |
cf_enable_openssl="yes" |
| 13762 |
< |
|
| 13763 |
< |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
| 13764 |
< |
|
| 13865 |
> |
for ac_lib in '' GeoIP; do |
| 13866 |
> |
if test -z "$ac_lib"; then |
| 13867 |
> |
ac_res="none required" |
| 13868 |
|
else |
| 13869 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 13870 |
< |
$as_echo "not found. Please check your path." >&6; } |
| 13768 |
< |
cf_enable_openssl="no" |
| 13869 |
> |
ac_res=-l$ac_lib |
| 13870 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13871 |
|
fi |
| 13872 |
< |
unset cf_openssl_basedir |
| 13873 |
< |
else |
| 13772 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 13773 |
< |
$as_echo "disabled" >&6; } |
| 13774 |
< |
fi |
| 13775 |
< |
|
| 13776 |
< |
if test "$cf_enable_openssl" != "no"; then : |
| 13777 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5 |
| 13778 |
< |
$as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; } |
| 13779 |
< |
if test "$cross_compiling" = yes; then : |
| 13780 |
< |
cf_openssl_version_ok=no |
| 13781 |
< |
else |
| 13782 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13783 |
< |
/* end confdefs.h. */ |
| 13784 |
< |
|
| 13785 |
< |
|
| 13786 |
< |
#include <openssl/opensslv.h> |
| 13787 |
< |
#include <stdlib.h> |
| 13788 |
< |
int |
| 13789 |
< |
main () |
| 13790 |
< |
{ |
| 13791 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
| 13792 |
< |
; |
| 13793 |
< |
return 0; |
| 13794 |
< |
} |
| 13795 |
< |
_ACEOF |
| 13796 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 13797 |
< |
cf_openssl_version_ok=yes |
| 13798 |
< |
else |
| 13799 |
< |
cf_openssl_version_ok=no |
| 13872 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 13873 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 13874 |
|
fi |
| 13875 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 13876 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13875 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 13876 |
> |
conftest$ac_exeext |
| 13877 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13878 |
> |
break |
| 13879 |
|
fi |
| 13880 |
+ |
done |
| 13881 |
+ |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13882 |
|
|
| 13805 |
– |
|
| 13806 |
– |
if test "$cf_openssl_version_ok" = "yes"; then : |
| 13807 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 13808 |
– |
$as_echo "found" >&6; } |
| 13809 |
– |
|
| 13810 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 13811 |
– |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 13812 |
– |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 13813 |
– |
$as_echo_n "(cached) " >&6 |
| 13883 |
|
else |
| 13884 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 13816 |
< |
LIBS="-lcrypto $LIBS" |
| 13817 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13818 |
< |
/* end confdefs.h. */ |
| 13819 |
< |
|
| 13820 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 13821 |
< |
Use char because int might match the return type of a GCC |
| 13822 |
< |
builtin and then its argument prototype would still apply. */ |
| 13823 |
< |
#ifdef __cplusplus |
| 13824 |
< |
extern "C" |
| 13825 |
< |
#endif |
| 13826 |
< |
char RSA_free (); |
| 13827 |
< |
int |
| 13828 |
< |
main () |
| 13829 |
< |
{ |
| 13830 |
< |
return RSA_free (); |
| 13831 |
< |
; |
| 13832 |
< |
return 0; |
| 13833 |
< |
} |
| 13834 |
< |
_ACEOF |
| 13835 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13836 |
< |
ac_cv_lib_crypto_RSA_free=yes |
| 13837 |
< |
else |
| 13838 |
< |
ac_cv_lib_crypto_RSA_free=no |
| 13884 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 13885 |
|
fi |
| 13886 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13887 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 13842 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 13843 |
< |
fi |
| 13844 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 13845 |
< |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 13846 |
< |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 13847 |
< |
cat >>confdefs.h <<_ACEOF |
| 13848 |
< |
#define HAVE_LIBCRYPTO 1 |
| 13849 |
< |
_ACEOF |
| 13850 |
< |
|
| 13851 |
< |
LIBS="-lcrypto $LIBS" |
| 13852 |
< |
|
| 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_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 |
< |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 13856 |
< |
for ac_func in EVP_bf_cfb \ |
| 13857 |
< |
EVP_cast5_cfb \ |
| 13858 |
< |
EVP_idea_cfb \ |
| 13859 |
< |
EVP_rc5_32_12_16_cfb \ |
| 13860 |
< |
EVP_des_ede3_cfb \ |
| 13861 |
< |
EVP_des_cfb |
| 13862 |
< |
do : |
| 13863 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13864 |
< |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13865 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13866 |
< |
cat >>confdefs.h <<_ACEOF |
| 13867 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13868 |
< |
_ACEOF |
| 13895 |
> |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 13896 |
|
|
| 13897 |
|
fi |
| 13871 |
– |
done |
| 13898 |
|
|
| 13899 |
|
fi |
| 13900 |
|
|
| 13875 |
– |
else |
| 13876 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5 |
| 13877 |
– |
$as_echo "no - OpenSSL support disabled" >&6; } |
| 13878 |
– |
cf_enable_openssl="no" |
| 13879 |
– |
fi |
| 13880 |
– |
fi |
| 13901 |
|
|
| 13882 |
– |
if test "$cf_enable_openssl" = yes; then |
| 13883 |
– |
ENABLE_SSL_TRUE= |
| 13884 |
– |
ENABLE_SSL_FALSE='#' |
| 13885 |
– |
else |
| 13886 |
– |
ENABLE_SSL_TRUE='#' |
| 13887 |
– |
ENABLE_SSL_FALSE= |
| 13902 |
|
fi |
| 13903 |
|
|
| 13904 |
|
|
| 13891 |
– |
|
| 13905 |
|
# Check whether --enable-assert was given. |
| 13906 |
|
if test "${enable_assert+set}" = set; then : |
| 13907 |
|
enableval=$enable_assert; assert=$enableval |
| 13917 |
|
fi |
| 13918 |
|
|
| 13919 |
|
|
| 13920 |
< |
# Check whether --enable-small-net was given. |
| 13908 |
< |
if test "${enable_small_net+set}" = set; then : |
| 13909 |
< |
enableval=$enable_small_net; small_net=$enableval |
| 13910 |
< |
else |
| 13911 |
< |
small_net=no |
| 13912 |
< |
fi |
| 13913 |
< |
|
| 13914 |
< |
|
| 13915 |
< |
if test "$small_net" = "yes"; then : |
| 13916 |
< |
|
| 13917 |
< |
|
| 13918 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
| 13919 |
< |
|
| 13920 |
< |
|
| 13921 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
| 13922 |
< |
|
| 13923 |
< |
|
| 13924 |
< |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
| 13925 |
< |
|
| 13926 |
< |
|
| 13927 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
| 13928 |
< |
|
| 13929 |
< |
|
| 13930 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
| 13931 |
< |
|
| 13932 |
< |
|
| 13933 |
< |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
| 13934 |
< |
|
| 13935 |
< |
|
| 13936 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
| 13920 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 13921 |
|
|
| 13922 |
|
|
| 13923 |
< |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
| 13923 |
> |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
| 13924 |
|
|
| 13925 |
|
|
| 13926 |
< |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
| 13926 |
> |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
| 13927 |
|
|
| 13928 |
|
|
| 13929 |
< |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
| 13946 |
< |
|
| 13947 |
< |
else |
| 13948 |
< |
|
| 13929 |
> |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 13930 |
|
|
| 13931 |
|
|
| 13932 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
| 13932 |
> |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 13933 |
|
|
| 13934 |
|
|
| 13935 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
| 13935 |
> |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
| 13936 |
|
|
| 13937 |
|
|
| 13938 |
< |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
| 13938 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
| 13939 |
|
|
| 13940 |
|
|
| 13941 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
| 13941 |
> |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
| 13942 |
|
|
| 13943 |
|
|
| 13944 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
| 13944 |
> |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
| 13945 |
|
|
| 13946 |
|
|
| 13947 |
< |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
| 13947 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
| 13948 |
|
|
| 13949 |
|
|
| 13950 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
| 13950 |
> |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 13951 |
|
|
| 13952 |
|
|
| 13953 |
< |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
| 13953 |
> |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 13954 |
|
|
| 13955 |
|
|
| 13956 |
< |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
| 13956 |
> |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 13957 |
|
|
| 13958 |
|
|
| 13959 |
< |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
| 13979 |
< |
|
| 13980 |
< |
fi |
| 13959 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
| 13960 |
|
|
| 13961 |
|
|
| 13962 |
|
# Argument processing. |
| 13963 |
|
|
| 13964 |
< |
desired_iopoll_mechanism="none" |
| 13965 |
< |
# Check whether --enable-kqueue was given. |
| 13964 |
> |
desired_iopoll_mechanism="none" |
| 13965 |
> |
|
| 13966 |
> |
# Check whether --enable-kqueue was given. |
| 13967 |
|
if test "${enable_kqueue+set}" = set; then : |
| 13968 |
|
enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue" |
| 13969 |
|
fi |
| 13978 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
| 13979 |
|
fi |
| 13980 |
|
|
| 14001 |
– |
# Check whether --enable-rtsigio was given. |
| 14002 |
– |
if test "${enable_rtsigio+set}" = set; then : |
| 14003 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
| 14004 |
– |
fi |
| 14005 |
– |
|
| 13981 |
|
# Check whether --enable-poll was given. |
| 13982 |
|
if test "${enable_poll+set}" = set; then : |
| 13983 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 13984 |
|
fi |
| 13985 |
|
|
| 14011 |
– |
# Check whether --enable-select was given. |
| 14012 |
– |
if test "${enable_select+set}" = set; then : |
| 14013 |
– |
enableval=$enable_select; desired_iopoll_mechanism="select" |
| 14014 |
– |
fi |
| 13986 |
|
|
| 13987 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
| 13987 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
| 13988 |
|
$as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; } |
| 13989 |
+ |
|
| 13990 |
|
iopoll_mechanism_none=0 |
| 13991 |
|
|
| 13992 |
|
cat >>confdefs.h <<_ACEOF |
| 13993 |
|
#define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none |
| 13994 |
|
_ACEOF |
| 13995 |
|
|
| 13996 |
< |
iopoll_mechanism_kqueue=1 |
| 13996 |
> |
|
| 13997 |
> |
iopoll_mechanism_kqueue=1 |
| 13998 |
|
|
| 13999 |
|
cat >>confdefs.h <<_ACEOF |
| 14000 |
|
#define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue |
| 14048 |
|
fi |
| 14049 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14050 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14051 |
< |
iopoll_mechanism_epoll=2 |
| 14051 |
> |
|
| 14052 |
> |
iopoll_mechanism_epoll=2 |
| 14053 |
|
|
| 14054 |
|
cat >>confdefs.h <<_ACEOF |
| 14055 |
|
#define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll |
| 14056 |
|
_ACEOF |
| 14057 |
|
|
| 14084 |
– |
if test "$cross_compiling" = yes; then : |
| 14085 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14086 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14087 |
– |
as_fn_error $? "cannot run test program while cross compiling |
| 14088 |
– |
See \`config.log' for more details" "$LINENO" 5; } |
| 14089 |
– |
else |
| 14058 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14059 |
|
/* end confdefs.h. */ |
| 14092 |
– |
|
| 14060 |
|
#include <sys/epoll.h> |
| 14094 |
– |
#include <sys/syscall.h> |
| 14095 |
– |
#if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY) |
| 14096 |
– |
#if !defined(__NR_epoll_create) |
| 14097 |
– |
#if defined(__ia64__) |
| 14098 |
– |
#define __NR_epoll_create 1243 |
| 14099 |
– |
#elif defined(__x86_64__) |
| 14100 |
– |
#define __NR_epoll_create 214 |
| 14101 |
– |
#elif defined(__sparc64__) || defined(__sparc__) |
| 14102 |
– |
#define __NR_epoll_create 193 |
| 14103 |
– |
#elif defined(__s390__) || defined(__m68k__) |
| 14104 |
– |
#define __NR_epoll_create 249 |
| 14105 |
– |
#elif defined(__ppc64__) || defined(__ppc__) |
| 14106 |
– |
#define __NR_epoll_create 236 |
| 14107 |
– |
#elif defined(__parisc__) || defined(__arm26__) || defined(__arm__) |
| 14108 |
– |
#define __NR_epoll_create 224 |
| 14109 |
– |
#elif defined(__alpha__) |
| 14110 |
– |
#define __NR_epoll_create 407 |
| 14111 |
– |
#elif defined(__sh64__) |
| 14112 |
– |
#define __NR_epoll_create 282 |
| 14113 |
– |
#elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__) |
| 14114 |
– |
#define __NR_epoll_create 254 |
| 14115 |
– |
#else |
| 14116 |
– |
#error No system call numbers defined for epoll family. |
| 14117 |
– |
#endif |
| 14118 |
– |
#endif |
| 14119 |
– |
_syscall1(int, epoll_create, int, size) |
| 14120 |
– |
#endif |
| 14121 |
– |
|
| 14061 |
|
int |
| 14062 |
|
main () |
| 14063 |
|
{ |
| 14064 |
< |
return epoll_create(256) == -1 ? 1 : 0 |
| 14064 |
> |
epoll_create(256); |
| 14065 |
|
; |
| 14066 |
|
return 0; |
| 14067 |
|
} |
| 14068 |
|
_ACEOF |
| 14069 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 14069 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 14070 |
|
is_epoll_mechanism_available="yes" |
| 14071 |
|
else |
| 14072 |
|
is_epoll_mechanism_available="no" |
| 14073 |
|
fi |
| 14074 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14075 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14137 |
< |
fi |
| 14074 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 14075 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 14076 |
|
|
| 14077 |
< |
iopoll_mechanism_devpoll=3 |
| 14077 |
> |
iopoll_mechanism_devpoll=3 |
| 14078 |
|
|
| 14079 |
|
cat >>confdefs.h <<_ACEOF |
| 14080 |
|
#define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll |
| 14124 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
| 14125 |
|
|
| 14126 |
|
fi |
| 14189 |
– |
iopoll_mechanism_rtsigio=4 |
| 14190 |
– |
|
| 14191 |
– |
cat >>confdefs.h <<_ACEOF |
| 14192 |
– |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
| 14193 |
– |
_ACEOF |
| 14194 |
– |
|
| 14195 |
– |
if test "$cross_compiling" = yes; then : |
| 14196 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14197 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14198 |
– |
as_fn_error $? "cannot run test program while cross compiling |
| 14199 |
– |
See \`config.log' for more details" "$LINENO" 5; } |
| 14200 |
– |
else |
| 14201 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14202 |
– |
/* end confdefs.h. */ |
| 14203 |
– |
|
| 14204 |
– |
#define _GNU_SOURCE |
| 14205 |
– |
#include <fcntl.h> |
| 14206 |
– |
static unsigned int have_f_setsig = 0; |
| 14207 |
– |
|
| 14208 |
– |
int |
| 14209 |
– |
main () |
| 14210 |
– |
{ |
| 14211 |
– |
|
| 14212 |
– |
#ifdef F_SETSIG |
| 14213 |
– |
have_f_setsig = 1; |
| 14214 |
– |
#endif |
| 14215 |
– |
return have_f_setsig == 0; |
| 14216 |
– |
|
| 14217 |
– |
; |
| 14218 |
– |
return 0; |
| 14219 |
– |
} |
| 14220 |
– |
_ACEOF |
| 14221 |
– |
if ac_fn_c_try_run "$LINENO"; then : |
| 14222 |
– |
is_rtsigio_mechanism_available="yes" |
| 14223 |
– |
else |
| 14224 |
– |
is_rtsigio_mechanism_available="no" |
| 14225 |
– |
fi |
| 14226 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14227 |
– |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14228 |
– |
fi |
| 14127 |
|
|
| 14128 |
< |
iopoll_mechanism_poll=5 |
| 14128 |
> |
iopoll_mechanism_poll=4 |
| 14129 |
|
|
| 14130 |
|
cat >>confdefs.h <<_ACEOF |
| 14131 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
| 14179 |
|
fi |
| 14180 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14181 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14284 |
– |
iopoll_mechanism_select=6 |
| 14182 |
|
|
| 14183 |
< |
cat >>confdefs.h <<_ACEOF |
| 14184 |
< |
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 14288 |
< |
_ACEOF |
| 14289 |
< |
|
| 14290 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14291 |
< |
/* end confdefs.h. */ |
| 14292 |
< |
/* Define select to an innocuous variant, in case <limits.h> declares select. |
| 14293 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 14294 |
< |
#define select innocuous_select |
| 14295 |
< |
|
| 14296 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 14297 |
< |
which can conflict with char select (); below. |
| 14298 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 14299 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 14300 |
< |
|
| 14301 |
< |
#ifdef __STDC__ |
| 14302 |
< |
# include <limits.h> |
| 14303 |
< |
#else |
| 14304 |
< |
# include <assert.h> |
| 14305 |
< |
#endif |
| 14306 |
< |
|
| 14307 |
< |
#undef select |
| 14308 |
< |
|
| 14309 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 14310 |
< |
Use char because int might match the return type of a GCC |
| 14311 |
< |
builtin and then its argument prototype would still apply. */ |
| 14312 |
< |
#ifdef __cplusplus |
| 14313 |
< |
extern "C" |
| 14314 |
< |
#endif |
| 14315 |
< |
char select (); |
| 14316 |
< |
/* The GNU C library defines this for functions which it implements |
| 14317 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 14318 |
< |
something starting with __ and the normal name is an alias. */ |
| 14319 |
< |
#if defined __stub_select || defined __stub___select |
| 14320 |
< |
choke me |
| 14321 |
< |
#endif |
| 14322 |
< |
|
| 14323 |
< |
int |
| 14324 |
< |
main () |
| 14325 |
< |
{ |
| 14326 |
< |
return select (); |
| 14327 |
< |
; |
| 14328 |
< |
return 0; |
| 14329 |
< |
} |
| 14330 |
< |
_ACEOF |
| 14331 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 14332 |
< |
is_select_mechanism_available="yes" |
| 14333 |
< |
else |
| 14334 |
< |
is_select_mechanism_available="no" |
| 14335 |
< |
fi |
| 14336 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 14337 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 14338 |
< |
optimal_iopoll_mechanism="none" |
| 14339 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
| 14183 |
> |
optimal_iopoll_mechanism="none" |
| 14184 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important |
| 14185 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 14186 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 14187 |
|
optimal_iopoll_mechanism="$mechanism" |
| 14188 |
|
break |
| 14189 |
|
fi |
| 14190 |
|
done |
| 14191 |
< |
if test "$desired_iopoll_mechanism" = "none" ; then |
| 14191 |
> |
|
| 14192 |
> |
if test "$desired_iopoll_mechanism" = "none" ; then |
| 14193 |
|
if test "$optimal_iopoll_mechanism" = "none" ; then |
| 14194 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 14195 |
|
$as_echo "none" >&6; } |
| 14211 |
|
as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
| 14212 |
|
fi |
| 14213 |
|
fi |
| 14214 |
< |
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
| 14214 |
> |
|
| 14215 |
> |
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
| 14216 |
|
|
| 14217 |
|
cat >>confdefs.h <<_ACEOF |
| 14218 |
|
#define USE_IOPOLL_MECHANISM $use_iopoll_mechanism |
| 14220 |
|
|
| 14221 |
|
|
| 14222 |
|
|
| 14223 |
+ |
# Check whether --enable-debugging was given. |
| 14224 |
+ |
if test "${enable_debugging+set}" = set; then : |
| 14225 |
+ |
enableval=$enable_debugging; debugging="$enableval" |
| 14226 |
+ |
else |
| 14227 |
+ |
debugging="no" |
| 14228 |
+ |
fi |
| 14229 |
+ |
|
| 14230 |
+ |
if test "$debugging" = "yes" ; then |
| 14231 |
+ |
CFLAGS="-Wall -g -O0" |
| 14232 |
+ |
fi |
| 14233 |
+ |
|
| 14234 |
|
|
| 14235 |
< |
# Check whether --with-nicklen was given. |
| 14236 |
< |
if test "${with_nicklen+set}" = set; then : |
| 14237 |
< |
withval=$with_nicklen; nicklen="$withval" |
| 14235 |
> |
# Check whether --enable-warnings was given. |
| 14236 |
> |
if test "${enable_warnings+set}" = set; then : |
| 14237 |
> |
enableval=$enable_warnings; warnings="$enableval" |
| 14238 |
|
else |
| 14239 |
< |
nicklen="9" |
| 14239 |
> |
warnings="no" |
| 14240 |
|
fi |
| 14241 |
|
|
| 14242 |
|
|
| 14243 |
< |
cat >>confdefs.h <<_ACEOF |
| 14244 |
< |
#define NICKLEN ($nicklen+1) |
| 14243 |
> |
if test "$warnings" = "yes" ; then |
| 14244 |
> |
|
| 14245 |
> |
|
| 14246 |
> |
|
| 14247 |
> |
|
| 14248 |
> |
for flag in -Wall; do |
| 14249 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14250 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14251 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14252 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14253 |
> |
$as_echo_n "(cached) " >&6 |
| 14254 |
> |
else |
| 14255 |
> |
|
| 14256 |
> |
ax_check_save_flags=$CFLAGS |
| 14257 |
> |
CFLAGS="$CFLAGS $flag" |
| 14258 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14259 |
> |
/* end confdefs.h. */ |
| 14260 |
> |
|
| 14261 |
> |
int |
| 14262 |
> |
main () |
| 14263 |
> |
{ |
| 14264 |
> |
|
| 14265 |
> |
; |
| 14266 |
> |
return 0; |
| 14267 |
> |
} |
| 14268 |
|
_ACEOF |
| 14269 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14270 |
+ |
eval "$as_CACHEVAR=yes" |
| 14271 |
+ |
else |
| 14272 |
+ |
eval "$as_CACHEVAR=no" |
| 14273 |
+ |
fi |
| 14274 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14275 |
+ |
CFLAGS=$ax_check_save_flags |
| 14276 |
+ |
fi |
| 14277 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14278 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14279 |
+ |
$as_echo "$ac_res" >&6; } |
| 14280 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14281 |
+ |
if ${CFLAGS+:} false; then : |
| 14282 |
+ |
case " $CFLAGS " in |
| 14283 |
+ |
*" $flag "*) |
| 14284 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14285 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14286 |
+ |
ac_status=$? |
| 14287 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14288 |
+ |
test $ac_status = 0; } |
| 14289 |
+ |
;; |
| 14290 |
+ |
*) |
| 14291 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14292 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14293 |
+ |
ac_status=$? |
| 14294 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14295 |
+ |
test $ac_status = 0; } |
| 14296 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14297 |
+ |
;; |
| 14298 |
+ |
esac |
| 14299 |
+ |
else |
| 14300 |
+ |
CFLAGS="$flag" |
| 14301 |
+ |
fi |
| 14302 |
+ |
|
| 14303 |
+ |
else |
| 14304 |
+ |
: |
| 14305 |
+ |
fi |
| 14306 |
+ |
|
| 14307 |
+ |
done |
| 14308 |
|
|
| 14309 |
|
|
| 14310 |
|
|
| 14311 |
|
|
| 14312 |
< |
# Check whether --with-topiclen was given. |
| 14313 |
< |
if test "${with_topiclen+set}" = set; then : |
| 14314 |
< |
withval=$with_topiclen; topiclen="$withval" |
| 14312 |
> |
|
| 14313 |
> |
for flag in -Wextra; do |
| 14314 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14315 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14316 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14317 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14318 |
> |
$as_echo_n "(cached) " >&6 |
| 14319 |
> |
else |
| 14320 |
> |
|
| 14321 |
> |
ax_check_save_flags=$CFLAGS |
| 14322 |
> |
CFLAGS="$CFLAGS $flag" |
| 14323 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14324 |
> |
/* end confdefs.h. */ |
| 14325 |
> |
|
| 14326 |
> |
int |
| 14327 |
> |
main () |
| 14328 |
> |
{ |
| 14329 |
> |
|
| 14330 |
> |
; |
| 14331 |
> |
return 0; |
| 14332 |
> |
} |
| 14333 |
> |
_ACEOF |
| 14334 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14335 |
> |
eval "$as_CACHEVAR=yes" |
| 14336 |
> |
else |
| 14337 |
> |
eval "$as_CACHEVAR=no" |
| 14338 |
> |
fi |
| 14339 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14340 |
> |
CFLAGS=$ax_check_save_flags |
| 14341 |
> |
fi |
| 14342 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14343 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14344 |
> |
$as_echo "$ac_res" >&6; } |
| 14345 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14346 |
> |
if ${CFLAGS+:} false; then : |
| 14347 |
> |
case " $CFLAGS " in |
| 14348 |
> |
*" $flag "*) |
| 14349 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14350 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14351 |
> |
ac_status=$? |
| 14352 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14353 |
> |
test $ac_status = 0; } |
| 14354 |
> |
;; |
| 14355 |
> |
*) |
| 14356 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14357 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14358 |
> |
ac_status=$? |
| 14359 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14360 |
> |
test $ac_status = 0; } |
| 14361 |
> |
CFLAGS="$CFLAGS $flag" |
| 14362 |
> |
;; |
| 14363 |
> |
esac |
| 14364 |
> |
else |
| 14365 |
> |
CFLAGS="$flag" |
| 14366 |
> |
fi |
| 14367 |
> |
|
| 14368 |
|
else |
| 14369 |
< |
topiclen="160" |
| 14369 |
> |
: |
| 14370 |
|
fi |
| 14371 |
|
|
| 14372 |
+ |
done |
| 14373 |
|
|
| 14374 |
< |
cat >>confdefs.h <<_ACEOF |
| 14375 |
< |
#define TOPICLEN ($topiclen) |
| 14374 |
> |
|
| 14375 |
> |
|
| 14376 |
> |
|
| 14377 |
> |
|
| 14378 |
> |
for flag in -Wno-unused; do |
| 14379 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14380 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14381 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14382 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14383 |
> |
$as_echo_n "(cached) " >&6 |
| 14384 |
> |
else |
| 14385 |
> |
|
| 14386 |
> |
ax_check_save_flags=$CFLAGS |
| 14387 |
> |
CFLAGS="$CFLAGS $flag" |
| 14388 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14389 |
> |
/* end confdefs.h. */ |
| 14390 |
> |
|
| 14391 |
> |
int |
| 14392 |
> |
main () |
| 14393 |
> |
{ |
| 14394 |
> |
|
| 14395 |
> |
; |
| 14396 |
> |
return 0; |
| 14397 |
> |
} |
| 14398 |
> |
_ACEOF |
| 14399 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14400 |
> |
eval "$as_CACHEVAR=yes" |
| 14401 |
> |
else |
| 14402 |
> |
eval "$as_CACHEVAR=no" |
| 14403 |
> |
fi |
| 14404 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14405 |
> |
CFLAGS=$ax_check_save_flags |
| 14406 |
> |
fi |
| 14407 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14408 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14409 |
> |
$as_echo "$ac_res" >&6; } |
| 14410 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14411 |
> |
if ${CFLAGS+:} false; then : |
| 14412 |
> |
case " $CFLAGS " in |
| 14413 |
> |
*" $flag "*) |
| 14414 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14415 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14416 |
> |
ac_status=$? |
| 14417 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14418 |
> |
test $ac_status = 0; } |
| 14419 |
> |
;; |
| 14420 |
> |
*) |
| 14421 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14422 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14423 |
> |
ac_status=$? |
| 14424 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14425 |
> |
test $ac_status = 0; } |
| 14426 |
> |
CFLAGS="$CFLAGS $flag" |
| 14427 |
> |
;; |
| 14428 |
> |
esac |
| 14429 |
> |
else |
| 14430 |
> |
CFLAGS="$flag" |
| 14431 |
> |
fi |
| 14432 |
> |
|
| 14433 |
> |
else |
| 14434 |
> |
: |
| 14435 |
> |
fi |
| 14436 |
> |
|
| 14437 |
> |
done |
| 14438 |
> |
|
| 14439 |
> |
|
| 14440 |
> |
|
| 14441 |
> |
|
| 14442 |
> |
|
| 14443 |
> |
for flag in -Wcast-qual; do |
| 14444 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14445 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14446 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14447 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14448 |
> |
$as_echo_n "(cached) " >&6 |
| 14449 |
> |
else |
| 14450 |
> |
|
| 14451 |
> |
ax_check_save_flags=$CFLAGS |
| 14452 |
> |
CFLAGS="$CFLAGS $flag" |
| 14453 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14454 |
> |
/* end confdefs.h. */ |
| 14455 |
> |
|
| 14456 |
> |
int |
| 14457 |
> |
main () |
| 14458 |
> |
{ |
| 14459 |
> |
|
| 14460 |
> |
; |
| 14461 |
> |
return 0; |
| 14462 |
> |
} |
| 14463 |
|
_ACEOF |
| 14464 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14465 |
+ |
eval "$as_CACHEVAR=yes" |
| 14466 |
+ |
else |
| 14467 |
+ |
eval "$as_CACHEVAR=no" |
| 14468 |
+ |
fi |
| 14469 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14470 |
+ |
CFLAGS=$ax_check_save_flags |
| 14471 |
+ |
fi |
| 14472 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14473 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14474 |
+ |
$as_echo "$ac_res" >&6; } |
| 14475 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14476 |
+ |
if ${CFLAGS+:} false; then : |
| 14477 |
+ |
case " $CFLAGS " in |
| 14478 |
+ |
*" $flag "*) |
| 14479 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14480 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14481 |
+ |
ac_status=$? |
| 14482 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14483 |
+ |
test $ac_status = 0; } |
| 14484 |
+ |
;; |
| 14485 |
+ |
*) |
| 14486 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14487 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14488 |
+ |
ac_status=$? |
| 14489 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14490 |
+ |
test $ac_status = 0; } |
| 14491 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14492 |
+ |
;; |
| 14493 |
+ |
esac |
| 14494 |
+ |
else |
| 14495 |
+ |
CFLAGS="$flag" |
| 14496 |
+ |
fi |
| 14497 |
+ |
|
| 14498 |
+ |
else |
| 14499 |
+ |
: |
| 14500 |
+ |
fi |
| 14501 |
+ |
|
| 14502 |
+ |
done |
| 14503 |
+ |
|
| 14504 |
+ |
|
| 14505 |
|
|
| 14506 |
|
|
| 14507 |
|
|
| 14508 |
< |
# Check whether --enable-efnet was given. |
| 14509 |
< |
if test "${enable_efnet+set}" = set; then : |
| 14510 |
< |
enableval=$enable_efnet; efnet="$enableval" |
| 14508 |
> |
for flag in -Wcast-align; do |
| 14509 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14510 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14511 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14512 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14513 |
> |
$as_echo_n "(cached) " >&6 |
| 14514 |
> |
else |
| 14515 |
> |
|
| 14516 |
> |
ax_check_save_flags=$CFLAGS |
| 14517 |
> |
CFLAGS="$CFLAGS $flag" |
| 14518 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14519 |
> |
/* end confdefs.h. */ |
| 14520 |
> |
|
| 14521 |
> |
int |
| 14522 |
> |
main () |
| 14523 |
> |
{ |
| 14524 |
> |
|
| 14525 |
> |
; |
| 14526 |
> |
return 0; |
| 14527 |
> |
} |
| 14528 |
> |
_ACEOF |
| 14529 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14530 |
> |
eval "$as_CACHEVAR=yes" |
| 14531 |
|
else |
| 14532 |
< |
efnet="no" |
| 14532 |
> |
eval "$as_CACHEVAR=no" |
| 14533 |
> |
fi |
| 14534 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14535 |
> |
CFLAGS=$ax_check_save_flags |
| 14536 |
> |
fi |
| 14537 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14538 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14539 |
> |
$as_echo "$ac_res" >&6; } |
| 14540 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14541 |
> |
if ${CFLAGS+:} false; then : |
| 14542 |
> |
case " $CFLAGS " in |
| 14543 |
> |
*" $flag "*) |
| 14544 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14545 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14546 |
> |
ac_status=$? |
| 14547 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14548 |
> |
test $ac_status = 0; } |
| 14549 |
> |
;; |
| 14550 |
> |
*) |
| 14551 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14552 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14553 |
> |
ac_status=$? |
| 14554 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14555 |
> |
test $ac_status = 0; } |
| 14556 |
> |
CFLAGS="$CFLAGS $flag" |
| 14557 |
> |
;; |
| 14558 |
> |
esac |
| 14559 |
> |
else |
| 14560 |
> |
CFLAGS="$flag" |
| 14561 |
|
fi |
| 14562 |
|
|
| 14563 |
< |
if test "$efnet" = "yes" ; then |
| 14564 |
< |
use_efnet="yes" |
| 14563 |
> |
else |
| 14564 |
> |
: |
| 14565 |
> |
fi |
| 14566 |
|
|
| 14567 |
< |
$as_echo "#define EFNET 1" >>confdefs.h |
| 14567 |
> |
done |
| 14568 |
|
|
| 14569 |
< |
else |
| 14570 |
< |
use_efnet="no" |
| 14571 |
< |
fi |
| 14572 |
< |
if test "$use_efnet" = "yes"; then |
| 14573 |
< |
EFNET_TRUE= |
| 14574 |
< |
EFNET_FALSE='#' |
| 14569 |
> |
|
| 14570 |
> |
|
| 14571 |
> |
|
| 14572 |
> |
|
| 14573 |
> |
for flag in -Wbad-function-cast; do |
| 14574 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14575 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14576 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14577 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14578 |
> |
$as_echo_n "(cached) " >&6 |
| 14579 |
> |
else |
| 14580 |
> |
|
| 14581 |
> |
ax_check_save_flags=$CFLAGS |
| 14582 |
> |
CFLAGS="$CFLAGS $flag" |
| 14583 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14584 |
> |
/* end confdefs.h. */ |
| 14585 |
> |
|
| 14586 |
> |
int |
| 14587 |
> |
main () |
| 14588 |
> |
{ |
| 14589 |
> |
|
| 14590 |
> |
; |
| 14591 |
> |
return 0; |
| 14592 |
> |
} |
| 14593 |
> |
_ACEOF |
| 14594 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14595 |
> |
eval "$as_CACHEVAR=yes" |
| 14596 |
|
else |
| 14597 |
< |
EFNET_TRUE='#' |
| 14426 |
< |
EFNET_FALSE= |
| 14597 |
> |
eval "$as_CACHEVAR=no" |
| 14598 |
|
fi |
| 14599 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14600 |
+ |
CFLAGS=$ax_check_save_flags |
| 14601 |
+ |
fi |
| 14602 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14603 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14604 |
+ |
$as_echo "$ac_res" >&6; } |
| 14605 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14606 |
+ |
if ${CFLAGS+:} false; then : |
| 14607 |
+ |
case " $CFLAGS " in |
| 14608 |
+ |
*" $flag "*) |
| 14609 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14610 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14611 |
+ |
ac_status=$? |
| 14612 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14613 |
+ |
test $ac_status = 0; } |
| 14614 |
+ |
;; |
| 14615 |
+ |
*) |
| 14616 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14617 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14618 |
+ |
ac_status=$? |
| 14619 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14620 |
+ |
test $ac_status = 0; } |
| 14621 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14622 |
+ |
;; |
| 14623 |
+ |
esac |
| 14624 |
+ |
else |
| 14625 |
+ |
CFLAGS="$flag" |
| 14626 |
+ |
fi |
| 14627 |
+ |
|
| 14628 |
+ |
else |
| 14629 |
+ |
: |
| 14630 |
+ |
fi |
| 14631 |
+ |
|
| 14632 |
+ |
done |
| 14633 |
+ |
|
| 14634 |
+ |
|
| 14635 |
+ |
|
| 14636 |
+ |
|
| 14637 |
+ |
|
| 14638 |
+ |
for flag in -Wlogical-op; do |
| 14639 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14640 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14641 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14642 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 14643 |
+ |
$as_echo_n "(cached) " >&6 |
| 14644 |
+ |
else |
| 14645 |
+ |
|
| 14646 |
+ |
ax_check_save_flags=$CFLAGS |
| 14647 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14648 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14649 |
+ |
/* end confdefs.h. */ |
| 14650 |
|
|
| 14651 |
+ |
int |
| 14652 |
+ |
main () |
| 14653 |
+ |
{ |
| 14654 |
|
|
| 14655 |
+ |
; |
| 14656 |
+ |
return 0; |
| 14657 |
+ |
} |
| 14658 |
+ |
_ACEOF |
| 14659 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14660 |
+ |
eval "$as_CACHEVAR=yes" |
| 14661 |
+ |
else |
| 14662 |
+ |
eval "$as_CACHEVAR=no" |
| 14663 |
+ |
fi |
| 14664 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14665 |
+ |
CFLAGS=$ax_check_save_flags |
| 14666 |
+ |
fi |
| 14667 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14668 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14669 |
+ |
$as_echo "$ac_res" >&6; } |
| 14670 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14671 |
+ |
if ${CFLAGS+:} false; then : |
| 14672 |
+ |
case " $CFLAGS " in |
| 14673 |
+ |
*" $flag "*) |
| 14674 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14675 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14676 |
+ |
ac_status=$? |
| 14677 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14678 |
+ |
test $ac_status = 0; } |
| 14679 |
+ |
;; |
| 14680 |
+ |
*) |
| 14681 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14682 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14683 |
+ |
ac_status=$? |
| 14684 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14685 |
+ |
test $ac_status = 0; } |
| 14686 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14687 |
+ |
;; |
| 14688 |
+ |
esac |
| 14689 |
+ |
else |
| 14690 |
+ |
CFLAGS="$flag" |
| 14691 |
+ |
fi |
| 14692 |
|
|
| 14431 |
– |
# Check whether --enable-halfops was given. |
| 14432 |
– |
if test "${enable_halfops+set}" = set; then : |
| 14433 |
– |
enableval=$enable_halfops; halfops="$enableval" |
| 14693 |
|
else |
| 14694 |
< |
halfops="no" |
| 14694 |
> |
: |
| 14695 |
|
fi |
| 14696 |
|
|
| 14697 |
< |
if test "$halfops" = "yes" ; then |
| 14697 |
> |
done |
| 14698 |
|
|
| 14440 |
– |
$as_echo "#define HALFOPS 1" >>confdefs.h |
| 14699 |
|
|
| 14442 |
– |
fi |
| 14700 |
|
|
| 14701 |
|
|
| 14702 |
< |
# Check whether --enable-debugging was given. |
| 14703 |
< |
if test "${enable_debugging+set}" = set; then : |
| 14704 |
< |
enableval=$enable_debugging; debugging="$enableval" |
| 14702 |
> |
|
| 14703 |
> |
for flag in -Wmissing-declarations; do |
| 14704 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14705 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14706 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14707 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14708 |
> |
$as_echo_n "(cached) " >&6 |
| 14709 |
|
else |
| 14710 |
< |
debugging="no" |
| 14710 |
> |
|
| 14711 |
> |
ax_check_save_flags=$CFLAGS |
| 14712 |
> |
CFLAGS="$CFLAGS $flag" |
| 14713 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14714 |
> |
/* end confdefs.h. */ |
| 14715 |
> |
|
| 14716 |
> |
int |
| 14717 |
> |
main () |
| 14718 |
> |
{ |
| 14719 |
> |
|
| 14720 |
> |
; |
| 14721 |
> |
return 0; |
| 14722 |
> |
} |
| 14723 |
> |
_ACEOF |
| 14724 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14725 |
> |
eval "$as_CACHEVAR=yes" |
| 14726 |
> |
else |
| 14727 |
> |
eval "$as_CACHEVAR=no" |
| 14728 |
> |
fi |
| 14729 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14730 |
> |
CFLAGS=$ax_check_save_flags |
| 14731 |
> |
fi |
| 14732 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14733 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14734 |
> |
$as_echo "$ac_res" >&6; } |
| 14735 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14736 |
> |
if ${CFLAGS+:} false; then : |
| 14737 |
> |
case " $CFLAGS " in |
| 14738 |
> |
*" $flag "*) |
| 14739 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14740 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14741 |
> |
ac_status=$? |
| 14742 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14743 |
> |
test $ac_status = 0; } |
| 14744 |
> |
;; |
| 14745 |
> |
*) |
| 14746 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14747 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14748 |
> |
ac_status=$? |
| 14749 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14750 |
> |
test $ac_status = 0; } |
| 14751 |
> |
CFLAGS="$CFLAGS $flag" |
| 14752 |
> |
;; |
| 14753 |
> |
esac |
| 14754 |
> |
else |
| 14755 |
> |
CFLAGS="$flag" |
| 14756 |
|
fi |
| 14757 |
|
|
| 14758 |
< |
if test "$debugging" = "yes" ; then |
| 14758 |
> |
else |
| 14759 |
> |
: |
| 14760 |
> |
fi |
| 14761 |
|
|
| 14762 |
< |
$as_echo "#define DEBUG 1" >>confdefs.h |
| 14762 |
> |
done |
| 14763 |
|
|
| 14456 |
– |
CFLAGS="-Wall -g -O0" |
| 14457 |
– |
else |
| 14764 |
|
|
| 14765 |
< |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 14765 |
> |
|
| 14766 |
> |
|
| 14767 |
> |
|
| 14768 |
> |
for flag in -Wmissing-include-dirs; do |
| 14769 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14770 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14771 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14772 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14773 |
> |
$as_echo_n "(cached) " >&6 |
| 14774 |
> |
else |
| 14775 |
> |
|
| 14776 |
> |
ax_check_save_flags=$CFLAGS |
| 14777 |
> |
CFLAGS="$CFLAGS $flag" |
| 14778 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14779 |
> |
/* end confdefs.h. */ |
| 14780 |
> |
|
| 14781 |
> |
int |
| 14782 |
> |
main () |
| 14783 |
> |
{ |
| 14784 |
> |
|
| 14785 |
> |
; |
| 14786 |
> |
return 0; |
| 14787 |
> |
} |
| 14788 |
> |
_ACEOF |
| 14789 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14790 |
> |
eval "$as_CACHEVAR=yes" |
| 14791 |
> |
else |
| 14792 |
> |
eval "$as_CACHEVAR=no" |
| 14793 |
> |
fi |
| 14794 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14795 |
> |
CFLAGS=$ax_check_save_flags |
| 14796 |
> |
fi |
| 14797 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14798 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14799 |
> |
$as_echo "$ac_res" >&6; } |
| 14800 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14801 |
> |
if ${CFLAGS+:} false; then : |
| 14802 |
> |
case " $CFLAGS " in |
| 14803 |
> |
*" $flag "*) |
| 14804 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14805 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14806 |
> |
ac_status=$? |
| 14807 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14808 |
> |
test $ac_status = 0; } |
| 14809 |
> |
;; |
| 14810 |
> |
*) |
| 14811 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14812 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14813 |
> |
ac_status=$? |
| 14814 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14815 |
> |
test $ac_status = 0; } |
| 14816 |
> |
CFLAGS="$CFLAGS $flag" |
| 14817 |
> |
;; |
| 14818 |
> |
esac |
| 14819 |
> |
else |
| 14820 |
> |
CFLAGS="$flag" |
| 14821 |
> |
fi |
| 14822 |
> |
|
| 14823 |
> |
else |
| 14824 |
> |
: |
| 14825 |
> |
fi |
| 14826 |
> |
|
| 14827 |
> |
done |
| 14828 |
> |
|
| 14829 |
> |
|
| 14830 |
> |
|
| 14831 |
> |
|
| 14832 |
> |
|
| 14833 |
> |
for flag in -Wmissing-prototypes; do |
| 14834 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14835 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14836 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14837 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14838 |
> |
$as_echo_n "(cached) " >&6 |
| 14839 |
> |
else |
| 14840 |
> |
|
| 14841 |
> |
ax_check_save_flags=$CFLAGS |
| 14842 |
> |
CFLAGS="$CFLAGS $flag" |
| 14843 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14844 |
> |
/* end confdefs.h. */ |
| 14845 |
> |
|
| 14846 |
> |
int |
| 14847 |
> |
main () |
| 14848 |
> |
{ |
| 14849 |
> |
|
| 14850 |
> |
; |
| 14851 |
> |
return 0; |
| 14852 |
> |
} |
| 14853 |
> |
_ACEOF |
| 14854 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14855 |
> |
eval "$as_CACHEVAR=yes" |
| 14856 |
> |
else |
| 14857 |
> |
eval "$as_CACHEVAR=no" |
| 14858 |
> |
fi |
| 14859 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14860 |
> |
CFLAGS=$ax_check_save_flags |
| 14861 |
> |
fi |
| 14862 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14863 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14864 |
> |
$as_echo "$ac_res" >&6; } |
| 14865 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14866 |
> |
if ${CFLAGS+:} false; then : |
| 14867 |
> |
case " $CFLAGS " in |
| 14868 |
> |
*" $flag "*) |
| 14869 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14870 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14871 |
> |
ac_status=$? |
| 14872 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14873 |
> |
test $ac_status = 0; } |
| 14874 |
> |
;; |
| 14875 |
> |
*) |
| 14876 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14877 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14878 |
> |
ac_status=$? |
| 14879 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14880 |
> |
test $ac_status = 0; } |
| 14881 |
> |
CFLAGS="$CFLAGS $flag" |
| 14882 |
> |
;; |
| 14883 |
> |
esac |
| 14884 |
> |
else |
| 14885 |
> |
CFLAGS="$flag" |
| 14886 |
> |
fi |
| 14887 |
> |
|
| 14888 |
> |
else |
| 14889 |
> |
: |
| 14890 |
> |
fi |
| 14891 |
> |
|
| 14892 |
> |
done |
| 14893 |
> |
|
| 14894 |
> |
|
| 14895 |
> |
|
| 14896 |
> |
|
| 14897 |
> |
|
| 14898 |
> |
for flag in -Wnested-externs; do |
| 14899 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14900 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14901 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14902 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14903 |
> |
$as_echo_n "(cached) " >&6 |
| 14904 |
> |
else |
| 14905 |
> |
|
| 14906 |
> |
ax_check_save_flags=$CFLAGS |
| 14907 |
> |
CFLAGS="$CFLAGS $flag" |
| 14908 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14909 |
> |
/* end confdefs.h. */ |
| 14910 |
> |
|
| 14911 |
> |
int |
| 14912 |
> |
main () |
| 14913 |
> |
{ |
| 14914 |
> |
|
| 14915 |
> |
; |
| 14916 |
> |
return 0; |
| 14917 |
> |
} |
| 14918 |
> |
_ACEOF |
| 14919 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14920 |
> |
eval "$as_CACHEVAR=yes" |
| 14921 |
> |
else |
| 14922 |
> |
eval "$as_CACHEVAR=no" |
| 14923 |
> |
fi |
| 14924 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14925 |
> |
CFLAGS=$ax_check_save_flags |
| 14926 |
> |
fi |
| 14927 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14928 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14929 |
> |
$as_echo "$ac_res" >&6; } |
| 14930 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14931 |
> |
if ${CFLAGS+:} false; then : |
| 14932 |
> |
case " $CFLAGS " in |
| 14933 |
> |
*" $flag "*) |
| 14934 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14935 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14936 |
> |
ac_status=$? |
| 14937 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14938 |
> |
test $ac_status = 0; } |
| 14939 |
> |
;; |
| 14940 |
> |
*) |
| 14941 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14942 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14943 |
> |
ac_status=$? |
| 14944 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14945 |
> |
test $ac_status = 0; } |
| 14946 |
> |
CFLAGS="$CFLAGS $flag" |
| 14947 |
> |
;; |
| 14948 |
> |
esac |
| 14949 |
> |
else |
| 14950 |
> |
CFLAGS="$flag" |
| 14951 |
> |
fi |
| 14952 |
> |
|
| 14953 |
> |
else |
| 14954 |
> |
: |
| 14955 |
> |
fi |
| 14956 |
> |
|
| 14957 |
> |
done |
| 14958 |
> |
|
| 14959 |
> |
|
| 14960 |
> |
|
| 14961 |
> |
|
| 14962 |
> |
|
| 14963 |
> |
for flag in -Wpointer-arith; do |
| 14964 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14965 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14966 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14967 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14968 |
> |
$as_echo_n "(cached) " >&6 |
| 14969 |
> |
else |
| 14970 |
> |
|
| 14971 |
> |
ax_check_save_flags=$CFLAGS |
| 14972 |
> |
CFLAGS="$CFLAGS $flag" |
| 14973 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14974 |
> |
/* end confdefs.h. */ |
| 14975 |
> |
|
| 14976 |
> |
int |
| 14977 |
> |
main () |
| 14978 |
> |
{ |
| 14979 |
> |
|
| 14980 |
> |
; |
| 14981 |
> |
return 0; |
| 14982 |
> |
} |
| 14983 |
> |
_ACEOF |
| 14984 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14985 |
> |
eval "$as_CACHEVAR=yes" |
| 14986 |
> |
else |
| 14987 |
> |
eval "$as_CACHEVAR=no" |
| 14988 |
> |
fi |
| 14989 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14990 |
> |
CFLAGS=$ax_check_save_flags |
| 14991 |
> |
fi |
| 14992 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14993 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14994 |
> |
$as_echo "$ac_res" >&6; } |
| 14995 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14996 |
> |
if ${CFLAGS+:} false; then : |
| 14997 |
> |
case " $CFLAGS " in |
| 14998 |
> |
*" $flag "*) |
| 14999 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15000 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15001 |
> |
ac_status=$? |
| 15002 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15003 |
> |
test $ac_status = 0; } |
| 15004 |
> |
;; |
| 15005 |
> |
*) |
| 15006 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15007 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15008 |
> |
ac_status=$? |
| 15009 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15010 |
> |
test $ac_status = 0; } |
| 15011 |
> |
CFLAGS="$CFLAGS $flag" |
| 15012 |
> |
;; |
| 15013 |
> |
esac |
| 15014 |
> |
else |
| 15015 |
> |
CFLAGS="$flag" |
| 15016 |
> |
fi |
| 15017 |
> |
|
| 15018 |
> |
else |
| 15019 |
> |
: |
| 15020 |
> |
fi |
| 15021 |
> |
|
| 15022 |
> |
done |
| 15023 |
> |
|
| 15024 |
> |
|
| 15025 |
> |
|
| 15026 |
> |
|
| 15027 |
> |
|
| 15028 |
> |
for flag in -Wredundant-decls; do |
| 15029 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15030 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15031 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15032 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15033 |
> |
$as_echo_n "(cached) " >&6 |
| 15034 |
> |
else |
| 15035 |
> |
|
| 15036 |
> |
ax_check_save_flags=$CFLAGS |
| 15037 |
> |
CFLAGS="$CFLAGS $flag" |
| 15038 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15039 |
> |
/* end confdefs.h. */ |
| 15040 |
> |
|
| 15041 |
> |
int |
| 15042 |
> |
main () |
| 15043 |
> |
{ |
| 15044 |
> |
|
| 15045 |
> |
; |
| 15046 |
> |
return 0; |
| 15047 |
> |
} |
| 15048 |
> |
_ACEOF |
| 15049 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15050 |
> |
eval "$as_CACHEVAR=yes" |
| 15051 |
> |
else |
| 15052 |
> |
eval "$as_CACHEVAR=no" |
| 15053 |
> |
fi |
| 15054 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15055 |
> |
CFLAGS=$ax_check_save_flags |
| 15056 |
> |
fi |
| 15057 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15058 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15059 |
> |
$as_echo "$ac_res" >&6; } |
| 15060 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15061 |
> |
if ${CFLAGS+:} false; then : |
| 15062 |
> |
case " $CFLAGS " in |
| 15063 |
> |
*" $flag "*) |
| 15064 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15065 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15066 |
> |
ac_status=$? |
| 15067 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15068 |
> |
test $ac_status = 0; } |
| 15069 |
> |
;; |
| 15070 |
> |
*) |
| 15071 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15072 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15073 |
> |
ac_status=$? |
| 15074 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15075 |
> |
test $ac_status = 0; } |
| 15076 |
> |
CFLAGS="$CFLAGS $flag" |
| 15077 |
> |
;; |
| 15078 |
> |
esac |
| 15079 |
> |
else |
| 15080 |
> |
CFLAGS="$flag" |
| 15081 |
> |
fi |
| 15082 |
> |
|
| 15083 |
> |
else |
| 15084 |
> |
: |
| 15085 |
> |
fi |
| 15086 |
> |
|
| 15087 |
> |
done |
| 15088 |
> |
|
| 15089 |
> |
|
| 15090 |
> |
|
| 15091 |
> |
|
| 15092 |
> |
|
| 15093 |
> |
for flag in -Wshadow; do |
| 15094 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15095 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15096 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15097 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15098 |
> |
$as_echo_n "(cached) " >&6 |
| 15099 |
> |
else |
| 15100 |
> |
|
| 15101 |
> |
ax_check_save_flags=$CFLAGS |
| 15102 |
> |
CFLAGS="$CFLAGS $flag" |
| 15103 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15104 |
> |
/* end confdefs.h. */ |
| 15105 |
> |
|
| 15106 |
> |
int |
| 15107 |
> |
main () |
| 15108 |
> |
{ |
| 15109 |
> |
|
| 15110 |
> |
; |
| 15111 |
> |
return 0; |
| 15112 |
> |
} |
| 15113 |
> |
_ACEOF |
| 15114 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15115 |
> |
eval "$as_CACHEVAR=yes" |
| 15116 |
> |
else |
| 15117 |
> |
eval "$as_CACHEVAR=no" |
| 15118 |
> |
fi |
| 15119 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15120 |
> |
CFLAGS=$ax_check_save_flags |
| 15121 |
> |
fi |
| 15122 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15123 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15124 |
> |
$as_echo "$ac_res" >&6; } |
| 15125 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15126 |
> |
if ${CFLAGS+:} false; then : |
| 15127 |
> |
case " $CFLAGS " in |
| 15128 |
> |
*" $flag "*) |
| 15129 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15130 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15131 |
> |
ac_status=$? |
| 15132 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15133 |
> |
test $ac_status = 0; } |
| 15134 |
> |
;; |
| 15135 |
> |
*) |
| 15136 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15137 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15138 |
> |
ac_status=$? |
| 15139 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15140 |
> |
test $ac_status = 0; } |
| 15141 |
> |
CFLAGS="$CFLAGS $flag" |
| 15142 |
> |
;; |
| 15143 |
> |
esac |
| 15144 |
> |
else |
| 15145 |
> |
CFLAGS="$flag" |
| 15146 |
> |
fi |
| 15147 |
> |
|
| 15148 |
> |
else |
| 15149 |
> |
: |
| 15150 |
> |
fi |
| 15151 |
> |
|
| 15152 |
> |
done |
| 15153 |
> |
|
| 15154 |
> |
|
| 15155 |
> |
|
| 15156 |
> |
|
| 15157 |
> |
|
| 15158 |
> |
for flag in -Wwrite-strings; do |
| 15159 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15160 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15161 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15162 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15163 |
> |
$as_echo_n "(cached) " >&6 |
| 15164 |
> |
else |
| 15165 |
> |
|
| 15166 |
> |
ax_check_save_flags=$CFLAGS |
| 15167 |
> |
CFLAGS="$CFLAGS $flag" |
| 15168 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15169 |
> |
/* end confdefs.h. */ |
| 15170 |
> |
|
| 15171 |
> |
int |
| 15172 |
> |
main () |
| 15173 |
> |
{ |
| 15174 |
> |
|
| 15175 |
> |
; |
| 15176 |
> |
return 0; |
| 15177 |
> |
} |
| 15178 |
> |
_ACEOF |
| 15179 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15180 |
> |
eval "$as_CACHEVAR=yes" |
| 15181 |
> |
else |
| 15182 |
> |
eval "$as_CACHEVAR=no" |
| 15183 |
> |
fi |
| 15184 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15185 |
> |
CFLAGS=$ax_check_save_flags |
| 15186 |
> |
fi |
| 15187 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15188 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15189 |
> |
$as_echo "$ac_res" >&6; } |
| 15190 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15191 |
> |
if ${CFLAGS+:} false; then : |
| 15192 |
> |
case " $CFLAGS " in |
| 15193 |
> |
*" $flag "*) |
| 15194 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15195 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15196 |
> |
ac_status=$? |
| 15197 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15198 |
> |
test $ac_status = 0; } |
| 15199 |
> |
;; |
| 15200 |
> |
*) |
| 15201 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15202 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15203 |
> |
ac_status=$? |
| 15204 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15205 |
> |
test $ac_status = 0; } |
| 15206 |
> |
CFLAGS="$CFLAGS $flag" |
| 15207 |
> |
;; |
| 15208 |
> |
esac |
| 15209 |
> |
else |
| 15210 |
> |
CFLAGS="$flag" |
| 15211 |
> |
fi |
| 15212 |
> |
|
| 15213 |
> |
else |
| 15214 |
> |
: |
| 15215 |
> |
fi |
| 15216 |
> |
|
| 15217 |
> |
done |
| 15218 |
> |
|
| 15219 |
> |
|
| 15220 |
> |
|
| 15221 |
> |
|
| 15222 |
> |
|
| 15223 |
> |
for flag in -Wundef; do |
| 15224 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15225 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15226 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15227 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15228 |
> |
$as_echo_n "(cached) " >&6 |
| 15229 |
> |
else |
| 15230 |
> |
|
| 15231 |
> |
ax_check_save_flags=$CFLAGS |
| 15232 |
> |
CFLAGS="$CFLAGS $flag" |
| 15233 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15234 |
> |
/* end confdefs.h. */ |
| 15235 |
> |
|
| 15236 |
> |
int |
| 15237 |
> |
main () |
| 15238 |
> |
{ |
| 15239 |
> |
|
| 15240 |
> |
; |
| 15241 |
> |
return 0; |
| 15242 |
> |
} |
| 15243 |
> |
_ACEOF |
| 15244 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15245 |
> |
eval "$as_CACHEVAR=yes" |
| 15246 |
> |
else |
| 15247 |
> |
eval "$as_CACHEVAR=no" |
| 15248 |
> |
fi |
| 15249 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15250 |
> |
CFLAGS=$ax_check_save_flags |
| 15251 |
> |
fi |
| 15252 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15253 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15254 |
> |
$as_echo "$ac_res" >&6; } |
| 15255 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15256 |
> |
if ${CFLAGS+:} false; then : |
| 15257 |
> |
case " $CFLAGS " in |
| 15258 |
> |
*" $flag "*) |
| 15259 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15260 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15261 |
> |
ac_status=$? |
| 15262 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15263 |
> |
test $ac_status = 0; } |
| 15264 |
> |
;; |
| 15265 |
> |
*) |
| 15266 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15267 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15268 |
> |
ac_status=$? |
| 15269 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15270 |
> |
test $ac_status = 0; } |
| 15271 |
> |
CFLAGS="$CFLAGS $flag" |
| 15272 |
> |
;; |
| 15273 |
> |
esac |
| 15274 |
> |
else |
| 15275 |
> |
CFLAGS="$flag" |
| 15276 |
> |
fi |
| 15277 |
> |
|
| 15278 |
> |
else |
| 15279 |
> |
: |
| 15280 |
> |
fi |
| 15281 |
> |
|
| 15282 |
> |
done |
| 15283 |
|
|
| 15284 |
|
fi |
| 15285 |
|
|
| 15286 |
|
|
| 15287 |
< |
# Check whether --enable-warnings was given. |
| 15288 |
< |
if test "${enable_warnings+set}" = set; then : |
| 15289 |
< |
enableval=$enable_warnings; warnings="$enableval" |
| 15287 |
> |
# Check whether --enable-openssl was given. |
| 15288 |
> |
if test "${enable_openssl+set}" = set; then : |
| 15289 |
> |
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 15290 |
|
else |
| 15291 |
< |
warnings="no" |
| 15291 |
> |
cf_enable_openssl="auto" |
| 15292 |
|
fi |
| 15293 |
|
|
| 15294 |
< |
if test "$warnings" = "yes" ; then |
| 15295 |
< |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
| 15294 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5 |
| 15295 |
> |
$as_echo_n "checking for LibreSSL/OpenSSL... " >&6; } |
| 15296 |
> |
if test "$cf_enable_openssl" != "no"; then |
| 15297 |
> |
cf_openssl_basedir="" |
| 15298 |
> |
if test "$cf_enable_openssl" != "auto" && |
| 15299 |
> |
test "$cf_enable_openssl" != "yes"; then |
| 15300 |
> |
cf_openssl_basedir="${cf_enable_openssl}" |
| 15301 |
> |
else |
| 15302 |
> |
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\ |
| 15303 |
> |
/opt /opt/openssl /usr/local/openssl; do |
| 15304 |
> |
if test -f "${dirs}/include/openssl/opensslv.h"; then |
| 15305 |
> |
cf_openssl_basedir="${dirs}" |
| 15306 |
> |
break |
| 15307 |
> |
fi |
| 15308 |
> |
done |
| 15309 |
> |
unset dirs |
| 15310 |
|
fi |
| 15311 |
|
|
| 15312 |
+ |
if test ! -z "$cf_openssl_basedir"; then |
| 15313 |
+ |
if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then |
| 15314 |
+ |
CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS" |
| 15315 |
+ |
LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS" |
| 15316 |
+ |
else |
| 15317 |
+ |
cf_openssl_basedir="" |
| 15318 |
+ |
fi |
| 15319 |
+ |
else |
| 15320 |
+ |
if test -f "/usr/include/openssl/opensslv.h"; then |
| 15321 |
+ |
cf_openssl_basedir="/usr" |
| 15322 |
+ |
fi |
| 15323 |
+ |
fi |
| 15324 |
+ |
|
| 15325 |
+ |
if test ! -z "$cf_openssl_basedir"; then |
| 15326 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 15327 |
+ |
$as_echo "$cf_openssl_basedir" >&6; } |
| 15328 |
+ |
cf_enable_openssl="yes" |
| 15329 |
+ |
else |
| 15330 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 15331 |
+ |
$as_echo "not found. Please check your path." >&6; } |
| 15332 |
+ |
cf_enable_openssl="no" |
| 15333 |
+ |
fi |
| 15334 |
+ |
unset cf_openssl_basedir |
| 15335 |
+ |
else |
| 15336 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 15337 |
+ |
$as_echo "disabled" >&6; } |
| 15338 |
+ |
fi |
| 15339 |
+ |
|
| 15340 |
+ |
if test "$cf_enable_openssl" != "no"; then : |
| 15341 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5 |
| 15342 |
+ |
$as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; } |
| 15343 |
+ |
if test "$cross_compiling" = yes; then : |
| 15344 |
+ |
cf_openssl_version_ok=no |
| 15345 |
+ |
else |
| 15346 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15347 |
+ |
/* end confdefs.h. */ |
| 15348 |
+ |
|
| 15349 |
+ |
|
| 15350 |
+ |
#include <openssl/opensslv.h> |
| 15351 |
+ |
#include <stdlib.h> |
| 15352 |
+ |
int |
| 15353 |
+ |
main () |
| 15354 |
+ |
{ |
| 15355 |
+ |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
| 15356 |
+ |
; |
| 15357 |
+ |
return 0; |
| 15358 |
+ |
} |
| 15359 |
+ |
_ACEOF |
| 15360 |
+ |
if ac_fn_c_try_run "$LINENO"; then : |
| 15361 |
+ |
cf_openssl_version_ok=yes |
| 15362 |
+ |
else |
| 15363 |
+ |
cf_openssl_version_ok=no |
| 15364 |
+ |
fi |
| 15365 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 15366 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15367 |
+ |
fi |
| 15368 |
+ |
|
| 15369 |
+ |
|
| 15370 |
+ |
if test "$cf_openssl_version_ok" = "yes"; then : |
| 15371 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 15372 |
+ |
$as_echo "found" >&6; } |
| 15373 |
+ |
|
| 15374 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 15375 |
+ |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 15376 |
+ |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 15377 |
+ |
$as_echo_n "(cached) " >&6 |
| 15378 |
+ |
else |
| 15379 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 15380 |
+ |
LIBS="-lcrypto $LIBS" |
| 15381 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15382 |
+ |
/* end confdefs.h. */ |
| 15383 |
+ |
|
| 15384 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 15385 |
+ |
Use char because int might match the return type of a GCC |
| 15386 |
+ |
builtin and then its argument prototype would still apply. */ |
| 15387 |
+ |
#ifdef __cplusplus |
| 15388 |
+ |
extern "C" |
| 15389 |
+ |
#endif |
| 15390 |
+ |
char RSA_free (); |
| 15391 |
+ |
int |
| 15392 |
+ |
main () |
| 15393 |
+ |
{ |
| 15394 |
+ |
return RSA_free (); |
| 15395 |
+ |
; |
| 15396 |
+ |
return 0; |
| 15397 |
+ |
} |
| 15398 |
+ |
_ACEOF |
| 15399 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 15400 |
+ |
ac_cv_lib_crypto_RSA_free=yes |
| 15401 |
+ |
else |
| 15402 |
+ |
ac_cv_lib_crypto_RSA_free=no |
| 15403 |
+ |
fi |
| 15404 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 15405 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 15406 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 15407 |
+ |
fi |
| 15408 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 15409 |
+ |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 15410 |
+ |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 15411 |
+ |
cat >>confdefs.h <<_ACEOF |
| 15412 |
+ |
#define HAVE_LIBCRYPTO 1 |
| 15413 |
+ |
_ACEOF |
| 15414 |
+ |
|
| 15415 |
+ |
LIBS="-lcrypto $LIBS" |
| 15416 |
+ |
|
| 15417 |
+ |
fi |
| 15418 |
+ |
|
| 15419 |
+ |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 15420 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 15421 |
+ |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 15422 |
+ |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 15423 |
+ |
$as_echo_n "(cached) " >&6 |
| 15424 |
+ |
else |
| 15425 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 15426 |
+ |
LIBS="-lssl $LIBS" |
| 15427 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15428 |
+ |
/* end confdefs.h. */ |
| 15429 |
+ |
|
| 15430 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 15431 |
+ |
Use char because int might match the return type of a GCC |
| 15432 |
+ |
builtin and then its argument prototype would still apply. */ |
| 15433 |
+ |
#ifdef __cplusplus |
| 15434 |
+ |
extern "C" |
| 15435 |
+ |
#endif |
| 15436 |
+ |
char SSL_connect (); |
| 15437 |
+ |
int |
| 15438 |
+ |
main () |
| 15439 |
+ |
{ |
| 15440 |
+ |
return SSL_connect (); |
| 15441 |
+ |
; |
| 15442 |
+ |
return 0; |
| 15443 |
+ |
} |
| 15444 |
+ |
_ACEOF |
| 15445 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 15446 |
+ |
ac_cv_lib_ssl_SSL_connect=yes |
| 15447 |
+ |
else |
| 15448 |
+ |
ac_cv_lib_ssl_SSL_connect=no |
| 15449 |
+ |
fi |
| 15450 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 15451 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 15452 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 15453 |
+ |
fi |
| 15454 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 15455 |
+ |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 15456 |
+ |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 15457 |
+ |
cat >>confdefs.h <<_ACEOF |
| 15458 |
+ |
#define HAVE_LIBSSL 1 |
| 15459 |
+ |
_ACEOF |
| 15460 |
+ |
|
| 15461 |
+ |
LIBS="-lssl $LIBS" |
| 15462 |
+ |
|
| 15463 |
+ |
fi |
| 15464 |
+ |
|
| 15465 |
+ |
fi |
| 15466 |
+ |
|
| 15467 |
+ |
else |
| 15468 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5 |
| 15469 |
+ |
$as_echo "no - LibreSSL/OpenSSL support disabled" >&6; } |
| 15470 |
+ |
cf_enable_openssl="no" |
| 15471 |
+ |
fi |
| 15472 |
+ |
fi |
| 15473 |
+ |
|
| 15474 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 15475 |
+ |
ENABLE_SSL_TRUE= |
| 15476 |
+ |
ENABLE_SSL_FALSE='#' |
| 15477 |
+ |
else |
| 15478 |
+ |
ENABLE_SSL_TRUE='#' |
| 15479 |
+ |
ENABLE_SSL_FALSE= |
| 15480 |
+ |
fi |
| 15481 |
+ |
|
| 15482 |
+ |
|
| 15483 |
|
|
| 15484 |
|
|
| 15485 |
|
prefix_NONE= |
| 15567 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 15568 |
|
|
| 15569 |
|
|
| 15570 |
< |
ac_config_files="$ac_config_files Makefile etc/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" |
| 15570 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
| 15571 |
|
|
| 15572 |
|
|
| 15573 |
|
cat >confcache <<\_ACEOF |
| 15679 |
|
LTLIBOBJS=$ac_ltlibobjs |
| 15680 |
|
|
| 15681 |
|
|
| 15682 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 15683 |
+ |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
| 15684 |
+ |
if test -n "$am_sleep_pid"; then |
| 15685 |
+ |
# Hide warnings about reused PIDs. |
| 15686 |
+ |
wait $am_sleep_pid 2>/dev/null |
| 15687 |
+ |
fi |
| 15688 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 15689 |
+ |
$as_echo "done" >&6; } |
| 15690 |
|
if test -n "$EXEEXT"; then |
| 15691 |
|
am__EXEEXT_TRUE= |
| 15692 |
|
am__EXEEXT_FALSE='#' |
| 15733 |
|
|
| 15734 |
|
|
| 15735 |
|
|
| 14720 |
– |
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
| 14721 |
– |
as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined. |
| 14722 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14723 |
– |
fi |
| 15736 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 15737 |
|
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
| 15738 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 15739 |
|
fi |
| 14728 |
– |
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
| 14729 |
– |
as_fn_error $? "conditional \"EFNET\" was never defined. |
| 14730 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14731 |
– |
fi |
| 15740 |
|
|
| 15741 |
|
: "${CONFIG_STATUS=./config.status}" |
| 15742 |
|
ac_write_fail=0 |
| 16035 |
|
# ... but there are two gotchas: |
| 16036 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 16037 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 16038 |
< |
# In both cases, we have to default to `cp -p'. |
| 16038 |
> |
# In both cases, we have to default to `cp -pR'. |
| 16039 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 16040 |
< |
as_ln_s='cp -p' |
| 16040 |
> |
as_ln_s='cp -pR' |
| 16041 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 16042 |
|
as_ln_s=ln |
| 16043 |
|
else |
| 16044 |
< |
as_ln_s='cp -p' |
| 16044 |
> |
as_ln_s='cp -pR' |
| 16045 |
|
fi |
| 16046 |
|
else |
| 16047 |
< |
as_ln_s='cp -p' |
| 16047 |
> |
as_ln_s='cp -pR' |
| 16048 |
|
fi |
| 16049 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 16050 |
|
rmdir conf$$.dir 2>/dev/null |
| 16104 |
|
as_mkdir_p=false |
| 16105 |
|
fi |
| 16106 |
|
|
| 16107 |
< |
if test -x / >/dev/null 2>&1; then |
| 16108 |
< |
as_test_x='test -x' |
| 16109 |
< |
else |
| 16110 |
< |
if ls -dL / >/dev/null 2>&1; then |
| 16111 |
< |
as_ls_L_option=L |
| 16112 |
< |
else |
| 16113 |
< |
as_ls_L_option= |
| 16114 |
< |
fi |
| 16115 |
< |
as_test_x=' |
| 16116 |
< |
eval sh -c '\'' |
| 15109 |
< |
if test -d "$1"; then |
| 15110 |
< |
test -d "$1/."; |
| 15111 |
< |
else |
| 15112 |
< |
case $1 in #( |
| 15113 |
< |
-*)set "./$1";; |
| 15114 |
< |
esac; |
| 15115 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 15116 |
< |
???[sx]*):;;*)false;;esac;fi |
| 15117 |
< |
'\'' sh |
| 15118 |
< |
' |
| 15119 |
< |
fi |
| 15120 |
< |
as_executable_p=$as_test_x |
| 16107 |
> |
|
| 16108 |
> |
# as_fn_executable_p FILE |
| 16109 |
> |
# ----------------------- |
| 16110 |
> |
# Test if FILE is an executable regular file. |
| 16111 |
> |
as_fn_executable_p () |
| 16112 |
> |
{ |
| 16113 |
> |
test -f "$1" && test -x "$1" |
| 16114 |
> |
} # as_fn_executable_p |
| 16115 |
> |
as_test_x='test -x' |
| 16116 |
> |
as_executable_p=as_fn_executable_p |
| 16117 |
|
|
| 16118 |
|
# Sed expression to map a string onto a valid CPP name. |
| 16119 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 16134 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 16135 |
|
# values after options handling. |
| 16136 |
|
ac_log=" |
| 16137 |
< |
This file was extended by ircd-hybrid $as_me 8beta1, which was |
| 16138 |
< |
generated by GNU Autoconf 2.68. Invocation command line was |
| 16137 |
> |
This file was extended by ircd-hybrid $as_me 8.2.0rc1, which was |
| 16138 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
| 16139 |
|
|
| 16140 |
|
CONFIG_FILES = $CONFIG_FILES |
| 16141 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 16200 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 16201 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 16202 |
|
ac_cs_version="\\ |
| 16203 |
< |
ircd-hybrid config.status 8beta1 |
| 16204 |
< |
configured by $0, generated by GNU Autoconf 2.68, |
| 16203 |
> |
ircd-hybrid config.status 8.2.0rc1 |
| 16204 |
> |
configured by $0, generated by GNU Autoconf 2.69, |
| 16205 |
|
with options \\"\$ac_cs_config\\" |
| 16206 |
|
|
| 16207 |
< |
Copyright (C) 2010 Free Software Foundation, Inc. |
| 16207 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 16208 |
|
This config.status script is free software; the Free Software Foundation |
| 16209 |
|
gives unlimited permission to copy, distribute and modify it." |
| 16210 |
|
|
| 16295 |
|
_ACEOF |
| 16296 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 16297 |
|
if \$ac_cs_recheck; then |
| 16298 |
< |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 16298 |
> |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 16299 |
|
shift |
| 16300 |
|
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 16301 |
|
CONFIG_SHELL='$SHELL' |
| 16610 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 16611 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 16612 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 15617 |
– |
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
| 15618 |
– |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 15619 |
– |
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
| 16613 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 16614 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
| 15622 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
| 16615 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
| 16616 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
| 16617 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 16618 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
| 15627 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
| 15628 |
– |
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
| 16619 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 16620 |
|
|
| 16621 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 17213 |
|
|
| 17214 |
|
case $ac_file$ac_mode in |
| 17215 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 17216 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 17216 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
| 17217 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 17218 |
|
# if we detect the quoting. |
| 17219 |
|
case $CONFIG_FILES in |
| 17226 |
|
# Strip MF so we end up with the name of the file. |
| 17227 |
|
mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 17228 |
|
# Check whether this is an Automake generated Makefile or not. |
| 17229 |
< |
# We used to match only the files named `Makefile.in', but |
| 17229 |
> |
# We used to match only the files named 'Makefile.in', but |
| 17230 |
|
# some people rename them; so instead we look at the file content. |
| 17231 |
|
# Grep'ing the first line is not enough: some people post-process |
| 17232 |
|
# each Makefile.in and add a new line on top of each file to say so. |
| 17260 |
|
continue |
| 17261 |
|
fi |
| 17262 |
|
# Extract the definition of DEPDIR, am__include, and am__quote |
| 17263 |
< |
# from the Makefile without running `make'. |
| 17263 |
> |
# from the Makefile without running 'make'. |
| 17264 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 17265 |
|
test -z "$DEPDIR" && continue |
| 17266 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 17267 |
< |
test -z "am__include" && continue |
| 17267 |
> |
test -z "$am__include" && continue |
| 17268 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 16279 |
– |
# When using ansi2knr, U may be empty or an underscore; expand it |
| 16280 |
– |
U=`sed -n 's/^U = //p' < "$mf"` |
| 17269 |
|
# Find all dependency output files, they are included files with |
| 17270 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |
| 17271 |
|
# simplest approach to changing $(DEPDIR) to its actual value in the |
| 17272 |
|
# expansion. |
| 17273 |
|
for file in `sed -n " |
| 17274 |
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 17275 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
| 17275 |
> |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 17276 |
|
# Make sure the directory exists. |
| 17277 |
|
test -f "$dirpart/$file" && continue |
| 17278 |
|
fdir=`$as_dirname -- "$file" || |