diff options
author | Felipe Sateler <fsateler@gmail.com> | 2016-10-12 16:56:27 +0200 |
---|---|---|
committer | Felipe Sateler <fsateler@gmail.com> | 2016-10-12 19:09:14 +0200 |
commit | 651742d8ecd62d718080329fbba805bf364e6c25 (patch) | |
tree | 11698670487306812e5f1369cc2d41d76aa476fc /configure.ac | |
parent | systemd-user: add pam_unix account module (diff) | |
download | systemd-651742d8ecd62d718080329fbba805bf364e6c25.tar.xz systemd-651742d8ecd62d718080329fbba805bf364e6c25.zip |
build-sys: Allow disabling installation of pam config snippet
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ccd212ef13..0e87adc38f 100644 --- a/configure.ac +++ b/configure.ac @@ -1507,9 +1507,10 @@ AC_ARG_WITH([pamlibdir], AX_NORMALIZE_PATH([with_pamlibdir]) AC_ARG_WITH([pamconfdir], - AS_HELP_STRING([--with-pamconfdir=DIR], [Directory for PAM configuration]), + AS_HELP_STRING([--with-pamconfdir=DIR], [Directory for PAM configuration (pass no to disable installing)]), [], [with_pamconfdir=${sysconfdir}/pam.d]) +AM_CONDITIONAL(ENABLE_PAM_CONFIG, [test "$with_pamconfdir" != "no"]) AX_NORMALIZE_PATH([with_pamconfdir]) AC_ARG_ENABLE([split-usr], |