diff options
Diffstat (limited to 'source4/lib/ldb/configure')
-rwxr-xr-x | source4/lib/ldb/configure | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/lib/ldb/configure b/source4/lib/ldb/configure index 50ff475cca..137a26bcbe 100755 --- a/source4/lib/ldb/configure +++ b/source4/lib/ldb/configure @@ -2,7 +2,14 @@ PREVPATH=`dirname $0` -WAF=../../../buildtools/bin/waf +if [ -f $PREVPATH/../../../buildtools/bin/waf ]; then + WAF=../../../buildtools/bin/waf +elif [ -f $PREVPATH/buildtools/bin/waf ]; then + WAF=./buildtools/bin/waf +else + echo "ldb: Unable to find waf" + exit 1 +fi # using JOBS=1 gives maximum compatibility with # systems like AIX which have broken threading in python |