summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-10-12 20:41:52 +0200
committerGitHub <noreply@github.com>2016-10-12 20:41:52 +0200
commit6612379adf2eceb7275cec26b5441328f56407c5 (patch)
tree15b99a3477ed18a0d0f6693d0daec6e1a4594a19 /configure.ac
parentec02a6c90a5d8b234db534ce3f8f1901f8532057 (diff)
parent651742d8ecd62d718080329fbba805bf364e6c25 (diff)
Merge pull request #4358 from fsateler/pam-config
Pam config fixes
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],