dougm 01/04/11 16:01:00
Modified: . Makefile.PL
lib/ModPerl Code.pm
Log:
make sure Apache::ConstantsTable can be found
Revision Changes Path
1.32 +1 -1 modperl-2.0/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- Makefile.PL 2001/04/04 05:27:59 1.31
+++ Makefile.PL 2001/04/11 23:00:56 1.32
@@ -115,7 +115,7 @@
$xs->generate;
- shift @INC;
+ #shift @INC; #ModPerl::Code needs this path too
}
sub generate_script {
1.56 +2 -2 modperl-2.0/lib/ModPerl/Code.pm
Index: Code.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/Code.pm,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- Code.pm 2001/04/11 22:40:38 1.55
+++ Code.pm 2001/04/11 23:00:59 1.56
@@ -680,12 +680,12 @@
$file;
}
-use Apache::ConstantsTable ();
-
my $constant_prefixes = join '|', qw{APR};
sub generate_constants {
my($self, $h_fh, $c_fh) = @_;
+
+ require Apache::ConstantsTable;
print $c_fh qq{\#include "modperl_const.h"\n};
print $h_fh "#define MP_ENOCONST -3\n\n";