1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4# Initialize Autoconf
5AC_PREREQ(2.60)
6AC_INIT([xcompmgr], [1.1.8],
7        [https://gitlab.freedesktop.org/xorg/app/xcompmgr/issues])
8AC_CONFIG_SRCDIR([xcompmgr.c])
9AC_CONFIG_HEADERS([config.h])
10
11# Initialize Automake
12AM_INIT_AUTOMAKE([foreign dist-bzip2])
13
14# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
15m4_ifndef([XORG_MACROS_VERSION],
16	  [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
17XORG_MACROS_VERSION(1.8)
18XORG_DEFAULT_OPTIONS
19
20PKG_CHECK_MODULES(XCOMPMGR, xcomposite xfixes xdamage xrender xext)
21
22AC_CONFIG_FILES([
23	Makefile
24	man/Makefile])
25AC_OUTPUT
26