stas 2003/01/28 23:18:33 Modified: src/docs/2.0/user/compat compat.pod Log: add notes about building 3rd party extension Makefile.PL's with 2.0, when XS is used Revision Changes Path 1.42 +21 -0 modperl-docs/src/docs/2.0/user/compat/compat.pod Index: compat.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/compat/compat.pod,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- compat.pod 27 Jan 2003 04:05:13 -0000 1.41 +++ compat.pod 29 Jan 2003 07:18:33 -0000 1.42 @@ -812,8 +812,29 @@ C<:method> attribute is not required. +=head1 C<Apache::src> +For those who write 3rd party modules using XS, this module was used +to supply mod_perl specific include paths, defines and other things, +needed for building the extensions. mod_perl 2.0 makes things +transparent with C<ModPerl::MM>. +Here is how to write a simple I<Makefile.PL> for modules wanting to +build XS code against mod_perl 2.0: + + use Apache2; + use mod_perl 1.99; + use ModPerl::MM (); + + ModPerl::MM::WriteMakefile( + NAME => "Foo", + ); + +and everything will be done for you. + +META: we probably will have a compat layer at some point. + +META: move this section to the devel/porting and link there instead =head1 C<Apache::Table>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]