build: Make gss_wrap_iov mandatory for krb5 build
[kai/samba-autobuild/.git] / source3 / configure.in
index 989b617d57bebf9536d5ac99800806a88fb26f7f..70a877da3887bb3c242218490f39032997ef126b 100644 (file)
@@ -4101,6 +4101,11 @@ if test x"$with_ads_support" != x"no"; then
     use_ads=no
   fi
 
+  if test x"$ac_cv_func_ext_gss_wrap_iov" != x"yes" ; then
+    AC_MSG_WARN(gss_wrap_iov not found in -lgssapi)
+    use_ads=no
+  fi
+
   if test x"$ac_cv_func_ext_gss_get_name_attribute" != x"yes" ; then
     if test x"$ac_cv_func_ext_gsskrb5_extract_authz_data_from_sec_context" != x"yes" -o \
             x"$ac_cv_func_ext_gss_inquire_sec_context_by_oid" != x"yes"