summaryrefslogtreecommitdiff
path: root/test
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 /test
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 'test')
-rw-r--r--test/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index f9906d44..be0b1f09 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -40,7 +40,10 @@ stress_TESTS += \
endif
check_PROGRAMS = $(stress_TESTS)
-noinst_PROGRAMS = lowlevel-blt-bench
+noinst_PROGRAMS =
+if X11_SHM
+noinst_PROGRAMS += lowlevel-blt-bench
+endif
AM_CFLAGS = @CWARNFLAGS@ $(X11_CFLAGS) $(DRM_CFLAGS)
LDADD = libtest.la $(X11_LIBS) $(DRM_LIBS) $(CLOCK_GETTIME_LIBS)