aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2018-10-23 10:58:07 +0000
committerMartin Matuska <mm@FreeBSD.org>2018-10-23 10:58:07 +0000
commit30bb24b1cb0751cbbb2b53d60e3e4f5bdbe58abb (patch)
tree9171287ccceff48608b8bd6649eb56d020923550 /configure.ac
parent21d41b7887a19cdbe00ce6559aafa5b111e3efe2 (diff)
downloadsrc-30bb24b1cb0751cbbb2b53d60e3e4f5bdbe58abb.tar.gz
src-30bb24b1cb0751cbbb2b53d60e3e4f5bdbe58abb.zip
Update vendor/libarchive/dist to git d5f35a90a4cb1eeb918213bff9d78e8b0471dc0a
Relevant vendor changes: PR #1013: Add missing h_base offset when performing absolute seeks in xar decompression PR #1061: Add support for extraction of RAR v5 archives PR #1066: Fix out of bounds read on empty string filename for gnutar, pax and v7tar PR #1067: Fix temporary file path buffer overflow in tests IS #1068: Correctly process and verify integer arguments passed to bsdcpio and bsdtar PR #1070: Don't default XAR entry atime/mtime to the current time
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=339640
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 17d6641888bf..64f77a673682 100644
--- a/configure.ac
+++ b/configure.ac
@@ -340,6 +340,16 @@ if test "x$with_bz2lib" != "xno"; then
esac
fi
+AC_ARG_WITH([libb2],
+ AS_HELP_STRING([--without-libb2], [Don't build support for BLAKE2 through libb2]))
+
+if test "x$with_libb2" != "xno"; then
+ AC_CHECK_HEADERS([blake2.h])
+ AC_CHECK_LIB(b2,blake2sp_init)
+fi
+
+AM_CONDITIONAL([INC_BLAKE2], [test "x$ac_cv_lib_b2_blake2sp_init" != "xyes"])
+
AC_ARG_WITH([iconv],
AS_HELP_STRING([--without-iconv], [Don't try to link against iconv]))