From: David Goulet Date: Tue, 31 Mar 2020 12:21:12 +0000 (-0400) Subject: configure: Fix enabled module variable expansion X-Git-Tag: tor-0.4.3.4-rc~14^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c5c503a4ca892380a7ad26b8355faae6680bd47;p=thirdparty%2Ftor.git configure: Fix enabled module variable expansion Fixes #33646 Signed-off-by: David Goulet --- diff --git a/changes/ticket33646 b/changes/ticket33646 new file mode 100644 index 0000000000..751c5d5bf2 --- /dev/null +++ b/changes/ticket33646 @@ -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. diff --git a/configure.ac b/configure.ac index b4bea277f6..27cfda1be3 100644 --- a/configure.ac +++ b/configure.ac @@ -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) ] )