Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

#19341 [NEW]: DBA config.m4 needs searching for db3 files like db2

0 views
Skip to first unread message

li...@firehawksystems.com

unread,
Sep 10, 2002, 12:48:00 PM9/10/02
to
From: li...@firehawksystems.com
Operating system: FreeBSD 4.3, but any unix
PHP version: 4.2.3
PHP Bug Type: *Configuration Issues
Bug description: DBA config.m4 needs searching for db3 files like db2

Here is a patch that adds searching for db3 files like it currently does
for db2.

Brian


+++ php-4.2.3/ext/dba/config.m4 Tue Sep 10 08:47:31 2002
--- php-4.2.3.org/ext/dba/config.m4 Mon Sep 9 14:33:18 2002
@@ -152,19 +152,7 @@
[ --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/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/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" ; then
- if test -f "$i/include/db.h" ; then
THIS_PREFIX=$i
DB3_EXTRA=db.h
fi

--
Edit bug report at http://bugs.php.net/?id=19341&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19341&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19341&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19341&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19341&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19341&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19341&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19341&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19341&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19341&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19341&r=globals

0 new messages