File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -1321,9 +1321,11 @@ fi
1321
1321
1322
1322
if test x$enable_wallet != xno; then
1323
1323
dnl Check for libdb_cxx only if wallet enabled
1324
- BITCOIN_FIND_BDB48
1325
- if test x$suppress_external_warnings != xno ; then
1324
+ if test "x$use_bdb" != "xno"; then
1325
+ BITCOIN_FIND_BDB48
1326
+ if test x$suppress_external_warnings != xno ; then
1326
1327
BDB_CPPFLAGS=SUPPRESS_WARNINGS($BDB_CPPFLAGS)
1328
+ fi
1327
1329
fi
1328
1330
1329
1331
dnl Check for sqlite3
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ BASE_CACHE ?= $(BASEDIR)/built
34
34
SDK_PATH ?= $(BASEDIR ) /SDKs
35
35
NO_QT ?=
36
36
NO_QR ?=
37
+ NO_BDB ?=
38
+ NO_SQLITE ?=
37
39
NO_WALLET ?=
38
40
NO_ZMQ ?=
39
41
NO_UPNP ?=
@@ -221,6 +223,8 @@ $(host_prefix)/share/config.site : config.site.in $(host_prefix)/.stamp_$(final_
221
223
-e 's|@no_qr@|$(NO_QR)|' \
222
224
-e 's|@no_zmq@|$(NO_ZMQ)|' \
223
225
-e 's|@no_wallet@|$(NO_WALLET)|' \
226
+ -e 's|@no_bdb@|$(NO_BDB)|' \
227
+ -e 's|@no_sqlite@|$(NO_SQLITE)|' \
224
228
-e 's|@no_upnp@|$(NO_UPNP)|' \
225
229
-e 's|@no_natpmp@|$(NO_NATPMP)|' \
226
230
-e 's|@debug@|$(DEBUG)|' \
Original file line number Diff line number Diff line change @@ -35,6 +35,14 @@ if test -z "$enable_wallet" && test -n "@no_wallet@"; then
35
35
enable_wallet=no
36
36
fi
37
37
38
+ if test -z "$with_bdb" && test -n "@no_bdb@"; then
39
+ with_bdb=no
40
+ fi
41
+
42
+ if test -z "$with_sqlite" && test -n "@no_sqlite@"; then
43
+ with_sqlite=no
44
+ fi
45
+
38
46
if test -z "$with_miniupnpc" && test -n "@no_upnp@"; then
39
47
with_miniupnpc=no
40
48
fi
You can’t perform that action at this time.
0 commit comments