From: Jerry D. Hedden Date: Wed, 25 Oct 2006 11:26:29 +0000 (-0700) Subject: threads 1.45 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d2c25dc7db5ae4c7c2dedfa21fb2ac805588b727;p=p5sagit%2Fp5-mst-13.2.git threads 1.45 From: "Jerry D. Hedden" Message-ID: <20061025182629.16434.qmail@web30209.mail.mud.yahoo.com> p4raw-id: //depot/perl@29109 --- diff --git a/ext/threads/Changes b/ext/threads/Changes index 8f5dd46..cde0e45 100755 --- a/ext/threads/Changes +++ b/ext/threads/Changes @@ -1,5 +1,9 @@ Revision history for Perl extension threads. +1.45 Wed Oct 25 14:22:23 EDT 2006 + - Makefile.PL changes for CORE + - Updated POD tests + 1.44 Wed Oct 11 08:55:50 EDT 2006 - Complain about bad import options - Added example threads script diff --git a/ext/threads/Makefile.PL b/ext/threads/Makefile.PL index 90b82e4..34fdb9f 100755 --- a/ext/threads/Makefile.PL +++ b/ext/threads/Makefile.PL @@ -58,25 +58,21 @@ if (grep { $_ eq 'PERL_CORE=1' } @ARGV) { die("No 'C' compiler found to build 'threads'\n"); } - push(@conditional_params, 'DEFINE' => '-DHAS_PPPORT_H'); + push(@conditional_params, 'DEFINE' => '-DHAS_PPPORT_H', + 'PREREQ_PM' => { + 'strict' => 0, + 'warnings' => 0, + 'overload' => 0, + 'Config' => 0, + 'Carp' => 0, + 'XSLoader' => 0, + + 'ExtUtils::testlib' => 0, + 'Hash::Util' => 0, + 'IO::File' => 0, + }); } -my $prereqs; - -if (!$ENV{PERL_CORE}) { - $prereqs = { - 'strict' => 0, - 'warnings' => 0, - 'overload' => 0, - 'Config' => 0, - 'Carp' => 0, - 'XSLoader' => 0, - - 'ExtUtils::testlib' => 0, - 'Hash::Util' => 0, - 'IO::File' => 0, - }; -} # Create Makefile WriteMakefile( @@ -87,7 +83,6 @@ WriteMakefile( 'PM' => { 'threads.pm' => '$(INST_LIBDIR)/threads.pm', }, - 'PREREQ_PM' => $prereqs, 'INSTALLDIRS' => 'perl', ((ExtUtils::MakeMaker->VERSION() lt '6.25') ? diff --git a/ext/threads/README b/ext/threads/README index 20f4bbd..7a49b67 100755 --- a/ext/threads/README +++ b/ext/threads/README @@ -1,4 +1,4 @@ -threads version 1.44 +threads version 1.45 ==================== This module exposes interpreter threads to the Perl level. diff --git a/ext/threads/t/thread.t b/ext/threads/t/thread.t index 22cff08..90db3cd 100644 --- a/ext/threads/t/thread.t +++ b/ext/threads/t/thread.t @@ -171,7 +171,7 @@ package main; # bugid #24165 -run_perl(prog => 'use threads 1.44;' . +run_perl(prog => 'use threads 1.45;' . 'sub a{threads->create(shift)} $t = a sub{};' . '$t->tid; $t->join; $t->tid', nolib => ($ENV{PERL_CORE}) ? 0 : 1, diff --git a/ext/threads/threads.pm b/ext/threads/threads.pm index 435601e..dfc5a3f 100755 --- a/ext/threads/threads.pm +++ b/ext/threads/threads.pm @@ -5,7 +5,7 @@ use 5.008; use strict; use warnings; -our $VERSION = '1.44'; +our $VERSION = '1.45'; my $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -133,7 +133,7 @@ threads - Perl interpreter-based threads =head1 VERSION -This document describes threads version 1.44 +This document describes threads version 1.45 =head1 SYNOPSIS @@ -905,7 +905,7 @@ L Discussion Forum on CPAN: L Annotated POD for L: -L +L L, L