From 71c8f49ca4b86527bc43bbff64a44ef36f938687 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 26 Oct 2010 11:29:17 +0300 Subject: [PATCH] Fix BDB version check in configure to work with >= 5 too --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 44c8472e6..6fcffdb9e 100644 --- a/configure.ac +++ b/configure.ac @@ -315,7 +315,7 @@ yes ) AC_CHECK_HEADERS([db.h],[ AC_PREPROC_IFELSE([ #include - #if !(DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 5) + #if ((DB_VERSION_MAJOR < 4) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 5)) #error Berkeley DB too old #endif ],[ WITH_DB_LIB=-ldb ],