[Libreoffice-commits] core.git: configure.ac distro-configs/LibreOfficeEmscripten.conf
Samuel Mehrbrodt
Samuel.Mehrbrodt at cib.de
Tue Oct 13 02:02:54 PDT 2015
configure.ac | 6 +++++-
distro-configs/LibreOfficeEmscripten.conf | 1 -
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 71586837f926c5dc7e8146a4e625b57c37343806
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date: Tue Oct 13 11:01:41 2015 +0200
Emscripten has an own zlib port, use it
See https://github.com/emscripten-ports/zlib
Change-Id: I0af6e2f1f1908838f940ab11706637e3407263fd
diff --git a/configure.ac b/configure.ac
index eea4cba..eb04743 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7420,7 +7420,11 @@ dnl and has no pkg-config for it at least on some tinderboxes,
dnl so leaving that out for now
dnl libo_CHECK_SYSTEM_MODULE([zlib],[ZLIB],[zlib])
AC_MSG_CHECKING([which zlib to use])
-if test "$with_system_zlib" = "yes"; then
+if test "$_os" = "Emscripten"; then
+ # Emscripten provides its own zlib
+ AC_MSG_RESULT([Emscripten provided])
+ SYSTEM_ZLIB=TRUE
+elif test "$with_system_zlib" = "yes"; then
AC_MSG_RESULT([external])
SYSTEM_ZLIB=TRUE
AC_CHECK_HEADER(zlib.h, [],
diff --git a/distro-configs/LibreOfficeEmscripten.conf b/distro-configs/LibreOfficeEmscripten.conf
index b90a090..b26b4ca 100644
--- a/distro-configs/LibreOfficeEmscripten.conf
+++ b/distro-configs/LibreOfficeEmscripten.conf
@@ -37,7 +37,6 @@
--without-helppack-integration
--without-system-dicts
--with-theme=no
---with-system-zlib=no
--with-system-nss=yes
# Build fails when disabling these
More information about the Libreoffice-commits
mailing list