]> git.sur5r.net Git - kconfig-frontends/commitdiff
configure: enable -Wall by default
authorYann E. MORIN" <yann.morin.1998@free.fr>
Sun, 13 Jan 2013 22:29:12 +0000 (23:29 +0100)
committerYann E. MORIN" <yann.morin.1998@free.fr>
Sun, 13 Jan 2013 22:29:12 +0000 (23:29 +0100)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jan Engelhardt <jengelh@inai.de>
configure.ac

index 1fef6777ed6bbacdcbb8722b6c16d4d147046d37..b8ced6710898493f7470760834d445c429dd9efc 100644 (file)
@@ -50,12 +50,13 @@ LT_INIT([disable-static])
 #---------------------------------------------------------------------------
 # Set misc options
 
-# By default, do not build with -Wall, unless the user asks for it
+# By default, do build with -Wall, unless the user asks not to
+[wall_CFLAGS=-Wall]
 AC_ARG_ENABLE(
     [wall],
     [AS_HELP_STRING(
-        [--enable-wall],
-        [build with -Wall (default=no)])],
+        [--disable-wall],
+        [build with -Wall (default=yes)])],
     [AS_CASE(
         ["$enableval"],
         [yes], [wall_CFLAGS=-Wall],