Skip to content

Commit a48a24a

Browse files
committed
o configure()
update to check for Apache-SizeLimit subdir to make sure its a complete package git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@438370 13f79535-47bb-0310-9956-ffa450edef68
1 parent 6b815f7 commit a48a24a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Makefile.PL

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,12 @@ sub configure {
119119
# mod_perl test suite relies on having Apache-Test bundled with
120120
# the mod_perl source, since any pre-installed version may not do
121121
# the right thing
122-
unless (-d "Apache-Test") {
123-
error "Can't find a sub-directory Apache-Test. " .
124-
"Make sure that you are using a complete source distribution";
125-
exit 1;
122+
foreach my $sub_pkg (qw(Apache-Test Apache-SizeLimit)) {
123+
unless (-d $sub_pkg) {
124+
error "Can't find a sub-directory $sub_pkg. " .
125+
"Make sure that you are using a complete source distribution";
126+
exit 1;
127+
}
126128
}
127129

128130
set_modperl_version();

0 commit comments

Comments
 (0)