2006-02-18 16:49:41 -08:00
|
|
|
# -*- Autoconf -*-
|
|
|
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
|
|
|
|
|
|
AC_PREREQ(2.57)
|
2006-04-15 19:39:39 -07:00
|
|
|
AC_INIT([XCB Proto],
|
2006-02-18 16:49:41 -08:00
|
|
|
0.9,
|
|
|
|
|
[xcb@lists.freedesktop.org])
|
|
|
|
|
AC_CONFIG_SRCDIR([xcb-proto.pc.in])
|
|
|
|
|
AM_INIT_AUTOMAKE([foreign dist-bzip2])
|
|
|
|
|
|
2006-03-04 18:29:40 -08:00
|
|
|
AC_PATH_PROG(XMLLINT, xmllint, no)
|
|
|
|
|
AM_CONDITIONAL(HAVE_XMLLINT, test "x$XMLLINT" != "xno")
|
2006-03-05 00:49:04 -08:00
|
|
|
if test "$XMLLINT" = "no"; then
|
2006-03-04 18:29:40 -08:00
|
|
|
AC_MSG_WARN([xmllint not found; unable to validate against schema.])
|
|
|
|
|
fi
|
|
|
|
|
|
2006-02-18 16:49:41 -08:00
|
|
|
xcbincludedir='${includedir}/X11/XCB'
|
|
|
|
|
AC_SUBST(xcbincludedir)
|
|
|
|
|
|
|
|
|
|
AC_OUTPUT([Makefile src/Makefile xcb-proto.pc])
|