diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-10-31 18:24:02 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-31 18:06:16 +0000 |
commit | f6cfa866074b64b57d574c94429c8e358974b954 (patch) | |
tree | 71762ab8ede940f94732dfd05471702cd03a85fe | |
parent | c402e75be930a47f4e1c5663cb0041791fd47bcf (diff) | |
download | samba-f6cfa866074b64b57d574c94429c8e358974b954.tar.gz samba-f6cfa866074b64b57d574c94429c8e358974b954.tar.bz2 samba-f6cfa866074b64b57d574c94429c8e358974b954.zip |
talloc: Look harder for waf.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 18:06:16 UTC 2010 on sn-devel-104
-rwxr-xr-x | lib/talloc/configure | 9 |
1 files changed, 8 insertions, 1 deletions
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 |