aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorRandolf Richardson <randolf@richardson.tw>2018-01-08 01:49:42 -0800
committerfanquake <fanquake@gmail.com>2018-01-29 21:15:51 +0800
commit336685e17ec774348ece079fbbd9ea91d8927b2a (patch)
treeb1e3b216b247000579eac3608c0c60219f03580f /build-aux
parent45173fa6fca9537abb0a0554f731d14b9f89c456 (diff)
[build] Add db4_cxx to bitcoin_find_bdb48.m4
Added "db4_cxx" as this is the name used in NetBSD for the Berkeley DB library. Without this additional base filename alternative, the "configure" script will fail to find this library and compilation will not succeed.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/m4/bitcoin_find_bdb48.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/m4/bitcoin_find_bdb48.m4 b/build-aux/m4/bitcoin_find_bdb48.m4
index b9bf7bf46e..ea9c795daa 100644
--- a/build-aux/m4/bitcoin_find_bdb48.m4
+++ b/build-aux/m4/bitcoin_find_bdb48.m4
@@ -64,7 +64,7 @@ AC_DEFUN([BITCOIN_FIND_BDB48],[
if test "x$BDB_LIBS" = "x"; then
# TODO: Ideally this could find the library version and make sure it matches the headers being used
- for searchlib in db_cxx-4.8 db_cxx; do
+ for searchlib in db_cxx-4.8 db_cxx db4_cxx; do
AC_CHECK_LIB([$searchlib],[main],[
BDB_LIBS="-l${searchlib}"
break