[Mesa-dev] [PATCH] glapi: Make xserver location error more helpful

Brian Paul brianp at vmware.com
Wed Jun 1 07:30:29 PDT 2011


On 05/31/2011 09:42 AM, Nathan Kidd wrote:
> From: Nathan Kidd <nkidd at opentext.com>
>
> glx code hasn't lived under xserver/GL for a long time now.
>
> Signed-off-by: Nathan Kidd <nkidd at opentext.com>
> ---
> src/mapi/glapi/gen/Makefile | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/src/mapi/glapi/gen/Makefile b/src/mapi/glapi/gen/Makefile
> index 87b928c..c3829dc 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

Thanks.  I'll commit this soon.

-Brian



More information about the mesa-dev mailing list