diff options
author | Michael Terry <michael.terry@canonical.com> | 2010-06-19 09:32:56 -0400 |
---|---|---|
committer | Michael Terry <michael.terry@canonical.com> | 2010-06-19 09:32:56 -0400 |
commit | ce0a5c849081e8d6f54a28f771dce0136a4e4b93 (patch) | |
tree | 8535f2dbb2fa740afe4620135c4385961b9e67ea /configure.ac | |
parent | 3d800bf9b0133a613d28c31957c081d157a89af8 (diff) | |
download | libdbusmenu-ce0a5c849081e8d6f54a28f771dce0136a4e4b93.tar.gz libdbusmenu-ce0a5c849081e8d6f54a28f771dce0136a4e4b93.tar.bz2 libdbusmenu-ce0a5c849081e8d6f54a28f771dce0136a4e4b93.zip |
support gtk3 version of libdbusmenu-gtk
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 938fe84..ff8dc78 100644 --- a/configure.ac +++ b/configure.ac @@ -48,6 +48,7 @@ AC_SUBST(DBUSMENUGLIB_LIBS) ########################### GTK_REQUIRED_VERSION=2.16 +GTK3_REQUIRED_VERSION=2.90 PKG_CHECK_MODULES(DBUSMENUGTK, gtk+-2.0 >= $GTK_REQUIRED_VERSION glib-2.0 >= $GLIB_REQUIRED_VERSION @@ -57,6 +58,14 @@ PKG_CHECK_MODULES(DBUSMENUGTK, gtk+-2.0 >= $GTK_REQUIRED_VERSION AC_SUBST(DBUSMENUGTK_CFLAGS) AC_SUBST(DBUSMENUGTK_LIBS) +PKG_CHECK_MODULES(DBUSMENUGTK3, gtk+-3.0 >= $GTK3_REQUIRED_VERSION + glib-2.0 >= $GLIB_REQUIRED_VERSION + dbus-glib-1 >= $DBUS_REQUIRED_VERSION + libxml-2.0 >= $XML_REQUIRED_VERSION) + +AC_SUBST(DBUSMENUGTK3_CFLAGS) +AC_SUBST(DBUSMENUGTK3_LIBS) + ########################### # Dependencies - Testing ########################### @@ -123,6 +132,7 @@ libdbusmenu-glib/Makefile libdbusmenu-glib/dbusmenu-glib.pc libdbusmenu-gtk/Makefile libdbusmenu-gtk/dbusmenu-gtk.pc +libdbusmenu-gtk/dbusmenu-gtk3.pc tools/Makefile tools/testapp/Makefile tests/Makefile |