From f8bdba2fd24a176d8d0ef8c96fb184fa3cd0f7bf Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 12 Mar 2007 14:26:34 +0100 Subject: login: add audit support The login command reports AUDIT_USER_LOGIN message to audit system (depends on --with-audit). Signed-off-by: Karel Zak --- login-utils/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'login-utils/Makefile.am') diff --git a/login-utils/Makefile.am b/login-utils/Makefile.am index 0a36e158f..404b7987f 100644 --- a/login-utils/Makefile.am +++ b/login-utils/Makefile.am @@ -67,6 +67,9 @@ else login_SOURCES = login.c checktty.c login.h my_crypt.h endif +if HAVE_AUDIT +login_LDADD += -laudit +endif if HAVE_SELINUX chfn_SOURCES += selinux_utils.c selinux_utils.h -- cgit v1.2.3-55-g7522