summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-04-01 14:35:13 -0400
committerTavian Barnes <tavianator@gmail.com>2010-04-01 14:38:02 -0400
commit570fc8af37610aad28af30e4c2363b5a43deeb18 (patch)
tree5f52a7c30ec99a1868135aadfb4197a7ad79a555 /tests
parente6278559bdcee9626f9f593f40d7af8556419b19 (diff)
downloaddimension-570fc8af37610aad28af30e4c2363b5a43deeb18.tar.xz
Add --disable-gl configure option.
Diffstat (limited to 'tests')
-rw-r--r--tests/libdimension/Makefile.am6
1 files changed, 6 insertions, 0 deletions
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