s3:configure.in: move gss_wrap_iov check to the other function checks
authorStefan Metzmacher <metze@samba.org>
Fri, 20 Jan 2012 15:59:10 +0000 (16:59 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 20 Jan 2012 19:23:13 +0000 (20:23 +0100)
This also makes sure we search for it if it's in -lgssapi
instead of -lgssapi_krb5 or -lgss.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jan 20 20:23:13 CET 2012 on sn-devel-104

source3/configure.in

index 2a719e7a11208ae1fceea54624d0ac6dc6c0870e..b1a3c08d294a4941c0aaf33dfc4d06e85e056565 100644 (file)
@@ -3844,7 +3844,6 @@ if test x"$with_ads_support" != x"no"; then
   if test x"$have_gssapi" != x"yes"; then
      AC_CHECK_LIB_EXT(gssapi_krb5, KRB5_LIBS,gss_display_status,[],[],have_gssapi=yes)
      AC_CHECK_LIB_EXT(gss, KRB5_LIBS,gss_display_status,[],[],have_gssapi=yes)
-     AC_CHECK_FUNC_EXT(gss_wrap_iov, $KRB5_LIBS)
   fi
   ################################################################
   # test for AD / GSSAPI support being enabled
@@ -3905,6 +3904,7 @@ if test x"$with_ads_support" != x"no"; then
   AC_CHECK_FUNC_EXT(gss_mech_krb5, $KRB5_LIBS)
   AC_CHECK_FUNC_EXT(gss_oid_equal, $KRB5_LIBS)
   AC_CHECK_FUNC_EXT(gss_inquire_sec_context_by_oid, $KRB5_LIBS)
+  AC_CHECK_FUNC_EXT(gss_wrap_iov, $KRB5_LIBS)
 
   # This is for FreeBSD (and possibly others). gss_mech_krb5 is a
   # #define to GSS_KRB5_MECHANISM, which is defined in -lgssapi_krb5