From: Juergen Spitzmueller Date: Mon, 19 Mar 2018 08:03:35 +0000 (+0100) Subject: check for enchant-2 X-Git-Tag: 2.3.1~149 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2d647cb0e66c10cb1bd620ee7272c271d2e419f3;p=features.git check for enchant-2 Fixes rest of #10986 (cherry picked from commit 71977769ec5168eda6f49697b570bbd1dd6991d8) --- diff --git a/config/spell.m4 b/config/spell.m4 index f494da8f2f..5bf36fc8ea 100644 --- a/config/spell.m4 +++ b/config/spell.m4 @@ -45,7 +45,9 @@ AC_DEFUN([CHECK_WITH_ENCHANT], test "$with_enchant" = "no" && lyx_use_enchant=false if $lyx_use_enchant; then - PKG_CHECK_MODULES([ENCHANT], [enchant], [], [lyx_use_enchant=false]) + PKG_CHECK_MODULES([ENCHANT], [enchant], [], + [PKG_CHECK_MODULES([ENCHANT], [enchant-2], [], + [lyx_use_enchant=false])]) AC_MSG_CHECKING([whether to use enchant]) if $lyx_use_enchant ; then AC_MSG_RESULT(yes)