From 598c6f2e5d8e834b1dd8fc26f1c31faf427030b1 Mon Sep 17 00:00:00 2001 From: Max Harmathy Date: Fri, 15 Dec 2017 16:05:25 +0100 Subject: [PATCH] Fix logical error in meson.build (#7658) sysvinit_path and sysvrcnd_path have to be set both to activate Sysv compatibility. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ca6677993..147355578 100644 --- a/meson.build +++ b/meson.build @@ -84,7 +84,7 @@ endif #if 0 /// UNNEEDED by elogind # 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'] : [] -- 2.30.2