[vlc-devel] [PATCH 13/16] Fix automake version check

Sean McGovern gseanmcg at gmail.com
Mon Jul 6 20:14:21 CEST 2015


Especially since we have a relatively new version buildable from extras/tools/.
-----Original Message-----
From: Jean-Baptiste Kempf <jb at videolan.org>
Sender: "vlc-devel" <vlc-devel-bounces at videolan.org>Date: Mon, 6 Jul 2015 18:15:18 
To: Mailing list for VLC media player developers<vlc-devel at videolan.org>
Reply-To: Mailing list for VLC media player developers <vlc-devel at videolan.org>
Subject: Re: [vlc-devel] [PATCH 13/16] Fix automake version check

It might be time to drop old automakes

On 26 Jun, glenvt18 wrote :
> This allows to run automake > 1.11.
> ---
>  bootstrap | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/bootstrap b/bootstrap
> index 61ddb46..a03e95e 100755
> --- a/bootstrap
> +++ b/bootstrap
> @@ -40,8 +40,8 @@ for v in "-1.11" "-1.10" "110" "-1.9" "19" "-1.8" "18" "-1.7" "17" "-1.6" "16" "
>  done
>  
>  if test "${amvers}" = "no" && automake --version > /dev/null 2>&1; then
> -  amvers="`automake --version | sed -e '1s/[^0-9]*//' -e q`"
> -  if expr "$amvers" "<" "1.5" > /dev/null 2>&1; then
> +  amvers="`automake --version | sed -nE '1s/[^0-9]*([0-9]+)\.([0-9]+).*/\1 * 100 + \2/p' | xargs expr`"
> +  if expr "$amvers" "<" "105" > /dev/null 2>&1; then
>      amvers="no"
>    else
>      amvers=""
> -- 
> 1.9.1
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list