[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 23:35:09 PST 2004


PatchSet 5657 
Date: 2004/12/18 07:30:50
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.3202->1.3203 
	configure:1.400->1.401 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3202 kaffe/ChangeLog:1.3203
--- kaffe/ChangeLog:1.3202	Sat Dec 18 06:18:45 2004
+++ kaffe/ChangeLog	Sat Dec 18 07:30:50 2004
@@ -1,6 +1,6 @@
 2004-12-18  Adam Heath  <doogieg at brainfood.com>
 
-	* configure.ac:
+	* configure.ac, configure:
 	  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.
Index: kaffe/configure
diff -u kaffe/configure:1.400 kaffe/configure:1.401
--- kaffe/configure:1.400	Tue Dec 14 06:05:12 2004
+++ kaffe/configure	Sat Dec 18 07:30:46 2004
@@ -27252,23 +27252,25 @@
 engine_frag=$srcdir/kaffe/kaffevm/$with_engine/Makefile.frag
 
 
+set -x
 # Check whether --enable-debug or --disable-debug was given.
 if test "${enable_debug+set}" = set; then
   enableval="$enable_debug"
 
-case "$enable_debug" in
-no) CPPFLAGS="$CPPFLAGS -DNDEBUG";;
-*) CPPFLAGS="$CPPFLAGS -DKAFFE_VMDEBUG";;
-esac
 
 else
   enable_debug="yes"
 fi;
+case "$enable_debug" in
+no) CPPFLAGS="$CPPFLAGS -DNDEBUG";;
+*) CPPFLAGS="$CPPFLAGS -DKAFFE_VMDEBUG";;
+esac
 
 echo "$as_me:$LINENO: checking whether to enable run-time debugging machinery" >&5
 echo $ECHO_N "checking whether to enable run-time debugging machinery... $ECHO_C" >&6
 echo "$as_me:$LINENO: result: $enable_debug" >&5
 echo "${ECHO_T}$enable_debug" >&6
+set +x
 
 
 




More information about the kaffe mailing list