Commit 8c4a2978 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

configure: Check for gnutls_mac_get_key_size() instead of gnutls_transport_set_errno().

parent d46ffb4b
......@@ -13258,7 +13258,7 @@ cat >>conftest.$ac_ext <<_ACEOF
int
main ()
{
typeof(gnutls_transport_set_errno) *pfunc;
typeof(gnutls_mac_get_key_size) *pfunc;
;
return 0;
}
......
......@@ -938,7 +938,7 @@ then
ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
AC_CHECK_HEADER(gnutls/gnutls.h,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>]], [[typeof(gnutls_transport_set_errno) *pfunc;]])],
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>]], [[typeof(gnutls_mac_get_key_size) *pfunc;]])],
[WINE_CHECK_SONAME(gnutls,gnutls_global_init,
[AC_SUBST(GNUTLSINCL,"$ac_gnutls_cflags")],,[$ac_gnutls_libs])])])
CPPFLAGS="$ac_save_CPPFLAGS"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment