From: Jarkko Hietaniemi Date: Sat, 2 Oct 1999 10:11:20 +0000 (+0000) Subject: Regen Configure, all of xs_apiversion didn't take. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=753475910d236d4619b2ae7f227546a173a3101e;p=p5sagit%2Fp5-mst-13.2.git Regen Configure, all of xs_apiversion didn't take. p4raw-id: //depot/cfgperl@4284 --- diff --git a/Configure b/Configure index 8fd2a8d..a6d567c 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Thu Sep 30 19:41:54 EET DST 1999 [metaconfig 3.0 PL70] +# Generated on Sat Oct 2 13:06:57 EET DST 1999 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$usesocks USE_SOCKS /**/ +/* PERL_XS_APIVERSION: + * This variable contains the version of the oldest perl binary + * compatible with the present perl. perl.c:incpush() and + * lib/lib.pm will automatically search in $sitearch for older + * directories across major versions back to xs_apiversion. + * This is only useful if you have a perl library directory tree + * structured like the default one. + * See INSTALL for how this works. + * The versioned site_perl directory was introduced in 5.005, + * so that is the lowest possible value. + * Since this can depend on compile time options (such as + * bincompat) it is set by Configure. Other non-default sources + * of potential incompatibility, such as multiplicity, threads, + * debugging, 64bits, sfio, etc., are not checked for currently, + * though in principle we could go snooping around in old + * Config.pm files. + */ +/* PERL_PM_APIVERSION: + * This variable contains the version of the oldest perl + * compatible with the present perl. (That is, pure perl modules + * written for pm_apiversion will still work for the current + * version). perl.c:incpush() and lib/lib.pm will automatically + * search in $sitelib for older directories across major versions + * back to pm_apiversion. This is only useful if you have a perl + * library directory tree structured like the default one. The + * versioned site_perl library was introduced in 5.005, so that's + * the default setting for this variable. It's hard to imagine + * it changing before Perl6. It is included here for symmetry + * with xs_apiveprsion -- the searching algorithms will + * (presumably) be similar. + * See the INSTALL file for how this works. + */ +#define PERL_XS_APIVERSION $xs_apiversion /* Change to string for tuples?*/ +#define PERL_PM_APIVERSION $pm_apiversion /* Change to string for tuples?*/ + /* HAS_DRAND48_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the drand48() function. Otherwise, it is up diff --git a/patchlevel.h b/patchlevel.h index 02a9689..56e529c 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -7,6 +7,19 @@ #define PERL_VERSION 5 /* epoch */ #define PERL_SUBVERSION 61 /* generation */ +/* Compatibility across versions: MakeMaker will install add-on + modules in a directory with the PERL_APIVERSION version number. + Normally this should not change across maintenance releases. + perl.c:incpush() and lib/lib.pm will automatically search older + directories across major versions back to to PERL_XS_APIVERSION + for XS modules and back to PERL_PM_APIVERSION for pure PERL modules. + (Since the versioned directory layout didn't start until 5.005, + that's the earliest these can go back. + + See INSTALL for how this works. +*/ +#define PERL_APIVERSION 5.00561 /* Adjust manually as needed. */ + #define __PATCHLEVEL_H_INCLUDED__ #endif