diff options
author | Michael Stahl <mstahl@redhat.com> | 2018-01-19 20:47:03 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2018-01-19 21:53:07 +0100 |
commit | 2a055c05381824644cc9c71615578dbb9c6976e3 (patch) | |
tree | f37a962cdbb9b0371e9d7aabafb95588a0fbef14 /configure.ac | |
parent | c799f159c541fe4835eb02c2e518b54a55d392bb (diff) |
scp2: also try VC141_CRT_*.msm
Apparently the MSMs have been renamed in Visual Studio 2017.3 but only
configure was adapted, not scp2.
Not sure if these MSMs are still relevant given the new
gid_File_Vcredist_Exe thing.
Change-Id: I4fe27c8298b3a2024acc62d12ce8ea67e2eca80d
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 72774d715efd..e60822d9df26 100644 --- a/configure.ac +++ b/configure.ac @@ -6535,7 +6535,12 @@ if test $_os = "WINNT"; then MSVC_DLL_PATH="$msvcdllpath" MSVC_DLLS="$msvcdlls" MSM_PATH="$msmdir" - SCPDEFS="$SCPDEFS -DWITH_VC${VCVER}_REDIST" + # MSVC 15.3 changed it to VC141 + if echo "$MSVC_DLL_PATH" | grep -q "VC141.CRT$"; then + SCPDEFS="$SCPDEFS -DWITH_VC141_REDIST" + else + SCPDEFS="$SCPDEFS -DWITH_VC${VCVER}_REDIST" + fi if test "$VCREDIST_DIR" = "no"; then dnl explicitly disabled VCREDIST_DIR="" |