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

Serg Chernyavskiy glenvt18 at gmail.com
Thu Jul 30 14:13:00 CEST 2015


Version?

2015-07-07 6:35 GMT+03:00 Serg Chernyavskiy <glenvt18 at gmail.com>:
> Only tested with 1.9, 1.11 and 1.14. Don't have 1.5. With 1.4 it doesn't
> work. What min version do you suggest?
>
> 2015-07-06 19:15 GMT+03:00 Jean-Baptiste Kempf <jb at videolan.org>:
>>
>> 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