And aplly the patch.

This commit is contained in:
Marcela Mašláňová 2010-02-15 10:16:50 +00:00
parent 474e695d66
commit a48fd477f3

14
DSO.patch Normal file
View File

@ -0,0 +1,14 @@
diff -up cronie-1.4.3/configure.ac.old cronie-1.4.3/configure.ac
--- cronie-1.4.3/configure.ac.old 2009-11-03 14:26:51.000000000 +0100
+++ cronie-1.4.3/configure.ac 2010-02-15 10:50:38.000000000 +0100
@@ -208,8 +208,9 @@ AC_ARG_WITH(audit,
[ if test "x$withval" != "xno" ; then
saved_LIBS="$LIBS"
AC_DEFINE(WITH_AUDIT,1,[Define if you want Audit trails.])
- SELINUX_MSG="yes"
AC_CHECK_HEADER([libaudit.h], ,AC_MSG_ERROR(Audit trails requires libaudit.h header))
+ AC_CHECK_LIB(audit, audit_open, [ LIBAUDIT="-laudit" ],
+ AC_MSG_ERROR(Audit support needs audit libraries.))
LIBS="$saved_LIBS $LIBAUDIT"
AC_SUBST(LIBAUDIT)
fi ]