changeset 16896:e00ad71ee548

configure: Added mdbox_deleted storage.
author Timo Sirainen <tss@iki.fi>
date Tue, 29 Oct 2013 21:10:33 +0200
parents c238c55479c8
children ff4941acbfe2
files configure.ac
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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