X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=configure.in;h=aad23c2d5019477a895c9b38d1307d1a554c7645;hp=45c9d6a882bb7ffed7c842bbf3ee12ca9b676dee;hb=42a4f6bf2d89d9c898c3fbdd849815b79130d631;hpb=f926d24934f003e299db986d6689106ec2dca7f0 diff --git a/configure.in b/configure.in index 45c9d6a..aad23c2 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 -- @@ -1141,6 +1146,12 @@ case "`uname -s`" in SGML2HTML_CMD="sgmlfmt -f html manual.sgml || true" AC_MSG_RESULT(FreeBSD) ;; + SunOS) + SGML2TXT_CMD="sgml2txt manual || true" + SGML2PS_CMD="sgml2latex -p manual || true" + SGML2HTML_CMD="sgml2html manual || true" + AC_MSG_RESULT(Solaris) + ;; *) SGML2TXT_CMD="if linuxdoc -B txt --pass='-P -c' manual ; then uniq < manual.txt | expand > _manual.txt ; rm manual.txt ; col -b < _manual.txt > manual.txt ; rm -rf _manual.txt ; fi || true" SGML2PS_CMD="sgml2latex --output=ps manual || true" @@ -1155,7 +1166,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)