Rocco Rutte:
[apps/madmutt.git] / configure.in
index c199e96..a64271a 100644 (file)
@@ -735,8 +735,10 @@ dnl -- end socket --
 AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Enable debugging support]),
         [ if test x$enableval = xyes ; then
                 AC_DEFINE(DEBUG,1,[ Define to enable debugging info. ])
+                want_debug=yes
           fi
          ])
+AM_CONDITIONAL(WANT_DEBUG, test x$want_debug = xyes)
 
 AC_ARG_ENABLE(flock, AC_HELP_STRING([--enable-flock], [Use flock() to lock files]),
         [if test $enableval = yes; then
@@ -1146,6 +1148,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"