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])
4
4
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
46
46
AC_DEFINE_UNQUOTED(PREFIXDIR, "${PREFIX}",[Prefix directory])
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)
54
54
#####################################################
55
55
# Check for module and library dependancies
56
56
#####################################################
58
PKG_CHECK_MODULES(PLACE_DAEMON,
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
67
AC_SUBST(PLACE_DAEMON_CFLAGS)
68
AC_SUBST(PLACE_DAEMON_LIBS)
67
AC_SUBST(LENS_DAEMON_CFLAGS)
68
AC_SUBST(LENS_DAEMON_LIBS)
70
70
#####################################################
71
71
# local install for distcheck and stand-alone running
116
116
#####################################################
119
Unity Sample Place Daemon $VERSION
119
Unity Sample Lens Daemon $VERSION
120
120
-------------------------------
122
122
Prefix : ${prefix}
124
124
Local install : ${with_localinstall}
126
126
Extra CFlags : ${CPPFLAGS} $MAINTAINER_CFLAGS