Bug 1071438 - Make client.mk detect python like configure and mach do. r=mshal

This commit is contained in:
Mike Hommey 2014-09-24 07:57:10 +09:00
parent a2b639f114
commit cf5d2f33d8

View File

@ -70,7 +70,7 @@ endif
SH := /bin/sh
PERL ?= perl
PYTHON ?= python
PYTHON ?= $(shell which python2.7 > /dev/null 2>&1 && echo python2.7 || echo python)
CONFIG_GUESS_SCRIPT := $(wildcard $(TOPSRCDIR)/build/autoconf/config.guess)
ifdef CONFIG_GUESS_SCRIPT