From: Max Harmathy Date: Fri, 15 Dec 2017 15:05:25 +0000 (+0100) Subject: Fix logical error in meson.build (#7658) X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=598c6f2e5d8e834b1dd8fc26f1c31faf427030b1;p=elogind.git Fix logical error in meson.build (#7658) sysvinit_path and sysvrcnd_path have to be set both to activate Sysv compatibility. --- 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'] : []