]> git.gag.com Git - debian/tar/commit
xattrs: fix build on Darwin
authorPavel Raiskup <praiskup@redhat.com>
Tue, 5 Apr 2016 14:53:47 +0000 (17:53 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 5 Apr 2016 14:55:19 +0000 (17:55 +0300)
commit733e2741b1b35915b7cddf4fa3b30425289e6e07
tree4ef4f209f1c72a340c4eea511810adb497c00741
parent195a25316cccced5832a749eb5351a715ded4157
xattrs: fix build on Darwin

Be careful to define HAVE_XATTRS when not all needed xattr-related
functions are properly defined either in libc or libattr.

Reported independently by Denis Excoffier and Dominyk Tille.

* acinclude.m4 (TAR_HEADERS_ATTR_XATTR_H): Check for each xattr
function separately.  Don't AC_CHECK_LIB (LIBS is filled by
AC_SEARCH_LIBS when necessary).
* src/Makefile.am: The LDADD -lattr was redundant.
acinclude.m4
src/Makefile.am