[Pkg-shadow-commits] r2347 - upstream/trunk
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Thu Sep 4 22:34:21 UTC 2008
Author: nekral-guest
Date: 2008-09-04 22:34:20 +0000 (Thu, 04 Sep 2008)
New Revision: 2347
Modified:
upstream/trunk/ChangeLog
upstream/trunk/configure.in
Log:
* configure.in: Check if AUDIT_ADD_USER, AUDIT_DEL_USER,
AUDIT_ADD_GROUP, and AUDIT_DEL_GROUP are defined in <libaudit.h>.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-09-04 20:46:00 UTC (rev 2346)
+++ upstream/trunk/ChangeLog 2008-09-04 22:34:20 UTC (rev 2347)
@@ -1,3 +1,8 @@
+2008-09-05 Nicolas François <nicolas.francois at centraliens.net>
+
+ * configure.in: Check if AUDIT_ADD_USER, AUDIT_DEL_USER,
+ AUDIT_ADD_GROUP, and AUDIT_DEL_GROUP are defined in <libaudit.h>.
+
2008-09-04 Nicolas François <nicolas.francois at centraliens.net>
* src/useradd.c: Fix comment of lflg: it is also used for faillog.
Modified: upstream/trunk/configure.in
===================================================================
--- upstream/trunk/configure.in 2008-09-04 20:46:00 UTC (rev 2346)
+++ upstream/trunk/configure.in 2008-09-04 22:34:20 UTC (rev 2347)
@@ -292,6 +292,15 @@
if test "$audit_header$with_audit" = "noyes" ; then
AC_MSG_ERROR([libaudit.h is missing])
elif test "$audit_header" = "yes"; then
+ AC_CHECK_DECL(AUDIT_ADD_USER,,[audit_header="no"],[#include <libaudit.h>])
+ AC_CHECK_DECL(AUDIT_DEL_USER,,[audit_header="no"],[#include <libaudit.h>])
+ AC_CHECK_DECL(AUDIT_ADD_GROUP,,[audit_header="no"],[#include <libaudit.h>])
+ AC_CHECK_DECL(AUDIT_DEL_GROUP,,[audit_header="no"],[#include <libaudit.h>])
+ if test "$audit_header$with_audit" = "noyes" ; then
+ AC_MSG_ERROR([AUDIT_ADD_USER AUDIT_DEL_USER AUDIT_ADD_GROUP or AUDIT_DEL_GROUP missing from libaudit.h])
+ fi
+ fi
+ if test "$audit_header" = "yes"; then
AC_CHECK_LIB(audit, audit_log_acct_message,
[audit_lib="yes"], [audit_lib="no"])
if test "$audit_lib$with_audit" = "noyes" ; then
More information about the Pkg-shadow-commits
mailing list