threads 1.45
Jerry D. Hedden [Wed, 25 Oct 2006 11:26:29 +0000 (04:26 -0700)]
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <20061025182629.16434.qmail@web30209.mail.mud.yahoo.com>

p4raw-id: //depot/perl@29109

ext/threads/Changes
ext/threads/Makefile.PL
ext/threads/README
ext/threads/t/thread.t
ext/threads/threads.pm

index 8f5dd46..cde0e45 100755 (executable)
@@ -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
index 90b82e4..34fdb9f 100755 (executable)
@@ -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') ?
index 20f4bbd..7a49b67 100755 (executable)
@@ -1,4 +1,4 @@
-threads version 1.44
+threads version 1.45
 ====================
 
 This module exposes interpreter threads to the Perl level.
index 22cff08..90db3cd 100644 (file)
@@ -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,
index 435601e..dfc5a3f 100755 (executable)
@@ -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<threads> Discussion Forum on CPAN:
 L<http://www.cpanforum.com/dist/threads>
 
 Annotated POD for L<threads>:
-L<http://annocpan.org/~JDHEDDEN/threads-1.44/threads.pm>
+L<http://annocpan.org/~JDHEDDEN/threads-1.45/threads.pm>
 
 L<threads::shared>, L<perlthrtut>