Fix BDB version check in configure to work with >= 5 too
This commit is contained in:
parent
a40598b228
commit
71c8f49ca4
|
@ -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 ],
|
||||
|
|
Loading…
Reference in New Issue