From 2ff452ce106232bdd91cc7af325ca30b12ea545f Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Mon, 25 Aug 2008 09:41:23 +0000 Subject: 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 --- configure.ac | 1 + python/pyempathy/Makefile.am | 2 +- python/pyempathygtk/Makefile.am | 2 +- 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 \ -- cgit v1.2.3