New tool to annotate XML-XCB <field>s with their size in bytes.
[free-sw/xcb/proto] / configure.ac
index 2baaab4..5c1044d 100644 (file)
@@ -2,12 +2,18 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.57)
-AC_INIT([XCBProto],
+AC_INIT([XCB Proto],
         0.9,
         [xcb@lists.freedesktop.org])
 AC_CONFIG_SRCDIR([xcb-proto.pc.in])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 
+AC_PATH_PROG(XMLLINT, xmllint, no)
+AM_CONDITIONAL(HAVE_XMLLINT, test "x$XMLLINT" != "xno")
+if test "$XMLLINT" = "no"; then
+   AC_MSG_WARN([xmllint not found; unable to validate against schema.])
+fi
+
 xcbincludedir='${includedir}/X11/XCB'
 AC_SUBST(xcbincludedir)