test "$with_aspell" = "no" && lyx_use_aspell=false
if $lyx_use_aspell ; then
- AC_CHECK_HEADERS(aspell.h aspell/aspell.h,
- [lyx_use_aspell=true; break;],
+ AC_CHECK_HEADERS(aspell.h aspell/aspell.h,
+ [lyx_use_aspell=true; break;],
[lyx_use_aspell=false])
AC_CHECK_LIB(aspell, new_aspell_config, LIBS="-laspell $LIBS", lyx_use_aspell=false)
dnl Do this independent of the existence of the aspell, pspell libraries.
lyx_use_ispell=true
AC_LANG_PUSH(C)
- AC_CHECK_FUNCS(select dup2,, [lyx_use_ispell=false])
+ AC_CHECK_FUNCS(fork,, [lyx_use_ispell=false])
AC_LANG_POP(C)
AC_MSG_CHECKING([whether to use ispell])
if $lyx_use_ispell ; then
AC_MSG_RESULT(yes)
- AC_DEFINE(USE_ISPELL, 1, [Define as 1 to use an external ispell process for spell-checking])
+ AC_DEFINE(USE_ISPELL, 1, [Define as 1 to use an external ispell process to check spelling])
lyx_flags="$lyx_flags use-ispell"
else
AC_MSG_RESULT(no)