[Scummvm-cvs-logs] SF.net SVN: scummvm:[48803] scummvm/trunk/configure
bluddy at users.sourceforge.net
bluddy at users.sourceforge.net
Mon Apr 26 14:11:21 CEST 2010
Revision: 48803
http://scummvm.svn.sourceforge.net/scummvm/?rev=48803&view=rev
Author: bluddy
Date: 2010-04-26 12:11:19 +0000 (Mon, 26 Apr 2010)
Log Message:
-----------
Modified configure to support PSP profiling
Modified Paths:
--------------
scummvm/trunk/configure
Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure 2010-04-26 10:28:38 UTC (rev 48802)
+++ scummvm/trunk/configure 2010-04-26 12:11:19 UTC (rev 48803)
@@ -132,6 +132,7 @@
_build_hq_scalers=yes
_build_scalers=yes
_indeo3=auto
+_enable_prof=no
# Default vkeybd/keymapper options
_vkeybd=no
_keymapper=no
@@ -788,8 +789,7 @@
_release_build=no
;;
--enable-profiling)
- CXXFLAGS="$CXXFLAGS -pg"
- LDFLAGS="$LDFLAGS -pg"
+ _enable_prof=yes
;;
--with-sdl-prefix=*)
arg=`echo $ac_option | cut -d '=' -f 2`
@@ -2220,6 +2220,16 @@
DEFINES="$DEFINES -DPLUGIN_DIRECTORY=\\\"$_libdir/scummvm\\\""
+#
+# Set variables for profiling.
+# We need to do it here to prevent mess-ups with the tests e.g. on the PSP
+#
+if test "$_enable_prof" = yes ; then
+ CXXFLAGS="$CXXFLAGS -pg"
+ LDFLAGS="$LDFLAGS -pg"
+ DEFINES="$DEFINES -DENABLE_PROFILING"
+fi
+
echo_n "Backend... "
echo_n "$_backend"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list