diff options
author | Craig A. Berry <craigberry@mac.com> | 2007-07-12 10:57:36 +0000 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2007-07-12 10:57:36 +0000 |
commit | c4ac61017176131ef822c9f9c56e1b299e705c66 (patch) | |
tree | a9de8646be62fed955ed7a2c46211e36928ab618 /configure.com | |
parent | e2e6bec7edbce640c3881df6572504b616436a5e (diff) | |
download | perl-c4ac61017176131ef822c9f9c56e1b299e705c66.tar.gz |
Set $Config{PERL_PATCHLEVEL} as well as $Config{perl_patchlevel}, and
grab the value from a MAINTXXX or SMOKEXXX line in patchlevel.h if present.
p4raw-id: //depot/perl@31597
Diffstat (limited to 'configure.com')
-rw-r--r-- | configure.com | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.com b/configure.com index 96966d99cd..0b629ab3d3 100644 --- a/configure.com +++ b/configure.com @@ -1372,6 +1372,20 @@ $ perl_patchlevel = F$ELEMENT(1,"""",line) $ perl_patchlevel = perl_patchlevel - "DEVEL" $ got_perl_patchlevel = "true" $ ENDIF +$ IF ((F$LOCATE("""SMOKE",line).NE.F$LENGTH(line)).AND.(.NOT.got_perl_patchlevel)) +$ THEN +$ line = F$EDIT(line,"COMPRESS, TRIM") +$ perl_patchlevel = F$ELEMENT(1,"""",line) +$ perl_patchlevel = perl_patchlevel - "SMOKE" +$ got_perl_patchlevel = "true" +$ ENDIF +$ IF ((F$LOCATE("""MAINT",line).NE.F$LENGTH(line)).AND.(.NOT.got_perl_patchlevel)) +$ THEN +$ line = F$EDIT(line,"COMPRESS, TRIM") +$ perl_patchlevel = F$ELEMENT(1,"""",line) +$ perl_patchlevel = perl_patchlevel - "MAINT" +$ got_perl_patchlevel = "true" +$ ENDIF $ IF (.NOT. got_patch) .OR. - (.NOT. got_sub) .OR. - (.NOT. got_api_revision) .OR. - @@ -5702,6 +5716,7 @@ $ WC "PERL_SUBVERSION='" + subversion + "'" $ WC "PERL_API_REVISION='" + api_revision + "'" $ WC "PERL_API_VERSION='" + api_version + "'" $ WC "PERL_API_SUBVERSION='" + api_subversion + "'" +$ WC "PERL_PATCHLEVEL='" + perl_patchlevel + "'" $ WC "perl_patchlevel='" + perl_patchlevel + "'" $ WC "PERL_CONFIG_SH='true'" $ WC "_a='" + lib_ext + "'" |