[tracker] build: Default to icu over unistring when automatically guessing unicode support



commit c387b5c85e4cc7fd16eda6d3008d8d367aa1751a
Author: Martyn Russell <martyn lanedo com>
Date:   Wed Oct 17 12:15:35 2012 +0100

    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.

 configure.ac |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a52ef99..e672d3b 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]