John Levon wrote:
> 
> On Thu, May 16, 2002 at 07:00:06AM -0300, Garst R. Reese wrote:
> 
> > I don't know what function(s) to check the lib for, so that would have
> > to come from Kevin or someone else who would know just what to do.
> 
> Just check for "main" as the function - this is special name
> 
> > > perhaps .la .so .a then...
> > >
> > Do you want another patch adding .la?
> 
> Please ... then I will be motivated to download pspell and try it :)
Attached is the minimalist patch with .la added. If you want to try one
with AC_CHECK, feel free. I suppose the difference is that that check
would not add the -L/usr/local/lib which appears to be redundant.
Garst
--- pspell.m4.save      Wed May 15 17:54:20 2002
+++ pspell.m4   Thu May 16 08:32:55 2002
@@ -31,12 +31,12 @@
       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


Reply via email to