chiark / gitweb /
Fix logical error in meson.build (#7658)
authorMax Harmathy <max.harmathy@web.de>
Fri, 15 Dec 2017 15:05:25 +0000 (16:05 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:38 +0000 (07:49 +0200)
sysvinit_path and sysvrcnd_path have to be set both to activate Sysv compatibility.

meson.build

index ca6677993fdb50a7836bfb954e110c2ab505a637..147355578645cd747418f6f8cd89a0373ed461a6 100644 (file)
@@ -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'] : []