Do not add empty path to SOLARINC on windows

Change-Id: I6c53e999b9921dff4338815a48b8c97b4fe25059
This commit is contained in:
Peter Foley
2013-03-06 13:07:05 -05:00
parent e8e068770e
commit e9c6338f1b

View File

@@ -8876,9 +8876,11 @@ if test -n "$ENABLE_DIRECTX" -a "$_os" = "WINNT"; then
else
AC_MSG_RESULT([no, hoping the necessary headers and libraries will be found anyway])
fi
PathFormat "$DIRECTXSDK_HOME"
DIRECTXSDK_HOME="$formatted_path"
SOLARINC="$SOLARINC -I$DIRECTXSDK_HOME/include"
if test -n "$DIRECTXSDK_HOME"; then
PathFormat "$DIRECTXSDK_HOME"
DIRECTXSDK_HOME="$formatted_path"
SOLARINC="$SOLARINC -I$DIRECTXSDK_HOME/include"
fi
fi
AC_SUBST(DIRECTXSDK_HOME)
AC_SUBST(DIRECTXSDK_LIB)