1
AC_INIT([people-glib], [0.1.0], [ali.sabil@gmail.com], [people-glib])
2
AC_CONFIG_SRCDIR([Makefile.am])
3
AC_CONFIG_HEADERS(config.h)
4
AM_INIT_AUTOMAKE([dist-bzip2])
7
VERSION_MAJOR_MINOR=0.1
8
AC_SUBST(VERSION_MAJOR_MINOR)
9
AC_DEFINE_UNQUOTED(VERSION_MAJOR_MINOR, "$VERSION_MAJOR_MINOR",
10
[library major.minor version])
17
AC_PATH_PROG(VALAC, valac, valac)
26
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED)
27
PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.95, dbus-glib-1 >= 0.74])
29
PEOPLE_GLIB_PKG_DEPS="glib-2.0, gobject-2.0, dbus-1, dbus-glib-1"
30
AC_SUBST(PEOPLE_GLIB_PKG_DEPS)
32
PEOPLE_GLIB_CFLAGS="$GLIB_CFLAGS $DBUS_CFLAGS"
33
AC_SUBST(PEOPLE_GLIB_CFLAGS)
35
PEOPLE_GLIB_LIBS="$GLIB_LIBS $DBUS_LIBS"
36
AC_SUBST(PEOPLE_GLIB_LIBS)
38
AC_CONFIG_FILES([Makefile
40
data/people-glib-uninstalled.pc