Author: kwilliams
Date: Sat Oct  7 10:47:15 2006
New Revision: 7909

Modified:
   Module-Build/trunk/Changes
   Module-Build/trunk/lib/Module/Build/Base.pm

Log:
Improve message when distro has XS files but user has no C compiler

Modified: Module-Build/trunk/Changes
==============================================================================
--- Module-Build/trunk/Changes  (original)
+++ Module-Build/trunk/Changes  Sat Oct  7 10:47:15 2006
@@ -10,6 +10,9 @@
 
  - Added the Interix platform as a Unix variant. [Stephen Hartland]
 
+ - Improved the error message we emit when a distribution contains XS
+   files but the user has no C compiler. [Suggested by Andreas Koenig]
+
 0.2805_01  Thu Sep  7 21:57:29 CDT 2006
 
  - Because of a weird behavior of YAML::Node, any distribution that

Modified: Module-Build/trunk/lib/Module/Build/Base.pm
==============================================================================
--- Module-Build/trunk/lib/Module/Build/Base.pm (original)
+++ Module-Build/trunk/lib/Module/Build/Base.pm Sat Oct  7 10:47:15 2006
@@ -1141,7 +1141,8 @@
   my $xs_files = $self->find_xs_files;
   if (keys %$xs_files && !$self->_mb_feature('C_support')) {
     $self->log_warn("Warning: this distribution contains XS files, ".
-                   "but Module::Build is not configured with C_support");
+                   "but Module::Build is not configured with C_support.  ".
+                   "Please install ExtUtils::CBuilder to enable C_support.\n");
   }
 
   # Check to see if there are any prereqs to check

Reply via email to