commit 07f37c64f8124c59927b86a6770c488bf22f707f
Author: Ali Raheem <github(a)shoryuken.me>
Date: Mon Jan 18 19:37:26 2021 +0000
Bugfix for 40236
Make configure script minireport accurate automatic detection and usage of liblzma and libzstd
---
changes/bug40236 | 2 ++
configure.ac | 4 ++--
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