dougm 01/03/04 11:41:57
Modified: lib/Apache Build.pm
lib/ModPerl BuildOptions.pm
Log:
MP_INCLUDE_DIR option to add -I include paths
Revision Changes Path
1.34 +4 -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.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- Build.pm 2001/03/04 18:45:27 1.33
+++ Build.pm 2001/03/04 19:41:56 1.34
@@ -805,6 +805,10 @@
}
push @inc, $ssl_dir if -d $ssl_dir;
+ if ($self->{MP_INCLUDE_DIR}) {
+ push @inc, split /\s+/, $self->{MP_INCLUDE_DIR};
+ }
+
return \@inc;
}
1.5 +1 -0 modperl-2.0/lib/ModPerl/BuildOptions.pm
Index: BuildOptions.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/BuildOptions.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- BuildOptions.pm 2001/03/03 23:11:01 1.4
+++ BuildOptions.pm 2001/03/04 19:41:57 1.5
@@ -146,3 +146,4 @@
DYNAMIC Build Apache::*.xs as dynamic extensions
APXS Path to apxs
XS_GLUE_DIR Directories containing extension glue
+INCLUDE_DIR Add directories to search for header files