AC_MSG_RESULT(yes)
AC_DEFINE(USE_ASPELL, 1, [Define as 1 to use the aspell library])
lyx_flags="$lyx_flags use-aspell"
+ ### Check for aspell framework name
+ LYX_WITH_DIR([aspell-framework], [name of aspell framework],aspell_framework, [])
+ AC_DEFINE_UNQUOTED([ASPELL_FRAMEWORK], "${lyx_cv_aspell_framework}", [Define as name of aspell framework])
else
AC_MSG_RESULT(no)
fi
fi
])
+
### Check if we want spell libraries, prefer new aspell or hunspell
AC_DEFUN([LYX_CHECK_SPELL_ENGINES],
[
- lyx_use_aspell=false
CHECK_WITH_ASPELL
-
AM_CONDITIONAL(USE_ASPELL, $lyx_use_aspell)
- lyx_use_enchant=false
CHECK_WITH_ENCHANT
-
AM_CONDITIONAL(USE_ENCHANT, $lyx_use_enchant)
- lyx_use_hunspell=false
CHECK_WITH_HUNSPELL
-
AM_CONDITIONAL(USE_HUNSPELL, $lyx_use_hunspell)
])