From 2c8a3e168a5c24088c0efbe73f6452ad85923335 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 29 May 2012 14:41:01 +0200 Subject: build-sys: add --enable-chfn-chsh Signed-off-by: Karel Zak --- configure.ac | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 83d4c6d4b..03832a254 100644 --- a/configure.ac +++ b/configure.ac @@ -636,6 +636,7 @@ if test "x$enable_most_builds" = xyes; then enable_mesg=yes enable_reset=yes enable_login_utils=yes + enable_chfn_chsh=yes enable_write=yes fi @@ -1019,7 +1020,7 @@ AM_CONDITIONAL(BUILD_RESET, test "x$build_reset" = xyes) AC_ARG_ENABLE([login-utils], - AS_HELP_STRING([--enable-login-utils], [build chfn, chsh, newgrp, vipw]), + AS_HELP_STRING([--enable-login-utils], [build newgrp, vipw]), [], enable_login_utils=no ) UL_BUILD_INIT([login_utils]) @@ -1027,6 +1028,15 @@ UL_REQUIRES_HAVE([login_utils], [security_pam_misc_h], [PAM header file]) AM_CONDITIONAL(BUILD_LOGIN_UTILS, test "x$build_login_utils" = xyes) +AC_ARG_ENABLE([chfn-chsh], + AS_HELP_STRING([--enable-chfn-chsh], [build chfn and chsh]), + [], enable_chfn_chsh=no +) +UL_BUILD_INIT([chfn_chsh]) +UL_REQUIRES_HAVE([chfn_chsh], [security_pam_misc_h], [PAM header file]) +AM_CONDITIONAL(BUILD_CHFN_CHSH, test "x$build_chfn_chsh" = xyes) + + AC_ARG_ENABLE([login], AS_HELP_STRING([--disable-login], [do not build login]), [], enable_login=yes -- cgit v1.2.3-55-g7522