Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9064:d936c8e243dd HEAD
dovecot --build-options: If SQL or LDAP was built as plugins, say it.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 20 May 2009 13:51:11 -0400 |
parents | 172cfd750a40 |
children | 411ee74cae35 |
files | configure.in src/master/main.c |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Tue May 19 14:48:08 2009 -0400 +++ b/configure.in Wed May 20 13:51:11 2009 -0400 @@ -2073,7 +2073,10 @@ 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 +exit if test "$found_sql_drivers" != "" || test "$want_sql" != "no"; then if test "$all_sql_drivers" = "yes"; then
--- a/src/master/main.c Tue May 19 14:48:08 2009 -0400 +++ b/src/master/main.c Wed May 20 13:51:11 2009 -0400 @@ -401,7 +401,11 @@ " openssl" #endif "\nMail storages: "MAIL_STORAGES"\n" +#ifdef SQL_DRIVER_PLUGINS + "SQL driver plugins:" +#else "SQL drivers:" +#endif #ifdef BUILD_MYSQL " mysql" #endif @@ -448,6 +452,9 @@ #endif #ifdef USERDB_LDAP " ldap" +#ifndef BUILTIN_LDAP + "(plugin)" +#endif #endif #ifdef USERDB_PASSWD " passwd"