archname salad on VMS
authorCraig A. Berry <craigberry@mac.com>
Thu, 1 Apr 2004 14:16:32 +0000 (08:16 -0600)
committerDave Mitchell <davem@fdisolutions.com>
Thu, 1 Apr 2004 22:00:40 +0000 (22:00 +0000)
From:  "Craig A. Berry" <craigberry@mac.com>
Message-Id:  <406C78A0.2070009@mac.com>

sort out architecture-specific directory names for OpenVMS
Itanium port

p4raw-id: //depot/perl@22636

configure.com
vms/descrip_mms.template

index 479af18..c86d682 100644 (file)
@@ -6476,7 +6476,8 @@ $ WRITE CONFIG "$ define/translation=concealed ''vms_prefix' ''prefix'"
 $ WRITE CONFIG "$ ext = "".exe"""
 $ IF sharedperl
 $ THEN
-$ WRITE CONFIG "$ if f$getsyi(""HW_MODEL"") .ge. 1024 then ext = "".AXE"""
+$ WRITE CONFIG "$ if f$getsyi(""ARCH_TYPE"") .eq. 2 then ext = "".AXE"""
+$ WRITE CONFIG "$ if f$getsyi(""ARCH_TYPE"") .eq. 3 then ext = "".IXE"""
 $ ENDIF
 $ IF (perl_symbol)
 $ THEN
index 43a09c4..ec14738 100644 (file)
 ~FLAGS~
 
 #: >>>>> Architecture-specific options <<<<<
+.ifdef IXE
+O = .ibj
+OLB = .ilb
+E = .ixe
+.else
 .ifdef AXE
 # File type to use for object files
 O = .abj
@@ -48,7 +53,12 @@ OLB = .olb
 # File type to use for executable images
 E = .exe
 .endif
+.endif
 
+.ifdef __IA64__
+ARCH = VMS_IA64
+OBJVAL = $(O)
+.else
 .ifdef __AXP__
 ARCH = VMS_AXP
 OBJVAL = $(O)
@@ -56,6 +66,7 @@ OBJVAL = $(O)
 ARCH = VMS_VAX
 OBJVAL = $(MMS$TARGET_NAME)$(O)
 .endif
+.endif
 
 PERL_VERSION = ~PV~