summaryrefslogtreecommitdiff
path: root/vms/genconfig.pl
diff options
context:
space:
mode:
Diffstat (limited to 'vms/genconfig.pl')
-rw-r--r--vms/genconfig.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/vms/genconfig.pl b/vms/genconfig.pl
index 521be99e11..da295f72e9 100644
--- a/vms/genconfig.pl
+++ b/vms/genconfig.pl
@@ -126,7 +126,9 @@ foreach (@ARGV) {
print OUT "gccversion='$1'\n";
}
elsif ($archsufx eq 'VAX' &&
- `$val/NoObject/NoList /prefix=all _nla0:` =~ /IVQUAL/) {
+ # Check exit status too, in case message is turned off
+ ( `$val/NoObject/NoList /prefix=all _nla0:` =~ /IVQUAL/ ||
+ $? == 0x38240 )) {
$cctype = 'vaxc';
$d_attr = 'undef';
}