From dead12efdddec9a7de68d88a8aba68d630040e04 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sun, 24 Mar 2013 14:46:26 +0100 Subject: [PATCH] don't claim that we are looking for exactly bdb 4.2 --- configure.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 3e074bf..80ad75b 100644 --- a/configure.in +++ b/configure.in @@ -76,7 +76,7 @@ if test "x$ob_cv_with_ssl" != xno; then fi AC_SUBST(SSL_LIBS) -AC_CACHE_CHECK([for Berkley DB 4.2], ac_cv_berkdb4, +AC_CACHE_CHECK([for Berkley DB >= 4.2], ac_cv_berkdb4, [ac_cv_berkdb4=no AC_TRY_LINK([#include ], [DB *db; @@ -84,8 +84,7 @@ AC_CACHE_CHECK([for Berkley DB 4.2], ac_cv_berkdb4, db->open(db, 0, "foo", "foo", DB_HASH, DB_CREATE, 0)], [ac_cv_berkdb4=yes])]) if test "x$ac_cv_berkdb4" = xno; then - AC_MSG_ERROR([Berkley DB 4.2 not found. -You must install libdb4.2 including the respective development files/headers.]) + AC_MSG_ERROR([Berkley DB >= 4.2 not found.]) fi AC_ARG_ENABLE(compat,