diff options
author | Yassir Elley <yelley@redhat.com> | 2014-07-05 15:37:23 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-20 21:29:26 +0200 |
commit | 32381402a4a9afc003782c9e2301fc59c9bda2a9 (patch) | |
tree | a1a37e17a18de49be0fd1df6e94feff1b98ab566 /src/conf_macros.m4 | |
parent | b31b0a468ddbc9be4fc78289e5a0a108c31ec620 (diff) | |
download | sssd-32381402a4a9afc003782c9e2301fc59c9bda2a9.tar.gz sssd-32381402a4a9afc003782c9e2301fc59c9bda2a9.tar.xz sssd-32381402a4a9afc003782c9e2301fc59c9bda2a9.zip |
AD-GPO: Store policy settings in local files
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/conf_macros.m4')
-rw-r--r-- | src/conf_macros.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4 index 3a042a81b..3c9827b4d 100644 --- a/src/conf_macros.m4 +++ b/src/conf_macros.m4 @@ -453,6 +453,23 @@ AC_DEFUN([WITH_SEMANAGE], AM_CONDITIONAL([BUILD_SEMANAGE], [test x"$with_semanage" = xyes]) ]) +AC_DEFUN([WITH_GPO_CACHE_PATH], + [ AC_ARG_WITH([gpo-cache-path], + [AC_HELP_STRING([--with-gpo-cache-path=PATH], + [Where to store GPO policy files [/var/lib/sss/gpo_cache]] + ) + ] + ) + config_gpocachepath="\"VARDIR\"/lib/sss/gpo_cache" + gpocachepath="${localstatedir}/lib/sss/gpo_cache" + if test x"$with_gpo_cache_path" != x; then + config_gpocachepath=$with_gpo_cache_path + gpocachepath=$with_gpo_cache_path + fi + AC_SUBST(gpocachepath) + AC_DEFINE_UNQUOTED(GPO_CACHE_PATH, "$config_gpocachepath", [Where to store GPO policy files]) + ]) + AC_DEFUN([WITH_LIBNL], [ AC_ARG_WITH([libnl], [AC_HELP_STRING([--with-libnl], |