diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | python/pyempathy/Makefile.am | 2 | ||||
-rw-r--r-- | 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 \ |