dnl build with exchange support
ac_use_exchange="no"
AC_ARG_ENABLE(exchange,
        [  --disable-exchange      disable Microsoft Exchange 2000 support for korganizer [default=enable]], ac_use_exchange=$enableval, ac_use_exchange=yes)
AM_CONDITIONAL(include_exchange_SUBDIR, test "$ac_use_exchange" = "yes")

if test "x$ac_use_exchange" != "xyes"; then
        DO_NOT_COMPILE="$DO_NOT_COMPILE libkpimexchange"
else
	AC_DEFINE(KDEPIM_ENABLE_EXCHANGE, 1, [Define if you want Microsoft Exchange 2000 support])
fi

