httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject svn commit: r165547 - in /httpd/apreq/trunk: Makefile.PL acinclude.m4
Date Sun, 01 May 2005 21:54:27 GMT
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)
 



Mime
View raw message