summaryrefslogtreecommitdiffstats
path: root/libtdepim/configure.in.in
blob: 74914a26ab3885767f40eca22340ab1395dbed32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
AC_MSG_CHECKING([whether to use new-style distribution lists])
AC_ARG_ENABLE(newdistrlists,
AC_HELP_STRING([--disable-newdistrlists],
                [Disables the new distribution lists (which are saved as addressee in the address book as normal contacts, useful for Kolab)]),
                [ enable_new_distrlists=$enableval], [enable_new_distrlists=yes])dnl
if test "$enable_new_distrlists" = "yes" ; then
  AC_DEFINE_UNQUOTED(TDEPIM_NEW_DISTRLISTS, 1, [Define if you want to use the new distribution lists])
  AC_MSG_RESULT(yes)
else
  AC_MSG_RESULT(no)
fi

AM_CONDITIONAL(compile_newdistrlists, test "x$enable_new_distrlists" = "xyes")