From: Thomas Weißschuh Date: Thu, 3 Aug 2023 10:22:29 +0000 (+0200) Subject: meson: add check for struct statx X-Git-Tag: v2.40-rc1~296^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8bcf89d38493b68b723778864ea2a11cee885ede;p=thirdparty%2Futil-linux.git meson: add check for struct statx meson variant of commit 1fc3471dfb8b ("libmount: check for struct statx"). Signed-off-by: Thomas Weißschuh --- diff --git a/meson.build b/meson.build index 6275d280ad..c935627dd0 100644 --- a/meson.build +++ b/meson.build @@ -82,6 +82,9 @@ have_mountfd_api = cc.sizeof('struct mount_attr', prefix : '#include ') > 0 +conf.set('HAVE_STRUCT_STATX', have_struct_statx ? 1 : false) + build_libmount = not get_option('build-libmount').disabled() conf.set('HAVE_LIBMOUNT', build_libmount ? 1 : false) conf.set('USE_LIBMOUNT_SUPPORT_NAMESPACES', 1)