|
From: | Peter Cheung |
Subject: | RE: flex version |
Date: | Sun, 15 Nov 2015 16:00:21 +0800 |
One side question, only mac need this patch. If we do it this way:
flex --version | egrep -o '[0-9]+\.[0-9]+\.[0-9]+' Then linux flex also works fine. thanks from Peter > Subject: Re: flex version > To: address@hidden; address@hidden; address@hidden > From: address@hidden > Date: Sun, 15 Nov 2015 09:26:11 +0300 > > 14.11.2015 19:22, Peter Cheung пишет: > > hi > > my flex in mac is installed using macports. > > > > $flex --version > > flex 2.5.35 Apple(flex-31) > > > > And the line in configure fail > > > > version=`$LEX --version | $AWK '{ split($NF,x,"."); print x[1]*10000+x[2]*100+x[3]; }’` > > > > Better to change it to: > > > > version=`$LEX --version | sed 's/flex //'|sed 's/ .*//'| $AWK '{ split($NF,x,"."); print x[1]*10000+x[2]*100+x[3]; }’` > > > > Does attached patch help? |
[Prev in Thread] | Current Thread | [Next in Thread] |