From: Max Harmathy Date: Fri, 15 Dec 2017 15:05:25 +0000 (+0100) Subject: Fix logical error in meson.build (#7658) X-Git-Tag: v237~215 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5424824adf79f079b7f60c187c88d2811cb3248d;p=thirdparty%2Fsystemd.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 ddc061c1265..9f0a0f97f1f 100644 --- a/meson.build +++ b/meson.build @@ -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'] : []