--- embedaddon/php/win32/build/config.w32.phpize.in 2012/02/21 23:48:06 1.1.1.1 +++ embedaddon/php/win32/build/config.w32.phpize.in 2012/05/29 12:34:34 1.1.1.2 @@ -1,5 +1,5 @@ // vim:ft=javascript -// $Id: config.w32.phpize.in,v 1.1.1.1 2012/02/21 23:48:06 misho Exp $ +// $Id: config.w32.phpize.in,v 1.1.1.2 2012/05/29 12:34:34 misho Exp $ // "Master" config file; think of it as a configure.in // equivalent. @@ -18,6 +18,11 @@ if (!PHP_CL) { // Which version of the compiler do we have? VCVERS = probe_binary(PHP_CL).substr(0, 5).replace('.', ''); 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"); DEFINE("PHP_COMPILER_SHORT", VC_VERSIONS_SHORT[VCVERS]); AC_DEFINE('PHP_COMPILER_ID', VC_VERSIONS_SHORT[VCVERS], "Compiler compatibility ID");