diff options
author | fanquake <fanquake@gmail.com> | 2022-09-10 10:22:14 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-09-10 10:24:29 +0100 |
commit | 2e34374bf3e12b37b0c66824a6c998073cdfab01 (patch) | |
tree | faf472485ead6d19027050c0d930ea07ca337735 | |
parent | bb378b6ccdd3804fe38640356e8a27de549c50af (diff) | |
parent | e531e34b4146792fb61e178c5a1370ab223e9c3a (diff) | |
download | bitcoin-2e34374bf3e12b37b0c66824a6c998073cdfab01.tar.xz |
Merge bitcoin/bitcoin#26003: build: fix configuring with `--without-experimental-kernel-lib`
e531e34b4146792fb61e178c5a1370ab223e9c3a build: fix configuring with --without-experimental-kernel-lib (fanquake)
Pull request description:
Fixes #25994.
ACKs for top commit:
Rspigler:
tACK e531e34b4146792fb61e178c5a1370ab223e9c3a
ryanofsky:
Code review ACK e531e34b4146792fb61e178c5a1370ab223e9c3a
Tree-SHA512: 029b58ec02aef2b96d3300085db8fce7653720482c65a1af6a2fb729b0546515579d2bb4676ceb2796ac12d5ccc4224f3990852bd68bcc9a59bb9b310976224f
-rw-r--r-- | configure.ac | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 1752fda344..1405adf702 100644 --- a/configure.ac +++ b/configure.ac @@ -1695,11 +1695,12 @@ AM_CONDITIONAL([BUILD_BITCOIN_UTIL], [test $build_bitcoin_util = "yes"]) AC_MSG_RESULT($build_bitcoin_util) AC_MSG_CHECKING([whether to build experimental bitcoin-chainstate]) -if test "$build_experimental_kernel_lib" = "no"; then -AC_MSG_ERROR([experimental bitcoin-chainstate cannot be built without the experimental bitcoinkernel library. Use --with-experimental-kernel-lib]); -else - AM_CONDITIONAL([BUILD_BITCOIN_CHAINSTATE], [test $build_bitcoin_chainstate = "yes"]) +if test "$build_bitcoin_chainstate" = "yes"; then + if test "$build_experimental_kernel_lib" = "no"; then + AC_MSG_ERROR([experimental bitcoin-chainstate cannot be built without the experimental bitcoinkernel library. Use --with-experimental-kernel-lib]); + fi fi +AM_CONDITIONAL([BUILD_BITCOIN_CHAINSTATE], [test $build_bitcoin_chainstate = "yes"]) AC_MSG_RESULT($build_bitcoin_chainstate) AC_MSG_CHECKING([whether to build libraries]) |