X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=patchlevel.h;h=a54f937efae8942f420597ceb5ba1de8d698f498;hb=1e374101a32f2df640b9fad36d86b2ed88f6eaf8;hp=5d4b324d7e1e0220f6bf867237ca2e78f9f19f73;hpb=bdea044a3eebc4b6a857dc036517bb1c70db2b50;p=p5sagit%2Fp5-mst-13.2.git diff --git a/patchlevel.h b/patchlevel.h index 5d4b324..a54f937 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -1,5 +1,11 @@ -#define PATCHLEVEL 3 -#define SUBVERSION 0 +#ifndef __PATCHLEVEL_H_INCLUDED__ + +/* 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 57 /* generation */ /* local_patches -- list of locally applied less-than-subversion patches. @@ -41,5 +47,17 @@ static char *local_patches[] = { ,NULL }; -#define LOCAL_PATCH_COUNT \ +/* Initial space prevents this variable from being inserted in config.sh */ +# define LOCAL_PATCH_COUNT \ (sizeof(local_patches)/sizeof(local_patches[0])-2) + +# define __PATCHLEVEL_H_INCLUDED__ +#endif + +/* the old terms of reference, add them only when explicitly included */ +#if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(PATCHLEVEL) +#define PATCHLEVEL PERL_VERSION +#undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */ +#define SUBVERSION PERL_SUBVERSION +#endif +