diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-03-20 10:31:57 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-03-20 10:31:57 +0800 |
commit | 224c36cc14a7552bc5df793ad582f0ea5349eb1e (patch) | |
tree | 8cf03bb242d4e4f07f2889acfbb4b4029b72f22d /configure.ac | |
parent | 4b9b7b007d729f94b01b0031d8ae478134b501da (diff) | |
parent | 03ccffd5b9b8108166ea143884a1a0a6417f3236 (diff) |
Merge branch 'xvmc'
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index da440186..0ea974f7 100644 --- a/configure.ac +++ b/configure.ac @@ -66,6 +66,10 @@ AC_ARG_WITH(xserver-source,AC_HELP_STRING([--with-xserver-source=XSERVER_SOURCE] [ XSERVER_SOURCE="$withval" ], [ XSERVER_SOURCE="" ]) +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) @@ -208,6 +212,14 @@ if test "$VIDEO_DEBUG" = yes; then AC_DEFINE(VIDEO_DEBUG,1,[Enable debug support]) fi +AC_MSG_CHECKING([whether to include XvMC support]) +AC_MSG_RESULT([$XVMC]) +AM_CONDITIONAL(XVMC, test x$XVMC = xyes) +if test "$XVMC" = yes; then + AC_DEFINE(ENABLE_XVMC,1,[Enable XvMC support]) +fi + + AC_SUBST([DRI_CFLAGS]) AC_SUBST([XORG_CFLAGS]) AC_SUBST([WARN_CFLAGS]) |