From 010fd296881aa643a4b631d57df503c9e832b35c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 6 Nov 2012 22:24:07 +0100 Subject: configure: Support specifying PYTHON environment variable to run waf. This is necessary to run configure on Minix, where python is named "python2.X". Reviewed-by: Simo Sorce Signed-off-by: Jelmer Vernooij --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 72f758e5ad..30858df9e3 100755 --- a/configure +++ b/configure @@ -10,5 +10,5 @@ JOBS=1 export JOBS cd . || exit 1 -$WAF configure "$@" || exit 1 +${PYTHON:=python} $WAF configure "$@" || exit 1 cd $PREVPATH -- cgit