Index: configure.in =================================================================== RCS file: /cvsroot/enchant/configure.in,v retrieving revision 1.24 diff -u -r1.24 configure.in --- configure.in 13 Oct 2003 18:05:07 -0000 1.24 +++ configure.in 20 Oct 2003 15:35:41 -0000 @@ -145,13 +145,15 @@ if test "x$ASPELL_DICT_DIR" = "x"; then AC_MSG_WARN([Didn't find aspell >= 0.50.0 and no explicit path aspell specified. Guessing at $aspell_prefix]) ASPELL_LIBS="-L$aspell_prefix/lib -laspell" - ASPELL_DICT_DIR="\"$aspell_prefix/lib/aspell\"" + ASPELL_DICT_DIR="'\"$aspell_prefix/lib/aspell\"'" fi fi - AC_CHECK_LIB(aspell,new_aspell_config,build_aspell=yes,AC_MSG_WARN([Enchant building without the aspell library]),) + AC_CHECK_LIB(aspell,new_aspell_config,build_aspell=yes, + [AC_CHECK_LIB(pspell, new_pspell_config, build_aspell=yes, AC_MSG_WARN([Enchant building without the aspell library]))] + ,) LDFLAGS=$saved_LDFLAGS - + AC_SUBST(ASPELL_INC) AC_SUBST(ASPELL_LIBS) AC_SUBST(ASPELL_DICT_DIR)