MakeMaker 3.7
This patch patches the following:
- lib/ExtUtils/MakeMaker.pm
Most, if not all, the MakeMaker support for no perl source
is now included. Recent ld and mkbootstrap patches applied.
-lX11_s suffix fix applied.
- Makefile.SH
Fix nested module problem which affected make_ext
- ext/DynaLoader/DynaLoader.pm
Change error message to
"Can't load module $module, dynamic loading not available in this perl"
- ext/util/make_ext
A very minor tweak to allow for Deeply::Nested::Modules
- h2xs
Major reorganisation. Mainly aimed at simplifying for later
enhancements. The constant() and AUTOLOAD functions can no
longer be individually enabled or disabled - it never made
any sense - they need each other. Header file parsing code
has been simplified (may allow prototypes to be parsed later).
The .pm file always inherits from AutoLoader.
I hope not to issue another MakeMaker patch till after Perl5.001!
If you want to play with the (as yet untested) no-perl-source mechanism
you'll need to start by doing something like this:
cp ext/xsubpp ext/typemap $(PERL_LIB)/ExtUtils
cp *.h $(PERL_ARCHLIB)/CORE
And then try executing Makefile.PL away from (not under) the perl
source code. You should get a 'Unable to locate perl source' warning
and the PERL_SRC macro will be undefined. Let me know how it goes but
be aware that any problems/fixes are unlikely to turn up in an official
MakeMaker patch till after Perl5.001.
*Please* test this patch and report your findings back to the list so
Larry knows that all is well (or not :-).
Best wishes for a Happy New Year to you all.
Tim Bunce.