Add missing AC_DEFINE for WITH_HUNSPELL, without this hunspell was not being

activated.  I've just verified that it works fine.

Originally committed to SVN as r2182.
This commit is contained in:
Amar Takhar 2008-04-20 14:52:09 +00:00
parent d0de1fe366
commit 03953062c2
1 changed files with 2 additions and 0 deletions

View File

@ -507,6 +507,8 @@ int main(void) {
if test "$agi_with_hunspell" = "no" && test "$with_hunspell" = "yes"; then
AC_MSG_WARN([Hunspell detected, but it doesn't work..])
with_old_hunspell="no"
else
AC_DEFINE(WITH_HUNSPELL, 1, [Enable Hunspell support.])
fi
AM_CONDITIONAL([HAVE_HUNSPELL], [test "$with_old_hunspell" != "no"])