diff options
author | Marcus Boerger <helly@php.net> | 2007-12-06 14:01:49 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2007-12-06 14:01:49 +0000 |
commit | d309efd945f9fa13c30554bfe3037c7464b1216e (patch) | |
tree | 08906594eeaf3c408980a3a702c8229c7ef0693e /ext | |
parent | 1f623c4965783574cd128864d30d8c5dd0a0d6b9 (diff) | |
download | php-git-d309efd945f9fa13c30554bfe3037c7464b1216e.tar.gz |
- More about 4.6
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dba/config.m4 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/dba/config.m4 b/ext/dba/config.m4 index 21bb1585c9..66976481b0 100644 --- a/ext/dba/config.m4 +++ b/ext/dba/config.m4 @@ -274,11 +274,16 @@ AC_DEFUN([PHP_DBA_DB_CHECK],[ # DB4 if test "$PHP_DB4" != "no"; then PHP_DBA_STD_BEGIN - for i in $PHP_DB4 /usr/local/BerkeleyDB.4.2 /usr/local/BerkeleyDB.4.1 /usr/local/BerkeleyDB.4.0 /usr/local /usr; do + dbdp="/usr/local/BerkeleyDB.4." + for i in $PHP_DB4 ${dbdp}6 ${dbdp}5 ${dbdp}4 ${dbdp}3 ${dbdp}2 ${dbdp}1 ${dbdp}0 /usr/local /usr; do if test -f "$i/db4/db.h"; then THIS_PREFIX=$i THIS_INCLUDE=$i/db4/db.h break + elif test -f "$i/include/db4.6/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db4.6/db.h + break elif test -f "$i/include/db4.5/db.h"; then THIS_PREFIX=$i THIS_INCLUDE=$i/include/db4.5/db.h |