From: Jukka Salmi Date: Thu, 5 Apr 2007 20:06:00 +0000 (-0700) Subject: Check for BDB4 libs in $lib as well as $lib/$ver (fixes pkgsrc BDB4 detection) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8cf692a1ce542e09e4016a7081925cc5a6849d38;p=neomutt Check for BDB4 libs in $lib as well as $lib/$ver (fixes pkgsrc BDB4 detection) --- diff --git a/ChangeLog b/ChangeLog index 271109f70..970d20abd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,12 @@ -2007-04-04 11:47 -0700 Brendan Cully (5e0ea671962d) +2007-04-05 12:55 -0700 Brendan Cully (4f435337507e) + + * Makefile.am, hcache.c, hcachever.sh: Version header cache against + MD5 of structures on which it depends + + * UPDATING, globals.h, imap/browse.c, imap/imap_private.h, init.h: + Remove broken namespace support + +2007-04-04 16:31 -0700 Brendan Cully (e96bd1f85634) * imap/command.c: Only reset UIDNEXT if new mail has been detected. This prevents mutt from suddenly finding new mail when switching diff --git a/configure.ac b/configure.ac index 4f972e591..0f891cb52 100644 --- a/configure.ac +++ b/configure.ac @@ -874,8 +874,9 @@ AC_ARG_ENABLE(hcache, AC_HELP_STRING([--enable-hcache], [Enable header caching]) for v in / $BDB_VERSIONS; do if test -r "$d/include/$v/db.h"; then BDB_INCLUDE_DIR="$d/include/$v" - if test -d "$d/lib/$v"; then - BDB_LIB_DIR="$d/lib/$v" + for bdblibdir in "$d/lib/$v" "$d/lib"; do + if test -d "$bdblibdir"; then + BDB_LIB_DIR="$bdblibdir" for l in `echo $BDB_VERSIONS`; do CPPFLAGS="$OLDCPPFLAGS -I$BDB_INCLUDE_DIR" LIBS="$OLDLIBS -L$BDB_LIB_DIR -l$l" @@ -893,6 +894,7 @@ AC_ARG_ENABLE(hcache, AC_HELP_STRING([--enable-hcache], [Enable header caching]) done test x$ac_cv_dbcreate = xyes && break fi + done fi done test x$BDB_LIB != x && break