From: pdmef Date: Fri, 18 Mar 2005 17:14:19 +0000 (+0000) Subject: Rocco Rutte: X-Git-Url: http://git.madism.org/?a=commitdiff_plain;ds=sidebyside;h=6650f84c0990f8cd61814f9a43aea5bc870e57ff;p=apps%2Fmadmutt.git Rocco Rutte: fix sgml tools "detection" git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@199 e385b8ad-14ed-0310-8656-cc95a2468c6d --- diff --git a/configure.in b/configure.in index 7b37365..ab4ad9c 100644 --- a/configure.in +++ b/configure.in @@ -1126,6 +1126,9 @@ dnl -- end libesmtp -- dnl -- sgml tools -- AC_MSG_CHECKING([for SGML Tools style]) +SGML2TXT_CMD="true" +SGML2PS_CMD="true" +SGML2HTML_CMD="true" case "`uname -s`" in FreeBSD) SGML2TXT_CMD="sgmlfmt -f ascii manual.sgml && uniq < manual.ascii | expand > manual.txt && rm -rf manual.ascii || true" @@ -1133,7 +1136,7 @@ case "`uname -s`" in SGML2HTML_CMD="sgmlfmt -f html manual.sgml || true" AC_MSG_RESULT(FreeBSD) ;; - default) + *) 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" SGML2HTML_CMD="sgml2html manual || true"