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:
10
configure
vendored
10
configure
vendored
@@ -33023,16 +33023,6 @@ $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
|
||||
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
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
|
||||
$as_echo_n "checking for __thread keyword... " >&6; }
|
||||
|
@@ -4930,15 +4930,6 @@ if test "$TOOLKIT" != "MSW"; then
|
||||
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
|
||||
dnl test for compiler thread-specific variables support
|
||||
AC_CACHE_CHECK([for __thread keyword],
|
||||
|
Reference in New Issue
Block a user