Bug #5453: Don't forget to still do AM_CONDITIONAL for XVMC even if XV is

disabled, and also force XVMC disabled if XV is disabled. (Dag-Erling
    Sm�rgrav)
This commit is contained in:
Eric Anholt 2006-02-16 21:35:32 +00:00
parent d33c2e0d10
commit d97f29be22
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2006-02-16 Eric Anholt <anholt@FreeBSD.org>
* configure.ac:
Bug #5453: Don't forget to still do AM_CONDITIONAL for XVMC even if XV
is disabled, and also force XVMC disabled if XV is disabled.
(Dag-Erling Sm<53>rgrav)
2006-02-16 Keith Packard <keithp@keithp.com>
* miext/shadow/shrotpackYX.h:

View File

@ -483,10 +483,13 @@ if test "x$XV" = xyes; then
AC_DEFINE(XV, 1, [Support Xv extension])
AC_DEFINE(XvExtension, 1, [Build Xv extension])
REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
AM_CONDITIONAL(XVMC, [test "x$XVMC" = xyes])
if test "x$XVMC" = xyes; then
AC_DEFINE(XvMCExtension, 1, [Build XvMC extension])
fi
else
XVMC=no
fi
AM_CONDITIONAL(XVMC, [test "x$XVMC" = xyes])
if test "x$XVMC" = xyes; then
AC_DEFINE(XvMCExtension, 1, [Build XvMC extension])
fi
AM_CONDITIONAL(DGA, [test "x$DGA" = xyes])