On Fri, 30 Oct 2020 17:21:19 -0400
Zack Weinberg wrote:

> On Fri, Oct 30, 2020 at 4:40 PM Jani Välimaa <wa...@mageia.org> wrote:
> > autoreconf seems to be failing with autoconf-2.69c with the following
> > AC_INIT in configure.ac.
> >
> > AC_INIT([test],
> >         [m4_esyscmd([build-aux/git-version-gen .tarball-version])],
> >         [bug-autoconf@gnu.org])
> >
> > Same happens also with other m4_* macros wrapped with [].  
> 
> This is the same as https://savannah.gnu.org/support/index.php?110349
> .  See the threads linked from that bug for further discussion.
> 
> In this case, you really _shouldn't_ wrap the m4_esyscmd invocation in
> [], because it should only be executed once.

OK, thanks for the explanation.

It's not wraped in the example in build-aux/git-version-gen script
either, but for some reason pkg upstreams are doing it widely.

I have already fixed some pkgs in Mageia Cauldron (the development
version of Mageia Linux) not building because of this, and I don't know
how many more I need to fix. We are autobuilding all pkgs every now and
then to see the breakages.

Attachment: pgp1jupEeyWEf.pgp
Description: OpenPGP-allekirjoitus

Reply via email to