diff options
author | Xiang Hai hao <haihao.xiang@intel.com> | 2009-05-18 17:12:30 +0800 |
---|---|---|
committer | Zou Nan hai <nanhai.zou@intel.com> | 2009-05-18 17:12:30 +0800 |
commit | b622860429e00d6ab4407980232659c283a8fe8d (patch) | |
tree | 21892df1406bfc1b9cfc3f0d8ea2e74e9927c367 /configure.ac | |
parent | 50c10ededba15dd0c118f1b65756362061491090 (diff) |
DRI2 for XvMC
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index 2b457870..d1629d1d 100644 --- a/configure.ac +++ b/configure.ac @@ -78,10 +78,10 @@ else DEBUGFLAGS="" fi -dnl AC_ARG_ENABLE(xvmc, AC_HELP_STRING([--disable-xvmc], -dnl [Disable XvMC support [[default=auto]]]), -dnl [XVMC="$enableval"], -dnl [XVMC=auto]) +AC_ARG_ENABLE(xvmc, AC_HELP_STRING([--disable-xvmc], + [Disable XvMC support [[default=yes]]]), + [XVMC="$enableval"], + [XVMC=yes]) # Checks for extensions XORG_DRIVER_CHECK_EXT(XINERAMA, xineramaproto) @@ -151,12 +151,6 @@ if test "$VIDEO_DEBUG" = yes; then AC_DEFINE(VIDEO_DEBUG,1,[Enable debug support]) fi -if test "$XVMC" = auto; then - XVMC="$DRI" -fi -if test "$XVMC" = yes && test "$DRI" = no; then - AC_MSG_ERROR([XvMC can't be enabled without DRI]) -fi if test "$XVMC" = yes; then PKG_CHECK_MODULES(XVMCLIB, [xvmc], [XVMC=yes], [XVMC=no]) PKG_CHECK_MODULES(XEXT, [xext]) |