From 9a299a12ea17a363354f451d2efd15bfbf3c7dc6 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sun, 5 Feb 2006 13:59:45 +0000 Subject: --disable-xvmc parameter (by Flameeyes) CVS patchset: 7871 CVS date: 2006/02/05 13:59:45 --- configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 286d4f7eb..c3eba919f 100644 --- a/configure.ac +++ b/configure.ac @@ -617,8 +617,11 @@ AM_CONDITIONAL(PPC_ARCH, test x$ppc_arch = "xyes") dnl dnl Check if we can enable the xxmc plugin. dnl -if test x$no_x = "x"; then +AC_ARG_ENABLE([xvmc], + AS_HELP_STRING([--disable-xvmc], [Disable XxMC and XvMC outplut plugins]) ) + +if test x$no_x = "x" && test "x$enable_xvmc" != "xno"; then AC_ARG_WITH(xxmc-path, AC_HELP_STRING([--with-xxmc-path=path], [where libXvMC libraries for the xxmc plugin are installed. Defalts to the default X library path.]), @@ -709,7 +712,7 @@ AC_SUBST(XXMC_LIB) dnl dnl Check if we can enable the xvmc plugin. dnl -if test x$no_x = "x"; then +if test x$no_x = "x" && test "x$enable_xvmc" != "xno"; then AC_ARG_WITH(xvmc-path, AC_HELP_STRING([--with-xvmc-path=path], [where libXvMC libraries for the xvmc plugin are installed. Defalts to the default X library path.]), -- cgit v1.2.3