From: Juergen Spitzmueller Date: Mon, 18 Sep 2017 15:31:42 +0000 (+0200) Subject: Define USE_HUNSPELL when compiling against included hunspell. X-Git-Tag: 2.3.0rc1~91 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3de5218e63e606fa2a4e4b74511548adba3da9f1;p=features.git Define USE_HUNSPELL when compiling against included hunspell. Otherwise, the speller is disabled. (cherry picked from commit be36fe6e62a3dd614419a4dc5df5cb059421c595) --- diff --git a/config/spell.m4 b/config/spell.m4 index c733dab2b4..af39006801 100644 --- a/config/spell.m4 +++ b/config/spell.m4 @@ -97,6 +97,7 @@ dnl the user wanted to use the included hunspell, so do not check for the other lyx_use_aspell=false lyx_use_enchant=false lyx_use_hunspell=true + AC_DEFINE(USE_HUNSPELL, 1, [Define as 1 to use the hunspell library]) lyx_flags="$lyx_flags use-hunspell" else CHECK_WITH_ASPELL