summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-06-13 09:14:47 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-13 09:19:31 +0100
commitbccfb768ee14348b6db5b140fdd6df5fdbfcad0c (patch)
tree1f5a3f9c3b34ee4b43702d615c13a4642e9cf963 /configure.ac
parent5a0cb1049c2fa0586708719210a2d2cffa7a4491 (diff)
xvmc: Sanitize compile and library flags
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index bd654f3a..09dd8305 100644
--- a/configure.ac
+++ b/configure.ac
@@ -622,8 +622,7 @@ AM_CONDITIONAL(SNA, test "x$SNA" != "xno")
AC_MSG_RESULT([$SNA])
if test "$XVMC" = "yes"; then
- PKG_CHECK_MODULES(XVMCLIB, [xvmc dri2proto x11], [], [XVMC="no"])
- PKG_CHECK_MODULES(XCB, [x11-xcb xcb-dri2 xcb-aux], [], [XVMC="no"])
+ PKG_CHECK_MODULES(XVMCLIB, [xvmc dri2proto x11 x11-xcb xcb-dri2 xcb-aux libdrm_intel], [], [XVMC="no"])
fi
AC_MSG_CHECKING([whether to include XvMC support])
AC_MSG_RESULT([$XVMC])