aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/glapi/gen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mapi/glapi/gen/Makefile')
-rw-r--r--mesalib/src/mapi/glapi/gen/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mesalib/src/mapi/glapi/gen/Makefile b/mesalib/src/mapi/glapi/gen/Makefile
index 8dec628dd..a47c618c4 100644
--- a/mesalib/src/mapi/glapi/gen/Makefile
+++ b/mesalib/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