build: cope with spaces in options passed to ./configure
[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
13 $WAF configure "$@"
14 cd $PREVPATH