use draft-josefsson-gss-capsulate-01 if present
[cyrus-sasl.git] / cmulocal / sasl2.m4
index e034ae5..9eacd68 100644 (file)
@@ -70,7 +70,7 @@ if test "$gssapi" != no; then
                              [Define if you have the gssapi.h header file])],
                   [AC_CHECK_HEADER([gssapi/gssapi.h],,
                                    [AC_WARN([Disabling GSSAPI - no include files found]); gssapi=no])])
-
+  AC_CHECK_HEADERS(gssapi/gssapi_ext.h)
   CPPFLAGS=$cmu_saved_CPPFLAGS
 
 fi
@@ -264,6 +264,9 @@ if test "$gssapi" != no; then
   cmu_save_LIBS="$LIBS"
   LIBS="$LIBS $GSSAPIBASE_LIBS"
   AC_CHECK_FUNCS(gsskrb5_register_acceptor_identity)
+  AC_CHECK_FUNCS(gss_decapsulate_token)
+  AC_CHECK_FUNCS(gss_encapsulate_token)
+  AC_CHECK_FUNCS(gss_oid_equal)
   LIBS="$cmu_save_LIBS"
 else
   AC_MSG_RESULT([disabled])