Rocco Rutte:
[apps/madmutt.git] / configure.in
index 08240d7..3cdc118 100644 (file)
@@ -16,6 +16,8 @@ fi
 mutt_cv_version=`cat "$srcdir/VERSION"`
 
 AM_INIT_AUTOMAKE(muttng, $mutt_cv_version)
+AC_SUBST([CONFIGURE_DEPENDENCIES], ['$(top_srcdir)/VERSION.in'])
+
 dnl AC_GNU_SOURCE
 
 ifdef([AC_LIBOBJ], , [define([AC_LIBOBJ], [LIB[]OBJS="$LIBOBJS $1.o"])])
@@ -1142,13 +1144,13 @@ case "`uname -s`" in
     AC_MSG_RESULT(FreeBSD)
     ;;
   SunOS)
-    SGML2TXT_CMD="sgml2txt manual || true"
-    SGML2PS_CMD="sgml2latex -p manual || true"
-    SGML2HTML_CMD="sgml2html manual || true"
+    SGML2TXT_CMD="sgml2txt -l manual || true"
+    SGML2PS_CMD="sgml2latex -l -p manual || true"
+    SGML2HTML_CMD="sgml2html -l 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"
+    SGML2TXT_CMD="if linuxdoc -B txt -c latin --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"
     AC_MSG_RESULT(Linux (default))