From ff4c5555d0c9e15d182bbf0cc738f5242b166024 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 29 May 2012 14:54:06 +0200 Subject: build-sys: add --disable-su Signed-off-by: Karel Zak --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 03832a254..ad10cfd19 100644 --- a/configure.ac +++ b/configure.ac @@ -1054,6 +1054,15 @@ UL_BUILD_INIT([sulogin]) AM_CONDITIONAL(BUILD_SULOGIN, test "x$build_sulogin" = xyes) +AC_ARG_ENABLE([su], + AS_HELP_STRING([--disable-su], [do not build su]), + [], enable_su=yes +) +UL_BUILD_INIT([su]) +UL_REQUIRES_HAVE([su], [security_pam_misc_h], [PAM header file]) +AM_CONDITIONAL(BUILD_SU, test "x$build_su" = xyes) + + AC_ARG_ENABLE([schedutils], AS_HELP_STRING([--disable-schedutils], [do not build chrt, ionice, teskset]), [], enable_schedutils=yes -- cgit v1.2.3-55-g7522