summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-08-25 21:32:13 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-08-25 21:33:25 +0200
commit43b6f77506bdb5ef767ac2211f930bfc911f2046 (patch)
tree2ad861c5cd76e706433471197afb51c81516ed18
parent5bf93a18e645f5e7146402d5dfa6958ddee44de7 (diff)
--enable-mergelibs: does not work with binfilter; warning for other platforms
Change-Id: I2992c89f70aebfcae5795c9f21d3cca48cbea4ae
-rw-r--r--configure.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index fa2427974da5..86a1ceeb072d 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