[cmake-commits] king committed CMakeFortranCompilerId.F90 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 10 11:58:09 EST 2008


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv23032

Modified Files:
	CMakeFortranCompilerId.F90 
Log Message:
STYLE: Move VisualAge id macro to correct block.


Index: CMakeFortranCompilerId.F90
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeFortranCompilerId.F90,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CMakeFortranCompilerId.F90	10 Jan 2008 15:50:46 -0000	1.3
+++ CMakeFortranCompilerId.F90	10 Jan 2008 16:58:07 -0000	1.4
@@ -6,12 +6,14 @@
    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]'



More information about the Cmake-commits mailing list