From dcae7c2869f3a6bc0bee61199a21411d50760582 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Fri, 6 May 2005 20:36:21 +0000 Subject: [PATCH] 2005-05-06 Mike Kestner * configure.in.in : always enable debug build in maintainer_mode. svn path=/trunk/gtk-sharp/; revision=44170 --- ChangeLog | 4 ++++ configure.in.in | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index f5a21839e..1940c4b7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-05-06 Mike Kestner + + * configure.in.in : always enable debug build in maintainer_mode. + 2005-05-06 Mike Kestner * gdk/Pixbuf.custom : move the GetCallingAssembly invocations back out diff --git a/configure.in.in b/configure.in.in index 9055a423a..16a135d2e 100644 --- a/configure.in.in +++ b/configure.in.in @@ -39,10 +39,14 @@ AC_CHECK_SIZEOF(void *, 4) CFLAGS='-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings' +if test "x$enable_maintainer_mode" = "xyes"; then +DEBUG_FLAGS='-g' +else DEBUG_FLAGS= AC_ARG_ENABLE(debug, [ --enable-debug Build debugger (.mdb) files for dlls], DEBUG_FLAGS='-g' ) +fi CSDEFINES='@VERSIONCSDEFINES@' CSFLAGS="$DEBUG_FLAGS $CSDEFINES"