meson variant of commit
1fc3471dfb8b ("libmount: check for struct statx").
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
conf.set('HAVE_STRUCT_MOUNT_ATTR', have_mountfd_api ? 1 : false)
conf.set('HAVE_MOUNTFD_API', have_mountfd_api ? 1 : false)
+have_struct_statx = cc.sizeof('struct statx', prefix : '#include <linux/stat.h>') > 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)