Changeset View
Changeset View
Standalone View
Standalone View
configure.ac
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | |||||
AC_PATH_PROG(XGETTEXT,xgettext) | AC_PATH_PROG(XGETTEXT,xgettext) | ||||
AC_PATH_PROG(HEXDUMP,hexdump) | AC_PATH_PROG(HEXDUMP,hexdump) | ||||
AC_PATH_TOOL(READELF, readelf) | AC_PATH_TOOL(READELF, readelf) | ||||
AC_PATH_TOOL(CPPFILT, c++filt) | AC_PATH_TOOL(CPPFILT, c++filt) | ||||
AC_PATH_TOOL(OBJCOPY, objcopy) | AC_PATH_TOOL(OBJCOPY, objcopy) | ||||
AC_ARG_VAR(PYTHONPATH, Augments the default search path for python module files) | AC_ARG_VAR(PYTHONPATH, Augments the default search path for python module files) | ||||
# Enable wallet | |||||
AC_ARG_ENABLE([wallet], | AC_ARG_ENABLE([wallet], | ||||
[AS_HELP_STRING([--disable-wallet], | [AS_HELP_STRING([--disable-wallet], | ||||
[disable wallet (enabled by default)])], | [disable wallet (enabled by default)])], | ||||
[enable_wallet=$enableval], | [enable_wallet=$enableval], | ||||
[enable_wallet=yes]) | [enable_wallet=yes]) | ||||
AC_ARG_WITH([miniupnpc], | AC_ARG_WITH([miniupnpc], | ||||
[AS_HELP_STRING([--with-miniupnpc], | [AS_HELP_STRING([--with-miniupnpc], | ||||
Show All 22 Lines | AC_ARG_ENABLE(bench, | ||||
[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], | ||||
[use_extended_functional_tests=no]) | [use_extended_functional_tests=no]) | ||||
AC_ARG_ENABLE([fuzz], | |||||
AS_HELP_STRING([--enable-fuzz],[enable building of fuzz targets (default no)]), | |||||
[enable_fuzz=$enableval], | |||||
[enable_fuzz=no]) | |||||
AC_ARG_WITH([qrencode], | AC_ARG_WITH([qrencode], | ||||
[AS_HELP_STRING([--with-qrencode], | [AS_HELP_STRING([--with-qrencode], | ||||
[enable QR code support (default is yes if qt is enabled and libqrencode is found)])], | [enable QR code support (default is yes if qt is enabled and libqrencode is found)])], | ||||
[use_qr=$withval], | [use_qr=$withval], | ||||
[use_qr=auto]) | [use_qr=auto]) | ||||
AC_ARG_ENABLE([hardening], | AC_ARG_ENABLE([hardening], | ||||
[AS_HELP_STRING([--disable-hardening], | [AS_HELP_STRING([--disable-hardening], | ||||
▲ Show 20 Lines • Show All 1,053 Lines • ▼ Show 20 Lines | if test x$build_bitcoin_utils$build_bitcoin_libs$build_bitcoind$bitcoin_enable_qt$use_bench$use_tests = xnononononono; then | ||||
AC_MSG_ERROR([No targets! Please specify at least one of: --with-utils --with-libs --with-daemon --with-seeder --with-gui --enable-bench or --enable-tests]) | AC_MSG_ERROR([No targets! Please specify at least one of: --with-utils --with-libs --with-daemon --with-seeder --with-gui --enable-bench or --enable-tests]) | ||||
fi | fi | ||||
AM_CONDITIONAL([TARGET_DARWIN], [test x$TARGET_OS = xdarwin]) | AM_CONDITIONAL([TARGET_DARWIN], [test x$TARGET_OS = xdarwin]) | ||||
AM_CONDITIONAL([BUILD_DARWIN], [test x$BUILD_OS = xdarwin]) | AM_CONDITIONAL([BUILD_DARWIN], [test x$BUILD_OS = xdarwin]) | ||||
AM_CONDITIONAL([TARGET_WINDOWS], [test x$TARGET_OS = xwindows]) | AM_CONDITIONAL([TARGET_WINDOWS], [test x$TARGET_OS = xwindows]) | ||||
AM_CONDITIONAL([ENABLE_WALLET],[test x$enable_wallet = xyes]) | AM_CONDITIONAL([ENABLE_WALLET],[test x$enable_wallet = xyes]) | ||||
AM_CONDITIONAL([ENABLE_TESTS],[test x$BUILD_TEST = xyes]) | AM_CONDITIONAL([ENABLE_TESTS],[test x$BUILD_TEST = xyes]) | ||||
AM_CONDITIONAL([ENABLE_FUZZ],[test x$enable_fuzz = xyes]) | |||||
AM_CONDITIONAL([ENABLE_QT],[test x$bitcoin_enable_qt = xyes]) | AM_CONDITIONAL([ENABLE_QT],[test x$bitcoin_enable_qt = xyes]) | ||||
AM_CONDITIONAL([ENABLE_QT_TESTS],[test x$BUILD_TEST_QT = xyes]) | AM_CONDITIONAL([ENABLE_QT_TESTS],[test x$BUILD_TEST_QT = xyes]) | ||||
AM_CONDITIONAL([ENABLE_BENCH],[test x$use_bench = xyes]) | AM_CONDITIONAL([ENABLE_BENCH],[test x$use_bench = xyes]) | ||||
AM_CONDITIONAL([USE_QRCODE], [test x$use_qr = xyes]) | AM_CONDITIONAL([USE_QRCODE], [test x$use_qr = xyes]) | ||||
AM_CONDITIONAL([USE_LCOV],[test x$use_lcov = xyes]) | AM_CONDITIONAL([USE_LCOV],[test x$use_lcov = xyes]) | ||||
AM_CONDITIONAL([GLIBC_BACK_COMPAT],[test x$use_glibc_compat = xyes]) | AM_CONDITIONAL([GLIBC_BACK_COMPAT],[test x$use_glibc_compat = xyes]) | ||||
AM_CONDITIONAL([HARDEN],[test x$use_hardening = xyes]) | AM_CONDITIONAL([HARDEN],[test x$use_hardening = xyes]) | ||||
AM_CONDITIONAL([ENABLE_HWCRC32],[test x$enable_hwcrc32 = xyes]) | AM_CONDITIONAL([ENABLE_HWCRC32],[test x$enable_hwcrc32 = xyes]) | ||||
▲ Show 20 Lines • Show All 118 Lines • ▼ Show 20 Lines | |||||
echo "Options used to compile and link:" | echo "Options used to compile and link:" | ||||
echo " with wallet = $enable_wallet" | echo " with wallet = $enable_wallet" | ||||
echo " with gui / qt = $bitcoin_enable_qt" | echo " with gui / qt = $bitcoin_enable_qt" | ||||
if test x$bitcoin_enable_qt != xno; then | if test x$bitcoin_enable_qt != xno; then | ||||
echo " with qr = $use_qr" | echo " with qr = $use_qr" | ||||
fi | fi | ||||
echo " with zmq = $use_zmq" | echo " with zmq = $use_zmq" | ||||
echo " with test = $use_tests" | echo " with test = $use_tests" | ||||
if test x$use_tests != xno; then | |||||
echo " with fuzz = $enable_fuzz" | |||||
fi | |||||
echo " with bench = $use_bench" | echo " with bench = $use_bench" | ||||
echo " with upnp = $use_upnp" | echo " with upnp = $use_upnp" | ||||
echo " use asm = $use_asm" | echo " use asm = $use_asm" | ||||
echo " sanitizers = $use_sanitizers" | echo " sanitizers = $use_sanitizers" | ||||
echo " debug enabled = $enable_debug" | echo " debug enabled = $enable_debug" | ||||
echo " werror = $enable_werror" | echo " werror = $enable_werror" | ||||
echo | echo | ||||
echo " target os = $TARGET_OS" | echo " target os = $TARGET_OS" | ||||
Show All 10 Lines |