build: Make gss_wrap_iov mandatory for krb5 build
authorAndrew Bartlett <abartlet@samba.org>
Wed, 30 May 2012 09:21:12 +0000 (19:21 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 30 May 2012 10:55:39 +0000 (12:55 +0200)
This isn't in Heimdal 1.1, so we still fail on that version, but at
least we fail for the right reasons.

Andrew Bartlett

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"