summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2009-10-22 19:31:44 -0400
committerZack Rusin <zackr@vmware.com>2009-10-22 19:33:04 -0400
commitfb22e801699ef69e40d8e9dfda758be824d86b96 (patch)
tree5f8d6fe55057b326003733c29271a970f0e1d2ee /src/gallium/state_trackers/xorg
parent04ec113e09f6287f2c6b39bf0247e06839eaf7a8 (diff)
st/xorg: fix the makefile when used with new xextproto
Diffstat (limited to 'src/gallium/state_trackers/xorg')
-rw-r--r--src/gallium/state_trackers/xorg/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/Makefile b/src/gallium/state_trackers/xorg/Makefile
index 27a1990724..22c107370e 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 \