Fixes for window fade-outs
[dana/xcompmgr.git] / configure.ac
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ(2.57)
5 AC_INIT([xcompmgr], [1.1.3], [xorg@freedesktop.org])
6 AC_CONFIG_SRCDIR([xcompmgr.c])
7 AM_INIT_AUTOMAKE([dist-bzip2 foreign])
8 AM_MAINTAINER_MODE
9 AC_CONFIG_HEADER([config.h])
10
11 # Checks for programs.
12 AC_PROG_CC
13
14 # Checks for header files.
15 AC_HEADER_STDC
16 AC_CHECK_HEADERS([stdlib.h sys/time.h unistd.h])
17
18 # Checks for typedefs, structures, and compiler characteristics.
19 AC_HEADER_TIME
20 AC_STRUCT_TM
21
22 # Checks for library functions.
23 AC_FUNC_MALLOC
24 AC_CHECK_FUNCS([gettimeofday localtime_r])
25
26 PKG_CHECK_MODULES(XCOMPMGR, xcomposite xfixes xdamage xrender)
27
28 AC_CONFIG_FILES([Makefile])
29 AC_OUTPUT