summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim <kolmax94@gmail.com>2010-08-18 13:55:19 +0400
committerStephen Gallagher <sgallagh@redhat.com>2010-09-02 12:23:18 -0400
commitd921c1eba437662437847279f251a0a5d8f70127 (patch)
tree22a8669e77494171c269b6a0e4b9aa80b832baf0
parent0d7e647da737b71a7dbbe0bb5f94af18017e5aa9 (diff)
downloadsssd-d921c1eba437662437847279f251a0a5d8f70127.tar.gz
sssd-d921c1eba437662437847279f251a0a5d8f70127.tar.bz2
sssd-d921c1eba437662437847279f251a0a5d8f70127.zip
Add custom pam module dir
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac7
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index e19da40d..677f5fd0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,7 +24,7 @@ dbusintrospectdir = $(datarootdir)/sssd/introspect
dbuspolicydir = $(sysconfdir)/dbus-1/system.d
localedir = @localedir@
nsslibdir = @nsslibdir@
-pamlibdir = $(nsslibdir)/security
+pamlibdir = @pammoddir@
dbpath = @dbpath@
pluginpath = @pluginpath@
diff --git a/configure.ac b/configure.ac
index 58a7b2c8..e4fc849f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,6 +62,13 @@ AC_ARG_ENABLE([nsslibdir], [AS_HELP_STRING([--enable-nsslibdir],
[nsslibdir=$libdir])
AC_SUBST(nsslibdir)
+#Set the PAM module install path
+AC_ARG_ENABLE([pammoddir], [AS_HELP_STRING([--enable-pammoddir],
+ [Where to install pam modules ($libdir/security)])],
+ [pammoddir=$enableval],
+ [pammoddir=$libdir/security])
+AC_SUBST(pammoddir)
+
m4_include(src/conf_macros.m4)
WITH_DB_PATH
WITH_PLUGIN_PATH