]> granicus.if.org Git - php/commitdiff
Add Berkeley DB 5.1 support to the DBA extension
authorChristopher Jones <sixd@php.net>
Wed, 1 Dec 2010 19:20:16 +0000 (19:20 +0000)
committerChristopher Jones <sixd@php.net>
Wed, 1 Dec 2010 19:20:16 +0000 (19:20 +0000)
NEWS
ext/dba/config.m4

diff --git a/NEWS b/NEWS
index eb51f452018ac516bafd8ee469610cf99ab097fc..7b41dd80815904d35fcb969817aa5d3637d0ac1a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,9 @@
     (Gustavo, Ilia)
   . Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted). (Ilia)
 
+- DBA extension:
+  . Added Berkeley DB 5.1 support to the DBA extension. (Oracle Corp.)
+
 - DOM extension:
   . Fixed bug #52656 (DOMCdataSection does not work with splitText). (Ilia)
 
index ff98a1cc05a508bec18f4bcb00352de9e625cbe0..f0d9d29014018d5f80b2bb08aef725906596391f 100644 (file)
@@ -233,7 +233,7 @@ AC_DEFUN([PHP_DBA_DB_CHECK],[
     AC_MSG_CHECKING([for DB4 minor version and patch level])
     AC_EGREP_CPP(yes,[
 #include "$THIS_INCLUDE"
-#if DB_VERSION_MINOR != 1 || (DB_VERSION_MINOR == 1 && DB_VERSION_PATCH >= 25)
+#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR != 1) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 1 && DB_VERSION_PATCH >= 25)
       yes
 #endif
     ],[