configure: Check for gnutls_mac_get_key_size() instead of gnutls_transport_set_errno().
This commit is contained in:
parent
d46ffb4b6f
commit
8c4a2978b2
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue