cvs: php4 /ext/db config.m4

From: Date: Tue, 15 May 2001 01:50:48 +0000
Subject: cvs: php4 /ext/db config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5749@lists.php.net to get a copy of this message
sniper Mon May 14 18:50:48 2001 EDT Modified files: /php4/ext/db config.m4 Log: Fix bug: #5418 Index: php4/ext/db/config.m4 diff -u php4/ext/db/config.m4:1.10 php4/ext/db/config.m4:1.11 --- php4/ext/db/config.m4:1.10 Sat May 12 04:08:48 2001 +++ php4/ext/db/config.m4 Mon May 14 18:50:46 2001 @@ -1,4 +1,4 @@ -dnl $Id: config.m4,v 1.10 2001/05/12 11:08:48 sas Exp $ +dnl $Id: config.m4,v 1.11 2001/05/15 01:50:46 sniper Exp $ dnl config.m4 for extension db dnl don't forget to call PHP_EXTENSION(db) @@ -7,10 +7,13 @@ # Prefer gdbm, Berkeley DB and ndbm/dbm, in that order AC_DEFUN(AC_PREFERRED_DB_LIB,[ AC_CHECK_LIB(gdbm, gdbm_open,[AC_DEFINE(GDBM,1, [Whether you have GDBM]) DBM_TYPE=gdbm; DBM_LIB=-lgdbm], - [AC_CHECK_LIB(db, dbm_open,[AC_DEFINE(NDBM,1, [Whether you have NDBM]) DBM_TYPE=ndbm; DBM_LIB=-ldb], - [AC_CHECK_LIB(c, dbm_open,[AC_DEFINE(NDBM,1,[ ]) DBM_TYPE=ndbm; DBM_LIB=], - [AC_CHECK_LIB(dbm, dbm_open,[AC_DEFINE(NDBM,1,[ ]) DBM_TYPE=ndbm; DBM_LIB=-ldbm], - [DBM_TYPE=""])])])]) + [AC_CHECK_LIB(c, dbm_open,[AC_DEFINE(NDBM,1,[ ]) DBM_TYPE=ndbm; DBM_LIB=], + [AC_CHECK_LIB(dbm, dbm_open,[AC_DEFINE(NDBM,1,[ ]) DBM_TYPE=ndbm; DBM_LIB=-ldbm], + [AC_CHECK_LIB(db, dbm_open,[AC_DEFINE(NDBM,1, [Whether you have NDBM]) DBM_TYPE=ndbm; DBM_LIB=-ldb], + [DBM_TYPE=""]) + ]) + ]) + ]) AC_MSG_CHECKING([preferred dbm library]) if test "a$DBM_TYPE" = a; then AC_MSG_RESULT(none found)

« previous php.cvs (#5749) next »