"Henri Verbeet" hverbeet@gmail.com writes:
@@ -916,17 +916,20 @@ WINE_NOTICE_WITH(hal,[test "x$ac_cv_lib_soname_hal" = "x"], dnl **** Check for libgnutls **** if test "x$with_gnutls" != "xno" -a "$PKG_CONFIG" != "false" then
- ac_save_CPPFLAGS="$CPPFLAGS"
- ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
- ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
- CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
- AC_CHECK_HEADER(gnutls/gnutls.h,
[WINE_CHECK_SONAME(gnutls,gnutls_global_init,
[AC_SUBST(GNUTLSINCL,"$ac_gnutls_cflags")],,[$ac_gnutls_libs])])
- CPPFLAGS="$ac_save_CPPFLAGS"
- if $PKG_CONFIG --atleast-version=1.6 gnutls
You should check for the features we depend on, not the version number.