From: Gurusamy Sarathy Date: Mon, 15 Feb 1999 14:11:50 +0000 (+0000) Subject: tweak Configure to follow new PERL_VERSION etc. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a9fb271febef206f32659f8abc5f9029ae2f7a25;p=p5sagit%2Fp5-mst-13.2.git tweak Configure to follow new PERL_VERSION etc. p4raw-id: //depot/perl@2954 --- diff --git a/Configure b/Configure index 92a7e12..47aa37e 100755 --- a/Configure +++ b/Configure @@ -3024,8 +3024,8 @@ baserev=5.0 echo " " echo "Getting the current patchlevel..." >&4 if $test -r $rsrc/patchlevel.h;then - patchlevel=`awk '/define[ ]+PATCHLEVEL/ {print $3}' $rsrc/patchlevel.h` - subversion=`awk '/define[ ]+SUBVERSION/ {print $3}' $rsrc/patchlevel.h` + patchlevel=`awk '/define[ ]+PERL_VERSION/ {print $3}' $rsrc/patchlevel.h` + subversion=`awk '/define[ ]+PERL_SUBVERSION/ {print $3}' $rsrc/patchlevel.h` else patchlevel=0 subversion=0 diff --git a/patchlevel.h b/patchlevel.h index f2c6b12..b561f11 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -1,13 +1,16 @@ #ifndef __PATCHLEVEL_H_INCLUDED__ -# define PERL_REVISION 5 /* age */ -# define PERL_VERSION 5 /* epoch */ -# define PERL_SUBVERSION 55 /* generation */ +/* do not adjust the whitespace! Configure expects the numbers to be + * exactly on the third column */ + +#define PERL_REVISION 5 /* age */ +#define PERL_VERSION 5 /* epoch */ +#define PERL_SUBVERSION 55 /* generation */ /* these are the old terms of reference */ -# define PATCHLEVEL PERL_VERSION -# undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */ -# define SUBVERSION PERL_SUBVERSION +#define PATCHLEVEL PERL_VERSION +#undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */ +#define SUBVERSION PERL_SUBVERSION /* local_patches -- list of locally applied less-than-subversion patches. diff --git a/pod/perlhist.pod b/pod/perlhist.pod index 9aee417..1be042d 100644 --- a/pod/perlhist.pod +++ b/pod/perlhist.pod @@ -315,6 +315,7 @@ the strings?). 5.005_52 1998-Sep-25 5.005_53 1998-Oct-31 5.005_54 1998-Nov-30 + 5.005_55 1999-Feb-15 =head2 SELECTED RELEASE SIZES