diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2016-11-29 22:31:11 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2016-11-29 22:31:11 +0100 |
commit | 3a6aff82ce1419350514942e7fca1769793bcd7a (patch) | |
tree | bbd4e79001d949c10c2768ec2c5d5dfd85bf26ce /ubi-utils/ubidetach.c | |
parent | 5a7f6196e6cada162cdb89e56841ececb1a7a3a5 (diff) |
Define WITHOUT_XATTR if sys/acl.h or sys/xattr.h is missing
The programs mkfs.jffs2 and mkfs.ubifs include those two headers if
WITHOUT_XATTR is not defined. Up to now, this macro is only defined
if the configure script is run with --without-xattr. If the headers
are not present on a system and the configure script is run without
special flags set, the build fails.
This patch adds a check for the presence of those headers and disables
the feature if one of the headers is missing.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubi-utils/ubidetach.c')
0 files changed, 0 insertions, 0 deletions