| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 8550 2018-09-22 20:55:46Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 8559 2018-09-23 09:25:41Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for hopm TRUNK. |
| 5 |
|
# |
| 638 |
|
am__EXEEXT_TRUE |
| 639 |
|
LTLIBOBJS |
| 640 |
|
LIBOBJS |
| 641 |
– |
ENABLE_SSL_FALSE |
| 642 |
– |
ENABLE_SSL_TRUE |
| 641 |
|
LEXLIB |
| 642 |
|
LEX_OUTPUT_ROOT |
| 643 |
|
LEX |
| 776 |
|
enable_openssl |
| 777 |
|
enable_assert |
| 778 |
|
enable_warnings |
| 779 |
+ |
enable_efence |
| 780 |
|
' |
| 781 |
|
ac_precious_vars='build_alias |
| 782 |
|
host_alias |
| 1426 |
|
--disable-openssl Disable LibreSSL/OpenSSL support. |
| 1427 |
|
--enable-assert Enable assert() statements |
| 1428 |
|
--enable-warnings Enable compiler warnings. |
| 1429 |
+ |
--enable-efence Enable linking with Electric Fence 'efence' memory |
| 1430 |
+ |
debugger library. |
| 1431 |
|
|
| 1432 |
|
Optional Packages: |
| 1433 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 12637 |
|
fi |
| 12638 |
|
|
| 12639 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 12640 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5 |
| 12641 |
< |
$as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; } |
| 12640 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 1.0.1d and above" >&5 |
| 12641 |
> |
$as_echo_n "checking for LibreSSL or OpenSSL 1.0.1d and above... " >&6; } |
| 12642 |
|
if test "$cross_compiling" = yes; then : |
| 12643 |
|
cf_openssl_version_ok=no |
| 12644 |
|
else |
| 12651 |
|
int |
| 12652 |
|
main () |
| 12653 |
|
{ |
| 12654 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
| 12654 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1000104fL)); |
| 12655 |
|
; |
| 12656 |
|
return 0; |
| 12657 |
|
} |
| 12770 |
|
fi |
| 12771 |
|
fi |
| 12772 |
|
|
| 12772 |
– |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 12773 |
– |
ENABLE_SSL_TRUE= |
| 12774 |
– |
ENABLE_SSL_FALSE='#' |
| 12775 |
– |
else |
| 12776 |
– |
ENABLE_SSL_TRUE='#' |
| 12777 |
– |
ENABLE_SSL_FALSE= |
| 12778 |
– |
fi |
| 12779 |
– |
|
| 12780 |
– |
|
| 12773 |
|
|
| 12774 |
|
# Check whether --enable-assert was given. |
| 12775 |
|
if test "${enable_assert+set}" = set; then : |
| 14750 |
|
fi |
| 14751 |
|
|
| 14752 |
|
|
| 14753 |
+ |
# Check whether --enable-efence was given. |
| 14754 |
+ |
if test "${enable_efence+set}" = set; then : |
| 14755 |
+ |
enableval=$enable_efence; efence="$enableval" |
| 14756 |
+ |
else |
| 14757 |
+ |
efence="no" |
| 14758 |
+ |
fi |
| 14759 |
+ |
|
| 14760 |
+ |
|
| 14761 |
+ |
if test "$efence" = "yes"; then : |
| 14762 |
+ |
|
| 14763 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5 |
| 14764 |
+ |
$as_echo_n "checking for library containing EF_Print... " >&6; } |
| 14765 |
+ |
if ${ac_cv_search_EF_Print+:} false; then : |
| 14766 |
+ |
$as_echo_n "(cached) " >&6 |
| 14767 |
+ |
else |
| 14768 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 14769 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14770 |
+ |
/* end confdefs.h. */ |
| 14771 |
+ |
|
| 14772 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 14773 |
+ |
Use char because int might match the return type of a GCC |
| 14774 |
+ |
builtin and then its argument prototype would still apply. */ |
| 14775 |
+ |
#ifdef __cplusplus |
| 14776 |
+ |
extern "C" |
| 14777 |
+ |
#endif |
| 14778 |
+ |
char EF_Print (); |
| 14779 |
+ |
int |
| 14780 |
+ |
main () |
| 14781 |
+ |
{ |
| 14782 |
+ |
return EF_Print (); |
| 14783 |
+ |
; |
| 14784 |
+ |
return 0; |
| 14785 |
+ |
} |
| 14786 |
+ |
_ACEOF |
| 14787 |
+ |
for ac_lib in '' efence; do |
| 14788 |
+ |
if test -z "$ac_lib"; then |
| 14789 |
+ |
ac_res="none required" |
| 14790 |
+ |
else |
| 14791 |
+ |
ac_res=-l$ac_lib |
| 14792 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14793 |
+ |
fi |
| 14794 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 14795 |
+ |
ac_cv_search_EF_Print=$ac_res |
| 14796 |
+ |
fi |
| 14797 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 14798 |
+ |
conftest$ac_exeext |
| 14799 |
+ |
if ${ac_cv_search_EF_Print+:} false; then : |
| 14800 |
+ |
break |
| 14801 |
+ |
fi |
| 14802 |
+ |
done |
| 14803 |
+ |
if ${ac_cv_search_EF_Print+:} false; then : |
| 14804 |
+ |
|
| 14805 |
+ |
else |
| 14806 |
+ |
ac_cv_search_EF_Print=no |
| 14807 |
+ |
fi |
| 14808 |
+ |
rm conftest.$ac_ext |
| 14809 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 14810 |
+ |
fi |
| 14811 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5 |
| 14812 |
+ |
$as_echo "$ac_cv_search_EF_Print" >&6; } |
| 14813 |
+ |
ac_res=$ac_cv_search_EF_Print |
| 14814 |
+ |
if test "$ac_res" != no; then : |
| 14815 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14816 |
+ |
|
| 14817 |
+ |
else |
| 14818 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14819 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14820 |
+ |
as_fn_error $? "Electric Fence 'efence' library not found |
| 14821 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 14822 |
+ |
fi |
| 14823 |
+ |
|
| 14824 |
+ |
|
| 14825 |
+ |
fi |
| 14826 |
+ |
|
| 14827 |
+ |
|
| 14828 |
|
for ac_func in strlcpy strlcat |
| 14829 |
|
do : |
| 14830 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14977 |
|
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 14978 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14979 |
|
fi |
| 14913 |
– |
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 14914 |
– |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
| 14915 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14916 |
– |
fi |
| 14980 |
|
|
| 14981 |
|
: "${CONFIG_STATUS=./config.status}" |
| 14982 |
|
ac_write_fail=0 |