summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAurimas FiĊĦeras <aurimas@members.fsf.org>2022-12-08 23:34:29 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2022-12-20 15:23:20 +0000
commita207cbfb0606f9c487c10fedbfe0a4b3e6fd2933 (patch)
tree6be215aba442f379f122f3923c9c5fb4a365f09b /configure.ac
parent102b338d4d97b1f07c75c76d56027d976a0ca28d (diff)
Rename function to match what it does and remove obsolete comment
Change-Id: I6807dddc6dbe54ec582d839e5eebd2a6375bfe6d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143841 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 3 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index e0728bde7a89..65eb0373a285 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3997,11 +3997,9 @@ vs_versions_to_check()
fi
}
-win_get_env_from_vsvars32bat()
+win_get_env_from_vsdevcmdbat()
{
local WRAPPERBATCHFILEPATH="`mktemp -t wrpXXXXXX.bat`"
- # Also seems to be located in another directory under the same name: vsvars32.bat
- # https://github.com/bazelbuild/bazel/blob/master/src/main/native/build_windows_jni.sh#L56-L57
printf '@call "%s/../Common7/Tools/VsDevCmd.bat" /no_logo\r\n' "$(cygpath -w $VC_PRODUCT_DIR)" > $WRAPPERBATCHFILEPATH
# use 'echo.%ENV%' syntax (instead of 'echo %ENV%') to avoid outputting "ECHO is off." in case when ENV is empty or a space
printf '@setlocal\r\n@echo.%%%s%%\r\n@endlocal\r\n' "$1" >> $WRAPPERBATCHFILEPATH
@@ -4033,9 +4031,9 @@ find_ucrt()
ide_env_dir="$VC_PRODUCT_DIR/../Common7/Tools/"
ide_env_file="${ide_env_dir}VsDevCmd.bat"
if test -f "$ide_env_file"; then
- PathFormat "$(win_get_env_from_vsvars32bat UniversalCRTSdkDir)"
+ PathFormat "$(win_get_env_from_vsdevcmdbat UniversalCRTSdkDir)"
UCRTSDKDIR=$formatted_path
- UCRTVERSION=$(win_get_env_from_vsvars32bat UCRTVersion)
+ UCRTVERSION=$(win_get_env_from_vsdevcmdbat UCRTVersion)
dnl Hack needed at least by tml:
if test "$UCRTVERSION" = 10.0.15063.0 \
-a ! -f "${UCRTSDKDIR}Include/10.0.15063.0/um/sqlext.h" \