summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Kidd <[email protected]>2011-06-01 08:29:26 -0600
committerBrian Paul <[email protected]>2011-06-01 08:30:59 -0600
commitf3652f0983e6469a515bdfad439286a1060fa545 (patch)
tree8828ea290e5eabcb7c82f58372b42ef7cff2d540
parentb9e9df78a03edb35472c2e231aef4747e09db792 (diff)
glapi: Make xserver location error more helpful
glx code hasn't lived under xserver/GL for a long time now. Signed-off-by: Nathan Kidd <[email protected]> Signed-off-by: Brian Paul <[email protected]>
-rw-r--r--src/mapi/glapi/gen/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/Makefile b/src/mapi/glapi/gen/Makefile
index 87b928ccfbe..c3829dc005e 100644
--- a/src/mapi/glapi/gen/Makefile
+++ b/src/mapi/glapi/gen/Makefile
@@ -128,7 +128,10 @@ xorg: check-xorg-source $(XORG_OUTPUTS)
check-xorg-source:
@if ! test -d $(XORG_GLX_DIR); then \
- echo "ERROR: Must specify path to xserver/GL/ checkout; set XORG_BASE env var."; \
+ echo "ERROR: Must specify path to xserver/ checkout. Set XORG_BASE env var."; \
+ if test x$(XORG_BASE) != x; then \
+ echo "'$(XORG_GLX_DIR)' does not exist."; \
+ fi; \
exit 1; \
fi