[cairo-commit] cairo/test Makefile.am,1.77,1.78

Carl Worth commit at pdx.freedesktop.org
Sat Aug 13 03:26:20 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv15701/test

Modified Files:
	Makefile.am 
Log Message:

2005-08-13  Carl Worth  <cworth at cworth.org>

        * src/cairoint.h: Turn the mutex code back on. It looks like the
        deadlocks have disappeared as of the cairo_scaled_font_map patch
        from two days ago.

        * configure.in: Setup an automake conditional for the HAVE_PTHREAD
        case.

        * test/Makefile.am: Link all tests with -lpthread if available, so
        that we can get some testing of cairo with mutexes turned on.


Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- Makefile.am	10 Aug 2005 20:32:09 -0000	1.77
+++ Makefile.am	13 Aug 2005 10:26:18 -0000	1.78
@@ -155,6 +155,10 @@
 
 LDADDS = libcairotest.la $(top_builddir)/src/libcairo.la
 
+if HAVE_PTHREAD
+LDADDS += -lpthread
+endif
+
 # ARGH! I have to repeat the list of tests a third time. Maybe it's
 # time to break down and auto-generate the Makefile.am or something
 # from autogen.sh. My, but this is painful...




More information about the cairo-commit mailing list