Disable gem tests when libdrm is not available

Quickly checked on ppc by Cyril Brulebois.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2011-04-09 20:15:10 +02:00
parent 1c9ede3acb
commit afa940c398

View File

@ -1,3 +1,4 @@
if HAVE_DRM
noinst_PROGRAMS = \ noinst_PROGRAMS = \
gem_stress \ gem_stress \
$(NULL) $(NULL)
@ -56,3 +57,4 @@ endif
gem_fence_thrash_CFLAGS = $(AM_CFLAGS) -pthread gem_fence_thrash_CFLAGS = $(AM_CFLAGS) -pthread
gem_fence_thrash_LDADD = $(LDADD) -lpthread gem_fence_thrash_LDADD = $(LDADD) -lpthread
endif