optimize XSUBs to use targets if the -nooptimize xsubpp option is
[p5sagit/p5-mst-13.2.git] / patchlevel.h
CommitLineData
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 */
7#define PERL_VERSION 5 /* epoch */
a7cb1f99 8#define PERL_SUBVERSION 640 /* generation */
4d8076ea 9
75347591 10/* Compatibility across versions: MakeMaker will install add-on
11 modules in a directory with the PERL_APIVERSION version number.
12 Normally this should not change across maintenance releases.
13 perl.c:incpush() and lib/lib.pm will automatically search older
14 directories across major versions back to to PERL_XS_APIVERSION
15 for XS modules and back to PERL_PM_APIVERSION for pure PERL modules.
16 (Since the versioned directory layout didn't start until 5.005,
17 that's the earliest these can go back.
18
19 See INSTALL for how this works.
20*/
a7cb1f99 21#define PERL_APIVERSION 5.00564 /* Adjust manually as needed. */
75347591 22
e3321bb0 23#define __PATCHLEVEL_H_INCLUDED__
24#endif
25
7f0a50ff 26/*
27 local_patches -- list of locally applied less-than-subversion patches.
28 If you're distributing such a patch, please give it a name and a
29 one-line description, placed just before the last NULL in the array
30 below. If your patch fixes a bug in the perlbug database, please
31 mention the bugid. If your patch *IS* dependent on a prior patch,
32 please place your applied patch line after its dependencies. This
33 will help tracking of patch dependencies.
34
35 Please edit the hunk of diff which adds your patch to this list,
36 to remove context lines which would give patch problems. For instance,
37 if the original context diff is
38 *** patchlevel.h.orig <date here>
39 --- patchlevel.h <date here>
40 *** 38,43 ***
41 --- 38,44 ---
42 ,"FOO1235 - some patch"
43 ,"BAR3141 - another patch"
44 ,"BAZ2718 - and another patch"
45 + ,"MINE001 - my new patch"
46 ,NULL
47 };
48
49 please change it to
50 *** patchlevel.h.orig <date here>
51 --- patchlevel.h <date here>
52 *** 41,43 ***
53 --- 41,44 ---
54 + ,"MINE001 - my new patch"
55 };
56
57 (Note changes to line numbers as well as removal of context lines.)
58 This will prevent patch from choking if someone has previously
59 applied different patches than you.
60 */
e3321bb0 61#if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(LOCAL_PATCH_COUNT)
7f0a50ff 62static char *local_patches[] = {
63 NULL
64 ,NULL
65};
66
b33f1439 67/* Initial space prevents this variable from being inserted in config.sh */
68# define LOCAL_PATCH_COUNT \
7f0a50ff 69 (sizeof(local_patches)/sizeof(local_patches[0])-2)
f7d144c8 70
cceca5ed 71/* the old terms of reference, add them only when explicitly included */
cceca5ed 72#define PATCHLEVEL PERL_VERSION
73#undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */
74#define SUBVERSION PERL_SUBVERSION
75#endif