[PATCH] use bdb automatically
moin,
as from the configure sources no reason becomes apparent why bdb should
not be automatically used, but it still isn't, the attached patch fixes
this behavior.
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
diff -r c15eeb44f139 configure.ac
--- a/configure.ac Thu Oct 11 12:10:49 2007 +0200
+++ b/configure.ac Sat Oct 13 14:15:15 2007 +0200
@@ -893,7 +893,7 @@ then
dnl -- BDB --
ac_bdb_prefix="$with_bdb"
if test x$ac_bdb_prefix != xno && test x$ac_cv_gdbmopen != xyes && test
$use_qdbm != yes; then
- test x$ac_bdb_prefix = xyes && ac_bdb_prefix="$mutt_cv_prefix
/opt/csw/bdb4 /opt /usr/local /usr"
+ { test x$ac_bdb_prefix = xyes || test x$ac_bdb_prefix = x; } &&
ac_bdb_prefix="$mutt_cv_prefix /opt/csw/bdb4 /opt /usr/local /usr"
for d in $ac_bdb_prefix; do
bdbpfx="$bdbpfx $d"
for v in BerkeleyDB.4.3 BerkeleyDB.4.2 BerkeleyDB.4.1; do