Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 676920 | Differences between
and this patch

Collapse All | Expand All

(-)a/dict/configure.ac.ORIG (-2 / +2 lines)
Lines 45-58 Link Here
45
dnl spell plugin checks: enchant.
45
dnl spell plugin checks: enchant.
46
dnl ================================================================
46
dnl ================================================================
47
47
48
ENCHANT_REQUIRED=1.2.0
48
ENCHANT_REQUIRED=2.2.0
49
AC_ARG_ENABLE([spell],
49
AC_ARG_ENABLE([spell],
50
	AS_HELP_STRING([--disable-spell],[Disable spell plugin (default: enabled)]),
50
	AS_HELP_STRING([--disable-spell],[Disable spell plugin (default: enabled)]),
51
	[enable_enchant=$enableval],
51
	[enable_enchant=$enableval],
52
	[enable_enchant=yes])
52
	[enable_enchant=yes])
53
53
54
if test "x$enable_enchant" = "xyes" ; then
54
if test "x$enable_enchant" = "xyes" ; then
55
	PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED, \
55
	PKG_CHECK_MODULES(ENCHANT, enchant-2 >= $ENCHANT_REQUIRED, \
56
			have_enchant=yes, have_enchant=no)
56
			have_enchant=yes, have_enchant=no)
57
	if test "x$have_enchant" = "xyes"; then
57
	if test "x$have_enchant" = "xyes"; then
58
		ENCHANT_CFLAGS="${ENCHANT_CFLAGS}"
58
		ENCHANT_CFLAGS="${ENCHANT_CFLAGS}"

Return to bug 676920