You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by pg...@apache.org on 2006/08/30 06:58:47 UTC

svn commit: r438370 - /perl/modperl/trunk/Makefile.PL

Author: pgollucci
Date: Tue Aug 29 21:58:46 2006
New Revision: 438370

URL: http://svn.apache.org/viewvc?rev=438370&view=rev
Log:
o configure()
  update to check for Apache-SizeLimit subdir 
  to make sure its a complete package


Modified:
    perl/modperl/trunk/Makefile.PL

Modified: perl/modperl/trunk/Makefile.PL
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/Makefile.PL?rev=438370&r1=438369&r2=438370&view=diff
==============================================================================
--- perl/modperl/trunk/Makefile.PL (original)
+++ perl/modperl/trunk/Makefile.PL Tue Aug 29 21:58:46 2006
@@ -119,10 +119,12 @@
     # mod_perl test suite relies on having Apache-Test bundled with
     # the mod_perl source, since any pre-installed version may not do
     # the right thing
-    unless (-d "Apache-Test") {
-        error "Can't find a sub-directory Apache-Test. " .
-            "Make sure that you are using a complete source distribution";
-        exit 1;
+		foreach my $sub_pkg (qw(Apache-Test Apache-SizeLimit)) {
+        unless (-d $sub_pkg) {
+            error "Can't find a sub-directory $sub_pkg. " .
+                "Make sure that you are using a complete source distribution";
+            exit 1;
+        } 
     }
 
     set_modperl_version();