aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2010-06-19 01:44:59 -0400
committerMichael Terry <michael.terry@canonical.com>2010-06-19 01:44:59 -0400
commite1f36a8445d1851f15a396ba5488119c298e593d (patch)
treee8f36d86a3c37dc3063faba04de7c7f865e84a81 /configure.ac
parent87d82b8a092ec250ba08c14e95e3309ae2cc4f39 (diff)
downloadlibayatana-appindicator-e1f36a8445d1851f15a396ba5488119c298e593d.tar.gz
libayatana-appindicator-e1f36a8445d1851f15a396ba5488119c298e593d.tar.bz2
libayatana-appindicator-e1f36a8445d1851f15a396ba5488119c298e593d.zip
first pass at gtk3 version of libappindicator
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 12 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9396c5c..be9c497 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,8 @@ AC_CONFIG_MACRO_DIR(m4)
# Dependencies
###########################
-GTK_REQUIRED_VERSION=2.12
+GTK_REQUIRED_VERSION=2.18
+GTK3_REQUIRED_VERSION=2.90
INDICATOR_REQUIRED_VERSION=0.3.5
DBUSMENUGTK_REQUIRED_VERSION=0.2.2
JSON_GLIB_REQUIRED_VERSION=0.7.6
@@ -52,6 +53,15 @@ PKG_CHECK_MODULES(INDICATOR, gtk+-2.0 >= $GTK_REQUIRED_VERSION
AC_SUBST(INDICATOR_CFLAGS)
AC_SUBST(INDICATOR_LIBS)
+PKG_CHECK_MODULES(INDICATOR3, gtk+-3.0 >= $GTK3_REQUIRED_VERSION
+ indicator >= $INDICATOR_REQUIRED_VERSION
+ json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION
+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED_VERSION
+ dbusmenu-gtk >= $DBUSMENUGTK_REQUIRED_VERSION)
+
+AC_SUBST(INDICATOR3_CFLAGS)
+AC_SUBST(INDICATOR3_LIBS)
+
###########################
# GObject Introspection
###########################
@@ -191,6 +201,7 @@ AC_OUTPUT([
Makefile
src/Makefile
src/appindicator-0.1.pc
+src/appindicator-3.1.pc
bindings/Makefile
bindings/mono/Makefile
bindings/mono/appindicator-sharp.dll.config