summaryrefslogtreecommitdiff
path: root/m4/pthreads.m4
AgeCommit message (Collapse)Author
2007-06-13Clean up solaris PTHREAD_CFLAGS/PTHREAD_LIBSBen Taylor
2007-06-10Added Solaris support for gcc and studio to pthreads.m4Ben Taylor
2007-04-11Return NULL to avoid 'control reaches end of non-void function' warning from ↵Ville Skyttä
throwing off the test.
2007-04-11Try linking the program for Pthread support, and feed proper parameters to ↵Diego 'Flameeyes' Pettenò
pthread_create. The link is needed to make sure that the LIBS variable is set correctly, otherwise it might just be finding the definition but using the wrong link-time parameter. Also, feed proper parameters to pthread_create to avoid -Wnonnull to cause a test failure (GCC/GLIBC).
2007-03-22Fix crosscompile to use build and host definition from autoconf, rather than ↵Diego 'Flameeyes' Pettenò
using hacksaround. Also replace the whole pthread check with an improved macro originally written for XCB, this way it's not going to try linking the fake -lpthread on Darwin, and it also does not force a -I/usr/local/include on FreeBSD. The new macro respects the same variables set by ports, so that it's even more transparent to FreeBSD users. CVS patchset: 8739 CVS date: 2007/03/22 20:44:58