1 --- php-4.2.3/ext/dba/config.m4.orig Thu Apr 18 14:31:19 2002
2 +++ php-4.2.3/ext/dba/config.m4 Tue Dec 24 14:28:32 2002
4 AC_MSG_CHECKING(for Berkeley DB3 support)
8 +[ --with-db4[=DIR] Include Berkeley DB4 support],[
9 + if test "$withval" != "no"; then
10 + for i in /usr/local /usr /usr/local/BerkeleyDB.4.1 $withval; do
11 + if test -f "$i/include/db.h" ; then
17 + if test -n "$DB4_EXTRA"; then
18 + AC_DEFINE_UNQUOTED(DB3_INCLUDE_FILE, "$DB4_EXTRA", [ ])
21 + for LIB in db db-4 db4; do
22 + PHP_TEMP_LDFLAGS(-L$THIS_PREFIX/lib,[
23 + AC_CHECK_LIB($LIB, db_create, [AC_DEFINE(DBA_DB3,1,[ ]) THIS_LIBS=$LIB])
32 +AC_MSG_CHECKING(for Berkeley DB4 support)
36 [ --with-dbm[=DIR] Include DBM support],[
37 if test "$withval" != "no"; then