]> www.infradead.org Git - users/hch/xfsprogs.git/commit
libxfs: add autoconf mechanism to override system header fsxattr
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Oct 2016 22:14:32 +0000 (15:14 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 26 Oct 2016 18:14:48 +0000 (11:14 -0700)
commit6529e6565e7a2fd57e07863e4175936a12c09ecb
tree1716ebfc59dab0dfc2ac2c479b523d7c18e655e1
parent7536ce44f6a319f87a11a44fdbe41b1c08d14a1e
libxfs: add autoconf mechanism to override system header fsxattr

By default, libxfs will use the kernel/system headers to define struct
fsxattr.  Unfortunately, this creates a problem for developers who are
writing new features but building xfsprogs on a stable system, because
the stable kernel's headers don't reflect the new feature.  In this
case, we want to be able to use the internal fsxattr definition while
the kernel headers catch up, so provide some configure magic to allow
further patches to force the use of the internal definition.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
v2: Remove the user-visible configure option but leave the fsxattr
override ability so that subsequent patches can trigger it if
necessary.
configure.ac
include/builddefs.in
include/linux.h
io/fiemap.c
m4/package_libcdev.m4