[dovecot-cvs] dovecot configure.in,1.324,1.325
tss at dovecot.org
tss at dovecot.org
Wed Feb 28 18:55:15 UTC 2007
Update of /var/lib/cvs/dovecot
In directory talvi:/tmp/cvs-serv12570
Modified Files:
configure.in
Log Message:
Drop privileges if libcap is found. Patch by David (lists edeca.net).
Index: configure.in
===================================================================
RCS file: /var/lib/cvs/dovecot/configure.in,v
retrieving revision 1.324
retrieving revision 1.325
diff -u -d -r1.324 -r1.325
--- configure.in 22 Feb 2007 21:50:46 -0000 1.324
+++ configure.in 28 Feb 2007 18:55:12 -0000 1.325
@@ -410,6 +410,14 @@
])
])
+AC_CHECK_FUNC(cap_init, [], [
+ AC_CHECK_LIB(cap, cap_init, [
+ AC_DEFINE(HAVE_LIBCAP,, libcap is installed for cap_init())
+ LIBCAP="-lcap"
+ ])
+])
+AC_SUBST(LIBCAP)
+
AC_CHECK_FUNC(fdatasync, [
have_fdatasync=yes
], [
More information about the dovecot-cvs
mailing list