Change "succeded" to "succeeded" everywhere.
Otherwise callers may expect to be able to re-use result variables.
Copy the CheckCSourceCompiles module and port it to Fortran. Extend the FortranOnly test to try using the new module. Suggested-by: Nicolas Bock <nicolasbock@gmail.com>