[Mplayer-cvslog] CVS: main configure,1.738,1.739

Ivan Kalvachev CVS iive at mplayerhq.hu
Sun Jul 27 00:56:05 CEST 2003


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

Modified Files:
	configure 
Log Message:
xvmc fixes - check for xv presence and fix libs order

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.738
retrieving revision 1.739
diff -u -r1.738 -r1.739
--- configure	25 Jul 2003 14:56:28 -0000	1.738
+++ configure	26 Jul 2003 22:55:37 -0000	1.739
@@ -2772,7 +2772,7 @@
 
 
 echocheck "XvMC"
-if test "$_x11" = yes && test "$_xv" && test "$_xvmc" != no ; then
+if test "$_x11" = yes && test "$_xv" = yes && test "$_xvmc" != no ; then
   _xvmc=no
   cat > $TMPC <<EOF
 #include <X11/Xlib.h>
@@ -2783,7 +2783,7 @@
   (void) XvMCCreateContext(0,0,0,0,0,0,0);
   return 0; }
 EOF
-  cc_check $_inc_x11 $_ld_x11 $_ld_xv -lXvMC -l$_xvmclib && _xvmc=yes
+  cc_check $_inc_x11 -lXvMC -l$_xvmclib $_ld_xv $_ld_x11 && _xvmc=yes
 fi
 if test "$_xvmc" = yes ; then
   _def_xvmc='#define HAVE_XVMC 1'
@@ -5371,6 +5371,8 @@
 
 X11_INC = $_inc_x11
 X11DIR = $_ld_x11
+
+HAVE_XVMC_ACCEL = $_xvmc
 
 # for libavcodec:
 SRC_PATH=.



More information about the MPlayer-cvslog mailing list