]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: use booleans for conf.set and drop unecessary conditionals 5842/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 28 Apr 2017 01:13:08 +0000 (21:13 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 2 May 2017 20:29:11 +0000 (16:29 -0400)
commit2c201c2140f9a75f3698e988880f00f8d0492315
tree28f9835b7720692a60dda9b88a598994a03b396c
parent829257d135c496bd5d2770036c449445f77e0abc
meson: use booleans for conf.set and drop unecessary conditionals

Using conf.set() with a boolean argument does the right thing:
either #ifdef or #undef. This means that conf.set can be used unconditionally.

Previously I used '1' as the placeholder value, and that needs to be changed to
'true' for consistency (under meson 1 cannot be used in boolean context). All
checks need to be adjusted.
29 files changed:
docs/sysvinit/meson.build
docs/var-log/meson.build
hwdb/meson.build
man/meson.build
meson.build
network/meson.build
shell-completion/bash/meson.build
shell-completion/zsh/meson.build
src/boot/efi/meson.build
src/coredump/meson.build
src/hostname/meson.build
src/import/meson.build
src/journal-remote/meson.build
src/journal/meson.build
src/locale/meson.build
src/login/meson.build
src/machine/meson.build
src/network/meson.build
src/resolve/meson.build
src/shared/meson.build
src/timedate/meson.build
src/timesync/meson.build
src/udev/meson.build
src/vconsole/meson.build
sysctl.d/meson.build
sysusers.d/meson.build
test/meson.build
tmpfiles.d/meson.build
units/meson.build