Author: kwilliams
Date: Wed Jun 13 20:02:10 2007
New Revision: 9650

Modified:
   Module-Build/trunk/Changes
   Module-Build/trunk/lib/Module/Build/Authoring.pod
   Module-Build/trunk/lib/Module/Build/Base.pm
   Module-Build/trunk/website/META-spec.pod

Log:
Rename config_requires to configure_requires

Modified: Module-Build/trunk/Changes
==============================================================================
--- Module-Build/trunk/Changes  (original)
+++ Module-Build/trunk/Changes  Wed Jun 13 20:02:10 2007
@@ -1,6 +1,6 @@
 Revision history for Perl extension Module::Build.
 
- - Added config_requires as a new type of prereq.  [Suggested by Adam
+ - Added configure_requires as a new type of prereq.  [Suggested by Adam
    Kennedy]
 
  - Patch 31156 from bleadperl: some filename dot and extension help

Modified: Module-Build/trunk/lib/Module/Build/Authoring.pod
==============================================================================
--- Module-Build/trunk/lib/Module/Build/Authoring.pod   (original)
+++ Module-Build/trunk/lib/Module/Build/Authoring.pod   Wed Jun 13 20:02:10 2007
@@ -149,13 +149,13 @@
 
 =over 3
 
-=item config_requires
+=item configure_requires
 
 Items that must be installed I<before> configuring this distribution
 (i.e. before running the F<Build.PL> script).  This might be a
 specific minimum version of C<Module::Build> or any other module the
 F<Build.PL> needs in order to do its stuff.  Clients like C<CPAN.pm>
-or C<CPANPLUS> will be expected to pick C<config_requires> out of the
+or C<CPANPLUS> will be expected to pick C<configure_requires> out of the
 F<META.yml> file and install these items before running the
 C<Build.PL>.
 

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 Wed Jun 13 20:02:10 2007
@@ -785,7 +785,7 @@
   meta_merge
   original_prefix
   prefix_relpaths
-  config_requires
+  configure_requires
 );
 
 __PACKAGE__->add_property($_) for qw(
@@ -3370,16 +3370,16 @@
     $node->{resources}{license} = $url;
   }
 
-  if (exists $p->{config_requires}) {
-    foreach my $spec (keys %{$p->{config_requires}}) {
-      warn ("Warning: $spec is listed in 'config_requires', but ".
+  if (exists $p->{configure_requires}) {
+    foreach my $spec (keys %{$p->{configure_requires}}) {
+      warn ("Warning: $spec is listed in 'configure_requires', but ".
            "it is not found in any of the other prereq fields.\n")
        unless grep exists $p->{$_}{$spec}, 
               grep !/conflicts$/, @{$self->prereq_action_types};
     }
   }
 
-  foreach ( 'config_requires', @{$self->prereq_action_types} ) {
+  foreach ( 'configure_requires', @{$self->prereq_action_types} ) {
     if (exists $p->{$_} and keys %{ $p->{$_} }) {
       $add_node->($_, $p->{$_});
     }

Modified: Module-Build/trunk/website/META-spec.pod
==============================================================================
--- Module-Build/trunk/website/META-spec.pod    (original)
+++ Module-Build/trunk/website/META-spec.pod    Wed Jun 13 20:02:10 2007
@@ -255,7 +255,7 @@
 described in L<VERSION SPECIFICATIONS>.  These dependencies are not
 required after the module is installed.
 
-=head2 config_requires
+=head2 configure_requires
 
 Example:
 
@@ -661,7 +661,7 @@
 
 =item *
 
-Added C<config_requires>.
+Added C<configure_requires>.
 
 =back
 

Reply via email to