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

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 8 14:40:57 UTC 2019


 configure.ac |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

New commits:
commit 9c2fd9ded993c4cae9c01da9d7060c9a4385cfba
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Oct 8 14:46:19 2019 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Oct 8 16:40:33 2019 +0200

    The --with-lo-path is not necessary when building for iOS or Android
    
    Change-Id: Ib245058f1a3e985547e9a44dd4c8ebc613875cb6
    Reviewed-on: https://gerrit.libreoffice.org/80444
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>

diff --git a/configure.ac b/configure.ac
index dd71eda5e..fb54564c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -506,15 +506,17 @@ AS_IF([test -n "$LOKIT_PATH"],
       [CPPFLAGS="$CPPFLAGS -I${LOKIT_PATH}"])
 lokit_msg="$LOKIT_PATH"
 
-AC_MSG_CHECKING([for LibreOffice path])
-if test -n "$with_lo_path"; then
-    # strip trailing '/' from LO_PATH, 'ln -s' with such path will otherwise fail
-    LO_PATH="${with_lo_path%/}"
-    AC_MSG_RESULT([found])
-else
-    AC_MSG_RESULT([not found])
-    AC_MSG_ERROR([LibreOffice path must be configured: --with-lo-path])
-fi
+AS_IF([test "$ENABLE_IOSAPP" != "true" -a "$ENABLE_ANDROIDAPP" != "true"],
+      [AC_MSG_CHECKING([for LibreOffice path])
+      if test -n "$with_lo_path"; then
+          # strip trailing '/' from LO_PATH, 'ln -s' with such path will otherwise fail
+          LO_PATH="${with_lo_path%/}"
+          AC_MSG_RESULT([found])
+      else
+          AC_MSG_RESULT([not found])
+          AC_MSG_ERROR([LibreOffice path must be configured: --with-lo-path])
+      fi
+      ])
 
 JAIL_PATH=not-set
 SYSTEMPLATE_PATH=not-set


More information about the Libreoffice-commits mailing list