[Scummvm-cvs-logs] CVS: scummvm configure,1.54,1.55

James Brown ender at users.sourceforge.net
Mon Jan 12 03:11:00 CET 2004


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

Modified Files:
	configure 
Log Message:
Initial libmpeg2 cutscene support based on patch #874510.
Pre-converted cutscenes w/ palette files available - ask LeChuck about Cutscenes :)



Index: configure
===================================================================
RCS file: /cvsroot/scummvm/scummvm/configure,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- configure	25 Dec 2003 05:53:29 -0000	1.54
+++ configure	12 Jan 2004 11:10:30 -0000	1.55
@@ -29,6 +29,7 @@
 _mad=auto
 _alsa=auto
 _zlib=auto
+_mpeg2=no
 # default option behaviour yes/no
 _build_scumm=yes
 _build_simon=yes
@@ -186,8 +187,9 @@
   --disable-vorbis         disable Ogg Vorbis support [autodetect]
   --with-mad-prefix=PFX    Prefix where libmad is installed (optional)
   --disable-mad            disable libmad (MP3) support [autodetect]
-  --with-zlib-prefix=PFX    Prefix where zlib is installed (optional)
-  --disable-zlib            disable zlib (compression) support [autodetect]
+  --with-zlib-prefix=PFX   Prefix where zlib is installed (optional)
+  --disable-zlib           disable zlib (compression) support [autodetect]
+  --enable-mpeg2           enable mpeg2 codec for cutscenes [disabled]
  
 EOF
     exit 0
@@ -211,7 +213,8 @@
       --enable-mad)		_mad=yes	;;
       --disable-mad)		_mad=no		;;
       --enable-zlib)		_zlib=yes	;;
-      --disable-zlib)		_zlib=no		;;
+      --disable-zlib)		_zlib=no	;;
+      --enable-mpeg2)           _mpeg2=yes      ;;
       --with-alsa-prefix=*)
 	_prefix=`echo $ac_option | cut -d '=' -f 2`
 	ALSA_CFLAGS="-I$_prefix/include"
@@ -558,6 +561,12 @@
 fi
 echo "$_zlib"
 
+echocheck "mpeg2"
+if test "$_mpeg2" = yes ; then
+  _def_mpeg2='#define USE_MPEG2'
+  LIBS="$LIBS -lmpeg2"
+fi
+echo "$_mpeg2"
 rm -f $TMPC $TMPO
 
 
@@ -576,7 +585,12 @@
   echo "    Broken Sword I"
 fi
 if test "$_build_bs2" = yes ; then
-  echo "    Broken Sword II"
+  echo -n "    Broken Sword II"
+  if test "$_mpeg2" = yes ; then
+	echo " (w/ mpeg2 cutscenes)"
+  else
+	echo " (without mpeg2 cutscenes)"
+  fi
 fi
 if test "$_build_queen" = yes ; then
   echo "    Flight of the Amazon Queen"
@@ -648,6 +662,7 @@
 $_def_mad
 $_def_alsa
 $_def_zlib
+$_def_mpeg2
 
 /* Subsystems */
 #define INSANE





More information about the Scummvm-git-logs mailing list