Re: AC_INIT regression in 2.69c

Zack Weinberg <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <CAKCAbMj2ToUTz3YoQoS9h2rA58u6bMhhY8hOT6kpjj4j5SBZDA@mail.gmail.com>
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.
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.