summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorMichael Biebl <mbiebl@gmail.com>2017-05-03 16:45:31 +0200
committerGitHub <noreply@github.com>2017-05-03 16:45:31 +0200
commit8251ee109c5f7788fe33043c97b8b9011cb31de6 (patch)
tree1aad161bd45dc9d4105afdae98a5d567891ae8d9 /src/journal
parent7feeb8998040ce9358f5c1d805c03e59d72e1190 (diff)
parent2c201c2140f9a75f3698e988880f00f8d0492315 (diff)
Merge pull request #5842 from keszybz/meson-status-and-conditionals
Meson status and conditional simplification
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/journal/meson.build b/src/journal/meson.build
index 37ec559e41..582f83afb9 100644
--- a/src/journal/meson.build
+++ b/src/journal/meson.build
@@ -20,7 +20,7 @@ journal_internal_sources = files('''
sd-journal.c
'''.split())
-if conf.get('HAVE_GCRYPT', 0) == 1
+if conf.get('HAVE_GCRYPT', false)
journal_internal_sources += files('''
journal-authenticate.c
journal-authenticate.h
@@ -36,7 +36,7 @@ endif
audit_type_includes = [config_h,
missing_h,
'linux/audit.h']
-if conf.get('HAVE_AUDIT', 0) == 1
+if conf.get('HAVE_AUDIT', false)
audit_type_includes += 'libaudit.h'
endif
@@ -95,7 +95,7 @@ systemd_cat_sources = files('cat.c')
journalctl_sources = files('journalctl.c')
-if conf.get('HAVE_QRENCODE', 0) == 1
+if conf.get('HAVE_QRENCODE', false)
journalctl_sources += files('journal-qrcode.c',
'journal-qrcode.h')
endif