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:45:04 +0000 (21:45 -0500)
commit88c66efb5a534828dbb2a4128339e3491758de49
treebba34686246fd76573da6a1e641cd2e8380eabc1
parent2d72fae24ceebe2efa486b5bad421f39917ec0a6
Fix TLS detection: test with linker, add --disable-compiler-tls

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>
README
config/ax_tls.m4
configure.ac
This page took 0.025774 seconds and 4 git commands to generate.