From: Stéphane Graber Date: Mon, 30 May 2022 22:08:04 +0000 (-0400) Subject: meson: Rename want_io_uring X-Git-Tag: lxc-5.0.0~12^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d8a38b260a8f8b1626db1f6a572beda3b699842;p=thirdparty%2Flxc.git meson: Rename want_io_uring Signed-off-by: Stéphane Graber --- diff --git a/meson.build b/meson.build index 8d55a5d83..1fce9d6f0 100644 --- a/meson.build +++ b/meson.build @@ -117,8 +117,8 @@ conf.set_quoted('LXC_USERNIC_DB', lxc_user_network_db) # Custom configuration. cgrouppattern = get_option('cgroup-pattern') -wants_io_uring = get_option('io-uring-event-loop') want_examples = get_option('examples') +want_io_uring = get_option('io-uring-event-loop') want_pam_cgroup = get_option('pam-cgroup') want_mans = get_option('man') want_tests = get_option('tests') @@ -186,7 +186,7 @@ add_project_arguments(cc.get_supported_arguments(possible_cc_flags), language: ' # Feature detection ## I/O uring. -if wants_io_uring +if want_io_uring liburing = dependency('liburing') if cc.has_function('io_uring_prep_poll_add', prefix: '#include ', dependencies: liburing) == false error('liburing version does not support IORING_POLL_ADD_MULTI') @@ -598,7 +598,7 @@ liblxc_dependencies = [ libapparmor, ] -if wants_io_uring +if want_io_uring liblxc_dependencies += [liburing] endif