<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 27, 2015 at 5:58 PM, Sean McGovern <span dir="ltr"><<a href="mailto:gseanmcg@gmail.com" target="_blank">gseanmcg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When building many of the contribs, automake _must_ be able to find<br>
the libtool m4 macros.<br>
---<br>
 extras/tools/bootstrap |    9 +++++++++<br>
 1 file changed, 9 insertions(+)<br>
<br>
diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap<br>
index c3c0b80..f5e2d0b 100755<br>
--- a/extras/tools/bootstrap<br>
+++ b/extras/tools/bootstrap<br>
@@ -43,6 +43,14 @@ then<br>
 fi<br>
 }<br>
<br>
+check_libtool() {<br>
+if [[ "$NEEDED" =~ ".automake" && ! "$NEEDED" =~ ".libtool" ]]<br>
+then<br>
+    echo "automake will be built locally, adding libtool"<br>
+    NEEDED="$NEEDED .libtool"<br>
+fi<br>
+}<br>
+<br>
 check() {<br>
 if ! $1 --version >/dev/null 2>&1 && ! $1 -version >/dev/null 2>&1<br>
 then<br>
@@ -74,6 +82,7 @@ check autoconf 2.69<br>
 check automake 1.14<br>
 check m4 1.4.16<br>
 check libtool 2.4<br>
+check_libtool<br>
 check pkg-config<br>
 check cmake 3.1.0<br>
 check yasm<br>
<span class="HOEnZb"><font color="#888888">--<br></font></span></blockquote><div><br></div><div>Ping. </div></div></div></div>