use dbus interface and define throw clauses for all dbus methods
[dbus-hlid.git] / configure.ac
blob61315d4af230981fa90919747391c78b65ef7551
1 AC_INIT([dbus-hlid], [1.0.1], [mlauer@vanille-media.de], [dbus-hlid])
2 AC_CONFIG_SRCDIR([Makefile.am])
3 AC_CONFIG_HEADERS(config.h)
4 AM_INIT_AUTOMAKE([dist-bzip2])
6 AC_PROG_CC
7 AM_PROG_CC_C_O
8 AC_PROG_LIBTOOL
10 AC_PATH_PROG(VALAC, valac, valac)
11 AC_SUBST(VALAC)
13 AC_SUBST(CFLAGS)
14 AC_SUBST(CPPFLAGS)
15 AC_SUBST(LDFLAGS)
17 VALA_REQUIRED=0.7.1
18 GLIB_REQUIRED=2.12.0
19 DBUS_REQUIRED=0.76
21 PKG_CHECK_MODULES(VALA,
22   vala-1.0 >= $VALA_REQUIRED)
24 PKG_CHECK_MODULES(DEPS,
25   glib-2.0 >= $GLIB_REQUIRED
26   gobject-2.0 >= $GLIB_REQUIRED
27   dbus-glib-1 >= $DBUS_REQUIRED)
28 AC_SUBST(DEPS_CFLAGS)
29 AC_SUBST(DEPS_LIBS)
31 AC_CONFIG_FILES([
32         Makefile
33         data/Makefile])
35 AC_OUTPUT