AC_DEFUN([KBUGBUSTER_CHECK_KCAL],[HAVE_KCAL=0
KDE_CHECK_HEADER(libkcal/resourcecalendar.h,HAVE_KCAL=1,
 AC_MSG_WARN([Unable to find libkcal. The Bugzilla todo list \
 resource for KOrganizer won't be compiled.]))
AM_CONDITIONAL(include_kcalresource, test "$HAVE_KCAL" = 1)
])

KBUGBUSTER_CHECK_KCAL
