[Scummvm-cvs-logs] CVS: scummvm configure,1.40,1.41

James Brown ender at users.sourceforge.net
Sun Aug 10 00:57:02 CEST 2003


Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1:/tmp/cvs-serv25514

Modified Files:
	configure 
Log Message:
Use debug by default for CVS trunk


Index: configure
===================================================================
RCS file: /cvsroot/scummvm/scummvm/configure,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- configure	10 Aug 2003 00:44:03 -0000	1.40
+++ configure	10 Aug 2003 07:56:05 -0000	1.41
@@ -177,6 +177,8 @@
   fi
 done # for parm in ...
 
+DEBFLAGS="-g"
+
 for ac_option in $@; do
     case "$ac_option" in
       --disable-scumm)		_build_scumm=no ;;
@@ -212,8 +214,11 @@
       --backend=*)
         _backend=`echo $ac_option | cut -d '=' -f 2`
 	;;
-      --enable-debug)
-        CXXFLAGS="$CXXFLAGS -g"
+      --disable-debug)
+	DEBFLAGS=""
+        ;;
+      --enable-release)
+	DEBFLAGS=""
         ;;
       *)
         echo "error: unrecognised option: $ac_option
@@ -223,6 +228,7 @@
     esac;
 done;
 
+CXXFLAGS="$CXXFLAGS $DEBFLAGS"
 #
 # Determine the C++ compiler
 #





More information about the Scummvm-git-logs mailing list