]> git.lyx.org Git - features.git/commitdiff
fix pspell detection
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 20 Jun 2002 12:50:33 +0000 (12:50 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 20 Jun 2002 12:50:33 +0000 (12:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4440 a592a061-630c-0410-9148-cb99ea01b6c8

config/ChangeLog
config/pspell.m4

index dd7233aa19c58dd440c5b0eb4c357177e0fe7839..206e51aee797a297d79d56cd2221a808a1c94c57 100644 (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
index d45097f0fd8e0e6aaf68f9ae472c2f44bfdcfca7..cbc018734a18432e9aca7d8d260007d15d8729b7 100644 (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