From 775a5e27bd25b21ee69ad10789e3648001c0089d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 13 Jan 2013 23:29:12 +0100 Subject: [PATCH] configure: enable -Wall by default Signed-off-by: "Yann E. MORIN" Cc: Jan Engelhardt --- configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 1fef677..b8ced67 100644 --- a/configure.ac +++ b/configure.ac @@ -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], -- 2.39.5