On Mon, Jul 31, 2023, at 7:37 AM, FX Coudert wrote: > Hello, > > I have a configure.ac file that calls AM_PROG_LEX. This now generates > warnings: ... > 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?
Yes, this does ultimately need to be fixed in automake, but in the meantime you *may* be able to work around it by writing AC_PROG_LEX([noyywrap]) AM_PROG_LEX (Change "noyywrap" to "yywrap" if you actually need yywrap from libl.a.) This will work iff AM_PROG_LEX uses AC_REQUIRE to invoke AC_PROG_LEX. I'm writing this on my phone so I can't easily check. zw