summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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])