diff options
author | Reuben Thomas <rrt@sc3d.org> | 2017-02-04 19:39:29 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2017-02-09 00:28:25 +0000 |
commit | dc5af9c5a1be674e48a63ee20c04385e4cc49f19 (patch) | |
tree | e15f31dd0e595bfaa3521712b356f54f80b81f6c | |
parent | edf345cce39e4a06173e937e85cf9ff58b08984c (diff) | |
download | enchant-dc5af9c5a1be674e48a63ee20c04385e4cc49f19.tar.gz |
Require aspell >= 0.50
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/aspell/aspell_provider.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 0c96790..991c03a 100644 --- a/configure.ac +++ b/configure.ac @@ -396,9 +396,7 @@ if test "x$check_aspell" != "xno"; then AC_MSG_CHECKING([For aspell headers in $aspell_prefix/include]) if test -f "$aspell_prefix/include/aspell.h"; then AC_MSG_RESULT([yes]) - - AC_CHECK_LIB(aspell,new_aspell_config,build_aspell=yes,,) - AC_CHECK_LIB(aspell,get_aspell_dict_info_list,ASPELL_CFLAGS="-DASPELL_0_50_0=1",) + AC_CHECK_LIB(aspell,get_aspell_dict_info_list,build_aspell=yes,AC_MSG_WARN([Aspell too old (version < 0.50)])) else AC_MSG_RESULT([no]) if test "x$HAVE_ASPELL" = "xyes"; then diff --git a/src/aspell/aspell_provider.c b/src/aspell/aspell_provider.c index 47f8ea3..9a448b9 100644 --- a/src/aspell/aspell_provider.c +++ b/src/aspell/aspell_provider.c @@ -193,7 +193,6 @@ aspell_provider_dispose_dict (EnchantProvider * me, EnchantDict * dict) g_free (dict); } -#if ASPELL_0_50_0 static char ** aspell_provider_list_dicts (EnchantProvider * me, size_t * out_n_dicts) @@ -234,7 +233,6 @@ aspell_provider_list_dicts (EnchantProvider * me, return out_list; } -#endif static void aspell_provider_free_string_list (EnchantProvider * me, char **str_list) |