summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-08-18 07:23:27 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-08-18 07:29:05 +0100
commit9058dac3029b0e4f35eaa8ac101d38f3071f3c52 (patch)
treee6eafbbb0a7af0429f7571a605fc24378c4bc207 /configure.ac
parent16b9447c5178611ce32e10620e62007ba5445918 (diff)
test: Only compile lowlevel-blt-bench if we have shm
Since 37ac34c4e4500bfc272222754949edc1dbb8c7e2, lowlevel-blt-bench requires SHM support, so only compile it if we detect such during configure. 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 e40a965a..797e2246 100644
--- a/configure.ac
+++ b/configure.ac
@@ -250,6 +250,7 @@ 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"])
AM_CONDITIONAL(X11_DRI3, test "x$x11_dri3" = "xyes" -a "x$shm" = "xyes")
+AM_CONDITIONAL(X11_SHM, test "x$shm" = "xyes")
AC_ARG_ENABLE(tools,
AS_HELP_STRING([--disable-tools],