help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flex version


From: Andrei Borzenkov
Subject: Re: flex version
Date: Sun, 15 Nov 2015 09:26:11 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

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?

Attachment: awk-macports.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]