summaryrefslogtreecommitdiff
path: root/aclocal/kerberos5.m4
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-04-02 15:04:37 -0400
committerSteve Dickson <steved@redhat.com>2013-04-02 15:08:17 -0400
commit0ac50211fefb0d398ecc958ebe725dc6b6285103 (patch)
tree1ffb8ce3a82b6f3d3e641d2b6f83831d8e84ff30 /aclocal/kerberos5.m4
parentfff0d69c2fdc23c94a28276e60e03082e3de15b6 (diff)
downloadnfs-utils-0ac50211fefb0d398ecc958ebe725dc6b6285103.tar.gz
gssd: Switch to use standard GSSAPI by default
Make libgssglue configurable still but disabled by default. There is no reason to use libgssglue anymore, and modern gssapi supports all needed features for nfs-utils. Signed-off-by: Simo Sorce <simo@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'aclocal/kerberos5.m4')
-rw-r--r--aclocal/kerberos5.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/aclocal/kerberos5.m4 b/aclocal/kerberos5.m4
index ef37e28..0bf35d3 100644
--- a/aclocal/kerberos5.m4
+++ b/aclocal/kerberos5.m4
@@ -32,6 +32,8 @@ AC_DEFUN([AC_KERBEROS_V5],[
if test "$K5CONFIG" != ""; then
KRBCFLAGS=`$K5CONFIG --cflags`
KRBLIBS=`$K5CONFIG --libs`
+ GSSKRB_CFLAGS=`$K5CONFIG --cflags gssapi`
+ GSSKRB_LIBS=`$K5CONFIG --libs gssapi`
K5VERS=`$K5CONFIG --version | head -n 1 | awk '{split($(4),v,"."); if (v@<:@"3"@:>@ == "") v@<:@"3"@:>@ = "0"; print v@<:@"1"@:>@v@<:@"2"@:>@v@<:@"3"@:>@ }'`
AC_DEFINE_UNQUOTED(KRB5_VERSION, $K5VERS, [Define this as the Kerberos version number])
if test -f $dir/include/gssapi/gssapi_krb5.h -a \
@@ -113,5 +115,7 @@ AC_DEFUN([AC_KERBEROS_V5],[
AC_SUBST([KRBCFLAGS])
AC_SUBST([KRBLDFLAGS])
AC_SUBST([K5VERS])
+ AC_SUBST([GSSKRB_CFLAGS])
+ AC_SUBST([GSSKRB_LIBS])
])