blob: cac2ab3610b0add91eadb2d996b31e1c47745a06 (
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
47
48
|
AC_PREREQ([2.63])
AC_INIT([caribou],
[0.0.2],
[https://bugzilla.gnome.org/enter_bug.cgi?product=caribou],
[caribou])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.11])
AM_MAINTAINER_MODE([enable])
# Support silent build rules. Disable by either passing --disable-silent-rules
# to configure or passing V=1 to make
AM_SILENT_RULES([yes])
dnl == check for python ==
AM_PATH_PYTHON(2.4)
dnl == Library dependencies ==
PYGTK_REQUIRED=2.16
PYCLUTTER_REQUIRED=1.0
PKG_CHECK_MODULES(CARIBOU, [
pygtk-2.0 >= $PYGTK_REQUIRED,
pyclutter-1.0 >= $PYCLUTTER_REQUIRED])
AC_SUBST(CARIBOU_CFLAGS)
AC_SUBST(CARIBOU_LIBS)
dnl == i18n ==
#GETTEXT_PACKAGE=caribou
#AC_SUBST(GETTEXT_PACKAGE)
#AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package])
#AM_GLIB_GNU_GETTEXT
dnl == intltool check ==
#IT_PROG_INTLTOOL([0.35.0])
dnl == Documentation ==
GNOME_DOC_INIT
dnl == generate makefiles ==
AC_OUTPUT([
Makefile
caribou/Makefile
caribou/keyboards/Makefile
bin/Makefile
bin/caribou
data/Makefile
])
|