aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-01-12 07:25:10 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-01-12 07:25:10 +0000
commitb6db14ad049af26afd2f39c09a1d05bdbffc51cd (patch)
treec5ef0a4f3f126447db44cf820918f98328d34b5c /configure.in
parent0dc3dee2cc6f76ac38e327e700e078e2f2ee9506 (diff)
added workaround for crash by enchant with zemberek.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2420 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 81c9526d..b7ce58ca 100644
--- a/configure.in
+++ b/configure.in
@@ -286,6 +286,12 @@ if test "$ac_cv_enable_gtkspell" = yes; then
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)
+
+ dnl Workaroud for zemberek crash
+ if $PKG_CONFIG --atleast-version 1.4.2 enchant ; then
+ CFLAGS="$CFLAGS `$PKG_CONFIG --cflags dbus-glib-1`"
+ LIBS="$LIBS `$PKG_CONFIG --libs dbus-glib-1`"
+ fi
elif $PKG_CONFIG --atleast-version 2.0.12 gtkspell-2.0 ; then
LIBS="$LIBS -laspell"
fi