summaryrefslogtreecommitdiffstats
path: root/src/conf_macros.m4
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2011-12-29 02:17:15 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-03-19 09:45:25 -0400
commiteb2e21b764d03544d8161e9956d7f70b07b75f77 (patch)
tree46b8808250eca267edee3de248d4d1c811edbf9b /src/conf_macros.m4
parent5f90993426fa2bdc3b3d994c9e85e0805bb92bbc (diff)
downloadsssd-eb2e21b764d03544d8161e9956d7f70b07b75f77.tar.gz
sssd-eb2e21b764d03544d8161e9956d7f70b07b75f77.tar.xz
sssd-eb2e21b764d03544d8161e9956d7f70b07b75f77.zip
nsssrv: shared memory cache server initialization
Diffstat (limited to 'src/conf_macros.m4')
-rw-r--r--src/conf_macros.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4
index 145cdd795..8c13e5dba 100644
--- a/src/conf_macros.m4
+++ b/src/conf_macros.m4
@@ -111,6 +111,23 @@ AC_DEFUN([WITH_PIPE_PATH],
AC_DEFINE_UNQUOTED(PIPE_PATH, "$config_pipepath", [Where to store pipe files for the SSSD interconnects])
])
+AC_DEFUN([WITH_MCACHE_PATH],
+ [ AC_ARG_WITH([mcache-path],
+ [AC_HELP_STRING([--with-mcache-path=PATH],
+ [Where to store mmap cache files for the SSSD interconnects [/var/lib/sss/mc]]
+ )
+ ]
+ )
+ config_mcpath="\"VARDIR\"/lib/sss/mc"
+ mcpath="${localstatedir}/lib/sss/mc"
+ if test x"$with_mcache_path" != x; then
+ config_mcpath=$with_mcache_path
+ mcpath=$with_mcache_path
+ fi
+ AC_SUBST(mcpath)
+ AC_DEFINE_UNQUOTED(MCACHE_PATH, "$config_mcpath", [Where to store mmap cache files for the SSSD interconnects])
+ ])
+
AC_DEFUN([WITH_INITSCRIPT],
[ AC_ARG_WITH([initscript],
[AC_HELP_STRING([--with-initscript=INITSCRIPT_TYPE],