cvs: php4 /ext/dba config.m4

From: Date: Tue, 13 May 2003 20:37:54 +0000
Subject: cvs: php4 /ext/dba config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20868@lists.php.net to get a copy of this message
helly Tue May 13 16:37:54 2003 EDT Modified files: /php4/ext/dba config.m4 Log: Fix this test Index: php4/ext/dba/config.m4 diff -u php4/ext/dba/config.m4:1.46 php4/ext/dba/config.m4:1.47 --- php4/ext/dba/config.m4:1.46 Tue Apr 1 05:16:12 2003 +++ php4/ext/dba/config.m4 Tue May 13 16:37:54 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.46 2003/04/01 10:16:12 sas Exp $ +dnl $Id: config.m4,v 1.47 2003/05/13 20:37:54 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 (#20868) next »