summaryrefslogtreecommitdiff
path: root/build/ax-pthread.m4
AgeCommit message (Collapse)AuthorFilesLines
2010-07-11build: Rework pthread detection.M Joonas Pihlaja1-283/+0
Use two levels of pthread support: a minimal level used to build cairo itself, and a full level to build threaded apps which want to use cairo. The minimal level tries to use pthread stubs from libc if possible, but falls back to the full level if that's not possible. We use CFLAGS=-D_REENTRANT LIBS=-lpthread to find a real pthread library since that seems to work on every unix-like test box we can get our hands on.
2010-05-13build: Fix pthread detectionBenjamin Otte1-0/+283
Incorporate the pthread detection code from the autoconf archive. Should fix build on obscure archs that pretend to be UNIXy - like Mac OS X Tiger. http://www.gnu.org/software/autoconf-archive/ http://www.gnu.org/software/autoconf-archive/ax_pthread.html