From eb2e21b764d03544d8161e9956d7f70b07b75f77 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 29 Dec 2011 02:17:15 -0500 Subject: nsssrv: shared memory cache server initialization --- src/conf_macros.m4 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/conf_macros.m4') diff --git a/src/conf_macros.m4 b/src/conf_macros.m4 index 145cdd79..8c13e5db 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], -- cgit