gozer 2004/08/22 10:57:40
Modified: lib/Apache Build.pm
Log:
When using MP_AP_BUILD, MP_AP_PREFIX should be required, error out if
it isn't.
Reported by: Kermit Tensmeyer <[EMAIL PROTECTED]>
Revision Changes Path
1.171 +6 -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.170
retrieving revision 1.171
diff -u -r1.170 -r1.171
--- Build.pm 15 Aug 2004 00:18:42 -0000 1.170
+++ Build.pm 22 Aug 2004 17:57:40 -0000 1.171
@@ -259,6 +259,12 @@
exit 1;
}
+ unless ($self->{MP_AP_PREFIX}) {
+ error "You specified MP_AP_BUILD but did not speficy the " .
+ "location of httpd's source tree with MP_AP_PREFIX";
+ exit 1;
+ }
+
unless ($self->{MP_USE_STATIC}) {
error "When building httpd, you must set MP_USE_STATIC=1";
exit 1;