summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-31 18:24:02 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-10-31 18:06:16 +0000
commitf6cfa866074b64b57d574c94429c8e358974b954 (patch)
tree71762ab8ede940f94732dfd05471702cd03a85fe
parentc402e75be930a47f4e1c5663cb0041791fd47bcf (diff)
downloadsamba-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-xlib/talloc/configure9
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