OSDN Git Service

Enable to track git://github.com/monaka/binutils.git
[pf3gnuchains/pf3gnuchains3x.git] / sid / config / docbuild.m4
diff --git a/sid/config/docbuild.m4 b/sid/config/docbuild.m4
new file mode 100644 (file)
index 0000000..0d7e6d7
--- /dev/null
@@ -0,0 +1,26 @@
+dnl docbuild.m4  -*- m4 -*-
+
+dnl Copyright (C) 2001 Red Hat.
+dnl This file is part of SID and is licensed under the GPL.
+dnl See the file COPYING.SID for conditions for redistribution.
+
+dnl Use RH_DOCBUILD_CHECK in configure.in to configure support for
+dnl building docs from xml/sgml source, when in maintainer mode.
+
+dnl 
+
+AC_DEFUN([RH_DOCBUILD_CHECK], [
+
+dnl check for presence of "links" text web browser
+AC_CHECK_PROG(LINKS,links,true,false)
+AM_CONDITIONAL(HAVE_LINKS, test x$LINKS = xtrue)
+
+dnl check for presence of "xsltproc" XSLT processor
+AC_CHECK_PROG(XSLTPROC,xsltproc,true,false)
+AM_CONDITIONAL(HAVE_XSLTPROC, test x$XSLTPROC = xtrue)
+
+dnl check for presence of "sablotron" XSLT processor
+AC_CHECK_PROG(SABLOTRON,sabcmd,true,false)
+AM_CONDITIONAL(HAVE_SABLOTRON, test x$SABLOTRON = xtrue)
+
+])