summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/patches/patch-al
blob: 5dbf67455be4db51e1b3634ee641da51a3017c32 (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.4 2006/07/15 19:34:15 tonio Exp $

--- configure.orig	2006-07-14 20:15:42.000000000 +0200
+++ configure
@@ -15076,6 +15076,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
@@ -15168,6 +15169,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"