]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
configure: Added mdbox_deleted storage.
authorTimo Sirainen <tss@iki.fi>
Tue, 29 Oct 2013 19:10:33 +0000 (21:10 +0200)
committerTimo Sirainen <tss@iki.fi>
Tue, 29 Oct 2013 19:10:33 +0000 (21:10 +0200)
configure.ac

index b90f401158392a146441efd856ca3b200edea683..e47784533fbd6fa688d9fcc1637c797548d9284b 100644 (file)
@@ -2523,11 +2523,15 @@ LINKED_STORAGE_LIBS=
 
 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 @@ if test $have_sdbox = yes; then
   # 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