[PATCH 0/2] Improved libmount configure checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.40.1




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux