summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-04-17 14:31:42 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-17 14:31:42 +0000
commit73e09c8fa5daeb8994c6d0aff5cfb8c4e65a7150 (patch)
tree4f804a7f284f3e67921e913c58544f310ecb8e96 /Configure
parent35a51b2056f806b70a212f2c12a7cf3433732011 (diff)
downloadperl-73e09c8fa5daeb8994c6d0aff5cfb8c4e65a7150.tar.gz
As suggested by Arthur: the threads and threads::shared
modules are always present. This tries to preempt two kinds of bug reports: (1) "the Perl 5.8.0 was supposed to have this new fancy threads implementation but my Perl doesn't seem to have it" (2) someone attempting to install threads using CPAN.pm and CPAN.pm helpfully starting to install perl 5.8.0 (which they might already have installed). p4raw-id: //depot/perl@15972
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure20
1 files changed, 13 insertions, 7 deletions
diff --git a/Configure b/Configure
index 57e166c0b3..7225e61199 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Wed Apr 17 02:10:04 EET DST 2002 [metaconfig 3.0 PL70]
+# Generated on Wed Apr 17 17:49:13 EET DST 2002 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -19327,12 +19327,18 @@ for xxx in $known_extensions ; do
esac
;;
threads|threads/shared)
- case "$usethreads" in
- true|$define|y)
- case "$useithreads" in
- $define|true|[yY]*) avail_ext="$avail_ext $xxx" ;;
- esac
- esac
+ # threads and threads::shared are special cases.
+ # To stop people from asking "Perl 5.8.0 was supposed
+ # to have this new fancy threads implementation but my
+ # perl doesn't have it" and from people trying to
+ # (re)install the threads module using CPAN.pm and
+ # CPAN.pm then offering to reinstall Perl 5.8.0,
+ # the threads.pm and threads/shared.pm will always be
+ # there, croaking informatively ("you need to rebuild
+ # all of Perl with threads, sorry") when threads haven't
+ # been compiled in.
+ # --jhi
+ avail_ext="$avail_ext $xxx"
;;
IPC/SysV|ipc/sysv)
: XXX Do we need a useipcsysv variable here