]> git.lyx.org Git - features.git/commit
Add support for enchant 2.x
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 24 Jan 2018 15:19:34 +0000 (16:19 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 19 Mar 2018 16:33:17 +0000 (17:33 +0100)
commitb3cca8086d2fafad1aeea2cdfb6639100952b3c5
tree9bff7b0217580ea0523b184695d6881124a0c55e
parent0ddb1435c910b76c7939ee8c9d8273c7d36718b8
Add support for enchant 2.x

As of enchant 2.x, it is required to create a Broker instance instead
of relying on a static one provided by the library.

Add autoconf and cmake (courtesy of Kornel) tests that check whether
one can indeed instantiate a Broker object, and act on the result in a
new broker() helper function.

Fixes bug #10986.

(cherry picked from commit 63a4e82874fddcec00a1733c14ad4525d155f19f)
config/spell.m4
development/cmake/ConfigureChecks.cmake
development/cmake/config.h.cmake
src/EnchantChecker.cpp