From: Sergey Poznyakoff Date: Fri, 14 Feb 2014 08:55:26 +0000 (+0200) Subject: Use correct headers/libraries when providing xattr support X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=48a546b02c9e2c4e72a8aa83a2e36d1b8f24536b;hp=48a546b02c9e2c4e72a8aa83a2e36d1b8f24536b;p=chaz%2Ftar 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 first and then for . 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. ---