Don't look for enchant1; we want to use enchant2. --- configure.ac.orig 2024-03-17 15:29:06.000000000 -0500 +++ configure.ac 2024-08-05 23:25:26.000000000 -0500 @@ -442,30 +442,6 @@ libxml-2.0" if test "x$enable_spell_check" != "xno"; then - AC_MSG_CHECKING([for optional libenchant development files]) - PKG_CHECK_EXISTS( - [enchant], - [ - BF_dependencies="$BF_dependencies enchant" - AC_DEFINE([HAVE_LIBENCHANT], [1], [Define to 1 if you have the 'enchant' library (-lenchant).]) - PKG_CHECK_EXISTS( - [enchant >= 1.4], - [AC_DEFINE([HAVE_LIBENCHANT_1_4], [1], [Define to 1 if you have the 'enchant' library (-lenchant) >= 1.4.])] - ) - AC_MSG_RESULT([yes]) - ], - [ - AC_CHECK_HEADERS( - [enchant.h enchant/enchant.h], - AC_CHECK_LIB( - [enchant], - [enchant_dict_check], - [AC_MSG_RESULT([yes])], - [AC_MSG_RESULT([no])] - ) - ) - ] - ) AC_MSG_CHECKING([for optional libenchant-2 development files]) PKG_CHECK_EXISTS( [enchant-2],