Ethereal-dev: Re: [Ethereal-dev] Build Problems in revision 12488

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Guy Harris" <gharris@xxxxxxxxx>
Date: Fri, 5 Nov 2004 11:56:26 -0800 (PST)
Björn Fischer said:
> thanx for this hint. I found that I had neither lex nor flex installed.

...and the configure script doesn't fail if it doesn't find lex or flex.

I suspect the reason AM_PROG_LEX just sets LEX to ":" if it doesn't find
lex or flex, raher than failing, is to allow releases to be built on
systems without lex or flex, with the output of lex or flex being included
in the source tarball.  Unfortunately that doesn't work well if you're
building from SVN, as those *aren't* in the SVN tree (so that you don't
get people updating the .l file and forgetting to check in the updated .c
file - and don't get problems with .c files on UN*X being different from
.c files on Windows; at least some versions of flex, as I remember,
generated, on UN*X, code that included <unistd.h>, which should be
available on all modern UN*Xes but is not available in all Windows
compilation environments).

So I'm not sure there's a good fix for this.