summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-05-02 14:49:47 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-05-02 14:49:47 -0700
commit1ff9d8a7c9e5ab784b0bed38e968b3d56c434cad (patch)
tree0fbbf03bd84b0877a636ce8c0bb5b6b46408b810 /configure.ac
parent81a8a71d888d16989a096195dfd96b10fadeba5d (diff)
downloadxorg-lib-libXcomposite-1ff9d8a7c9e5ab784b0bed38e968b3d56c434cad.tar.gz
Give more explicit warning messages if xmlto is needed but not found
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
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