[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-dev] Commit Complete



Commit by  : luke
Repository : xara
Revision   : 706
Date       : Wed Mar 22 13:57:06 GMT 2006

Changed paths:
   M /Trunk/XaraLX/configure.in

Fix to make debug and static flags work how their expected too.


Diff:
Index: Trunk/XaraLX/configure.in
===================================================================
--- Trunk/XaraLX/configure.in	(revision 705)
+++ Trunk/XaraLX/configure.in	(revision 706)
@@ -8,17 +8,21 @@
 AC_ARG_ENABLE(debug,
 [[  --enable-debug          Add more debug information and checks to executable]],
 [
+	if test $enableval == "yes"; then
 		DEBUG_FLAGS="-ggdb -D_DEBUG"
 		OPT_FLAGS="-O0"
 		DebugEnable="yes"
+	fi
 ])
 
 StaticEnable="no"
 AC_ARG_ENABLE(static-exec,
 [[  --enable-static-exec    Build a statically linked version of the executable]],
 [
-	StaticEnable="yes"
-	DebugEnable="no"
+	if test $enableval == "yes"; then
+		StaticEnable="yes"
+		DebugEnable="no"
+	fi
 ])
 
 # Set language - this should be taken from a configure option


Xara