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