| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 5942 2015-05-06 19:09:18Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 8384 2018-03-16 20:06:38Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.8. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.23. |
| 5 |
|
# |
| 6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
|
# |
| 593 |
|
# Identity of this package. |
| 594 |
|
PACKAGE_NAME='ircd-hybrid' |
| 595 |
|
PACKAGE_TARNAME='ircd-hybrid' |
| 596 |
< |
PACKAGE_VERSION='8.2.8' |
| 597 |
< |
PACKAGE_STRING='ircd-hybrid 8.2.8' |
| 596 |
> |
PACKAGE_VERSION='8.2.23' |
| 597 |
> |
PACKAGE_STRING='ircd-hybrid 8.2.23' |
| 598 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 599 |
|
PACKAGE_URL='' |
| 600 |
|
|
| 648 |
|
LIBDIR |
| 649 |
|
SYSCONFDIR |
| 650 |
|
PREFIX |
| 651 |
– |
ENABLE_SSL_FALSE |
| 652 |
– |
ENABLE_SSL_TRUE |
| 651 |
|
LTDLOPEN |
| 652 |
|
LT_CONFIG_H |
| 653 |
|
CONVENIENCE_LTDL_FALSE |
| 812 |
|
enable_assert |
| 813 |
|
enable_debugging |
| 814 |
|
enable_warnings |
| 815 |
+ |
enable_efence |
| 816 |
|
enable_openssl |
| 817 |
< |
enable_libgeoip |
| 817 |
> |
enable_gnutls |
| 818 |
|
' |
| 819 |
|
ac_precious_vars='build_alias |
| 820 |
|
host_alias |
| 1368 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1369 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1370 |
|
cat <<_ACEOF |
| 1371 |
< |
\`configure' configures ircd-hybrid 8.2.8 to adapt to many kinds of systems. |
| 1371 |
> |
\`configure' configures ircd-hybrid 8.2.23 to adapt to many kinds of systems. |
| 1372 |
|
|
| 1373 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1374 |
|
|
| 1438 |
|
|
| 1439 |
|
if test -n "$ac_init_help"; then |
| 1440 |
|
case $ac_init_help in |
| 1441 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.8:";; |
| 1441 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.23:";; |
| 1442 |
|
esac |
| 1443 |
|
cat <<\_ACEOF |
| 1444 |
|
|
| 1468 |
|
--enable-assert Enable assert() statements |
| 1469 |
|
--enable-debugging Enable debugging. |
| 1470 |
|
--enable-warnings Enable compiler warnings. |
| 1471 |
+ |
--enable-efence Enable linking with Electric Fence 'efence' memory |
| 1472 |
+ |
debugger library. |
| 1473 |
|
--enable-openssl=DIR Enable LibreSSL/OpenSSL support (DIR optional). |
| 1474 |
|
--disable-openssl Disable LibreSSL/OpenSSL support. |
| 1475 |
< |
--disable-libgeoip Disable GeoIP support |
| 1475 |
> |
--enable-gnutls Enable GnuTLS support. |
| 1476 |
> |
--disable-gnutls Disable GnuTLS support. |
| 1477 |
|
|
| 1478 |
|
Optional Packages: |
| 1479 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1574 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1575 |
|
if $ac_init_version; then |
| 1576 |
|
cat <<\_ACEOF |
| 1577 |
< |
ircd-hybrid configure 8.2.8 |
| 1577 |
> |
ircd-hybrid configure 8.2.23 |
| 1578 |
|
generated by GNU Autoconf 2.69 |
| 1579 |
|
|
| 1580 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 2043 |
|
This file contains any messages produced by compilers while |
| 2044 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2045 |
|
|
| 2046 |
< |
It was created by ircd-hybrid $as_me 8.2.8, which was |
| 2046 |
> |
It was created by ircd-hybrid $as_me 8.2.23, which was |
| 2047 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 2048 |
|
|
| 2049 |
|
$ $0 $@ |
| 2324 |
|
fi |
| 2325 |
|
|
| 2326 |
|
as_fn_append ac_func_list " strtok_r" |
| 2325 |
– |
as_fn_append ac_func_list " usleep" |
| 2327 |
|
as_fn_append ac_func_list " strlcat" |
| 2328 |
|
as_fn_append ac_func_list " strlcpy" |
| 2329 |
|
as_fn_append ac_header_list " crypt.h" |
| 2329 |
– |
as_fn_append ac_header_list " sys/resource.h" |
| 2330 |
|
as_fn_append ac_header_list " sys/param.h" |
| 2331 |
|
as_fn_append ac_header_list " types.h" |
| 2332 |
|
as_fn_append ac_header_list " socket.h" |
| 2333 |
|
as_fn_append ac_header_list " sys/wait.h" |
| 2334 |
– |
as_fn_append ac_header_list " wait.h" |
| 2334 |
|
# Check that the precious variables saved in the cache have kept the same |
| 2335 |
|
# value. |
| 2336 |
|
ac_cache_corrupted=false |
| 2914 |
|
|
| 2915 |
|
# Define the identity of the package. |
| 2916 |
|
PACKAGE='ircd-hybrid' |
| 2917 |
< |
VERSION='8.2.8' |
| 2917 |
> |
VERSION='8.2.23' |
| 2918 |
|
|
| 2919 |
|
|
| 2920 |
|
cat >>confdefs.h <<_ACEOF |
| 14237 |
|
|
| 14238 |
|
|
| 14239 |
|
|
| 14241 |
– |
|
| 14242 |
– |
|
| 14240 |
|
# Checks for header files. |
| 14241 |
|
|
| 14242 |
|
|
| 14267 |
|
|
| 14268 |
|
|
| 14269 |
|
|
| 14273 |
– |
|
| 14274 |
– |
|
| 14275 |
– |
|
| 14276 |
– |
|
| 14270 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
| 14271 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
| 14272 |
|
if ${ac_cv_search_crypt+:} false; then : |
| 14324 |
|
fi |
| 14325 |
|
|
| 14326 |
|
|
| 14334 |
– |
|
| 14335 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 14336 |
– |
|
| 14337 |
– |
|
| 14338 |
– |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
| 14339 |
– |
|
| 14340 |
– |
|
| 14341 |
– |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
| 14342 |
– |
|
| 14343 |
– |
|
| 14344 |
– |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 14345 |
– |
|
| 14346 |
– |
|
| 14347 |
– |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 14348 |
– |
|
| 14349 |
– |
|
| 14350 |
– |
$as_echo "#define MP_CHUNK_SIZE_CONNECTION 512*1024" >>confdefs.h |
| 14351 |
– |
|
| 14352 |
– |
|
| 14353 |
– |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
| 14354 |
– |
|
| 14355 |
– |
|
| 14356 |
– |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
| 14357 |
– |
|
| 14358 |
– |
|
| 14359 |
– |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
| 14360 |
– |
|
| 14361 |
– |
|
| 14362 |
– |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
| 14363 |
– |
|
| 14364 |
– |
|
| 14365 |
– |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 14366 |
– |
|
| 14367 |
– |
|
| 14368 |
– |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 14369 |
– |
|
| 14370 |
– |
|
| 14371 |
– |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 14372 |
– |
|
| 14373 |
– |
|
| 14374 |
– |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
| 14375 |
– |
|
| 14376 |
– |
|
| 14327 |
|
# Argument processing. |
| 14328 |
|
|
| 14329 |
|
desired_iopoll_mechanism="none" |
| 14607 |
|
debugging="no" |
| 14608 |
|
fi |
| 14609 |
|
|
| 14610 |
< |
if test "$debugging" = "yes" ; then |
| 14610 |
> |
|
| 14611 |
> |
if test "$debugging" = "yes"; then : |
| 14612 |
> |
|
| 14613 |
|
CFLAGS="-Wall -g -O0" |
| 14614 |
< |
fi |
| 14614 |
> |
|
| 14615 |
> |
fi |
| 14616 |
|
|
| 14617 |
|
|
| 14618 |
|
# Check whether --enable-warnings was given. |
| 14623 |
|
fi |
| 14624 |
|
|
| 14625 |
|
|
| 14626 |
< |
if test "$warnings" = "yes" ; then |
| 14626 |
> |
if test "$warnings" = "yes"; then : |
| 14627 |
> |
|
| 14628 |
|
|
| 14629 |
|
|
| 14630 |
|
|
| 15004 |
|
|
| 15005 |
|
|
| 15006 |
|
|
| 15007 |
+ |
for flag in -Wduplicated-cond; do |
| 15008 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15009 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15010 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15011 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 15012 |
+ |
$as_echo_n "(cached) " >&6 |
| 15013 |
+ |
else |
| 15014 |
+ |
|
| 15015 |
+ |
ax_check_save_flags=$CFLAGS |
| 15016 |
+ |
CFLAGS="$CFLAGS $flag" |
| 15017 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15018 |
+ |
/* end confdefs.h. */ |
| 15019 |
+ |
|
| 15020 |
+ |
int |
| 15021 |
+ |
main () |
| 15022 |
+ |
{ |
| 15023 |
+ |
|
| 15024 |
+ |
; |
| 15025 |
+ |
return 0; |
| 15026 |
+ |
} |
| 15027 |
+ |
_ACEOF |
| 15028 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15029 |
+ |
eval "$as_CACHEVAR=yes" |
| 15030 |
+ |
else |
| 15031 |
+ |
eval "$as_CACHEVAR=no" |
| 15032 |
+ |
fi |
| 15033 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15034 |
+ |
CFLAGS=$ax_check_save_flags |
| 15035 |
+ |
fi |
| 15036 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 15037 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15038 |
+ |
$as_echo "$ac_res" >&6; } |
| 15039 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15040 |
+ |
|
| 15041 |
+ |
if ${CFLAGS+:} false; then : |
| 15042 |
+ |
|
| 15043 |
+ |
case " $CFLAGS " in #( |
| 15044 |
+ |
*" $flag "*) : |
| 15045 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15046 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 15047 |
+ |
ac_status=$? |
| 15048 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15049 |
+ |
test $ac_status = 0; } ;; #( |
| 15050 |
+ |
*) : |
| 15051 |
+ |
|
| 15052 |
+ |
as_fn_append CFLAGS " $flag" |
| 15053 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15054 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15055 |
+ |
ac_status=$? |
| 15056 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15057 |
+ |
test $ac_status = 0; } |
| 15058 |
+ |
;; |
| 15059 |
+ |
esac |
| 15060 |
+ |
|
| 15061 |
+ |
else |
| 15062 |
+ |
|
| 15063 |
+ |
CFLAGS=$flag |
| 15064 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15065 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15066 |
+ |
ac_status=$? |
| 15067 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15068 |
+ |
test $ac_status = 0; } |
| 15069 |
+ |
|
| 15070 |
+ |
fi |
| 15071 |
+ |
|
| 15072 |
+ |
else |
| 15073 |
+ |
: |
| 15074 |
+ |
fi |
| 15075 |
+ |
|
| 15076 |
+ |
done |
| 15077 |
+ |
|
| 15078 |
+ |
|
| 15079 |
+ |
|
| 15080 |
+ |
|
| 15081 |
+ |
|
| 15082 |
|
for flag in -Wempty-body; do |
| 15083 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15084 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16500 |
|
|
| 16501 |
|
done |
| 16502 |
|
|
| 16503 |
+ |
|
| 16504 |
+ |
fi |
| 16505 |
+ |
|
| 16506 |
+ |
|
| 16507 |
+ |
# Check whether --enable-efence was given. |
| 16508 |
+ |
if test "${enable_efence+set}" = set; then : |
| 16509 |
+ |
enableval=$enable_efence; efence="$enableval" |
| 16510 |
+ |
else |
| 16511 |
+ |
efence="no" |
| 16512 |
+ |
fi |
| 16513 |
+ |
|
| 16514 |
+ |
|
| 16515 |
+ |
if test "$efence" = "yes"; then : |
| 16516 |
+ |
|
| 16517 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5 |
| 16518 |
+ |
$as_echo_n "checking for library containing EF_Print... " >&6; } |
| 16519 |
+ |
if ${ac_cv_search_EF_Print+:} false; then : |
| 16520 |
+ |
$as_echo_n "(cached) " >&6 |
| 16521 |
+ |
else |
| 16522 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 16523 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16524 |
+ |
/* end confdefs.h. */ |
| 16525 |
+ |
|
| 16526 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 16527 |
+ |
Use char because int might match the return type of a GCC |
| 16528 |
+ |
builtin and then its argument prototype would still apply. */ |
| 16529 |
+ |
#ifdef __cplusplus |
| 16530 |
+ |
extern "C" |
| 16531 |
+ |
#endif |
| 16532 |
+ |
char EF_Print (); |
| 16533 |
+ |
int |
| 16534 |
+ |
main () |
| 16535 |
+ |
{ |
| 16536 |
+ |
return EF_Print (); |
| 16537 |
+ |
; |
| 16538 |
+ |
return 0; |
| 16539 |
+ |
} |
| 16540 |
+ |
_ACEOF |
| 16541 |
+ |
for ac_lib in '' efence; do |
| 16542 |
+ |
if test -z "$ac_lib"; then |
| 16543 |
+ |
ac_res="none required" |
| 16544 |
+ |
else |
| 16545 |
+ |
ac_res=-l$ac_lib |
| 16546 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 16547 |
|
fi |
| 16548 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 16549 |
+ |
ac_cv_search_EF_Print=$ac_res |
| 16550 |
+ |
fi |
| 16551 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 16552 |
+ |
conftest$ac_exeext |
| 16553 |
+ |
if ${ac_cv_search_EF_Print+:} false; then : |
| 16554 |
+ |
break |
| 16555 |
+ |
fi |
| 16556 |
+ |
done |
| 16557 |
+ |
if ${ac_cv_search_EF_Print+:} false; then : |
| 16558 |
+ |
|
| 16559 |
+ |
else |
| 16560 |
+ |
ac_cv_search_EF_Print=no |
| 16561 |
+ |
fi |
| 16562 |
+ |
rm conftest.$ac_ext |
| 16563 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 16564 |
+ |
fi |
| 16565 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5 |
| 16566 |
+ |
$as_echo "$ac_cv_search_EF_Print" >&6; } |
| 16567 |
+ |
ac_res=$ac_cv_search_EF_Print |
| 16568 |
+ |
if test "$ac_res" != no; then : |
| 16569 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 16570 |
+ |
|
| 16571 |
+ |
else |
| 16572 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16573 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16574 |
+ |
as_fn_error $? "Electric Fence 'efence' library not found |
| 16575 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 16576 |
+ |
fi |
| 16577 |
+ |
|
| 16578 |
+ |
|
| 16579 |
+ |
fi |
| 16580 |
|
|
| 16581 |
|
|
| 16582 |
|
# Check whether --enable-openssl was given. |
| 16633 |
|
fi |
| 16634 |
|
|
| 16635 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 16636 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5 |
| 16637 |
< |
$as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; } |
| 16636 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 1.0.1d and above" >&5 |
| 16637 |
> |
$as_echo_n "checking for LibreSSL or OpenSSL 1.0.1d and above... " >&6; } |
| 16638 |
|
if test "$cross_compiling" = yes; then : |
| 16639 |
|
cf_openssl_version_ok=no |
| 16640 |
|
else |
| 16647 |
|
int |
| 16648 |
|
main () |
| 16649 |
|
{ |
| 16650 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
| 16650 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1000104fL)); |
| 16651 |
|
; |
| 16652 |
|
return 0; |
| 16653 |
|
} |
| 16766 |
|
fi |
| 16767 |
|
fi |
| 16768 |
|
|
| 16769 |
< |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 16770 |
< |
ENABLE_SSL_TRUE= |
| 16771 |
< |
ENABLE_SSL_FALSE='#' |
| 16769 |
> |
|
| 16770 |
> |
# Check whether --enable-gnutls was given. |
| 16771 |
> |
if test "${enable_gnutls+set}" = set; then : |
| 16772 |
> |
enableval=$enable_gnutls; cf_enable_gnutls=$enableval |
| 16773 |
|
else |
| 16774 |
< |
ENABLE_SSL_TRUE='#' |
| 16669 |
< |
ENABLE_SSL_FALSE= |
| 16774 |
> |
cf_enable_gnutls="auto" |
| 16775 |
|
fi |
| 16776 |
|
|
| 16777 |
|
|
| 16778 |
+ |
if test "$cf_enable_openssl" != "auto" && |
| 16779 |
+ |
test "$cf_enable_openssl" != "yes"; then |
| 16780 |
+ |
if test "$cf_enable_gnutls" != "no"; then |
| 16781 |
|
|
| 16782 |
< |
# Check whether --enable-libgeoip was given. |
| 16783 |
< |
if test "${enable_libgeoip+set}" = set; then : |
| 16784 |
< |
enableval=$enable_libgeoip; |
| 16782 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" |
| 16783 |
> |
if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then : |
| 16784 |
> |
|
| 16785 |
> |
if test "$cross_compiling" = yes; then : |
| 16786 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16787 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16788 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 16789 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 16790 |
|
else |
| 16791 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 16792 |
< |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 16793 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 16794 |
< |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 16795 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16791 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16792 |
> |
/* end confdefs.h. */ |
| 16793 |
> |
|
| 16794 |
> |
|
| 16795 |
> |
#include <gnutls/gnutls.h> |
| 16796 |
> |
#include <stdlib.h> |
| 16797 |
> |
int |
| 16798 |
> |
main () |
| 16799 |
> |
{ |
| 16800 |
> |
|
| 16801 |
> |
exit(!(GNUTLS_VERSION_NUMBER >= 0x030308)); |
| 16802 |
> |
; |
| 16803 |
> |
return 0; |
| 16804 |
> |
} |
| 16805 |
> |
_ACEOF |
| 16806 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
| 16807 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
| 16808 |
> |
$as_echo_n "checking for gnutls_init in -lgnutls... " >&6; } |
| 16809 |
> |
if ${ac_cv_lib_gnutls_gnutls_init+:} false; then : |
| 16810 |
|
$as_echo_n "(cached) " >&6 |
| 16811 |
|
else |
| 16812 |
< |
ac_func_search_save_LIBS=$LIBS |
| 16812 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 16813 |
> |
LIBS="-lgnutls $LIBS" |
| 16814 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16815 |
|
/* end confdefs.h. */ |
| 16816 |
|
|
| 16820 |
|
#ifdef __cplusplus |
| 16821 |
|
extern "C" |
| 16822 |
|
#endif |
| 16823 |
< |
char GeoIP_id_by_ipnum_v6_gl (); |
| 16823 |
> |
char gnutls_init (); |
| 16824 |
|
int |
| 16825 |
|
main () |
| 16826 |
|
{ |
| 16827 |
< |
return GeoIP_id_by_ipnum_v6_gl (); |
| 16827 |
> |
return gnutls_init (); |
| 16828 |
|
; |
| 16829 |
|
return 0; |
| 16830 |
|
} |
| 16831 |
|
_ACEOF |
| 16832 |
< |
for ac_lib in '' GeoIP; do |
| 16833 |
< |
if test -z "$ac_lib"; then |
| 16834 |
< |
ac_res="none required" |
| 16835 |
< |
else |
| 16708 |
< |
ac_res=-l$ac_lib |
| 16709 |
< |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 16710 |
< |
fi |
| 16711 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 16712 |
< |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 16832 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 16833 |
> |
ac_cv_lib_gnutls_gnutls_init=yes |
| 16834 |
> |
else |
| 16835 |
> |
ac_cv_lib_gnutls_gnutls_init=no |
| 16836 |
|
fi |
| 16837 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 16838 |
< |
conftest$ac_exeext |
| 16839 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16717 |
< |
break |
| 16838 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 16839 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 16840 |
|
fi |
| 16841 |
< |
done |
| 16842 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 16841 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_init" >&5 |
| 16842 |
> |
$as_echo "$ac_cv_lib_gnutls_gnutls_init" >&6; } |
| 16843 |
> |
if test "x$ac_cv_lib_gnutls_gnutls_init" = xyes; then : |
| 16844 |
> |
cat >>confdefs.h <<_ACEOF |
| 16845 |
> |
#define HAVE_LIBGNUTLS 1 |
| 16846 |
> |
_ACEOF |
| 16847 |
|
|
| 16848 |
< |
else |
| 16723 |
< |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 16724 |
< |
fi |
| 16725 |
< |
rm conftest.$ac_ext |
| 16726 |
< |
LIBS=$ac_func_search_save_LIBS |
| 16727 |
< |
fi |
| 16728 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 16729 |
< |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 16730 |
< |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 16731 |
< |
if test "$ac_res" != no; then : |
| 16732 |
< |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 16848 |
> |
LIBS="-lgnutls $LIBS" |
| 16849 |
|
|
| 16850 |
< |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 16850 |
> |
fi |
| 16851 |
|
|
| 16852 |
|
fi |
| 16853 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 16854 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16855 |
+ |
fi |
| 16856 |
|
|
| 16857 |
|
fi |
| 16858 |
|
|
| 16859 |
|
|
| 16860 |
+ |
|
| 16861 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.3.8 and above" >&5 |
| 16862 |
+ |
$as_echo_n "checking for GnuTLS 3.3.8 and above... " >&6; } |
| 16863 |
+ |
if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"; then : |
| 16864 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 16865 |
+ |
$as_echo "found" >&6; } |
| 16866 |
+ |
else |
| 16867 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5 |
| 16868 |
+ |
$as_echo "no - GnuTLS support disabled" >&6; } |
| 16869 |
|
fi |
| 16870 |
|
|
| 16871 |
+ |
fi |
| 16872 |
+ |
fi |
| 16873 |
|
|
| 16874 |
|
|
| 16875 |
|
|
| 17124 |
|
|
| 17125 |
|
|
| 17126 |
|
|
| 16997 |
– |
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 16998 |
– |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
| 16999 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 17000 |
– |
fi |
| 17127 |
|
|
| 17128 |
|
: "${CONFIG_STATUS=./config.status}" |
| 17129 |
|
ac_write_fail=0 |
| 17521 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 17522 |
|
# values after options handling. |
| 17523 |
|
ac_log=" |
| 17524 |
< |
This file was extended by ircd-hybrid $as_me 8.2.8, which was |
| 17524 |
> |
This file was extended by ircd-hybrid $as_me 8.2.23, which was |
| 17525 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 17526 |
|
|
| 17527 |
|
CONFIG_FILES = $CONFIG_FILES |
| 17587 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17588 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 17589 |
|
ac_cs_version="\\ |
| 17590 |
< |
ircd-hybrid config.status 8.2.8 |
| 17590 |
> |
ircd-hybrid config.status 8.2.23 |
| 17591 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 17592 |
|
with options \\"\$ac_cs_config\\" |
| 17593 |
|
|