Issue with AM_PROG_LEX

FX Coudert <[email protected]>
Newsgroups gmane.comp.sysutils.automake.general
Message-ID <[email protected]>
Hello,

I have a configure.ac file that calls AM_PROG_LEX. This now generates warnings:

> configure.ac:4045: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
> ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
> ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
> aclocal.m4:9472: AM_PROG_LEX is expanded from...
> configure.ac:4045: the top level

I am not sure I can actually fix those: AM_PROG_LEX does not seem to accept an argument. Probably it should, and pass it down to AC_PROG_LEX if provided? So this seems to be a bug in automake, or am I missing something?

Thanks,
FX
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.