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. ])
- MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS pop.o pop_lib.o pop_auth.o"
+ 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_SUBST(MUTT_LIB_OBJECTS)
AC_SUBST(LIBIMAP)
AC_SUBST(LIBIMAPDEPS)
+AC_SUBST(LIBPOP)
+AC_SUBST(LIBPOPDEPS)
dnl -- iconv/gettext --
po/Makefile.in doc/Makefile contrib/Makefile
muttbug.sh
imap/Makefile
+ pop/Makefile
Muttngrc.head
doc/instdoc.sh)