summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Salzman <daniel.salzman@nic.cz>2022-07-26 19:01:08 +0200
committerDaniel Salzman <daniel.salzman@nic.cz>2022-07-27 15:29:27 +0200
commitd87dabe6ec4a2e21eeecd6c4be921f32ec81b4b4 (patch)
treed636b4848ddc5c5c974883959c81158aa059aa3f /configure.ac
parentkxdpgun: partial revert of transition to sockaddr_in6 as it causes more issues (diff)
downloadknot-d87dabe6ec4a2e21eeecd6c4be921f32ec81b4b4.tar.xz
knot-d87dabe6ec4a2e21eeecd6c4be921f32ec81b4b4.zip
configure: allow QUIC only if XDP enabled
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c51c268bb..8b31bd480 100644
--- a/configure.ac
+++ b/configure.ac
@@ -579,7 +579,7 @@ AC_SUBST([embedded_libngtcp2_LIBS])
AC_SUBST([libngtcp2_CFLAGS])
AC_SUBST([libngtcp2_LIBS])
-AS_IF([test "$enable_quic" != "no"], [
+AS_IF([test "$enable_quic" != "no" -a "$enable_xdp" != "no"], [
AC_DEFINE([ENABLE_QUIC], [1], [Define to 1 to enable DoQ support using libngtcp2 and GnuTLS])])
############################################