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=""
# 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