summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2020-12-22 13:56:29 +0000
committerReuben Thomas <rrt@sc3d.org>2020-12-22 13:58:11 +0000
commitb7b6f21fefb4e3b2288bbe19c5276626fa2a66e5 (patch)
tree7a12ff40a442a31769ea17cc9151b9e33e8c9831
parent78e98c63904081b7a65209cd75e4335c4150ce03 (diff)
downloadenchant-b7b6f21fefb4e3b2288bbe19c5276626fa2a66e5.tar.gz
configure.ac: require nuspell >= 4.1.0 (fixes #267)
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 3b1962e..5091d79 100644
--- a/configure.ac
+++ b/configure.ac
@@ -171,7 +171,7 @@ AC_DEFUN([ENCHANT_CHECK_PROVIDER_SETUP],
AC_DEFUN([ENCHANT_CHECK_PKG_CONFIG_PROVIDER],
[ENCHANT_CHECK_PROVIDER_SETUP([$1], [$4])
AS_IF([test "x$with_[]$1" != xno],
- [PKG_CHECK_MODULES([$2], [m4_default([$3], [$1])],
+ [PKG_CHECK_MODULES([$2], [m4_default([$3], [$1])],
[$2[]_CFLAGS="$[]$2[]_CFLAGS -DENCHANT_[]$2[]_DICT_DIR='\"$[]$1_dir\"'"
with_$1=yes
build_providers="$build_providers $1"],
@@ -209,7 +209,7 @@ build_providers=
dnl Standard providers
ENCHANT_CHECK_PKG_CONFIG_PROVIDER([hunspell], [HUNSPELL])
-ENCHANT_CHECK_PKG_CONFIG_PROVIDER([nuspell], [NUSPELL])
+ENCHANT_CHECK_PKG_CONFIG_PROVIDER([nuspell], [NUSPELL], [nuspell >= 4.1.0])
ENCHANT_CHECK_LIB_PROVIDER([aspell], [ASPELL], [get_aspell_dict_info_list])
ENCHANT_CHECK_LIB_PROVIDER([hspell], [HSPELL], [hspell_get_dictionary_path],, [-lz])
ENCHANT_CHECK_PKG_CONFIG_PROVIDER([voikko], [VOIKKO], [libvoikko])