mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug 622158 - Fix DirectX SDK platform detection - r=vlad, a=joe
This commit is contained in:
parent
e8afa2d979
commit
3493c93f5e
@ -6347,10 +6347,10 @@ if test -n "$MOZ_ANGLE"; then
|
||||
if test -z "$MOZ_ANGLE"; then
|
||||
# Try again, but try to get the SDK path from the registry. We're going to hardcode
|
||||
# the February 2010 SDK, since that's the one that's installed on the tinderboxen.
|
||||
MOZ_DIRECTX_SDK_PATH=`reg query 'HKLM\Software\Microsoft\DirectX\Microsoft DirectX SDK (February 2010)' //v InstallPath | grep REG_SZ | sed 's, *, ,g' | cut -d' ' -f4`
|
||||
MOZ_DIRECTX_SDK_PATH=`reg query 'HKLM\Software\Microsoft\DirectX\Microsoft DirectX SDK (February 2010)' //v InstallPath | grep REG_SZ | sed 's, *, ,g' | cut -d' ' -f4-`
|
||||
if test -n "$MOZ_DIRECTX_SDK_PATH" ; then
|
||||
if test -f "$MOZ_DIRECTX_SDK_PATH"/include/d3dx9.h && test -f "$MOZ_DIRECTX_SDK_PATH"/lib/x86/dxguid.lib ; then
|
||||
AC_MSG_WARN([Found DirectX SDK in registry, using $MOZ_DIRECTX_SDK])
|
||||
AC_MSG_WARN([Found DirectX SDK in registry, using $MOZ_DIRECTX_SDK_PATH])
|
||||
MOZ_ANGLE=1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user