1 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 // Copyright (C) DIGITEO - 200X-2010 - Allan CORNET
4 // This file must be used under the terms of the CeCILL.
5 // This source file is licensed as described in the file COPYING, which
6 // you should have received as part of this distribution. The terms
7 // are also available at
8 // http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
10 //=============================================================================
11 function ifortCompiler = findmsifortcompiler()
13 ifortCompiler = "unknown"; // unknown
15 if getos() == "Windows" then
16 if getenv("IFORT_COMPILER14","NOK") <> "NOK" then
17 ifortCompiler = "ifort14";
21 if getenv("IFORT_COMPILER13","NOK") <> "NOK" then
22 ifortCompiler = "ifort13";
26 if getenv("IFORT_COMPILER12","NOK") <> "NOK" then
27 ifortCompiler = "ifort12";
31 if getenv("IFORT_COMPILER11","NOK") <> "NOK" then
32 ifortCompiler = "ifort11";
36 if getenv("IFORT_COMPILER10","NOK") <> "NOK" then
37 ifortCompiler = "ifort10";
41 if getenv("IFORT_COMPILER9","NOK") <> "NOK" then
42 ifortCompiler = "ifort9";
46 ifortCompiler = "unknown"; // unknown
49 //=============================================================================