[Scummvm-cvs-logs] SF.net SVN: scummvm:[53640] scummvm/trunk/configure

djwillis at users.sourceforge.net djwillis at users.sourceforge.net
Wed Oct 20 15:03:19 CEST 2010


Revision: 53640
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53640&view=rev
Author:   djwillis
Date:     2010-10-20 13:03:19 +0000 (Wed, 20 Oct 2010)

Log Message:
-----------
CONFIGURE: Add -DGPH_DEVICE to all the GPH device targets.

Also add wrapper around the plugin dir. for the OpenPandora from 1.2.0 branch.

Modified Paths:
--------------
    scummvm/trunk/configure

Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure	2010-10-20 13:00:58 UTC (rev 53639)
+++ scummvm/trunk/configure	2010-10-20 13:03:19 UTC (rev 53640)
@@ -676,7 +676,7 @@
 Special configuration feature:
   --host=HOST             cross-compile to target HOST (arm-linux, ...)
                           special targets: android for Android
-                                           caanoo for GP2X Caanoo
+                                           caanoo for Caanoo
                                            dingux for Dingux
                                            dreamcast for Sega Dreamcast
                                            ds for Nintendo DS
@@ -1626,9 +1626,9 @@
 			_need_memalign=yes
 			;;
 		caanoo)
+			# This uses the GPH backend.
+			DEFINES="$DEFINES -DGPH_DEVICE"
 			DEFINES="$DEFINES -DCAANOO -DREDUCE_MEMORY_USAGE"
-			# Disable DOSBOX OPL for now.
-			DEFINES="$DEFINES -DDISABLE_DOSBOX_OPL"
 			if test "$_debug_build" = yes; then
 				DEFINES="$DEFINES -DGPH_DEBUG"
 			else
@@ -1717,9 +1717,9 @@
 			add_line_to_config_h "#define USE_WII_DI"
 			;;
 		gp2x)
+			# This uses the GPH backend.
+			DEFINES="$DEFINES -DGPH_DEVICE"	
 			DEFINES="$DEFINES -DGP2X -DREDUCE_MEMORY_USAGE"
-			# Disable DOSBOX OPL for now.
-			DEFINES="$DEFINES -DDISABLE_DOSBOX_OPL"
 			if test "$_debug_build" = yes; then
 				DEFINES="$DEFINES -DGPH_DEBUG"
 			fi
@@ -1741,9 +1741,9 @@
 			_port_mk="backends/platform/gp2x/gp2x-bundle.mk"
 			;;
 		gp2xwiz)
+			# This uses the GPH backend.
+			DEFINES="$DEFINES -DGPH_DEVICE"
 			DEFINES="$DEFINES -DGP2XWIZ -DREDUCE_MEMORY_USAGE"
-			# Disable DOSBOX OPL for now.
-			DEFINES="$DEFINES -DDISABLE_DOSBOX_OPL"
 			if test "$_debug_build" = yes; then
 				DEFINES="$DEFINES -DGPH_DEBUG"
 			fi
@@ -1861,8 +1861,6 @@
 			;;
 		openpandora)
 			DEFINES="$DEFINES -DOPENPANDORA -DREDUCE_MEMORY_USAGE"
-			# Disable DOSBOX OPL for now.
-			DEFINES="$DEFINES -DDISABLE_DOSBOX_OPL"
 			if test "$_release_build" = no; then
 				DEFINES="$DEFINES -DOP_DEBUG"
 			else
@@ -2675,8 +2673,16 @@
 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
 DEFINES="$DEFINES -DDATA_PATH=\\\"$datadir\\\""
-DEFINES="$DEFINES -DPLUGIN_DIRECTORY=\\\"$libdir/scummvm\\\""
 
+case $_backend in
+	openpandora)
+		# Add ../plugins as a path so plugins can be found when running from a .PND.
+		DEFINES="$DEFINES -DPLUGIN_DIRECTORY=\\\"../plugins\\\""
+		;;
+	*)
+		DEFINES="$DEFINES -DPLUGIN_DIRECTORY=\\\"$libdir/scummvm\\\""
+		;;
+esac
 
 #
 # Set variables for profiling.


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