configure.com archname tweak
authorCraig A. Berry <craigberry@mac.com>
Sun, 21 Dec 2003 23:07:13 +0000 (17:07 -0600)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 22 Dec 2003 10:13:43 +0000 (10:13 +0000)
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3FE67C01.1000704@mac.com>

p4raw-id: //depot/perl@21944

configure.com

index 20537b5..e32210f 100644 (file)
@@ -5109,7 +5109,7 @@ $   WS "    iss =  ((iss&1)==1 && code == 0x1234);"
 $   WS "    printf(""%d\n"",iss);"
 $   WS "}"
 $   CS
-$   IF (archname .EQS. "VMS_AXP")
+$   IF (F$EXTRACT(0,7,archname) .EQS. "VMS_AXP")
 $   THEN
 $     GOSUB compile
 $   ELSE
@@ -6400,8 +6400,8 @@ $   echo ""
 $   echo4 "The perl.cld file is now being written..."
 $   OPEN/WRITE CONFIG 'file_2_find'
 $   ext = ".exe"
-$   IF (sharedperl .AND. archname .EQS. "VMS_AXP") THEN ext := .AXE
-$   IF (sharedperl .AND. archname .EQS. "VMS_IA64") THEN ext := .IXE
+$   IF (sharedperl .AND. F$EXTRACT(0,7,archname) .EQS. "VMS_AXP") THEN ext := .AXE
+$   IF (sharedperl .AND. F$EXTRACT(0,8,archname) .EQS. "VMS_IA64") THEN ext := .IXE
 $   IF (use_vmsdebug_perl)
 $   THEN
 $     WRITE CONFIG "define verb dbgperl"