diff options
author | David Wragg <dpw@lshift.net> | 2010-05-25 10:33:49 +0100 |
---|---|---|
committer | David Wragg <dpw@lshift.net> | 2010-05-25 10:33:49 +0100 |
commit | 4dece0a14ea2cc71725821266b8521aa087c5b55 (patch) | |
tree | 41b8155b983751d5a83b47eb340587becfc0ec25 /configure.ac | |
parent | b457754d24725da1cb8ed8c1fcf82114496161c6 (diff) | |
download | rabbitmq-c-4dece0a14ea2cc71725821266b8521aa087c5b55.tar.gz |
Add docbook-based man pages for tools
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 30b7d05..b1ff0bc 100644 --- a/configure.ac +++ b/configure.ac @@ -67,7 +67,7 @@ AC_SUBST(PYTHON) # Check for libpopt, which we need to build the tools AC_ARG_WITH([popt], - [AS_HELP_STRING([--with-popt], [use the popt library. Needed for tools])], + [AS_HELP_STRING([--with-popt], [use the popt library. Needed for tools.])], [], [with_popt=check]) @@ -89,6 +89,20 @@ AS_IF([test "x$LIBPOPT" != "x"], AM_CONDITIONAL(TOOLS, test "x$LIBPOPT" != "x") +AC_ARG_WITH([xmlto], + [AS_HELP_STRING([--with-xmlto], [use the xmlto toolchain. Needed for tools man pages.])], + [], + [with_xmlto=check]) + +XMLTO= +AS_IF([test "x$with_xmlto" != xno], + [AC_CHECK_PROG([XMLTO], [xmlto], [xmlto]) + if test "x$with_xmlto" != xcheck; then + AC_MSG_FAILURE([--with-xmlto was given, but xmlto not found]) + fi]) + +AM_CONDITIONAL(TOOLS_DOC, test "x$XMLTO" != "x") + AC_OUTPUT( Makefile librabbitmq/Makefile |