X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2Fthreads%2Fshared%2FMakefile.PL;h=18ac115a8409169b774839bc9ee681d28b5084f7;hb=83272a45226e83bd136d713158e9b44ace2dbc8d;hp=3a4c6e38a456fb78b38d56e743bb350f25549d6d;hpb=0665918ffddc962cb92a35dea741be5562a7954b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/threads/shared/Makefile.PL b/ext/threads/shared/Makefile.PL index 3a4c6e3..18ac115 100755 --- a/ext/threads/shared/Makefile.PL +++ b/ext/threads/shared/Makefile.PL @@ -2,16 +2,12 @@ use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. -use Config; - - -unless($Config{'useithreads'} eq 'define') { - die "We need a perl that is built with USEITHREAD!\n"; -} - WriteMakefile( 'NAME' => 'threads::shared', 'VERSION_FROM' => 'shared.pm', # finds $VERSION + 'PM' => { + 'shared.pm' => '$(INST_LIBDIR)/shared.pm', + }, 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'shared.pm', # retrieve abstract from module