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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Oct 9 14:28:11 CEST 2009


Revision: 44824
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44824&view=rev
Author:   fingolfin
Date:     2009-10-09 12:28:11 +0000 (Fri, 09 Oct 2009)

Log Message:
-----------
PS2: Hack to enable zlib/mad support for now (until detection & linker issue have been fixed)

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

Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure	2009-10-09 12:10:17 UTC (rev 44823)
+++ scummvm/trunk/configure	2009-10-09 12:28:11 UTC (rev 44824)
@@ -1581,6 +1581,12 @@
 			_build_scalers="no"
 			_build_hq_scalers="no"
 			_mt32emu="no"
+			# HACK to enable mad & zlib (they are not properly detected due to linker issues).
+			# The same does not currently for tremor, as the PS2 port the resulting library
+			# libtremor, while our code later on expects it to be called libvorbisidec.
+			# TODO: Enable tremor, e.g. by adding  -ltremor or by renaming the lib.
+			_mad="yes"
+			_zlib="yes"
 			# HACK to fix compilation of C source files for now.
 			add_line_to_config_mk 'CC = ee-gcc'
 			# HACK to fix linking for now. It seems ee-g++ does not handle linking correctly.
@@ -2318,7 +2324,7 @@
 		INCLUDES="$INCLUDES -I$PS2SDK/ee/include -I$PS2SDK/common/include -I$PS2SDK/ports/include"
 		LDFLAGS="$LDFLAGS -mno-crt0 $PS2SDK/ee/startup/crt0.o -T $PS2SDK/ee/startup/linkfile"
 		LDFLAGS="$LDFLAGS -L$PS2SDK/ee/lib -L$PS2SDK/ports/lib"
-		LIBS="$LIBS -lmc -lpad -lmouse -lhdd -lpoweroff -lsjpcm -lmad -ltremor -lz -lm -lc -lfileXio -lkernel -lstdc++ "
+		LIBS="$LIBS -lmc -lpad -lmouse -lhdd -lpoweroff -lsjpcm -lm -lc -lfileXio -lkernel -lstdc++ "
 		;;
 	*)
 		echo "support for $_backend backend not implemented in configure script yet"


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