From a83ef917af7d772605cd60cf60c7f7d8cffe52bf Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 10 Jan 2008 11:58:07 -0500 Subject: STYLE: Move VisualAge id macro to correct block. --- Modules/CMakeFortranCompilerId.F90 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]' -- cgit v0.12