diff options
Diffstat (limited to 'libtdepim/configure.in.in')
-rw-r--r-- | libtdepim/configure.in.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libtdepim/configure.in.in b/libtdepim/configure.in.in new file mode 100644 index 000000000..c405f31c4 --- /dev/null +++ b/libtdepim/configure.in.in @@ -0,0 +1,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(KDEPIM_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") + |