changeset 10581:6ecb1b7528c9 HEAD

Disabled Berkeley DB support until someone fixes it.
author Timo Sirainen <tss@iki.fi>
date Mon, 25 Jan 2010 01:08:12 +0200
parents 2af2a6afb3e5
children 615eef3139c2
files configure.in src/lib-dict/dict-db.c
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Mon Jan 25 01:03:42 2010 +0200
+++ b/configure.in	Mon Jan 25 01:08:12 2010 +0200
@@ -114,10 +114,11 @@
 		vpopmail_home="`echo ~vpopmail`"
 	])
 
-AC_ARG_WITH(db,
-[  --with-db               Build with Berkeley DB support],
-  TEST_WITH(db, $withval),
-  want_db=no)
+# Berkeley DB support is more or less broken. Disabled for now.
+#AC_ARG_WITH(db,
+#[  --with-db               Build with Berkeley DB support],
+#  TEST_WITH(db, $withval),
+#  want_db=no)
 
 dnl The --with-sql is useful only if Dovecot is being built with all the SQL
 dnl drivers as modules. If any SQL driver is built-in, this option is ignored.
--- a/src/lib-dict/dict-db.c	Mon Jan 25 01:03:42 2010 +0200
+++ b/src/lib-dict/dict-db.c	Mon Jan 25 01:08:12 2010 +0200
@@ -1,5 +1,7 @@
 /* Copyright (c) 2006-2009 Dovecot authors, see the included COPYING file */
 
+/* FIXME: BDB isn't being used correctly/safely. */
+
 #include "lib.h"
 #include "dict-private.h"