waf: Correctly check for prctl in just one place.
[sfrench/samba-autobuild/.git] / configure
index 72f758e5adc3846b239cc7c438a5ee7843668d1f..30858df9e3cc10da39390bcd53092b38a9c76897 100755 (executable)
--- 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