|
|
| version 1.1, 2012/02/21 23:48:06 | version 1.1.1.2, 2012/05/29 12:34:34 |
|---|---|
| Line 18 if (!PHP_CL) { | Line 18 if (!PHP_CL) { |
| // Which version of the compiler do we have? | // Which version of the compiler do we have? |
| VCVERS = probe_binary(PHP_CL).substr(0, 5).replace('.', ''); | VCVERS = probe_binary(PHP_CL).substr(0, 5).replace('.', ''); |
| STDOUT.WriteLine(" Detected compiler " + VC_VERSIONS[VCVERS]); | STDOUT.WriteLine(" Detected compiler " + VC_VERSIONS[VCVERS]); |
| if (VCVERS < 1500) { | |
| ERROR("Unsupported MS C++ Compiler, VC9 (2008) minimum is required"); | |
| } | |
| AC_DEFINE('COMPILER', VC_VERSIONS[VCVERS], "Detected compiler version"); | AC_DEFINE('COMPILER', VC_VERSIONS[VCVERS], "Detected compiler version"); |
| DEFINE("PHP_COMPILER_SHORT", VC_VERSIONS_SHORT[VCVERS]); | DEFINE("PHP_COMPILER_SHORT", VC_VERSIONS_SHORT[VCVERS]); |
| AC_DEFINE('PHP_COMPILER_ID', VC_VERSIONS_SHORT[VCVERS], "Compiler compatibility ID"); | AC_DEFINE('PHP_COMPILER_ID', VC_VERSIONS_SHORT[VCVERS], "Compiler compatibility ID"); |