summaryrefslogtreecommitdiff
path: root/textproc/uim/files/patch-configure.ac
blob: d0447119aa330e48491c0f0163b84319bed2e483 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.ac.orig	2025-04-13 09:17:52 UTC
+++ configure.ac
@@ -124,7 +124,7 @@ if test "x$with_anthy" = xyes; then
 if test "x$with_anthy" = xyes; then
   ANTHY_LIBS="-lanthy -lanthydic"
   ANTHY_CFLAGS=""
-  PKG_CHECK_EXISTS(anthy >= 8622,
+  PKG_CHECK_EXISTS(anthy >= 0.4,
                    [AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
                     "libanthy can handle UTF-8")])
 fi
@@ -146,7 +146,7 @@ if test "x$with_anthy_utf8" != xno; then
                     [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.4,
                                        [with_anthy_utf8=yes
                                         AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
                                         [libanthy can handle UTF-8])],