summaryrefslogtreecommitdiff
path: root/acinclude.m4
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearsSergey Poznyakoff2017-01-021-1/+1
|
* xattrs: fix build on DarwinPavel Raiskup2016-04-051-28/+14
| | | | | | | | | | | | 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.
* Update copyright yearsSergey Poznyakoff2016-01-201-1/+1
|
* Use correct headers/libraries when providing xattr supportSergey Poznyakoff2014-02-141-5/+27
| | | | | | | | | | | | 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.
* Update copyright years.Sergey Poznyakoff2014-01-301-1/+1
|
* maint: update copyrights for 2013 and as per current GNU standardsPaul Eggert2012-12-311-7/+9
|
* Prepare for implementing extended attribute support.Sergey Poznyakoff2012-11-181-0/+26
| | | | | | | | | | | | | | This patch adds *xattr() stubs in case extended attribute support is not present and implements the *attrat() family of functions. Based on the patch by Pavel Raiskup <pavel@raiskup.cz> for gnulib. * acinclude.m4 (TAR_HEADERS_ATTR_XATTR_H): New defun. * configure.ac: Call TAR_HEADERS_ATTR_XATTR_H * lib/Makefile.am: Add xattr-at.[ch], distribute attr-xattr.in.h [!TAR_COND_XATTR_H]: Build attr/xattr.h * lib/attr-xattr.in.h: New file. * lib/xattr-at.c: New file. * lib/xattr-at.h: New file.
* Improve previous changes.Sergey Poznyakoff2009-10-101-2/+2
| | | | | | | | | | | | | * acinclude.m4: Fix typos. * gnulib.modules: Add xvasprintf. * src/common.h: Include xvasprintf.h. * src/tar.c (options): Remove docstrings for --gzip, --bzip2, --compress, --lzop, --lzma and --xz. (tar_help_filter): Generate these using actual values of *_PROGRAM constants. (format_default_settings): Use xasprintf. (parse_opt): Use *_PROGRAM defines instead of hardcoded program names.
* Allow installers to specify alternative program names for compression programs.Sergey Poznyakoff2009-10-101-0/+26
| | | | | | | | | | | | | This adds --with-gzip, --with-bzip2 etc. switches to the configure, so that one can do, e.g. ./configure --with-bzip2=lbzip2 and have lbzip2 executed whenever user calls `tar --bzip2'. * acinclude.m4: New file. * configure.ac: Add TAR_COMPR_PROGRAM invocations for the supported compressors. * src/buffer.c (magic): Use *_COMPRESSOR defines instead of hardcoded program names. * src/suffix.c (compression_suffixes): Likewise.
* Migrate to GitSergey Poznyakoff2009-03-071-425/+0
|
* tar 1.12Paul Eggert1997-04-191-0/+425