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

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Ken VanDine
  • Date: 2012-10-17 04:41:32 UTC
  • Revision ID: ken.vandine@canonical.com-20121017044132-rlomq1ajqq383y5l
MakeĀ itĀ build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
AC_INIT([unity-lens-friends], 0.0)
2
2
AM_INIT_AUTOMAKE
 
3
AC_CONFIG_HEADERS([config.h])
 
4
 
3
5
AM_PROG_VALAC([0.17])
4
6
AC_PROG_CC
5
7
 
 
8
###########################
 
9
# Internationalization
 
10
###########################
 
11
 
 
12
GETTEXT_PACKAGE="${PACKAGE}"
 
13
AC_SUBST(GETTEXT_PACKAGE)
 
14
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the default get text domain])
 
15
localedir='$(prefix)/$(DATADIRNAME)/locale'
 
16
AC_SUBST(localedir)
 
17
AM_GNU_GETTEXT([external])
 
18
AM_GNU_GETTEXT_VERSION([0.17])
 
19
IT_PROG_INTLTOOL([0.40])
 
20
 
 
21
 
 
22
AC_DEFINE_UNQUOTED(LOCALE_DIR, "${PREFIX}/${DATADIRNAME}/locale",[Locale directory])
 
23
AC_DEFINE_UNQUOTED(PKGDATADIR, "${PREFIX}/${DATADIRNAME}/${PACKAGE}", [Package data directory])
 
24
 
 
25
######################################################
 
26
# intltool rule for generating translated .lens file
 
27
######################################################
 
28
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 $< [$]@'
 
29
AC_SUBST(INTLTOOL_LENS_RULE)
 
30
 
6
31
DEE_REQUIRED=1.0.0
7
32
UNITY_REQUIRED=6.7
8
33
PKG_CHECK_MODULES(BASE,
17
42
                  json-glib-1.0
18
43
                  gmodule-2.0
19
44
                  gsettings-desktop-schemas
 
45
                  friends-0.1
20
46
                  unity >= $UNITY_REQUIRED)
21
47
 
22
48
AC_SUBST(BASE_CFLAGS)
33
59
AC_CONFIG_FILES([
34
60
        Makefile
35
61
        src/Makefile
 
62
        data/Makefile
 
63
        data/friends.lens.in
36
64
])
37
65
AC_OUTPUT