From afa940c39844f565d396b51deb6fd6e564751e49 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Sat, 9 Apr 2011 20:15:10 +0200 Subject: [PATCH] Disable gem tests when libdrm is not available Quickly checked on ppc by Cyril Brulebois. Signed-off-by: Daniel Vetter --- tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index 428cff4..fb9966b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_DRM noinst_PROGRAMS = \ gem_stress \ $(NULL) @@ -56,3 +57,4 @@ endif gem_fence_thrash_CFLAGS = $(AM_CFLAGS) -pthread gem_fence_thrash_LDADD = $(LDADD) -lpthread +endif -- 2.7.4