diff options
author | Tim Bunce <Tim.Bunce@ig.co.uk> | 1994-12-29 19:47:28 +0000 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1994-12-29 19:47:28 +0000 |
commit | e1666bf5602ae794563d8669f6ff15c398321bac (patch) | |
tree | f7f65f357576c66657a51853496664aef476409e /ext | |
parent | 42793c05a05499f6592114920af255acb5944481 (diff) | |
download | perl-e1666bf5602ae794563d8669f6ff15c398321bac.tar.gz |
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.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/DynaLoader/DynaLoader.pm | 2 | ||||
-rw-r--r-- | ext/util/make_ext | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/DynaLoader/DynaLoader.pm b/ext/DynaLoader/DynaLoader.pm index 6bf0062d12..7cabf4e4e3 100644 --- a/ext/DynaLoader/DynaLoader.pm +++ b/ext/DynaLoader/DynaLoader.pm @@ -80,7 +80,7 @@ sub bootstrap { croak "Usage: DynaLoader::bootstrap(module)" unless ($module); - croak "Can't load module $module, DynaLoader not linked into this perl" + croak "Can't load module $module, dynamic loading not available in this perl" unless defined(&dl_load_file); print STDERR "DynaLoader::bootstrap($module)\n" if $dl_debug; diff --git a/ext/util/make_ext b/ext/util/make_ext index 05f43761e9..dca9a8d8e9 100644 --- a/ext/util/make_ext +++ b/ext/util/make_ext @@ -40,7 +40,7 @@ esac # get extension directory path, module name and depth pname=`echo "$extspec" | sed -e 's:^ext/::' -e 's:/[^/]*$::'` -mname=`echo "$pname" | sed -e 's!/!::!'` +mname=`echo "$pname" | sed -e 's!/!::!g'` depth=`echo "$pname" | sed -e 's![^/][^/]*!..!g'` make=${altmake-make} makeargs='' |