X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=configure.in;h=c199e96fb6bb5e223a3881af680dee1b0a873f6c;hp=45c9d6a882bb7ffed7c842bbf3ee12ca9b676dee;hb=1b7e35d0720400f2566023146257c0a3bf89ce87;hpb=f926d24934f003e299db986d6689106ec2dca7f0 diff --git a/configure.in b/configure.in index 45c9d6a..c199e96 100644 --- a/configure.in +++ b/configure.in @@ -519,10 +519,13 @@ AM_CONDITIONAL(BUILD_IMAP, test x$need_imap = xyes) AC_ARG_ENABLE(nntp, [ --enable-nntp Enable NNTP support], [ if test x$enableval = xyes ; then AC_DEFINE(USE_NNTP) - MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS nntp.o newsrc.o" + LIBNNTP="-Lnntp -lnntp" + LIBNNTPDEPS="\$(top_srcdir)/nntp/nntp.h nntp/libnntp.a" + need_nntp="yes" need_socket="yes" fi ]) +AM_CONDITIONAL(BUILD_NNTP, test x$need_nntp = xyes) dnl -- end socket dependencies -- @@ -914,6 +917,8 @@ AC_SUBST(LIBIMAP) AC_SUBST(LIBIMAPDEPS) AC_SUBST(LIBPOP) AC_SUBST(LIBPOPDEPS) +AC_SUBST(LIBNNTP) +AC_SUBST(LIBNNTPDEPS) dnl -- iconv/gettext -- @@ -1155,7 +1160,9 @@ AC_SUBST(SGML2HTML_CMD) AC_OUTPUT(Makefile intl/Makefile m4/Makefile po/Makefile.in doc/Makefile contrib/Makefile muttbug.sh + lib/Makefile imap/Makefile pop/Makefile + nntp/Makefile Muttngrc.head doc/instdoc.sh)