stas 2003/12/17 16:43:44
Modified: lib/ModPerl MM.pm . Changes Log: Fix ModPerl::MM::WriteMakefile to use the MODPERL_CCOPTS entry from Apache::BuildConfig, as it contains some flags added by mod_perl, which aren't in perl_ccopts and ap_ccopts. Revision Changes Path 1.30 +1 -1 modperl-2.0/lib/ModPerl/MM.pm Index: MM.pm =================================================================== RCS file: /home/cvs/modperl-2.0/lib/ModPerl/MM.pm,v retrieving revision 1.29 retrieving revision 1.30 diff -u -u -r1.29 -r1.30 --- MM.pm 15 May 2003 03:29:09 -0000 1.29 +++ MM.pm 18 Dec 2003 00:43:44 -0000 1.30 @@ -106,7 +106,7 @@ my @default_macro_opts = qw(MOD_INSTALL); my $b = build_config(); my %opts = ( - CCFLAGS => sub { $b->perl_ccopts . $b->ap_ccopts }, + CCFLAGS => sub { $b->{MODPERL_CCOPTS} }, LIBS => sub { join ' ', $b->apache_libs, $b->modperl_libs }, INC => sub { $b->inc; }, OPTIMIZE => sub { $b->perl_config('optimize'); }, 1.288 +4 -0 modperl-2.0/Changes Index: Changes =================================================================== RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.287 retrieving revision 1.288 diff -u -u -r1.287 -r1.288 --- Changes 17 Dec 2003 20:07:20 -0000 1.287 +++ Changes 18 Dec 2003 00:43:44 -0000 1.288 @@ -12,6 +12,10 @@ =item 1.99_12-dev +Fix ModPerl::MM::WriteMakefile to use the MODPERL_CCOPTS entry from +Apache::BuildConfig, as it contains some flags added by mod_perl, +which aren't in perl_ccopts and ap_ccopts. [Stas] + Add the implementation of Apache::Connection::local_addr and Apache::Connection::remote_addr to the Apache::compat overridable functions. [Stas]