From 1ff9d8a7c9e5ab784b0bed38e968b3d56c434cad Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 2 May 2007 14:49:47 -0700 Subject: Give more explicit warning messages if xmlto is needed but not found --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 62100d4..dd50ea4 100644 --- a/configure.ac +++ b/configure.ac @@ -47,6 +47,9 @@ AC_PROG_LIBTOOL 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" -a ! -f $srcdir/man/Xcomposite.man ; then + AC_MSG_WARN([xmlto not found - cannot create man pages without it]) +fi # Check compositeext configuration, strip extra digits from package version to # find the required protocol version -- cgit v1.2.1