Commit | Line | Data |
f7d144c8 |
1 | #ifndef __PATCHLEVEL_H_INCLUDED__ |
4d8076ea |
2 | |
a9fb271f |
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 */ |
0107c034 |
7 | #define PERL_VERSION 7 /* epoch */ |
3e9bebd5 |
8 | #define PERL_SUBVERSION 2 /* generation */ |
4d8076ea |
9 | |
273cf8d1 |
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). |
75347591 |
13 | Normally this should not change across maintenance releases. |
75347591 |
14 | |
ea3df0f8 |
15 | Note that this only refers to an out-of-the-box build. Many non-default |
16 | options such as usemultiplicity tend to break binary compatibility |
17 | more often. |
18 | |
ff935051 |
19 | This is used by Configure et al to figure out |
20 | PERL_INC_VERSION_LIST, which lists version libraries |
21 | to include in @INC. See INSTALL for how this works. |
75347591 |
22 | */ |
273cf8d1 |
23 | #define PERL_API_REVISION 5 /* Adjust manually as needed. */ |
24 | #define PERL_API_VERSION 5 /* Adjust manually as needed. */ |
ea3df0f8 |
25 | #define PERL_API_SUBVERSION 0 /* Adjust manually as needed. */ |
ff935051 |
26 | /* |
27 | XXX Note: The selection of non-default Configure options, such |
28 | as -Duselonglong may invalidate these settings. Currently, Configure |
29 | does not adequately test for this. A.D. Jan 13, 2000 |
30 | */ |
75347591 |
31 | |
e3321bb0 |
32 | #define __PATCHLEVEL_H_INCLUDED__ |
33 | #endif |
34 | |
7f0a50ff |
35 | /* |
36 | local_patches -- list of locally applied less-than-subversion patches. |
37 | If you're distributing such a patch, please give it a name and a |
38 | one-line description, placed just before the last NULL in the array |
39 | below. If your patch fixes a bug in the perlbug database, please |
40 | mention the bugid. If your patch *IS* dependent on a prior patch, |
41 | please place your applied patch line after its dependencies. This |
42 | will help tracking of patch dependencies. |
43 | |
44 | Please edit the hunk of diff which adds your patch to this list, |
45 | to remove context lines which would give patch problems. For instance, |
46 | if the original context diff is |
47 | *** patchlevel.h.orig <date here> |
48 | --- patchlevel.h <date here> |
49 | *** 38,43 *** |
50 | --- 38,44 --- |
51 | ,"FOO1235 - some patch" |
52 | ,"BAR3141 - another patch" |
53 | ,"BAZ2718 - and another patch" |
54 | + ,"MINE001 - my new patch" |
55 | ,NULL |
56 | }; |
57 | |
58 | please change it to |
59 | *** patchlevel.h.orig <date here> |
60 | --- patchlevel.h <date here> |
61 | *** 41,43 *** |
62 | --- 41,44 --- |
63 | + ,"MINE001 - my new patch" |
64 | }; |
65 | |
66 | (Note changes to line numbers as well as removal of context lines.) |
67 | This will prevent patch from choking if someone has previously |
68 | applied different patches than you. |
69 | */ |
e3321bb0 |
70 | #if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(LOCAL_PATCH_COUNT) |
65f19062 |
71 | static char *local_patches[] = { |
21d69035 |
72 | NULL |
42116ed3 |
73 | ,"DEVEL13384" |
7f0a50ff |
74 | ,NULL |
75 | }; |
76 | |
b33f1439 |
77 | /* Initial space prevents this variable from being inserted in config.sh */ |
78 | # define LOCAL_PATCH_COUNT \ |
7f0a50ff |
79 | (sizeof(local_patches)/sizeof(local_patches[0])-2) |
f7d144c8 |
80 | |
cceca5ed |
81 | /* the old terms of reference, add them only when explicitly included */ |
cceca5ed |
82 | #define PATCHLEVEL PERL_VERSION |
83 | #undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */ |
84 | #define SUBVERSION PERL_SUBVERSION |
85 | #endif |