From cad1ba8ccd06a6acd0ec603a07a716283921d7ab Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 26 Sep 2023 12:35:09 +0200 Subject: [PATCH] dnsdist: Fix AF_XDP (XSK) detection --- pdns/dnsdistdist/m4/pdns_with_xsk.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/dnsdistdist/m4/pdns_with_xsk.m4 b/pdns/dnsdistdist/m4/pdns_with_xsk.m4 index a5f61dd524..655d410f80 100644 --- a/pdns/dnsdistdist/m4/pdns_with_xsk.m4 +++ b/pdns/dnsdistdist/m4/pdns_with_xsk.m4 @@ -17,6 +17,7 @@ AC_DEFUN([PDNS_WITH_XSK],[ ], [:]) ]) ]) + AC_DEFINE([HAVE_XSK], [test x"$BPF_LIBS" != "x" -a x"$XDP_LIBS" != "x"], [Define to 1 if you have AF_XDP (XSK) support enabled]) AM_CONDITIONAL([HAVE_XSK], [test x"$BPF_LIBS" != "x" -a x"$XDP_LIBS" != "x"]) AS_IF([test "x$with_xsk" = "xyes"], [ AS_IF([test x"$BPF_LIBS" = "x" -o x"$XDP_LIBS" = "x" ], [ -- 2.47.2