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.
thanksfrom Peter
> Subject: Re: flex version
> To: mcheun...@hotmail.com; grub-devel@gnu.org; help-g...@gnu.org
> From: arvidj...@gmail.com
> 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?
                                          
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to