build: Move python detection back into waf (instead of in configure and Makefile)
[vlendec/samba-autobuild/.git] / ctdb / configure
1 #!/bin/sh
2
3 PREVPATH=`dirname $0`
4
5 WAF=buildtools/bin/waf
6 [ -x "$WAF" ] || WAF=../buildtools/bin/waf
7
8 # using JOBS=1 gives maximum compatibility with
9 # systems like AIX which have broken threading in python
10 JOBS=1
11 export JOBS
12
13 cd . || exit 1
14 $PYTHON $WAF configure "$@" || exit 1
15 cd $PREVPATH