From: Miod Vallat Date: Mon, 31 Mar 2025 06:39:50 +0000 (+0200) Subject: Pass -DPDNS_AUTH when building the authoritative server. X-Git-Tag: dnsdist-2.0.0-alpha2~98^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43f15ae331c01e44b19fdebdc424bd7b29cce3db;p=thirdparty%2Fpdns.git Pass -DPDNS_AUTH when building the authoritative server. --- diff --git a/configure.ac b/configure.ac index ae48b1cb7c..6997e5443c 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,8 @@ AC_PROG_CC AC_PROG_CXX AC_LANG([C++]) +CPPFLAGS="-DPDNS_AUTH $CPPFLAGS" + PDNS_CHECK_TIME_T PDNS_CHECK_BISON PDNS_CHECK_FLEX diff --git a/meson.build b/meson.build index bb7e8ead37..3d8590c13d 100644 --- a/meson.build +++ b/meson.build @@ -12,6 +12,8 @@ project( ], ) +add_project_arguments('-DPDNS_AUTH', language: 'cpp') + product_source_dir = meson.current_source_dir() product_build_dir = meson.current_build_dir() summary('Source Dir', product_source_dir, section: 'Build')