]> granicus.if.org Git - php/commitdiff
rename intel toolset to icc - shorter
authorAnatol Belski <ab@php.net>
Fri, 7 Nov 2014 18:24:17 +0000 (19:24 +0100)
committerAnatol Belski <ab@php.net>
Fri, 7 Nov 2014 18:24:17 +0000 (19:24 +0100)
ext/gd/config.w32
win32/build/config.w32
win32/build/config.w32.phpize.in
win32/build/confutils.js

index b6f45a9c6475cde3ec78707a8e793f80d5383913..da6d0d2ff510ce9f4ffd2bb2551807a7ff24bd3a 100644 (file)
@@ -83,7 +83,7 @@ if (PHP_GD != "no") {
 /D USE_GD_IOCTX \
 /D MSWIN32 \
                ");
-               if (INTEL_TOOLSET) {
+               if (ICC_TOOLSET) {
                        ADD_FLAG("LDFLAGS_GD", "/nodefaultlib:libcmt");
                }
                
index ebe80111488d6ed8c0439065cafd28c7bc3bb035..2a1dd0a7c17ecbc5b01c3ae05caf8a981d30270e 100644 (file)
@@ -3,7 +3,7 @@
 // "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');
@@ -281,7 +281,7 @@ ADD_SOURCES("win32", "inet.c fnmatch.c sockets.c");
 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);
 }
 
index c3263ba5e9005b94d765bcc77eac409f347ef4f0..0ced9b30a0bf462a1c66f28ec2b1223f9c396584 100644 (file)
@@ -3,7 +3,7 @@
 // "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
@@ -244,7 +244,7 @@ if (VS_TOOLSET && VCVERS == 1200) {
        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
index 0892c0068e612ef9d2bc850e14e7da9eca686f48..9d23c83a24cf161190cae3810f8b706eb2b316fa 100644 (file)
@@ -32,7 +32,7 @@ var PHP_SRC_DIR=FSO.GetParentFolderName(WScript.ScriptFullName);
 
 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;
@@ -2303,20 +2303,20 @@ function toolset_option_handle()
        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;
        }
 }
 
@@ -2355,7 +2355,7 @@ function toolset_setup_compiler()
                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");
@@ -2415,7 +2415,7 @@ function toolset_get_compiler()
                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')
        }
 
@@ -2441,7 +2441,7 @@ function toolset_get_compiler_version()
 
                        return version;
                }
-       } else if (INTEL_TOOLSET) {
+       } else if (ICC_TOOLSET) {
                var command = 'cmd /c ""' + PHP_CL + '" -v"';
                var full = execute(command + '" 2>&1"');
 
@@ -2464,7 +2464,7 @@ function toolset_get_compiler_name()
        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"');
 
@@ -2489,7 +2489,7 @@ function toolset_is_64()
                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"');
 
@@ -2507,7 +2507,7 @@ function toolset_setup_linker()
        } 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");
        }