Re: AC_PACKAGE_VERSION visibility slightly changed in autoconf-2.69c. Bug or feature?

Sergei Trofimovich <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <20201021220130.080502b5@sf>
On Wed, 21 Oct 2020 09:15:41 -0400
Zack Weinberg <[email protected]> wrote:

> On Tue, Oct 20, 2020 at 4:57 PM Nick Bowler <[email protected]> wrote:
> > On 2020-10-20, Sergei Trofimovich <[email protected]> wrote:  
> > > Initial bug is reported as autoconf failure on ghc-8.8.4:
> > >     https://bugs.gentoo.org/750191
> > > There autconf 2.69 works, 2.69c does not.  
> ...
> > >   $ cat configure.ac
> > >   AC_INIT([The Glorious Glasgow Haskell Compilation System], [9.1.0],
> > > [[email protected]], [ghc-AC_PACKAGE_VERSION])
> > >
> > >   echo "$PACKAGE_VERSION"
> > >
> > >   AC_OUTPUT  
> 
> If I understand correctly, the intention is to have $PACKAGE_VERSION
> set to "9.1.0" and $PACKAGE_TARNAME set to "ghc-9.1.0"?

I think the intention is to have PACKAGE_VERSION=9.1.0 (and tarball)
for a release (RELEASE=YES in configure.ac).

For development versions PACKAGE_VERSION (and tarball
name) is mangled later in configure.ac after AC_INIT based on current
commit: https://github.com/ghc/ghc/blob/master/aclocal.m4#L1646

-- 

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