Hi Jean Frederic,
Would you like me to commit this?
jean-frederic clere wrote:
>
> Andy Armstrong wrote:
> >
> > +1
> >
> > jean-frederic clere wrote:
> > >
> > > GOMEZ Henri wrote:
> > > >
> > > > >so, forgive me if this is a stupid question, but... how is jk_version.h
> > > > >generated on windows? do i need to install cygwin stuff and run
> > > > >buildconf.sh/configure?
> > > >
> > > > Good point Kevin :)
> > > >
> > > > May be just by editing it ;)
> > >
> > > Should move the logic of version out from configure and to jk_version.h (Any
> > > way I was not very happy to have to commit configure.in when the j-t-c version
> > > changes).
> >
> > --
> > Andy Armstrong, Tagish
>
> I have prepared a jk_version.h. I will commit it tomorrow (If I have time).
> Find it enclosed.
>
> ------------------------------------------------------------------------
> /* common/jk_version.h */
>
> /************** START OF AREA TO MODIFY BEFORE RELEASING *************/
> #define JK_VERMAJOR 1
> #define JK_VERMINOR 2
> #define JK_VERFIX 0
> #define JK_VERSTRING "1.2.0"
>
> /* Beta number */
> #define JK_VERBETA 1
> #define JK_BETASTRING "1"
> /* set JK_VERISRELEASE to 1 when release (do not forget to commit!) */
> #define JK_VERISRELEASE 1
> /************** END OF AREA TO MODIFY BEFORE RELEASING *************/
>
> #define PACKAGE "mod_jk/"
> /* Build JK_EXPOSED_VERSION and JK_VERSION */
> #define JK_EXPOSED_VERSION_INT PACKAGE JK_VERSTRING
>
> #if ( JK_VERISRELEASE == 1 )
> #define JK_EXPOSED_VERSION JK_EXPOSED_VERSION_INT
> #undef JK_VERBETA
> #define JK_VERBETA 255
> #else
> #define JK_EXPOSED_VERSION JK_EXPOSED_VERSION_INT "-beta-" JK_BETASTRING
> #endif
>
> #define JK_VERSION (((JK_VERMAJOR) << 24) + ((JK_VERMINOR) << 16) + \
> ((JK_VERFIX) << 8) + (JK_VERBETA))
--
Andy Armstrong, Tagish