Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: Commited: RE: PATCH: Re: zsh and autoconf-2.50

> > It requires literal
> > version number; having two versions (in configure.in and
> Config/version.mk)
> > is obviously silly. I'm inclined to put version in configure.{in,ac} and
> > create version.mk out of version.mk.in. This means the least changes in
> > Makefiles.
> That's a pain in the neck.  Your solution is about the only way round.

I gave up. In all cases I needed vesion number in at least two files
(configure.in and configure.ac) that makes the whole story useless.

I would suggest that for 4.1.1 (or when we decide to switch to autoconf-2.50
completely) we use version number in AC_INIT and VERSION_DATE autogenerated
from configure.ac change date. That leaves us with exactly one place to
edit. There remains version.yo but it can happily depend on configure.ac in
this case.


I'm going to commit this in 4.0 as final version.

Index: configure.ac
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.1
diff -u -r1.1 configure.ac
--- configure.ac        2001/06/06 08:37:21     1.1
+++ configure.ac        2001/06/06 12:30:20
@@ -1,7 +1,6 @@

-AC_INIT(zsh, 4.1.0-dev-0, [zsh-workers@xxxxxxxxxx])


Messages sorted by: Reverse Date, Date, Thread, Author