]> git.sur5r.net Git - openldap/commitdiff
Reject BDB 4.6 or newer
authorHoward Chu <hyc@openldap.org>
Fri, 5 Oct 2007 17:33:02 +0000 (17:33 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 5 Oct 2007 17:33:02 +0000 (17:33 +0000)
build/openldap.m4

index ecdbb0b5c92e82fed4a37d22dc8e70f9d9b6ca1b..5e08190e5ca8ec354e19ee2edb4ad7fe2ffb6e7b 100644 (file)
@@ -696,8 +696,8 @@ AC_DEFUN([OL_BDB_COMPAT],
 #      define DB_VERSION_MINOR 0
 #endif
 
-/* require 4.2 or later */
-#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 2)
+/* require 4.2-4.5 */
+#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 2) && (DB_VERSION_MINOR < 6)
        __db_version_compat
 #endif
        ], [ol_cv_bdb_compat=yes], [ol_cv_bdb_compat=no])])