fix: remove autoconf features default value in help message
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 12 Nov 2021 19:51:57 +0000 (14:51 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 22 Nov 2021 21:56:28 +0000 (16:56 -0500)
The default values of yes|no can be confusing combined with the
--enable / --disable switches of autoconf, remove them from the help
message.

Before :

  --disable-man-pages     Do not build and install man pages (already built in
                          a distributed tarball
                          [default=yes]

After :

  --disable-man-pages     Do not build and install man pages (already built in
                          a distributed tarball

Change-Id: I7a290aaacbcd0d04e0efd161357755451e5d4d4d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/6742
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
m4/ae_config_feature.m4

index 7582c00f983dddbd22e90f55814b167429d5eb6b..1d7cd5831ab57ed2c64124141359eaf4698618a0 100644 (file)
@@ -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
@@ -211,7 +211,7 @@ m4_pushdef([FEATURE], patsubst([$1], -, _))dnl
 ])
 
 
-dnl Disabled by default, unless already overriden
+dnl Disabled by default, unless already overridden
 m4_ifndef([ae_feature_default_arg],[AE_FEATURE_DEFAULT_DISABLE])
 
 
@@ -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
This page took 0.024871 seconds and 4 git commands to generate.