From f6cfa866074b64b57d574c94429c8e358974b954 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 31 Oct 2010 18:24:02 +0100 Subject: talloc: Look harder for waf. Autobuild-User: Jelmer Vernooij Autobuild-Date: Sun Oct 31 18:06:16 UTC 2010 on sn-devel-104 --- lib/talloc/configure | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib/talloc') diff --git a/lib/talloc/configure b/lib/talloc/configure index 2d4aec724e..6a9f875511 100755 --- a/lib/talloc/configure +++ b/lib/talloc/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 "replace: Unable to find waf" + exit 1 +fi # using JOBS=1 gives maximum compatibility with # systems like AIX which have broken threading in python -- cgit