File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -108,10 +108,14 @@ AC_ARG_ENABLE([spell],
108108
109109if test "x$enable_enchant" = "xyes" ; then
110110
111- PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED, \
112- have_enchant=yes, have_enchant=no)
113-
114- if test "x$have_enchant" = "xyes"; then
111+ PKG_CHECK_MODULES(ENCHANT, enchant-2 >= $ENCHANT_REQUIRED, \
112+ have_enchant_2=yes, have_enchant_2=no)
113+
114+ if test "x$have_enchant_2" = "xno"; then
115+ PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED, \
116+ have_enchant=yes, have_enchant=no)
117+ fi
118+ if test "x$have_enchant_2" = "xyes" || test "x$have_enchant" = "xyes"; then
115119
116120 PKG_CHECK_EXISTS([ iso-codes >= $ISO_CODES_REQUIRED] ,
117121 [ have_iso_codes=yes] ,[ have_iso_codes=no] )
You can’t perform that action at this time.
0 commit comments