more changes for new-style version numbers (versions numbers on
[p5sagit/p5-mst-13.2.git] / patchlevel.h
1 #ifndef __PATCHLEVEL_H_INCLUDED__
2
3 /* do not adjust the whitespace! Configure expects the numbers to be
4  * exactly on the third column */
5
6 #define PERL_REVISION   5               /* age */
7 #define PERL_VERSION    5               /* epoch */
8 #define PERL_SUBVERSION 640             /* generation */
9
10 /* The following numbers describe the earliest compatible version of
11    Perl ("compatibility" here being defined as sufficient binary/API
12    compatibility to run XS code built with the older version).
13    Normally this should not change across maintenance releases.
14
15    This is used by Configure et al to figure out which version libraries
16    are legal to include in @INC.  See INSTALL for how this works.
17 */
18 #define PERL_API_REVISION       5       /* Adjust manually as needed.  */
19 #define PERL_API_VERSION        5       /* Adjust manually as needed.  */
20 #define PERL_API_SUBVERSION     640     /* Adjust manually as needed.  */
21
22 #define __PATCHLEVEL_H_INCLUDED__
23 #endif
24
25 /*
26         local_patches -- list of locally applied less-than-subversion patches.
27         If you're distributing such a patch, please give it a name and a
28         one-line description, placed just before the last NULL in the array
29         below.  If your patch fixes a bug in the perlbug database, please
30         mention the bugid.  If your patch *IS* dependent on a prior patch,
31         please place your applied patch line after its dependencies. This
32         will help tracking of patch dependencies.
33
34         Please edit the hunk of diff which adds your patch to this list,
35         to remove context lines which would give patch problems.  For instance,
36         if the original context diff is
37            *** patchlevel.h.orig        <date here>
38            --- patchlevel.h     <date here>
39            *** 38,43 ***
40            --- 38,44 ---
41                 ,"FOO1235 - some patch"
42                 ,"BAR3141 - another patch"
43                 ,"BAZ2718 - and another patch"
44            +    ,"MINE001 - my new patch"
45                 ,NULL
46              };
47         
48         please change it to 
49            *** patchlevel.h.orig        <date here>
50            --- patchlevel.h     <date here>
51            *** 41,43 ***
52            --- 41,44 ---
53            +    ,"MINE001 - my new patch"
54              };
55         
56         (Note changes to line numbers as well as removal of context lines.)
57         This will prevent patch from choking if someone has previously
58         applied different patches than you.
59  */
60 #if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(LOCAL_PATCH_COUNT)
61 static  char    *local_patches[] = {
62         NULL
63         ,NULL
64 };
65
66 /* Initial space prevents this variable from being inserted in config.sh  */
67 #  define       LOCAL_PATCH_COUNT       \
68         (sizeof(local_patches)/sizeof(local_patches[0])-2)
69
70 /* the old terms of reference, add them only when explicitly included */
71 #define PATCHLEVEL              PERL_VERSION
72 #undef  SUBVERSION              /* OS/390 has a SUBVERSION in a system header */
73 #define SUBVERSION              PERL_SUBVERSION
74 #endif