git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c3fa203
)
replace: Look harder for waf.
author
Jelmer Vernooij
<jelmer@samba.org>
Sun, 31 Oct 2010 17:19:19 +0000
(18:19 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 31 Oct 2010 17:24:04 +0000
(17:24 +0000)
lib/replace/configure
patch
|
blob
|
history
diff --git
a/lib/replace/configure
b/lib/replace/configure
index 2d4aec724ef3f6f47c036f2f4689cbf676b72f58..6a9f8755112af7c1f7253912bbc0079655546725 100755
(executable)
--- a/
lib/replace/configure
+++ b/
lib/replace/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