You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by ra...@apache.org on 2005/05/01 23:54:27 UTC

svn commit: r165547 - in /httpd/apreq/trunk: Makefile.PL acinclude.m4

Author: randyk
Date: Sun May  1 14:54:26 2005
New Revision: 165547

URL: http://svn.apache.org/viewcvs?rev=165547&view=rev
Log:
When testing perl prerequisites, warn, rather than die, on
failure, so as CPAN clients have a chance to install missing
prerequisites.

Modified:
    httpd/apreq/trunk/Makefile.PL
    httpd/apreq/trunk/acinclude.m4

Modified: httpd/apreq/trunk/Makefile.PL
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/Makefile.PL?rev=165547&r1=165546&r2=165547&view=diff
==============================================================================
--- httpd/apreq/trunk/Makefile.PL (original)
+++ httpd/apreq/trunk/Makefile.PL Sun May  1 14:54:26 2005
@@ -10,7 +10,7 @@
 
 sub test_prereq {
     system (PERL_PATH, "build/version_check.pl", @_) == 0
-        or die "Please upgrade $_[0] first.\n";
+        or warn "Please upgrade $_[0] first.\n";
 }
 
 test_prereq perl => PERL_PATH;

Modified: httpd/apreq/trunk/acinclude.m4
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/acinclude.m4?rev=165547&r1=165546&r2=165547&view=diff
==============================================================================
--- httpd/apreq/trunk/acinclude.m4 (original)
+++ httpd/apreq/trunk/acinclude.m4 Sun May  1 14:54:26 2005
@@ -112,25 +112,25 @@
 
             AC_MSG_CHECKING(for ExtUtils::XSBuilder)
             if test -z "`$prereq_check ExtUtils::XSBuilder`"; then
-                AC_MSG_ERROR([Bad ExtUtils::XSBuilder version])
+                AC_MSG_WARN([Bad ExtUtils::XSBuilder version])
             fi
             AC_MSG_RESULT(yes)
 
             AC_MSG_CHECKING(for mod_perl)
             if test -z "`$prereq_check mod_perl`"; then
-                AC_MSG_ERROR([Bad mod_perl version])
+                AC_MSG_WARN([Bad mod_perl version])
             fi
             AC_MSG_RESULT(yes)
 
             AC_MSG_CHECKING(for Apache::Test)
             if test -z "`$prereq_check Apache::Test`"; then
-                AC_MSG_ERROR([Bad Apache::Test version])
+                AC_MSG_WARN([Bad Apache::Test version])
             fi
             AC_MSG_RESULT(yes)
 
             AC_MSG_CHECKING(for ExtUtils::MakeMaker)
             if test -z "`$prereq_check ExtUtils::MakeMaker`"; then
-                AC_MSG_ERROR([Bad ExtUtils::MakeMaker version])
+                AC_MSG_WARN([Bad ExtUtils::MakeMaker version])
             fi
             AC_MSG_RESULT(yes)