From 5569ee0629cf48780028eeae2f9d48822a2fdb06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ayd=C4=B1n=20Mercan?= Date: Fri, 3 Jan 2025 15:22:38 +0300 Subject: [PATCH] fixup! replace the build system with meson --- meson.build | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index fa319a148e..cc0408af3d 100644 --- a/meson.build +++ b/meson.build @@ -650,10 +650,8 @@ endif jemalloc_dep = null_dep if jemalloc_opt.allowed() jemalloc_dep = dependency('jemalloc', required: jemalloc_opt) - if jemalloc_dep.found() - config.set('HAVE_JEMALLOC', 1) - endif endif +config.set('HAVE_JEMALLOC', jemalloc_dep.found()) ## dnstap dnstap_dep = null_dep # Will be filled later @@ -1856,7 +1854,7 @@ summary( ) ### Warn about fragmentation -if not (config.has('HAVE_JEMALLOC') or config.has('HAVE_MALLOC_NP_H')) +if not (config.get('HAVE_JEMALLOC') or config.has('HAVE_MALLOC_NP_H')) message() warning( '''