summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-06-13 18:59:17 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-06-13 19:07:37 +0100
commitc092136fe9e5fee71dfe02f945fe5676f43b2d05 (patch)
treebfa7159036d4bb127d4a7d5ac5a7c063470dea4c /test
parentf298dd92ca0b789a3d2b591753c992e1673b2d87 (diff)
[configure] Check for shm_open()
As needed for cairo-test-trace.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 7deac94e..8e153d0b 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -95,6 +95,7 @@ if HAVE_PTHREAD
cairo_test_suite_LDADD += -lpthread
endif
+if HAVE_SHM
cairo_test_trace_SOURCES = \
cairo-test-trace.c
cairo_test_trace_LDADD = \
@@ -102,11 +103,12 @@ cairo_test_trace_LDADD = \
$(top_builddir)/boilerplate/libcairoboilerplate.la \
$(top_builddir)/src/libcairo.la \
$(CAIRO_LDADD) \
- -lrt
+ $(SHM_LIBS)
cairo_test_trace_DEPENDENCIES = \
$(top_builddir)/util/cairo-script/libcairo-script-interpreter.la \
$(top_builddir)/boilerplate/libcairoboilerplate.la \
$(top_builddir)/src/libcairo.la
+endif
BUILT_SOURCES += cairo-test-constructors.c
noinst_SCRIPTS = make-cairo-test-constructors.pl