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.Garst
