[WINEDOCS] Warn if docbook2html is missing

Francois Gouget fgouget at codeweavers.com
Thu May 26 05:54:36 CDT 2005


The configure script should warn the user if docbook2html and db2html 
are missing as this will make it impossible to generate the Html 
documentation. In fact it is even worse since the same package also 
provides the tools to generate the PDF, Postscript and text formats.

You will need to regenerate the configure script.

Changelog:

  * configure.ac

    Francois Gouget <fgouget at codeweavers.com>
    Warn the user if docbook2html is missing. Offer hints as to which 
packages he needs to install.

-- 
Francois Gouget
fgouget at codeweavers.com

-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /cvsroot/wine/docs/configure.ac,v
retrieving revision 1.2
diff -u -p -r1.2 configure.ac
--- configure.ac	18 May 2005 19:31:03 -0000	1.2
+++ configure.ac	26 May 2005 10:33:14 -0000
@@ -27,6 +27,18 @@ fr/Makefile
 
 AC_OUTPUT
 
+
+if test "$DB2HTML" = "false"
+then
+  echo
+  echo "*** Note: Your system appears to be missing docbook2html and db2html"
+  echo "*** which is needed to convert the documentation to HTML."
+  echo "*** To remedy this you will need one of the following packages"
+  echo "***  - Debian:        docbook-utils"
+  echo "***  - Fedora Core:   docbook-utils"
+  echo "***  - SUSE:          docbook-utils"
+fi
+
 echo
 echo "Configure finished.  Do '${ac_make}' to compile the documentation."
 echo


More information about the wine-patches mailing list