Mesa (master): gallium/state_trackers/glx: X11/Xlib.h: No such file or directory

Gaetan Nadon gnadon at kemper.freedesktop.org
Wed Oct 9 14:44:33 UTC 2013


Module: Mesa
Branch: master
Commit: bc93c3798a8b43682e6ba3a785cc01c977025e15
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc93c3798a8b43682e6ba3a785cc01c977025e15

Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Thu Sep 19 15:09:20 2013 -0400

gallium/state_trackers/glx: X11/Xlib.h: No such file or directory

The compiler cannot find the Xlib.h in the installed system headers.
All supplied include directives point to inside the mesa module.
The X11_CFLAGS variable is undefined (not defined in config.status).

It appears the intent was to use X11_INCLUDES defined in configure.ac.

The Xlib.h file is not installed on my workstation. It is supplied in
the libx11-dev package. This allows an X developer control over which
version of this file is used for X development.

Use to test: --enable-gallium-egl --enable-xlib-glx --disable-dri

Acked-by: Brian Paul <brianp at vmware.com>
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

---

 src/gallium/state_trackers/glx/xlib/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/glx/xlib/Makefile.am b/src/gallium/state_trackers/glx/xlib/Makefile.am
index 7a63594..0b2520a 100644
--- a/src/gallium/state_trackers/glx/xlib/Makefile.am
+++ b/src/gallium/state_trackers/glx/xlib/Makefile.am
@@ -25,7 +25,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
 	$(GALLIUM_CFLAGS) \
-	$(X11_CFLAGS)
+	$(X11_INCLUDES)
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/include \
 	-I$(top_srcdir)/src/mapi \




More information about the mesa-commit mailing list