You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Xavier Beaudouin <ki...@oav.net> on 2007/03/06 21:56:27 UTC
Determining Apache version uppon compilation of module ?
Hello,
I am trying to find a portable way to find what is the version of
apache during compilation of a third party module.
Is there any good way(tm) to do that... (did find yet on gooogle)...
Thanks,
/Xavier
Re: Determining Apache version uppon compilation of module ?
Posted by Xavier Beaudouin <ki...@oav.net>.
Le 6 mars 07 à 22:11, Joshua Slive a écrit :
> On 3/6/07, Joost de Heer <jo...@sanguis.xs4all.nl> wrote:
>> Xavier Beaudouin schreef:
>> > Hello,
>> >
>> > I am trying to find a portable way to find what is the version
>> of apache
>> > during compilation of a third party module.
>>
>> In include/ap_release.h, the macros AP_SERVER_MAJORVERSION_NUMBER,
>> AP_SERVER_MINORVERSION_NUMBER and AP_SERVER_PATCHLEVEL_NUMBER are
>> defined.
>
> Also see MODULE_MAGIC_NUMBER (major and minor) from ap_mmn.h, which is
> a better way to determine API-compatibility.
Thank Joshua, this helped me a lots !
/Xavier
Re: Determining Apache version uppon compilation of module ?
Posted by Joshua Slive <jo...@slive.ca>.
On 3/6/07, Joost de Heer <jo...@sanguis.xs4all.nl> wrote:
> Xavier Beaudouin schreef:
> > Hello,
> >
> > I am trying to find a portable way to find what is the version of apache
> > during compilation of a third party module.
>
> In include/ap_release.h, the macros AP_SERVER_MAJORVERSION_NUMBER,
> AP_SERVER_MINORVERSION_NUMBER and AP_SERVER_PATCHLEVEL_NUMBER are defined.
Also see MODULE_MAGIC_NUMBER (major and minor) from ap_mmn.h, which is
a better way to determine API-compatibility.
Joshua.
Re: Determining Apache version uppon compilation of module ?
Posted by Joost de Heer <jo...@sanguis.xs4all.nl>.
Xavier Beaudouin schreef:
> Hello,
>
> I am trying to find a portable way to find what is the version of apache
> during compilation of a third party module.
In include/ap_release.h, the macros AP_SERVER_MAJORVERSION_NUMBER,
AP_SERVER_MINORVERSION_NUMBER and AP_SERVER_PATCHLEVEL_NUMBER are defined.
Joost