From 49d24215b1e2557e6d0687bf4f90e6b04a0e33cb Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Wed, 19 Aug 2020 16:51:24 +0900 Subject: Add an ability to specify default spell checker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is no reason to determine it with operating system basis. Change to use build configuration instead. "ispell" by default, and you can override it. Signed-off-by: OBATA Akio (cherry picked from commit 70d26004f065c5fd18be00cab17fc93ed231d849) Signed-off-by: Slávek Banko --- config.h.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h.cmake') diff --git a/config.h.cmake b/config.h.cmake index b7a8120aa..9f253e9a4 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -6,6 +6,9 @@ /* Define where aspell data dir is */ #define ASPELL_DATADIR "@ASPELL_DATADIR@" +/* Define default spell checker */ +#define DEFAULT_SPELL_CHECKER KS_CLIENT_@DEFAULT_SPELL_CHECKER@ + /* Avahi API 0.6 */ #cmakedefine HAVE_DNSSD 1 #cmakedefine AVAHI_API_0_6 1 -- cgit v1.2.3