aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-06-27 07:03:11 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-06-27 07:03:11 +0000
commite4fa47016f53e76df6d0ef387d41270b98e5578c (patch)
tree062fcb7f9fd84afbaad4be66325ecb9655798989 /configure.in
parent059a6333c75b6d60aeeb3d541590d62607e42ff5 (diff)
supported GtkSpell 2.0.13 (with Enchant).
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2022 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 4c4082be..79ffe0ca 100644
--- a/configure.in
+++ b/configure.in
@@ -266,6 +266,11 @@ if test "$ac_cv_enable_gtkspell" = yes; then
AC_MSG_RESULT(yes)
CFLAGS="$CFLAGS `$PKG_CONFIG --cflags gtkspell-2.0`"
LIBS="$LIBS `$PKG_CONFIG --libs gtkspell-2.0`"
+ if $PKG_CONFIG --atleast-version 2.0.13 gtkspell-2.0 ; then
+ AC_DEFINE(USE_ENCHANT, 1, Use Enchant with GtkSpell)
+ elif $PKG_CONFIG --atleast-version 2.0.12 gtkspell-2.0 ; then
+ LIBS="$LIBS -laspell"
+ fi
AC_DEFINE(USE_GTKSPELL, 1, Use GtkSpell in editor)
else
AC_MSG_RESULT(no)