aboutsummaryrefslogtreecommitdiff
path: root/mesalib/configure.ac
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-25 07:31:13 +0000
committermarha <marha@users.sourceforge.net>2011-02-25 07:31:13 +0000
commita7971771a8ab6f6f76a2a8e482dbb3a30901af1c (patch)
tree97daee18ddace6f04744d7f4fa6b00aa5a59f4b7 /mesalib/configure.ac
parentfbb8c9a149047ccb27e749053c83acf94dedcbf9 (diff)
downloadvcxsrv-a7971771a8ab6f6f76a2a8e482dbb3a30901af1c.tar.gz
vcxsrv-a7971771a8ab6f6f76a2a8e482dbb3a30901af1c.tar.bz2
vcxsrv-a7971771a8ab6f6f76a2a8e482dbb3a30901af1c.zip
xserver randrproto mesa xkeyboard-config git update 25 Feb 2011
Diffstat (limited to 'mesalib/configure.ac')
-rw-r--r--mesalib/configure.ac8
1 files changed, 3 insertions, 5 deletions
diff --git a/mesalib/configure.ac b/mesalib/configure.ac
index e1702ba20..fbc743650 100644
--- a/mesalib/configure.ac
+++ b/mesalib/configure.ac
@@ -890,6 +890,9 @@ AC_ARG_ENABLE([glx-tls],
[GLX_USE_TLS=no])
AC_SUBST(GLX_TLS, ${GLX_USE_TLS})
+AS_IF([test "x$GLX_USE_TLS" = xyes],
+ [DEFINES="${DEFINES} -DGLX_USE_TLS -DPTHREADS"])
+
dnl
dnl More DRI setup
dnl
@@ -945,11 +948,6 @@ esac
dnl Set DRI_DIRS, DEFINES and LIB_DEPS
if test "$mesa_driver" = dri -o "$mesa_driver" = no; then
- # Use TLS in GLX?
- if test "x$GLX_USE_TLS" = xyes; then
- DEFINES="$DEFINES -DGLX_USE_TLS -DPTHREADS"
- fi
-
# Platform specific settings and drivers to build
case "$host_os" in
linux*)