[gnome-tweak-tool] Fix build against pygobject-3.0
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] Fix build against pygobject-3.0
- Date: Sat, 20 Aug 2011 23:13:14 +0000 (UTC)
commit b903774ea5e87b2be10c7b6acf4408a9fc77df08
Author: John Stowers <john stowers gmail com>
Date: Sun Aug 21 11:13:08 2011 +1200
Fix build against pygobject-3.0
configure.ac | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]