Do use compiler TLS support under NetBSD

It didn't work when support for using compiler-provided TLS was added in
7beff712f0 back in 2009 but is reported to
work since 2011, so it should be safe to use unconditionally now.

Closes #18200.
This commit is contained in:
Vadim Zeitlin
2018-08-18 15:01:41 +02:00
parent c6af757edb
commit 6132ce85a8
2 changed files with 0 additions and 19 deletions

10
configure vendored
View File

@@ -33023,16 +33023,6 @@ $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
fi fi
fi fi
if test "$wxUSE_COMPILER_TLS" = "auto"; then
if test "$USE_NETBSD" = 1; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
$as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
wxUSE_COMPILER_TLS=no
else
wxUSE_COMPILER_TLS=yes
fi
fi
if test "$wxUSE_COMPILER_TLS" = "yes"; then if test "$wxUSE_COMPILER_TLS" = "yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
$as_echo_n "checking for __thread keyword... " >&6; } $as_echo_n "checking for __thread keyword... " >&6; }

View File

@@ -4930,15 +4930,6 @@ if test "$TOOLKIT" != "MSW"; then
fi fi
fi fi
if test "$wxUSE_COMPILER_TLS" = "auto"; then
if test "$USE_NETBSD" = 1; then
AC_MSG_WARN([Disabling TLS under NetBSD, please contact wx-dev if it works now])
wxUSE_COMPILER_TLS=no
else
wxUSE_COMPILER_TLS=yes
fi
fi
if test "$wxUSE_COMPILER_TLS" = "yes"; then if test "$wxUSE_COMPILER_TLS" = "yes"; then
dnl test for compiler thread-specific variables support dnl test for compiler thread-specific variables support
AC_CACHE_CHECK([for __thread keyword], AC_CACHE_CHECK([for __thread keyword],