Lars Gullik Bj�nnes wrote:
> 
> "Garst R. Reese" <[EMAIL PROTECTED]> writes:
> 
> | Would this work?
> |
> |     AC_CHECK_LIB(pspell, new_pspell_config, break, USE_PSPELL=no)
> |         if test "$USE_PSPELL" = "no" ; then
> |               AC_CHECK_LIB(aspell, new_aspell_config, break, USE_PSPELL=no)
> |       fi
> | I don't really understand what the test for new_pspell_config is doing
> | it the current version.
> 
> It is testing that the lib is linkable.
> 
> Please test the above.
> 
> _but_ I belive that this will make us link with libaspell instead of
> libpspell and I have no idea if that will work.
> 
> --
>         Lgb
Linking with libaspell works. On my current build I just changed
AC_CHECK_LIB to check aspell for new_aspell_config. Ldd shows no pspell,
but has aspell. I can spellcheck  using aspell, but I think I could do
that --without-pspell and no *spell* libs linked. 

I will test the above on then next build, but it should do the same.

aspell.C sounds right.

Garst

Garst

Reply via email to