dovecot-1.1: dovecot --build-options: If SQL or LDAP was built a...
dovecot at dovecot.org
dovecot at dovecot.org
Wed May 20 20:51:08 EEST 2009
details: http://hg.dovecot.org/dovecot-1.1/rev/9ae9e07b31ea
changeset: 8282:9ae9e07b31ea
user: Timo Sirainen <tss at iki.fi>
date: Wed May 20 13:51:01 2009 -0400
description:
dovecot --build-options: If SQL or LDAP was built as plugins, say it.
diffstat:
2 files changed, 9 insertions(+)
configure.in | 2 ++
src/master/main.c | 7 +++++++
diffs (37 lines):
diff -r 18c2e4ee94eb -r 9ae9e07b31ea configure.in
--- a/configure.in Tue May 19 16:01:03 2009 -0400
+++ b/configure.in Wed May 20 13:51:01 2009 -0400
@@ -2110,6 +2110,8 @@ SQL_CFLAGS="$MYSQL_CFLAGS $PGSQL_CFLAGS
SQL_CFLAGS="$MYSQL_CFLAGS $PGSQL_CFLAGS $SQLITE_CFLAGS"
if test "$want_sql_plugins" != "yes"; then
SQL_LIBS="$MYSQL_LIBS $PGSQL_LIBS $SQLITE_LIBS"
+else
+ AC_DEFINE(SQL_DRIVER_PLUGINS,, Build SQL drivers as plugins)
fi
if test "$found_sql_drivers" != "" -o "$want_sql" != "no"; then
diff -r 18c2e4ee94eb -r 9ae9e07b31ea src/master/main.c
--- a/src/master/main.c Tue May 19 16:01:03 2009 -0400
+++ b/src/master/main.c Wed May 20 13:51:01 2009 -0400
@@ -393,7 +393,11 @@ static void print_build_options(void)
" openssl"
#endif
"\nMail storages: "MAIL_STORAGES"\n"
+#ifdef SQL_DRIVER_PLUGINS
+ "SQL driver plugins:"
+#else
"SQL drivers:"
+#endif
#ifdef BUILD_MYSQL
" mysql"
#endif
@@ -440,6 +444,9 @@ static void print_build_options(void)
#endif
#ifdef USERDB_LDAP
" ldap"
+#ifndef BUILTIN_LDAP
+ "(plugin)"
+#endif
#endif
#ifdef USERDB_PASSWD
" passwd"
More information about the dovecot-cvs
mailing list