View | Details | Raw Unified | Return to bug 160197
Collapse All | Expand All

(-)files/patch-config.m4 (-3 / +16 lines)
Lines 1-9 Link Here
1
--- config.m4.orig	2010-12-01 20:20:16.000000000 +0100
1
--- config.m4.orig	2011-06-28 04:28:30.000000000 +0800
2
+++ config.m4	2011-02-08 11:40:04.000000000 +0100
2
+++ config.m4	2011-08-26 12:01:34.328413280 +0800
3
@@ -285,6 +285,46 @@
3
@@ -285,6 +285,50 @@
4
       THIS_PREFIX=$i
4
       THIS_PREFIX=$i
5
       THIS_INCLUDE=$i/db4/db.h
5
       THIS_INCLUDE=$i/db4/db.h
6
       break
6
       break
7
+    elif test -f "$i/include/db5/db.h"; then
8
+      THIS_PREFIX=$i
9
+      THIS_INCLUDE=$i/include/db5/db.h
10
+      break
7
+    elif test -f "$i/include/db51/db.h"; then
11
+    elif test -f "$i/include/db51/db.h"; then
8
+      THIS_PREFIX=$i
12
+      THIS_PREFIX=$i
9
+      THIS_INCLUDE=$i/include/db51/db.h
13
+      THIS_INCLUDE=$i/include/db51/db.h
Lines 47-49 Link Here
47
     elif test -f "$i/include/db5.1/db.h"; then
51
     elif test -f "$i/include/db5.1/db.h"; then
48
       THIS_PREFIX=$i
52
       THIS_PREFIX=$i
49
       THIS_INCLUDE=$i/include/db5.1/db.h
53
       THIS_INCLUDE=$i/include/db5.1/db.h
54
@@ -327,7 +371,7 @@
55
       break
56
     fi
57
   done
58
-  PHP_DBA_DB_CHECK(4, 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)])
59
+  PHP_DBA_DB_CHECK(4, 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)])
60
 fi
61
 PHP_DBA_STD_RESULT(db4,Berkeley DB4)
62
 

Return to bug 160197