blob: 27fd98238060dd3381f2bfc2f9c49380235890c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
AC_PREREQ(2.57)
AC_INIT([compizconfig-python],esyscmd(. ./VERSION;echo -n $VERSION), [livinglatexkali@gmail.com])
AM_INIT_AUTOMAKE([1.9 dist-bzip2])
AC_CONFIG_HEADER([config.h])
AM_MAINTAINER_MODE
AC_ISC_POSIX
AC_PROG_CC
AC_PROG_CPP
AC_PROG_LIBTOOL
AC_HEADER_STDC
CCS_REQUIRES="\
libcompizconfig >= 0.6.99 \
glib-2.0 >= 2.6 "
PKG_CHECK_MODULES(CCS,$CCS_REQUIRES)
AC_SUBST(CCS_REQUIRES)
dnl PYTHON SPECIFIC
m4_define(required_python_abi,2.4)
AM_PATH_PYTHON
if test "$PYTHON_VERSION" = "2.4"
then
AM_PATH_PYTHON_VERSION(2.4,2.4.0)
else
AM_PATH_PYTHON_VERSION(2.5,2.5.0)
fi
AC_CHECK_PROGS(PYREX, pyrexc)
if test -z "$PYREX"
then
AC_MSG_ERROR([Couldn't find Pyrex])
fi
AC_CONFIG_FILES([
compizconfig-python.pc
Makefile
src/Makefile
])
AC_OUTPUT
|