[PATCH] Separate option descriptions

Niko Rönkkö ronkko at iki.fi
Sun Nov 7 22:52:14 PST 2010


It's not good to use option descriptions like --enable/disable-*.

Also: If we want to replace default option descriptions with our owns,
then we shall describe them both (dependency-tracking).
---
 configure.in |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/configure.in b/configure.in
index 1caf430..4aea636 100644
--- a/configure.in
+++ b/configure.in
@@ -448,13 +448,17 @@ AC_ARG_ENABLE(build-unowinreg,
 ,)
 
 AC_ARG_ENABLE(verbose,
-    AS_HELP_STRING([--enable/disable-verbose],
-        [Increase/Decrease build verbosity.]),
+    AS_HELP_STRING([--enable-verbose],
+        [Increase build verbosity.])[
+  --disable-verbose       Decrease build verbosity.],
 ,)
 
 AC_ARG_ENABLE(dependency-tracking,
-    AS_HELP_STRING([--disable-dependency-tracking],
-        [Disables generation of dependency information.]),
+    AS_HELP_STRING([--enable-dependency-tracking],
+        [Do not reject slow dependency extractors.])[
+  --disable-dependency-tracking
+                          Disables generation of dependency information.
+                          Speed up one-time builds.],
 ,)
 
 AC_ARG_ENABLE(icecream,
-- 
1.7.0.4


--------------010005060905080203040506--


More information about the LibreOffice mailing list