X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=7c029ac6318b9955f284b2d9ab4927288021a7a6;hb=1e1b595f3ba88fc9c1a97b747cc8852273289132;hp=d383fecd3929144d3590280511310eb9c6b6c4f6;hpb=6ec33ef72cb48232de73b9be3dbb4d1c8c24eeb5;p=urcu.git diff --git a/configure.ac b/configure.ac index d383fec..7c029ac 100644 --- a/configure.ac +++ b/configure.ac @@ -50,14 +50,7 @@ AC_USE_SYSTEM_EXTENSIONS AC_PROG_CC AC_PROG_CC_STDC -# If not overridden, use ax_tls.m4 to check if TLS is available. -AS_IF([test "x$def_compiler_tls" = "xyes"], - [AX_TLS([def_tls_detect=$ac_cv_tls], [:])], - [:]) - -AS_IF([test "x$def_tls_detect" = "x"], - [:], - [AC_DEFINE_UNQUOTED([CONFIG_RCU_TLS], $def_tls_detect)]) +AS_IF([test "x$def_compiler_tls" = "xyes"], AC_DEFINE([CONFIG_RCU_TLS], [1]), [:]) # Checks for programs. AC_PROG_AWK @@ -501,7 +494,7 @@ test "x$compat_futex_test" = "x0" && value=1 || value=0 PPRINT_PROP_BOOL([Futex support], $value) # TLS -test "x$def_tls_detect" = "x" && value="pthread_getspecific()" || value="$def_tls_detect" +test "x$def_compiler_tls" = "xyes" && value="compiler TLS" || value="pthread_getspecific()" PPRINT_PROP_STRING([Thread Local Storage (TLS)], [$value]) # clock_gettime() available