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

Jean-Baptiste Kempf jb at videolan.org
Mon Jul 6 18:15:18 CEST 2015


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



More information about the vlc-devel mailing list