[MPlayer-dev-eng] xvmc configure detection fix

Jakub Argasiński argasek at tekla.art.pl
Thu Jul 24 21:03:40 CEST 2003


Hi,

on my machine ./configure --enable-xvmc from current
CVS snapshot (24.07.2003) didn't work correctly. Changing linking
order of libraries has helped (at least for libraries
for my XFree 4.3.0 and nVidia 1.0-4363 binary drivers).

patch attached.

-- 
argasek at JELCZ.org :: http://yesterday.mylove.justdied.com/
"Trzeba żyć jak nowo narodzony Anioł, jak kobieta, która kocha,
lub jak człowiek, który ma umrzeć." (Maurice Maeterlinck)

-------------- next part --------------
--- configure	2003-07-19 23:41:32.000000000 +0200
+++ configure	2003-07-24 20:47:43.000000000 +0200
@@ -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 $_ld_x11 -lXvMC -l$_xvmclib $_ld_xv && _xvmc=yes
 fi
 if test "$_xvmc" = yes ; then
   _def_xvmc='#define HAVE_XVMC 1'


More information about the MPlayer-dev-eng mailing list