Return-Path: Delivered-To: apmail-perl-modperl-cvs-archive@www.apache.org Received: (qmail 63214 invoked from network); 5 Apr 2004 21:45:15 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Apr 2004 21:45:15 -0000 Received: (qmail 25548 invoked by uid 500); 5 Apr 2004 21:44:57 -0000 Delivered-To: apmail-perl-modperl-cvs-archive@perl.apache.org Received: (qmail 25465 invoked by uid 500); 5 Apr 2004 21:44:56 -0000 Mailing-List: contact modperl-cvs-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@perl.apache.org Delivered-To: mailing list modperl-cvs@perl.apache.org Received: (qmail 25441 invoked by uid 500); 5 Apr 2004 21:44:56 -0000 Delivered-To: apmail-modperl-2.0-cvs@apache.org Date: 5 Apr 2004 21:45:08 -0000 Message-ID: <20040405214508.63060.qmail@minotaur.apache.org> From: stas@apache.org To: modperl-2.0-cvs@apache.org Subject: cvs commit: modperl-2.0/lib/Apache Build.pm X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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; }