# HG changeset patch # User jvernee # Date 1570802253 25200 # Node ID 5a4b4544b810c18dd796d2f3853055031fd0af1a # Parent 06bd38a9bc5ae954774cd9f86247c203afd2900c 8232167: Visual Studio install found through --with-tools-dir value is discarded Reviewed-by: erikj, ihse diff -r 06bd38a9bc5a -r 5a4b4544b810 make/autoconf/toolchain_windows.m4 --- a/make/autoconf/toolchain_windows.m4 Fri Oct 11 06:31:52 2019 -0700 +++ b/make/autoconf/toolchain_windows.m4 Fri Oct 11 06:57:33 2019 -0700 @@ -209,6 +209,8 @@ eval SDK_INSTALL_DIR="\${VS_SDK_INSTALLDIR_${VS_VERSION}}" eval VS_ENV_ARGS="\${VS_ENV_ARGS_${VS_VERSION}}" eval VS_TOOLSET_SUPPORTED="\${VS_TOOLSET_SUPPORTED_${VS_VERSION}}" + + VS_ENV_CMD="" # When using --with-tools-dir, assume it points to the correct and default # version of Visual Studio or that --with-toolchain-version was also set. @@ -227,8 +229,6 @@ fi fi - VS_ENV_CMD="" - if test "x$VS_COMNTOOLS" != x; then TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}], [$VS_COMNTOOLS/../..], [$VS_COMNTOOLS_VAR variable])