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 2002/03/24 20:06:03 UTC
cvs commit: modperl/lib/Apache ExtUtils.pm
dougm 02/03/24 11:06:03
Modified: . Changes Makefile.PL
lib/Apache ExtUtils.pm
Log:
Submitted by: stas
Reviewed by: dougm
rip -D_GNU_SOURCE out of Perl 5.7.3+'s ccflags, which modperl doesn't
need and apache won't compile with
Revision Changes Path
1.629 +3 -0 modperl/Changes
Index: Changes
===================================================================
RCS file: /home/cvs/modperl/Changes,v
retrieving revision 1.628
retrieving revision 1.629
diff -u -r1.628 -r1.629
--- Changes 24 Mar 2002 18:22:56 -0000 1.628
+++ Changes 24 Mar 2002 19:06:03 -0000 1.629
@@ -10,6 +10,9 @@
=item 1.26_01-dev
+rip -D_GNU_SOURCE out of Perl 5.7.3+'s ccflags, which modperl doesn't
+need and apache won't compile with [Stas Bekman <st...@stason.org>]
+
make sure PerlSetEnv variables are visible after first access
to each child [Geoff Young <ge...@modperlcookbook.org>]
1.199 +3 -0 modperl/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl/Makefile.PL,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -r1.198 -r1.199
--- Makefile.PL 24 Mar 2002 02:07:58 -0000 1.198
+++ Makefile.PL 24 Mar 2002 19:06:03 -0000 1.199
@@ -386,6 +386,9 @@
$PERL_EXTRA_CFLAGS .= " $Config{ccflags}";
}
+# apache-1.3.xx won't compile with -D_GNU_SOURCE
+$PERL_EXTRA_CFLAGS =~ s/-D_GNU_SOURCE//;
+
for (keys %PassEnv) {
$ENV{$_} = $$_ if $$_;
}
1.24 +1 -0 modperl/lib/Apache/ExtUtils.pm
Index: ExtUtils.pm
===================================================================
RCS file: /home/cvs/modperl/lib/Apache/ExtUtils.pm,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ExtUtils.pm 25 Aug 2001 19:55:03 -0000 1.23
+++ ExtUtils.pm 24 Mar 2002 19:06:03 -0000 1.24
@@ -37,6 +37,7 @@
my %config_fixups = (
ccdlflags => sub { s/-R\s+/-R/; },
ccflags => sub {
+ s/-D_GNU_SOURCE//;
unless ($Apache::MyConfig::Setup{PERL_USELARGEFILES}) {
s/-D_LARGEFILE_SOURCE\s+-D_FILE_OFFSET_BITS=\d+//;
}