[vlc-devel] [PATCH] tools: add libtool when building automake
Sean McGovern
gseanmcg at gmail.com
Mon Apr 27 23:58:23 CEST 2015
When building many of the contribs, automake _must_ be able to find
the libtool m4 macros.
---
extras/tools/bootstrap | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap
index c3c0b80..f5e2d0b 100755
--- a/extras/tools/bootstrap
+++ b/extras/tools/bootstrap
@@ -43,6 +43,14 @@ then
fi
}
+check_libtool() {
+if [[ "$NEEDED" =~ ".automake" && ! "$NEEDED" =~ ".libtool" ]]
+then
+ echo "automake will be built locally, adding libtool"
+ NEEDED="$NEEDED .libtool"
+fi
+}
+
check() {
if ! $1 --version >/dev/null 2>&1 && ! $1 -version >/dev/null 2>&1
then
@@ -74,6 +82,7 @@ check autoconf 2.69
check automake 1.14
check m4 1.4.16
check libtool 2.4
+check_libtool
check pkg-config
check cmake 3.1.0
check yasm
--
1.7.9.2
More information about the vlc-devel
mailing list