Kaydet (Commit) 8e784b59 authored tarafından Mathias Michel's avatar Mathias Michel Kaydeden (comit) Andras Timar

Build: fix non-existent merge modules for MS Visual Studio Express versions

Change-Id: Id19f3fde0803e9242ca1e7279fd814262c74f6ef
Reviewed-on: https://gerrit.libreoffice.org/4182Reviewed-by: 's avatarAndras Timar <atimar@suse.com>
Tested-by: 's avatarAndras Timar <atimar@suse.com>
üst ed30996f
...@@ -4831,6 +4831,7 @@ find_winsdk() ...@@ -4831,6 +4831,7 @@ find_winsdk()
find_msms() find_msms()
{ {
AC_MSG_NOTICE([checking msms ======================================================])
for ver in 10.0 11.0; do for ver in 10.0 11.0; do
reg_get_value HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/$ver/Setup/VS/MSMDir reg_get_value HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/$ver/Setup/VS/MSMDir
if test -n "$regvalue"; then if test -n "$regvalue"; then
...@@ -4847,10 +4848,15 @@ find_msms() ...@@ -4847,10 +4848,15 @@ find_msms()
msmdir=`cygpath -d "$msmdir"` msmdir=`cygpath -d "$msmdir"`
msmdir=`cygpath -u "$msmdir"` msmdir=`cygpath -u "$msmdir"`
if test -z "$msmdir"; then if test -z "$msmdir"; then
AC_MSG_ERROR([Merge modules not found]) if test "$ENABLE_RELEASE_BUILD" = "FALSE" ; then
AC_MSG_WARN([Merge modules not found in $msmdir])
msmdir=""
else
AC_MSG_ERROR([Merge modules not found in $msmdir])
fi fi
else
msms="Microsoft_VC${VCVER}_CRT_x86.msm" msms="Microsoft_VC${VCVER}_CRT_x86.msm"
fi
} }
find_msvc_x64_dlls() find_msvc_x64_dlls()
...@@ -6052,6 +6058,7 @@ if test $_os = "WINNT" -a "$WITH_MINGW" != yes; then ...@@ -6052,6 +6058,7 @@ if test $_os = "WINNT" -a "$WITH_MINGW" != yes; then
MERGE_MODULES="$msms" MERGE_MODULES="$msms"
SCPDEFS="$SCPDEFS -DWITH_VC${VCVER}_REDIST" SCPDEFS="$SCPDEFS -DWITH_VC${VCVER}_REDIST"
fi fi
AC_SUBST(MSVC_DLL_PATH) AC_SUBST(MSVC_DLL_PATH)
AC_SUBST(MSVC_DLLS) AC_SUBST(MSVC_DLLS)
AC_SUBST(MSVC_DEBUG_DLL_PATH) AC_SUBST(MSVC_DEBUG_DLL_PATH)
......
...@@ -24,7 +24,7 @@ endif ...@@ -24,7 +24,7 @@ endif
ifeq ($(COM),MSC) ifeq ($(COM),MSC)
$(eval $(call gb_Module_add_targets,external,\ $(eval $(call gb_Module_add_targets,external,\
Package_dbghelp \ Package_dbghelp \
Package_msms \ $(if $(MSM_PATH),Package_msms) \
Package_msvc_dlls \ Package_msvc_dlls \
$(if $(MSVC_USE_DEBUG_RUNTIME),Package_msvc_dlls_debug) \ $(if $(MSVC_USE_DEBUG_RUNTIME),Package_msvc_dlls_debug) \
$(if $(filter YES,$(WITH_MOZAB4WIN)),Package_msvc80_dlls) \ $(if $(filter YES,$(WITH_MOZAB4WIN)),Package_msvc80_dlls) \
......
...@@ -21,7 +21,7 @@ $(eval $(call gb_InstallModule_add_defs,scp2/windows,\ ...@@ -21,7 +21,7 @@ $(eval $(call gb_InstallModule_add_defs,scp2/windows,\
$(eval $(call gb_InstallModule_add_scpfiles,scp2/windows,\ $(eval $(call gb_InstallModule_add_scpfiles,scp2/windows,\
scp2/source/ooo/folder_ooo \ scp2/source/ooo/folder_ooo \
scp2/source/ooo/vc_redist \ $(if $(MSM_PATH),scp2/source/ooo/vc_redist) \
scp2/source/ooo/windowscustomaction_ooo \ scp2/source/ooo/windowscustomaction_ooo \
)) ))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment