diff options
author | Günther Deschner <gdeschner@redhat.com> | 2012-11-01 16:28:44 +0100 |
---|---|---|
committer | Günther Deschner <gdeschner@redhat.com> | 2012-11-01 16:39:40 +0100 |
commit | c701c47b8b16cbe3e12b6ff4db7289290c54d4fd (patch) | |
tree | 413450a9cfec1d978e2ff8bd3191cd1615691418 | |
parent | e78bee35cf2309e1d2b7ae9c9af38a1dd8e841c8 (diff) | |
download | gss-proxy-master-mechglue-wip.tar.gz gss-proxy-master-mechglue-wip.tar.xz gss-proxy-master-mechglue-wip.zip |
build: check for gss_import_cred and gss_export_cred.master-mechglue-wip
-rw-r--r-- | proxy/configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/proxy/configure.ac b/proxy/configure.ac index 049bb89..52a6eb0 100644 --- a/proxy/configure.ac +++ b/proxy/configure.ac @@ -106,6 +106,12 @@ else GSSAPI_CFLAGS="`$KRB5_CONFIG --cflags gssapi`" GSSAPI_LIBS="`$KRB5_CONFIG --libs gssapi`" fi +AC_CHECK_LIB(gssapi_krb5, gss_import_cred,, + [AC_MSG_ERROR([GSSAPI library does not support gss_import_cred])], + [$GSSAPI_LIBS]) +AC_CHECK_LIB(gssapi_krb5, gss_export_cred,, + [AC_MSG_ERROR([GSSAPI library does not support gss_export_cred])], + [$GSSAPI_LIBS]) AC_SUBST([GSSAPI_CFLAGS]) AC_SUBST([GSSAPI_LIBS]) |