cvs: php4(PHP_4_3) /ext/dba config.m4

From: Date: Tue, 13 May 2003 20:39:08 +0000
Subject: cvs: php4(PHP_4_3) /ext/dba config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20869@lists.php.net to get a copy of this message
helly Tue May 13 16:39:08 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/dba config.m4 Log: MFH: Fix this test Index: php4/ext/dba/config.m4 diff -u php4/ext/dba/config.m4:1.29.2.15 php4/ext/dba/config.m4:1.29.2.16 --- php4/ext/dba/config.m4:1.29.2.15 Sun Apr 13 16:16:14 2003 +++ php4/ext/dba/config.m4 Tue May 13 16:39:08 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.29.2.15 2003/04/13 20:16:14 helly Exp $ +dnl $Id: config.m4,v 1.29.2.16 2003/05/13 20:39:08 helly Exp $ dnl dnl Suppose we need FlatFile if no support or only CDB is used. @@ -140,6 +140,7 @@ AC_CHECK_LIB($LIB, $3, [ AC_EGREP_CPP(yes,[ #include "$THIS_INCLUDE" +#if DB_VERSION_MAJOR == $1 yes #endif ],[ @@ -150,6 +151,10 @@ ]) fi done + if test -z "$THIS_LIBS"; then + AC_MSG_CHECKING(for db$1 major version) + AC_MSG_ERROR(Header contains different version) + fi if test "$1" = "4"; then AC_MSG_CHECKING(for db4 minor version and patch level) AC_EGREP_CPP(yes,[

« previous php.cvs (#20869) next »