From: Peter Simons <sim...@cryp.to>

This adds docbook2man as an alternative name for the docbook compiler.
As that name was used on Debian based systems for an older version of the tool,
this change also adds a check so that docbook2man is never used on Debian based
systems.

Reported-by: Peter Simons <sim...@cryp.to>
Reported-by: Christian Bühler christ...@cbuehler.de
Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 configure.ac | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 7dc82cf..9b58bab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,8 +66,14 @@ AC_ARG_ENABLE([doc],
 if test "x$enable_doc" = "xyes" -o "x$enable_doc" = "xauto"; then
        db2xman=""
 
+       if test "x$with_distro" = "xdebian" -o "x$with_distro" = "xubuntu"; then
+               dbparsers="docbook2x-man db2x_docbook2man"
+       else
+               dbparsers="docbook2x-man db2x_docbook2man docbook2man"
+       fi
+
        AC_MSG_CHECKING(for docbook2x-man)
-       for name in docbook2x-man db2x_docbook2man; do
+       for name in ${dbparsers}; do
                if "$name" --help >/dev/null 2>&1; then
                        db2xman="$name"
                        break;
-- 
1.8.1.2


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to