You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by st...@apache.org on 2003/11/07 23:04:48 UTC
cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfigC.pm
stas 2003/11/07 14:04:48
Modified: perl-framework/Apache-Test/lib/Apache TestConfigC.pm
Log:
TestConfigC is in the same package as TestConfig, so don't redeclare WIN32
constant.
Revision Changes Path
1.22 +3 -4 httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigC.pm
Index: TestConfigC.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigC.pm,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -u -r1.21 -r1.22
--- TestConfigC.pm 31 Jul 2003 05:35:39 -0000 1.21
+++ TestConfigC.pm 7 Nov 2003 22:04:48 -0000 1.22
@@ -9,8 +9,6 @@
use Apache::TestTrace;
use File::Find qw(finddepth);
-use constant WIN32 => Apache::TestConfig::WIN32;
-
sub cmodule_find {
my($self, $mod) = @_;
@@ -78,8 +76,9 @@
EOF
}
-my %lib_dir = WIN32 ? (1 => "", 2 => "") :
- (1 => "", 2 => ".libs/");
+my %lib_dir = Apache::TestConfig::WIN32
+ ? (1 => "", 2 => "")
+ : (1 => "", 2 => ".libs/");
sub cmodules_build_so {
my($self, $name) = @_;