]> Dogcows Code - chaz/tar/commitdiff
Use correct headers/libraries when providing xattr support
authorSergey Poznyakoff <gray@gnu.org.ua>
Fri, 14 Feb 2014 08:55:26 +0000 (10:55 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Fri, 14 Feb 2014 08:55:26 +0000 (10:55 +0200)
See https://savannah.gnu.org/patch/index.php?8252. Patch provided
by Anthony G. Basile.

* acinclude.m4 (TAR_HEADERS_ATTR_XATTR_H): Look for <sys/xattr.h>
first and then for <attr/xattr.h>.  Link against libattr.so if
needed.
* lib/xattr-at.h: Include sys/xattr.h or attr/xattr.h, depending
on which one is detected.
* src/Makefile.am [TAR_LIB_ATTR] (tar_LDADD): Link against -lattr.


No differences found
This page took 0.023848 seconds and 4 git commands to generate.