[vlc-devel] [PATCH] tools: add libtool when building automake
Sean McGovern
gseanmcg at gmail.com
Sat May 2 15:04:04 CEST 2015
On Mon, Apr 27, 2015 at 5:58 PM, Sean McGovern <gseanmcg at gmail.com> wrote:
> 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
> --
>
Ping.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150502/9a8d859f/attachment.html>
More information about the vlc-devel
mailing list