X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=d140bfe704ace1e280418a5b4e123c6d0b871ae7;hb=2dee213bbfbfda5e3f202b12e1af3f3f75a16be8;hp=2baaab4998800a482984a2ff2f7438e7cb613675;hpb=9605e865e5fa7afad87f4dfce55de67551421e95;p=free-sw%2Fxcb%2Fproto diff --git a/configure.ac b/configure.ac index 2baaab4..d140bfe 100644 --- a/configure.ac +++ b/configure.ac @@ -2,13 +2,21 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT([XCBProto], - 0.9, +AC_INIT([XCB Proto], + 1.11, [xcb@lists.freedesktop.org]) AC_CONFIG_SRCDIR([xcb-proto.pc.in]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) -xcbincludedir='${includedir}/X11/XCB' +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 + +AM_PATH_PYTHON([2.5]) + +xcbincludedir='${datadir}/xcb' AC_SUBST(xcbincludedir) -AC_OUTPUT([Makefile src/Makefile xcb-proto.pc]) +AC_OUTPUT([Makefile src/Makefile xcbgen/Makefile xcb-proto.pc])