perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-2.0/lib/Apache Build.pm
Date Mon, 05 Apr 2004 21:45:08 GMT
stas        2004/04/05 14:45:08

  Modified:    lib/Apache Build.pm
  Log:
  make sure apr.h can be safely included
  for example Perl's included -D_GNU_SOURCE implies
  -D_LARGEFILE64_SOURCE on linux, but this won't happen on
  Solaris, so we need apr flags living in apxs' EXTRA_CPPFLAGS
  Submitted by:	Joe Orton
  
  Revision  Changes    Path
  1.160     +7 -0      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.159
  retrieving revision 1.160
  diff -u -u -r1.159 -r1.160
  --- Build.pm	5 Apr 2004 21:43:47 -0000	1.159
  +++ Build.pm	5 Apr 2004 21:45:08 -0000	1.160
  @@ -407,6 +407,13 @@
           $ccopts .= " -DMP_TRACE";
       }
   
  +    # make sure apr.h can be safely included
  +    # for example Perl's included -D_GNU_SOURCE implies
  +    # -D_LARGEFILE64_SOURCE on linux, but this won't happen on
  +    # Solaris, so we need apr flags living in apxs' EXTRA_CPPFLAGS
  +    my $extra_cppflags = $self->apxs_extra_cppflags;
  +    $ccopts .= " " . $extra_cppflags;
  +
       $ccopts;
   }
   
  
  
  

Mime
View raw message