s3:test_net_registry_check.sh: grep -E isn't portable, use egrep
[Samba/id10ts.git] / lib / tevent / configure
blob15ad1a57f1656b492aeda3c36dd7c3ce1cd6ec80
1 #!/bin/sh
3 PREVPATH=`dirname $0`
5 if [ -f $PREVPATH/../../buildtools/bin/waf ]; then
6 WAF=../../buildtools/bin/waf
7 elif [ -f $PREVPATH/buildtools/bin/waf ]; then
8 WAF=./buildtools/bin/waf
9 else
10 echo "tevent: Unable to find waf"
11 exit 1
14 # using JOBS=1 gives maximum compatibility with
15 # systems like AIX which have broken threading in python
16 JOBS=1
17 export JOBS
19 cd . || exit 1
20 $WAF configure "$@" || exit 1
21 cd $PREVPATH