[vlc-devel] [PATCH] Buildsys error if XvMC is requested while libmpeg2 disabled
Nicolas Chauvet
kwizart at gmail.com
Mon Jun 8 13:27:31 CEST 2009
Any tought on this patch ? (I cannot attach the following patch to the
ticket 2791 for some reason)..
> From: Nicolas Chauvet (kwizart) <kwizart at gmail.com>
>
> This is aimed to address:
> https://trac.videolan.org/vlc/ticket/2791
> ---
> configure.ac | 10 +++++++---
> 1 files changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index fbf2f36..d706298 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -4083,9 +4083,13 @@ 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 ${LIBMPEG2_LIBS}])
> - VLC_ADD_CPPFLAGS([xvmc],[${X_CFLAGS} ${LIBMPEG2_CFLAGS}])
> + AS_IF([test "${enable_libmpeg2}" != "no"], [
> + VLC_ADD_PLUGIN([xvmc])
> + 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 is requested but we need libmpeg2 which is disabled!])
> + ])
> ], [
> AC_MSG_ERROR([XVideo-MotionCompensation extension not found!])
> ])
> --
> 1.6.0.6
>
>
More information about the vlc-devel
mailing list