[PATCH] Cygwin: Fix configure help for --{en,dis}able-doc option.

Jon Turney jon.turney@dronecode.org.uk
Tue Jan 18 19:57:05 GMT 2022


Report '--disable-doc' in 'configure --help', as enable is the default.
---
 winsup/configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/configure.ac b/winsup/configure.ac
index 4ae20509a..b8d2100db 100644
--- a/winsup/configure.ac
+++ b/winsup/configure.ac
@@ -89,7 +89,7 @@ AC_SUBST(TLSOFFSETS_H)
 AM_CONDITIONAL(TARGET_X86_64, [test $target_cpu = "x86_64"])
 
 AC_ARG_ENABLE(doc,
-	      [AS_HELP_STRING([--enable-doc], [Build documentation])],,
+	      [AS_HELP_STRING([--disable-doc], [do not build documentation])],,
 	      enable_doc=yes)
 AM_CONDITIONAL(BUILD_DOC, [test $enable_doc != "no"])
 
-- 
2.34.1



More information about the Cygwin-patches mailing list