[Libreoffice-commits] .: configure.in

Tor Lillqvist tml at kemper.freedesktop.org
Mon Oct 24 04:45:33 PDT 2011


 configure.in |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit 89ae66dac25b8ee12bde52d05395e3a54842d4f7
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Mon Oct 24 14:42:11 2011 +0300

    I give up on --enable-dbgutil with MSVC

diff --git a/configure.in b/configure.in
index c94ad6d..9ed2979 100644
--- a/configure.in
+++ b/configure.in
@@ -2306,6 +2306,16 @@ AC_MSG_CHECKING([whether to build with additional debug utilities])
 if test -n "$enable_dbgutil" && test "$enable_dbgutil" != "no"; then
     PROEXT=""
     PRODUCT=""
+
+    # Compiling with MSVC using --enable-dbgutil (i.e. using the
+    # debugging runtime, and defining _DEBUG when compiling) just
+    # causes too many compilation errors. After having spent some
+    # months slowly fixing them one by one, having reached sw, I give
+    # up. Feel free to try again.
+    if test $_os = WINNT; then
+        AC_MSG_ERROR([Sorry, --enable-dgutil won't work with MSVC])
+    fi
+
     AC_MSG_RESULT([yes])
     # cppunit and graphite expose STL in public headers
     if test "$with_system_cppunit" = "yes"; then


More information about the Libreoffice-commits mailing list