X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=737422a215cf583c39b78ce62a9b9f8727a404c3;hb=d0cf02d9d6dce3f7bc92d6b59feb4b5a42ebd305;hp=2baaab4998800a482984a2ff2f7438e7cb613675;hpb=9605e865e5fa7afad87f4dfce55de67551421e95;p=free-sw%2Fxcb%2Fproto diff --git a/configure.ac b/configure.ac index 2baaab4..737422a 100644 --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,12 @@ AC_INIT([XCBProto], 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)