From 570fc8af37610aad28af30e4c2363b5a43deeb18 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 1 Apr 2010 14:35:13 -0400 Subject: Add --disable-gl configure option. --- tests/libdimension/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/libdimension/Makefile.am b/tests/libdimension/Makefile.am index 72f9427..9c6c8ad 100644 --- a/tests/libdimension/Makefile.am +++ b/tests/libdimension/Makefile.am @@ -29,6 +29,10 @@ check_PROGRAMS = error-test \ TESTS = $(check_PROGRAMS) XFAIL_TESTS = error-test +if !GL +XFAIL_TESTS += gl-test +endif + .PHONY: clean-local-png-test clean-local: clean-local-png-test @@ -40,6 +44,8 @@ else libdimension_tests_la_LIBADD = $(top_builddir)/libdimension/libdimension.la endif +libdimension_tests_la_LIBADD += -lX11 -lGL + error_test_SOURCES = error.c error_test_LDADD = libdimension-tests.la -- cgit v1.2.3