Skip to content

Commit 982e548

Browse files
committed
Don't set BDB flags when configuring without
1 parent 31c9987 commit 982e548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ case $host in
643643

644644
bdb_prefix=$($BREW --prefix berkeley-db4 2>/dev/null)
645645
qt5_prefix=$($BREW --prefix qt5 2>/dev/null)
646-
if test x$bdb_prefix != x && test "x$BDB_CFLAGS" = "x" && test "x$BDB_LIBS" = "x"; then
646+
if test x$bdb_prefix != x && test "x$BDB_CFLAGS" = "x" && test "x$BDB_LIBS" = "x" && test "$use_bdb" != "no"; then
647647
dnl This must precede the call to BITCOIN_FIND_BDB48 below.
648648
BDB_CFLAGS="-I$bdb_prefix/include"
649649
BDB_LIBS="-L$bdb_prefix/lib -ldb_cxx-4.8"

0 commit comments

Comments
 (0)