diff options
author | Dan Kalowsky <kalowsky@php.net> | 2002-09-11 15:05:06 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2002-09-11 15:05:06 +0000 |
commit | 6fe296aa69d49cda5e7261745cbe4c1a3a2485e1 (patch) | |
tree | 7f72a5449095ba07be0a943afb33a63a2de60c21 | |
parent | 746c14767018287fad1bfae69f44c037145b73b3 (diff) | |
download | php-git-6fe296aa69d49cda5e7261745cbe4c1a3a2485e1.tar.gz |
Patch for Bug #19341 submitted by list@firehawksystems.com
-rw-r--r-- | ext/dba/config.m4 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/ext/dba/config.m4 b/ext/dba/config.m4 index 16991752f1..d2364428ea 100644 --- a/ext/dba/config.m4 +++ b/ext/dba/config.m4 @@ -152,10 +152,19 @@ AC_ARG_WITH(db3, [ --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 |