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 au...@apache.org on 2006/07/06 17:42:26 UTC
svn commit: r419588 - /perl/Apache-SizeLimit/trunk/Makefile.PL
Author: autarch
Date: Thu Jul 6 08:42:25 2006
New Revision: 419588
URL: http://svn.apache.org/viewvc?rev=419588&view=rev
Log:
Don't use Apache::Test if we'd have to prompt the user, but respect
TestConfigData.pm and ~/.apache-test.
Modified:
perl/Apache-SizeLimit/trunk/Makefile.PL
Modified: perl/Apache-SizeLimit/trunk/Makefile.PL
URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Makefile.PL?rev=419588&r1=419587&r2=419588&view=diff
==============================================================================
--- perl/Apache-SizeLimit/trunk/Makefile.PL (original)
+++ perl/Apache-SizeLimit/trunk/Makefile.PL Thu Jul 6 08:42:25 2006
@@ -37,6 +37,15 @@
1;
};
+
+ my %args = @Apache::TestMM::Argv;
+
+ return 0
+ unless (-f Apache::TestConfig->custom_config_path()
+ or $args{apxs} or $args{httpd}
+ or $ENV{APACHE_TEST_HTTPD} or $ENV{APACHE_TEST_APXS});
+
+
Apache::TestMM::filter_args();
Apache::TestRunPerl->generate_script();