helly Fri Jan 31 15:07:23 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/dba config.m4 Log: MFH: Shared dba requires at least db-3.3 Index: php4/ext/dba/config.m4 diff -u php4/ext/dba/config.m4:1.29.2.9 php4/ext/dba/config.m4:1.29.2.10 --- php4/ext/dba/config.m4:1.29.2.9 Thu Jan 30 16:38:15 2003 +++ php4/ext/dba/config.m4 Fri Jan 31 15:07:23 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.29.2.9 2003/01/30 21:38:15 helly Exp $ +dnl $Id: config.m4,v 1.29.2.10 2003/01/31 20:07:23 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
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php