dovecot-2.0-sslstream: configure: Removed --with-sql-drivers par...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:55:31 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/3a32306aa473
changeset: 10156:3a32306aa473
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Oct 22 21:43:30 2009 -0400
description:
configure: Removed --with-sql-drivers parameter. I'm not sure what it tried to do.

diffstat:

1 file changed, 4 insertions(+), 21 deletions(-)
configure.in |   25 ++++---------------------

diffs (50 lines):

diff -r ae2d8b121f91 -r 3a32306aa473 configure.in
--- a/configure.in	Thu Oct 22 21:37:03 2009 -0400
+++ b/configure.in	Thu Oct 22 21:43:30 2009 -0400
@@ -223,20 +223,6 @@ AC_ARG_WITH(storages,
 	mail_storages="shared `echo "$withval"|sed 's/,/ /g'`" ],
 	mail_storages="shared maildir mbox dbox mdbox cydir")
 AC_SUBST(mail_storages)
-
-AC_ARG_WITH(sql-drivers,
-[  --with-sql-drivers      Build with specified SQL drivers (all)], [
-	sql_drivers=`echo "$withval"|sed 's/,/ /g'` ],
-	sql_drivers="all")
-
-if test "$sql_drivers" = "all" || test "$sql_drivers" = "yes"; then
-  all_sql_drivers=yes
-  sql_drivers=
-elif test "$sql_drivers" = "no"; then
-  # --without-sql-drivers given
-  sql_drivers=
-fi
-not_sql_drivers=
 
 AC_ARG_WITH(moduledir,
 [  --with-moduledir=DIR    Base directory for dynamically loadable modules],
@@ -2073,10 +2059,6 @@ if test $want_pgsql != no; then
 		  PGSQL_LIBS="$PGSQL_LIBS -lpq"
 		  AC_DEFINE(HAVE_PGSQL,, Build with PostgreSQL support)
 		  found_sql_drivers="$found_sql_drivers pgsql"
-
-		  if test "$all_sql_drivers" = "yes"; then
-		    sql_drivers="$sql_drivers pgsql"
-		  fi
 	  ], [
 	    if test $want_pgsql = yes; then
 	      AC_ERROR([Can't build with PostgreSQL support: libpq-fe.h not found])
@@ -2189,10 +2171,11 @@ else
 	AC_DEFINE(SQL_DRIVER_PLUGINS,, Build SQL drivers as plugins)
 fi
 
+sql_drivers=
+not_sql_drivers=
+
 if test "$found_sql_drivers" != "" || test "$want_sql" != "no"; then
-	if test "$all_sql_drivers" = "yes"; then
-	  sql_drivers="$found_sql_drivers"
-	fi
+	sql_drivers="$found_sql_drivers"
 
 	AC_DEFINE(PASSDB_SQL,, Build with SQL support)
 	AC_DEFINE(USERDB_SQL,, Build with SQL support)


More information about the dovecot-cvs mailing list