Revision 2022 configure.in

View differences:

configure.in
266 266
		AC_MSG_RESULT(yes)
267 267
		CFLAGS="$CFLAGS `$PKG_CONFIG --cflags gtkspell-2.0`"
268 268
		LIBS="$LIBS `$PKG_CONFIG --libs gtkspell-2.0`"
269
		if $PKG_CONFIG --atleast-version 2.0.13 gtkspell-2.0 ; then
270
			AC_DEFINE(USE_ENCHANT, 1, Use Enchant with GtkSpell)
271
		elif $PKG_CONFIG --atleast-version 2.0.12 gtkspell-2.0 ; then
272
			LIBS="$LIBS -laspell"
273
		fi
269 274
		AC_DEFINE(USE_GTKSPELL, 1, Use GtkSpell in editor)
270 275
	else
271 276
		AC_MSG_RESULT(no)

Also available in: Unified diff