Lines 292-301
Link Here
|
292 |
ENCHANT_LIBS="" |
292 |
ENCHANT_LIBS="" |
293 |
|
293 |
|
294 |
if test x"$gtkspell" = x"yes" ; then |
294 |
if test x"$gtkspell" = x"yes" ; then |
295 |
AC_MSG_CHECKING([which backend gtkspell is compiled with]) |
|
|
296 |
|
297 |
$PKG_CONFIG --static --libs gtkspell-2.0 | grep -q enchant |
295 |
$PKG_CONFIG --static --libs gtkspell-2.0 | grep -q enchant |
298 |
if test $? -eq 0 ; then |
|
|
299 |
AC_MSG_RESULT([enchant]) |
296 |
AC_MSG_RESULT([enchant]) |
300 |
|
297 |
|
301 |
PKG_CHECK_MODULES(ENCHANT, |
298 |
PKG_CHECK_MODULES(ENCHANT, |
Lines 306-326
Link Here
|
306 |
AC_DEFINE(HAVE_ENCHANT, 1, [define if we've found enchant]) |
303 |
AC_DEFINE(HAVE_ENCHANT, 1, [define if we've found enchant]) |
307 |
|
304 |
|
308 |
DEPENDENCIES="$DEPENDENCIES,enchant" |
305 |
DEPENDENCIES="$DEPENDENCIES,enchant" |
309 |
else |
|
|
310 |
AC_MSG_RESULT([aspell]) |
311 |
|
312 |
AC_CHECK_HEADER([aspell.h], HAVE_ASPELL_H=yes, HAVE_ASPELL_H=no) |
313 |
if test x"$HAVE_ASPELL_H" = x"yes" ; then |
314 |
AC_CHECK_LIB([aspell], [new_aspell_config], |
315 |
[ASPELL_LIBS="-laspell" |
316 |
BUILD_SWITCH_SPELL=yes], |
317 |
[BUILD_SWITCH_SPELL=no]) |
318 |
|
319 |
DEPENDENCIES="$DEPENDENCIES,aspell" |
320 |
else |
321 |
BUILD_SWITCH_SPELL=no |
322 |
fi |
323 |
fi |
324 |
fi |
306 |
fi |
325 |
|
307 |
|
326 |
if test x"$BUILD_SWITCH_SPELL" = x"no" ; then |
308 |
if test x"$BUILD_SWITCH_SPELL" = x"no" ; then |