summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-07-12 23:44:17 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-07-12 23:44:17 +0000
commit83272a45226e83bd136d713158e9b44ace2dbc8d (patch)
treeee348b24fc5020ccd9e375cef8a5eb8e2bcd3d77 /installperl
parent484fdf61e8653b10160ba1e8011888f52ab6825a (diff)
downloadperl-83272a45226e83bd136d713158e9b44ace2dbc8d.tar.gz
threads::shared::queue and semaphore become Thread::Semaphore
and Queue. The 5005threads case where the old Semaphore and Queue.pm (they are disguised as .pmx) should get magically installed instead has not been tested. p4raw-id: //depot/perl@17509
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl8
1 files changed, 8 insertions, 0 deletions
diff --git a/installperl b/installperl
index 8425f5b83e..ab59652599 100755
--- a/installperl
+++ b/installperl
@@ -386,6 +386,14 @@ foreach my $file (@corefiles) {
}
}
+# Switch in the 5.005-threads versions of he threadsafe queue and semaphore
+# modules if so needed.
+if ($Config{use5005threads}) {
+ for my $m (qw(Queue Semaphore)) {
+ copy("ext/Thread/$m.pmx", "$installprivlib/Thread/$m.pm")
+ }
+}
+
# Install main perl executables
# Make links to ordinary names if installbin directory isn't current directory.