mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
Merge pull request #3010 from cgwalters/more-composefs-fixes
build-sys: Really fix composefs check
This commit is contained in:
commit
bd91fda636
@ -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)])
|
||||
|
Loading…
x
Reference in New Issue
Block a user