Re: AC_INIT regression in 2.69c

Jani Välimaa <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Organization Mageia.org
Message-ID <[email protected]>
On Fri, 30 Oct 2020 17:21:19 -0400
Zack Weinberg wrote:

> On Fri, Oct 30, 2020 at 4:40 PM Jani Välimaa <[email protected]> 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])],
> >         [[email protected]])
> >
> > 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.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE1etK5oBNfP8PS+FJcwecnDtSwOAFAl+dJgEACgkQcwecnDtS
wOAseQ/6A2Mhg9pQUur4ofW3TSv8Y9cLhelxU8U2dqzgVUeGFzpIJDKkZBwH/gVP
HP0KbDZUkGUoJUdc8iQvOyC7ahSE3HHpllnIZLtYmxQYq3sQPKW4Lf01VhcQHCd+
VrXZvJ3yYK4GXFn1F4tzTw/VbHhdYmx+vbWumKDCpQDQ9mi+qHKm+MBRG91+a9vF
/uKauujN3yUxbBMiRPtdCLc3Hyy25PsIrD2uiZw6Y0Z8nI1idakbNWnrwau7cSoa
Hlp2vg9HmU0shxRiRnK80cdRhCAXdf4+279RAjzvj0IEJdz+3Lc13AQ6MjkQw1d/
vhC76RiDs84DRA0ihwMW3WnSBivRlanbCSG1A1du6H2DWma1UDUqy53nA8M1Mdml
kJI9BsYforRFnvLQe1AFHtMB0PdQhytGAX0Ye5YzdU31IZT3SjO4xAJcT5BqaLWD
82ZMb6ZKqxoJev9bQr/ocrPQqvc5QXNp3KR5mzaBG/LItGrlh789rdjmmmZMJGZp
UjN8icFjJ0qiUXDRB/GghQXW2wZj2j2Kb3PIJAQs3vtYoyOY1EyrhJ8vPTculSHq
/kvzOF103zzC41JCHwLQVZ0Rec0az5EyJJng2eZtWWyMLCiVvaMvTHbvfparCLbg
3NZ5MPIjiboPUDFYCduMy5CMQ8SiUVQnMFIxcqfxpfFOcZbZ8po=
=ZbXS
-----END PGP SIGNATURE-----
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.