summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2006-02-05 13:59:45 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2006-02-05 13:59:45 +0000
commit9a299a12ea17a363354f451d2efd15bfbf3c7dc6 (patch)
tree160e2154b16995e0ffc798acb9da2fe3cbbd8133
parent3241eadd8c66b4112f5745f31a8667f3f5af868c (diff)
downloadxine-lib-9a299a12ea17a363354f451d2efd15bfbf3c7dc6.tar.gz
xine-lib-9a299a12ea17a363354f451d2efd15bfbf3c7dc6.tar.bz2
--disable-xvmc parameter (by Flameeyes)
CVS patchset: 7871 CVS date: 2006/02/05 13:59:45
-rw-r--r--configure.ac7
1 files 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.]),