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.
This commit is contained in:
Maarten Bosmans 2011-06-08 18:15:21 +02:00
parent 429512dd5f
commit 2ae6f88cca
3 changed files with 79 additions and 18 deletions

View file

@ -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"],