diff options
author | Christopher Jones <sixd@php.net> | 2010-12-01 19:20:16 +0000 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2010-12-01 19:20:16 +0000 |
commit | 2024790fd2eff931e98ea8ee9799a900f6522b58 (patch) | |
tree | 3770b661a0a4725967ca848a7dea0e5e42f53cf1 /ext/dba | |
parent | d506ce8d941f9edd74fdde954decd1fe7c56086a (diff) | |
download | php-git-2024790fd2eff931e98ea8ee9799a900f6522b58.tar.gz |
Add Berkeley DB 5.1 support to the DBA extension
Diffstat (limited to 'ext/dba')
-rw-r--r-- | ext/dba/config.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/config.m4 b/ext/dba/config.m4 index ff98a1cc05..f0d9d29014 100644 --- a/ext/dba/config.m4 +++ b/ext/dba/config.m4 @@ -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 ],[ |