Index: koffice-libs-1.5_rc1/lib/kotext/configure.in.in =================================================================== --- koffice-libs-1.5_rc1/lib/kotext/configure.in.in.orig +++ koffice-libs-1.5_rc1/lib/kotext/configure.in.in @@ -1,9 +1,8 @@ AC_LANG_SAVE AC_LANG_C dnl Check for aspell library - AC_MSG_CHECKING([for kspell2/broker.h (kdelibs>3.2)]) - AC_FIND_FILE(kspell2/broker.h, $kde_includes, ac_kspell2_includes) - if test -n "$ac_kspell2_includes" && test -r "$ac_kspell2_includes/kspell2/broker.h"; then + KDE_CHECK_HEADERS([kspell2/broker.h]) + if test "x$ac_cv_header_kspell2_broker_h" = "xyes"; then dnl the header and the lib exist -> ok dnl this is for config.h AC_DEFINE(HAVE_LIBKSPELL2, 1, [If we are going to use libkspell2 for spell-checking])