From 9831db88ee8e69dc6cf8fad0ac83d40bedd5c463 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 29 May 2008 12:45:57 +0930 Subject: Don't fail man build when missing xmlto. If xmlto is missing during configure, print out a warning and just do an empty man build with no man pages at all. Better than failing with obscure errors. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c5703ce..92ff3c8 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,9 @@ AC_SUBST(XI_LIBS) AC_ARG_VAR([XMLTO], [Path to xmlto command]) AC_PATH_PROG([XMLTO], [xmlto]) AM_CONDITIONAL([HAVE_XMLTO], [test "x$XMLTO" != "x"]) +if test "x$XMLTO" = "x"; then + AC_MSG_WARN([xmlto not found - cannot create man pages without it]) +fi XORG_CHECK_MALLOC_ZERO XORG_MANPAGE_SECTIONS -- cgit v1.2.3