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

coypu coypu at sdf.org
Thu Feb 4 12:47:32 UTC 2016


 configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f85079581551f534c9c3d920d9f434846e7b8948
Author: coypu <coypu at sdf.org>
Date:   Wed Feb 3 15:15:36 2016 +0200

    Avoid using == with test, it is bash-specific.
    
    Change-Id: If44680b8f9fb527dd27a71e193b334d83c12e46a
    Reviewed-on: https://gerrit.libreoffice.org/22078
    Reviewed-by: jan iversen <jani at documentfoundation.org>
    Tested-by: jan iversen <jani at documentfoundation.org>
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/configure.ac b/configure.ac
index 29ef7e5..3175689 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5163,7 +5163,7 @@ if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
     # explicitly. Or put /path/to/compiler in PATH yourself.
 
     # Use wrappers for LTO
-    if test "$ENABLE_LTO" == "TRUE" -a "$COM_IS_CLANG" != "TRUE"; then
+    if test "$ENABLE_LTO" = "TRUE" -a "$COM_IS_CLANG" != "TRUE"; then
         AC_CHECK_TOOL(AR,gcc-ar)
         AC_CHECK_TOOL(NM,gcc-nm)
         AC_CHECK_TOOL(RANLIB,gcc-ranlib)
@@ -6905,7 +6905,7 @@ dnl ===================================================================
 dnl Set target Java bytecode version
 dnl ===================================================================
 if test "$ENABLE_JAVA" != ""; then
-    if test "$HAVE_JAVA9" == "TRUE"; then
+    if test "$HAVE_JAVA9" = "TRUE"; then
         _java_target_ver="1.6"
     else
         _java_target_ver="1.5"


More information about the Libreoffice-commits mailing list