From 1ae537c5437d0f1abbf877e40a09ad59385f621b Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 19 Mar 2018 09:56:53 +0100 Subject: [PATCH] Change lookup order for enchant-2 vs. enchant (prefer the former) --- config/spell.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/spell.m4 b/config/spell.m4 index 8d98331914..27b79d3301 100644 --- a/config/spell.m4 +++ b/config/spell.m4 @@ -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