dovecot: Renamed --enable-sql-plugins to --with-sql=plugin

dovecot at dovecot.org dovecot at dovecot.org
Tue Aug 7 01:02:19 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/068df1748a57
changeset: 6195:068df1748a57
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Aug 07 00:17:27 2007 +0300
description:
Renamed --enable-sql-plugins to --with-sql=plugin

diffstat:

1 file changed, 7 insertions(+), 12 deletions(-)
configure.in |   19 +++++++------------

diffs (47 lines):

diff -r 0d86bb9cf286 -r 068df1748a57 configure.in
--- a/configure.in	Tue Aug 07 00:13:56 2007 +0300
+++ b/configure.in	Tue Aug 07 00:17:27 2007 +0300
@@ -212,8 +212,12 @@ AC_ARG_WITH(sql,
 [  --with-sql              Build with generic SQL support],
 	if test x$withval = xno; then
 		want_sql=no
-	else
+	elif test x$withval = xplugin; then
 		want_sql=yes
+		want_sql_plugins=yes
+	else
+		want_sql=yes
+		want_sql_plugins=no
 	fi,
 	want_sql=no)
 
@@ -243,15 +247,6 @@ AC_ARG_WITH(sqlite,
 	want_sqlite=yes
 	fi,
 	want_sqlite=no)
-
-AC_ARG_ENABLE(sql-plugins,
-[  --enable-sql-plugins    Build SQL modules as plugins],
-	if test x$enableval = xno; then
-		want_sql_plugins=no
-	else
-		want_sql_plugins=yes
-	fi,
-	want_sql_plugins=no)
 
 AC_ARG_WITH(lucene,
 [  --with-lucene           Build with CLucene full text search support],
@@ -1765,11 +1760,11 @@ fi
 fi
 	
 SQL_CFLAGS="$MYSQL_CFLAGS $PGSQL_CFLAGS $SQLITE_CFLAGS"
-if test "$want_sql_plugins" = "no"; then
+if test "$want_sql_plugins" != "yes"; then
 	SQL_LIBS="$MYSQL_LIBS $PGSQL_LIBS $SQLITE_LIBS"
 fi
 
-if test "$found_sql_drivers" != "" -o "$want_sql" = "yes"; then
+if test "$found_sql_drivers" != "" -o "$want_sql" != "no"; then
 	if test "$all_sql_drivers" = "yes"; then
 	  sql_drivers="$found_sql_drivers"
 	fi


More information about the dovecot-cvs mailing list