From 2725e4d426f80dc79071c0280e1809c84aa2fa4d Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Thu, 7 Apr 2011 23:34:27 -0700 Subject: [PATCH 1/1] Allow db4 backend to compile with later versions of Berkeley DB db5 is compatible with db4 at an API level, so look for >= v4 rather than = v4 in our configure script. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 746d9e6..f382143 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ AC_MSG_CHECKING(for libdb version in db.h) printf "#include \nDB_VERSION_MAJOR DB_VERSION_MINOR\n" >conftest.c set `eval $ac_cpp conftest.c | egrep '^ *[[0-9]] *'`; v="$1"; vv="$2" AC_MSG_RESULT($v.$vv) -if test "$v" -eq 4; then +if test "$v" -ge 4; then for db in "db-$v.$vv" "db$v.$vv" "db-$v" "db$v" "db"; do AC_MSG_CHECKING(for db_create in lib$db) oldLIBS="$LIBS" -- 2.39.5