gnutls: allow building with nghttp2 but without ALPN support
authorDaniel Stenberg <daniel@haxx.se>
Tue, 27 May 2014 22:30:23 +0000 (00:30 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 27 May 2014 22:30:23 +0000 (00:30 +0200)
It might not be the most useful combo, but...

lib/vtls/gtls.c

index 628ae21..f77ce66 100644 (file)
@@ -94,8 +94,6 @@ static bool gtls_inited = FALSE;
 #    undef HAS_ALPN
 #    if (GNUTLS_VERSION_NUMBER >= 0x030200)
 #      define HAS_ALPN
-#    else
-#      error http2 builds require GnuTLS >= 3.2.0 for ALPN support
 #    endif
 #  endif
 #endif