build: fix configuring with --without-experimental-kernel-lib

Fixes #25994.
pull/26003/head
fanquake 2 years ago
parent 604015ac79
commit e531e34b41
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

@ -1695,11 +1695,12 @@ AM_CONDITIONAL([BUILD_BITCOIN_UTIL], [test $build_bitcoin_util = "yes"])
AC_MSG_RESULT($build_bitcoin_util) AC_MSG_RESULT($build_bitcoin_util)
AC_MSG_CHECKING([whether to build experimental bitcoin-chainstate]) AC_MSG_CHECKING([whether to build experimental bitcoin-chainstate])
if test "$build_experimental_kernel_lib" = "no"; then if test "$build_bitcoin_chainstate" = "yes"; then
AC_MSG_ERROR([experimental bitcoin-chainstate cannot be built without the experimental bitcoinkernel library. Use --with-experimental-kernel-lib]); if test "$build_experimental_kernel_lib" = "no"; then
else AC_MSG_ERROR([experimental bitcoin-chainstate cannot be built without the experimental bitcoinkernel library. Use --with-experimental-kernel-lib]);
AM_CONDITIONAL([BUILD_BITCOIN_CHAINSTATE], [test $build_bitcoin_chainstate = "yes"]) fi
fi fi
AM_CONDITIONAL([BUILD_BITCOIN_CHAINSTATE], [test $build_bitcoin_chainstate = "yes"])
AC_MSG_RESULT($build_bitcoin_chainstate) AC_MSG_RESULT($build_bitcoin_chainstate)
AC_MSG_CHECKING([whether to build libraries]) AC_MSG_CHECKING([whether to build libraries])

Loading…
Cancel
Save