Skip to content

Commit

Permalink
Merge pull request #3169 from rborn-tx/support-older-linux-headers
Browse files Browse the repository at this point in the history
Expose MOUNT_ATTR_IDMAP detection result to C code
  • Loading branch information
cgwalters committed Feb 12, 2024
2 parents 9350006 + cdfdfed commit c8cf230
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ AC_COMPILE_IFELSE(
],[int foo = MOUNT_ATTR_IDMAP;]
)],
[AC_MSG_RESULT(yes)
have_mount_attr_idmap=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
AC_MSG_CHECKING([for new mount API (fsconfig)])
Expand Down

0 comments on commit c8cf230

Please sign in to comment.