You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2003/01/29 07:57:54 UTC
-DMODPERL, -DMOD_PERL, -DMOD_PERL2, -DMODPERL2 conundrum
In 1.0 mod_perl extensions were passed -DMOD_PERL by Apache::src, so shouldn't
we pass -DMOD_PERL2 from ModPerl::MM and not -DMOD_PERL?
At the same time we use <IfDefine MODPERL2> and not MOD_PERL2, so it gets all
confusing. Can we decide on consistently using the underscore or none in both
cases? I know that it's boring when the life is too easy... but
My proposal:
In order to stay consistent with 1.0 stuff, we go with the underscore, though
add '2', so we use -DMOD_PERL2 from ModPerl::MM, for extensions to use.
Since <IfDefine MODPERL2> is new, we change it to <IfDefine MOD_PERL2> without
breaking anything.
So it's always -DMOD_PERL2, be it httpd.conf or C code.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: -DMODPERL, -DMOD_PERL, -DMOD_PERL2, -DMODPERL2 conundrum
Posted by "Philippe M. Chiasson" <go...@cpan.org>.
On Wed, 2003-01-29 at 14:57, Stas Bekman wrote:
> In 1.0 mod_perl extensions were passed -DMOD_PERL by Apache::src, so shouldn't
> we pass -DMOD_PERL2 from ModPerl::MM and not -DMOD_PERL?
>
> At the same time we use <IfDefine MODPERL2> and not MOD_PERL2, so it gets all
> confusing. Can we decide on consistently using the underscore or none in both
> cases? I know that it's boring when the life is too easy... but
>
> My proposal:
>
> In order to stay consistent with 1.0 stuff, we go with the underscore, though
> add '2', so we use -DMOD_PERL2 from ModPerl::MM, for extensions to use.
>
> Since <IfDefine MODPERL2> is new, we change it to <IfDefine MOD_PERL2> without
> breaking anything.
>
> So it's always -DMOD_PERL2, be it httpd.conf or C code.
+1 for MOD_PERL2 consistently everywhere
> __________________________________________________________________
> Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/ mod_perl Guide ---> http://perl.apache.org
> mailto:stas@stason.org http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org http://ticketmaster.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
>
>