summaryrefslogtreecommitdiff
path: root/configure.com
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2016-11-01 19:06:06 -0500
committerCraig A. Berry <craigberry@mac.com>2016-11-01 21:27:47 -0500
commitf6a154ae766a3404d83b81448ca6a356d30198e1 (patch)
treed3a96ddacc70c59c44429aacf484a915e28e7140 /configure.com
parentfcd4e2f8c97d60e18fb7288412b1903388692000 (diff)
downloadperl-f6a154ae766a3404d83b81448ca6a356d30198e1.tar.gz
Treat VSI C the same as DEC/Compaq/HP C.
Diffstat (limited to 'configure.com')
-rw-r--r--configure.com9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure.com b/configure.com
index cb98892b1f..37b57efced 100644
--- a/configure.com
+++ b/configure.com
@@ -1354,7 +1354,8 @@ $ vms_cc_available = vms_cc_available + "cc/decc "
$ ENDIF
$ ELSE
$ IF (F$LOCATE("DEC",line).NE.F$LENGTH(line)).or.(F$LOCATE("Compaq",line).NE.F$LENGTH(line)) -
- .or.(F$LOCATE("HP",F$EDIT(line,"UPCASE")).NE.F$LENGTH(line))
+ .or.(F$LOCATE("HP",F$EDIT(line,"UPCASE")).NE.F$LENGTH(line)) -
+ .or.(F$LOCATE("VSI",F$EDIT(line,"UPCASE")).NE.F$LENGTH(line))
$ THEN
$ vms_cc_dflt = "/decc"
$ vms_cc_available = vms_cc_available + "cc/decc "
@@ -1491,7 +1492,8 @@ $ THEN
$ ans = F$EDIT(ans,"TRIM, COMPRESS, LOWERCASE")
$ Mcc = ans
$ IF (F$LOCATE("dec",ans).NE.F$LENGTH(ans)).or.(F$LOCATE("compaq",ans).NE.F$LENGTH(ans)) -
- .or.(F$LOCATE("hp",ans).NE.F$LENGTH(ans))
+ .or.(F$LOCATE("hp",ans).NE.F$LENGTH(ans)) -
+ .or.(F$LOCATE("vsi",ans).NE.F$LENGTH(ans))
$ THEN
$ Mcc = "cc/decc"
$! CPQ ?
@@ -1508,7 +1510,8 @@ $ ELSE ! Not_cxx
$ IF Mcc.NES.dflt
$ THEN
$ IF F$LOCATE("dec",dflt) .NE. F$LENGTH(dflt) .or. -
- F$LOCATE("compaq",dflt) .NE. F$LENGTH(dflt)
+ F$LOCATE("compaq",dflt) .NE. F$LENGTH(dflt) -
+ .or.(F$LOCATE("vsi",dflt).NE.F$LENGTH(dflt))
$ THEN
$ C_COMPILER_Replace = "CC=cc=''Mcc'"
$ ELSE