Age | Commit message (Collapse) | Author |
|
autoconf already adds the "int main() { ...; return 0; }" statements itself,
and so adding them twice chokes stricter compilers.
|
|
|
|
|
|
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.
|
|
--HG--
extra : transplant_source : tu6%0Bb%F5I%A0V%B7%BF%5BM%8E_%86gt%06%1C
|
|
|
|
|
|
|
|
throwing off the test.
|
|
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).
|
|
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
|