dovecot-2.2: configure: Added mdbox_deleted storage.

dovecot at dovecot.org dovecot at dovecot.org
Tue Oct 29 21:11:16 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/e00ad71ee548
changeset: 16896:e00ad71ee548
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Oct 29 21:10:33 2013 +0200
description:
configure: Added mdbox_deleted storage.

diffstat:

 configure.ac |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (29 lines):

diff -r c238c55479c8 -r e00ad71ee548 configure.ac
--- a/configure.ac	Tue Oct 29 21:08:07 2013 +0200
+++ b/configure.ac	Tue Oct 29 21:10:33 2013 +0200
@@ -2523,11 +2523,15 @@
 
 mailbox_list_drivers="maildir imapdir fs index none shared"
 have_sdbox=no
+have_mdbox=no
 for storage in $mail_storages; do
   LINKED_STORAGE_LIBS="$LINKED_STORAGE_LIBS `eval echo \\$${storage}_libs`"
   if test $storage = sdbox; then
     have_sdbox=yes
   fi
+  if test $storage = mdbox; then
+    have_mdbox=yes
+  fi
   if test $storage = sdbox || test $storage = mdbox; then
     LINKED_STORAGE_LIBS="$LINKED_STORAGE_LIBS $dbox_common_libs"
     dbox_common_libs=""
@@ -2546,6 +2550,9 @@
   # create alias for sdbox
   mail_storages="$mail_storages dbox"
 fi
+if test $have_mdbox = yes; then
+  mail_storages="$mail_storages mdbox_deleted"
+fi
 
 dnl **
 dnl ** Shared libraries usage


More information about the dovecot-cvs mailing list