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

New commits:
commit bb79f1ef25887190f63abbbe24bc9900807f7613
Author: Norbert Thiebaud <nthieb...@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 <c...@libreoffice.org>
    Reviewed-by: Norbert Thiebaud <nthieb...@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)
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to