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],
|
2024-04-12 12:40:38 -04:00
|
|
|
1.17.0,
|
2006-02-18 16:49:41 -08:00
|
|
|
[xcb@lists.freedesktop.org])
|
|
|
|
|
AC_CONFIG_SRCDIR([xcb-proto.pc.in])
|
2020-02-22 12:15:21 -08:00
|
|
|
AM_INIT_AUTOMAKE([foreign dist-xz])
|
2006-02-18 16:49:41 -08:00
|
|
|
|
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
|
|
|
|
|
|
2025-10-20 22:04:37 +02:00
|
|
|
AM_PATH_PYTHON([3.6])
|
2008-04-17 19:46:16 -04:00
|
|
|
|
2006-09-25 03:27:27 -07:00
|
|
|
xcbincludedir='${datadir}/xcb'
|
2006-02-18 16:49:41 -08:00
|
|
|
AC_SUBST(xcbincludedir)
|
|
|
|
|
|
2022-06-17 09:43:47 -04:00
|
|
|
AC_CONFIG_FILES([Makefile src/Makefile xcbgen/Makefile xcb-proto.pc])
|
|
|
|
|
AC_OUTPUT
|