Bugfix: configure: Correctly detect "nothing to build" condition

This commit is contained in:
Luke Dashjr 2015-01-07 20:19:56 +00:00
parent b7a4ecc153
commit 2ecd2941ed

View File

@ -839,7 +839,7 @@ else
AC_MSG_RESULT([no])
fi
if test x$build_bitcoin_utils$build_bitcoin_libs$build_bitcoind$bitcoin_enable_qt$use_tests = xnononono; then
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])
fi