diff options
author | Brice De Bruyne <bricedb@gmail.com> | 2015-04-27 14:57:56 +0200 |
---|---|---|
committer | Andreas Gruenbacher <andreas.gruenbacher@gmail.com> | 2015-04-27 14:57:56 +0200 |
commit | 79f563779b9b9ba89cc2352d70e3cdf27acff513 (patch) | |
tree | a06b12450dfbb51f0dbfe3f371dea9cdccf41134 /m4 | |
parent | 124e431e677f5ed3c45f71105a6770ceb96199dd (diff) | |
download | acl-79f563779b9b9ba89cc2352d70e3cdf27acff513.tar.gz |
fix compilation with latest xattr git
The attr package has <attr/xattr.h> removed, but acl has not been adapted yet.
I took the liberty to cook up this patch that includes <sys/xattr.h> instead of
<attr/xattr.h> in affected c files and I added errno.h plus a define of ENOATTR
to c files where needed.
I also removed the AC_PACKAGE_NEED_ATTR_XATTR_H definition from
package_attrdev.m4, and changed configure to skip this test.
Further changes by Andreas: Move the ENOATTR check into libacl.h.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/package_attrdev.m4 | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/m4/package_attrdev.m4 b/m4/package_attrdev.m4 index 92c9135..1891bb2 100644 --- a/m4/package_attrdev.m4 +++ b/m4/package_attrdev.m4 @@ -12,17 +12,6 @@ dnl GNU General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program. If not, see <http://www.gnu.org/licenses/>. -AC_DEFUN([AC_PACKAGE_NEED_ATTR_XATTR_H], - [ AC_CHECK_HEADERS([attr/xattr.h]) - if test "$ac_cv_header_attr_xattr_h" != "yes"; then - echo - echo 'FATAL ERROR: attr/xattr.h does not exist.' - echo 'Install the extended attributes (attr) development package.' - echo 'Alternatively, run "make install-dev" from the attr source.' - exit 1 - fi - ]) - AC_DEFUN([AC_PACKAGE_NEED_ATTR_ERROR_H], [ AC_CHECK_HEADERS([attr/error_context.h]) if test "$ac_cv_header_attr_error_context_h" != "yes"; then |