From 54b028ba89000e197f6a9f2aead195053e2389a3 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Thu, 19 Sep 2013 14:18:30 -0400 Subject: [PATCH] gallium/targets/libgl-xlib: 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. Acked-by: Brian Paul Signed-off-by: Gaetan Nadon --- src/gallium/targets/libgl-xlib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/targets/libgl-xlib/Makefile.am b/src/gallium/targets/libgl-xlib/Makefile.am index 89066c7c06f..ecbf2628dea 100644 --- a/src/gallium/targets/libgl-xlib/Makefile.am +++ b/src/gallium/targets/libgl-xlib/Makefile.am @@ -37,7 +37,7 @@ AM_CPPFLAGS = \ -DGALLIUM_RBUG \ -DGALLIUM_TRACE \ -DGALLIUM_GALAHAD -AM_CFLAGS = $(X11_CFLAGS) +AM_CFLAGS = $(X11_INCLUDES) lib_LTLIBRARIES = libGL.la -- 2.30.2