[Mplayer-cvslog] CVS: main configure,1.346,1.347

Arpi of Ize arpi at mplayer.dev.hu
Sun Dec 30 00:35:04 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv1795

Modified Files:
	configure 
Log Message:
libavcodec MBC detection fixed

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.346
retrieving revision 1.347
diff -u -r1.346 -r1.347
--- configure	29 Dec 2001 11:35:21 -0000	1.346
+++ configure	29 Dec 2001 23:34:53 -0000	1.347
@@ -2328,28 +2328,23 @@
 
 
 echocheck "FFmpeg libavcodec (static)"
-if test "$_libavcodec" != no ; then
+if test "$_libavcodec" = auto ; then
   # Note: static linking is preferred to dynamic linking
   _libavcodec=no
-  cat > $TMPC << EOF
-#define FF_POSTPROCESS 1
-#include "libavcodec/avcodec.h"
-int quant_store[MBR+1][MBC+1];
-int main(void) { return 0; }
-EOF
-  if test -d libavcodec && test -f libavcodec/Makefile ; then
-    if cc_check -I. -lm ; then
+  if test -d libavcodec && test -f libavcodec/avcodec.h ; then
+    if grep MBC libavcodec/avcodec.h > /dev/null 2>&1 ; then
       _libavcodec=yes
       echores "yes"
     else
-      echores "no: see DOC/codecs.html"
+      echores "no: old ffmpeg version, use CVS !"
     fi
   else
-    echores "no: see DOC/codecs.html"
+    echores "no: see DOCS/codecs.html"
   fi
 else
-  echores "no"
+  echores "$_libavcodec"
 fi
+
 echocheck "FFmpeg libavcodec (dynamic)"
 if test "$_libavcodec" != yes && test "$_libavcodecso" = auto ; then
   _libavcodecso=no




More information about the MPlayer-cvslog mailing list