configure.in | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-)
New commits: commit 8d3ea9985e6defd2b6522b755a29c6406c8cdcb6 Author: Tomas Chvatal <[email protected]> Date: Sun Aug 26 11:30:14 2012 +0200 Update desc of mergelib configure option Also do not be fatal on clash with binfilter and just warn the user that mergelib was disabled in favor of binfilter if he has both enabled. Change-Id: I3b683a948e00b1134c10881c5ec442e6380f2822 Signed-off-by: Matúš Kukan <[email protected]> diff --git a/configure.in b/configure.in index a080a02..276d844 100644 --- a/configure.in +++ b/configure.in @@ -561,7 +561,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. Experimental feature tested + only on Linux and Android.]) ) AC_ARG_ENABLE(graphite, @@ -11648,9 +11649,17 @@ fi # =================================================================== AC_MSG_CHECKING([whether to create a big library for better performance]) MERGELIBS= -if test "$enable_mergelibs" = "yes"; then - MERGELIBS="TRUE" - AC_MSG_RESULT([yes]) +if test $enable_mergelibs = yes; then + if test $WITH_BINFILTER = YES; then + add_warning "--enable-mergelibs conflicts with --enable-binfilter. Disabling mergelibs." + AC_MSG_RESULT([no]) + else + 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]) + fi else AC_MSG_RESULT([no]) fi
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
