diff --git a/configure b/configure index 31858ad574a..98115bea145 100755 --- a/configure +++ b/configure @@ -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; } diff --git a/configure.ac b/configure.ac index 6bbb4b97bb2..784107e34e8 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ]], [[typeof(gnutls_transport_set_errno) *pfunc;]])], + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[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"