aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-05-05 22:30:31 +0200
committerConor Curran <conor.curran@canonical.com>2010-05-05 22:30:31 +0200
commitff088da3bd5e436af0f205f01cf858a9c0a7004d (patch)
treea20015efee30957c6384c8d2dda366e94159087a /configure.ac
parent99be06437fd85327f37bf7b9f44c083e52d1b0bd (diff)
downloadayatana-indicator-sound-ff088da3bd5e436af0f205f01cf858a9c0a7004d.tar.gz
ayatana-indicator-sound-ff088da3bd5e436af0f205f01cf858a9c0a7004d.tar.bz2
ayatana-indicator-sound-ff088da3bd5e436af0f205f01cf858a9c0a7004d.zip
mix and match vala and c
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 23e8d9b..b751fb2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,6 +9,9 @@ AM_INIT_AUTOMAKE(indicator-sound, 0.2.3)
AM_MAINTAINER_MODE
IT_PROG_INTLTOOL([0.35.0])
+AM_PROG_VALAC([0.7.8])
+AS_IF([test -z "$VALAC"], [AC_MSG_ERROR(["No valac compiler found."])])
+
AC_ISC_POSIX
AC_PROG_CC
@@ -31,16 +34,17 @@ DBUSMENUGTK_REQUIRED_VERSION=0.2.2
POLKIT_REQUIRED_VERSION=0.92
PULSE_AUDIO_REQUIRED_VERSION=0.9.19
INDICATOR_DISPLAY_OBJECTS=0.1.4
+INDICATE_REQUIRED_VERSION=0.3.0
+DBUSMENUGLIB_REQUIRED_VERSION=0.1.1
PKG_CHECK_MODULES(APPLET, gtk+-2.0 >= $GTK_REQUIRED_VERSION
indicator >= $INDICATOR_REQUIRED_VERSION
- dbusmenu-gtk >= $DBUSMENUGTK_REQUIRED_VERSION
+ dbusmenu-gtk >= $DBUSMENUGTK_REQUIRED_VERSION
libido-0.1 >= $INDICATOR_DISPLAY_OBJECTS)
AC_SUBST(APPLET_CFLAGS)
AC_SUBST(APPLET_LIBS)
-DBUSMENUGLIB_REQUIRED_VERSION=0.1.1
PKG_CHECK_MODULES(PULSEAUDIO, libpulse-mainloop-glib >= $PULSE_AUDIO_REQUIRED_VERSION)
AC_SUBST(PULSEAUDIO_CFLAGS)
@@ -48,7 +52,7 @@ AC_SUBST(PULSEAUDIO_LIBS)
PKG_CHECK_MODULES(SOUNDSERVICE, dbusmenu-glib >= $DBUSMENUGLIB_REQUIRED_VERSION
indicator >= $INDICATOR_REQUIRED_VERSION
-)
+ indicate >= $INDICATOR_REQUIRED_VERSION)
AC_SUBST(SOUNDSERVICE_CFLAGS)
AC_SUBST(SOUNDERVICE_LIBS)