Search for location of waf script
[Samba.git] / ctdb / configure
blobdbb0c1446b512d3fd85864d9b9b5272f46fd8a91
1 #!/bin/sh
3 PREVPATH=`dirname $0`
5 WAF=buildtools/bin/waf
6 [ -x "$WAF" ] || WAF=../buildtools/bin/waf
8 # using JOBS=1 gives maximum compatibility with
9 # systems like AIX which have broken threading in python
10 JOBS=1
11 export JOBS
13 cd . || exit 1
14 $PYTHON $WAF configure "$@" || exit 1
15 cd $PREVPATH