X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=5b52e6cf1d7ed03c2913f3042c8729ae2a8261ae;hb=66f5611130625d2db2c5106e387ce2fb5b3fc28c;hp=2baaab4998800a482984a2ff2f7438e7cb613675;hpb=9605e865e5fa7afad87f4dfce55de67551421e95;p=free-sw%2Fxcb%2Fproto diff --git a/configure.ac b/configure.ac index 2baaab4..5b52e6c 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 "$XSLTPROC" = "no"; then + AC_MSG_WARN([xmllint not found; unable to validate against schema.]) +fi + xcbincludedir='${includedir}/X11/XCB' AC_SUBST(xcbincludedir)