Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
[free-sw/xcb/proto] / configure.ac
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ(2.57)
5 AC_INIT([XCB Proto],
6         0.9,
7         [xcb@lists.freedesktop.org])
8 AC_CONFIG_SRCDIR([xcb-proto.pc.in])
9 AM_INIT_AUTOMAKE([foreign dist-bzip2])
10
11 AC_PATH_PROG(XMLLINT, xmllint, no)
12 AM_CONDITIONAL(HAVE_XMLLINT, test "x$XMLLINT" != "xno")
13 if test "$XMLLINT" = "no"; then
14    AC_MSG_WARN([xmllint not found; unable to validate against schema.])
15 fi
16
17 xcbincludedir='${includedir}/X11/XCB'
18 AC_SUBST(xcbincludedir)
19
20 AC_OUTPUT([Makefile src/Makefile xcb-proto.pc])