[dovecot-cvs] dovecot configure.in,1.193,1.194

cras at dovecot.org cras at dovecot.org
Fri Jan 7 20:15:18 EET 2005


Update of /var/lib/cvs/dovecot
In directory talvi:/tmp/cvs-serv12122

Modified Files:
	configure.in 
Log Message:
Added "passdb" userdb. It works only if passdb gives all the information
needed for userdb. For example with SQL you can use ".. uid AS userdb_uid, gid
AS userdb_gid, home AS userdb_home .." in password_query.



Index: configure.in
===================================================================
RCS file: /var/lib/cvs/dovecot/configure.in,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -d -r1.193 -r1.194
--- configure.in	20 Dec 2004 04:59:09 -0000	1.193
+++ configure.in	7 Jan 2005 18:15:14 -0000	1.194
@@ -138,6 +138,15 @@
 	fi,
 	want_static_userdb=yes)
 
+AC_ARG_WITH(passdb-userdb,
+[  --with-passdb-userdb    Build with passdb userdb support (default)],
+	if test x$withval = xno; then
+		want_passdb_userdb=no
+	else
+		want_passdb_userdb=yes
+	fi,
+	want_passdb_userdb=yes)
+
 AC_ARG_WITH(pgsql,
 [  --with-pgsql            Build with PostgreSQL support],
 	if test x$withval = xno; then
@@ -999,6 +1008,11 @@
 	userdb="$userdb static"
 fi
 
+if test $want_passdb_userdb = yes; then
+        AC_DEFINE(USERDB_PASSDB,, Build with passdb userdb support)
+	userdb="$userdb passdb"
+fi
+
 if test $want_passwd = yes; then
 	need_crypt=yes
         AC_DEFINE(USERDB_PASSWD,, Build with passwd support)



More information about the dovecot-cvs mailing list