summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-08-18 07:43:21 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-08-18 07:43:21 +0100
commit02f184e0ef428d9d80fecbaa438a7cbd87c18a91 (patch)
tree956639d4b4ef7e810a4a334d065f31b1e29630af /configure.ac
parent9058dac3029b0e4f35eaa8ac101d38f3071f3c52 (diff)
downloadxorg-driver-xf86-video-intel-02f184e0ef428d9d80fecbaa438a7cbd87c18a91.tar.gz
test: Make SHM tests in lowlevel-blt-bench optional
A slightly more complex patch to disable the SHM based tests of lowlevel-blt-bench when MIT-SHM support is not available at compile time. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 797e2246..9146d074 100644
--- a/configure.ac
+++ b/configure.ac
@@ -246,6 +246,7 @@ if test "x$shm" = "xyes"; then
AC_MSG_RESULT(yes),
AC_MSG_RESULT(no),
AC_MSG_RESULT(assuming no))
+ AC_DEFINE([HAVE_MIT_SHM], 1, [Define to 1 if MIT-SHM is available])
fi
PKG_CHECK_MODULES(X11_DRI3, [xcb-dri3 xcb-sync xcb-present x11-xcb xshmfence x11 xrender xext libdrm], [x11_dri3="yes"], [x11_dri3="no"])