diff options
author | Taylor Yu <catalyst@torproject.org> | 2017-05-30 13:00:54 -0400 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2017-05-30 13:25:34 -0400 |
commit | 90dd7dc92a7f7f59224bef02e847511bfc6b4489 (patch) | |
tree | 62b0ce2cb73684278840c50520df587ef5a3542d | |
parent | 0fbe1a2c6f617e04d748ac333bf0dd28e28293c7 (diff) | |
download | tor-90dd7dc92a7f7f59224bef02e847511bfc6b4489.tar.gz tor-90dd7dc92a7f7f59224bef02e847511bfc6b4489.zip |
Check for libzstd >= 1.1
The consensus compression code depends on a streaming compression API
that is new in libzstd-1.1.
Fixes #22413.
-rw-r--r-- | changes/bug22413 | 4 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 5 insertions, 1 deletions
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) |