Fix missing symbol in libxvmc_plugin.so
authorNicolas Chauvet (kwizart) <kwizart@gmail.com>
Wed, 13 May 2009 13:26:32 +0000 (15:26 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Fri, 15 May 2009 11:46:16 +0000 (13:46 +0200)
the XvMC plugin use xcommon.c where some part use
HAVE_XINERAMA conditions.

Missing symbols are :
XineramaQueryScreens
XineramaQueryExtension
XineramaIsActive

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
configure.ac

index fea513b..cb66dd0 100644 (file)
@@ -4106,12 +4106,14 @@ AS_IF([test "$enable_xinerama" != "no"], [
       VLC_ADD_LIBS([xvideo],[-lXinerama_pic])
       VLC_ADD_LIBS([x11],[-lXinerama_pic])
       VLC_ADD_LIBS([glx],[-lXinerama_pic])
+      VLC_ADD_LIBS([xvmc],[-lXinerama_pic])
       ac_cv_have_xinerama="yes"
     ],[
       AC_CHECK_LIB(Xinerama, XineramaQueryExtension,[
         VLC_ADD_LIBS([xvideo],[-lXinerama])
         VLC_ADD_LIBS([x11],[-lXinerama])
         VLC_ADD_LIBS([glx],[-lXinerama])
+        VLC_ADD_LIBS([xvmc],[-lXinerama])
         ac_cv_have_xinerama="yes"
       ])
     ])