[dovecot-cvs] dovecot configure.in,1.40,1.41 acconfig.h,1.11,1.12

cras at procontrol.fi cras at procontrol.fi
Tue Oct 29 07:07:22 EET 2002


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

Modified Files:
	configure.in acconfig.h 
Log Message:
Call pam_setcred() if it exists.



Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- configure.in	28 Oct 2002 09:46:02 -0000	1.40
+++ configure.in	29 Oct 2002 05:07:19 -0000	1.41
@@ -389,6 +389,10 @@
 			USERINFO_LIBS="$USERINFO_LIBS -lpam"
 			AC_DEFINE(USERINFO_PAM)
 			auths="$auths pam"
+
+			AC_CHECK_LIB(pam, pam_setcred, [
+				AC_DEFINE(HAVE_PAM_SETCRED)
+			])
 		])
 	])
 fi

Index: acconfig.h
===================================================================
RCS file: /home/cvs/dovecot/acconfig.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- acconfig.h	28 Oct 2002 09:46:02 -0000	1.11
+++ acconfig.h	29 Oct 2002 05:07:19 -0000	1.12
@@ -21,7 +21,9 @@
 #undef USERINFO_SHADOW
 #undef USERINFO_PAM
 #undef USERINFO_VPOPMAIL
+
 #undef AUTH_PAM_USERPASS
+#undef HAVE_PAM_SETCRED
 
 /* IMAP capabilities */
 #undef CAPABILITY_STRING




More information about the dovecot-cvs mailing list