Change lookup order for enchant-2 vs. enchant (prefer the former)

(cherry picked from commit 1ae537c543)
This commit is contained in:
Juergen Spitzmueller 2018-03-19 09:56:53 +01:00
parent 2d647cb0e6
commit 27a871499f
2 changed files with 4 additions and 2 deletions

View File

@ -45,8 +45,8 @@ AC_DEFUN([CHECK_WITH_ENCHANT],
test "$with_enchant" = "no" && lyx_use_enchant=false
if $lyx_use_enchant; then
PKG_CHECK_MODULES([ENCHANT], [enchant], [],
[PKG_CHECK_MODULES([ENCHANT], [enchant-2], [],
PKG_CHECK_MODULES([ENCHANT], [enchant-2], [],
[PKG_CHECK_MODULES([ENCHANT], [enchant], [],
[lyx_use_enchant=false])])
AC_MSG_CHECKING([whether to use enchant])
if $lyx_use_enchant ; then

View File

@ -29,6 +29,8 @@ What's new
* BUILD/INSTALLATION
- Add support for v.2 of the enchant spell checker (bug 10986).
** Bug fixes: