xserver: Branch 'master'

Keith Packard keithp at kemper.freedesktop.org
Wed Feb 2 14:57:21 PST 2011


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0b15033031d78836582bd1b641c3160c3803a708
Author: Samuel Thibault <samuel.thibault at ens-lyon.org>
Date:   Mon Jan 31 23:25:10 2011 +0100

    xserver: enable TLS even if AIGLX is not enabled
    
    This aligns the xorg server build with the mesa build, which is needed on
    systems where aiglx with dri support is not enabled. Else the following error is
    obtained when trying to load the software raster:
    
    (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: undefined symbol: _glapi_tls_Context)
    (EE) GLX: could not load software renderer
    (II) GLX: no usable GL providers found for screen 0
    
    because mesa always enables TLS use in GLX, even if dri is not available.
    
    Signed-off-by: Samuel Thibault <samuel.thibault at ens-lyon.org>
    Signed-off-by: Julien Cristau <jcristau at debian.org>
    Signed-off-by: Keith Packard <keithp at keithp.com>

diff --git a/configure.ac b/configure.ac
index 628760e..9b3e2be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1013,7 +1013,7 @@ else
 fi
 AM_CONDITIONAL(AIGLX, test "x$AIGLX" = xyes)
 
-if test "x$GLX_USE_TLS" = xyes -a "x$AIGLX" = xyes; then
+if test "x$GLX_USE_TLS" = xyes ; then
 	GLX_DEFINES="-DGLX_USE_TLS -DPTHREADS"
 	GLX_SYS_LIBS="$GLX_SYS_LIBS -lpthread"
 fi


More information about the xorg-commit mailing list