diff options
author | Maxim <kolmax94@gmail.com> | 2010-08-18 13:55:19 +0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-09-02 12:23:18 -0400 |
commit | d921c1eba437662437847279f251a0a5d8f70127 (patch) | |
tree | 22a8669e77494171c269b6a0e4b9aa80b832baf0 | |
parent | 0d7e647da737b71a7dbbe0bb5f94af18017e5aa9 (diff) | |
download | sssd-d921c1eba437662437847279f251a0a5d8f70127.tar.gz sssd-d921c1eba437662437847279f251a0a5d8f70127.tar.xz sssd-d921c1eba437662437847279f251a0a5d8f70127.zip |
Add custom pam module dir
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index e19da40dc..677f5fd05 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 58a7b2c8f..e4fc849f2 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 |