X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=61f02399cedc1066f09fa66d9a7984aef9616cdc;hb=f08d6c01cefc2a525712acd1fb76f4442d1ef45f;hp=7d5aa87899fa914621dc78b1b9a572ed0c38e2f7;hpb=cec89bbacc3f12f4bb27cf810511fc3e8d725a64;p=urcu.git diff --git a/configure.ac b/configure.ac index 7d5aa87..61f0239 100644 --- a/configure.ac +++ b/configure.ac @@ -42,14 +42,7 @@ AC_ARG_ENABLE([compiler-tls], [def_compiler_tls=$enableval], [def_compiler_tls="yes"]) -# 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 C compiler AC_USE_SYSTEM_EXTENSIONS @@ -428,7 +421,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