summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartyn Russell <martyn@lanedo.com>2012-10-17 12:15:35 +0100
committerMartyn Russell <martyn@lanedo.com>2012-10-24 16:48:44 +0100
commit44274c3c82ada96d2dc359dbd63c4cf12a9fa68d (patch)
treea67780e1c74419a48759615e2ac058bb08471bfd
parente6731f2d65db17e584d8ed302b33be07f932544b (diff)
downloadtracker-44274c3c82ada96d2dc359dbd63c4cf12a9fa68d.tar.gz
build: Default to icu over unistring when automatically guessing unicode support
This is to help with GB#666749. This isn't a complete fix but the support for icu is better with asian language sorting.
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 09d268c3a..b2aa047b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -863,13 +863,13 @@ AC_ARG_WITH([unicode-support],
# If auto, decide ourselves
if test "x$with_unicode_support" = "xauto"; then
- if test "x$have_libunistring" = "xyes"; then
- with_unicode_support=libunistring
+ if test "x$have_libicu" = "xyes"; then
+ with_unicode_support=libicu
else
- if test "x$have_libicu" = "xyes"; then
- with_unicode_support=libicu
+ if test "x$have_libunistring" = "xyes"; then
+ with_unicode_support=libunistring
else
- AC_MSG_ERROR([Couldn't find neither libunistring nor libicu])
+ AC_MSG_ERROR([Couldn't find either libunistring or libicu])
fi
fi
fi