X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=configure.in;h=94bc1380e57ba5d74e9ef0cc4c5124866d8a8b42;hp=7786200df97ba510e438d57b82ea76296c3d7f84;hb=f87ccc1309df5346e3e474290f49a50e6d371853;hpb=f94ca6ceb35f0e5c35a713ef95fce801b965fb83 diff --git a/configure.in b/configure.in index 7786200df..94bc1380e 100644 --- a/configure.in +++ b/configure.in @@ -251,6 +251,19 @@ else AC_MSG_RESULT(no) fi +dnl PSPELL is user for spell checking +AC_ARG_ENABLE(pspell, + [ --enable-pspell Enable pspell support [default=no]], + [ac_cv_enable_pspell=$enableval], [ac_cv_enable_pspell=no]) +AC_MSG_CHECKING([whether to use pspell]) +if test $ac_cv_enable_pspell = yes; then + AC_MSG_RESULT(yes) + AM_PATH_PSPELL(.12.2, AC_DEFINE(USE_PSPELL), [use_pspell=no + ac_cv_enable_pspell=no]) +else + AC_MSG_RESULT(no) +fi + dnl check if gdk / gtk was compiled with USE_XIM AC_MSG_CHECKING([whether GTK was compiled with XIM support]) CFLAGS_SAVE="$CFLAGS" @@ -337,6 +350,7 @@ echo "LDAP : $ac_cv_enable_ldap" echo "compface : $ac_cv_enable_compface" echo "libjconv : $ac_cv_enable_jconv" echo "IPv6 : $ac_cv_enable_ipv6" +echo "Pspell : $ac_cv_enable_pspell" echo "" echo "The binary will be installed in $prefix/bin" echo ""