From: Emil Velikov Date: Mon, 5 Dec 2016 19:02:28 +0000 (+0000) Subject: configure: enable glx-tls by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b83153e77b08ac82160f6281424878abacd97e31;p=mesa.git 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 Cc: Jonathan Gray Cc: mesa-maintainers@lists.freedesktop.org Signed-off-by: Emil Velikov Reviewed-by: Eric Anholt Reviewed-by: Andreas Boll --- diff --git a/configure.ac b/configure.ac index adca49d31ea..56e91f00784 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],