public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* [PATCH] Cygwin: Use AS_HELP_STRING for --enable-debugging
@ 2021-12-13 13:36 Jon Turney
  2021-12-13 13:53 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Turney @ 2021-12-13 13:36 UTC (permalink / raw)
  To: cygwin-patches; +Cc: Jon Turney

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Cygwin: Use AS_HELP_STRING for --enable-debugging
  2021-12-13 13:36 [PATCH] Cygwin: Use AS_HELP_STRING for --enable-debugging Jon Turney
@ 2021-12-13 13:53 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2021-12-13 13:53 UTC (permalink / raw)
  To: cygwin-patches

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-13 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-13 13:36 [PATCH] Cygwin: Use AS_HELP_STRING for --enable-debugging Jon Turney
2021-12-13 13:53 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).