]> git.ipfire.org Git - thirdparty/pdns.git/blob - pdns/dnsdistdist/m4/dnsdist_enable_doq.m4
Merge pull request #13387 from omoerbeek/rec-b-root-servers
[thirdparty/pdns.git] / pdns / dnsdistdist / m4 / dnsdist_enable_doq.m4
1 AC_DEFUN([DNSDIST_ENABLE_DNS_OVER_QUIC], [
2 AC_MSG_CHECKING([whether to enable incoming DNS over QUIC (DoQ) support])
3 AC_ARG_ENABLE([dns-over-quic],
4 AS_HELP_STRING([--enable-dns-over-quic], [enable incoming DNS over QUIC (DoQ) support (requires quiche) @<:@default=no@:>@]),
5 [enable_dns_over_quic=$enableval],
6 [enable_dns_over_quic=no]
7 )
8 AC_MSG_RESULT([$enable_dns_over_quic])
9 AM_CONDITIONAL([HAVE_DNS_OVER_QUIC], [test "x$enable_dns_over_quic" != "xno"])
10
11 AM_COND_IF([HAVE_DNS_OVER_QUIC], [
12 AC_DEFINE([HAVE_DNS_OVER_QUIC], [1], [Define to 1 if you enable DNS over QUIC support])
13 ])
14 ])