1 AC_INIT(gmyth-dbus,0.7.0)
3 AC_CONFIG_SRCDIR(configure.ac)
8 AM_INIT_AUTOMAKE(1.6 dist-bzip2)
9 AM_CONFIG_HEADER(config.h)
11 dnl make aclocal work in maintainer mode
12 AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
21 # Checks required packages ####################################################
22 ###############################################################################
24 AC_PATH_PROG(DBUSBINDINGTOOL, dbus-binding-tool, no)
25 if test "x$DBUSBINDINGTOOL" = "xno"; then
26 AC_MSG_ERROR([dbus-binding-tool not found in your PATH. Please correct this])
28 AC_SUBST(DBUS_BINDING_TOOL)
30 AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
31 if test "x$HAVE_PKGCONFIG" = "xno"; then
32 AC_MSG_ERROR(you need to have pkgconfig installed !)
35 PKG_CHECK_MODULES(DBUS, dbus-glib-1, HAVE_DBUS=yes, HAVE_DBUS=no)
36 if test "x$HAVE_DBUS" = "xno"; then
37 AC_MSG_ERROR(you need dbus-glib-1-dev installed)
42 PKG_CHECK_MODULES(GMYTH, gmyth >= 0.7, HAVE_GMYTH=yes, HAVE_GMYTH=no)
43 if test "x$HAVE_GMYTH" = "xno"; then
44 AC_MSG_ERROR(you need libgmyth-dev >= 0.7 installed)
46 AC_SUBST(GMYTH_CFLAGS)
57 data/br.org.indt.GMyth.service