This will catch cases in which we try to use the value of a
macro that is only defined when the corresponding feature is
present.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/meson.build b/meson.build
index 9628fbcd59..3a83fb992a 100644
--- a/meson.build
+++ b/meson.build
@@ -399,6 +399,7 @@ cc_flags += [
'-Wno-typedef-redefinition',
'-Wuninitialized',
'-Wunknown-pragmas',
+ '-Wundef',
'-Wunused',
'-Wunused-but-set-parameter',
'-Wunused-but-set-variable',
--
2.43.2