]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Pass -DPDNS_AUTH when building the authoritative server. 15379/head
authorMiod Vallat <miod.vallat@powerdns.com>
Mon, 31 Mar 2025 06:39:50 +0000 (08:39 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Mon, 31 Mar 2025 07:59:28 +0000 (09:59 +0200)
configure.ac
meson.build

index ae48b1cb7cc27a7faa5e74aa5f22a53339d93258..6997e5443cdb06ec7f4de3b4212c1a56c1e5babc 100644 (file)
@@ -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
index bb7e8ead37fc5a9270a0dcbef9dc9ca6b9240933..3d8590c13ddf650402a8c80754257b9b9883781c 100644 (file)
@@ -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')