Bug 1254967 - Actually test if dia2.h exists instead of assuming the existence. r=poiru

This commit is contained in:
Masatoshi Kimura 2016-03-11 07:25:33 +09:00
parent 857d45278a
commit 3210c8f233

View File

@ -475,8 +475,10 @@ case "$target" in
MSVC_C_RUNTIME_DLL=vcruntime140.dll
MSVC_CXX_RUNTIME_DLL=msvcp140.dll
MSVC_HAS_DIA_SDK=1
AC_DEFINE(MSVC_HAS_DIA_SDK)
MOZ_CHECK_HEADER(dia2.h, MSVC_HAS_DIA_SDK=1)
if test -n "$MSVC_HAS_DIA_SDK"; then
AC_DEFINE(MSVC_HAS_DIA_SDK)
fi
# -Wv:18 disables all warnings introduced after VS2013
# See http://blogs.msdn.com/b/vcblog/archive/2014/11/12/improvements-to-warnings-in-the-c-compiler.aspx