[Libreoffice-commits] .: configure.in

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Aug 25 12:33:59 PDT 2012


 configure.in |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

New commits:
commit 43b6f77506bdb5ef767ac2211f930bfc911f2046
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Sat Aug 25 21:32:13 2012 +0200

    --enable-mergelibs: does not work with binfilter; warning for other platforms
    
    Change-Id: I2992c89f70aebfcae5795c9f21d3cca48cbea4ae

diff --git a/configure.in b/configure.in
index fa24279..86a1cee 100644
--- a/configure.in
+++ b/configure.in
@@ -660,7 +660,8 @@ dnl ---------- *** ----------
 
 AC_ARG_ENABLE(mergelibs,
     AS_HELP_STRING([--enable-mergelibs],
-        [Enables linking of big merged library used for better performance.])
+        [Enables linking of big, merged, library.
+         Still somehow experimental. Tested only for Linux and Android.])
 )
 
 AC_ARG_ENABLE(graphite,
@@ -12070,9 +12071,15 @@ fi
 # ===================================================================
 # Creating bigger shared library to link against
 # ===================================================================
-AC_MSG_CHECKING([whether to create a big library for better performance])
+AC_MSG_CHECKING([whether to create huge library])
 MERGELIBS=
-if test "$enable_mergelibs" = "yes"; then
+if test $enable_mergelibs = yes; then
+    if test $WITH_BINFILTER = YES; then
+        AC_MSG_ERROR([--enable-mergelibs conflicts with --enable-binfilter. It would need fixing.])
+    fi
+    if test $_os != Linux -a $_os != Android; then
+        add_warning "--enable-mergelibs is not tested for this platform"
+    fi
     MERGELIBS="TRUE"
     AC_MSG_RESULT([yes])
 else


More information about the Libreoffice-commits mailing list