Bug 752008 - Remove the dependency on MSVC for building ANGLE; r=ted
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 07 May 2012 16:21:30 -0400
changeset 97463 44e88a715dccfe56078b4d141633b4b7e707dcb8
parent 97462 7b11e6c758c80cb0537281021ff046bba30ec986
child 97464 9399d5faf9eee3a4289a035888a2a108342b2c3d
push idunknown
push userunknown
push dateunknown
reviewersted
bugs752008
milestone15.0a1
Bug 752008 - Remove the dependency on MSVC for building ANGLE; r=ted
configure.in
--- a/configure.in
+++ b/configure.in
@@ -5984,20 +5984,16 @@ esac
 
 if test -n "$MOZ_ANGLE"; then
 MOZ_ARG_DISABLE_BOOL(angle,
 [  --disable-angle     Disable building of ANGLE for WebGL->D3D translation],
     MOZ_ANGLE=,
     MOZ_ANGLE=1)
 
 if test -n "$MOZ_ANGLE"; then
-  if test -z "$_WIN32_MSVC"; then
-    AC_MSG_ERROR([Building ANGLE requires MSVC.  To build without ANGLE, reconfigure with --disable-angle.])
-  fi
-
   # Get the SDK path from the registry.
   # First try to get the June 2010 SDK
   MOZ_DIRECTX_SDK_REG_KEY=`reg query 'HKLM\Software\Microsoft\DirectX' //s | grep 'Microsoft DirectX SDK (June 2010)' | head -n 1`
   if test -z "$MOZ_DIRECTX_SDK_REG_KEY" ; then
     # Otherwise just take whatever comes first
     MOZ_DIRECTX_SDK_REG_KEY=`reg query 'HKLM\Software\Microsoft\DirectX' //s | grep 'Microsoft DirectX SDK' | head -n 1`
   fi