perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From auta...@apache.org
Subject svn commit: r420314 - /perl/Apache-SizeLimit/trunk/Makefile.PL
Date Sun, 09 Jul 2006 16:44:08 GMT
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});
 



Mime
View raw message