From: Perl 5 Porters Date: Sun, 23 Jun 1996 00:58:49 +0000 (+0000) Subject: perl 5.003: vms/fndvers.com X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b82d9e690e52f82a4b5589db5ff6c3afc6e42caf;p=p5sagit%2Fp5-mst-13.2.git perl 5.003: vms/fndvers.com Update generation of ARCHLIB_EXP in config.h to use a method which keeps VAXC happy --- diff --git a/vms/fndvers.com b/vms/fndvers.com index 04a9d99..f1ddc03 100644 --- a/vms/fndvers.com +++ b/vms/fndvers.com @@ -37,17 +37,35 @@ $ Close patchlevel_h $! $ If sublevel.eq.0 Then sublevel = "" $ perl_version = "5_" + plevel + sublevel +$ If F$GetSyi("HW_MODEL").gt.1024 +$ Then +$ arch = "AXP" +$ Else +$ arch = "VAX" +$ EndIf $ If p2.eqs."#NOFILE#" $ Then $ Write Sys$Output "Perl version directory name is ""''perl_version'""" $ Exit $ EndIf $! -$ token = """""""""''perl_version'""""""""" +$ token = """""""""/perl_root/lib/VMS_''arch'/''perl_version'""""""""" $ If sublevel.eqs."" Then token = token + " " $ token = token + " /**/" -$ Call update_file "''p2'" "# define _PVERS" "''token'" -$ If .not.$Status Then Exit $Status +$ Call update_file "''p2'" "#define ARCHLIB_EXP" "''token'" +$ teststs = $Status +$ If .not.teststs Then Exit teststs +$! +$ If teststs.ne.1 ! current values in config.vms are appropriate +$ Then +$ token = """""""""/perl_root/lib/VMS_''arch'"""""""" /**/" +$ Call update_file "''p2'" "#define OLDARCHLIB_EXP" "''token'" +$ If .not.$Status Then Exit $Status +$! +$ token = """""""""/perl_root/lib/site_perl/VMS_''arch'"""""""" /**/" +$ Call update_file "''p2'" "#define SITEARCH_EXP" "''token'" +$ If .not.$Status Then Exit $Status +$EndIf $! $ token = "''perl_version'" $ If sublevel.eqs."" Then token = token + " "