|
|
|
@ -610,6 +610,12 @@ AC_ARG_WITH([utils],
@@ -610,6 +610,12 @@ AC_ARG_WITH([utils],
|
|
|
|
|
[build_bitcoin_utils=$withval], |
|
|
|
|
[build_bitcoin_utils=yes]) |
|
|
|
|
|
|
|
|
|
AC_ARG_WITH([libs], |
|
|
|
|
[AS_HELP_STRING([--with-libs], |
|
|
|
|
[build libraries (default=yes)])], |
|
|
|
|
[build_bitcoin_libs=$withval], |
|
|
|
|
[build_bitcoin_libs=yes]) |
|
|
|
|
|
|
|
|
|
AC_ARG_WITH([daemon], |
|
|
|
|
[AS_HELP_STRING([--with-daemon], |
|
|
|
|
[build bitcoind daemon (default=yes)])], |
|
|
|
@ -660,6 +666,13 @@ AC_MSG_CHECKING([whether to build utils (bitcoin-cli bitcoin-tx)])
@@ -660,6 +666,13 @@ AC_MSG_CHECKING([whether to build utils (bitcoin-cli bitcoin-tx)])
|
|
|
|
|
AM_CONDITIONAL([BUILD_BITCOIN_UTILS], [test x$build_bitcoin_utils = xyes]) |
|
|
|
|
AC_MSG_RESULT($build_bitcoin_utils) |
|
|
|
|
|
|
|
|
|
AC_MSG_CHECKING([whether to build libraries]) |
|
|
|
|
AM_CONDITIONAL([BUILD_BITCOIN_LIBS], [test x$build_bitcoin_libs = xyes]) |
|
|
|
|
if test x$build_bitcoin_libs = xyes; then |
|
|
|
|
AC_DEFINE(HAVE_CONSENSUS_LIB, 1, [Define this symbol if the consensus lib has been built]) |
|
|
|
|
fi |
|
|
|
|
AC_MSG_RESULT($build_bitcoin_libs) |
|
|
|
|
|
|
|
|
|
dnl sets $bitcoin_enable_qt, $bitcoin_enable_qt_test, $bitcoin_enable_qt_dbus |
|
|
|
|
BITCOIN_QT_CONFIGURE([$use_pkgconfig], [qt4]) |
|
|
|
|
|
|
|
|
@ -776,8 +789,8 @@ else
@@ -776,8 +789,8 @@ else
|
|
|
|
|
AC_MSG_RESULT([no]) |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if test x$build_bitcoin_utils$build_bitcoind$bitcoin_enable_qt$use_tests = xnononono; then |
|
|
|
|
AC_MSG_ERROR([No targets! Please specify at least one of: --with-utils --with-daemon --with-gui or --enable-tests]) |
|
|
|
|
if test x$build_bitcoin_utils$build_bitcoin_libs$build_bitcoind$bitcoin_enable_qt$use_tests = xnononono; then |
|
|
|
|
AC_MSG_ERROR([No targets! Please specify at least one of: --with-utils --with-libs --with-daemon --with-gui or --enable-tests]) |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
AM_CONDITIONAL([TARGET_DARWIN], [test x$TARGET_OS = xdarwin]) |
|
|
|
|