# HG changeset patch # User iive # Date 1059260137 0 # Node ID 80f9c51b88bb74baca3601fa9dcc6ac012b7ede6 # Parent e6130b0c5bde2d34fe387302382ab15d8f9507d5 xvmc fixes - check for xv presence and fix libs order diff -r e6130b0c5bde -r 80f9c51b88bb configure --- a/configure Sat Jul 26 14:11:28 2003 +0000 +++ b/configure Sat Jul 26 22:55:37 2003 +0000 @@ -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 < @@ -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' @@ -5372,6 +5372,8 @@ X11_INC = $_inc_x11 X11DIR = $_ld_x11 +HAVE_XVMC_ACCEL = $_xvmc + # for libavcodec: SRC_PATH=.