You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by do...@apache.org on 2001/01/02 21:20:04 UTC

cvs commit: modperl-2.0 Makefile.PL

dougm       01/01/02 12:20:03

  Modified:    .        Makefile.PL
  Log:
  remove MP_CPP now that we have a .c.cpp rule
  
  Revision  Changes    Path
  1.22      +0 -21     modperl-2.0/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- Makefile.PL	2000/06/12 03:25:04	1.21
  +++ Makefile.PL	2001/01/02 20:20:00	1.22
  @@ -12,11 +12,6 @@
   my $build = Apache::Build->new;
   my $code  = ModPerl::Code->new;
   
  -if ($build->{MP_CPP}) {
  -    make();
  -    exit;
  -}
  -
   configure();
   
   ModPerl::MM::WriteMakefile(
  @@ -84,22 +79,6 @@
       my $cmd = shift;
       print "$cmd\n";
       system($cmd) == 0 or exit(1);
  -}
  -
  -sub make {
  -    my $ccopts = $build->ccopts;
  -    my @inc = $build->inc;
  -    my $cc = $build->perl_config('cc');
  -
  -    chdir $code->path;
  -
  -    $ccopts .= " -E" if $build->{MP_CPP};
  -
  -    for (sort { (stat $b)[9] <=> (stat $a)[9] } @{ $code->c_files }) {
  -        echo_cmd "$cc $ccopts @inc -c $_";
  -    }
  -
  -    chdir $build->cwd;
   }
   
   sub clean_files {