[kaffe] CVS kaffe (doogie): The processing of --disable-debug had the CPPFLAGS block only running when

Kaffe CVS cvs-commits at kaffe.org
Fri Dec 17 22:23:12 PST 2004


PatchSet 5656 
Date: 2004/12/18 06:18:45
Author: doogie
Branch: HEAD
Tag: (none) 
Log:
The processing of --disable-debug had the CPPFLAGS block only running when
--disable-debug is specified.  It never ran in the default case, so
-vmdebug was never a valid option.

Members: 
	ChangeLog:1.3201->1.3202 
	configure.ac:1.94->1.95 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3201 kaffe/ChangeLog:1.3202
--- kaffe/ChangeLog:1.3201	Fri Dec 17 17:47:32 2004
+++ kaffe/ChangeLog	Sat Dec 18 06:18:45 2004
@@ -1,3 +1,10 @@
+2004-12-18  Adam Heath  <doogieg at brainfood.com>
+
+	* configure.ac:
+	  The processing of --disable-debug had the CPPFLAGS block only
+	  running when --disable-debug is specified.  It never ran in the
+	  default case, so -vmdebug was never a valid option.
+
 2004-12-16  Adam Heath  <doogieg at brainfood.com>
 
 	* config/i386/linux/xprofile-md.h, kaffe/kaffe/main.c
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.94 kaffe/configure.ac:1.95
--- kaffe/configure.ac:1.94	Tue Dec 14 06:05:15 2004
+++ kaffe/configure.ac	Sat Dec 18 06:18:48 2004
@@ -469,13 +469,12 @@
 AC_ARG_ENABLE([debug],
 	      AS_HELP_STRING([--disable-debug],
 			     [Disable run-time debugging machinery. It is enabled by default.]),
-[
+			     [],
+	[enable_debug="yes"])
 case "$enable_debug" in
 no) CPPFLAGS="$CPPFLAGS -DNDEBUG";;
 *) CPPFLAGS="$CPPFLAGS -DKAFFE_VMDEBUG";;
 esac
-],
-	[enable_debug="yes"])
 
 AC_MSG_CHECKING([whether to enable run-time debugging machinery])
 AC_MSG_RESULT($enable_debug)




More information about the kaffe mailing list