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
# 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],