summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Raheem <github@shoryuken.me>2021-01-18 19:37:26 +0000
committerAli Raheem <github@shoryuken.me>2021-01-18 19:37:26 +0000
commit07f37c64f8124c59927b86a6770c488bf22f707f (patch)
tree2fcb0a0748e87d00d4185a05c2169eb7560db950
parent17eb6355320c414d83cbc3c1930ec54ae7cd1ea4 (diff)
downloadtor-07f37c64f8124c59927b86a6770c488bf22f707f.tar.gz
tor-07f37c64f8124c59927b86a6770c488bf22f707f.zip
Bugfix for 40236
Make configure script minireport accurate automatic detection and usage of liblzma and libzstd
-rw-r--r--changes/bug402362
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 2 deletions
diff --git a/changes/bug40236 b/changes/bug40236
new file mode 100644
index 0000000000..bb2b9a9558
--- /dev/null
+++ b/changes/bug40236
@@ -0,0 +1,2 @@
+ o Minor bugfixes (build):
+ - Mini-report in the configure script now shows whether or not lzma and zstd have been used, not just if enable flag passed in. Fixes bug 40236; bugfix on 0.4.3.1-alpha.
diff --git a/configure.ac b/configure.ac
index 921e2f197e..9a43684a30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2659,10 +2659,10 @@ PPRINT_PROP_BOOL([libscrypt (--disable-libscrypt)], $value)
test "x$enable_systemd" = "xyes" && value=1 || value=0
PPRINT_PROP_BOOL([Systemd support (--enable-systemd)], $value)
-test "x$enable_lzma" = "xyes" && value=1 || value=0
+test "x$have_lzma" = "xyes" && value=1 || value=0
PPRINT_PROP_BOOL([liblzma (--enable-lzma)], $value)
-test "x$enable_zstd" = "xyes" && value=1 || value=0
+test "x$have_zstd" = "xyes" && value=1 || value=0
PPRINT_PROP_BOOL([libzstd (--enable-zstd)], $value)
AS_ECHO