]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
configure: Fix enabled module variable expansion
authorDavid Goulet <dgoulet@torproject.org>
Tue, 31 Mar 2020 12:21:12 +0000 (08:21 -0400)
committerteor <teor@torproject.org>
Wed, 1 Apr 2020 13:02:24 +0000 (23:02 +1000)
Fixes #33646

Signed-off-by: David Goulet <dgoulet@torproject.org>
changes/ticket33646 [new file with mode: 0644]
configure.ac

diff --git a/changes/ticket33646 b/changes/ticket33646
new file mode 100644 (file)
index 0000000..751c5d5
--- /dev/null
@@ -0,0 +1,4 @@
+  o Minor bugfixes (build system):
+    - Correctly output the enabled module in the configure summary. Before that,
+      the list shown was just plain wrong. Fixes bug 33646; bugfix on
+      0.4.3.2-alpha.
index b4bea277f6afaad1648191f91387d2b68c2bee11..27cfda1be3088ab0565dd1cf3a73559e9f0b64e6 100644 (file)
@@ -2665,7 +2665,7 @@ PPRINT_SUBTITLE([Modules])
 
 m4_foreach_w([mname], MODULES,
   [
-    test "xenable_module_mname" != "xno" && value=1 || value=0
+    AM_COND_IF(m4_join([], [BUILD_MODULE_], m4_toupper([]mname[])), value=1, value=0)
     PPRINT_PROP_BOOL([mname (--disable-module-mname)], $value)
   ]
 )