We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe7dcf9 + 5f846be commit 551b55dCopy full SHA for 551b55d
1 file changed
f_check
@@ -16,6 +16,7 @@ $config = shift(@ARGV);
16
$nofortran = 0;
17
18
$compiler = join(" ", @ARGV);
19
+$compiler_bin = shift(@ARGV);
20
21
# f77 is too ambiguous
22
$compiler = "" if $compiler eq "f77";
@@ -53,7 +54,7 @@ if ($compiler eq "") {
53
54
55
} else {
56
- $data = `which $compiler > /dev/null 2> /dev/null`;
57
+ $data = `which $compiler_bin > /dev/null 2> /dev/null`;
58
$vendor = "";
59
60
if (!$?) {
@@ -204,7 +205,7 @@ if ($compiler eq "") {
204
205
}
206
207
-$data = `which $compiler > /dev/null 2> /dev/null`;
208
+$data = `which $compiler_bin > /dev/null 2> /dev/null`;
209
210
211
0 commit comments