Description: support anthy-0.3
Author: HIGUCHI Daisuke (VDR dai) <dai@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2025-05-03

Index: uim-1.9.1/configure.ac
===================================================================
--- uim-1.9.1.orig/configure.ac
+++ uim-1.9.1/configure.ac
@@ -124,7 +124,7 @@ fi
 if test "x$with_anthy" = xyes; then
   ANTHY_LIBS="-lanthy -lanthydic"
   ANTHY_CFLAGS=""
-  PKG_CHECK_EXISTS(anthy >= 8622,
+  PKG_CHECK_EXISTS(anthy >= 0.3,
                    [AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
                     "libanthy can handle UTF-8")])
 fi
@@ -142,11 +142,11 @@ AC_ARG_WITH(anthy-utf8,
   [with_anthy_utf8=no])
 
 if test "x$with_anthy_utf8" != xno; then
-  PKG_CHECK_MODULES(ANTHY_UTF8, anthy-unicode,
+  PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 0.3,
                     [with_anthy_utf8=yes
                      AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
                      [libanthy-unicode can handle UTF-8])],
-                    [PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 8622,
+                    [PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 0.3,
                                        [with_anthy_utf8=yes
                                         AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
                                         [libanthy can handle UTF-8])],
                                        with_anthy_utf8=no)])
fi