]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fix logical error in meson.build (#7658)
authorMax Harmathy <max.harmathy@web.de>
Fri, 15 Dec 2017 15:05:25 +0000 (16:05 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 15 Dec 2017 15:05:25 +0000 (16:05 +0100)
sysvinit_path and sysvrcnd_path have to be set both to activate Sysv compatibility.

meson.build

index ddc061c126539fe35670ca8e3f5bb7afb925b387..9f0a0f97f1f178228dce1821ea477d76b8dc7d28 100644 (file)
@@ -67,7 +67,7 @@ endif
 
 sysvinit_path = get_option('sysvinit-path')
 sysvrcnd_path = get_option('sysvrcnd-path')
-have = sysvinit_path != '' or sysvrcnd_path != ''
+have = sysvinit_path != '' and sysvrcnd_path != ''
 conf.set10('HAVE_SYSV_COMPAT', have,
            description : 'SysV init scripts and rcN.d links are supported')
 m4_defines += have ? ['-DHAVE_SYSV_COMPAT'] : []