Skip to content

Commit

Permalink
build-sys: Really fix composefs check
Browse files Browse the repository at this point in the history
The ordering of the includes apparently matters...and I didn't
actually check that the previous change enables composefs on c9s.
But I did now.  For reals.
  • Loading branch information
cgwalters committed Aug 24, 2023
1 parent db3b286 commit be8dd42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,11 @@ AM_CONDITIONAL(USE_GPGME, test "x$have_gpgme" = xyes)
dnl composefs won't work at all without this
AC_MSG_CHECKING([for MOUNT_ATTR_IDMAP])
AC_COMPILE_IFELSE(
[AC_LANG_SOURCE([[
#include <linux/mount.h>
[AC_LANG_PROGRAM([
#include <sys/mount.h>
int foo = MOUNT_ATTR_IDMAP;
]])],
#include <linux/mount.h>
],[int foo = MOUNT_ATTR_IDMAP;]
)],
[AC_MSG_RESULT(yes)
have_mount_attr_idmap=yes],
[AC_MSG_RESULT(no)])
Expand Down

0 comments on commit be8dd42

Please sign in to comment.