Bug 794983 - Remove configure sdk version restrictions for enable-metro builds. r=ehsan
authorJim Mathies <jmathies@mozilla.com>
Wed, 31 Oct 2012 10:08:00 -0500
changeset 119867 b10caa15e65313b8c3067a0fa8a6d323203a046a
parent 119866 f3bb2259ca2749297c781a88d0756cc1bf1d4f42
child 119868 de38abf9266ebddeb5ff5cf99e0f9bdc62aca3ae
push id1997
push userakeybl@mozilla.com
push dateMon, 07 Jan 2013 21:25:26 +0000
treeherdermozilla-beta@4baf45cdcf21 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs794983
milestone19.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 794983 - Remove configure sdk version restrictions for enable-metro builds. r=ehsan
configure.in
--- a/configure.in
+++ b/configure.in
@@ -744,27 +744,16 @@ EOF
     AC_MSG_CHECKING([for Windows SDK being recent enough])
     if $PERL -e "exit(0x$MOZ_WINSDK_TARGETVER > $MOZ_WINSDK_MAXVER)"; then
         AC_MSG_RESULT("yes")
     else
         AC_MSG_RESULT("no")
         AC_MSG_ERROR([You are targeting Windows version 0x$MOZ_WINSDK_TARGETVER, but your SDK only supports up to version $MOZ_WINSDK_MAXVER. Install and use an updated SDK, or target a lower version using --with-windows-version. Alternatively, try running the Windows SDK Configuration Tool and selecting a newer SDK. See https://developer.mozilla.org/En/Windows_SDK_versions for more details on fixing this.])
     fi
     
-    # Make sure the sdk / code we're targeting has the right toolset
-    AC_MSG_CHECKING([SDK and tools are in sync])
-    if test -n "$MOZ_METRO"; then
-      if test "$MOZ_MSVCVERSION" -gt "10"; then
-        AC_MSG_RESULT("yes")
-      else
-        AC_MSG_RESULT("no")
-        AC_MSG_ERROR([Your MOZ_MSVCVERSION equals $MOZ_MSVCVERSION and you've enabled metro build support. You can't target metro without msvc 11 or higher. Disable metro support or switch to a newer set of tools.])
-      fi
-    fi
-      
     AC_DEFINE_UNQUOTED(MOZ_WINSDK_TARGETVER,0x$MOZ_WINSDK_TARGETVER)
     # Definitions matching sdkddkver.h
     AC_DEFINE_UNQUOTED(MOZ_NTDDI_WIN7, 0x06010000)
     ;;
 esac
 
 AC_PROG_CPP
 AC_PROG_CXXCPP