diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-06 15:10:23 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-06 15:10:23 +0000 |
commit | 5f72158919098dd5684d1c56d1ba643cc3be2c7d (patch) | |
tree | 93a13ebcbca1ab880a3c79b2d1de146c2fdf745c /configure.ac | |
parent | cd6d8f9b9df02934ebfff76cb40410c8ce3887dd (diff) |
configure: XvMC support is optional, so make failure to find xcb non-fatal
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
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]) |