Re: m4_foreach_w(...AC_DEFINE...) expansion change in 2.72e?

"Zack Weinberg" <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
On Thu, Dec 21, 2023, at 2:20 PM, Zack Weinberg wrote:
> On Thu, Dec 21, 2023, at 1:40 PM, Karl Berry wrote:
>> 2.72e creates a different autoconf.h.in and configure in TeX Live's
>> texk/lcdf-typetools
>> (https://github.com/TeX-Live/texlive-source/tree/trunk/texk/lcdf-typetools):
> ...
>> In other words, what was four separate HAVE_AUTO_* macros have become one.
>>
>> The configure.ac code that generates this runs through those four values
>> using m4_foreach_w
>
> Oof.  I have no idea what's wrong here.  The code for m4_foreach_w has not
> changed since 2008.  What is the most recent version of Autoconf that
> generates autoconf.h.in correctly?

It would also be interesting to know if the --enable arguments are being
generated correctly from this code fragment (should be obvious from
configure --help output) because AC_FOREACH is a obsolete macro that's
*supposed* to be just another name for m4_foreach_w ... except that it
*might* be stripping a layer of quotes.

zw
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.