mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-09 01:18:35 +03:00
configure: Expose MOUNT_ATTR_IDMAP detection result to C code
This is to allow compiling composefs on machines having somewhat old Linux kernel headers. Signed-off-by: Rogerio Guerra Borin <rogerio.borin@toradex.com>
This commit is contained in:
parent
9350006011
commit
cdfdfed27d
@ -295,6 +295,7 @@ AC_COMPILE_IFELSE(
|
||||
],[int foo = MOUNT_ATTR_IDMAP;]
|
||||
)],
|
||||
[AC_MSG_RESULT(yes)
|
||||
AC_DEFINE([HAVE_MOUNT_ATTR_IDMAP], 1, [Define if MOUNT_ATTR_IDMAP is available in linux/mount.h])
|
||||
have_mount_attr_idmap=yes],
|
||||
[AC_MSG_RESULT(no)])
|
||||
dnl These are needed by libcomposefs to use the new mount API optionally
|
||||
|
Loading…
Reference in New Issue
Block a user