summaryrefslogtreecommitdiff
path: root/vms/gen_shrfls.pl
diff options
context:
space:
mode:
authorCharles Bailey <bailey@newman.upenn.edu>1999-03-17 19:55:23 -0400
committerGurusamy Sarathy <gsar@cpan.org>1999-04-26 08:27:22 +0000
commitcc391245e1d1990aad64067bd4c25ba76be67238 (patch)
treea9fb7986a8d8d7a1abeb8a744e459e38343d0487 /vms/gen_shrfls.pl
parent53667d02048b0d88d2026d5388665bfad577d2d4 (diff)
downloadperl-cc391245e1d1990aad64067bd4c25ba76be67238.tar.gz
hand-applied conflicting parts of suggested patch
Message-id: <01J8YELSL7WK001E7S@mail.newman.upenn.edu> Subject: [PATCH 5.005_56] VMS configuration/build p4raw-id: //depot/perl@3273
Diffstat (limited to 'vms/gen_shrfls.pl')
-rw-r--r--vms/gen_shrfls.pl22
1 files changed, 2 insertions, 20 deletions
diff --git a/vms/gen_shrfls.pl b/vms/gen_shrfls.pl
index 8e89348ae4..3e70372524 100644
--- a/vms/gen_shrfls.pl
+++ b/vms/gen_shrfls.pl
@@ -261,23 +261,13 @@ LINE: while (<CPP>) {
}
close CPP;
-# This was:
-# Kluge to determine whether we need to add EMBED prefix to
-# symbols read from local list. vmsreaddirversions() is a VMS-
-# specific function whose Perl_ prefix is added in vmsish.h
-# if EMBED is #defined.
-#
-# but now we always define EMBED, so it's not a big deal any more
while (<DATA>) {
next if /^#/;
s/\s+#.*\n//;
next if /^\s*$/;
($key,$array) = split('=',$_);
- if ($array eq 'vars') {
- $key = "PL_$key";
- } else {
- $key = "Perl_$key";
- }
+ if ($array eq 'vars') { $key = "PL_$key"; }
+ else { $key = "Perl_$key"; }
print "Adding $key to \%$array list\n" if $debug > 1;
${$array}{$key}++;
}
@@ -304,14 +294,6 @@ if ($isvaxc) {
print STDERR "Unrecognized enum constant \"$_\" ignored\n";
}
}
-elsif ($isgcc) {
- # gcc creates this as a SHR,WRT psect in globals.c, but we
- # don't see it in the perl.h scan, since it's only declared
- # if DOINIT is #defined. Bleah. It's cheaper to just add
- # it by hand than to add /Define=DOINIT to the preprocessing
- # run and wade through all the extra junk.
- $vars{"${embed}Error"}++;
-}
# Eventually, we'll check against existing copies here, so we can add new
# symbols to an existing options file in an upwardly-compatible manner.