[Scummvm-cvs-logs] CVS: scummvm configure,1.57,1.58
Eugene Sandulenko
sev at users.sourceforge.net
Tue Jan 13 18:30:01 CET 2004
Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1:/tmp/cvs-serv23948
Modified Files:
configure
Log Message:
Fix libmpeg2 version check. FreeBSD ports collection usually lags with
newer package version, so current one has libmpeg2 0.3.1. Although it
got passed by configure script. Now it is fixed.
Index: configure
===================================================================
RCS file: /cvsroot/scummvm/scummvm/configure,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- configure 14 Jan 2004 01:42:31 -0000 1.57
+++ configure 14 Jan 2004 02:29:49 -0000 1.58
@@ -567,14 +567,17 @@
fi
echo "$_zlib"
-echocheck "mpeg2"
+echocheck "mpeg2 - version >= 0.4.0"
if test "$_mpeg2" = auto ; then
_mpeg2=no
cat > $TMPC << EOF
#include <inttypes.h>
#include <mpeg2dec/mpeg2.h>
-int main(void) {
- #ifdef MPEG2_RELEASE
+int main(void) {
+ /* mpeg2_state_t first appears in 0.4.0 */
+ mpeg2_state_t state;
+
+ #ifdef MPEG2_RELEASE
if (MPEG2_RELEASE >= MPEG2_VERSION(0, 4, 0))
return 0;
#endif
More information about the Scummvm-git-logs
mailing list