From de325f0e3420718e25a5d8e2b24898b45ef534f3 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Tue, 2 Feb 2016 11:05:43 +1100 Subject: [PATCH] Bug 1244092 - Require Update 1 to build if using Visual C++ 2015. r=gps --HG-- extra : source : 68ec9f57ff3e71075e6a6cd73dca9ce513642c93 --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 8e9fb5feedb4..f5dd5ac5d0e2 100644 --- a/configure.in +++ b/configure.in @@ -530,7 +530,7 @@ case "$target" in MSVS_VERSION=2013 MSVC_C_RUNTIME_DLL=msvcr120.dll MSVC_CXX_RUNTIME_DLL=msvcp120.dll - elif test "$_CC_MAJOR_VERSION" = "19"; then + elif test "$_CC_MAJOR_VERSION" = "19" -a "$_CC_BUILD_VERSION" -ge "23506"; then _CC_SUITE=14 MSVS_VERSION=2015 MSVC_C_RUNTIME_DLL=vcruntime140.dll @@ -557,7 +557,7 @@ case "$target" in CXXFLAGS="$CXXFLAGS -wd4091" else AC_MSG_ERROR([This version (${_CC_MAJOR_VERSION}.${_CC_MINOR_VERSION}.${_CC_BUILD_VERSION}) of the MSVC compiler is unsupported. -You must install Visual C++ 2013 Update 3 or newer in order to build. +You must install Visual C++ 2013 Update 3, Visual C++ 2015 Update 1, or newer in order to build. See https://developer.mozilla.org/en/Windows_Build_Prerequisites.]) fi AC_SUBST(MSVS_VERSION)