From 63928c82c1c5ed2fa3bab30976566a8a393ef8b4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 28 Sep 2010 09:00:26 +0200 Subject: ldb/tevent: Fix detection of waf paths. --- lib/tevent/configure | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib/tevent/configure') diff --git a/lib/tevent/configure b/lib/tevent/configure index 2d4aec724e..15ad1a57f1 100755 --- a/lib/tevent/configure +++ b/lib/tevent/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 "tevent: Unable to find waf" + exit 1 +fi # using JOBS=1 gives maximum compatibility with # systems like AIX which have broken threading in python -- cgit