--- php-5.3.16/ext/dba/config.m4.orig 2012-09-06 11:15:09.743002303 +0200 +++ php-5.3.16/ext/dba/config.m4 2012-09-06 11:28:12.192974701 +0200 @@ -287,6 +287,14 @@ THIS_PREFIX=$i THIS_INCLUDE=$i/db4/db.h break + elif test -f "$i/include/db5.3/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db5.3/db.h + break + elif test -f "$i/include/db5.2/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db5.2/db.h + break elif test -f "$i/include/db5.1/db.h"; then THIS_PREFIX=$i THIS_INCLUDE=$i/include/db5.1/db.h