mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 09:56:51 +03:00
2c201c2140
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.
10 lines
234 B
Meson
10 lines
234 B
Meson
file = configure_file(
|
|
input : 'README.in',
|
|
output : 'README',
|
|
configuration : substs)
|
|
|
|
if conf.get('HAVE_SYSV_COMPAT', false)
|
|
install_data(file,
|
|
install_dir : sysvinit_path)
|
|
endif
|