-AC_ARG_ENABLE(pop, AC_HELP_STRING([--enable-pop], [Enable POP3 support]),
-[ if test x$enableval = xyes ; then
- AC_DEFINE(USE_POP,1,[ Define if you want support for the POP3 protocol. ])
- LIBPOP="-Lpop -lpop"
- LIBPOPDEPS="\$(top_srcdir)/pop/pop.h pop/libpop.a"
- need_socket="yes"
- need_pop="yes"
- need_md5="yes"
- fi
-])
-AM_CONDITIONAL(BUILD_POP, test x$need_pop = xyes)
-
-AC_ARG_ENABLE(imap, AC_HELP_STRING([--enable-imap], [Enable IMAP support]),
-[ if test x$enableval = xyes ; then
- AC_DEFINE(USE_IMAP,1,[ Define if you want support for the IMAP protocol. ])
- LIBIMAP="-Limap -limap"
- LIBIMAPDEPS="\$(top_srcdir)/imap/imap.h imap/libimap.a"
- need_imap="yes"
- need_socket="yes"
- need_md5="yes"
- fi
-])
-AM_CONDITIONAL(BUILD_IMAP, test x$need_imap = xyes)
-