From: Jelmer Vernooij Date: Tue, 6 Nov 2012 21:24:07 +0000 (+0100) Subject: configure: Support specifying PYTHON environment variable to run waf. X-Git-Tag: ldb-1.1.14~29 X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=010fd296881aa643a4b631d57df503c9e832b35c 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 --- diff --git a/configure b/configure index 72f758e5adc..30858df9e3c 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