[Libreoffice-commits] core.git: configure.ac

Caolán McNamara caolanm at redhat.com
Wed Oct 1 03:34:40 PDT 2014


 configure.ac |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

New commits:
commit a6b2c618cb02168bba950652367f494a1021cf53
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Oct 1 11:32:59 2014 +0100

    disable cve tests by default on windows
    
    what we really want to do here is to disable if there is a virus
    checker active that will cause us grief
    
    Change-Id: Ic1162c9e1cf7a8ee09ca1dbf03b5be02dd20b981

diff --git a/configure.ac b/configure.ac
index d58df76..4c6aec9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9128,6 +9128,20 @@ dnl ===================================================================
 dnl Check for disabling cve_tests
 dnl ===================================================================
 AC_MSG_CHECKING([whether to execute CVE tests])
+# If not explicitly enabled or disabled, default
+if test -z "$enable_cve_tests"; then
+    case "$OS" in
+    WNT)
+        # Default cves off for windows with its wild and wonderful
+        # varienty of AV software kicking in and panicing
+        enable_cve_tests=no
+        ;;
+    *)
+        # otherwise yes
+        enable_cve_tests=yes
+        ;;
+    esac
+fi
 if test "$enable_cve_tests" = "no"; then
     AC_MSG_RESULT([no])
     DISABLE_CVE_TESTS=TRUE


More information about the Libreoffice-commits mailing list