From cceca5ed003bac658cb0392a14bb2f26d434bd78 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Tue, 16 Feb 1999 04:09:47 +0000 Subject: propagate PERL_VERSION everywhere, add to pod p4raw-id: //depot/perl@2957 --- vms/genconfig.pl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'vms/genconfig.pl') 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 () { - 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; } -- cgit v1.2.1