summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-11-06 22:24:07 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-11-09 14:54:46 +0100
commit010fd296881aa643a4b631d57df503c9e832b35c (patch)
tree06f4092cde9ec7ea71b6cf437aad6d7f531a5475 /configure
parent702049ef55dc17d2996a53a1c30be76591423970 (diff)
downloadsamba-010fd296881aa643a4b631d57df503c9e832b35c.tar.gz
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 <idra@samba.org> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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