-
Notifications
You must be signed in to change notification settings - Fork 80
/
configure.ac
59 lines (45 loc) · 1.4 KB
/
configure.ac
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
49
50
51
52
53
54
55
56
57
58
59
AC_INIT([sugar-toolkit-gtk3],[0.121],[],[sugar-toolkit-gtk3])
AC_PREREQ([2.71])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([configure.ac])
AM_INIT_AUTOMAKE([1.9 foreign dist-xz no-dist-gzip])
AM_MAINTAINER_MODE
AC_DISABLE_STATIC
LT_INIT
GNOME_COMPILE_WARNINGS(maximum)
AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
AC_ARG_WITH([python2],
AS_HELP_STRING([--with-python2], [build for Python 2]),
[with_python3=no], [with_python2=unset])
AC_ARG_WITH([python3],
AS_HELP_STRING([--with-python3], [build for Python 3 (default)]),
[], [with_python3=unset])
AS_IF([test "x$with_python3" != xno],
[AM_PATH_PYTHON([3])],
[AS_IF([test "x$with_python2" = xyes], [AM_PATH_PYTHON([2.7])],)])
PKG_CHECK_MODULES(EXT, gtk+-3.0 gdk-3.0 gdk-pixbuf-2.0 sm ice alsa
librsvg-2.0 xfixes xi x11)
GLIB_MKENUMS=`$PKG_CONFIG glib-2.0 --variable=glib_mkenums`
AC_SUBST(GLIB_MKENUMS)
IT_PROG_INTLTOOL([0.35.0])
GETTEXT_PACKAGE=sugar-toolkit-gtk3
AC_SUBST([GETTEXT_PACKAGE])
AM_GLIB_GNU_GETTEXT
GOBJECT_INTROSPECTION_REQUIRE([1.30.0])
AC_CONFIG_FILES([
Makefile
bin/Makefile
src/Makefile
src/sugar3/Makefile
src/sugar3/activity/Makefile
src/sugar3/bundle/Makefile
src/sugar3/graphics/Makefile
src/sugar3/event-controller/Makefile
src/sugar3/presence/Makefile
src/sugar3/datastore/Makefile
src/sugar3/dispatch/Makefile
src/sugar3/test/Makefile
src/sugar3/config.py
po/Makefile.in
])
AC_OUTPUT