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

New commits:
commit f194fc58594ce7ddb4e3152b59800220070a0403
Author:     Chris Mayo <aklh...@gmail.com>
AuthorDate: Sat May 18 17:13:31 2024 +0100
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Fri Jun 21 10:38:15 2024 +0200

    Fix bashism in configure tests for curl and libcmis
    
    When /bin/sh is dash:
    
    ./configure: 35165: test: yes: unexpected operator
    checking whether to enable breakpad... no
    ./configure: 35218: test: yes: unexpected operator
    
    Causing HAVE_FEATURE_CURL not to be set to 1 and build to fail:
    
    sw/source/ui/misc/translatelangselect.cxx:160:24: error: no member named 
'TranslateDocumentCancellable' in namespace 'SwTranslateHelper'
      160 |     SwTranslateHelper::TranslateDocumentCancellable(m_rWrtSh, 
aConfig, m_bCancelTranslation);
          |     ~~~~~~~~~~~~~~~~~~~^
    
    Introduced in:
    
    5bf7c2fa5794 ("Fix --disable-curl build", 2023-09-14)
    
    Change-Id: Ifbc4bc1a7cde86101ff13b05ec7cee6836798605
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167831
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Tested-by: Jenkins
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167909

diff --git a/configure.ac b/configure.ac
index 79373cd08b8d..6c945148b2ff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10877,7 +10877,7 @@ AC_SUBST(ICU_MINOR)
 dnl ==================================================================
 dnl CURL
 dnl ==================================================================
-if test "$enable_curl" == "yes"; then
+if test "$enable_curl" = "yes"; then
     AC_DEFINE([HAVE_FEATURE_CURL])
 fi
 
@@ -10923,7 +10923,7 @@ AC_SUBST(DEFAULT_CRASHDUMP_VALUE)
 dnl ==================================================================
 dnl libcmis
 dnl ==================================================================
-if test "$enable_libcmis" == "yes"; then
+if test "$enable_libcmis" = "yes"; then
     if test "$enable_curl" != "yes"; then
         AC_MSG_ERROR([--disable-libcmis must be used when --disable-curl is 
used])
     fi

Reply via email to