diff options
author | Günther Deschner <gdeschner@redhat.com> | 2013-04-29 17:42:21 +0200 |
---|---|---|
committer | Günther Deschner <gdeschner@redhat.com> | 2013-04-29 21:56:04 +0200 |
commit | c691e87a7fd3a077e0de096984267efa682598b6 (patch) | |
tree | 3f540376d928628429b86b974c057d1c3aaaf7e5 /proxy/conf_macros.m4 | |
parent | bff9bbe591fe2d07b6d9f3607cb1044b972ece8c (diff) | |
download | gss-proxy-master-wip.tar.gz gss-proxy-master-wip.tar.xz gss-proxy-master-wip.zip |
Add --with-gpstate-path=PATH configure switch.master-wip
Signed-off-by: Günther Deschner <gdeschner@redhat.com>
Diffstat (limited to 'proxy/conf_macros.m4')
-rw-r--r-- | proxy/conf_macros.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/proxy/conf_macros.m4 b/proxy/conf_macros.m4 index a92c24a..d474c7a 100644 --- a/proxy/conf_macros.m4 +++ b/proxy/conf_macros.m4 @@ -219,6 +219,23 @@ AC_DEFUN([WITH_CC_PATH], AC_DEFINE_UNQUOTED(CCACHE_PATH, "$config_ccpath", [Where to store ccache files for gssproxy]) ]) +AC_DEFUN([WITH_GPSTATE_PATH], + [ AC_ARG_WITH([gpstate-path], + [AC_HELP_STRING([--with-gpstate-path=PATH], + [Where to create default socket for gssproxy [/var/lib/gssproxy]] + ) + ] + ) + config_gpstatepath="\"VARDIR\"/lib/gssproxy" + gpstatedir="${localstatedir}/lib/gssproxy" + if test x"$with_gpstate_path" != x; then + config_gpstatepath=$with_gpstate_path + gpstatepath=$with_gpstate_path + fi + AC_SUBST(gpstatedir) + AC_DEFINE_UNQUOTED(GPSTATE_PATH, "$config_gpstatepath", [Where to store ccache files for gssproxy]) + ]) + AC_DEFUN([WITH_GSSIDEBUG], [ AC_ARG_WITH([gssidebug], [AC_HELP_STRING([--with-gssidebug], |