diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-18 07:43:21 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-18 07:43:21 +0100 |
commit | 02f184e0ef428d9d80fecbaa438a7cbd87c18a91 (patch) | |
tree | 956639d4b4ef7e810a4a334d065f31b1e29630af /configure.ac | |
parent | 9058dac3029b0e4f35eaa8ac101d38f3071f3c52 (diff) |
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.ac | 1 |
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"]) |