We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d86958 commit 87df43fCopy full SHA for 87df43f
1 file changed
configure.ac
@@ -108,10 +108,14 @@ AC_ARG_ENABLE([spell],
108
109
if test "x$enable_enchant" = "xyes" ; then
110
111
- PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED, \
112
- have_enchant=yes, have_enchant=no)
113
-
114
- if test "x$have_enchant" = "xyes"; then
+ PKG_CHECK_MODULES(ENCHANT, enchant-2 >= $ENCHANT_REQUIRED, \
+ have_enchant_2=yes, have_enchant_2=no)
+
+ 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
119
120
PKG_CHECK_EXISTS([iso-codes >= $ISO_CODES_REQUIRED],
121
[have_iso_codes=yes],[have_iso_codes=no])
0 commit comments