summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-10 16:58:07 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-10 16:58:07 (GMT)
commita83ef917af7d772605cd60cf60c7f7d8cffe52bf (patch)
tree8ab5e3d9871bad48f24ecd5e175254327eae46a5
parenta40147abcecb87507c8b9f1007f3b53b324a660d (diff)
downloadCMake-a83ef917af7d772605cd60cf60c7f7d8cffe52bf.zip
CMake-a83ef917af7d772605cd60cf60c7f7d8cffe52bf.tar.gz
CMake-a83ef917af7d772605cd60cf60c7f7d8cffe52bf.tar.bz2
STYLE: Move VisualAge id macro to correct block.
-rw-r--r--Modules/CMakeFortranCompilerId.F904
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]'