summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@gmail.com>2016-10-12 11:56:27 -0300
committerFelipe Sateler <fsateler@gmail.com>2016-10-12 14:09:14 -0300
commit651742d8ecd62d718080329fbba805bf364e6c25 (patch)
tree11698670487306812e5f1369cc2d41d76aa476fc /configure.ac
parent95cbf84564d30a771f51f76e03ce1edf4349fd20 (diff)
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],