summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-05-02 22:40:18 +0000
committerNicholas Clark <nick@ccl4.org>2004-05-02 22:40:18 +0000
commit63f18be62c0fc11b05936631f648c4dd5ea77236 (patch)
tree1c0d1c69d84f06dc0a4d908ef2fb087535c0d9af /configpm
parentdd2b5970cf2cbf18f4a44daa7156a78ccc309dd8 (diff)
downloadperl-63f18be62c0fc11b05936631f648c4dd5ea77236.tar.gz
It seems daft to me that we have a synopis example that will fail if
gcc happened to be invoked via the name cc, and completely ignores the far more reliable 'gccversion' variable So here's one using 'usethreads' that ought to work everywhere. p4raw-id: //depot/perl@22768
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm4
1 files changed, 2 insertions, 2 deletions
diff --git a/configpm b/configpm
index f232c9b4ed..d3d15eec22 100755
--- a/configpm
+++ b/configpm
@@ -435,8 +435,8 @@ Config - access Perl configuration information
=head1 SYNOPSIS
use Config;
- if ($Config{'cc'} =~ /gcc/) {
- print "built by gcc\n";
+ if ($Config{usethreads}) {
+ print "has thread support\n"
}
use Config qw(myconfig config_sh config_vars config_re);