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

This commit is contained in:
Juergen Spitzmueller 2018-03-19 09:56:53 +01:00
parent 71977769ec
commit 1ae537c543

View File

@ -45,8 +45,8 @@ AC_DEFUN([CHECK_WITH_ENCHANT],
test "$with_enchant" = "no" && lyx_use_enchant=false test "$with_enchant" = "no" && lyx_use_enchant=false
if $lyx_use_enchant; then 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])]) [lyx_use_enchant=false])])
AC_MSG_CHECKING([whether to use enchant]) AC_MSG_CHECKING([whether to use enchant])
if $lyx_use_enchant ; then if $lyx_use_enchant ; then