catch up with vala
[dbus-hlid.git] / configure.ac
blob5590b14621cc5980bf31c1cde1a5ae468c0dcb94
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])
5 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
7 AC_PROG_CC
8 AM_PROG_CC_C_O
9 AC_GNU_SOURCE
10 AC_PROG_LIBTOOL
12 VALA_REQUIRED=0.11.2
13 AC_PATH_PROG(VALAC, valac, valac)
14 AC_SUBST(VALAC)
15 m4_ifdef([AM_PROG_VALAC], [AM_PROG_VALAC([$VALA_REQUIRED])])
17 AC_SUBST(CFLAGS)
18 AC_SUBST(CPPFLAGS)
19 AC_SUBST(LDFLAGS)
21 VALA_REQUIRED=0.11.2
22 GLIB_REQUIRED=2.12.0
23 DBUS_REQUIRED=0.76
25 PKG_CHECK_MODULES(DEPS,
26   glib-2.0 >= $GLIB_REQUIRED
27   gobject-2.0 >= $GLIB_REQUIRED
28   dbus-glib-1 >= $DBUS_REQUIRED)
29 AC_SUBST(DEPS_CFLAGS)
30 AC_SUBST(DEPS_LIBS)
32 AC_CONFIG_FILES([
33         Makefile
34         data/Makefile])
36 AC_OUTPUT