waf: bring back shared Makefile and configure (needed by s3-waf).
[samba.git] / buildtools / scripts / configure.waf
1 #!/bin/sh
2
3 PREVPATH=`dirname $0`
4
5 WAF=BUILDTOOLS/bin/waf
6
7 # using JOBS=1 gives maximum compatibility with
8 # systems like AIX which have broken threading in python
9 JOBS=1
10 export JOBS
11
12 cd BUILDPATH || exit 1
13 $WAF configure "$@" || exit 1
14 cd $PREVPATH