[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue with AM_PROG_LEX
From: |
Zack Weinberg |
Subject: |
Re: Issue with AM_PROG_LEX |
Date: |
Mon, 31 Jul 2023 10:32:50 -0400 |
User-agent: |
Cyrus-JMAP/3.9.0-alpha0-592-ga9d4a09b4b-fm-defalarms-20230725.001-ga9d4a09b |
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