// "Master" config file; think of it as a configure.in
// equivalent.
-ARG_WITH("toolset", "Toolset to use for the compilation, supported: vs, clang, intel", "vs");
+ARG_WITH("toolset", "Toolset to use for the compilation, supported: vs, clang, icc", "vs");
toolset_option_handle();
ARG_WITH('cygwin', 'Path to cygwin utilities on your system', '\\cygwin');
if (VS_TOOLSET && VCVERS <= 1300) {
ADD_SOURCES("win32", "strtoi64.c");
}
-if (VS_TOOLSET && VCVERS >= 1400 || INTEL_TOOLSET) {
+if (VS_TOOLSET && VCVERS >= 1400 || ICC_TOOLSET) {
AC_DEFINE('HAVE_STRNLEN', 1);
}
// "Master" config file; think of it as a configure.in\r
// equivalent.\r
\r
-ARG_WITH("toolset", "Toolset to use for the compilation, supported: vs, clang, intel", "vs");\r
+ARG_WITH("toolset", "Toolset to use for the compilation, supported: vs, clang, icc", "vs");\r
toolset_option_handle()\r
\r
var PHP_CYGWIN="notset";\r
AC_DEFINE('ZEND_DVAL_TO_LVAL_CAST_OK', 1);\r
}\r
\r
-if (INTEL_TOOLSET || VS_TOOLSET && VCVERS >= 1400) {\r
+if (ICC_TOOLSET || VS_TOOLSET && VCVERS >= 1400) {\r
AC_DEFINE('HAVE_STRNLEN', 1);\r
}\r
\r
var VS_TOOLSET = true;
var CLANG_TOOLSET = false;
-var INTEL_TOOLSET = false;
+var ICC_TOOLSET = false;
var VCVERS = -1;
var CLANGVERS = -1;
var INTELVERS = -1;
if ("clang" == PHP_TOOLSET) {
VS_TOOLSET = false;
CLANG_TOOLSET = true;
- INTEL_TOOLSET = false;
- } else if ("intel" == PHP_TOOLSET) {
+ ICC_TOOLSET = false;
+ } else if ("icc" == PHP_TOOLSET) {
VS_TOOLSET = false;
CLANG_TOOLSET = false;
- INTEL_TOOLSET = true;
+ ICC_TOOLSET = true;
} else {
/* Visual Studio is the default toolset. */
PHP_TOOLSET = "no" == PHP_TOOLSET ? "vs" : PHP_TOOLSET;
if (!!PHP_TOOLSET && "vs" != PHP_TOOLSET) {
- ERROR("Unsupported toolset name '" + PHP_TOOLSET + "'");
+ ERROR("Unsupported toolset '" + PHP_TOOLSET + "'");
}
VS_TOOLSET = true;
CLANG_TOOLSET = false;
- INTEL_TOOLSET = false;
+ ICC_TOOLSET = false;
}
}
DEFINE("PHP_COMPILER_SHORT", "clang");
AC_DEFINE('PHP_COMPILER_ID', "clang"); /* XXX something better were to write here */
- } else if (INTEL_TOOLSET) {
+ } else if (ICC_TOOLSET) {
INTELVERS = COMPILER_NUMERIC_VERSION;
AC_DEFINE('COMPILER', COMPILER_NAME, "Detected compiler version");
return PATH_PROG('cl', null, 'PHP_CL')
} else if (CLANG_TOOLSET) {
return PATH_PROG('clang-cl', null, 'PHP_CL')
- } else if (INTEL_TOOLSET) {
+ } else if (ICC_TOOLSET) {
return PATH_PROG('icl', null, 'PHP_CL')
}
return version;
}
- } else if (INTEL_TOOLSET) {
+ } else if (ICC_TOOLSET) {
var command = 'cmd /c ""' + PHP_CL + '" -v"';
var full = execute(command + '" 2>&1"');
if (VS_TOOLSET) {
version = probe_binary(PHP_CL).substr(0, 5).replace('.', '');
return VC_VERSIONS[version];
- } else if (CLANG_TOOLSET || INTEL_TOOLSET) {
+ } else if (CLANG_TOOLSET || ICC_TOOLSET) {
var command = 'cmd /c ""' + PHP_CL + '" -v"';
var full = execute(command + '" 2>&1"');
clang-cl doesn't recognize the arch toolset. But as it needs
the VS environment, checking the arch of cl.exe is correct. */
return probe_binary(PATH_PROG('cl', null), 64);
- } else if (INTEL_TOOLSET) {
+ } else if (ICC_TOOLSET) {
var command = 'cmd /c ""' + PHP_CL + '" -v"';
var full = execute(command + '" 2>&1"');
} else if (CLANG_TOOLSET) {
//return PATH_PROG('lld', WshShell.Environment("Process").Item("PATH"), "LINK");
return PATH_PROG('link', WshShell.Environment("Process").Item("PATH"));
- } else if (INTEL_TOOLSET) {
+ } else if (ICC_TOOLSET) {
return PATH_PROG('xilink', WshShell.Environment("Process").Item("PATH"), "LINK");
}