summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-07-20 10:31:04 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-07-20 10:31:04 +0000
commite935c5a40cc2e11d6cc50386820177a932ba7ce1 (patch)
treed77e9a4c949253d01b85cac12484aa081bb279e1 /configpm
parentf9bc45eff51a0e2fac1537ecee1124be910c832e (diff)
downloadperl-e935c5a40cc2e11d6cc50386820177a932ba7ce1.tar.gz
Remove :unique attribute from Config.pm,
until we find a better implementation of it (or remove it). See [perl #36375]. p4raw-id: //depot/perl@25195
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm8
1 files changed, 2 insertions, 6 deletions
diff --git a/configpm b/configpm
index 728e012d64..874e3f38e3 100755
--- a/configpm
+++ b/configpm
@@ -362,16 +362,12 @@ if (%need_relocation) {
print CONFIG_HEAVY @non_v, "\n";
# copy config summary format from the myconfig.SH script
-print CONFIG_HEAVY "our \$summary : unique = <<'!END!';\n";
+print CONFIG_HEAVY "our \$summary = <<'!END!';\n";
open(MYCONFIG,"<myconfig.SH") || die "open myconfig.SH failed: $!";
1 while defined($_ = <MYCONFIG>) && !/^Summary of/;
do { print CONFIG_HEAVY $_ } until !defined($_ = <MYCONFIG>) || /^\s*$/;
close(MYCONFIG);
-# NB. as $summary is unique, we need to copy it in a lexical variable
-# before expanding it, because may have been made readonly if a perl
-# interpreter has been cloned.
-
print CONFIG_HEAVY "\n!END!\n", <<'EOT';
my $summary_expanded;
@@ -418,7 +414,7 @@ s/(byteorder=)(['"]).*?\2/$1$2$Config::byteorder$2/m;
my $config_sh_len = length $_;
-our $Config_SH_expanded : unique = "\n$_" . << 'EOVIRTUAL';
+our $Config_SH_expanded = "\n$_" . << 'EOVIRTUAL';
EOT
foreach my $prefix (qw(ccflags ldflags)) {