[dovecot-cvs] dovecot configure.in,1.167,1.168

cras at procontrol.fi cras at procontrol.fi
Fri Jun 18 06:40:14 EEST 2004


Update of /home/cvs/dovecot
In directory talvi:/tmp/cvs-serv13170

Modified Files:
	configure.in 
Log Message:
Added checkpassword passdb. userdb has only beginnings.



Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -d -r1.167 -r1.168
--- configure.in	3 Jun 2004 15:01:27 -0000	1.167
+++ configure.in	18 Jun 2004 03:40:12 -0000	1.168
@@ -1,7 +1,7 @@
 AC_INIT(src)
 
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(dovecot, 1.0-test13)
+AM_INIT_AUTOMAKE(dovecot, 1.0-test17)
 
 AM_MAINTAINER_MODE
 
@@ -89,6 +89,15 @@
 	fi,
 	want_pam=yes)
 
+AC_ARG_WITH(checkpassword,
+[  --with-checkpassword    Build with checkpassword support (default)],
+	if test x$withval = xno; then
+		want_checkpassword=no
+	else
+		want_checkpassword=yes
+	fi,
+	want_checkpassword=yes)
+
 AC_ARG_WITH(bsdauth,
 [  --with-bsdauth          Build with BSD authentication support (default)],
 	if test x$withval = xno; then
@@ -986,6 +995,13 @@
 	])
 fi
 
+if test $want_checkpassword = yes; then
+        AC_DEFINE(USERDB_CHECKPASSWORD,, Build with checkpassword userdb support)
+        AC_DEFINE(PASSDB_CHECKPASSWORD,, Build with checkpassword passdb support)
+	userdb="$userdb checkpassword"
+	passdb="$passdb checkpassword"
+fi
+
 if test $want_bsdauth = yes; then
 	AC_CHECK_FUNC(auth_userokay, [
 		AC_DEFINE(PASSDB_BSDAUTH,, Build with BSD authentication support)



More information about the dovecot-cvs mailing list