X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=config%2Fspell.m4;h=f60cdbfe4e134074666a631a672b676b9239e332;hb=2a698285086dfab923c58372995ebbba9d9f37f8;hp=6f8fe4000032e7c0e38d1c1bceea041b2b11f335;hpb=201e5bdf707317be29e9b7476e2b97a34e2d0b48;p=lyx.git diff --git a/config/spell.m4 b/config/spell.m4 index 6f8fe40000..f60cdbfe4e 100644 --- a/config/spell.m4 +++ b/config/spell.m4 @@ -7,8 +7,8 @@ AC_DEFUN([CHECK_WITH_ASPELL], 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) @@ -65,12 +65,12 @@ AC_DEFUN([LYX_CHECK_SPELL_ENGINES], 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)