1 --- php-7.1.1/ext/dba/config.m4.orig 2017-01-17 21:44:40.000000000 +0100
2 +++ php-7.1.1/ext/dba/config.m4 2017-01-27 22:08:45.385645468 +0100
6 #include "$THIS_INCLUDE"
7 -#if DB_VERSION_MAJOR == $1 || ($1 == 4 && DB_VERSION_MAJOR == 5)
8 +#if DB_VERSION_MAJOR == $1 || ($1 == 4 && (DB_VERSION_MAJOR == 5 || DB_VERSION_MAJOR == 6))
14 THIS_INCLUDE=$i/db4/db.h
16 + elif test -f "$i/include/db6.2/db.h"; then
18 + THIS_INCLUDE=$i/include/db6.2/db.h
20 + elif test -f "$i/include/db6.1/db.h"; then
22 + THIS_INCLUDE=$i/include/db6.1/db.h
24 + elif test -f "$i/include/db6.0/db.h"; then
26 + THIS_INCLUDE=$i/include/db6.0/db.h
28 elif test -f "$i/include/db5.3/db.h"; then
30 THIS_INCLUDE=$i/include/db5.3/db.h
32 + elif test -f "$i/include/db5.2/db.h"; then
34 + THIS_INCLUDE=$i/include/db5.2/db.h
36 elif test -f "$i/include/db5.1/db.h"; then
38 THIS_INCLUDE=$i/include/db5.1/db.h
43 - PHP_DBA_DB_CHECK(4, db-5.3 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)])
44 + PHP_DBA_DB_CHECK(4, db-6.2 db-6.1 db-6.0 db-5.3 db-5.2 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)])
46 PHP_DBA_STD_RESULT(db4,Berkeley DB4)