Bug 707021. (Bv1) Remove obsolete "-MANIFESTUAC:NO" workaround, Add support for MSVC 2011 compiler. r=mbanner.
authorSerge Gautherie <sgautherie.bz@free.fr>
Fri, 02 Dec 2011 16:48:42 +0100
changeset 9943 62f30caedd94bd4c2aa82e0328a3b058ccbfd323
parent 9942 478cd65b1e96fcba47d21077324a1ea03fb5c61a
child 9944 24a39254d6a8000e571a5cec0a45bec9c66c968d
push idunknown
push userunknown
push dateunknown
reviewersmbanner
bugs707021
Bug 707021. (Bv1) Remove obsolete "-MANIFESTUAC:NO" workaround, Add support for MSVC 2011 compiler. r=mbanner.
configure.in
--- a/configure.in
+++ b/configure.in
@@ -572,22 +572,24 @@ case "$target" in
               AC_MSG_ERROR([This version ($CC_VERSION) of the MSVC compiler is unsupported. You probably need to install Service Pack 1 of Visual Studio 2005. See https://developer.mozilla.org/en/Windows_Build_Prerequisites.])
             fi
 
             _CC_SUITE=8
             AC_DEFINE(_CRT_SECURE_NO_DEPRECATE)
             AC_DEFINE(_CRT_NONSTDC_NO_DEPRECATE)
         elif test "$_CC_MAJOR_VERSION" = "15"; then
             _CC_SUITE=9
-            LDFLAGS="$LDFLAGS -MANIFESTUAC:NO"
             AC_DEFINE(_CRT_SECURE_NO_WARNINGS)
             AC_DEFINE(_CRT_NONSTDC_NO_WARNINGS)
         elif test "$_CC_MAJOR_VERSION" = "16"; then
             _CC_SUITE=10
-            LDFLAGS="$LDFLAGS -MANIFESTUAC:NO"
+            AC_DEFINE(_CRT_SECURE_NO_WARNINGS)
+            AC_DEFINE(_CRT_NONSTDC_NO_WARNINGS)
+        elif test "$_CC_MAJOR_VERSION" = "17"; then
+            _CC_SUITE=11
             AC_DEFINE(_CRT_SECURE_NO_WARNINGS)
             AC_DEFINE(_CRT_NONSTDC_NO_WARNINGS)
         else
             AC_MSG_ERROR([This version ($CC_VERSION) of the MSVC compiler is unsupported. See https://developer.mozilla.org/en/Windows_Build_Prerequisites.])
         fi
 
         _MOZ_RTTI_FLAGS_ON='-GR'
         _MOZ_RTTI_FLAGS_OFF='-GR-'