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

This commit is contained in:
Henri Verbeet 2008-12-30 09:45:20 +01:00 committed by Alexandre Julliard
parent d46ffb4b6f
commit 8c4a2978b2
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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;
}

View File

@ -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"