From 2ae6f88ccaa8b3018ac24c83dae04b094e0ba1e3 Mon Sep 17 00:00:00 2001 From: Maarten Bosmans Date: Wed, 8 Jun 2011 18:15:21 +0200 Subject: build-sys: Use AX_TLS macro from autoconf archive It has no new functionality over the existing macro that is relevant for us, but it is good to have use a macro with a clearly defined upstream. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7213db15..a140d0ba 100644 --- a/configure.ac +++ b/configure.ac @@ -427,7 +427,9 @@ AS_IF([test "$pulseaudio_cv__Bool" = "yes"], AC_DEFINE([HAVE_STD_BOOL], 1, [Have #### Thread support #### -CC_CHECK_TLS +AX_TLS +AS_IF([test "$ac_cv_tls" == "__thread"], + AC_DEFINE([SUPPORT_TLS___THREAD], 1, [Define this if the compiler supports __thread for Thread-Local Storage])) # Win32 build breaks with win32 pthread installed AS_IF([test "x$os_is_win32" != "x1"], -- cgit