bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_PACKAGE_VERSION visibility slightly changed in autoconf-2.69c. Bu


From: Sergei Trofimovich
Subject: Re: AC_PACKAGE_VERSION visibility slightly changed in autoconf-2.69c. Bug or feature?
Date: Wed, 21 Oct 2020 22:01:30 +0100

On Wed, 21 Oct 2020 09:15:41 -0400
Zack Weinberg <zackw@panix.com> wrote:

> On Tue, Oct 20, 2020 at 4:57 PM Nick Bowler <nbowler@draconx.ca> wrote:
> > On 2020-10-20, Sergei Trofimovich <slyfox@gentoo.org> 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],
> > > [glasgow-haskell-bugs@haskell.org], [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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]