[Libreoffice-commits] core.git: config_host.mk.in configure.ac external/Module_external.mk external/Package_msvc_dlls_debug.mk

Michael Stahl mstahl at redhat.com
Fri Jun 28 02:35:32 PDT 2013


 config_host.mk.in                   |    2 --
 configure.ac                        |   17 -----------------
 external/Module_external.mk         |    1 -
 external/Package_msvc_dlls_debug.mk |   16 ----------------
 4 files changed, 36 deletions(-)

New commits:
commit 7f4a622f9fbf27774efa908348e682df7280713b
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Jun 21 00:06:27 2013 +0200

    stop copying MSVC debug runtime DLLs
    
    This is apparently not necessary with MSVC 2012; builds and all tests
    run here without those DLLs in the solver.
    
    Change-Id: If352fb3702d7dae57deb19959eab8eb0fedea318
    Reviewed-on: https://gerrit.libreoffice.org/4414
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/config_host.mk.in b/config_host.mk.in
index c0f4e6b..f3470f3 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -347,8 +347,6 @@ export MSPUB_CFLAGS=$(gb_SPACE)@MSPUB_CFLAGS@
 export MSPUB_LIBS=$(gb_SPACE)@MSPUB_LIBS@
 export MSVC_DLLS=@MSVC_DLLS@
 export MSVC_DLL_PATH=@MSVC_DLL_PATH@
-export MSVC_DEBUG_DLLS=@MSVC_DEBUG_DLLS@
-export MSVC_DEBUG_DLL_PATH=@MSVC_DEBUG_DLL_PATH@
 export MSVC_USE_DEBUG_RUNTIME=@MSVC_USE_DEBUG_RUNTIME@
 export MSVC80_DLLS=@MSVC80_DLLS@
 export MSVC80_DLL_PATH=@MSVC80_DLL_PATH@
diff --git a/configure.ac b/configure.ac
index 42d1569..e193a8a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4909,28 +4909,13 @@ AC_MSG_NOTICE([checking msms ===================================================
 
 find_msvc_x64_dlls()
 {
-    if test "$CPUNAME" = "INTEL"; then
-        vsarch=x86
-    else
-        vsarch=x64
-    fi
-
     msvcdllpath="$VC_PRODUCT_DIR/redist/x64/Microsoft.VC${VCVER}.CRT"
-    MSVC_DEBUG_DLL_PATH="$VC_PRODUCT_DIR/redist/Debug_NonRedist/$vsarch/Microsoft.VC${VCVER}.DebugCRT"
     msvcdlls="msvcp${VCVER}.dll msvcr${VCVER}.dll"
-    MSVC_DEBUG_DLLS="msvcp${VCVER}d.dll msvcr${VCVER}d.dll"
     for dll in $msvcdlls; do
         if ! test -f "$msvcdllpath/$dll"; then
             AC_MSG_ERROR([can not find $dll in $msvcdllpath])
         fi
     done
-    if test -n "$MSVC_USE_DEBUG_RUNTIME"; then
-        for dll in $MSVC_DEBUG_DLLS; do
-            if ! test -f "$MSVC_DEBUG_DLL_PATH/$dll"; then
-                AC_MSG_ERROR([can not find $dll in $MSVC_DEBUG_DLL_PATH])
-            fi
-        done
-    fi
 }
 
 if test "$build_os" = "cygwin"; then
@@ -6243,8 +6228,6 @@ fi
 
 AC_SUBST(MSVC_DLL_PATH)
 AC_SUBST(MSVC_DLLS)
-AC_SUBST(MSVC_DEBUG_DLL_PATH)
-AC_SUBST(MSVC_DEBUG_DLLS)
 AC_SUBST(MSM_PATH)
 AC_SUBST(MERGE_MODULES)
 
diff --git a/external/Module_external.mk b/external/Module_external.mk
index 8cda13e..907b23b 100644
--- a/external/Module_external.mk
+++ b/external/Module_external.mk
@@ -26,7 +26,6 @@ $(eval $(call gb_Module_add_targets,external,\
 	Package_dbghelp \
 	$(if $(MSM_PATH),Package_msms) \
 	Package_msvc_dlls \
-	$(if $(MSVC_USE_DEBUG_RUNTIME),Package_msvc_dlls_debug) \
 	$(if $(filter YES,$(WITH_MOZAB4WIN)),Package_msvc80_dlls) \
 ))
 endif
diff --git a/external/Package_msvc_dlls_debug.mk b/external/Package_msvc_dlls_debug.mk
deleted file mode 100644
index 3e84764..0000000
--- a/external/Package_msvc_dlls_debug.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-
-$(eval $(call gb_Package_Package,msvc_dlls,$(MSVC_DEBUG_DLL_PATH)))
-
-$(eval $(call gb_Package_add_files,msvc_dlls,bin,\
-	$(MSVC_DEBUG_DLLS) \
-))
-
-# vim:set shiftwidth=4 tabstop=4 noexpandtab:


More information about the Libreoffice-commits mailing list