summaryrefslogtreecommitdiffstats
path: root/lib/kotext/configure.in.in
blob: c8f96e0a442910e2ae01cd569fe55e12d3bcff66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
   AC_LANG_SAVE
   AC_LANG_C
   dnl Check for aspell library
   KDE_CHECK_HEADERS([tdespell2/broker.h])
   if test "x$ac_cv_header_tdespell2_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 libtdespell2 for spell-checking])
           LIBKSPELL2="-ltdespell2"
           AC_MSG_RESULT([found in $ac_tdespell2_includes])
   else
           LIBKSPELL2=""
           AC_MSG_RESULT([not found -- spell-checking will be disabled])
   fi
   AC_SUBST(LIBKSPELL2)
   AC_LANG_RESTORE