From 415d9f50b28e7e9118acb9d5d47984670b3d8b03 Mon Sep 17 00:00:00 2001
From: Howard Chu <hyc@openldap.org>
Date: Thu, 16 Nov 2006 20:48:45 +0000
Subject: [PATCH] Reject BDB version 4.3; it is too unstable.

---
 build/openldap.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build/openldap.m4 b/build/openldap.m4
index 273a61c74f..daa0ebf6b8 100644
--- a/build/openldap.m4
+++ b/build/openldap.m4
@@ -691,8 +691,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 or later, but exclude 4.3 */
+#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 2) && (DB_VERSION_MINOR !=3)
 	__db_version_compat
 #endif
 	], [ol_cv_bdb_compat=yes], [ol_cv_bdb_compat=no])])
-- 
GitLab