aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-11-15 23:15:49 +0100
committerSimon Ser <contact@emersion.fr>2020-11-15 23:15:49 +0100
commit526ae5944c5cc97e02f0282c57ce7320ceb2daa5 (patch)
tree16da3975ce59c22b7edaa18a107b37dee12fdbd6
parent02df7b7ac89696e3a94de3ff66b2bed1c6e5b77a (diff)
build: improve summary via bool_yn
Shows YES/NO instead of 1/0, improves readability.
-rw-r--r--meson.build16
1 files changed, 8 insertions, 8 deletions
diff --git a/meson.build b/meson.build
index 3235dd3f..348fc2a2 100644
--- a/meson.build
+++ b/meson.build
@@ -168,14 +168,14 @@ wlroots = declare_dependency(
meson.override_dependency('wlroots', wlroots)
summary({
- 'systemd': conf_data.get('WLR_HAS_SYSTEMD', 0),
- 'elogind': conf_data.get('WLR_HAS_ELOGIND', 0),
- 'libseat': conf_data.get('WLR_HAS_LIBSEAT', 0),
- 'xwayland': conf_data.get('WLR_HAS_XWAYLAND', 0),
- 'x11_backend': conf_data.get('WLR_HAS_X11_BACKEND', 0),
- 'xcb-icccm': conf_data.get('WLR_HAS_XCB_ICCCM', 0),
- 'xcb-errors': conf_data.get('WLR_HAS_XCB_ERRORS', 0),
-})
+ 'systemd': conf_data.get('WLR_HAS_SYSTEMD', 0) == 1,
+ 'elogind': conf_data.get('WLR_HAS_ELOGIND', 0) == 1,
+ 'libseat': conf_data.get('WLR_HAS_LIBSEAT', 0) == 1,
+ 'xwayland': conf_data.get('WLR_HAS_XWAYLAND', 0) == 1,
+ 'x11_backend': conf_data.get('WLR_HAS_X11_BACKEND', 0) == 1,
+ 'xcb-icccm': conf_data.get('WLR_HAS_XCB_ICCCM', 0) == 1,
+ 'xcb-errors': conf_data.get('WLR_HAS_XCB_ERRORS', 0) == 1,
+}, bool_yn: true)
if get_option('examples')
subdir('examples')