diff options
author | Daniel Salzman <daniel.salzman@nic.cz> | 2023-03-25 21:20:32 +0100 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2023-03-29 14:54:23 +0200 |
commit | f3dd3aacd1de5a7b88edde7c010ae1d4ca16705f (patch) | |
tree | bbae987c2a9dd463cd15cff1896594d21d4f4854 /configure.ac | |
parent | contrib: upgrade embedded library ngtcp2 to v0.14.0 (diff) | |
download | knot-f3dd3aacd1de5a7b88edde7c010ae1d4ca16705f.tar.xz knot-f3dd3aacd1de5a7b88edde7c010ae1d4ca16705f.zip |
quic: adapt to ngtcp2 0.14.0
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index cd561347c..1539bcd73 100644 --- a/configure.ac +++ b/configure.ac @@ -560,12 +560,12 @@ AS_IF([test "$enable_daemon" = "yes" -o "$enable_utilities" = "yes"], [ # QUIC support AC_ARG_ENABLE([quic], - AS_HELP_STRING([--enable-quic=auto|yes|no], [Support DoQ (needs libngtcp2 >= 0.13.0, gnutls >= 3.7.2) [default=auto]]), + AS_HELP_STRING([--enable-quic=auto|yes|no], [Support DoQ (needs libngtcp2 >= 0.14.0, gnutls >= 3.7.2) [default=auto]]), [], [enable_quic=auto]) AS_CASE([$enable_quic], - [auto], [PKG_CHECK_MODULES([libngtcp2], [libngtcp2 >= 0.13.0 libngtcp2_crypto_gnutls], [enable_quic=yes], [enable_quic=no])], - [yes], [PKG_CHECK_MODULES([libngtcp2], [libngtcp2 >= 0.13.0 libngtcp2_crypto_gnutls], [enable_quic=yes], + [auto], [PKG_CHECK_MODULES([libngtcp2], [libngtcp2 >= 0.14.0 libngtcp2_crypto_gnutls], [enable_quic=yes], [enable_quic=no])], + [yes], [PKG_CHECK_MODULES([libngtcp2], [libngtcp2 >= 0.14.0 libngtcp2_crypto_gnutls], [enable_quic=yes], AS_IF([test "$gnutls_quic" = "yes"], [enable_quic=embedded embedded_libngtcp2_CFLAGS="-I\$(top_srcdir)/src/contrib/libngtcp2 -I\$(top_srcdir)/src/contrib/libngtcp2/ngtcp2/lib" |