summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-02-06 15:10:23 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-02-06 15:10:23 +0000
commit5f72158919098dd5684d1c56d1ba643cc3be2c7d (patch)
tree93a13ebcbca1ab880a3c79b2d1de146c2fdf745c /configure.ac
parentcd6d8f9b9df02934ebfff76cb40410c8ce3887dd (diff)
configure: XvMC support is optional, so make failure to find xcb non-fatal
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 5ae42085..13a4b461 100644
--- a/configure.ac
+++ b/configure.ac
@@ -403,10 +403,8 @@ AM_CONDITIONAL(DRI2, test "x$DRI2" = xyes)
AC_MSG_RESULT([$DRI2])
if test "$XVMC" = yes; then
- PKG_CHECK_MODULES(XVMCLIB,
- [xvmc dri2proto],
- [XVMC=yes], [XVMC=no])
- PKG_CHECK_MODULES(XCB, [x11-xcb xcb-dri2 xcb-aux])
+ PKG_CHECK_MODULES(XVMCLIB, [xvmc dri2proto], [], [XVMC=no])
+ PKG_CHECK_MODULES(XCB, [x11-xcb xcb-dri2 xcb-aux], [], [XVMC=no])
fi
AC_MSG_CHECKING([whether to include XvMC support])
AC_MSG_RESULT([$XVMC])