]> git.lyx.org Git - lyx.git/commitdiff
Define USE_HUNSPELL when compiling against included hunspell.
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 18 Sep 2017 15:31:42 +0000 (17:31 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 18 Sep 2017 15:31:42 +0000 (17:31 +0200)
Otherwise, the speller is disabled.

config/spell.m4

index c733dab2b45b9e32cea87ba0b7f5db7e4f360aca..af39006801fed18bd6a4a51aeb7e6c324e6c405d 100644 (file)
@@ -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