mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
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:
parent
429512dd5f
commit
2ae6f88cca
3 changed files with 79 additions and 18 deletions
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue