[PATCH] Disable DRI3 and sync fence FD functions if xshmfence isn't available

Matthieu Herrb matthieu.herrb at laas.fr
Mon Nov 4 23:32:48 CET 2013


On Mon, Nov 04, 2013 at 10:30:22PM +0100, Matthieu Herrb wrote:
> [even with this patch I still have an issue with the glx extension
> module build, but it's probably not directly related, so I'm going to
> investigate further and send another patch. 

This additional hunk fixes this issue above for systems where libGL.so
is not in the default linker search path.

diff --git configure.ac configure.ac
index 0d855f2..308c917 100644
--- configure.ac
+++ configure.ac
@@ -1074,7 +1075,7 @@ if test "x$GLX" = xyes; then
 	AC_SUBST(XLIB_CFLAGS)
 	AC_DEFINE(GLXEXT, 1, [Build GLX extension])
 	GLX_LIBS='$(top_builddir)/glx/libglx.la'
-	GLX_SYS_LIBS="$GLX_SYS_LIBS -lGL"
+	GLX_SYS_LIBS="$GLX_SYS_LIBS $GL_LIBS"
 else
         GLX=no
 fi

-- 
Matthieu Herrb


More information about the xorg-devel mailing list