Fix BDB version check in configure to work with >= 5 too

This commit is contained in:
Panu Matilainen 2010-10-26 11:29:17 +03:00
parent a40598b228
commit 71c8f49ca4
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ yes )
AC_CHECK_HEADERS([db.h],[
AC_PREPROC_IFELSE([
#include <db.h>
#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 ],