conf.set('WITH_SANLOCK_STRERROR', 1)
endif
endif
+else
+ sanlock_dep = dependency('', required: false)
endif
sasl_version = '2.1.26'
'libssh': libssh_dep.found(),
'libssh2': libssh2_dep.found(),
'libutil': libutil_dep.found(),
- 'netcf': conf.has('WITH_NETCF'),
+ 'netcf': netcf_dep.found(),
'NLS': have_gnu_gettext_tools,
'numactl': numactl_dep.found(),
'openwsman': openwsman_dep.found(),
'polkit': conf.has('WITH_POLKIT'),
'rbd': rbd_dep.found(),
'readline': readline_dep.found(),
- 'sanlock': conf.has('WITH_SANLOCK'),
+ 'sanlock': sanlock_dep.found(),
'sasl': sasl_dep.found(),
'selinux': selinux_dep.found(),
'udev': udev_dep.found(),