summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-12-20 00:22:53 +0100
committerinfirit <[email protected]>2013-12-20 00:24:46 +0100
commitb960b9fbc4cec3ed42d0327c8eb89683354e831b (patch)
tree7dbd41ac4862efada9e114e9d2bd2aa09b9a20dd /configure.ac
parent900292308f5997cef5b3e6395cd9f636711e5959 (diff)
downloadmate-applets-b960b9fbc4cec3ed42d0327c8eb89683354e831b.tar.bz2
mate-applets-b960b9fbc4cec3ed42d0327c8eb89683354e831b.tar.xz
Require pygobject 3 now that it was ported to gi
Commit 540e2e460c8155a22b10c1712eec71c9bf25aea9 ported to gobject introspection but this never reflected in configure.ac.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 2 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 2a4d6826..85d0ab57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,8 +24,6 @@ HAL_REQUIRED=0.5.3
UPOWER_REQUIRED=0.9.4
DBUS_REQUIRED=1.1.2
DBUS_GLIB_REQUIRED=0.74
-PYGTK_REQUIRED=2.6
-PYGOBJECT_REQUIRED=2.6
MATE_ICON_THEME_REQUIRED=1.1.0
LIBXML_REQUIRED=2.5.0
GUCHARMAP2_REQUIRED=2.33.0
@@ -261,14 +259,7 @@ AC_SUBST(GUCHARMAP_CFLAGS)
AC_SUBST(GUCHARMAP_LIBS)
dnl -- check for Python modules (optional) ------------------------------
-PYGTK_CFLAGS=
-PYGTK_LIBS=
-PKG_CHECK_MODULES(PYGTK,
- pygtk-2.0 >= $PYGTK_REQUIRED
- pygobject-2.0 >= $PYGOBJECT_REQUIRED,
- HAVE_PYGTK="yes", HAVE_PYGTK="no")
-AC_SUBST(PYGTK_LIBS)
-AC_SUBST(PYGTK_CFLAGS)
+PKG_CHECK_MODULES(PYGOBJECT, pygobject-3.0, HAVE_PYGOBJECT="yes", HAVE_PYGOBJECT="no")
dnl -- check for libxml2 (required) ------------------------------------------
PKG_CHECK_MODULES(XML2, libxml-2.0 >= $LIBXML_REQUIRED)
@@ -536,7 +527,7 @@ dnl ***************************************************************************
dnl *** invest-applet specific checks ***
dnl ***************************************************************************
-AM_CONDITIONAL(BUILD_INVEST_APPLET, test "x$HAVE_PYGTK" = "xyes")
+AM_CONDITIONAL(BUILD_INVEST_APPLET, test "x$HAVE_PYGOBJECT" = "xyes")
dnl ***************************************************************************
dnl *** Check if IPv6 is available ***