~unity-team/unity-lens-sample/trunk

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Michal Hruby
  • Date: 2012-01-30 22:06:04 UTC
  • Revision ID: michal.mhr@gmail.com-20120130220604-vs5dwe3j2y7v8vqi
Update for libunity 5.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AC_INIT(unity-place-sample, 0.1.0, https://launchpad.net/unity-place-sample)
2
 
AC_COPYRIGHT([Copyright 2010 Canonical])
 
1
AC_INIT(unity-lens-sample, 0.2.0, https://launchpad.net/unity-lens-sample)
 
2
AC_COPYRIGHT([Copyright 2010-2012 Canonical])
3
3
 
4
4
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
5
5
 
16
16
# Init the other things we depend on
17
17
#####################################################
18
18
AM_MAINTAINER_MODE
19
 
AM_PROG_VALAC([0.9.0])
 
19
AM_PROG_VALAC([0.14.0])
20
20
AS_IF([test -z "$VALAC"], [AC_MSG_ERROR(["No valac compiler found."])])
21
21
AC_PROG_CC
22
22
AM_PROG_CC_C_O
46
46
AC_DEFINE_UNQUOTED(PREFIXDIR, "${PREFIX}",[Prefix directory])
47
47
 
48
48
######################################################
49
 
# intltool rule for generating translated .place file
 
49
# intltool rule for generating translated .lens file
50
50
######################################################
51
 
INTLTOOL_PLACE_RULE='%.place: %.place.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 $< [$]@'
52
 
AC_SUBST(INTLTOOL_PLACE_RULE)
 
51
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 $< [$]@'
 
52
AC_SUBST(INTLTOOL_LENS_RULE)
53
53
 
54
54
#####################################################
55
55
# Check for module and library dependancies
56
56
#####################################################
57
 
GLIB_REQUIRED=2.22
58
 
PKG_CHECK_MODULES(PLACE_DAEMON,
 
57
GLIB_REQUIRED=2.26
 
58
PKG_CHECK_MODULES(LENS_DAEMON,
59
59
                  glib-2.0 >= $GLIB_REQUIRED
60
60
                  gobject-2.0 >= $GLIB_REQUIRED
61
61
                  gio-2.0 >= $GLIB_REQUIRED
62
62
                  gio-unix-2.0 >= $GLIB_REQUIRED
63
63
                  gee-1.0
64
 
                  dee-1.0 >= 0.5.10
65
 
                  unity >= 3.4.6)
 
64
                  dee-1.0 >= 0.9
 
65
                  unity >= 5.0.0)
66
66
 
67
 
AC_SUBST(PLACE_DAEMON_CFLAGS)
68
 
AC_SUBST(PLACE_DAEMON_LIBS)
 
67
AC_SUBST(LENS_DAEMON_CFLAGS)
 
68
AC_SUBST(LENS_DAEMON_LIBS)
69
69
 
70
70
#####################################################
71
71
# local install for distcheck and stand-alone running
103
103
#####################################################
104
104
AC_CONFIG_FILES([
105
105
  Makefile
106
 
  sample.place.in
 
106
  sample.lens.in
107
107
  data/Makefile
108
108
  src/Makefile
109
109
  src/config.vala
116
116
#####################################################
117
117
AC_MSG_NOTICE([
118
118
 
119
 
  Unity Sample Place Daemon $VERSION
 
119
  Unity Sample Lens Daemon $VERSION
120
120
  -------------------------------
121
121
 
122
122
  Prefix         : ${prefix}
123
 
  
 
123
 
124
124
  Local install  : ${with_localinstall}
125
125
 
126
126
  Extra CFlags   : ${CPPFLAGS} $MAINTAINER_CFLAGS