[PATCH] don't try to build modetest without libkms

Matt Turner mattst88 at gmail.com
Thu Mar 3 18:20:52 PST 2011


Signed-off-by: Matt Turner <mattst88 at gmail.com>
---
 tests/Makefile.am |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index ebf4853..01ca8b4 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -16,9 +16,6 @@ if HAVE_LIBKMS
 SUBDIRS += kmstest
 endif
 
-if HAVE_INTEL
-endif
-
 if HAVE_LIBUDEV
 
 check_LTLIBRARIES = libdrmtest.la
@@ -50,9 +47,13 @@ TESTS =						\
 SUBDIRS += vbltest $(NULL)
 
 if HAVE_INTEL
+if HAVE_LIBKMS
+SUBDIRS += \
+	modetest
+endif
+
 SUBDIRS += \
 	modeprint				\
-	modetest				\
 	$(NULL)
 
 TESTS +=					\
-- 
1.7.3.4



More information about the dri-devel mailing list