tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r895700 - /tomcat/native/trunk/native/build/tcnative.m4
Date Tue, 05 Jan 2010 11:38:55 GMT
On 05/01/2010, sebb <sebbaz@gmail.com> wrote:
> On 05/01/2010, Mladen Turk <mturk@apache.org> wrote:
>  > On 01/05/2010 11:23 AM, Konstantin Kolinko wrote:
>  >
>  > > 2010/1/5 Rainer Jung<rainer.jung@kippdata.de>:
>  > >
>  > > >
>  > > > Konstantin: JFC is right, it was meant to also check against the third
>  > part
>  > > > of the minimum apr version "1 . 3 . 3".
>  > > >
>  > > >
>  > >
>  > > By the way: you should check the third number
>  > > only if the second one is equal to "3".
>  > >
>  > >
>  >
>  >  The simplest would just be
>  >
>  >  if [ ${1}${2}${3} -lt 133 ]; then
>  >    echo "Minimun required version is 1.3.3"
>  >    exit 1
>  >  fi
>
>
> Not sure this works properly if any of the parts is >9
>

Scrap that, I've just seen the actual fix which coerces the parts to 2
or 3 digits, which should be OK for a lot longer.

>  >
>  >  Regards
>  >  --
>  >  ^TM
>  >
>  >
>  > ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>  >  For additional commands, e-mail: dev-help@tomcat.apache.org
>  >
>  >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message