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

Norbert Thiebaud nthiebaud at gmail.com
Wed Jan 14 22:21:55 PST 2015


 configure.ac |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit bb79f1ef25887190f63abbbe24bc9900807f7613
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Wed Jan 14 21:04:09 2015 -0600

    enable-werror for LODE build
    
    Change-Id: I4bcdeca96e59e2bc3a2a96f546d060504f020bc7
    Reviewed-on: https://gerrit.libreoffice.org/13917
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>

diff --git a/configure.ac b/configure.ac
index d4029a5..ac3dc4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4538,7 +4538,12 @@ if test -n "$enable_werror" -a "$enable_werror" != "no"; then
     ENABLE_WERROR="TRUE"
     AC_MSG_RESULT([yes])
 else
-    AC_MSG_RESULT([no])
+    if test -n "$LODE_HOME"; then
+        ENABLE_WERROR="TRUE"
+        AC_MSG_RESULT([yes])
+    else
+        AC_MSG_RESULT([no])
+    fi
 fi
 AC_SUBST(ENABLE_WERROR)
 


More information about the Libreoffice-commits mailing list