From 1b1efab489353734f0047f97fe5fef7f96d0ee68 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 14 May 2002 19:28:34 +0000 Subject: compile with -Wall -W -pendantic when --enable-debug is set. --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index a211949d..0e020f52 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl configure.in for Openbox dnl Initialize autoconf and automake AC_INIT(src/openbox.cc) -AM_INIT_AUTOMAKE(openbox,1.1.1,no-define) +AM_INIT_AUTOMAKE(openbox,1.2.0,no-define) dnl Determine default prefix test x$prefix = "xNONE" && prefix="$ac_default_prefix" @@ -172,7 +172,7 @@ AC_ARG_ENABLE(debug, [ --enable-debug include verbose debugging code [default=no]], if test x$enableval = "xyes"; then AC_MSG_RESULT([yes]) - DEBUG="-DDEBUG" + DEBUG="-DDEBUG -Wall -W -pedantic" else AC_MSG_RESULT([no]) fi, -- cgit v1.2.3