---- php-5.3.17/ext/dba/config.m4.orig 2016-01-13 10:20:20.966367491 +0000
-+++ php-5.3.17/ext/dba/config.m4 2016-01-13 10:23:13.085367491 +0000
-@@ -326,6 +326,14 @@
+--- php-5.6.17/ext/dba/config.m4~ 2016-01-11 00:04:19.000000000 +0200
++++ php-5.6.17/ext/dba/config.m4 2016-01-11 00:05:56.899471849 +0200
+@@ -287,6 +287,14 @@
THIS_PREFIX=$i
- THIS_INCLUDE=$i/include/db5.3/db.h
+ THIS_INCLUDE=$i/db4/db.h
break
+ elif test -f "$i/include/db5.3/db.h"; then
+ THIS_PREFIX=$i
elif test -f "$i/include/db5.1/db.h"; then
THIS_PREFIX=$i
THIS_INCLUDE=$i/include/db5.1/db.h
-@@ -368,7 +376,7 @@
+@@ -376,7 +376,7 @@
break
fi
done