[vlc-devel] commit: Fail if XvMC is requested but absent. Fix link-time dependencies. ( Rémi Denis-Courmont )
git version control
git at videolan.org
Fri Apr 17 14:32:38 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 17 15:24:51 2009 +0300| [bc756e069205fc2f8d5065031b14840a6e75cf13] | committer: Rémi Denis-Courmont
Fail if XvMC is requested but absent. Fix link-time dependencies.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bc756e069205fc2f8d5065031b14840a6e75cf13
---
configure.ac | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index c5ab7e0..9bd2c24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4115,8 +4115,10 @@ AC_ARG_ENABLE(xvmc,
AS_IF([test "${enable_xvmc}" != "no"], [
AC_CHECK_HEADERS(X11/extensions/vldXvMC.h, [
VLC_ADD_PLUGIN([xvmc])
- VLC_ADD_LIBS([xvmc],[${X_LIBS} ${X_PRE_LIBS} -lX11 -lXext -lXvMCW -lXv -lXinerama])
- VLC_ADD_CPPFLAGS([xvmc],[${X_CFLAGS}])
+ VLC_ADD_LIBS([xvmc],[${X_LIBS} ${X_PRE_LIBS} -lX11 -lXext -lXvMCW -lXv ${LIBMPEG2_LIBS}])
+ VLC_ADD_CPPFLAGS([xvmc],[${X_CFLAGS} ${LIBMPEG2_CFLAGS}])
+ ], [
+ AC_MSG_ERROR([XVideo-MotionCompensation extension not found!])
])
])
More information about the vlc-devel
mailing list