Re: m4 macro expansion problem

2021-09-08 Thread Sébastien Hinderer
Zack Weinberg (2021/08/25 14:41 -0400): > On Wed, Aug 25, 2021, at 12:06 PM, Sébastien Hinderer wrote: > > Zack Weinberg (2021/08/25 11:39 -0400): > > > m4_syscmd is a primitive, and it doesn't expand its argument, so you need > > > to expand PKG_VERSION first: > > > > > > m4_syscmd([cat >

Re: m4 macro expansion problem

2021-09-08 Thread Sébastien Hinderer
Hey Peter, Peter Johansson (2021/08/26 10:26 +1000): > Hi Sebastien, > > On 26/8/21 12:49 am, Sébastien Hinderer wrote: > > > Perhaps macros > > > are available that let one write some content to a file directly from > > > aclocal.m4? > > There is a macro in the autoconf-archive (not part of

Re: bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-08 Thread Zack Weinberg
On Wed, Sep 8, 2021, at 1:31 AM, Akim Demaille wrote: > One big problem with the Autotools as of today is that they promote > the use of macros/build rules for Yacc, not for Bison. The contract of AC_PROG_YACC is to find something that will generate parsers from POSIX-compliant input; all three