summaryrefslogtreecommitdiff
path: root/m4/pthreads.m4
AgeCommit message (Collapse)Author
2008-07-06Build fix: pthreads.m4Chris Rankin
autoconf already adds the "int main() { ...; return 0; }" statements itself, and so adding them twice chokes stricter compilers.
2008-07-02fix pthread recursive mutex detection (for mingw32)Matthias Ringwald
2008-05-24Rewrite CC_PTHREAD_RECURSIVE_MUTEX to use M4sh and AC_CACHE_CHECK.Diego 'Flameeyes' Pettenò
2008-05-24Backport pthreads.m4 from 1.2.Diego 'Flameeyes' Pettenò
Both attributes.m4 and pthread.m4 are two reusable M4 macro files, which can eaily be shared between different projects. For this reason it's better if they are kept identical between branches.
2008-05-22Add support for Sun Studio compiler even when building on Linux.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : tu6%0Bb%F5I%A0V%B7%BF%5BM%8E_%86gt%06%1C
2008-05-03Fix configure when -Wunused-parameter is used.Diego 'Flameeyes' Pettenò
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