From: Michael Jeanson Date: Thu, 11 Nov 2021 21:38:14 +0000 (-0500) Subject: fix: remove autoconf features default value in help message X-Git-Tag: v2.13.1~16 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9382b639b3a027b7d37507a0e74afcfa71e4f3ee;p=lttng-ust.git fix: remove autoconf features default value in help message The default values of yes|no can be confusing combined with the --enable / --disable switches of autoconf, remove them from the help message. Change-Id: I9a85d6d759372d3932c9a8d302d42a468f2e6520 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/m4/ae_config_feature.m4 b/m4/ae_config_feature.m4 index 7582c00f..828b4295 100644 --- a/m4/ae_config_feature.m4 +++ b/m4/ae_config_feature.m4 @@ -95,7 +95,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 1 +#serial 2 # AE_FEATURE_DEFAULT_ENABLE: The next feature defined with AE_FEATURE will @@ -230,7 +230,7 @@ AS_IF([test "x$enable_[]FEATURE[]" = x && test "ae_feature_default_arg" = yes],[ AC_ARG_ENABLE([$1], AS_HELP_STRING([--ae_feature_default_switch-$1],dnl - [$2 [default=ae_feature_default_arg]]),[ + [$2]),[ case "${enableval}" in yes) enable_[]FEATURE[]=yes