Fix TLS detection: test with linker, add --disable-compiler-tls
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 9 Nov 2012 02:45:04 +0000 (21:45 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 9 Nov 2012 02:49:45 +0000 (21:49 -0500)
NetBSD 5.1 and older, as well as Darwin, succeed to compile code
containing TLS, but cannot link it. Test with linker in addition to
compiler for TLS support.

Also add a --disable-compiler-tls configure option to allow users to
force using the pthread getspecific fall back.

Fixes #288

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.025314 seconds and 4 git commands to generate.