[cairo] version was: (no subject)
Behdad Esfahbod
behdad at cs.toronto.edu
Wed Aug 10 10:16:08 PDT 2005
On Wed, 10 Aug 2005, Carl Worth wrote:
> On Mon, 8 Aug 2005 23:59:21 -0400 (EDT), Behdad Esfahbod wrote:
> > Attached is the correct patch for version autofoo. The libtool
> > versioning stuff should be after initializing autotools to take
> > effect.
>
> > +AC_INIT([cairo],
> > + cairo_version_major.cairo_version_minor.cairo_version_micro[]cairo_version_other,
> ...
> > +m4_define(cairo_version_major, 0)
> > +m4_define(cairo_version_minor, 6)
> > +m4_define(cairo_version_micro, 0)
> > +m4_define(cairo_version_other, -head)
>
> Does that work?
No :). Oops!
> We could just make CAIRO_VERSION_ENCODE multiply everything by 10 and
> then define CAIRO_VERSION as CAIRO_VERSION_ENCODE(MAJ,MIN,MIC)+1,
> (or +5, or perhaps +9 to more obviously make this digit distinct from
> the micro digit which is likely to hit 1 quite often).
Make it multiply by 100 then, like others, and let
CAIRO_VERSION_ENCODE get tag too. If tag is non-null, add
9 to the version returned.
> -Carl
>
--behdad
http://behdad.org/
More information about the cairo
mailing list