summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTom Fogal <[email protected]>2010-12-05 17:58:32 -0700
committerTom Fogal <[email protected]>2011-01-10 12:34:02 -0700
commit31351dc029ff0e12a250e3ffc509f4f01e025a24 (patch)
treee633bc0c48cc31e988568c0f0c311f11111fb58d /configure.ac
parent9d33e4e16c8d2271ef2a965d7210a9aee40680d2 (diff)
Export TLS support in gl.pc.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c00ecd0260d..9cbced56883 100644
--- a/configure.ac
+++ b/configure.ac
@@ -808,13 +808,19 @@ if test "$mesa_driver" = xlib; then
fi
dnl
-dnl More DRI setup
+dnl TLS detection
dnl
+
AC_ARG_ENABLE([glx-tls],
[AS_HELP_STRING([--enable-glx-tls],
[enable TLS support in GLX @<:@default=disabled@:>@])],
[GLX_USE_TLS="$enableval"],
[GLX_USE_TLS=no])
+AC_SUBST(GLX_TLS, ${GLX_USE_TLS})
+
+dnl
+dnl More DRI setup
+dnl
dnl Directory for DRI drivers
AC_ARG_WITH([dri-driverdir],
[AS_HELP_STRING([--with-dri-driverdir=DIR],