diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-16 04:09:47 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-16 04:09:47 +0000 |
commit | cceca5ed003bac658cb0392a14bb2f26d434bd78 (patch) | |
tree | 286c2340276a7cbefe1899f0f01767791bb31ea4 /vms/genconfig.pl | |
parent | a9fb271febef206f32659f8abc5f9029ae2f7a25 (diff) | |
download | perl-cceca5ed003bac658cb0392a14bb2f26d434bd78.tar.gz |
propagate PERL_VERSION everywhere, add to pod
p4raw-id: //depot/perl@2957
Diffstat (limited to 'vms/genconfig.pl')
-rw-r--r-- | vms/genconfig.pl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/vms/genconfig.pl b/vms/genconfig.pl index 45f50cad5f..e500e760a2 100644 --- a/vms/genconfig.pl +++ b/vms/genconfig.pl @@ -391,8 +391,14 @@ else { warn "Can't read ${outdir}crtl.opt - skipping 'libs' & 'libc'"; } if (open(PL,"${outdir}patchlevel.h")) { while (<PL>) { - if (/^#define PATCHLEVEL\s+(\S+)/) { print OUT "PATCHLEVEL='$1'\n"; } - elsif (/^#define SUBVERSION\s+(\S+)/) { print OUT "SUBVERSION='$1'\n"; } + if (/^#define PERL_VERSION\s+(\S+)/) { + print OUT "PERL_VERSION='$1'\n"; + print OUT "PATCHLEVEL='$1'\n"; # XXX compat + } + elsif (/^#define PERL_SUBVERSION\s+(\S+)/) { + print OUT "PERL_SUBVERSION='$1'\n"; + print OUT "SUBVERSION='$1'\n"; # XXX compat + } } close PL; } |