[dovecot-cvs] dovecot configure.in,1.150,1.151

cras at procontrol.fi cras at procontrol.fi
Wed Oct 29 16:10:23 EET 2003


Update of /home/cvs/dovecot
In directory danu:/tmp/cvs-serv13740

Modified Files:
	configure.in 
Log Message:
Added bsdauth support, patch by Dan Cross



Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -d -r1.150 -r1.151
--- configure.in	29 Oct 2003 13:50:36 -0000	1.150
+++ configure.in	29 Oct 2003 14:10:20 -0000	1.151
@@ -89,6 +89,15 @@
 	fi,
 	want_pam=yes)
 
+AC_ARG_WITH(bsdauth,
+[  --with-bsdauth          Build with BSD authentication support (default)],
+	if test x$withval = xno; then
+		want_bsdauth=no
+	else
+		want_bsdauth=yes
+	fi,
+	want_bsdauth=yes)
+
 AC_ARG_WITH(ldap,
 [  --with-ldap             Build with LDAP support],
 	if test x$withval = xno; then
@@ -935,6 +944,13 @@
 					  Define if you have pam_setcred())
 			])
 		fi
+	])
+fi
+
+if test $want_bsdauth = yes; then
+	AC_CHECK_FUNC(auth_userokay, [
+		AC_DEFINE(PASSDB_BSDAUTH,, Build with BSD authentication support)
+		passdb="$passdb bsdauth"
 	])
 fi
 



More information about the dovecot-cvs mailing list