Mesa (master): st/xorg: fix the makefile when used with new xextproto

Zack Rusin zack at kemper.freedesktop.org
Thu Oct 22 23:26:32 UTC 2009


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

Author: Zack Rusin <zackr at vmware.com>
Date:   Thu Oct 22 19:31:44 2009 -0400

st/xorg: fix the makefile when used with new xextproto

---

 src/gallium/state_trackers/xorg/Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/state_trackers/xorg/Makefile b/src/gallium/state_trackers/xorg/Makefile
index 27a1990..22c1073 100644
--- a/src/gallium/state_trackers/xorg/Makefile
+++ b/src/gallium/state_trackers/xorg/Makefile
@@ -5,6 +5,8 @@ LIBNAME = xorgtracker
 
 LIBRARY_INCLUDES = \
 	-DHAVE_CONFIG_H \
+	$(shell pkg-config xextproto --atleast-version=7.0.99.1 \
+				&& echo "-DHAVE_XEXTPROTO_71") \
 	$(shell pkg-config --cflags-only-I pixman-1 xorg-server libdrm xproto) \
 	-I$(TOP)/src/gallium/include \
 	-I$(TOP)/src/gallium/auxiliary \




More information about the mesa-commit mailing list