cvs: php4 /ext/dba config.m4
| From: | Dan Kalowsky | Date: | Wed, 11 Sep 2002 15:05:06 +0000 |
| Subject: | cvs: php4 /ext/dba config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14019@lists.php.net to get a copy of this message | ||
kalowsky Wed Sep 11 11:05:06 2002 EDT
Modified files:
/php4/ext/dba config.m4
Log:
Patch for Bug #19341 submitted by list@firehawksystems.com
Index: php4/ext/dba/config.m4
diff -u php4/ext/dba/config.m4:1.19 php4/ext/dba/config.m4:1.20
--- php4/ext/dba/config.m4:1.19 Thu Apr 18 08:30:18 2002
+++ php4/ext/dba/config.m4 Wed Sep 11 11:05:06 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.19 2002/04/18 12:30:18 derick Exp $
+dnl $Id: config.m4,v 1.20 2002/09/11 15:05:06 kalowsky Exp $
dnl
AC_DEFUN(PHP_TEMP_LDFLAGS,[
@@ -152,10 +152,19 @@
[ --with-db3[=DIR] Include Berkeley DB3 support],[
if test "$withval" != "no"; then
for i in /usr/local /usr /usr/local/BerkeleyDB.3.0 $withval; do
- if test -f "$i/include/db3/db.h"; then
+ if test -f "$i/db3/db.h"; then
+ THIS_PREFIX=$i
+ DB3_EXTRA=db3
+ elif test -f "$i/include/db3/db.h"; then
THIS_PREFIX=$i
DB3_EXTRA=db3/db.h
- elif test -f "$i/include/db.h" ; then
+ elif test -f "$i/include/db/db3.h"; then
+ THIS_PREFIX=$i
+ DB3_EXTRA=db/db3.h
+ elif test -f "$i/include/db3.h"; then
+ THIS_PREFIX=$i
+ DB3_EXTRA=db3.h
+ elif test -f "$i/include/db.h" ;
THIS_PREFIX=$i
DB3_EXTRA=db.h
fi