Skip to content

Commit 6fd9aab

Browse files
Fix bug in detecting Fortran compiler vendor (#745)
`FC` was used instead of `found_fc`.
1 parent 8215b02 commit 6fd9aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4037,7 +4037,7 @@ main()
40374037
# clutter.
40384038
# NOTE: This maybe should use merged stdout/stderr rather than only
40394039
# stdout. But it works for now.
4040-
vendor_string="$(${FC} --version 2>/dev/null || :)"
4040+
vendor_string="$(${found_fc} --version 2>/dev/null || :)"
40414041

40424042
# Query the compiler "vendor" (ie: the compiler's simple name).
40434043
# The last part ({ read first rest ; echo $first ; }) is a workaround

0 commit comments

Comments
 (0)