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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to