aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/sw/xlib
diff options
context:
space:
mode:
authorGaetan Nadon <[email protected]>2013-09-17 15:46:10 -0400
committerKenneth Graunke <[email protected]>2013-09-19 10:49:57 -0700
commit79930c60278d26911c7e7500ef6e1c788dd74c3e (patch)
tree3cfac15c002d8656b90ce761167a08f53afb532e /src/gallium/winsys/sw/xlib
parent092f2e83365c75d56f593400b38d51909bea56f4 (diff)
winsys/sw/xlib: fix compile error in xlib_sw_winsys.c.
xlib_sw_winsys.h:5:22: fatal error: 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. Signed-off-by: Gaetan Nadon <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/winsys/sw/xlib')
-rw-r--r--src/gallium/winsys/sw/xlib/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/sw/xlib/Makefile.am b/src/gallium/winsys/sw/xlib/Makefile.am
index 59da37dbb47..ea6b7429d86 100644
--- a/src/gallium/winsys/sw/xlib/Makefile.am
+++ b/src/gallium/winsys/sw/xlib/Makefile.am
@@ -24,7 +24,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
AM_CPPFLAGS = \
$(GALLIUM_CFLAGS) \
- $(X11_CFLAGS)
+ $(X11_INCLUDES)
noinst_LTLIBRARIES = libws_xlib.la