Skip to content

Commit

Permalink
Merge pull request flame#503 from flame/windows-compiler-check
Browse files Browse the repository at this point in the history
Add explicit compiler check for Windows.
  • Loading branch information
devinamatthews authored May 24, 2021
2 parents cbd8d39 + 5feb04e commit e5c85da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -2373,6 +2373,11 @@ main()
fi

echo "${script_name}: using '${found_cc}' C compiler."

# Also check the compiler to see if we are (cross-)compiling for Windows
if ${found_cc} -dM -E - < /dev/null 2> /dev/null | grep -q _WIN32; then
is_win=yes
fi


# -- Find a C++ compiler ---------------------------------------------------
Expand Down

0 comments on commit e5c85da

Please sign in to comment.