[PATCH] Cygwin: Use AS_HELP_STRING for --enable-debugging

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Dec 13 13:53:10 GMT 2021


On Dec 13 13:36, Jon Turney wrote:
> Use AS_HELP_STRING in AC_ARG_WITH for --enable-debugging to ensure
> correct formatting in 'configure --help' output.
> ---
>  winsup/configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/winsup/configure.ac b/winsup/configure.ac
> index 79e78a5fc..cf1128b37 100644
> --- a/winsup/configure.ac
> +++ b/winsup/configure.ac
> @@ -58,7 +58,7 @@ AC_CHECK_TOOL(STRIP, strip, strip)
>  AC_CHECK_TOOL(WINDRES, windres, windres)
>  
>  AC_ARG_ENABLE(debugging,
> -[ --enable-debugging		Build a cygwin DLL which has more consistency checking for debugging],
> +[AS_HELP_STRING([--enable-debugging],[Build a cygwin DLL which has more consistency checking for debugging])],
>  [case "${enableval}" in
>  yes)	 AC_DEFINE([DEBUGGING],[1],[Define if DEBUGGING support is requested.]) ;;
>  no)	 ;;
> -- 
> 2.34.1

Please push.  You can treat this kind of autoconf/automake bugfix or
improvement as pre-approved.


Thanks,
Corinna


More information about the Cygwin-patches mailing list