cvs: php4 /ext/dba config.m4
| From: | Marcus Boerger | Date: | Fri, 31 Jan 2003 20:06:44 +0000 |
| Subject: | cvs: php4 /ext/dba config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18338@lists.php.net to get a copy of this message | ||
helly Fri Jan 31 15:06:44 2003 EDT
Modified files:
/php4/ext/dba config.m4
Log:
Shared dba requires at least db-3.3
Index: php4/ext/dba/config.m4
diff -u php4/ext/dba/config.m4:1.40 php4/ext/dba/config.m4:1.41
--- php4/ext/dba/config.m4:1.40 Thu Jan 30 16:36:05 2003
+++ php4/ext/dba/config.m4 Fri Jan 31 15:06:44 2003
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.40 2003/01/30 21:36:05 helly Exp $
+dnl $Id: config.m4,v 1.41 2003/01/31 20:06:44 helly Exp $
dnl
dnl Suppose we need FlatFile if no support or only CDB is used.
@@ -165,6 +165,19 @@
AC_MSG_RESULT(ok)
],[
AC_MSG_ERROR(Version 4.1 requires patch level 25)
+ ])
+ fi
+ if test "$ext_shared" = "yes"; then
+ AC_MSG_CHECKING(if db can be used as shared extension)
+ AC_EGREP_CPP(yes,[
+#include "$THIS_INCLUDE"
+#if DB_VERSION_MAJOR > 3 || (DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR > 2)
+ yes
+#endif
+ ],[
+ AC_MSG_RESULT(yes)
+ ],[
+ AC_MSG_ERROR(At least version 3.3 is required)
])
fi
if test -n "$THIS_LIBS"; then