[PATCH 1/2] configure: Support specifying PYTHON environment variable to run waf.

Jelmer Vernooij jelmer at samba.org
Thu Nov 8 14:39:37 MST 2012


This is necessary to run configure on Minix, where python is named
"python2.X".

Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 72f758e..30858df 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
-- 
1.8.0



More information about the samba-technical mailing list