File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -446,6 +446,8 @@ if test x$boost_sleep != xyes; then
446
446
AC_MSG_ERROR ( No working boost sleep implementation found. If on ubuntu 13.10 with libboost1.54-all-dev remove libboost.1.54-all-dev and use libboost1.53-all-dev )
447
447
fi
448
448
449
+ build_bitcoind=yes
450
+ build_bitcoin_cli=yes
449
451
BITCOIN_QT_INIT
450
452
451
453
if test x$use_pkgconfig = xyes; then
482
484
483
485
BITCOIN_QT_PATH_PROGS([ PROTOC] , [ protoc] ,$protoc_bin_path)
484
486
487
+ AC_MSG_CHECKING ( [ if bitcoind should be enabled] )
488
+ AM_CONDITIONAL([ BUILD_BITCOIND] , [ test x$build_bitcoind = xyes] )
489
+ AC_MSG_RESULT ( $build_bitcoind )
490
+
491
+ AC_MSG_CHECKING ( [ if bitcoin-cli should be enabled] )
492
+ AM_CONDITIONAL([ BUILD_BITCOIN_CLI] , [ test x$build_bitcoin_cli = xyes] )
493
+ AC_MSG_RESULT ( $build_bitcoin_cli )
494
+
485
495
dnl sets $bitcoin_enable_qt, $bitcoin_enable_qt_test, $bitcoin_enable_qt_dbus
486
496
BITCOIN_QT_CONFIGURE([ $use_pkgconfig] , [ qt4] )
487
497
Original file line number Diff line number Diff line change @@ -10,7 +10,15 @@ if ENABLE_WALLET
10
10
noinst_LIBRARIES += libbitcoin_wallet.a
11
11
endif
12
12
13
- bin_PROGRAMS = bitcoind bitcoin-cli
13
+ bin_PROGRAMS =
14
+
15
+ if BUILD_BITCOIND
16
+ bin_PROGRAMS += bitcoind
17
+ endif
18
+
19
+ if BUILD_BITCOIN_CLI
20
+ bin_PROGRAMS += bitcoin-cli
21
+ endif
14
22
15
23
SUBDIRS = . $(BUILD_QT ) $(BUILD_TEST )
16
24
DIST_SUBDIRS = . qt test
You can’t perform that action at this time.
0 commit comments