From 43f15ae331c01e44b19fdebdc424bd7b29cce3db Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 31 Mar 2025 08:39:50 +0200 Subject: [PATCH] Pass -DPDNS_AUTH when building the authoritative server. --- configure.ac | 2 ++ meson.build | 2 ++ 2 files changed, 4 insertions(+) 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') -- 2.47.2