summaryrefslogtreecommitdiffstats
path: root/proxy/conf_macros.m4
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-02-23 17:57:58 -0500
committerSimo Sorce <simo@redhat.com>2012-04-05 11:20:33 -0400
commit34d8ca04e148263ffd4860718652eb474087f848 (patch)
tree10af3408150ec6dc1515d88f94c63afccec3245d /proxy/conf_macros.m4
parent99d24402236ab621f8c03fdba49e7a75e38263a5 (diff)
downloadgss-proxy-34d8ca04e148263ffd4860718652eb474087f848.tar.gz
gss-proxy-34d8ca04e148263ffd4860718652eb474087f848.tar.xz
gss-proxy-34d8ca04e148263ffd4860718652eb474087f848.zip
creds: add code to import krb5 credentials based on configuration.
Diffstat (limited to 'proxy/conf_macros.m4')
-rw-r--r--proxy/conf_macros.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/proxy/conf_macros.m4 b/proxy/conf_macros.m4
index 27516fa..3f7a81b 100644
--- a/proxy/conf_macros.m4
+++ b/proxy/conf_macros.m4
@@ -202,3 +202,20 @@ AC_ARG_ENABLE([all-experimental-features],
[build_all_experimental_features=$enableval],
[build_all_experimental_features=no])
+AC_DEFUN([WITH_CC_PATH],
+ [ AC_ARG_WITH([cc-path],
+ [AC_HELP_STRING([--with-cc-path=PATH],
+ [Where to store ccache files for gssproxy [/var/run/user/gssproxy]]
+ )
+ ]
+ )
+ config_ccpath="\"VARDIR\"/run/user/gssproxy"
+ ccpath="${localstatedir}/run/user/gssproxy"
+ if test x"$with_cc_path" != x; then
+ config_ccpath=$with_cc_path
+ ccpath=$with_cc_path
+ fi
+ AC_SUBST(ccpath)
+ AC_DEFINE_UNQUOTED(CCACHE_PATH, "$config_ccpath", [Where to store ccache files for gssproxy])
+ ])
+