From: Remi Gacogne Date: Tue, 26 Sep 2023 10:35:09 +0000 (+0200) Subject: dnsdist: Fix AF_XDP (XSK) detection X-Git-Tag: dnsdist-1.9.0-rc1^2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cad1ba8ccd06a6acd0ec603a07a716283921d7ab;p=thirdparty%2Fpdns.git dnsdist: Fix AF_XDP (XSK) detection --- 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" ], [