configure: enable -Wall by default

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jan Engelhardt <jengelh@inai.de>
This commit is contained in:
Yann E. MORIN" 2013-01-13 23:29:12 +01:00
parent 24b5ad69a4
commit 775a5e27bd

View File

@ -50,12 +50,13 @@ LT_INIT([disable-static])
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# Set misc options # 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( AC_ARG_ENABLE(
[wall], [wall],
[AS_HELP_STRING( [AS_HELP_STRING(
[--enable-wall], [--disable-wall],
[build with -Wall (default=no)])], [build with -Wall (default=yes)])],
[AS_CASE( [AS_CASE(
["$enableval"], ["$enableval"],
[yes], [wall_CFLAGS=-Wall], [yes], [wall_CFLAGS=-Wall],