Author: stas Date: Mon Dec 6 07:12:21 2004 New Revision: 109978 URL: http://svn.apache.org/viewcvs?view=rev&rev=109978 Log: require Apache::Test 1.13 to run perl tests (need() was added at that version)
Modified: httpd/apreq/branches/1.x/Changes httpd/apreq/branches/1.x/Makefile.PL Modified: httpd/apreq/branches/1.x/Changes Url: http://svn.apache.org/viewcvs/httpd/apreq/branches/1.x/Changes?view=diff&rev=109978&p1=httpd/apreq/branches/1.x/Changes&r1=109977&p2=httpd/apreq/branches/1.x/Changes&r2=109978 ============================================================================== --- httpd/apreq/branches/1.x/Changes (original) +++ httpd/apreq/branches/1.x/Changes Mon Dec 6 07:12:21 2004 @@ -4,6 +4,9 @@ =item 1.33 +require Apache::Test 1.13 to run perl tests (need() was added at that +version) [Stas] + Fix `strEQ' redefined warnings in the perl build [Stas] Upgrade license to the Apache License Version 2.0. [davidw, joes] Modified: httpd/apreq/branches/1.x/Makefile.PL Url: http://svn.apache.org/viewcvs/httpd/apreq/branches/1.x/Makefile.PL?view=diff&rev=109978&p1=httpd/apreq/branches/1.x/Makefile.PL&r1=109977&p2=httpd/apreq/branches/1.x/Makefile.PL&r2=109978 ============================================================================== --- httpd/apreq/branches/1.x/Makefile.PL (original) +++ httpd/apreq/branches/1.x/Makefile.PL Mon Dec 6 07:12:21 2004 @@ -6,7 +6,9 @@ use File::Path qw(mkpath); use lib qw(Apache-Test/lib); -use constant HAS_APACHE_TEST => eval {require Apache::Test}; +use constant HAS_APACHE_TEST => eval { + require Apache::Test && $Apache::Test::VERSION >= 1.13; +}; use constant WIN32 => ($^O eq "MSWin32") || $ENV{WIN32_TEST}; if (WIN32) {
