# HG changeset patch # User reimar # Date 1362918654 0 # Node ID 1dbf7d79a3e015c3aa0254d0d35bd2bd4f9ea1c7 # Parent 996a7f82f859fa6ca0b48f181b175305c3f4f1d9 Allow compiling without linking to a system-specific xvmc backend library. diff -r 996a7f82f859 -r 1dbf7d79a3e0 configure --- a/configure Sun Mar 10 12:17:19 2013 +0000 +++ b/configure Sun Mar 10 12:30:54 2013 +0000 @@ -4591,7 +4591,8 @@ fi if test "$_xvmc" = yes ; then def_xvmc='#define CONFIG_XVMC 1' - libs_mplayer="$libs_mplayer -lXvMC -l$_xvmclib" + libs_mplayer="$libs_mplayer -lXvMC" + test -n "$_xvmclib" && libs_mplayer="$libs_mplayer -l$_xvmclib" vomodules="xvmc $vomodules" res_comment="using $_xvmclib" else