diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2015-03-31 21:12:30 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2016-12-26 20:37:40 +0200 |
commit | 3ca1d5e6320111043e19434da881065fadafa0e4 (patch) | |
tree | 21d9b96e5b61667d9e52f560e1554a637f9a11ae /src/xz/main.c | |
parent | Add m4/ax_check_capsicum.m4 for detecting Capsicum support. (diff) | |
download | xz-3ca1d5e6320111043e19434da881065fadafa0e4.tar.xz |
Fix bugs and otherwise improve ax_check_capsicum.m4.
AU_ALIAS was removed because the new version is incompatible
with the old version.
It no longer checks for <sys/capability.h> separately.
It's enough to test for it as part of AC_CHECK_DECL.
The defines HAVE_CAPSICUM_SYS_CAPSICUM_H and
HAVE_CAPSICUM_SYS_CAPABILITY_H were removed as unneeded.
HAVE_SYS_CAPSICUM_H from AC_CHECK_HEADERS is enough.
It no longer does a useless search for the Capsicum library
if the header wasn't found.
Fixed a bug in ACTION-IF-FOUND (the first argument). Specifying
the argument omitted the default action but the given action
wasn't used instead.
AC_DEFINE([HAVE_CAPSICUM]) is now always called when Capsicum
support is found. Previously it was part of the default
ACTION-IF-FOUND which a custom action would override. Now
the default action only prepends ${CAPSICUM_LIB} to LIBS.
The documentation was updated.
Since there as no serial number, "#serial 2" was added.
Diffstat (limited to 'src/xz/main.c')
0 files changed, 0 insertions, 0 deletions