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/09 18:44:08 UTC
svn commit: r420314 - /perl/Apache-SizeLimit/trunk/Makefile.PL
Author: autarch
Date: Sun Jul 9 09:44:07 2006
New Revision: 420314
URL: http://svn.apache.org/viewvc?rev=420314&view=rev
Log:
Apparently Apache::TestConfig has not always had a
custom_config_path() method, so make sure it exists before trying to
call it.
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=420314&r1=420313&r2=420314&view=diff
==============================================================================
--- perl/Apache-SizeLimit/trunk/Makefile.PL (original)
+++ perl/Apache-SizeLimit/trunk/Makefile.PL Sun Jul 9 09:44:07 2006
@@ -42,7 +42,8 @@
my %args = @Apache::TestMM::Argv;
return 0
- unless (-f Apache::TestConfig->custom_config_path()
+ unless (( Apache::TestConfig->can('custom_config_path')
+ and -f Apache::TestConfig->custom_config_path())
or $args{apxs} or $args{httpd}
or $ENV{APACHE_TEST_HTTPD} or $ENV{APACHE_TEST_APXS});