summaryrefslogtreecommitdiff
path: root/src/journal-remote/meson.build
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-remote/meson.build
parent7feeb8998040ce9358f5c1d805c03e59d72e1190 (diff)
parent2c201c2140f9a75f3698e988880f00f8d0492315 (diff)
Merge pull request #5842 from keszybz/meson-status-and-conditionals
Meson status and conditional simplification
Diffstat (limited to 'src/journal-remote/meson.build')
-rw-r--r--src/journal-remote/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal-remote/meson.build b/src/journal-remote/meson.build
index 072fa14548..d266b34e65 100644
--- a/src/journal-remote/meson.build
+++ b/src/journal-remote/meson.build
@@ -21,7 +21,7 @@ systemd_journal_gatewayd_sources = files('''
microhttpd-util.c
'''.split())
-if conf.get('ENABLE_REMOTE', 0) == 1 and conf.get('HAVE_LIBCURL', 0) == 1
+if conf.get('ENABLE_REMOTE', false) and conf.get('HAVE_LIBCURL', false)
journal_upload_conf = configure_file(
input : 'journal-upload.conf.in',
output : 'journal-upload.conf',
@@ -30,7 +30,7 @@ if conf.get('ENABLE_REMOTE', 0) == 1 and conf.get('HAVE_LIBCURL', 0) == 1
install_dir : pkgsysconfdir)
endif
-if conf.get('ENABLE_REMOTE', 0) == 1 and conf.get('HAVE_MICROHTTPD', 0) == 1
+if conf.get('ENABLE_REMOTE', false) and conf.get('HAVE_MICROHTTPD', false)
journal_remote_conf = configure_file(
input : 'journal-remote.conf.in',
output : 'journal-remote.conf',