From 6132ce85a8673abd967e616b98e1a63c5f41bbad Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 18 Aug 2018 15:01:41 +0200 Subject: [PATCH] Do use compiler TLS support under NetBSD It didn't work when support for using compiler-provided TLS was added in 7beff712f02f83f6c2327da735f9aa504b919e00 back in 2009 but is reported to work since 2011, so it should be safe to use unconditionally now. Closes #18200. --- configure | 10 ---------- configure.in | 9 --------- 2 files changed, 19 deletions(-) diff --git a/configure b/configure index 1a88b20e34..6cc2bf1e77 100755 --- a/configure +++ b/configure @@ -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; } diff --git a/configure.in b/configure.in index 8a642c4c6b..709954370f 100644 --- a/configure.in +++ b/configure.in @@ -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],