From ba21e88032b0084bda69b4ccc9d9fff8970fd3b2 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 20 Jun 2002 12:50:33 +0000 Subject: [PATCH] fix pspell detection git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4440 a592a061-630c-0410-9148-cb99ea01b6c8 --- config/ChangeLog | 5 +++++ config/pspell.m4 | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config/ChangeLog b/config/ChangeLog index dd7233aa19..206e51aee7 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2002-06-20 Jean-Marc Lasgouttes + + * pspell.m4: patch from Garst to help find pspell (bug 428) this + code is really tasteless... + 2002-06-19 John Levon * lyxinclude.m4: remove LYX_REGEX properly diff --git a/config/pspell.m4 b/config/pspell.m4 index d45097f0fd..cbc018734a 100644 --- a/config/pspell.m4 +++ b/config/pspell.m4 @@ -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 -- 2.39.5