fix pspell detection

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4440 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-06-20 12:50:33 +00:00
parent 574910ff05
commit ba21e88032
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* pspell.m4: patch from Garst to help find pspell (bug 428) this
code is really tasteless...
2002-06-19 John Levon <moz@compsoc.man.ac.uk>
* lyxinclude.m4: remove LYX_REGEX properly

View File

@ -31,12 +31,12 @@ AC_DEFUN(CHECK_WITH_PSPELL,
pspell_lib_found="Setting to $pspell_use_lib"
else
pspell_libs="/usr/lib /usr/lib/pspell /usr/local/lib /usr/local/lib/pspell"
AC_FIND_FILE(libpspell.a,$pspell_libs,pspell_use_lib)
AC_FIND_FILE(libpspell.la libpspell.so libpspell.a,$pspell_libs,pspell_use_lib)
pspell_lib_found="yes"
fi
if test "$pspell_use_include" = "NO" || \
test "$pspell_use_include" = "NO"; then
test "$pspell_use_lib" = "NO"; then
if test "$USE_PSPELL" = "yes"; then
USE_PSPELL="not found"
fi