diff options
Diffstat (limited to 'Modules/CMakeFortranCompilerId.F90')
-rw-r--r-- | Modules/CMakeFortranCompilerId.F90 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CMakeFortranCompilerId.F90 b/Modules/CMakeFortranCompilerId.F90 index 8881313..870c204 100644 --- a/Modules/CMakeFortranCompilerId.F90 +++ b/Modules/CMakeFortranCompilerId.F90 @@ -6,12 +6,14 @@ PROGRAM CMakeFortranCompilerId PRINT *, 'INFO:compiler[SunPro]' #elif defined(__GNUC__) PRINT *, 'INFO:compiler[GNU]' +#elif defined(__IBM__) || defined(__IBMC__) + PRINT *, 'INFO:compiler[VisualAge]' #elif defined(_COMPILER_VERSION) PRINT *, 'INFO:compiler[MIPSpro]' ! This compiler is either not known or is too old to define an ! identification macro. Try to identify the platform and guess that ! it is the native compiler. -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) || defined ( __IBM__ ) || defined ( __IBMC__ ) +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) PRINT *, 'INFO:compiler[VisualAge]' #elif defined(__sgi) || defined(__sgi__) || defined(_SGI) PRINT *, 'INFO:compiler[MIPSpro]' |