dougm 02/05/21 19:07:08
Modified: . Makefile.PL
Log:
s/Apache::Build::WIN32/WIN32/g
Revision Changes Path
1.83 +5 -3 modperl-2.0/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- Makefile.PL 22 May 2002 01:58:59 -0000 1.82
+++ Makefile.PL 22 May 2002 02:07:08 -0000 1.83
@@ -34,6 +34,8 @@
use ModPerl::Code ();
use ModPerl::MM ();
+use constant WIN32 => Apache::Build::WIN32;
+
our $VERSION;
if (Apache::Build::REQUIRE_ITHREADS()) {
@@ -56,7 +58,7 @@
#Stop.
#NMAKE : fatal error U1077: 'cd' : return code '0x2'
#Stop.
-my @remote_makefile_dirs = Apache::Build::WIN32() ? () :
+my @remote_makefile_dirs = WIN32() ? () :
qw(docs/api/mod_perl-2.0);
configure();
@@ -111,7 +113,7 @@
}
}
- if (Apache::Build::WIN32()) {
+ if (WIN32()) {
#Makefile.PL's in WrapXS/ just need to pass the -e mod_perl.lib test
#the real mod_perl.lib will be in place when WrapXS/ dll's are
#actually linked
@@ -295,7 +297,7 @@
}
sub system_sanity_check {
- return if Apache::Build::WIN32;
+ return if WIN32;
my $ccflags = $build->perl_config('ccflags');
for (split /\s+/, $ccflags) {