summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorOBATA Akio <[email protected]>2020-08-19 16:51:24 +0900
committerSlávek Banko <[email protected]>2020-09-27 19:06:55 +0200
commit70d26004f065c5fd18be00cab17fc93ed231d849 (patch)
tree65c457d44f29531ea13a8c77c9f6d252faaaa13c /config.h.cmake
parentba75e441eab1713cac9219d93d06c478c0bc93df (diff)
downloadtdelibs-70d26004f065c5fd18be00cab17fc93ed231d849.tar.gz
tdelibs-70d26004f065c5fd18be00cab17fc93ed231d849.zip
Add an ability to specify default spell checker
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 <[email protected]>
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 3e4a0e27c..76c299e08 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