Skip to content

Improved libmount configure checks

Markus Mayer util-linux 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2libmount: check for linux/mount.hconfigure.ac include/mount-api-utils.h libmount/src/hook_idmap.c +2 more+14 -60 replies
2/2libmount: check for struct statxconfigure.ac include/fileutils.h libmount/src/utils.c+3 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Improved libmount configure checks

To increase compatibility and prevent avoidable build errors, add two explicit configure checks that allow libmount to successfully build in more diverse environments rather than producing compiler errors in those situations.

This applies to:
- cross compiling
- using older kernel headers (e.g. 4.9)
- using alternate C libraries (e.g. musl)

Markus Mayer (2):
libmount: check for linux/mount.h
libmount: check for struct statx

 configure.ac              | 9 +++++++++
 include/fileutils.h       | 2 +-
 include/mount-api-utils.h | 4 ++--
 libmount/src/hook_idmap.c | 4 ++--
 libmount/src/hooks.c      | 2 +-
 libmount/src/utils.c      | 2 +-
 libmount/src/version.c    | 2 +-
 7 files changed, 17 insertions(+), 8 deletions(-)
Signature · 1 line
2.40.1