maint: Document how to best to enable gcc warnings for developers
authorPádraig Brady <P@draigBrady.com>
Wed, 11 Mar 2009 12:09:08 +0000 (12:09 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 11 Mar 2009 14:52:52 +0000 (14:52 +0000)
* README-hacking: Mention --enable-gcc-warnings configure option
* configure.ac: Don't scare developers away from using gcc warnings

README-hacking
configure.ac

index 433ef41..668d8d9 100644 (file)
@@ -53,7 +53,7 @@ which are extracted from other source packages:
 
 And there you are!  Just
 
-        $ ./configure
+        $ ./configure #[--enable-gcc-warnings]
         $ make
         $ make check
 
index f10191f..f3172ad 100644 (file)
@@ -46,7 +46,7 @@ coreutils_MACROS
 
 AC_ARG_ENABLE([gcc-warnings],
   [AS_HELP_STRING([--enable-gcc-warnings],
-                 [turn on lots of GCC warnings (not recommended)])],
+                 [turn on lots of GCC warnings (for developers)])],
   [case $enableval in
      yes|no) ;;
      *)      AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;