aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@src.gnome.org>2008-08-25 17:41:23 +0800
committerFrederic Peters <fpeters@src.gnome.org>2008-08-25 17:41:23 +0800
commit2ff452ce106232bdd91cc7af325ca30b12ea545f (patch)
tree4b9ee98a4919e66da6153a010053a466d9efcca1
parent74650475c2726864026603344e0fd85017544392 (diff)
downloadgsoc2013-empathy-2ff452ce106232bdd91cc7af325ca30b12ea545f.tar
gsoc2013-empathy-2ff452ce106232bdd91cc7af325ca30b12ea545f.tar.gz
gsoc2013-empathy-2ff452ce106232bdd91cc7af325ca30b12ea545f.tar.bz2
gsoc2013-empathy-2ff452ce106232bdd91cc7af325ca30b12ea545f.tar.lz
gsoc2013-empathy-2ff452ce106232bdd91cc7af325ca30b12ea545f.tar.xz
gsoc2013-empathy-2ff452ce106232bdd91cc7af325ca30b12ea545f.tar.zst
gsoc2013-empathy-2ff452ce106232bdd91cc7af325ca30b12ea545f.zip
added check for pygtk-codegen-2.0 and pygobject-codegen-2.0 as the latter
replaced the former in pygobject/pygtk trunk. (closes: #549002) svn path=/trunk/; revision=1376
-rw-r--r--configure.ac1
-rw-r--r--python/pyempathy/Makefile.am2
-rw-r--r--python/pyempathygtk/Makefile.am2
3 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e4dd6ffa0..cb7af39d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -268,6 +268,7 @@ if test "x$enable_python" != "xno"; then
], have_python="yes", have_python="no")
if test "x$have_python" = "xyes" ; then
AM_CHECK_PYTHON_HEADERS(,have_python="no")
+ AC_CHECK_PROGS([PYGOBJECTCODEGEN], [pygobject-codegen-2.0 pygtk-codegen-2.0])
fi
fi
else
diff --git a/python/pyempathy/Makefile.am b/python/pyempathy/Makefile.am
index a2b76b264..a7efea367 100644
--- a/python/pyempathy/Makefile.am
+++ b/python/pyempathy/Makefile.am
@@ -27,7 +27,7 @@ empathy_la_LDFLAGS = \
-module -avoid-version
pyempathy.c: pyempathy.override pyempathy.defs
- pygtk-codegen-2.0 \
+ $(PYGOBJECTCODEGEN) \
--prefix empathy \
--register $(PYDEFS)/gdk-types.defs \
--register $(PYDEFS)/gtk-types.defs \
diff --git a/python/pyempathygtk/Makefile.am b/python/pyempathygtk/Makefile.am
index 39f776b27..d44e1f4ab 100644
--- a/python/pyempathygtk/Makefile.am
+++ b/python/pyempathygtk/Makefile.am
@@ -27,7 +27,7 @@ empathygtk_la_LDFLAGS = \
-module -avoid-version
pyempathygtk.c: pyempathygtk.override pyempathygtk.defs
- pygtk-codegen-2.0 \
+ $(PYGOBJECTCODEGEN) \
--prefix empathy \
--register $(PYDEFS)/gdk-types.defs \
--register $(PYDEFS)/gtk-types.defs \