From 4c7323f69b4fddf928245e9db2d1c9ca9b277ef2 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Wed, 18 Dec 2019 17:42:31 +0100 Subject: [PATCH] Fix building with no BerkeleyDB support The configure script used to define BDB even if BerkeleyDB has been disabled. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index de6034c91..7a90b2f4c 100644 --- a/configure.ac +++ b/configure.ac @@ -544,11 +544,11 @@ AC_ARG_ENABLE([bdb], [enable_bdb="$enableval"], [enable_bdb=yes]) +have_bdb="no" AS_IF([test "x$enable_bdb" != "xno"], [ if [ test -x db/dist/configure ]; then have_bdb="internal" else - have_bdb="no" AC_CHECK_HEADERS([db.h],[ AC_PREPROC_IFELSE([ AC_LANG_SOURCE([