stas        2003/03/30 15:30:19

  Modified:    lib/ModPerl WrapXS.pm
  Log:
  make sure to add MP_debug_level symbol to the def/exp files, only when
  MP_DEBUG=1 was passed
  
  Revision  Changes    Path
  1.55      +4 -1      modperl-2.0/lib/ModPerl/WrapXS.pm
  
  Index: WrapXS.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/ModPerl/WrapXS.pm,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- WrapXS.pm 24 Mar 2003 04:38:19 -0000      1.54
  +++ WrapXS.pm 30 Mar 2003 23:30:18 -0000      1.55
  @@ -19,7 +19,10 @@
   my(@xs_includes) = ('mod_perl.h',
                       map "modperl_xs_$_.h", qw(sv_convert util typedefs));
   
  -my @global_structs = qw(perl_module MP_debug_level);
  +my @global_structs = qw(perl_module);
  +
  +my $build = Apache::Build->build_config;
  +push @global_structs, 'MP_debug_level' if $build->{MP_DEBUG};
   
   sub new {
       my $class = shift;
  
  
  

Reply via email to