[GRASS5] [bug #883] (grass) configure dosn't look for yacc

Markus Neteler neteler at itc.it
Fri Jan 4 11:53:32 EST 2002


On Fri, Dec 21, 2001 at 06:21:45PM +0000, Glynn Clements wrote:
> 
> On the subject of lex/flex, configure.in currently has the following:
> 
> if test "$LEX" != "flex"; then
>     AC_MSG_WARN([Consider installation of flex (replacement of lex).])
> fi
> 
> Does anyone know the reason for this message?
> 
> If the .l files *need* flex, then this should be an error. OTOH, if
> they work with lex, there doesn't seem much point in issuing a
> warning.

Glynn,

the reason is that we had problems with "yylineno" in the past (if
I recall properly). In:
src/raster/r.binfer/binfer.l

Flex provides something which is not always provided by lex.
Mhhh, long time ago.

Markus



More information about the grass-dev mailing list