Author: dagolden
Date: Tue Sep 1 13:53:55 2009
New Revision: 13251
Modified:
Module-Build/trunk/Changes
Module-Build/trunk/lib/Module/Build/API.pod
Log:
documented needs_compiler
Modified: Module-Build/trunk/Changes
==============================================================================
--- Module-Build/trunk/Changes (original)
+++ Module-Build/trunk/Changes Tue Sep 1 13:53:55 2009
@@ -2,9 +2,14 @@
0.35_02 -
+ Enhancements:
+ - Added 'needs_compiler' property. Defaults to true if XS or c_source
+ exist. If true, ExtUtils::CBuilder is also added to build_requires.
+ [David Golden]
+
0.35_01 - Mon Aug 31 12:11:10 EDT 2009
- Enhancements
+ Enhancements:
- Generates MYMETA.yml during Build.PL (new standard protocol for
communicating configuration results between toolchain components)
[David Golden]
Modified: Module-Build/trunk/lib/Module/Build/API.pod
==============================================================================
--- Module-Build/trunk/lib/Module/Build/API.pod (original)
+++ Module-Build/trunk/lib/Module/Build/API.pod Tue Sep 1 13:53:55 2009
@@ -580,6 +580,18 @@
Setting C<module_name> won't override a C<dist_*> parameter you
specify explicitly.
+=item needs_compiler
+
+[version 0.36]
+
+The C<needs_compiler> parameter indicates whether a compiler is required to
+build the distsribution. The default is false, unless XS files are found or
+the C<c_source> parameter is set, in which case it is true. If true,
+L<ExtUtils::CBuilder> is automatically added to C<build_requires> if needed.
+
+For a distribution where a compiler is I<optional>, e.g. a dual XS/pure-Perl
+distribution, C<needs_compiler> should explicitly be set to a false value.
+
=item PL_files
[version 0.06]