Changeset View
Changeset View
Standalone View
Standalone View
configure.ac
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | AC_ARG_ENABLE(tests, | ||||
[use_tests=$enableval], | [use_tests=$enableval], | ||||
[use_tests=yes]) | [use_tests=yes]) | ||||
AC_ARG_ENABLE(gui-tests, | AC_ARG_ENABLE(gui-tests, | ||||
AS_HELP_STRING([--disable-gui-tests],[do not compile GUI tests (default is to compile if GUI and tests enabled)]), | AS_HELP_STRING([--disable-gui-tests],[do not compile GUI tests (default is to compile if GUI and tests enabled)]), | ||||
[use_gui_tests=$enableval], | [use_gui_tests=$enableval], | ||||
[use_gui_tests=$use_tests]) | [use_gui_tests=$use_tests]) | ||||
AC_ARG_WITH([rapidcheck], | |||||
[AS_HELP_STRING([--with-rapidcheck], | |||||
[enable RapidCheck property based tests (default is yes if librapidcheck is found)])], | |||||
[use_rapidcheck=$withval], | |||||
[use_rapidcheck=auto]) | |||||
AC_ARG_ENABLE(bench, | AC_ARG_ENABLE(bench, | ||||
AS_HELP_STRING([--disable-bench],[do not compile benchmarks (default is to compile)]), | AS_HELP_STRING([--disable-bench],[do not compile benchmarks (default is to compile)]), | ||||
[use_bench=$enableval], | [use_bench=$enableval], | ||||
[use_bench=yes]) | [use_bench=yes]) | ||||
AC_ARG_ENABLE([extended-functional-tests], | AC_ARG_ENABLE([extended-functional-tests], | ||||
AS_HELP_STRING([--enable-extended-functional-tests],[enable expensive functional tests when using lcov (default no)]), | AS_HELP_STRING([--enable-extended-functional-tests],[enable expensive functional tests when using lcov (default no)]), | ||||
[use_extended_functional_tests=$enableval], | [use_extended_functional_tests=$enableval], | ||||
▲ Show 20 Lines • Show All 847 Lines • ▼ Show 20 Lines | |||||
save_CXXFLAGS="${CXXFLAGS}" | save_CXXFLAGS="${CXXFLAGS}" | ||||
CXXFLAGS="${CXXFLAGS} ${CRYPTO_CFLAGS} ${SSL_CFLAGS}" | CXXFLAGS="${CXXFLAGS} ${CRYPTO_CFLAGS} ${SSL_CFLAGS}" | ||||
AC_CHECK_DECLS([EVP_MD_CTX_new],,,[AC_INCLUDES_DEFAULT | AC_CHECK_DECLS([EVP_MD_CTX_new],,,[AC_INCLUDES_DEFAULT | ||||
#include <openssl/x509_vfy.h> | #include <openssl/x509_vfy.h> | ||||
]) | ]) | ||||
CXXFLAGS="${save_CXXFLAGS}" | CXXFLAGS="${save_CXXFLAGS}" | ||||
dnl RapidCheck Property Based Testing | |||||
enable_property_tests=no | |||||
if test "x$use_rapidcheck" = xauto; then | |||||
AC_CHECK_HEADERS([rapidcheck.h], [enable_property_tests=yes]) | |||||
elif test "x$use_rapidcheck" != xno; then | |||||
enable_property_tests=yes | |||||
fi | |||||
RAPIDCHECK_LIBS= | |||||
if test "x$enable_property_tests" = xyes; then | |||||
RAPIDCHECK_LIBS=-lrapidcheck | |||||
fi | |||||
AC_SUBST(RAPIDCHECK_LIBS) | |||||
AM_CONDITIONAL([ENABLE_PROPERTY_TESTS], [test x$enable_property_tests = xyes]) | |||||
dnl univalue check | dnl univalue check | ||||
need_bundled_univalue=yes | need_bundled_univalue=yes | ||||
if test x$build_bitcoin_utils$build_bitcoind$bitcoin_enable_qt$use_tests$use_bench = xnonononono; then | if test x$build_bitcoin_utils$build_bitcoind$bitcoin_enable_qt$use_tests$use_bench = xnonononono; then | ||||
need_bundled_univalue=no | need_bundled_univalue=no | ||||
else | else | ||||
▲ Show 20 Lines • Show All 340 Lines • Show Last 20 Lines |