Merge #8492: configure: Allow building bench_bitcoin by itself

216d796 configure: Allow building bench_bitcoin by itself (Luke Dashjr)
This commit is contained in:
Wladimir J. van der Laan 2016-08-13 15:11:01 +02:00 committed by Alexander Block
parent 82336d8184
commit 7dafb5303e

View File

@ -1022,8 +1022,8 @@ else
AC_MSG_RESULT([no])
fi
if test x$build_bitcoin_utils$build_bitcoin_libs$build_bitcoind$bitcoin_enable_qt$use_tests = xnonononono; then
AC_MSG_ERROR([No targets! Please specify at least one of: --with-utils --with-libs --with-daemon --with-gui or --enable-tests])
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-gui --enable-bench or --enable-tests])
fi
AM_CONDITIONAL([TARGET_DARWIN], [test x$TARGET_OS = xdarwin])