[telepathy-qt4/master] configure.ac: look for pygobject as well as dbus.mainloop.glib, since the tests need it

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Apr 23 08:11:18 PDT 2009


Reviewed-by: Will Thompson <will.thompson at collabora.co.uk>
---
 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index a9aeb04..4c2aa54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -224,7 +224,8 @@ AM_PATH_PYTHON([2.5])
 
 # Check for Python >= 2.5 with dbus, to run the tests
 AC_MSG_CHECKING([for enough Python libraries to run tests])
-if "$PYTHON" -c "import dbus.mainloop.glib" >/dev/null 2>&1; then
+if "$PYTHON" -c "import dbus.mainloop.glib" >/dev/null 2>&1 &&
+   "$PYTHON" -c "import gobject" >/dev/null 2>&1; then
   AC_MSG_RESULT([yes])
   TEST_PYTHON="$PYTHON"
 else
-- 
1.5.6.5



More information about the telepathy-commits mailing list