summaryrefslogtreecommitdiff
path: root/ctdb/configure
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-08-19 11:59:03 +1000
committerAmitay Isaacs <amitay@samba.org>2014-09-10 01:36:14 +0200
commitef72188302f3c2ce85c676c2ddf544d734d390c2 (patch)
treef7c6feda0d7b8c7770e903324c4c9f28aab54b36 /ctdb/configure
parent751ad4b62561b140b7a33d66e63907411a748501 (diff)
downloadsamba-ef72188302f3c2ce85c676c2ddf544d734d390c2.tar.gz
ctdb-build: Allow configure and Makefile to find waf in tarball
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/configure')
-rwxr-xr-xctdb/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/configure b/ctdb/configure
index 5357de41598..e8d01577cf7 100755
--- a/ctdb/configure
+++ b/ctdb/configure
@@ -2,7 +2,8 @@
PREVPATH=`dirname $0`
-WAF=../buildtools/bin/waf
+WAF=buildtools/bin/waf
+[ -x "$WAF" ] || WAF=../buildtools/bin/waf
# using JOBS=1 gives maximum compatibility with
# systems like AIX which have broken threading in python