~laney/ubiquity/1572793

779.1.1 by Colin Watson
* Add e-map widget, cut-and-pasted from evolution via gnome-system-tools
1
AC_PREREQ(2.52)
6230 by Colin Watson
Bump to 2.21.
2
AC_INIT([ubiquity], [2.21], [https://launchpad.net/ubuntu/+source/ubiquity/+filebug])
4123.1.39 by Evan Dandrea
Add an installer session panel.
3
AC_CONFIG_SRCDIR([src/panel/panel.c])
1603 by Colin Watson
* Move auxiliary autotools files to a build subdirectory.
4
AC_CONFIG_AUX_DIR([build])
2757 by Colin Watson
AC_CONFIG_MACRO_DIR
5
AC_CONFIG_MACRO_DIR([m4])
779.1.1 by Colin Watson
* Add e-map widget, cut-and-pasted from evolution via gnome-system-tools
6
AM_INIT_AUTOMAKE([foreign])
7
3882 by Colin Watson
Drop real UID/GID when initialising KApplication. The real and
8
AM_CONFIG_HEADER([config.h])
9
779.1.1 by Colin Watson
* Add e-map widget, cut-and-pasted from evolution via gnome-system-tools
10
AM_MAINTAINER_MODE
11
3882 by Colin Watson
Drop real UID/GID when initialising KApplication. The real and
12
AM_PROG_LIBTOOL
13
1237 by Colin Watson
gettextize
14
AM_GNU_GETTEXT([external])
2491 by Colin Watson
* Use 'autoreconf -fi' so that Autotools files reliably get upgraded.
15
AM_GNU_GETTEXT_VERSION([0.17])
1237 by Colin Watson
gettextize
16
3401 by Colin Watson
Recent versions of intltool need GETTEXT_PACKAGE. It's great that that
17
GETTEXT_PACKAGE=ubiquity
18
AC_SUBST([GETTEXT_PACKAGE])
2872 by Colin Watson
Fix intltool handling; po/Makefile.in.in was still coming from gettext.
19
IT_PROG_INTLTOOL([0.40.0], [no-xml])
1236 by Colin Watson
intltoolize
20
3882 by Colin Watson
Drop real UID/GID when initialising KApplication. The real and
21
AC_PROG_CC
779.1.1 by Colin Watson
* Add e-map widget, cut-and-pasted from evolution via gnome-system-tools
22
AC_PROG_INSTALL
23
AC_PROG_MAKE_SET
24
4789.1.1 by Evan Dandrea
Initial commit of webcam work.
25
GTK3_REQUIRED=3.1.4
26
GIO_REQUIRED=2.5.11
5966.1.1 by Lars Uebernickel
panel.c: port to new indicator architecture
27
INDICATOR_REQUIRED=12.10.2
28
IDO_REQUIRED=13.10.1
4123.1.39 by Evan Dandrea
Add an installer session panel.
29
30
if test "x$UBIQUITY_NO_GTK" = x; then
4123.1.52 by Evan Dandrea
Add cheese python bindings.
31
  PKG_CHECK_MODULES(PANEL, [glib-2.0
4949 by Evan Dandrea
Port the panel to GTK3.
32
			  gtk+-3.0 >= $GTK3_REQUIRED
5966.1.1 by Lars Uebernickel
panel.c: port to new indicator architecture
33
			  indicator3-0.4 >= $INDICATOR_REQUIRED
34
			  libido3-0.1 >= $IDO_REQUIRED
4123.1.39 by Evan Dandrea
Add an installer session panel.
35
			  x11])
4123.1.52 by Evan Dandrea
Add cheese python bindings.
36
  AC_SUBST(PANEL_CFLAGS)
37
  AC_SUBST(PANEL_LIBS)
4949 by Evan Dandrea
Port the panel to GTK3.
38
  PKG_CHECK_MODULES(WALLPAPER, [glib-2.0
39
			  gtk+-3.0 >= $GTK3_REQUIRED
40
			  x11])
41
  AC_SUBST(WALLPAPER_CFLAGS)
42
  AC_SUBST(WALLPAPER_LIBS)
5182 by Colin Watson
Use a mock resolver during usersetup tests to avoid failing in certain
43
  PKG_CHECK_MODULES(MOCK_RESOLVER, [glib-2.0
44
			  gio-2.0])
45
  AC_SUBST(MOCK_RESOLVER_CFLAGS)
46
  AC_SUBST(MOCK_RESOLVER_LIBS)
4789.1.1 by Evan Dandrea
Initial commit of webcam work.
47
  GOBJECT_INTROSPECTION_CHECK([0.6.7])
4123.1.39 by Evan Dandrea
Add an installer session panel.
48
  AC_CONFIG_FILES(
49
	src/Makefile
4941 by Evan Dandrea
Use a small C program to set the desktop wallpaper (LP: #830061).
50
	src/wallpaper/Makefile
4123.1.39 by Evan Dandrea
Add an installer session panel.
51
	src/panel/Makefile
5182 by Colin Watson
Use a mock resolver during usersetup tests to avoid failing in certain
52
	src/mockresolver/Makefile
4123.1.39 by Evan Dandrea
Add an installer session panel.
53
	)
54
else
4949 by Evan Dandrea
Port the panel to GTK3.
55
  AC_SUBST(PANEL_CFLAGS, [""])
56
  AC_SUBST(PANEL_LIBS, [""])
57
  AC_SUBST(WALLPAPER_CFLAGS, [""])
58
  AC_SUBST(WALLPAPER_LIBS, [""])
4123.1.39 by Evan Dandrea
Add an installer session panel.
59
fi
60
779.1.5 by Colin Watson
fix pixmaps directory
61
AC_DEFINE_UNQUOTED(PIXMAPS_DIR, "${datadir}/${PACKAGE}/pixmaps", [pixmaps directory])
62
pixmapsdir="${datadir}/${PACKAGE}/pixmaps"
3294 by Colin Watson
better m4 quoting
63
AC_SUBST([pixmapsdir])
779.1.1 by Colin Watson
* Add e-map widget, cut-and-pasted from evolution via gnome-system-tools
64
5966.1.1 by Lars Uebernickel
panel.c: port to new indicator architecture
65
INDICATOR_DIR=${datadir}/unity/indicators
66
AC_SUBST(INDICATOR_DIR)
67
3294 by Colin Watson
better m4 quoting
68
AC_CONFIG_FILES([
1739 by Colin Watson
* Configure and build the desktop, pixmaps, and po subdirectories even if
69
	Makefile
5953.1.1 by Jeremy Bicha
* Automatic update of included source packages: grub-installer
70
	data/Makefile
71
	data/icons/Makefile
1739 by Colin Watson
* Configure and build the desktop, pixmaps, and po subdirectories even if
72
	pixmaps/Makefile
73
	po/Makefile.in
3294 by Colin Watson
better m4 quoting
74
	])
1739 by Colin Watson
* Configure and build the desktop, pixmaps, and po subdirectories even if
75
AC_OUTPUT
4123.1.52 by Evan Dandrea
Add cheese python bindings.
76