From 90dd7dc92a7f7f59224bef02e847511bfc6b4489 Mon Sep 17 00:00:00 2001 From: Taylor Yu Date: Tue, 30 May 2017 13:00:54 -0400 Subject: [PATCH] Check for libzstd >= 1.1 The consensus compression code depends on a streaming compression API that is new in libzstd-1.1. Fixes #22413. --- changes/bug22413 | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changes/bug22413 diff --git a/changes/bug22413 b/changes/bug22413 new file mode 100644 index 0000000000..5b522f1254 --- /dev/null +++ b/changes/bug22413 @@ -0,0 +1,4 @@ + o Minor bugfixes (directory protocol): + - Check for libzstd >= 1.1 because older versions lack the + necessary streaming API. Fixes bug 22413; bugfix on + 0.3.1.1-alpha. diff --git a/configure.ac b/configure.ac index 59908c71aa..064644ec0d 100644 --- a/configure.ac +++ b/configure.ac @@ -856,7 +856,7 @@ if test "x$enable_zstd" = "xno"; then have_zstd=no; else PKG_CHECK_MODULES([ZSTD], - [libzstd], + [libzstd >= 1.1], have_zstd=yes, have_zstd=no)