From e98c593011b0a3fc289528684815b5ea6ed9ca1c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 20 May 2009 13:52:49 -0400 Subject: [PATCH] dovecot --build-options: If SQL or LDAP was built as plugins, say it. --HG-- branch : HEAD --- configure.in | 2 ++ src/master/main.c | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/configure.in b/configure.in index 11d46bc271..f834addcf9 100644 --- a/configure.in +++ b/configure.in @@ -2084,6 +2084,8 @@ fi SQL_CFLAGS="$MYSQL_CFLAGS $PGSQL_CFLAGS $SQLITE_CFLAGS" if test "$want_sql" != "plugin"; 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" != "" || test "$want_sql" != "no"; then diff --git a/src/master/main.c b/src/master/main.c index 55db150ea1..08538c569e 100644 --- a/src/master/main.c +++ b/src/master/main.c @@ -476,7 +476,11 @@ static void print_build_options(void) #ifdef HAVE_OPENSSL " openssl" #endif +#ifdef SQL_DRIVER_PLUGINS + "\nSQL driver plugins:" +#else "\nSQL drivers:" +#endif #ifdef BUILD_MYSQL " mysql" #endif @@ -520,6 +524,9 @@ static void print_build_options(void) #endif #ifdef USERDB_LDAP " ldap" +#ifndef BUILTIN_LDAP + "(plugin)" +#endif #endif #ifdef USERDB_PASSWD " passwd" -- 2.47.3