X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=configure.in;h=ac5ccf10004a6fdf7448ef7bb42b3f7fafaa2224;hb=36d6553c2d1a80b38e961b95ebbfe0290dd5b002;hp=ab4ad9ced78a73437ed7f92ec031b4aea86efae9;hpb=6650f84c0990f8cd61814f9a43aea5bc870e57ff;p=apps%2Fmadmutt.git diff --git a/configure.in b/configure.in index ab4ad9c..ac5ccf1 100644 --- a/configure.in +++ b/configure.in @@ -494,12 +494,14 @@ dnl -- socket dependencies -- 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 @@ -909,6 +911,8 @@ AC_SUBST(MUTTLIBS) AC_SUBST(MUTT_LIB_OBJECTS) AC_SUBST(LIBIMAP) AC_SUBST(LIBIMAPDEPS) +AC_SUBST(LIBPOP) +AC_SUBST(LIBPOPDEPS) dnl -- iconv/gettext -- @@ -1151,5 +1155,6 @@ AC_OUTPUT(Makefile intl/Makefile m4/Makefile po/Makefile.in doc/Makefile contrib/Makefile muttbug.sh imap/Makefile + pop/Makefile Muttngrc.head doc/instdoc.sh)