summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@gmail.com>2016-10-12 16:56:27 +0200
committerFelipe Sateler <fsateler@gmail.com>2016-10-12 19:09:14 +0200
commit651742d8ecd62d718080329fbba805bf364e6c25 (patch)
tree11698670487306812e5f1369cc2d41d76aa476fc /configure.ac
parentsystemd-user: add pam_unix account module (diff)
downloadsystemd-651742d8ecd62d718080329fbba805bf364e6c25.tar.xz
systemd-651742d8ecd62d718080329fbba805bf364e6c25.zip
build-sys: Allow disabling installation of pam config snippet
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
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],