| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 7165 2016-01-28 11:51:57Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 7668 2016-07-20 17:09:49Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
| 5 |
|
# |
| 2326 |
|
as_fn_append ac_func_list " strlcat" |
| 2327 |
|
as_fn_append ac_func_list " strlcpy" |
| 2328 |
|
as_fn_append ac_header_list " crypt.h" |
| 2329 |
– |
as_fn_append ac_header_list " sys/resource.h" |
| 2329 |
|
as_fn_append ac_header_list " sys/param.h" |
| 2330 |
|
as_fn_append ac_header_list " types.h" |
| 2331 |
|
as_fn_append ac_header_list " socket.h" |
| 14266 |
|
|
| 14267 |
|
|
| 14268 |
|
|
| 14270 |
– |
|
| 14271 |
– |
|
| 14269 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
| 14270 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
| 14271 |
|
if ${ac_cv_search_crypt+:} false; then : |
| 14335 |
|
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 14336 |
|
|
| 14337 |
|
|
| 14338 |
+ |
$as_echo "#define MP_CHUNK_SIZE_INVITE 4*1024" >>confdefs.h |
| 14339 |
+ |
|
| 14340 |
+ |
|
| 14341 |
|
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 14342 |
|
|
| 14343 |
|
|
| 14359 |
|
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 14360 |
|
|
| 14361 |
|
|
| 14362 |
– |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 14363 |
– |
|
| 14364 |
– |
|
| 14362 |
|
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 14363 |
|
|
| 14364 |
|
|
| 14365 |
|
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
| 14366 |
|
|
| 14367 |
|
|
| 14368 |
+ |
$as_echo "#define MP_CHUNK_SIZE_WHOWAS 256*1024" >>confdefs.h |
| 14369 |
+ |
|
| 14370 |
+ |
|
| 14371 |
|
|
| 14372 |
|
# Argument processing. |
| 14373 |
|
|
| 16528 |
|
fi |
| 16529 |
|
|
| 16530 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 16531 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5 |
| 16532 |
< |
$as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; } |
| 16531 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 1.0.1d and above" >&5 |
| 16532 |
> |
$as_echo_n "checking for LibreSSL or OpenSSL 1.0.1d and above... " >&6; } |
| 16533 |
|
if test "$cross_compiling" = yes; then : |
| 16534 |
|
cf_openssl_version_ok=no |
| 16535 |
|
else |
| 16542 |
|
int |
| 16543 |
|
main () |
| 16544 |
|
{ |
| 16545 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
| 16545 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1000104fL)); |
| 16546 |
|
; |
| 16547 |
|
return 0; |
| 16548 |
|
} |
| 16673 |
|
if test "$cf_enable_openssl" != "auto" && |
| 16674 |
|
test "$cf_enable_openssl" != "yes"; then |
| 16675 |
|
if test "$cf_enable_gnutls" != "no"; then |
| 16676 |
+ |
|
| 16677 |
|
ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" |
| 16678 |
|
if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then : |
| 16679 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
| 16679 |
> |
|
| 16680 |
> |
if test "$cross_compiling" = yes; then : |
| 16681 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16682 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16683 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 16684 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 16685 |
> |
else |
| 16686 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16687 |
> |
/* end confdefs.h. */ |
| 16688 |
> |
|
| 16689 |
> |
|
| 16690 |
> |
#include <gnutls/gnutls.h> |
| 16691 |
> |
#include <stdlib.h> |
| 16692 |
> |
int |
| 16693 |
> |
main () |
| 16694 |
> |
{ |
| 16695 |
> |
|
| 16696 |
> |
exit(!(GNUTLS_VERSION_NUMBER >= 0x030308)); |
| 16697 |
> |
; |
| 16698 |
> |
return 0; |
| 16699 |
> |
} |
| 16700 |
> |
_ACEOF |
| 16701 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
| 16702 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
| 16703 |
|
$as_echo_n "checking for gnutls_init in -lgnutls... " >&6; } |
| 16704 |
|
if ${ac_cv_lib_gnutls_gnutls_init+:} false; then : |
| 16705 |
|
$as_echo_n "(cached) " >&6 |
| 16745 |
|
fi |
| 16746 |
|
|
| 16747 |
|
fi |
| 16748 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 16749 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16750 |
+ |
fi |
| 16751 |
+ |
|
| 16752 |
+ |
fi |
| 16753 |
+ |
|
| 16754 |
+ |
|
| 16755 |
|
|
| 16756 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.3.8 and above" >&5 |
| 16757 |
+ |
$as_echo_n "checking for GnuTLS 3.3.8 and above... " >&6; } |
| 16758 |
+ |
if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"; then : |
| 16759 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 16760 |
+ |
$as_echo "found" >&6; } |
| 16761 |
+ |
else |
| 16762 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5 |
| 16763 |
+ |
$as_echo "no - GnuTLS support disabled" >&6; } |
| 16764 |
+ |
fi |
| 16765 |
|
|
| 16766 |
|
fi |
| 16767 |
|
fi |