Damn.. I didn't think of searching for that. We should use AC_PROG_LEX
Thanking You, Darshit Shah Sent from mobile device. Please excuse my brevity On 23-Nov-2014 9:18 pm, "Tim Rühsen" <[email protected]> wrote: > Am Sonntag, 23. November 2014, 16:46:07 schrieb Darshit Shah: > > I've often seen people asking for help compiling Wget because a file, > css.c > > cannot be found. This occurs because Flex is required to generate that > file. > > However, configure does not attempt to check if flex is installed on the > > system. > > > > I believe that even if a dependency is documented in the README files, > the > > configure script **MUST** check for it before continuing. Hence, I'd > like to > > push this patch which checks for the existence of flex before continuing. > > Good idea (a wasn't even aware of that missing check). > > But why not simply using AC_PROG_LEX ? > > See > > https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Particular-Programs.html > > Tim >
