]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
configure: use sys/xattr.h for fsetxattr detection
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 28 Mar 2019 23:04:51 +0000 (18:04 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 28 Mar 2019 23:04:51 +0000 (18:04 -0500)
commitf5629402f53e421d1fcade4f04c36a7b38d3a52e
tree2c863feadc0787f53d7b94e923e366c2b5b048b2
parent6570dc5d6d21315220f3a3652c344b9bf516ae7e
configure: use sys/xattr.h for fsetxattr detection

The only user of fsetxattr and HAVE_FSETXATTR is fsr, which includes
sys/xattr.h (from libc).  However, the m4 macro to detect fsetxattr
support requires attr/xattr.h (from libattr).  libattr dropped xattr.h
last year, so update the check.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
m4/package_libcdev.m4