X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=m4%2Fae_config_feature.m4;h=1d7cd5831ab57ed2c64124141359eaf4698618a0;hb=5df9d1a4a0099b2e4a6c954bac935b9808fc33b9;hp=7582c00f983dddbd22e90f55814b167429d5eb6b;hpb=86bc2ad861ba2a9108b83074f99698269799038e;p=urcu.git diff --git a/m4/ae_config_feature.m4 b/m4/ae_config_feature.m4 index 7582c00..1d7cd58 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 @@ -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