| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 8325 2018-02-28 19:52:33Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 8329 2018-02-28 21:31:17Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
| 5 |
|
# |
| 812 |
|
enable_assert |
| 813 |
|
enable_debugging |
| 814 |
|
enable_warnings |
| 815 |
+ |
enable_efence |
| 816 |
|
enable_mempool |
| 817 |
|
enable_openssl |
| 818 |
|
enable_gnutls |
| 1469 |
|
--enable-assert Enable assert() statements |
| 1470 |
|
--enable-debugging Enable debugging. |
| 1471 |
|
--enable-warnings Enable compiler warnings. |
| 1472 |
+ |
--enable-efence Enable linking with Electric Fence 'efence' memory |
| 1473 |
+ |
debugger library. |
| 1474 |
|
--disable-mempool Disables the memory pooling allocator. |
| 1475 |
|
--enable-openssl=DIR Enable LibreSSL/OpenSSL support (DIR optional). |
| 1476 |
|
--disable-openssl Disable LibreSSL/OpenSSL support. |
| 16550 |
|
|
| 16551 |
|
|
| 16552 |
|
fi |
| 16553 |
+ |
|
| 16554 |
+ |
|
| 16555 |
+ |
# Check whether --enable-efence was given. |
| 16556 |
+ |
if test "${enable_efence+set}" = set; then : |
| 16557 |
+ |
enableval=$enable_efence; efence="$enableval" |
| 16558 |
+ |
else |
| 16559 |
+ |
efence="no" |
| 16560 |
+ |
fi |
| 16561 |
+ |
|
| 16562 |
+ |
|
| 16563 |
+ |
if test "$efence" = "yes"; then : |
| 16564 |
+ |
|
| 16565 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5 |
| 16566 |
+ |
$as_echo_n "checking for library containing EF_Print... " >&6; } |
| 16567 |
+ |
if ${ac_cv_search_EF_Print+:} false; then : |
| 16568 |
+ |
$as_echo_n "(cached) " >&6 |
| 16569 |
+ |
else |
| 16570 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 16571 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16572 |
+ |
/* end confdefs.h. */ |
| 16573 |
+ |
|
| 16574 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 16575 |
+ |
Use char because int might match the return type of a GCC |
| 16576 |
+ |
builtin and then its argument prototype would still apply. */ |
| 16577 |
+ |
#ifdef __cplusplus |
| 16578 |
+ |
extern "C" |
| 16579 |
+ |
#endif |
| 16580 |
+ |
char EF_Print (); |
| 16581 |
+ |
int |
| 16582 |
+ |
main () |
| 16583 |
+ |
{ |
| 16584 |
+ |
return EF_Print (); |
| 16585 |
+ |
; |
| 16586 |
+ |
return 0; |
| 16587 |
+ |
} |
| 16588 |
+ |
_ACEOF |
| 16589 |
+ |
for ac_lib in '' efence; do |
| 16590 |
+ |
if test -z "$ac_lib"; then |
| 16591 |
+ |
ac_res="none required" |
| 16592 |
+ |
else |
| 16593 |
+ |
ac_res=-l$ac_lib |
| 16594 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 16595 |
+ |
fi |
| 16596 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 16597 |
+ |
ac_cv_search_EF_Print=$ac_res |
| 16598 |
+ |
fi |
| 16599 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 16600 |
+ |
conftest$ac_exeext |
| 16601 |
+ |
if ${ac_cv_search_EF_Print+:} false; then : |
| 16602 |
+ |
break |
| 16603 |
+ |
fi |
| 16604 |
+ |
done |
| 16605 |
+ |
if ${ac_cv_search_EF_Print+:} false; then : |
| 16606 |
+ |
|
| 16607 |
+ |
else |
| 16608 |
+ |
ac_cv_search_EF_Print=no |
| 16609 |
+ |
fi |
| 16610 |
+ |
rm conftest.$ac_ext |
| 16611 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 16612 |
+ |
fi |
| 16613 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5 |
| 16614 |
+ |
$as_echo "$ac_cv_search_EF_Print" >&6; } |
| 16615 |
+ |
ac_res=$ac_cv_search_EF_Print |
| 16616 |
+ |
if test "$ac_res" != no; then : |
| 16617 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 16618 |
+ |
|
| 16619 |
+ |
else |
| 16620 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16621 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16622 |
+ |
as_fn_error $? "Electric Fence 'efence' library not found |
| 16623 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 16624 |
+ |
fi |
| 16625 |
+ |
|
| 16626 |
+ |
|
| 16627 |
+ |
fi |
| 16628 |
|
|
| 16629 |
|
|
| 16630 |
|
# Check whether --enable-mempool was given. |