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 00f2cd8287
commit bd686fc0ac

View File

@ -70,7 +70,7 @@ endif
SH := /bin/sh SH := /bin/sh
PERL ?= perl 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) CONFIG_GUESS_SCRIPT := $(wildcard $(TOPSRCDIR)/build/autoconf/config.guess)
ifdef CONFIG_GUESS_SCRIPT ifdef CONFIG_GUESS_SCRIPT