stas        2004/09/18 16:27:40

  Modified:    lib/Apache Build.pm
  Log:
  revert 1.175, running ./configure at an earlier stage resolves the problem
  of creating apr.h
  
  Revision  Changes    Path
  1.179     +1 -3      modperl-2.0/lib/Apache/Build.pm
  
  Index: Build.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
  retrieving revision 1.178
  retrieving revision 1.179
  diff -u -u -r1.178 -r1.179
  --- Build.pm  18 Sep 2004 22:18:00 -0000      1.178
  +++ Build.pm  18 Sep 2004 23:27:39 -0000      1.179
  @@ -1042,17 +1042,15 @@
           $incdir = $self->ap_includedir;
       }
   
  -    my $header = "apr.h";
       my @tries = ($incdir);
       if ($self->httpd_is_source_tree) {
  -        $header = "apr.h.in"; # pristine source has no .h file
           my $path = catdir $self->dir, "srclib", "apr", "include";
           push @tries, $path if -d $path;
       }
   
   
       for (@tries) {
  -        next unless $_ && -e catfile $_, $header;
  +        next unless $_ && -e catfile $_, "apr.h";
           $self->{apr_includedir} = $_;
           last;
       }
  
  
  

Reply via email to