Re: UPDATED (glib-gettextize patch)



On Sat, Dec 15, 2001 at 03:10:37PM -0800, Miles Lane wrote:
> On Fri, 2001-12-14 at 22:50, Darin Adler wrote:
> > On 12/14/01 4:40 PM, "Miles Lane" <miles megapathdsl net> wrote:
> > > +BONOBO_ACTIVATION_VERSION=$BONOBO_ACTIVATION_MAJOR_VERSION.$BONOBO_ACTIVATION
> > > _MINOR_VERSION.$BONOBO_ACTIVATION_MICRO_VERSION
> > > +
> > > +AM_INIT_AUTOMAKE(bonobo-activation, $BONOBO_ACTIVATION_VERSION)
> >
> > Reason for moving this?
> 
> I'll remove this part of the patch.  I only moved it while testing
> various approaches to handling the AM_INIT_AUTOMAKE VERSION strings.
> I was attempting to determine whether having variables defined before
> or after the AM_INIT_AUTOMAKE is significant.  With the new
> AM_INIT_AUTOMAKE usage, the order does appear to be significant.
> When VERSION variables are defined before AM_INIT_AUTOMAKE is called,
> the values are lost.  When they are defined afterward, the values are
> not lost.  Reverting to the old AM_INIT_AUTOMAKE usage, the variable 
> values are not lost.

Reading the definition of AM_INIT_AUTOMAKE (you can use grep to find
that it's in init.m4) explains this: it sets PACKAGE and VERSION itself
and will nuke any previous values.

"Use the source, Luke"

Malcolm

-- 
Bills travel through the mail at twice the speed of cheques.



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