cornucopia: bump SRCREV
[openembedded.git] / recipes / neon / files / gnutls-force-and-detect.patch
blob4c794ba138ec973e2129841e1ff79a67ce53d163
1 diff --git a/macros/neon.m4 b/macros/neon.m4
2 index 01072b9..6d3258f 100644
3 --- a/macros/neon.m4
4 +++ b/macros/neon.m4
5 @@ -886,15 +886,11 @@ yes|openssl)
6 NEON_EXTRAOBJS="$NEON_EXTRAOBJS ne_openssl"
7 ;;
8 gnutls)
9 - AC_MSG_ERROR([GNU TLS support is not yet complete])
10 + dnl AC_MSG_ERROR([GNU TLS support is not yet complete])
12 - AC_PATH_PROG(GNUTLS_CONFIG, libgnutls-config, no)
13 + GNUTLS_CONFIG="pkg-config gnutls"
15 - if test "$GNUTLS_CONFIG" = "no"; then
16 - AC_MSG_ERROR([could not find libgnutls-config in \$PATH])
17 - fi
19 - ne_gnutls_ver=`$GNUTLS_CONFIG --version`
20 + ne_gnutls_ver=`$GNUTLS_CONFIG --modversion`
21 case $ne_gnutls_ver in
22 1.0.?|1.0.1?|1.0.20|1.0.21)
23 AC_MSG_ERROR([GNU TLS version $ne_gnutls_ver is too old -- 1.0.22 or later required]) ;;