# SPDX-License-Identifier: LGPL-2.1-or-later
-if want_mans == true
+if want_mans
PAGES = [
['lxc', '7'],
['lxc.conf', '5'],
['lxc-usernsexec', '1'],
]
- if want_tools == true
+ if want_tools
PAGES += [
['lxc-attach', '1'],
['lxc-autostart', '1'],
]
endif
- if want_pam_cgroup == true
+ if want_pam_cgroup
PAGES += [
['pam_cgfs', '8'],
]
# SPDX-License-Identifier: LGPL-2.1-or-later
-if want_mans == true
+if want_mans
PAGES = [
['lxc', '7'],
['lxc.conf', '5'],
['lxc-usernsexec', '1'],
]
- if want_tools == true
+ if want_tools
PAGES += [
['lxc-attach', '1'],
['lxc-autostart', '1'],
# SPDX-License-Identifier: LGPL-2.1-or-later
-if want_mans == true
+if want_mans
PAGES = [
['lxc', '7'],
['lxc.conf', '5'],
['lxc-usernsexec', '1'],
]
- if want_tools == true
+ if want_tools
PAGES += [
['lxc-attach', '1'],
['lxc-autostart', '1'],
]
endif
- if want_pam_cgroup == true
+ if want_pam_cgroup
PAGES += [
['pam_cgfs', '8'],
]
# Feature detection
## I/O uring.
-if wants_io_uring == true
+if wants_io_uring
liburing = dependency('liburing')
if cc.has_function('io_uring_prep_poll_add', prefix: '#include <liburing.h>', dependencies: liburing) == false
error('liburing version does not support IORING_POLL_ADD_MULTI')
libapparmor,
]
-if wants_io_uring == true
+if wants_io_uring
liblxc_dependencies += [liburing]
endif
'../string_utils.c',
'../string_utils.h') + include_sources
-if want_pam_cgroup == true
+if want_pam_cgroup
pam_cgfs = shared_module(
'pam_cgfs',
include_directories: pam_cgfs_includes,
tools_lxc_wait_sources = files(
'lxc_wait.c') + tools_common_sources
-if want_tools == true
+if want_tools
public_programs += executable(
'lxc-attach',
tools_lxc_attach_sources,