gnutls: allow building with nghttp2 but without ALPN support

It might not be the most useful combo, but...
This commit is contained in:
Daniel Stenberg
2014-05-28 00:30:23 +02:00
parent 345bfab518
commit b99f8e8b4e

View File

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