~super-friends/unity-lens-friends/13.04

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
60
61
62
63
64
65
66
AC_INIT([unity-lens-friends], 0.0)
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])

AM_PROG_VALAC([0.17])
AC_PROG_CC

###########################
# Internationalization
###########################

GETTEXT_PACKAGE="${PACKAGE}"
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the default get text domain])
localedir='$(prefix)/$(DATADIRNAME)/locale'
AC_SUBST(localedir)
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.17])
IT_PROG_INTLTOOL([0.40])


AC_DEFINE_UNQUOTED(LOCALE_DIR, "${PREFIX}/${DATADIRNAME}/locale",[Locale directory])
AC_DEFINE_UNQUOTED(PKGDATADIR, "${PREFIX}/${DATADIRNAME}/${PACKAGE}", [Package data directory])

######################################################
# intltool rule for generating translated .lens file
######################################################
INTLTOOL_LENS_RULE='%.lens: %.lens.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
AC_SUBST(INTLTOOL_LENS_RULE)

DEE_REQUIRED=1.0.0
UNITY_REQUIRED=6.7
PKG_CHECK_MODULES(BASE,
                  glib-2.0
                  gobject-2.0
                  gio-2.0
                  gio-unix-2.0
                  gee-1.0
                  libaccounts-glib
                  pangocairo
                  dee-1.0 >= $DEE_REQUIRED
                  json-glib-1.0
                  gmodule-2.0
                  gsettings-desktop-schemas
                  friends-0.1
                  unity >= $UNITY_REQUIRED)

AC_SUBST(BASE_CFLAGS)
AC_SUBST(BASE_LIBS)

if test "x$with_localinstall" = "xyes"; then
	LENSESDIR="${datadir}/unity/lenses"
else
	LENSESDIR=`$PKG_CONFIG --variable=lensesdir unity`
fi
AC_SUBST(LENSESDIR)


AC_CONFIG_FILES([
	Makefile
	src/Makefile
	data/Makefile
        data/friends.lens.in
	po/Makefile.in
])
AC_OUTPUT