dovecot: Show mail storages in dovecot --build-options.

dovecot at dovecot.org dovecot at dovecot.org
Sat Oct 27 23:46:15 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/e4f9e2b94a90
changeset: 6635:e4f9e2b94a90
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Oct 27 23:46:11 2007 +0300
description:
Show mail storages in dovecot --build-options.

diffstat:

2 files changed, 3 insertions(+), 1 deletion(-)
configure.in      |    1 +
src/master/main.c |    3 ++-

diffs (24 lines):

diff -r 1002deeef3a5 -r e4f9e2b94a90 configure.in
--- a/configure.in	Sat Oct 27 23:03:10 2007 +0300
+++ b/configure.in	Sat Oct 27 23:46:11 2007 +0300
@@ -1940,6 +1940,7 @@ done
 done
 STORAGE_LIBS="$STORAGE_LIBS $index_libs"
 AC_SUBST(STORAGE_LIBS)
+AC_DEFINE_UNQUOTED(MAIL_STORAGES, "$mail_storages", List of compiled in mail storages)
 
 if test -n "$deliver_storage" && test "$want_deliver" = yes; then
   AC_ERROR([If you remove mbox from storages, you need to build --without-deliver])
diff -r 1002deeef3a5 -r e4f9e2b94a90 src/master/main.c
--- a/src/master/main.c	Sat Oct 27 23:03:10 2007 +0300
+++ b/src/master/main.c	Sat Oct 27 23:46:11 2007 +0300
@@ -301,7 +301,8 @@ static void print_build_options(void)
 #ifdef HAVE_OPENSSL
 		" openssl"
 #endif
-	"\nSQL drivers:"
+	"\nMail storages: "MAIL_STORAGES"\n"
+	"SQL drivers:"
 #ifdef BUILD_MYSQL
 		" mysql"
 #endif


More information about the dovecot-cvs mailing list