Mesa (master): configure: enable glx-tls by default

Emil Velikov evelikov at kemper.freedesktop.org
Fri Dec 9 19:33:37 UTC 2016


Module: Mesa
Branch: master
Commit: b83153e77b08ac82160f6281424878abacd97e31
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b83153e77b08ac82160f6281424878abacd97e31

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Dec  5 19:02:28 2016 +0000

configure: enable glx-tls by default

In the (not too) distant future we'd want to remove this option and
effectively drop the other codepath(s) we have in our dispatch.

Linux distributions have been using --enable-glx-tls for a number of
years. Some/most BSD platforms still don't support this, yet this should
serve as an encouragement to move things forwards.

Note: we had many bug reports were opened due to the wrong default
option. See the list below for details.

v2:
 - Correct default option in help string (Andreas)
 - Add bugzilla references.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70623
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72902
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73778
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89043

Cc: Jean-Sébastien Pédron <dumbbell at FreeBSD.org>
Cc: Jonathan Gray <jsg at jsg.id.au>
Cc: mesa-maintainers at lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Andreas Boll <andreas.boll.dev at gmail.com>

---

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index adca49d..56e91f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1705,9 +1705,9 @@ dnl
 
 AC_ARG_ENABLE([glx-tls],
     [AS_HELP_STRING([--enable-glx-tls],
-        [enable TLS support in GLX @<:@default=disabled@:>@])],
+        [enable TLS support in GLX @<:@default=enabled@:>@])],
     [GLX_USE_TLS="$enableval"],
-    [GLX_USE_TLS=no])
+    [GLX_USE_TLS=yes])
 AC_SUBST(GLX_TLS, ${GLX_USE_TLS})
 
 AS_IF([test "x$GLX_USE_TLS" = xyes -a "x$ax_pthread_ok" = xyes],




More information about the mesa-commit mailing list