summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/patches/patch-al
blob: d31cce3a744a2c8c487195ea2ca475f1bf8dc0b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-al,v 1.5 2007/03/04 13:43:45 tonio Exp $

--- configure.orig	2006-09-01 09:01:21.000000000 +0200
+++ configure
@@ -17512,6 +17512,7 @@ if test "${with_bdb+set}" = set; then
   withval=$with_bdb; ac_bdb_prefix=$withval
 fi
 
+    if test x$BDB_INCLUDE_DIR = x -o test x$BDB_LIB_DIR = x -o test x$BDB_LIB = x; then
     if test x$ac_bdb_prefix != xno -a x$ac_cv_gdbmopen != xyes -a x$ac_cv_vlopen != xyes; then
         test x$ac_bdb_prefix = xyes && ac_bdb_prefix="$mutt_cv_prefix /opt/csw/bdb4 /opt /usr/local /usr"
         for d in $ac_bdb_prefix; do
@@ -17618,6 +17619,9 @@ echo "${ECHO_T}yes" >&6; }
 echo "${ECHO_T}no" >&6; }
         fi
     fi
+    else
+        ac_cv_dbcreate=yes
+    fi
 
     if test x$ac_cv_vlopen = xyes; then
         CPPFLAGS="$OLDCPPFLAGS"