]> Dogcows Code - chaz/tar/commit
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)
commit48a546b02c9e2c4e72a8aa83a2e36d1b8f24536b
treee267e575ce946962b2801f3a6fd33ac9600f67e0
parent46da9968df4bad8ce3899f98000aa5612375d29f
Use correct headers/libraries when providing xattr support

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.
acinclude.m4
lib/xattr-at.h
src/Makefile.am
This page took 0.027268 seconds and 4 git commands to generate.