From b903774ea5e87b2be10c7b6acf4408a9fc77df08 Mon Sep 17 00:00:00 2001 From: John Stowers Date: Sat, 20 Aug 2011 23:13:08 +0000 Subject: Fix build against pygobject-3.0 --- diff --git a/configure.ac b/configure.ac index 8d27f7c..ad10e1d 100644 --- a/configure.ac +++ b/configure.ac @@ -6,10 +6,11 @@ AM_PATH_PYTHON([2.6]) GLIB_GSETTINGS DESKTOP_SCHEMAS_REQUIRED_VERSION=3.0.0 -PYGOBJECT_REQUIRED_VERSION=2.28.0 +PYGOBJECT_REQUIRED_VERSION=2.90.0 -PKG_CHECK_MODULES(GSETTINGS_DESKTOP_SCHEMAS, gsettings-desktop-schemas >= $DESKTOP_SCHEMAS_REQUIRED_VERSION) -PKG_CHECK_MODULES(DEPENDENCIES, pygobject-2.0 >= $PYGOBJECT_REQUIRED_VERSION) +PKG_CHECK_MODULES([GSETTINGS_DESKTOP_SCHEMAS], [gsettings-desktop-schemas >= $DESKTOP_SCHEMAS_REQUIRED_VERSION]) +PKG_CHECK_MODULES([PYGOBJECT3], [pygobject-3.0 >= $PYGOBJECT_REQUIRED_VERSION)],, + [PKG_CHECK_MODULES([PYGOBJECT2], [pygobject-2.0 >= 2.28.0])]) AC_CHECK_PROG(GCONFTOOL,gconftool-2,gconftool-2,no) if test "$GCONFTOOL" = no ; then -- cgit v0.9.0.2